Vzurxy

[Atom] SkyWars GUI

Sep 9th, 2018
1,018
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.41 KB | None | 0 0
  1. -- // Made by Atom#0995
  2. -- // SkyWars
  3.  
  4. -- // Objects \\ --
  5. local SkyWar = Instance.new("ScreenGui")
  6. local BG = Instance.new("Frame")
  7. local BGDETAIL = Instance.new("Frame")
  8. local LINE0 = Instance.new("Frame")
  9. local VALUE = Instance.new("TextBox")
  10. local LINE2 = Instance.new("Frame")
  11. local info = Instance.new("TextLabel")
  12. local credits = Instance.new("TextLabel")
  13. local exit = Instance.new("TextButton")
  14. local VIP = Instance.new("TextButton")
  15. local LINE1 = Instance.new("Frame")
  16. local MEGAVIP = Instance.new("TextButton")
  17. local LINE11 = Instance.new("Frame")
  18. local NUKE = Instance.new("TextButton")
  19. local LINE3 = Instance.new("Frame")
  20. local FLY = Instance.new("TextButton")
  21. local LINE4 = Instance.new("Frame")
  22. local SPEED = Instance.new("TextButton")
  23. local LINE6 = Instance.new("Frame")
  24. local JUMP = Instance.new("TextButton")
  25. local LINE7 = Instance.new("Frame")
  26. local SECTION = Instance.new("Frame")
  27. local NOCLIP = Instance.new("TextButton")
  28. local LINE12 = Instance.new("Frame")
  29. local AIRWALK = Instance.new("TextButton")
  30. local LINE8 = Instance.new("Frame")
  31. local TP = Instance.new("TextButton")
  32. local LINE9 = Instance.new("Frame")
  33. local GROUP = Instance.new("TextButton")
  34. local LINE10 = Instance.new("Frame")
  35.  
  36. -- // Properties \\ --
  37.  
  38. SkyWar.Name = "SkyWar"
  39. SkyWar.Parent = game.CoreGui
  40. SkyWar.ResetOnSpawn = false
  41.  
  42. BG.Name = "BG"
  43. BG.Parent = SkyWar
  44. BG.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  45. BG.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  46. BG.Position = UDim2.new(0.612682879, 0, 0.579681337, 0)
  47. BG.Size = UDim2.new(0, 311, 0, 175)
  48. BG.Active = true
  49. BG.Draggable = true
  50. BG.ResetOnSpawn = false
  51.  
  52.  
  53. BGDETAIL.Name = "BGDETAIL"
  54. BGDETAIL.Parent = BG
  55. BGDETAIL.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  56. BGDETAIL.BorderColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  57. BGDETAIL.BorderSizePixel = 0
  58. BGDETAIL.Size = UDim2.new(0, 311, 0, 24)
  59.  
  60. LINE0.Name = "LINE0"
  61. LINE0.Parent = BGDETAIL
  62. LINE0.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
  63. LINE0.BorderSizePixel = 0
  64. LINE0.Position = UDim2.new(0, 0, 1.01214278, 0)
  65. LINE0.Size = UDim2.new(0, 311, 0, 2)
  66.  
  67. VALUE.Name = "VALUE"
  68. VALUE.Parent = BGDETAIL
  69. VALUE.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  70. VALUE.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  71. VALUE.Position = UDim2.new(0.0385852121, 0, 6.29166651, 0)
  72. VALUE.Size = UDim2.new(0, 177, 0, 18)
  73. VALUE.Font = Enum.Font.SourceSans
  74. VALUE.PlaceholderColor3 = Color3.new(1, 1, 1)
  75. VALUE.Text = "Value"
  76. VALUE.TextColor3 = Color3.new(1, 1, 1)
  77. VALUE.TextSize = 14
  78.  
  79. LINE2.Name = "LINE2"
  80. LINE2.Parent = VALUE
  81. LINE2.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
  82. LINE2.BorderSizePixel = 0
  83. LINE2.Position = UDim2.new(0, 0, 1, 0)
  84. LINE2.Size = UDim2.new(0, 177, 0, 2)
  85.  
  86. info.Name = "info"
  87. info.Parent = BG
  88. info.BackgroundColor3 = Color3.new(1, 1, 1)
  89. info.BackgroundTransparency = 1
  90. info.BorderSizePixel = 0
  91. info.Position = UDim2.new(0, 0, 0.0228571426, 0)
  92. info.Size = UDim2.new(0, 311, 0, 16)
  93. info.Font = Enum.Font.SourceSansBold
  94. info.Text = "Sky Wars"
  95. info.TextColor3 = Color3.new(1, 1, 1)
  96. info.TextScaled = true
  97. info.TextSize = 14
  98. info.TextStrokeColor3 = Color3.new(1, 1, 1)
  99. info.TextWrapped = true
  100.  
  101. credits.Name = "credits"
  102. credits.Parent = BG
  103. credits.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  104. credits.BorderSizePixel = 0
  105. credits.Position = UDim2.new(0.70096463, 0, 0.908571422, 0)
  106. credits.Size = UDim2.new(0, 93, 0, 16)
  107. credits.Font = Enum.Font.SourceSansBold
  108. credits.Text = "Made by Atom#0995"
  109. credits.TextColor3 = Color3.new(1, 1, 1)
  110. credits.TextScaled = true
  111. credits.TextSize = 14
  112. credits.TextStrokeColor3 = Color3.new(1, 1, 1)
  113. credits.TextWrapped = true
  114.  
  115. exit.Name = "exit"
  116. exit.Parent = BG
  117. exit.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  118. exit.BorderSizePixel = 0
  119. exit.Position = UDim2.new(0, 0, 0.0228571426, 0)
  120. exit.Size = UDim2.new(0, 22, 0, 16)
  121. exit.Font = Enum.Font.SourceSansBold
  122. exit.Text = "X"
  123. exit.TextColor3 = Color3.new(1, 1, 1)
  124. exit.TextScaled = true
  125. exit.TextSize = 14
  126. exit.TextWrapped = true
  127.  
  128. exit.MouseButton1Down:connect(function()
  129. SkyWar:Destroy()
  130. end)
  131.  
  132. VIP.Name = "VIP"
  133. VIP.Parent = BG
  134. VIP.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  135. VIP.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  136. VIP.Position = UDim2.new(0.0321543403, 0, 0.239999995, 0)
  137. VIP.Size = UDim2.new(0, 61, 0, 28)
  138. VIP.Font = Enum.Font.SourceSansBold
  139. VIP.Text = "VIP"
  140. VIP.TextColor3 = Color3.new(1, 1, 1)
  141. VIP.TextScaled = true
  142. VIP.TextSize = 14
  143. VIP.TextWrapped = true
  144.  
  145. VIP.MouseButton1Down:connect(function()
  146. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(10.2524004, 264.001801, 70))
  147. end)
  148.  
  149. LINE1.Name = "LINE1"
  150. LINE1.Parent = VIP
  151. LINE1.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
  152. LINE1.BorderSizePixel = 0
  153. LINE1.Position = UDim2.new(0, 0, 1, 0)
  154. LINE1.Size = UDim2.new(0, 61, 0, 2)
  155.  
  156. MEGAVIP.Name = "MEGAVIP"
  157. MEGAVIP.Parent = BG
  158. MEGAVIP.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  159. MEGAVIP.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  160. MEGAVIP.Position = UDim2.new(0.0385852084, 0, 0.474285722, 0)
  161. MEGAVIP.Size = UDim2.new(0, 61, 0, 28)
  162. MEGAVIP.Font = Enum.Font.SourceSansBold
  163. MEGAVIP.Text = "Mega VIP"
  164. MEGAVIP.TextColor3 = Color3.new(1, 1, 1)
  165. MEGAVIP.TextScaled = true
  166. MEGAVIP.TextSize = 14
  167. MEGAVIP.TextWrapped = true
  168.  
  169. MEGAVIP.MouseButton1Down:connect(function()
  170. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(10.2524004, 264.001801, 70))
  171. end)
  172.  
  173. LINE11.Name = "LINE11"
  174. LINE11.Parent = MEGAVIP
  175. LINE11.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
  176. LINE11.BorderSizePixel = 0
  177. LINE11.Position = UDim2.new(0, 0, 1, 0)
  178. LINE11.Size = UDim2.new(0, 61, 0, 2)
  179.  
  180. NUKE.Name = "NUKE"
  181. NUKE.Parent = BG
  182. NUKE.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  183. NUKE.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  184. NUKE.Position = UDim2.new(0.472668827, 0, 0.239999995, 0)
  185. NUKE.Size = UDim2.new(0, 59, 0, 28)
  186. NUKE.Font = Enum.Font.SourceSansBold
  187. NUKE.Text = "Nuke Blocks"
  188. NUKE.TextColor3 = Color3.new(1, 1, 1)
  189. NUKE.TextScaled = true
  190. NUKE.TextSize = 14
  191. NUKE.TextWrapped = true
  192.  
  193. NUKE.MouseButton1Down:connect(function()
  194. local CURRENTMAP = ""
  195.  
  196. local getmap = workspace:GetChildren()
  197. for i = 1, #getmap do
  198. if(getmap[i].Name == "SummerMap") then
  199. CURRENTMAP = "SummerMap"
  200. warn("Summer Map Selected")
  201. elseif(getmap[i].Name == "WinterMap") then
  202. CURRENTMAP = "WinterMap"
  203. warn("Winter Map Selected")
  204. elseif(getmap[i].Name == "SpringMap") then
  205. CURRENTMAP = "SpringMap"
  206. warn("Spring Map Selected")
  207. elseif(getmap[i].Name == "FallMap") then
  208. CURRENTMAP = "FallMap"
  209. warn("Fall Map Selected")
  210. else warn("No Map Found.")
  211. end
  212. end
  213.  
  214. local blocks = game.Workspace[CURRENTMAP].Map:GetChildren()
  215. for i=1,10 do
  216. for i=1, #blocks do
  217. game.Players.LocalPlayer.Backpack.Axe.RemoteEvent:FireServer(blocks[i])
  218. end
  219. end
  220.  
  221. local blocks = game.Workspace[CURRENTMAP].Map.Ores:GetChildren()
  222. for i=1,20 do
  223. for i=1, #blocks do
  224. game.Players.LocalPlayer.Backpack.Axe.RemoteEvent:FireServer(blocks[i])
  225. end
  226. end
  227. end)
  228.  
  229. LINE3.Name = "LINE3"
  230. LINE3.Parent = NUKE
  231. LINE3.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
  232. LINE3.BorderSizePixel = 0
  233. LINE3.Position = UDim2.new(0, 0, 1, 0)
  234. LINE3.Size = UDim2.new(0, 59, 0, 2)
  235.  
  236. FLY.Name = "FLY"
  237. FLY.Parent = BG
  238. FLY.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  239. FLY.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  240. FLY.Position = UDim2.new(0.472668797, 0, 0.474285722, 0)
  241. FLY.Size = UDim2.new(0, 59, 0, 28)
  242. FLY.Font = Enum.Font.SourceSansBold
  243. FLY.Text = "Fly [E]"
  244. FLY.TextColor3 = Color3.new(1, 1, 1)
  245. FLY.TextSize = 20
  246. FLY.TextWrapped = true
  247.  
  248. FLY.MouseButton1Down:connect(function()
  249. repeat wait()
  250. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  251. local mouse = game.Players.LocalPlayer:GetMouse()
  252. repeat wait() until mouse
  253. local plr = game.Players.LocalPlayer
  254. local torso = plr.Character.Torso
  255. local flying = true
  256. local deb = true
  257. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  258. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  259. local maxspeed = 50
  260. local speed = 0
  261.  
  262. function Fly()
  263. local bg = Instance.new("BodyGyro", torso)
  264. bg.P = 9e4
  265. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  266. bg.cframe = torso.CFrame
  267. local bv = Instance.new("BodyVelocity", torso)
  268. bv.velocity = Vector3.new(0,0.1,0)
  269. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  270. repeat wait()
  271. plr.Character.Humanoid.PlatformStand = true
  272. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  273. speed = speed+.5+(speed/maxspeed)
  274. if speed > maxspeed then
  275. speed = maxspeed
  276. end
  277. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  278. speed = speed-1
  279. if speed < 0 then
  280. speed = 0
  281. end
  282. end
  283. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  284. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  285. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  286. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  287. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  288. else
  289. bv.velocity = Vector3.new(0,0.1,0)
  290. end
  291. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  292. until not flying
  293. ctrl = {f = 0, b = 0, l = 0, r = 0}
  294. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  295. speed = 0
  296. bg:Destroy()
  297. bv:Destroy()
  298. plr.Character.Humanoid.PlatformStand = false
  299. end
  300. mouse.KeyDown:connect(function(key)
  301. if key:lower() == "e" then
  302. if flying then flying = false
  303. else
  304. flying = true
  305. Fly()
  306. end
  307. elseif key:lower() == "w" then
  308. ctrl.f = 1
  309. elseif key:lower() == "s" then
  310. ctrl.b = -1
  311. elseif key:lower() == "a" then
  312. ctrl.l = -1
  313. elseif key:lower() == "d" then
  314. ctrl.r = 1
  315. end
  316. end)
  317. mouse.KeyUp:connect(function(key)
  318. if key:lower() == "w" then
  319. ctrl.f = 0
  320. elseif key:lower() == "s" then
  321. ctrl.b = 0
  322. elseif key:lower() == "a" then
  323. ctrl.l = 0
  324. elseif key:lower() == "d" then
  325. ctrl.r = 0
  326. end
  327. end)
  328. Fly()
  329. end)
  330.  
  331.  
  332. LINE4.Name = "LINE4"
  333. LINE4.Parent = FLY
  334. LINE4.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
  335. LINE4.BorderSizePixel = 0
  336. LINE4.Position = UDim2.new(0, 0, 1, 0)
  337. LINE4.Size = UDim2.new(0, 59, 0, 2)
  338.  
  339. SPEED.Name = "SPEED"
  340. SPEED.Parent = BG
  341. SPEED.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  342. SPEED.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  343. SPEED.Position = UDim2.new(0.125401929, 0, 0.725714266, 0)
  344. SPEED.Size = UDim2.new(0, 45, 0, 18)
  345. SPEED.Font = Enum.Font.SourceSansBold
  346. SPEED.Text = "Speed"
  347. SPEED.TextColor3 = Color3.new(1, 1, 1)
  348. SPEED.TextScaled = true
  349. SPEED.TextSize = 14
  350. SPEED.TextWrapped = true
  351.  
  352. SPEED.MouseButton1Down:connect(function()
  353. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = VALUE.Text
  354. end)
  355.  
  356. LINE6.Name = "LINE6"
  357. LINE6.Parent = SPEED
  358. LINE6.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
  359. LINE6.BorderSizePixel = 0
  360. LINE6.Position = UDim2.new(0, 0, 1, 0)
  361. LINE6.Size = UDim2.new(0, 45, 0, 2)
  362.  
  363. JUMP.Name = "JUMP"
  364. JUMP.Parent = BG
  365. JUMP.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  366. JUMP.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  367. JUMP.Position = UDim2.new(0.379421234, 0, 0.725714266, 0)
  368. JUMP.Size = UDim2.new(0, 45, 0, 18)
  369. JUMP.Font = Enum.Font.SourceSansBold
  370. JUMP.Text = "Jump"
  371. JUMP.TextColor3 = Color3.new(1, 1, 1)
  372. JUMP.TextScaled = true
  373. JUMP.TextSize = 14
  374. JUMP.TextWrapped = true
  375.  
  376. JUMP.MouseButton1Down:connect(function()
  377. game.Players.LocalPlayer.Character.Humanoid.JumpPower = VALUE.Text
  378. end)
  379.  
  380. LINE7.Name = "LINE7"
  381. LINE7.Parent = JUMP
  382. LINE7.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
  383. LINE7.BorderSizePixel = 0
  384. LINE7.Position = UDim2.new(0, 0, 1, 0)
  385. LINE7.Size = UDim2.new(0, 45, 0, 2)
  386.  
  387. SECTION.Name = "SECTION"
  388. SECTION.Parent = BG
  389. SECTION.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
  390. SECTION.BorderSizePixel = 0
  391. SECTION.Position = UDim2.new(0.694533765, 0, 0.148571432, 0)
  392. SECTION.Size = UDim2.new(0, 2, 0, 148)
  393.  
  394. NOCLIP.Name = "NOCLIP"
  395. NOCLIP.Parent = BG
  396. NOCLIP.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  397. NOCLIP.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  398. NOCLIP.Position = UDim2.new(0.765273333, 0, 0.239999995, 0)
  399. NOCLIP.Size = UDim2.new(0, 59, 0, 41)
  400. NOCLIP.Font = Enum.Font.SourceSansBold
  401. NOCLIP.Text = "Enable Noclip"
  402. NOCLIP.TextColor3 = Color3.new(1, 1, 1)
  403. NOCLIP.TextScaled = true
  404. NOCLIP.TextSize = 14
  405. NOCLIP.TextWrapped = true
  406.  
  407. noclip = false
  408. game:GetService('RunService').Stepped:connect(function()
  409. if noclip then
  410. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  411. end
  412. end)
  413.  
  414. NOCLIP.MouseButton1Down:connect(function()
  415. noclip = not noclip
  416. if NOCLIP.Text == "Enable Noclip" then
  417. NOCLIP.Text = "Disable Noclip"
  418. else
  419. NOCLIP.Text = "Enable Noclip"
  420. end
  421. end)
  422.  
  423. LINE12.Name = "LINE12"
  424. LINE12.Parent = NOCLIP
  425. LINE12.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
  426. LINE12.BorderSizePixel = 0
  427. LINE12.Position = UDim2.new(0, 0, 1, 0)
  428. LINE12.Size = UDim2.new(0, 59, 0, 2)
  429.  
  430. local TOGGLEWALK = false
  431.  
  432. AIRWALK.Name = "AIRWALK"
  433. AIRWALK.Parent = BG
  434. AIRWALK.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  435. AIRWALK.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  436. AIRWALK.Position = UDim2.new(0.765273333, 0, 0.554285705, 0)
  437. AIRWALK.Size = UDim2.new(0, 59, 0, 41)
  438. AIRWALK.Font = Enum.Font.SourceSansBold
  439. AIRWALK.Text = "Enable AirWalk"
  440. AIRWALK.TextColor3 = Color3.new(1, 1, 1)
  441. AIRWALK.TextScaled = true
  442. AIRWALK.TextSize = 20
  443. AIRWALK.TextWrapped = true
  444.  
  445. AIRWALK.MouseButton1Down:connect(function()
  446. if TOGGLEWALK == false then
  447. TOGGLEWALK = true
  448. AIRWALK.Text = "Disable AirWalk"
  449. repeat
  450. wait()
  451. game.Players.LocalPlayer.Character.Humanoid:ChangeState(10);
  452. until TOGGLEWALK == false
  453. else
  454. AIRWALK.Text = "Enable AirWalk"
  455. TOGGLEWALK = false
  456. end
  457. end)
  458.  
  459. LINE8.Name = "LINE8"
  460. LINE8.Parent = AIRWALK
  461. LINE8.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
  462. LINE8.BorderSizePixel = 0
  463. LINE8.Position = UDim2.new(0, 0, 1, 0)
  464. LINE8.Size = UDim2.new(0, 59, 0, 2)
  465.  
  466. TP.Name = "TP"
  467. TP.Parent = BG
  468. TP.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  469. TP.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  470. TP.Position = UDim2.new(0.257234722, 0, 0.239999995, 0)
  471. TP.Size = UDim2.new(0, 59, 0, 28)
  472. TP.Font = Enum.Font.SourceSansBold
  473. TP.Text = "ClickTP"
  474. TP.TextColor3 = Color3.new(1, 1, 1)
  475. TP.TextScaled = true
  476. TP.TextSize = 14
  477. TP.TextWrapped = true
  478.  
  479. TP.MouseButton1Down:connect(function()
  480. bin=Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  481. bin.Name = "ClickTP"
  482.  
  483. function teleportPlayer(pos)
  484.  
  485. local player = game.Players.LocalPlayer
  486. if player == nil or player.Character == nil then return end
  487.  
  488. local char = player.Character
  489.  
  490. char:MoveTo(pos)
  491.  
  492. end
  493.  
  494.  
  495. enabled = true
  496. function onButton1Down(mouse)
  497. if not enabled then
  498. return
  499. end
  500.  
  501. local player = game.Players.LocalPlayer
  502. if player == nil then return end
  503. local cf = mouse.Hit
  504. teleportPlayer(cf.p)
  505.  
  506. end
  507.  
  508. function onSelected(mouse)
  509. mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
  510. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  511. end
  512.  
  513. bin.Selected:connect(onSelected)
  514. end)
  515.  
  516. LINE9.Name = "LINE9"
  517. LINE9.Parent = TP
  518. LINE9.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
  519. LINE9.BorderSizePixel = 0
  520. LINE9.Position = UDim2.new(0, 0, 1, 0)
  521. LINE9.Size = UDim2.new(0, 59, 0, 2)
  522.  
  523. GROUP.Name = "GROUP"
  524. GROUP.Parent = BG
  525. GROUP.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  526. GROUP.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  527. GROUP.Position = UDim2.new(0.257234722, 0, 0.474285722, 0)
  528. GROUP.Size = UDim2.new(0, 59, 0, 28)
  529. GROUP.Font = Enum.Font.SourceSansBold
  530. GROUP.Text = "Remove Group Door"
  531. GROUP.TextColor3 = Color3.new(1, 1, 1)
  532. GROUP.TextScaled = true
  533. GROUP.TextSize = 14
  534. GROUP.TextWrapped = true
  535.  
  536. GROUP.MouseButton1Down:connect(function()
  537. game.Workspace.GroupDoor:Destroy()
  538. end)
  539.  
  540. LINE10.Name = "LINE10"
  541. LINE10.Parent = GROUP
  542. LINE10.BackgroundColor3 = Color3.new(0.780392, 0.529412, 1)
  543. LINE10.BorderSizePixel = 0
  544. LINE10.Position = UDim2.new(0, 0, 1, 0)
  545. LINE10.Size = UDim2.new(0, 59, 0, 2)
Add Comment
Please, Sign In to add comment