Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Gui Teleporter Is Not Working And I Need Help?

Asked by 5 years ago
Edited 5 years ago

I am trying to make a gui teleporter for my game and it just won't work The System I Have Uses Blocks Called Teleport1.

01Player = game.Players.LocalPlayer
02BlackScreen = script.Parent.Parent.BlackScreen
03TeleportButton1 = script.Parent.TeleportButton1
04Spawn3 = game.Workspace.Teleport3
05Spawn1 = game.Workspace.Teleport1
06HasPressedTeleport = false
07 
08function TeleportPlayer()
09    if HasPressedTeleport == false then
10        BlackScreen.Transparency = 1
11        wait(0.1)
12        BlackScreen.Transparency = 0.9
13        wait(0.1)
14        BlackScreen.Transparency = 0.8
15        wait(0.1)
View all 59 lines...

Not Trying To Be Greedy But I Would Appreciate It If Someone Could Help Me In The Next Month Or So,

0
Kind of unrelated but you can use TweenService for your transparency animation compUcomp 417 — 5y

1 answer

Log in to vote
1
Answered by
harstud 218 Moderation Voter
5 years ago

Seen someone use MoveTo on a player before, I seriously don't recommend it.

01Player = game.Players.LocalPlayer
02BlackScreen = script.Parent.Parent.BlackScreen
03TeleportButton1 = script.Parent.TeleportButton1
04Spawn3 = game.Workspace.Teleport3
05Spawn1 = game.Workspace.Teleport1
06HasPressedTeleport = false
07 
08local function TeleportPlayer()
09    if HasPressedTeleport == false then
10        BlackScreen.Transparency = 1
11        wait(0.1)
12        BlackScreen.Transparency = 0.9
13        wait(0.1)
14        BlackScreen.Transparency = 0.8
15        wait(0.1)
View all 59 lines...
Ad

Answer this question