local Player = game.Players.LocalPlayer
repeat wait() until Player.Character
local char = Player.Character
local hum = char.Humanoid
local Norm = false
local UIS = game:GetService("UserInputService")
local idle = game.Lighting:WaitForChild("Animation"):WaitForChild("Idle")
UIS.InputBegan:Connect(function(Input, Chat)
if Input.KeyCode == Enum.KeyCode.F and not Chat and hum.Health >= 0 then
if Norm == false then
idle:Play()
Norm = true
elseif Norm == true then
idle:Stop()
Norm = false
end
end
end)
this is the script but it doesnt work i was wondering what is wrong with it

1 comment
Please be more specific. What doesn't work?