Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(1.6)
- local multiplier = 2.5
- local Tool = script.Parent
- local players = game:GetService("Players")
- Tool.Touched:Connect(function(e)
- if e:FindFirstChild("Value") and script.Parent.Debounce.Value == false then
- local plr = players:GetPlayerFromCharacter(Tool.Parent.Parent)
- plr:WaitForChild("leaderstats"):WaitForChild("Bag").Value += e.Value.Value
- script.Parent:FindFirstChild("Debounce").Value = true
- wait(1)
- script.Parent:FindFirstChild("Debounce").Value = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement