****Whenever the player finishes the obby they will step on a part which will award XP. But I made an error and I need help. I made EXP a number value so its not part of the leaderstats folder. So it would be player.EXP.Value instead of player.leaderstats.EXP.Value
local Player = game.Players.LocalPlayer
local Award = script.Parent
local exp = Player.EXP
Award.Touched:connect(function(player)
if player and player.Parent and player.Parent:FindFirstChild('Humanoid') then
exp.Value = exp.Value + 15
end
end)

2 comments
I'm guessing this is a localScript inside of the workspace, and localScripts don't work there. Put the LocalScript in replicatedStorage
The script is inside the part.