So I have a script in the StarterPlayerScripts, and it basically finds some values and sets the JumpPower and Health to that:
local p = game.Players.LocalPlayer
print(p,'found')
local hs = p:WaitForChild("Stats").HealthStat.Value
local js = p:WaitForChild("Stats").JumpStat.Value
print('values found')
p.CharacterAdded:connect(function(c)
print('character found')
local hu = c:WaitForChild("Humanoid")
print('humanoid found')
hu.MaxHealth = hs + 100
hu.Health = hu.MaxHealth
print('health set')
hu.JumpPower = (js/10) + 50
print('jump set')
end)
So, in game it does print 'jump set' and 'health set' but when I check the values, they remain the same.
Would I have to use a script in StarterCharacter and use RemoteEvents? If so could you provide me with the changes I would have to make.
Thank you.

1 comment
Yeah you'd have to use events.