local pad = script.Parent
local force = 100
pad.Touched:Connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
print(player.Name)
player.Character.Humanoid.JumpPower = force
player.Character.Humanoid.Jump = true
task.wait(0.5)
player.Character.Humanoid.JumpPower = 50
end
end)
so i have this script for a jumppad, but the jumppower is not being assigned, i always jump the same height.. could someone help please?