-- init varible

local player = game.Players.LocalPlayer
local UserInputService = game:GetService("UserInputService")
local ContextActionService = game:GetService("ContextActionService")
local bindFuc = script.Parent:WaitForChild("BindableFunction")


local doJump = false
local startGame = false
local left = 0
local right = 0
local moveDir = 0
local moveSpeed = 40
local animSpeed = 0.05

game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)

local humanoid
local animator
local character
player:WaitForChild("PlayerGui")
player.CharacterAdded:Wait()

