Advertisement
Anukun_Lucifer

ExpUp

May 28th, 2022
1,195
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local debounce = false
  2.  
  3. script.Parent.Touched:Connect(function(Hit)
  4.     if Hit.Parent:FindFirstChild("Humanoid") then
  5.         if debounce == false then
  6.             debounce = true
  7.            
  8.             local Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
  9.             Player.leaderstats.Exp.Value += 10
  10.             wait(1)
  11.             debounce = false
  12.         end
  13.     end
  14. end)
  15.  
Advertisement
RAW Paste Data Copied
Advertisement