local plr = game.Players.LocalPlayer
local char = game.Players.LocalPlayer.character
while true do
if plr.Character.Humanoid.Torso.Velocity < 5 then
game.workspace.Player.Humanoid.Health = 0
end
wait(1)
end
0
The Player isn't a valid member of workspace. Nor is 'workspace' a valid member game; it's 'Workspace' via that pathway. If you already have a Player Object declared, as seen on line 2, then use that: plr.Character.Humanoid.Ziffixture6913— 4y
0
I do already have variable above, I just did not show the whole script.larssnakes24— 4y
0
I can show the whole script if you want.larssnakes24— 4y