hi, i made a teleport script but i need to make sure that it only works if you have a certain amount of currency or more. the name of the currency is PowerBlocks
here is the script
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild('Humanoid') then
if hit.leaderboard.PowerBlocks.Value >= 2 then
hit.Parent.Head.CFrame = CFrame.new(-80, 15.5, 7)
end
end
end)
let me know if you find anything wrong with this script. thanks in advance from poopypigeon245

1 comment
thanks!