Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local required_prestige = 10
- local db = true
- script.Parent.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- local player = game.Players:GetPlayerFromCharacter(hit.Parent)
- if player.leaderstats.Prestige.Value >= required_prestige then
- if db then
- db = false
- script.Parent.Transparency = 0.5
- script.Parent.CanCollide = false
- wait(1)
- script.Parent.CanCollide = true
- script.Parent.Transparency = 0
- db = true
- end
- else
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement