--Code--
if game.Players:GetPlayerFromCharacter(hit.Parent) then PlayerItem.Parent = game.Players:GetPlayerFromCharacter(hit.Parent).Character game.Players:GetPlayerFromCharacter(hit.Parent).Character.Humanoid.WalkSpeed = 16 game.Players:GetPlayerFromCharacter(hit.Parent).Character.Humanoid.JumpPower = 50 end
just change the code to:
if game.Players:GetPlayerFromCharacter(hit.Parent) then PlayerItem.Parent = hit.Parent hit.Parent.Humanoid.WalkSpeed = 16 hit.Parent.Humanoid.JumpPower = 50 end