coz

Teleportr

coz
Nov 26th, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.91 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local sc = Instance.new("ScreenGui")
  5. local Open = Instance.new("TextButton")
  6. local Frame = Instance.new("Frame")
  7. local PrisonHall = Instance.new("TextButton")
  8. local Escape = Instance.new("TextButton")
  9. local GunRoom = Instance.new("TextButton")
  10. local Title = Instance.new("TextLabel")
  11. --Properties:
  12. sc.Name = "sc"
  13. sc.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  14.  
  15. Open.Name = "Open"
  16. Open.Parent = sc
  17.  
  18. Frame.Transparency = 0.4
  19. Open.Position = UDim2.new(0.0165413525, 0, 0.923913062, 0)
  20. Open.Size = UDim2.new(0, 124, 0, 34)
  21. Open.Font = Enum.Font.GothamBold
  22. Open.Text = "Open And Close"
  23. Open.TextColor3 = Color3.new(0.239216, 0.784314, 0.74902)
  24. Open.TextScaled = true
  25. Open.TextSize = 14
  26. Open.TextWrapped = true
  27.  
  28. Frame.Parent = sc
  29. Frame.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.180392)
  30. Frame.Position = UDim2.new(0.337593973, 0, 0.268633544, 0)
  31. Frame.Size = UDim2.new(0, 468, 0, 422)
  32. Frame.Visible = false
  33.  
  34. PrisonHall.Name = "PrisonHall"
  35. PrisonHall.Parent = Frame
  36. PrisonHall.BackgroundColor3 = Color3.new(0.313726, 0.27451, 0.784314)
  37. PrisonHall.Position = UDim2.new(0.0370252728, 0, 0.562281013, 0)
  38. PrisonHall.Size = UDim2.new(0, 200, 0, 50)
  39. PrisonHall.Font = Enum.Font.GothamBold
  40. PrisonHall.Text = "Prison Hall"
  41. PrisonHall.TextColor3 = Color3.new(0.239216, 0.784314, 0.74902)
  42. PrisonHall.TextScaled = true
  43. PrisonHall.TextSize = 14
  44. PrisonHall.TextWrapped = true
  45.  
  46. Escape.Name = "Escape"
  47. Escape.Parent = Frame
  48. Escape.BackgroundColor3 = Color3.new(0.313726, 0.27451, 0.784314)
  49. Escape.Position = UDim2.new(0.534862816, 0, 0.292933673, 0)
  50. Escape.Size = UDim2.new(0, 200, 0, 50)
  51. Escape.Font = Enum.Font.GothamBold
  52. Escape.Text = "Escape"
  53. Escape.TextColor3 = Color3.new(0.239216, 0.784314, 0.74902)
  54. Escape.TextScaled = true
  55. Escape.TextSize = 14
  56. Escape.TextWrapped = true
  57.  
  58. GunRoom.Name = "GunRoom"
  59. GunRoom.Parent = Frame
  60. GunRoom.BackgroundColor3 = Color3.new(0.313726, 0.27451, 0.784314)
  61. GunRoom.Position = UDim2.new(0.0370252728, 0, 0.292933673, 0)
  62. GunRoom.Size = UDim2.new(0, 200, 0, 50)
  63. GunRoom.Font = Enum.Font.GothamBold
  64. GunRoom.Text = "Gun Room"
  65. GunRoom.TextColor3 = Color3.new(0.239216, 0.784314, 0.74902)
  66. GunRoom.TextScaled = true
  67. GunRoom.TextSize = 14
  68. GunRoom.TextWrapped = true
  69.  
  70. Title.Name = "Title"
  71. Title.Parent = Frame
  72. Title.BackgroundColor3 = Color3.new(0.313726, 0.27451, 0.784314)
  73. Title.Position = UDim2.new(0.0370252579, 0, 0.0367372409, 0)
  74. Title.Size = UDim2.new(0, 433, 0, 50)
  75. Title.Font = Enum.Font.GothamBold
  76. Title.Text = "Prison Life TP Gui"
  77. Title.TextColor3 = Color3.new(0.239216, 0.784314, 0.74902)
  78. Title.TextScaled = true
  79. Title.TextSize = 14
  80. Title.TextWrapped = true
  81. -- Scripts:
  82. function SCRIPT_NDLV77_FAKESCRIPT() -- Open.LocalScript
  83. local script = Instance.new('LocalScript')
  84. script.Parent = Open
  85. script.Parent.MouseButton1Click:connect(function()
  86. if script.Parent.Parent["Frame"].Visible == false then
  87. script.Parent.Parent.Frame.Visible = true
  88. else
  89. script.Parent.Parent.Frame.Visible = false
  90. end
  91. end)
  92.  
  93. end
  94. coroutine.resume(coroutine.create(SCRIPT_NDLV77_FAKESCRIPT))
  95.  
  96. PrisonHall.MouseButton1Click:connect(function()
  97. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame= CFrame.new(881.483704, 99.9900055, 2361.87891)
  98. end)
  99.  
  100. GunRoom.MouseButton1Click:connect(function()
  101. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame= CFrame.new(835.994751, 99.990055, 2264.95508)
  102. end)
  103.  
  104. Escape.MouseButton1Click:connect(function()
  105. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame= CFrame.new(-943.933594, 94.1287842, 2056.37378)
  106. end)
  107.  
  108. spawn(function()
  109. local function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  110.  
  111. for i,v in pairs(sc:GetDescendants()) do
  112. local counter = 0
  113. wait()
  114.  
  115. spawn(function()
  116.  
  117. while wait() do
  118. v.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  119.  
  120. counter = counter + 0.0076
  121.  
  122. end
  123. end)
  124. end
  125. end)
Advertisement
Add Comment
Please, Sign In to add comment