local Player = game.Players.LocalPlayer local Char = Player.Character local Hum = Char.Humanoid
says "Humanoid is not a valid member of model"
the error is on "local Hum = Char.Humanoid"
CharacterAdded
event.wait() local Player = game:GetService("Players").LocalPlayer local Char = Player.Character or Player.CharacterAdded:Wait() local Hum = Char.Humanoid