Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local debounce = false
- script.Parent.Touched:Connect(function(Hit)
- if Hit.Parent:FindFirstChild("Humanoid") then
- if debounce == false then
- debounce = true
- local Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
- Player.leaderstats.Exp.Value += 10
- wait(1)
- debounce = false
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement