Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What do i need to do to create a "x rebirth amount = teleport" script?

I want my Portal to only teleport Players with 5 Rebirths, but i cant find out how. Which is why im asking here.

1 answer

✓ Accepted answer

Make a if statement like (May have to tween for FE but it cant be that hard for you to make it FE)

local player = game.Players.LocalPlayer
local rebirths = player:WaitForChild("leaderstats").Rebirths

if rebirths.Value >= 5 then
	--Teleport Script Here
end

2 comments

0

Make sure you put a on touch script first i forgot about that but that should solve part of the problem

0

Thank you alot

This discussion is preserved as it was. New answers, comments, and votes are closed.