Upscalefanatic3

OP SCRIPT Doomspire Brickbattle GUI

Oct 27th, 2018
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.29 KB | None | 0 0
  1. -- Doomspire Wrecker made by neb#7444
  2. -- some scripts are not made by me. credits to them.
  3.  
  4. -- Instances:
  5. local doomspiregui = Instance.new("ScreenGui")
  6. local MainFrame = Instance.new("Frame")
  7. local title = Instance.new("TextLabel")
  8. local teleportsTab = Instance.new("Frame")
  9. local red = Instance.new("TextLabel")
  10. local blue = Instance.new("TextLabel")
  11. local yellow = Instance.new("TextLabel")
  12. local green = Instance.new("TextLabel")
  13. local redtop = Instance.new("TextButton")
  14. local bluetop = Instance.new("TextButton")
  15. local yellowtop = Instance.new("TextButton")
  16. local greentop = Instance.new("TextButton")
  17. local redbottom = Instance.new("TextButton")
  18. local bluebottom = Instance.new("TextButton")
  19. local yellowbottom = Instance.new("TextButton")
  20. local greenbottom = Instance.new("TextButton")
  21. local functionsTab = Instance.new("Frame")
  22. local sling = Instance.new("TextButton")
  23. local sling2 = Instance.new("TextButton")
  24. local AutoRocket = Instance.new("TextButton")
  25. local reach = Instance.new("TextButton")
  26. local CreditsTab = Instance.new("Frame")
  27. local creds1 = Instance.new("TextLabel")
  28. local creds2 = Instance.new("TextLabel")
  29. local creds3 = Instance.new("TextLabel")
  30. local teleportsTabButton = Instance.new("TextButton")
  31. local FunctionsTabButton = Instance.new("TextButton")
  32. local CreditsTabButton = Instance.new("TextButton")
  33. local openclose = Instance.new("TextButton")
  34. --Properties:
  35. doomspiregui.Name = "doomspiregui"
  36. doomspiregui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  37.  
  38. MainFrame.Name = "MainFrame"
  39. MainFrame.Parent = doomspiregui
  40. MainFrame.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  41. MainFrame.BackgroundTransparency = 0.15000000596046
  42. MainFrame.BorderColor3 = Color3.new(0, 0, 0)
  43. MainFrame.BorderSizePixel = 3
  44. MainFrame.Position = UDim2.new(0.241815418, 0, 0.266321301, 0)
  45. MainFrame.Size = UDim2.new(0, 393, 0, 236)
  46.  
  47. title.Name = "title"
  48. title.Parent = MainFrame
  49. title.BackgroundColor3 = Color3.new(0.666667, 0.333333, 1)
  50. title.BorderColor3 = Color3.new(0, 0, 0)
  51. title.BorderSizePixel = 3
  52. title.Size = UDim2.new(0, 310, 0, 58)
  53. title.Font = Enum.Font.Cartoon
  54. title.Text = "Doomspire Wrecker"
  55. title.TextColor3 = Color3.new(0, 0, 0)
  56. title.TextScaled = true
  57. title.TextSize = 14
  58. title.TextWrapped = true
  59.  
  60. teleportsTab.Name = "teleportsTab"
  61. teleportsTab.Parent = MainFrame
  62. teleportsTab.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  63. teleportsTab.BorderColor3 = Color3.new(0, 0, 0)
  64. teleportsTab.BorderSizePixel = 3
  65. teleportsTab.Position = UDim2.new(0, 0, 0.245762706, 0)
  66. teleportsTab.Size = UDim2.new(0, 310, 0, 178)
  67.  
  68. red.Name = "red"
  69. red.Parent = teleportsTab
  70. red.BackgroundColor3 = Color3.new(1, 0, 0)
  71. red.BorderColor3 = Color3.new(0, 0, 0)
  72. red.Size = UDim2.new(0, 77, 0, 49)
  73. red.Font = Enum.Font.Cartoon
  74. red.Text = "Red"
  75. red.TextColor3 = Color3.new(0, 0, 0)
  76. red.TextScaled = true
  77. red.TextSize = 14
  78. red.TextWrapped = true
  79.  
  80. blue.Name = "blue"
  81. blue.Parent = teleportsTab
  82. blue.BackgroundColor3 = Color3.new(0, 0, 1)
  83. blue.Position = UDim2.new(0.248387098, 0, 0, 0)
  84. blue.Size = UDim2.new(0, 77, 0, 49)
  85. blue.Font = Enum.Font.Cartoon
  86. blue.Text = "Blue"
  87. blue.TextColor3 = Color3.new(0, 0, 0)
  88. blue.TextScaled = true
  89. blue.TextSize = 14
  90. blue.TextWrapped = true
  91.  
  92. yellow.Name = "yellow"
  93. yellow.Parent = teleportsTab
  94. yellow.BackgroundColor3 = Color3.new(1, 1, 0)
  95. yellow.Position = UDim2.new(0.496774197, 0, 0, 0)
  96. yellow.Size = UDim2.new(0, 77, 0, 49)
  97. yellow.Font = Enum.Font.Cartoon
  98. yellow.Text = "Yellow"
  99. yellow.TextColor3 = Color3.new(0, 0, 0)
  100. yellow.TextScaled = true
  101. yellow.TextSize = 14
  102. yellow.TextWrapped = true
  103.  
  104. green.Name = "green"
  105. green.Parent = teleportsTab
  106. green.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  107. green.Position = UDim2.new(0.745161295, 0, 0, 0)
  108. green.Size = UDim2.new(0, 79, 0, 49)
  109. green.Font = Enum.Font.Cartoon
  110. green.Text = "Green"
  111. green.TextColor3 = Color3.new(0, 0, 0)
  112. green.TextScaled = true
  113. green.TextSize = 14
  114. green.TextWrapped = true
  115.  
  116. redtop.Name = "redtop"
  117. redtop.Parent = teleportsTab
  118. redtop.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)
  119. redtop.BorderColor3 = Color3.new(0, 0, 0)
  120. redtop.BorderSizePixel = 2
  121. redtop.Position = UDim2.new(0.0354838707, 0, 0.331460685, 0)
  122. redtop.Size = UDim2.new(0, 55, 0, 32)
  123. redtop.Font = Enum.Font.Cartoon
  124. redtop.Text = "Top"
  125. redtop.TextColor3 = Color3.new(1, 1, 1)
  126. redtop.TextSize = 14
  127.  
  128. bluetop.Name = "bluetop"
  129. bluetop.Parent = teleportsTab
  130. bluetop.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)
  131. bluetop.BorderColor3 = Color3.new(0, 0, 0)
  132. bluetop.BorderSizePixel = 2
  133. bluetop.Position = UDim2.new(0.283870965, 0, 0.331460685, 0)
  134. bluetop.Size = UDim2.new(0, 55, 0, 32)
  135. bluetop.Font = Enum.Font.Cartoon
  136. bluetop.Text = "Top"
  137. bluetop.TextColor3 = Color3.new(1, 1, 1)
  138. bluetop.TextSize = 14
  139.  
  140. yellowtop.Name = "yellowtop"
  141. yellowtop.Parent = teleportsTab
  142. yellowtop.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)
  143. yellowtop.BorderColor3 = Color3.new(0, 0, 0)
  144. yellowtop.BorderSizePixel = 2
  145. yellowtop.Position = UDim2.new(0.532258093, 0, 0.331460685, 0)
  146. yellowtop.Size = UDim2.new(0, 55, 0, 32)
  147. yellowtop.Font = Enum.Font.Cartoon
  148. yellowtop.Text = "Top"
  149. yellowtop.TextColor3 = Color3.new(1, 1, 1)
  150. yellowtop.TextSize = 14
  151.  
  152. greentop.Name = "greentop"
  153. greentop.Parent = teleportsTab
  154. greentop.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)
  155. greentop.BorderColor3 = Color3.new(0, 0, 0)
  156. greentop.BorderSizePixel = 2
  157. greentop.Position = UDim2.new(0.783870995, 0, 0.331460685, 0)
  158. greentop.Size = UDim2.new(0, 55, 0, 32)
  159. greentop.Font = Enum.Font.Cartoon
  160. greentop.Text = "Top"
  161. greentop.TextColor3 = Color3.new(1, 1, 1)
  162. greentop.TextSize = 14
  163.  
  164. redbottom.Name = "redbottom"
  165. redbottom.Parent = teleportsTab
  166. redbottom.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)
  167. redbottom.BorderColor3 = Color3.new(0, 0, 0)
  168. redbottom.BorderSizePixel = 2
  169. redbottom.Position = UDim2.new(0.0354838707, 0, 0.646067441, 0)
  170. redbottom.Size = UDim2.new(0, 55, 0, 32)
  171. redbottom.Font = Enum.Font.Cartoon
  172. redbottom.Text = "Bottom"
  173. redbottom.TextColor3 = Color3.new(1, 1, 1)
  174. redbottom.TextSize = 14
  175.  
  176. bluebottom.Name = "bluebottom"
  177. bluebottom.Parent = teleportsTab
  178. bluebottom.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)
  179. bluebottom.BorderColor3 = Color3.new(0, 0, 0)
  180. bluebottom.BorderSizePixel = 2
  181. bluebottom.Position = UDim2.new(0.283870965, 0, 0.646067441, 0)
  182. bluebottom.Size = UDim2.new(0, 55, 0, 32)
  183. bluebottom.Font = Enum.Font.Cartoon
  184. bluebottom.Text = "Bottom"
  185. bluebottom.TextColor3 = Color3.new(1, 1, 1)
  186. bluebottom.TextSize = 14
  187.  
  188. yellowbottom.Name = "yellowbottom"
  189. yellowbottom.Parent = teleportsTab
  190. yellowbottom.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)
  191. yellowbottom.BorderColor3 = Color3.new(0, 0, 0)
  192. yellowbottom.BorderSizePixel = 2
  193. yellowbottom.Position = UDim2.new(0.532258093, 0, 0.646067441, 0)
  194. yellowbottom.Size = UDim2.new(0, 55, 0, 32)
  195. yellowbottom.Font = Enum.Font.Cartoon
  196. yellowbottom.Text = "Bottom"
  197. yellowbottom.TextColor3 = Color3.new(1, 1, 1)
  198. yellowbottom.TextSize = 14
  199.  
  200. greenbottom.Name = "greenbottom"
  201. greenbottom.Parent = teleportsTab
  202. greenbottom.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)
  203. greenbottom.BorderColor3 = Color3.new(0, 0, 0)
  204. greenbottom.BorderSizePixel = 2
  205. greenbottom.Position = UDim2.new(0.783870995, 0, 0.646067441, 0)
  206. greenbottom.Size = UDim2.new(0, 55, 0, 32)
  207. greenbottom.Font = Enum.Font.Cartoon
  208. greenbottom.Text = "Bottom"
  209. greenbottom.TextColor3 = Color3.new(1, 1, 1)
  210. greenbottom.TextSize = 14
  211.  
  212. functionsTab.Name = "functionsTab"
  213. functionsTab.Parent = MainFrame
  214. functionsTab.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  215. functionsTab.BorderColor3 = Color3.new(0, 0, 0)
  216. functionsTab.Position = UDim2.new(0, 0, 0.245762706, 0)
  217. functionsTab.Size = UDim2.new(0, 310, 0, 178)
  218.  
  219. sling.Name = "sling"
  220. sling.Parent = functionsTab
  221. sling.BackgroundColor3 = Color3.new(0.407843, 0.407843, 0.407843)
  222. sling.BorderColor3 = Color3.new(0, 0, 0)
  223. sling.Position = UDim2.new(0.0354838707, 0, 0.0505617969, 0)
  224. sling.Size = UDim2.new(0, 77, 0, 30)
  225. sling.Font = Enum.Font.Cartoon
  226. sling.Text = "Fast Slingshot [X]"
  227. sling.TextColor3 = Color3.new(1, 1, 1)
  228. sling.TextScaled = true
  229. sling.TextSize = 14
  230. sling.TextWrapped = true
  231.  
  232. sling2.Name = "sling2"
  233. sling2.Parent = functionsTab
  234. sling2.BackgroundColor3 = Color3.new(0.407843, 0.407843, 0.407843)
  235. sling2.BorderColor3 = Color3.new(0, 0, 0)
  236. sling2.Position = UDim2.new(0.377419353, 0, 0.0505617969, 0)
  237. sling2.Size = UDim2.new(0, 77, 0, 30)
  238. sling2.Font = Enum.Font.Cartoon
  239. sling2.Text = "Slingshot Headshots [X]"
  240. sling2.TextColor3 = Color3.new(1, 1, 1)
  241. sling2.TextScaled = true
  242. sling2.TextSize = 14
  243. sling2.TextWrapped = true
  244.  
  245. AutoRocket.Name = "AutoRocket"
  246. AutoRocket.Parent = functionsTab
  247. AutoRocket.BackgroundColor3 = Color3.new(0.407843, 0.407843, 0.407843)
  248. AutoRocket.BorderColor3 = Color3.new(0, 0, 0)
  249. AutoRocket.Position = UDim2.new(0.709677458, 0, 0.0505617969, 0)
  250. AutoRocket.Size = UDim2.new(0, 77, 0, 30)
  251. AutoRocket.Font = Enum.Font.Cartoon
  252. AutoRocket.Text = "Auto Rocket [E]"
  253. AutoRocket.TextColor3 = Color3.new(1, 1, 1)
  254. AutoRocket.TextScaled = true
  255. AutoRocket.TextSize = 14
  256. AutoRocket.TextWrapped = true
  257.  
  258. reach.Name = "reach"
  259. reach.Parent = functionsTab
  260. reach.BackgroundColor3 = Color3.new(0.407843, 0.407843, 0.407843)
  261. reach.BorderColor3 = Color3.new(0, 0, 0)
  262. reach.Position = UDim2.new(0.0354838967, 0, 0.342696607, 0)
  263. reach.Size = UDim2.new(0, 77, 0, 30)
  264. reach.Font = Enum.Font.Cartoon
  265. reach.Text = "Sword Reach"
  266. reach.TextColor3 = Color3.new(1, 1, 1)
  267. reach.TextScaled = true
  268. reach.TextSize = 14
  269. reach.TextWrapped = true
  270.  
  271. CreditsTab.Name = "CreditsTab"
  272. CreditsTab.Parent = MainFrame
  273. CreditsTab.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  274. CreditsTab.BorderColor3 = Color3.new(0, 0, 0)
  275. CreditsTab.BorderSizePixel = 3
  276. CreditsTab.Position = UDim2.new(0, 0, 0.245762706, 0)
  277. CreditsTab.Size = UDim2.new(0, 310, 0, 178)
  278.  
  279. creds1.Name = "creds1"
  280. creds1.Parent = CreditsTab
  281. creds1.BackgroundColor3 = Color3.new(1, 1, 1)
  282. creds1.BackgroundTransparency = 1
  283. creds1.Position = UDim2.new(0.17741935, 0, 0.078651689, 0)
  284. creds1.Size = UDim2.new(0, 200, 0, 30)
  285. creds1.Font = Enum.Font.Cartoon
  286. creds1.Text = "GUI By Neb#7444"
  287. creds1.TextColor3 = Color3.new(1, 1, 1)
  288. creds1.TextScaled = true
  289. creds1.TextSize = 14
  290. creds1.TextWrapped = true
  291.  
  292. creds2.Name = "creds2"
  293. creds2.Parent = CreditsTab
  294. creds2.BackgroundColor3 = Color3.new(1, 1, 1)
  295. creds2.BackgroundTransparency = 1
  296. creds2.Position = UDim2.new(0.17741935, 0, 0.331460685, 0)
  297. creds2.Size = UDim2.new(0, 200, 0, 30)
  298. creds2.Font = Enum.Font.Cartoon
  299. creds2.Text = "Sword Reach by danvsdon"
  300. creds2.TextColor3 = Color3.new(1, 1, 1)
  301. creds2.TextScaled = true
  302. creds2.TextSize = 14
  303. creds2.TextWrapped = true
  304.  
  305. creds3.Name = "creds3"
  306. creds3.Parent = CreditsTab
  307. creds3.BackgroundColor3 = Color3.new(1, 1, 1)
  308. creds3.BackgroundTransparency = 1
  309. creds3.Position = UDim2.new(0.17741935, 0, 0.584269702, 0)
  310. creds3.Size = UDim2.new(0, 200, 0, 30)
  311. creds3.Font = Enum.Font.Cartoon
  312. creds3.Text = "Some Functions made by UnpatchedCode "
  313. creds3.TextColor3 = Color3.new(1, 1, 1)
  314. creds3.TextScaled = true
  315. creds3.TextSize = 14
  316. creds3.TextWrapped = true
  317.  
  318. teleportsTabButton.Name = "teleportsTabButton"
  319. teleportsTabButton.Parent = MainFrame
  320. teleportsTabButton.BackgroundColor3 = Color3.new(0.666667, 0.666667, 1)
  321. teleportsTabButton.Position = UDim2.new(0.821882963, 0, 0.0805084705, 0)
  322. teleportsTabButton.Size = UDim2.new(0, 62, 0, 20)
  323. teleportsTabButton.Font = Enum.Font.Cartoon
  324. teleportsTabButton.Text = "Teleports"
  325. teleportsTabButton.TextColor3 = Color3.new(0, 0, 0)
  326. teleportsTabButton.TextSize = 14
  327.  
  328. FunctionsTabButton.Name = "FunctionsTabButton"
  329. FunctionsTabButton.Parent = MainFrame
  330. FunctionsTabButton.BackgroundColor3 = Color3.new(0.666667, 0.666667, 1)
  331. FunctionsTabButton.Position = UDim2.new(0.821882963, 0, 0.199152529, 0)
  332. FunctionsTabButton.Size = UDim2.new(0, 62, 0, 20)
  333. FunctionsTabButton.Font = Enum.Font.Cartoon
  334. FunctionsTabButton.Text = "Functions"
  335. FunctionsTabButton.TextColor3 = Color3.new(0, 0, 0)
  336. FunctionsTabButton.TextSize = 14
  337.  
  338. CreditsTabButton.Name = "CreditsTabButton"
  339. CreditsTabButton.Parent = MainFrame
  340. CreditsTabButton.BackgroundColor3 = Color3.new(0.666667, 0.666667, 1)
  341. CreditsTabButton.Position = UDim2.new(0.821882963, 0, 0.326271176, 0)
  342. CreditsTabButton.Size = UDim2.new(0, 62, 0, 20)
  343. CreditsTabButton.Font = Enum.Font.Cartoon
  344. CreditsTabButton.Text = "Credits"
  345. CreditsTabButton.TextColor3 = Color3.new(0, 0, 0)
  346. CreditsTabButton.TextSize = 14
  347.  
  348. openclose.Name = "openclose"
  349. openclose.Parent = doomspiregui
  350. openclose.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  351. openclose.BorderColor3 = Color3.new(0, 0, 0)
  352. openclose.BorderSizePixel = 3
  353. openclose.Position = UDim2.new(0.839140773, 0, 0.733945668, 0)
  354. openclose.Size = UDim2.new(0, 108, 0, 43)
  355. openclose.Font = Enum.Font.Cartoon
  356. openclose.Text = "Open/Close"
  357. openclose.TextColor3 = Color3.new(0, 0, 0)
  358. openclose.TextScaled = true
  359. openclose.TextSize = 14
  360. openclose.TextWrapped = true
  361. -- Scripts:
  362. function SCRIPT_BEYI83_FAKESCRIPT() -- redtop.Script
  363. getfenv().script = Instance.new('Script', redtop)
  364.  
  365. local redtp = script.Parent
  366.  
  367. redtp.MouseButton1Click:Connect(function()
  368. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-92,131,-1.1)
  369. end)
  370.  
  371. end
  372. coroutine.resume(coroutine.create(SCRIPT_BEYI83_FAKESCRIPT))
  373. function SCRIPT_PPRL84_FAKESCRIPT() -- bluetop.Script
  374. getfenv().script = Instance.new('Script', bluetop)
  375.  
  376. local bluetp = script.Parent
  377.  
  378. bluetp.MouseButton1Click:Connect(function()
  379. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-2.3,131,91)
  380. end)
  381.  
  382. end
  383. coroutine.resume(coroutine.create(SCRIPT_PPRL84_FAKESCRIPT))
  384. function SCRIPT_LNFU85_FAKESCRIPT() -- yellowtop.Script
  385. getfenv().script = Instance.new('Script', yellowtop)
  386.  
  387. local yellowtp = script.Parent
  388.  
  389. yellowtp.MouseButton1Click:Connect(function()
  390. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(86,131,1)
  391. end)
  392.  
  393. end
  394. coroutine.resume(coroutine.create(SCRIPT_LNFU85_FAKESCRIPT))
  395. function SCRIPT_DPYG79_FAKESCRIPT() -- greentop.Script
  396. getfenv().script = Instance.new('Script', greentop)
  397.  
  398. local greentp = script.Parent
  399.  
  400. greentp.MouseButton1Click:Connect(function()
  401. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1.4,131,-81)
  402. end)
  403.  
  404. end
  405. coroutine.resume(coroutine.create(SCRIPT_DPYG79_FAKESCRIPT))
  406. function SCRIPT_SQUC70_FAKESCRIPT() -- redbottom.Script
  407. getfenv().script = Instance.new('Script', redbottom)
  408.  
  409. local redb = script.Parent
  410.  
  411. redb.MouseButton1Click:Connect(function()
  412. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-131,25,-1.5)
  413. end)
  414.  
  415. end
  416. coroutine.resume(coroutine.create(SCRIPT_SQUC70_FAKESCRIPT))
  417. function SCRIPT_OGQY70_FAKESCRIPT() -- bluebottom.Script
  418. getfenv().script = Instance.new('Script', bluebottom)
  419.  
  420. local blueb = script.Parent
  421.  
  422. blueb.MouseButton1Click:Connect(function()
  423. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-0.4,25,131)
  424. end)
  425.  
  426. end
  427. coroutine.resume(coroutine.create(SCRIPT_OGQY70_FAKESCRIPT))
  428. function SCRIPT_WUCL68_FAKESCRIPT() -- yellowbottom.Script
  429. getfenv().script = Instance.new('Script', yellowbottom)
  430.  
  431. local yelb = script.Parent
  432.  
  433. yelb.MouseButton1Click:Connect(function()
  434. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(131,25,-1.5 )
  435. end)
  436.  
  437. end
  438. coroutine.resume(coroutine.create(SCRIPT_WUCL68_FAKESCRIPT))
  439. function SCRIPT_OWWF76_FAKESCRIPT() -- greenbottom.Script
  440. getfenv().script = Instance.new('Script', greenbottom)
  441.  
  442. local grb = script.Parent
  443.  
  444. grb.MouseButton1Click:Connect(function()
  445. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-0.4,25,-131)
  446. end)
  447.  
  448. end
  449. coroutine.resume(coroutine.create(SCRIPT_OWWF76_FAKESCRIPT))
  450. function SCRIPT_FAEU82_FAKESCRIPT() -- sling.Script
  451. getfenv().script = Instance.new('Script', sling)
  452.  
  453. local slinger = script.Parent
  454.  
  455. slinger.MouseButton1Click:Connect(function()
  456. wait(0)
  457. local lp = game:service('Players').LocalPlayer
  458.  
  459. local spamrocket = false
  460.  
  461. VELOCITY = 85 -- constant
  462.  
  463. lp:GetMouse().KeyDown:connect(function(k)
  464. if k:lower() == "x" then
  465. spamrocket = not spamrocket
  466. end
  467. end)
  468.  
  469. function computeLaunchAngle(dx,dy,grav)
  470. -- arcane
  471. -- http://en.wikipedia.org/wiki/Trajectory_of_a_projectile
  472.  
  473. local g = math.abs(grav)
  474. local inRoot = (VELOCITY*VELOCITY*VELOCITY*VELOCITY) - (g * ((g*dx*dx) + (2*dy*VELOCITY*VELOCITY)))
  475. if inRoot <= 0 then
  476. return .25 * math.pi
  477. end
  478. local root = math.sqrt(inRoot)
  479. local inATan1 = ((VELOCITY*VELOCITY) + root) / (g*dx)
  480.  
  481. local inATan2 = ((VELOCITY*VELOCITY) - root) / (g*dx)
  482. local answer1 = math.atan(inATan1)
  483. local answer2 = math.atan(inATan2)
  484. if answer1 < answer2 then return answer1 end
  485. return answer2
  486. end
  487.  
  488. function computeDirection(vec)
  489. local invSqrt = 1 / math.sqrt(vec.magnitude * vec.magnitude)
  490. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  491. end
  492.  
  493. while wait(0) do
  494. if spamrocket then
  495. if lp.Character:FindFirstChild("Slingshot") then
  496. local rocket = lp.Character.Slingshot
  497.  
  498. local vCharacter = lp.Character
  499. local vTarget = lp:GetMouse().Hit.p
  500. local humanoid = vCharacter.Humanoid
  501.  
  502. if humanoid then
  503. if humanoid.Health ~= 0 then local head = vCharacter:findFirstChild("Head")
  504. if head then
  505. local dir = vTarget - head.Position
  506. dir = computeDirection(dir)
  507.  
  508. local launch = vCharacter.Torso.Position + 5 * dir
  509.  
  510. local delta = vTarget - launch
  511.  
  512. local dy = delta.y
  513.  
  514. local new_delta = Vector3.new(delta.x, 0, delta.z)
  515. delta = new_delta
  516.  
  517. local dx = delta.magnitude
  518. local unit_delta = delta.unit
  519.  
  520. -- acceleration due to gravity in RBX units
  521. local g = (-9.81 * 20)
  522.  
  523. local theta = computeLaunchAngle( dx, dy, g)
  524.  
  525. local vy = math.sin(theta)
  526. local xz = math.cos(theta)
  527. local vx = unit_delta.x * xz
  528. local vz = unit_delta.z * xz
  529.  
  530. local vel=Vector3.new(vx,vy,vz) * VELOCITY
  531. rocket:WaitForChild("PelletCreateEvent",1):FireServer(launch,vel)
  532. wait(1 / 25)
  533. end
  534. end
  535. end
  536. end
  537. end
  538. end
  539. end)
  540.  
  541. end
  542. coroutine.resume(coroutine.create(SCRIPT_FAEU82_FAKESCRIPT))
  543. function SCRIPT_LSYP71_FAKESCRIPT() -- sling2.Script
  544. getfenv().script = Instance.new('Script', sling2)
  545.  
  546. local slinghead = script.Parent
  547.  
  548. slinghead.MouseButton1Click:Connect(function()
  549. wait(0)
  550. local lp = game:service('Players').LocalPlayer
  551.  
  552. local spamrocket = false
  553.  
  554. VELOCITY = 85 -- constant
  555.  
  556. lp:GetMouse().KeyDown:connect(function(k)
  557. if k:lower() == "x" then
  558. spamrocket = not spamrocket
  559. end
  560. end)
  561.  
  562. function computeLaunchAngle(dx,dy,grav)
  563. -- arcane
  564. -- http://en.wikipedia.org/wiki/Trajectory_of_a_projectile
  565.  
  566. local g = math.abs(grav)
  567. local inRoot = (VELOCITY*VELOCITY*VELOCITY*VELOCITY) - (g * ((g*dx*dx) + (2*dy*VELOCITY*VELOCITY)))
  568. if inRoot <= 0 then
  569. return .25 * math.pi
  570. end
  571. local root = math.sqrt(inRoot)
  572. local inATan1 = ((VELOCITY*VELOCITY) + root) / (g*dx)
  573.  
  574. local inATan2 = ((VELOCITY*VELOCITY) - root) / (g*dx)
  575. local answer1 = math.atan(inATan1)
  576. local answer2 = math.atan(inATan2)
  577. if answer1 < answer2 then return answer1 end
  578. return answer2
  579. end
  580.  
  581. function computeDirection(vec)
  582. local invSqrt = 1 / math.sqrt(vec.magnitude * vec.magnitude)
  583. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  584. end
  585.  
  586. while wait(0) do
  587. if spamrocket then
  588. if lp.Character:FindFirstChild("Slingshot") then
  589. local rocket = lp.Character.Slingshot
  590.  
  591. local vCharacter = lp.Character
  592. local vTarget = lp:GetMouse().Hit.p
  593. local humanoid = vCharacter.Humanoid
  594.  
  595. if humanoid then
  596. if humanoid.Health ~= 0 then local head = vCharacter:findFirstChild("Head")
  597. if head then
  598. for i,v in pairs(game:service('Players'):GetPlayers()) do
  599. if v.TeamColor ~= lp.TeamColor and v.userId ~= lp.userId then
  600. if v.Character ~= nil then if v.Character:FindFirstChild("Torso") then
  601. rocket:WaitForChild("PelletCreateEvent",1):FireServer(v.Character.Torso.Position + Vector3.new(0, 4, 0),Vector3.new(0, -5, 0))
  602.  
  603. end end end
  604. end
  605. wait(1 / 25)
  606. end
  607. end
  608. end
  609. end
  610. end
  611. end
  612. end)
  613.  
  614. end
  615. coroutine.resume(coroutine.create(SCRIPT_LSYP71_FAKESCRIPT))
  616. function SCRIPT_TNYZ70_FAKESCRIPT() -- AutoRocket.Script
  617. getfenv().script = Instance.new('Script', AutoRocket)
  618.  
  619. local autorckt = script.Parent
  620.  
  621. autorckt.MouseButton1Click:Connect(function()
  622. wait(0)
  623. local lp = game:service('Players').LocalPlayer
  624.  
  625. local spamrocket = false
  626.  
  627. lp:GetMouse().KeyDown:connect(function(k)
  628. if k:lower() == "e" then
  629. spamrocket = not spamrocket
  630. end
  631. end)
  632.  
  633. function computeDirection(vec)
  634. local invSqrt = 1 / math.sqrt(vec.magnitude * vec.magnitude)
  635. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  636. end
  637.  
  638. while wait(0) do
  639. if spamrocket then
  640. if lp.Character:FindFirstChild("RocketLauncher") then
  641. local rocket = lp.Character.RocketLauncher
  642.  
  643. local vCharacter = lp.Character
  644. local vTarget = lp:GetMouse().Hit.p
  645. local humanoid = vCharacter.Humanoid
  646.  
  647. if humanoid then
  648. if humanoid.Health ~= 0 then
  649. local Head = vCharacter.PrimaryPart
  650.  
  651. local dir = vTarget - Head.Position
  652. dir = computeDirection(dir)
  653.  
  654. local pos = Head.Position + (dir * 8)
  655. local ad=5000
  656.  
  657. rocket.RocketCreateEvent:FireServer(ad,pos,dir)
  658. wait(6)
  659. end
  660. end
  661. end
  662. end
  663. end
  664. end)
  665.  
  666. end
  667. coroutine.resume(coroutine.create(SCRIPT_TNYZ70_FAKESCRIPT))
  668. function SCRIPT_JDVY74_FAKESCRIPT() -- reach.Script
  669. getfenv().script = Instance.new('Script', reach)
  670.  
  671. local reacher = script.Parent
  672.  
  673. reacher.MouseButton1Click:Connect(function()
  674. local sword=game.Players.LocalPlayer.Backpack.Sword
  675. a=Instance.new("SelectionBox",sword.Handle)
  676. a.Adornee=sword.Handle
  677. sword.Handle.Size=Vector3.new(0.2,0.2,120)
  678. sword.Equipped:connect(function()
  679. while wait() do
  680. game.Workspace[game.Players.LocalPlayer.Name].Sword.GripPos=Vector3.new(0,0,-60)
  681. end
  682. end)
  683. end)
  684.  
  685. end
  686. coroutine.resume(coroutine.create(SCRIPT_JDVY74_FAKESCRIPT))
  687. function SCRIPT_NCNQ66_FAKESCRIPT() -- teleportsTabButton.Script
  688. getfenv().script = Instance.new('Script', teleportsTabButton)
  689.  
  690. local tptab = script.Parent
  691.  
  692. tptab.MouseButton1Click:Connect(function()
  693. tptab.Parent.CreditsTab.Visible = false
  694. tptab.Parent.functionsTab.Visible = false
  695. tptab.Parent.teleportsTab.Visible = true
  696. end)
  697.  
  698. end
  699. coroutine.resume(coroutine.create(SCRIPT_NCNQ66_FAKESCRIPT))
  700. function SCRIPT_WJWN79_FAKESCRIPT() -- FunctionsTabButton.Script
  701. getfenv().script = Instance.new('Script', FunctionsTabButton)
  702.  
  703. local functionstab = script.Parent
  704.  
  705. functionstab.MouseButton1Click:Connect(function()
  706. functionstab.Parent.CreditsTab.Visible = false
  707. functionstab.Parent.functionsTab.Visible = true
  708. functionstab.Parent.teleportsTab.Visible = false
  709. end)
  710.  
  711. end
  712. coroutine.resume(coroutine.create(SCRIPT_WJWN79_FAKESCRIPT))
  713. function SCRIPT_OHTV68_FAKESCRIPT() -- CreditsTabButton.Script
  714. getfenv().script = Instance.new('Script', CreditsTabButton)
  715.  
  716. local functionstab = script.Parent
  717.  
  718. functionstab.MouseButton1Click:Connect(function()
  719. functionstab.Parent.CreditsTab.Visible = true
  720. functionstab.Parent.functionsTab.Visible = false
  721. functionstab.Parent.teleportsTab.Visible = false
  722. end)
  723.  
  724. end
  725. coroutine.resume(coroutine.create(SCRIPT_OHTV68_FAKESCRIPT))
  726. function SCRIPT_GJRM80_FAKESCRIPT() -- MainFrame.draggable
  727. getfenv().script = Instance.new('Script', MainFrame)
  728.  
  729. mainframed = script.Parent
  730.  
  731. mainframed.Active = true
  732. mainframed.Draggable = true
  733.  
  734. end
  735. coroutine.resume(coroutine.create(SCRIPT_GJRM80_FAKESCRIPT))
  736. function SCRIPT_CSGR67_FAKESCRIPT() -- MainFrame.Script
  737. getfenv().script = Instance.new('Script', MainFrame)
  738.  
  739.  
  740.  
  741. end
  742. coroutine.resume(coroutine.create(SCRIPT_CSGR67_FAKESCRIPT))
  743. function SCRIPT_ZHQY71_FAKESCRIPT() -- openclose.Script
  744. getfenv().script = Instance.new('Script', openclose)
  745.  
  746. local toggle = script.Parent
  747. local visibled = script.Parent.Parent.MainFrame
  748.  
  749. toggle.MouseButton1Click:Connect(function()
  750. if visibled.Visible == true then
  751. visibled.Visible = false
  752.  
  753.  
  754. elseif visibled.Visible == false then
  755. visibled.Visible = true
  756. end
  757. end)
  758.  
  759. end
  760. coroutine.resume(coroutine.create(SCRIPT_ZHQY71_FAKESCRIPT))
  761. function SCRIPT_YETB81_FAKESCRIPT() -- doomspiregui.nodisappear
  762. getfenv().script = Instance.new('Script', doomspiregui)
  763.  
  764. script.Parent.ResetOnSpawn = false
  765.  
  766. end
  767. coroutine.resume(coroutine.create(SCRIPT_YETB81_FAKESCRIPT))
Add Comment
Please, Sign In to add comment