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.
01 | Player = game.Players.LocalPlayer |
02 | BlackScreen = script.Parent.Parent.BlackScreen |
03 | TeleportButton 1 = script.Parent.TeleportButton 1 |
04 | Spawn 3 = game.Workspace.Teleport 3 |
05 | Spawn 1 = game.Workspace.Teleport 1 |
06 | HasPressedTeleport = false |
08 | function TeleportPlayer() |
09 | if HasPressedTeleport = = false then |
10 | BlackScreen.Transparency = 1 |
12 | BlackScreen.Transparency = 0.9 |
14 | BlackScreen.Transparency = 0.8 |
16 | BlackScreen.Transparency = 0.7 |
18 | BlackScreen.Transparency = 0.6 |
20 | BlackScreen.Transparency = 0.5 |
22 | BlackScreen.Transparency = 0.4 |
24 | BlackScreen.Transparency = 0.3 |
26 | BlackScreen.Transparency = 0.2 |
28 | BlackScreen.Transparency = 0.1 |
30 | BlackScreen.Transparency = 0 |
32 | Player.Character:MoveTo(Spawn 1. Position) |
34 | BlackScreen.Transparency = 0 |
36 | BlackScreen.Transparency = 0.1 |
38 | BlackScreen.Transparency = 0.2 |
40 | BlackScreen.Transparency = 0.3 |
42 | BlackScreen.Transparency = 0.4 |
44 | BlackScreen.Transparency = 0.5 |
46 | BlackScreen.Transparency = 0.6 |
48 | BlackScreen.Transparency = 0.7 |
50 | BlackScreen.Transparency = 0.8 |
52 | BlackScreen.Transparency = 0.9 |
54 | BlackScreen.Transparency = 1 |
59 | TeleportButton 1. MouseButton 1 Down:connect(TeleportPlayer) |
Not Trying To Be Greedy But I Would Appreciate It If Someone Could Help Me In The Next Month Or So,