Hellotop2

Untitled

Feb 10th, 2019
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.07 KB | None | 0 0
  1. wait(1)
  2. blur = Instance.new("BlurEffect", game.Lighting)
  3. blur.Name = "spireblur"
  4. blur.Size = 35
  5. -- Objects
  6.  
  7. local spirehaxx = Instance.new("ScreenGui")
  8. local TeleportsTop = Instance.new("Frame")
  9. local TeleportsFrame = Instance.new("Frame")
  10. local redtop = Instance.new("TextButton")
  11. local redbottom = Instance.new("TextButton")
  12. local bluetop = Instance.new("TextButton")
  13. local bluebottom = Instance.new("TextButton")
  14. local greentop = Instance.new("TextButton")
  15. local greenbottom = Instance.new("TextButton")
  16. local yellowtop = Instance.new("TextButton")
  17. local yellowbottom = Instance.new("TextButton")
  18. local TeleportsTitle = Instance.new("TextLabel")
  19. local Title = Instance.new("TextLabel")
  20. local version = Instance.new("TextLabel")
  21.  
  22. -- Properties
  23.  
  24. spirehaxx.Name = "spirehaxx"
  25. spirehaxx.Parent = game.CoreGui
  26. spirehaxx.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  27.  
  28. TeleportsTop.Name = "TeleportsTop"
  29. TeleportsTop.Parent = spirehaxx
  30. TeleportsTop.BackgroundColor3 = Color3.new(1, 0.333333, 0.498039)
  31. TeleportsTop.BorderSizePixel = 0
  32. TeleportsTop.Position = UDim2.new(0.0688360557, 0, 0.144010767, 0)
  33. TeleportsTop.Size = UDim2.new(0, 151, 0, 27)
  34.  
  35. TeleportsFrame.Name = "TeleportsFrame"
  36. TeleportsFrame.Parent = TeleportsTop
  37. TeleportsFrame.BackgroundColor3 = Color3.new(0,0,0)
  38. TeleportsFrame.BackgroundTransparency = 0.40000000596046
  39. TeleportsFrame.BorderSizePixel = 0
  40. TeleportsFrame.Position = UDim2.new(0.0158559028, 0, 0.995164633, 0)
  41. TeleportsFrame.Size = UDim2.new(0, 147, 0, 291)
  42.  
  43. redtop.Name = "redtop"
  44. redtop.Parent = TeleportsFrame
  45. redtop.BackgroundColor3 = Color3.new(1, 1, 1)
  46. redtop.BackgroundTransparency = 1
  47. redtop.Size = UDim2.new(0, 149, 0, 24)
  48. redtop.Font = Enum.Font.SourceSansLight
  49. redtop.Text = "> Red Top"
  50. redtop.TextColor3 = Color3.new(1, 1, 1)
  51. redtop.TextScaled = true
  52. redtop.TextSize = 14
  53. redtop.TextWrapped = true
  54.  
  55. redbottom.Name = "redbottom"
  56. redbottom.Parent = TeleportsFrame
  57. redbottom.BackgroundColor3 = Color3.new(1, 1, 1)
  58. redbottom.BackgroundTransparency = 1
  59. redbottom.Position = UDim2.new(0, 0, 0.0816022903, 0)
  60. redbottom.Size = UDim2.new(0, 149, 0, 24)
  61. redbottom.Font = Enum.Font.SourceSansLight
  62. redbottom.Text = "> Red Bottom"
  63. redbottom.TextColor3 = Color3.new(1, 1, 1)
  64. redbottom.TextScaled = true
  65. redbottom.TextSize = 14
  66. redbottom.TextWrapped = true
  67.  
  68. bluetop.Name = "bluetop"
  69. bluetop.Parent = TeleportsFrame
  70. bluetop.BackgroundColor3 = Color3.new(1, 1, 1)
  71. bluetop.BackgroundTransparency = 1
  72. bluetop.Position = UDim2.new(0, 0, 0.163204581, 0)
  73. bluetop.Size = UDim2.new(0, 149, 0, 24)
  74. bluetop.Font = Enum.Font.SourceSansLight
  75. bluetop.Text = "> Blue Top"
  76. bluetop.TextColor3 = Color3.new(1, 1, 1)
  77. bluetop.TextScaled = true
  78. bluetop.TextSize = 14
  79. bluetop.TextWrapped = true
  80.  
  81. bluebottom.Name = "bluebottom"
  82. bluebottom.Parent = TeleportsFrame
  83. bluebottom.BackgroundColor3 = Color3.new(1, 1, 1)
  84. bluebottom.BackgroundTransparency = 1
  85. bluebottom.Position = UDim2.new(-0.00680272095, 0, 0.245678812, 0)
  86. bluebottom.Size = UDim2.new(0, 149, 0, 24)
  87. bluebottom.Font = Enum.Font.SourceSansLight
  88. bluebottom.Text = "> Blue Bottom"
  89. bluebottom.TextColor3 = Color3.new(1, 1, 1)
  90. bluebottom.TextScaled = true
  91. bluebottom.TextSize = 14
  92. bluebottom.TextWrapped = true
  93.  
  94. greentop.Name = "greentop"
  95. greentop.Parent = TeleportsFrame
  96. greentop.BackgroundColor3 = Color3.new(1, 1, 1)
  97. greentop.BackgroundTransparency = 1
  98. greentop.Position = UDim2.new(-0.0136054419, 0, 0.328153044, 0)
  99. greentop.Size = UDim2.new(0, 149, 0, 24)
  100. greentop.Font = Enum.Font.SourceSansLight
  101. greentop.Text = "> Green Top"
  102. greentop.TextColor3 = Color3.new(1, 1, 1)
  103. greentop.TextScaled = true
  104. greentop.TextSize = 14
  105. greentop.TextWrapped = true
  106.  
  107. greenbottom.Name = "greenbottom"
  108. greenbottom.Parent = TeleportsFrame
  109. greenbottom.BackgroundColor3 = Color3.new(1, 1, 1)
  110. greenbottom.BackgroundTransparency = 1
  111. greenbottom.Position = UDim2.new(-0.0136054419, 0, 0.410627276, 0)
  112. greenbottom.Size = UDim2.new(0, 149, 0, 24)
  113. greenbottom.Font = Enum.Font.SourceSansLight
  114. greenbottom.Text = "> Green Bottom"
  115. greenbottom.TextColor3 = Color3.new(1, 1, 1)
  116. greenbottom.TextScaled = true
  117. greenbottom.TextSize = 14
  118. greenbottom.TextWrapped = true
  119.  
  120. yellowtop.Name = "yellowtop"
  121. yellowtop.Parent = TeleportsFrame
  122. yellowtop.BackgroundColor3 = Color3.new(1, 1, 1)
  123. yellowtop.BackgroundTransparency = 1
  124. yellowtop.Position = UDim2.new(-0.0136054419, 0, 0.493101507, 0)
  125. yellowtop.Size = UDim2.new(0, 149, 0, 24)
  126. yellowtop.Font = Enum.Font.SourceSansLight
  127. yellowtop.Text = "> Yellow Top"
  128. yellowtop.TextColor3 = Color3.new(1, 1, 1)
  129. yellowtop.TextScaled = true
  130. yellowtop.TextSize = 14
  131. yellowtop.TextWrapped = true
  132.  
  133. yellowbottom.Name = "yellowbottom"
  134. yellowbottom.Parent = TeleportsFrame
  135. yellowbottom.BackgroundColor3 = Color3.new(1, 1, 1)
  136. yellowbottom.BackgroundTransparency = 1
  137. yellowbottom.Position = UDim2.new(-0.0136054419, 0, 0.575575709, 0)
  138. yellowbottom.Size = UDim2.new(0, 149, 0, 24)
  139. yellowbottom.Font = Enum.Font.SourceSansLight
  140. yellowbottom.Text = "> Yellow Bottom"
  141. yellowbottom.TextColor3 = Color3.new(1, 1, 1)
  142. yellowbottom.TextScaled = true
  143. yellowbottom.TextSize = 14
  144. yellowbottom.TextWrapped = true
  145.  
  146. TeleportsTitle.Name = "TeleportsTitle"
  147. TeleportsTitle.Parent = TeleportsTop
  148. TeleportsTitle.BackgroundColor3 = Color3.new(1, 1, 1)
  149. TeleportsTitle.BackgroundTransparency = 1
  150. TeleportsTitle.Size = UDim2.new(0, 151, 0, 27)
  151. TeleportsTitle.Font = Enum.Font.SourceSansLight
  152. TeleportsTitle.Text = "Teleports"
  153. TeleportsTitle.TextColor3 = Color3.new(1, 1, 1)
  154. TeleportsTitle.TextScaled = true
  155. TeleportsTitle.TextSize = 14
  156. TeleportsTitle.TextWrapped = true
  157.  
  158. Title.Name = "Title"
  159. Title.Parent = spirehaxx
  160. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  161. Title.BackgroundTransparency = 1
  162. Title.Position = UDim2.new(0.0150187733, 0, 0.0161507409, 0)
  163. Title.Size = UDim2.new(0, 200, 0, 50)
  164. Title.Font = Enum.Font.SourceSansLight
  165. Title.Text = "spirehaxx"
  166. Title.TextColor3 = Color3.new(1, 0.333333, 0.498039)
  167. Title.TextScaled = true
  168. Title.TextSize = 14
  169. Title.TextWrapped = true
  170.  
  171. version.Name = "version"
  172. version.Parent = spirehaxx
  173. version.BackgroundColor3 = Color3.new(1, 1, 1)
  174. version.BackgroundTransparency = 1
  175. version.Position = UDim2.new(0.106301494, 0, 0.056680169, 0)
  176. version.Size = UDim2.new(0, 113, 0, 30)
  177. version.Font = Enum.Font.SourceSansLight
  178. version.Text = "v0.1 - beta"
  179. version.TextColor3 = Color3.new(0.298039, 0.298039, 0.298039)
  180. version.TextScaled = true
  181. version.TextSize = 14
  182. version.TextWrapped = true
  183. local UserInputService,gui,dragging,dragInput,dragStart,startPos = game:GetService("UserInputService"),TeleportsTop
  184.  
  185. local function update(input)
  186. local delta = input.Position - dragStart
  187. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  188. end
  189.  
  190. gui.InputBegan:Connect(function(input)
  191. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  192. dragging = true
  193. dragStart = input.Position
  194. startPos = gui.Position
  195.  
  196. input.Changed:Connect(function()
  197. if input.UserInputState == Enum.UserInputState.End then
  198. dragging = false
  199. end
  200. end)
  201. end
  202. end)
  203.  
  204. gui.InputChanged:Connect(function(input)
  205. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  206. dragInput = input
  207. end
  208. end)
  209.  
  210. UserInputService.InputChanged:Connect(function(input)
  211. if input == dragInput and dragging then
  212. update(input)
  213. end
  214. end)
  215. local UserInputService = game:GetService("UserInputService")
  216.  
  217. local KEY = "LeftControl"
  218.  
  219. local function test(input)
  220. if input.KeyCode == Enum.KeyCode[tostring(KEY)] then
  221. if TeleportsTop.Visible == true then
  222. TeleportsTop.Visible = false
  223. blur.Size = 0
  224. else
  225. TeleportsTop.Visible = true
  226. blur.Size = 35
  227. end
  228. end
  229. end
  230.  
  231. UserInputService.InputBegan:connect(test)
  232. plr = game.Players.LocalPlayer
  233. greentop.MouseButton1Click:connect(function()
  234. plr.Character:MoveTo(Vector3.new(0.211, 126.74, -102.936))
  235. end)
  236. bluebottom.MouseButton1Click:connect(function()
  237. plr.Character:MoveTo(Vector3.new(-0.236, 21.143, 115.216))
  238. end)
  239. bluetop.MouseButton1Click:connect(function()
  240. plr.Character:MoveTo(Vector3.new(-0.42, 126.74, 102.042))
  241. end)
  242. greenbottom.MouseButton1Click:connect(function()
  243. plr.Character:MoveTo(Vector3.new(-0.355, 21.112, -114.7))
  244. end)
  245. redtop.MouseButton1Click:connect(function()
  246. plr.Character:MoveTo(Vector3.new(-101.05, 126.7, -0.2))
  247. end)
  248. redbottom.MouseButton1Click:connect(function()
  249. plr.Character:MoveTo(Vector3.new(-113.71, 21.105, 0.782))
  250. end)
  251. yellowtop.MouseButton1Click:connect(function()
  252. plr.Character:MoveTo(Vector3.new(104.169, 126.7, -0.2))
  253. end)
  254. yellowbottom.MouseButton1Click:connect(function()
  255. plr.Character:MoveTo(Vector3.new(118.452, 21.105, 0.782))
  256. end)
  257. while wait() do
  258. local r = (math.sin(workspace.DistributedGameTime/2)/2)+0.5
  259. local g = (math.sin(workspace.DistributedGameTime)/2)+0.5
  260. local b = (math.sin(workspace.DistributedGameTime*1.5)/2)+0.5
  261. local color = Color3.new(r, g, b)
  262. Title.TextColor3 = color
  263. TeleportsTop.BackgroundColor3 = color
  264. end
Advertisement
Add Comment
Please, Sign In to add comment