RoSploitzer

Kill Fling Script

Jul 19th, 2019
620
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.17 KB | None | 0 0
  1. -- Made By JackMcJagger15
  2. local FlingKill = Instance.new("ScreenGui")
  3. local Main = Instance.new("Frame")
  4. local Label = Instance.new("Frame")
  5. local Shadow = Instance.new("Frame")
  6. local StartKill = Instance.new("TextButton")
  7. local StopKill = Instance.new("TextButton")
  8. local StartShadow = Instance.new("Frame")
  9. local StopShadow = Instance.new("Frame")
  10. local Instructions = Instance.new("TextLabel")
  11. local CurrentPower = Instance.new("TextLabel")
  12. local Recomendation = Instance.new("TextLabel")
  13. local NameOfGui = Instance.new("TextLabel")
  14. local UPArrow = Instance.new("TextButton")
  15. local DownArrow = Instance.new("TextButton")
  16.  
  17. -- Addon By JuniorJacob
  18.  
  19. local Misc = Instance.new("Frame")
  20. local MiscLabel = Instance.new("Frame")
  21. local MiscShadow = Instance.new("Frame")
  22. local OtherKill = Instance.new("TextButton")
  23. local OtherStop = Instance.new("TextButton")
  24. local MiscInstructions = Instance.new("TextLabel")
  25. local NameOfMisc = Instance.new("TextLabel")
  26. local CUpArrow = Instance.new("TextButton")
  27. local CDownArrow = Instance.new("TextButton")
  28. local MiscCurrentPower = Instance.new("TextLabel")
  29. local OStopShadow = Instance.new("Frame")
  30. local OStartShadow = Instance.new("Frame")
  31. local ToggleButton = Instance.new("TextButton")
  32. local ToggleInfo = Instance.new("TextLabel")
  33. local ToggleShadow = Instance.new("Frame")
  34. local Exit = Instance.new("TextButton")
  35.  
  36. -- Properties
  37.  
  38. FlingKill.Name = "Fling/Kill"
  39. FlingKill.Parent = game.CoreGui
  40.  
  41. Main.Name = "Main"
  42. Main.Parent = FlingKill
  43. Main.BackgroundColor3 = Color3.new(0.92549, 0.941177, 0.945098)
  44. Main.BorderSizePixel = 0
  45. Main.Position = UDim2.new(0.702554762, 0, 0.446640313, 0)
  46. Main.Size = UDim2.new(0, 217, 0, 233)
  47. Main.Selectable = true
  48. Main.Active = true
  49. Main.Draggable = true
  50.  
  51. Label.Name = "Label"
  52. Label.Parent = Main
  53. Label.BackgroundColor3 = Color3.new(0.741176, 0.764706, 0.780392)
  54. Label.BorderSizePixel = 0
  55. Label.Size = UDim2.new(0, 217, 0, 27)
  56.  
  57. Shadow.Name = "Shadow"
  58. Shadow.Parent = Main
  59. Shadow.BackgroundColor3 = Color3.new(0.67451, 0.694118, 0.705882)
  60. Shadow.BorderSizePixel = 0
  61. Shadow.Position = UDim2.new(0, 0, 0.115879826, 0)
  62. Shadow.Size = UDim2.new(0, 217, 0, 9)
  63.  
  64. StartShadow.Name = "StartShadow"
  65. StartShadow.Parent = Main
  66. StartShadow.BackgroundColor3 = Color3.new(0.67451, 0.694118, 0.705882)
  67. StartShadow.BorderSizePixel = 0
  68. StartShadow.Position = UDim2.new(0.196, 0, 0.326, 0)
  69. StartShadow.Size = UDim2.new(0, 126, 0, 6)
  70.  
  71. StopShadow.Name = "StopShadow"
  72. StopShadow.Parent = Main
  73. StopShadow.BackgroundColor3 = Color3.new(0.67451, 0.694118, 0.705882)
  74. StopShadow.BorderSizePixel = 0
  75. StopShadow.Position = UDim2.new(0.207, 0, 0.481, 0)
  76. StopShadow.Size = UDim2.new(0, 124, 0, 6)
  77.  
  78. StartKill.Name = "StartKill"
  79. StartKill.Parent = Main
  80. StartKill.BackgroundColor3 = Color3.new(0.741176, 0.764706, 0.780392)
  81. StartKill.BorderSizePixel = 0
  82. StartKill.Position = UDim2.new(0.195852548, 0, 0.227467805, 0)
  83. StartKill.Size = UDim2.new(0, 126, 0, 23)
  84. StartKill.Font = Enum.Font.Cartoon
  85. StartKill.Text = "FE Kill/Fling"
  86. StartKill.TextColor3 = Color3.new(0, 0, 0)
  87. StartKill.TextSize = 14
  88. StartKill.AutoButtonColor = false
  89.  
  90. StopKill.Name = "StopKill"
  91. StopKill.Parent = Main
  92. StopKill.BackgroundColor3 = Color3.new(0.741176, 0.764706, 0.780392)
  93. StopKill.BorderSizePixel = 0
  94. StopKill.Position = UDim2.new(0.207373276, 0, 0.38197428, 0)
  95. StopKill.Size = UDim2.new(0, 124, 0, 23)
  96. StopKill.Font = Enum.Font.Cartoon
  97. StopKill.Text = "Stop FE Kill/Fling"
  98. StopKill.TextColor3 = Color3.new(0, 0, 0)
  99. StopKill.TextSize = 14
  100. StopKill.AutoButtonColor = false
  101.  
  102. Instructions.Name = "Instructions"
  103. Instructions.Parent = Main
  104. Instructions.BackgroundColor3 = Color3.new(1, 1, 1)
  105. Instructions.BackgroundTransparency = 1
  106. Instructions.Position = UDim2.new(0.0391705073, 0, 0.549356222, 0)
  107. Instructions.Size = UDim2.new(0, 200, 0, 32)
  108. Instructions.Font = Enum.Font.Cartoon
  109. Instructions.Text = "Just touch someone to watch the fly to their death!"
  110. Instructions.TextColor3 = Color3.new(0, 0, 0)
  111. Instructions.TextSize = 14
  112. Instructions.TextWrapped = true
  113.  
  114. CurrentPower.Name = "CurrentPower"
  115. CurrentPower.Parent = Main
  116. CurrentPower.BackgroundColor3 = Color3.new(1, 1, 1)
  117. CurrentPower.BackgroundTransparency = 1
  118. CurrentPower.Position = UDim2.new(0.276497692, 0, 0.686695278, 0)
  119. CurrentPower.Size = UDim2.new(0, 98, 0, 36)
  120. CurrentPower.Font = Enum.Font.Cartoon
  121. CurrentPower.Text = "Current Power = 5"
  122. CurrentPower.TextColor3 = Color3.new(0, 0, 0)
  123. CurrentPower.TextSize = 14
  124.  
  125. Recomendation.Name = "Recomendation"
  126. Recomendation.Parent = Main
  127. Recomendation.BackgroundColor3 = Color3.new(1, 1, 1)
  128. Recomendation.BackgroundTransparency = 1
  129. Recomendation.Position = UDim2.new(0.0414746553, 0, 0.884120166, 0)
  130. Recomendation.Size = UDim2.new(0, 200, 0, 21)
  131. Recomendation.Font = Enum.Font.Cartoon
  132. Recomendation.Text = "Recommended Power is 5"
  133. Recomendation.TextColor3 = Color3.new(0, 0, 0)
  134. Recomendation.TextSize = 14
  135.  
  136. NameOfGui.Name = "NameOfGui"
  137. NameOfGui.Parent = Main
  138. NameOfGui.BackgroundColor3 = Color3.new(1, 1, 1)
  139. NameOfGui.BackgroundTransparency = 1
  140. NameOfGui.Position = UDim2.new(0.118, 0, 0, 0)
  141. NameOfGui.Size = UDim2.new(0, 154, 0, 27)
  142. NameOfGui.Font = Enum.Font.Cartoon
  143. NameOfGui.Text = "FE Kill/Fling By JackMcJagger15"
  144. NameOfGui.TextColor3 = Color3.new(0, 0, 0)
  145. NameOfGui.TextSize = 14
  146.  
  147. UPArrow.Name = "UPArrow"
  148. UPArrow.Parent = Main
  149. UPArrow.BackgroundColor3 = Color3.new(1, 1, 1)
  150. UPArrow.BackgroundTransparency = 1
  151. UPArrow.Position = UDim2.new(0.0783410147, 0, 0.716738224, 0)
  152. UPArrow.Size = UDim2.new(0, 26, 0, 23)
  153. UPArrow.Font = Enum.Font.Cartoon
  154. UPArrow.Text = "Up"
  155. UPArrow.TextColor3 = Color3.new(0, 0, 0)
  156. UPArrow.TextSize = 12
  157. UPArrow.TextWrapped = true
  158.  
  159. DownArrow.Name = "DownArrow"
  160. DownArrow.Parent = Main
  161. DownArrow.BackgroundColor3 = Color3.new(1, 1, 1)
  162. DownArrow.BackgroundTransparency = 1
  163. DownArrow.Position = UDim2.new(0.792626739, 0, 0.714592278, 0)
  164. DownArrow.Size = UDim2.new(0, 26, 0, 23)
  165. DownArrow.Font = Enum.Font.Cartoon
  166. DownArrow.Text = "Down"
  167. DownArrow.TextColor3 = Color3.new(0, 0, 0)
  168. DownArrow.TextSize = 12
  169. DownArrow.TextWrapped = true
  170.  
  171. -- Misc Properties
  172.  
  173. --[[
  174.  
  175. local Misc = Instance.new("Frame")
  176. local MiscLabel = Instance.new("Frame")
  177. local MiscShadow = Instance.new("Frame")
  178. local OtherKill = Instance.new("TextButton")
  179. local OtherStop = Instance.new("TextButton")
  180. local MiscInstructions = Instance.new("TextLabel")
  181. local NameOfMisc = Instance.new("TextLabel")
  182. local CUpArrow = Instance.new("TextButton")
  183. local CDownArrow = Instance.new("TextButton")
  184. local MiscCurrentPower = Instance.new("TextLabel")
  185. local OStopShadow = Instance.new("Frame")
  186. local OStartShadow = Instance.new("Frame")
  187. local ToggleButton = Instance.new("TextButton")
  188. local ToggleInfo = Instance.new("TextLabel")
  189. local ToggleShadow = Instance.new("Frame")
  190. local Exit = Instance.new("TextButton")
  191.  
  192. --]]
  193.  
  194. Misc.Name = "Misc"
  195. Misc.Parent = Main
  196. Misc.BackgroundColor3 = Color3.new(0.92549, 0.941177, 0.945098)
  197. Misc.BorderSizePixel = 0
  198. Misc.Position = UDim2.new(0.998, 0,0.001, 0)
  199. Misc.Size = UDim2.new(0, 214,0, 233)
  200. Misc.Selectable = true
  201. Misc.Active = true
  202. Misc.Draggable = false
  203.  
  204. MiscLabel.Name = "MiscLabel"
  205. MiscLabel.Parent = Misc
  206. MiscLabel.BackgroundColor3 = Color3.new(0.741176, 0.764706, 0.780392)
  207. MiscLabel.BorderSizePixel = 0
  208. MiscLabel.Size = UDim2.new(0, 214,0, 27)
  209.  
  210. MiscShadow.Name = "MiscShadow"
  211. MiscShadow.Parent = Misc
  212. MiscShadow.BackgroundColor3 = Color3.new(0.67451, 0.694118, 0.705882)
  213. MiscShadow.BorderSizePixel = 0
  214. MiscShadow.Position = UDim2.new(0, 0, 0.116, 0)
  215. MiscShadow.Size = UDim2.new(0, 214, 0, 9)
  216.  
  217. OStartShadow.Name = "OStartShadow"
  218. OStartShadow.Parent = Misc
  219. OStartShadow.BackgroundColor3 = Color3.new(0.67451, 0.694118, 0.705882)
  220. OStartShadow.BorderSizePixel = 0
  221. OStartShadow.Position = UDim2.new(0.173, 0, 0.326, 0)
  222. OStartShadow.Size = UDim2.new(0, 139, 0, 6)
  223.  
  224. OStopShadow.Name = "OStopShadow"
  225. OStopShadow.Parent = Misc
  226. OStopShadow.BackgroundColor3 = Color3.new(0.67451, 0.694118, 0.705882)
  227. OStopShadow.BorderSizePixel = 0
  228. OStopShadow.Position = UDim2.new(0.173, 0, 0.481, 0)
  229. OStopShadow.Size = UDim2.new(0, 139, 0, 6)
  230.  
  231. ToggleShadow.Name = "ToggleShadow"
  232. ToggleShadow.Parent = Misc
  233. ToggleShadow.BackgroundColor3 = Color3.new(0.67451, 0.694118, 0.705882)
  234. ToggleShadow.BorderSizePixel = 0
  235. ToggleShadow.Position = UDim2.new(0.79, 0, 0.957, 0)
  236. ToggleShadow.Size = UDim2.new(0, 39, 0, 4)
  237.  
  238. OtherKill.Name = "StartOthers"
  239. OtherKill.Parent = Misc
  240. OtherKill.BackgroundColor3 = Color3.new(0.741176, 0.764706, 0.780392)
  241. OtherKill.BorderSizePixel = 0
  242. OtherKill.Position = UDim2.new(0.173, 0, 0.227, 0)
  243. OtherKill.Size = UDim2.new(0, 139, 0, 23)
  244. OtherKill.Font = Enum.Font.Cartoon
  245. OtherKill.Text = "Fling Others"
  246. OtherKill.TextColor3 = Color3.new(0, 0, 0)
  247. OtherKill.TextSize = 14
  248. OtherKill.AutoButtonColor = false
  249.  
  250. OtherStop.Name = "StopOthers"
  251. OtherStop.Parent = Misc
  252. OtherStop.BackgroundColor3 = Color3.new(0.741176, 0.764706, 0.780392)
  253. OtherStop.BorderSizePixel = 0
  254. OtherStop.Position = UDim2.new(0.173, 0, 0.382, 0)
  255. OtherStop.Size = UDim2.new(0, 139, 0, 23)
  256. OtherStop.Font = Enum.Font.Cartoon
  257. OtherStop.Text = "Stop Flinging Others"
  258. OtherStop.TextColor3 = Color3.new(0, 0, 0)
  259. OtherStop.TextSize = 14
  260. OtherStop.AutoButtonColor = false
  261.  
  262. ToggleButton.Name = "ToggleButton"
  263. ToggleButton.Parent = Misc
  264. ToggleButton.BackgroundColor3 = Color3.new(0.741176, 0.764706, 0.780392)
  265. ToggleButton.BorderSizePixel = 0
  266. ToggleButton.Position = UDim2.new(0.79, 0, 0.884, 0)
  267. ToggleButton.Size = UDim2.new(0, 39, 0, 17)
  268. ToggleButton.Font = Enum.Font.Cartoon
  269. ToggleButton.Text = "Off"
  270. ToggleButton.TextColor3 = Color3.new(0, 0, 0)
  271. ToggleButton.TextSize = 14
  272. ToggleButton.AutoButtonColor = false
  273.  
  274. MiscInstructions.Name = "MiscInstructions"
  275. MiscInstructions.Parent = Misc
  276. MiscInstructions.BackgroundColor3 = Color3.new(1, 1, 1)
  277. MiscInstructions.BackgroundTransparency = 1
  278. MiscInstructions.Position = UDim2.new(0.039, 0, 0.549, 0)
  279. MiscInstructions.Size = UDim2.new(0, 200, 0, 32)
  280. MiscInstructions.Font = Enum.Font.Cartoon
  281. MiscInstructions.Text = "Sit back and relax while the script automatically finds players to fling."
  282. MiscInstructions.TextColor3 = Color3.new(0, 0, 0)
  283. MiscInstructions.TextSize = 14
  284. MiscInstructions.TextWrapped = true
  285.  
  286. MiscCurrentPower.Name = "MiscCurrentPower"
  287. MiscCurrentPower.Parent = Misc
  288. MiscCurrentPower.BackgroundColor3 = Color3.new(1, 1, 1)
  289. MiscCurrentPower.BackgroundTransparency = 1
  290. MiscCurrentPower.Position = UDim2.new(0.276497692, 0, 0.686695278, 0)
  291. MiscCurrentPower.Size = UDim2.new(0, 98, 0, 36)
  292. MiscCurrentPower.Font = Enum.Font.Cartoon
  293. MiscCurrentPower.Text = "Current Power = 8"
  294. MiscCurrentPower.TextColor3 = Color3.new(0, 0, 0)
  295. MiscCurrentPower.TextSize = 14
  296.  
  297. ToggleInfo.Name = "ToggleInfo"
  298. ToggleInfo.Parent = Misc
  299. ToggleInfo.BackgroundColor3 = Color3.new(1, 1, 1)
  300. ToggleInfo.BackgroundTransparency = 1
  301. ToggleInfo.Position = UDim2.new(0.037, 0, 0.884, 0)
  302. ToggleInfo.Size = UDim2.new(0, 155, 0, 21)
  303. ToggleInfo.Font = Enum.Font.Cartoon
  304. ToggleInfo.Text = "Use Custom Power Values"
  305. ToggleInfo.TextColor3 = Color3.new(0, 0, 0)
  306. ToggleInfo.TextSize = 14
  307.  
  308. NameOfMisc.Name = "NameOfMisc"
  309. NameOfMisc.Parent = Misc
  310. NameOfMisc.BackgroundColor3 = Color3.new(1, 1, 1)
  311. NameOfMisc.BackgroundTransparency = 1
  312. NameOfMisc.Position = UDim2.new(0.098, 0, 0, 0)
  313. NameOfMisc.Size = UDim2.new(0, 154, 0, 27)
  314. NameOfMisc.Font = Enum.Font.Cartoon
  315. NameOfMisc.Text = "Addition By JuniorJacob"
  316. NameOfMisc.TextColor3 = Color3.new(0, 0, 0)
  317. NameOfMisc.TextSize = 14
  318.  
  319. Exit.Name = "Exit"
  320. Exit.Parent = Misc
  321. Exit.BackgroundColor3 = Color3.new(1, 1, 1)
  322. Exit.BackgroundTransparency = 1
  323. Exit.Position = UDim2.new(0.893, 0, 0, 0)
  324. Exit.Size = UDim2.new(0, 20, 0, 27)
  325. Exit.Font = Enum.Font.Cartoon
  326. Exit.Text = "X"
  327. Exit.TextColor3 = Color3.new(0, 0, 0)
  328. Exit.TextSize = 14
  329.  
  330. CUpArrow.Name = "CUpArrow"
  331. CUpArrow.Parent = Misc
  332. CUpArrow.BackgroundColor3 = Color3.new(1, 1, 1)
  333. CUpArrow.BackgroundTransparency = 1
  334. CUpArrow.Position = UDim2.new(0.078, 0, 0.717, 0)
  335. CUpArrow.Size = UDim2.new(0, 26, 0, 23)
  336. CUpArrow.Font = Enum.Font.Cartoon
  337. CUpArrow.Text = "Up"
  338. CUpArrow.TextColor3 = Color3.new(0, 0, 0)
  339. CUpArrow.TextSize = 12
  340. CUpArrow.TextWrapped = true
  341.  
  342. CDownArrow.Name = "CDownArrow"
  343. CDownArrow.Parent = Misc
  344. CDownArrow.BackgroundColor3 = Color3.new(1, 1, 1)
  345. CDownArrow.BackgroundTransparency = 1
  346. CDownArrow.Position = UDim2.new(0.793, 0, 0.715, 0)
  347. CDownArrow.Size = UDim2.new(0, 26, 0, 23)
  348. CDownArrow.Font = Enum.Font.Cartoon
  349. CDownArrow.Text = "Down"
  350. CDownArrow.TextColor3 = Color3.new(0, 0, 0)
  351. CDownArrow.TextSize = 12
  352. CDownArrow.TextWrapped = true
  353.  
  354. local toggle = false
  355.  
  356. if game.Players.LocalPlayer:FindFirstChild('Number') then
  357. for i,v in pairs(game.Players.LocalPlayer:GetChildren()) do
  358. if v.Name == "Number" then
  359. v:Destroy()
  360. end
  361. end
  362. elseif game.Players.LocalPlayer:FindFirstChild('CNumber') then
  363. for i,v in pairs(game.Players.LocalPlayer:GetChildren()) do
  364. if v.Name == "CNumber" then
  365. v:Destroy()
  366. end
  367. end
  368. elseif game.Workspace:FindFirstChild("XD") then
  369. for i,v in pairs(workspace:GetChildren()) do
  370. if v.Name == "XD" then
  371. v:Destroy()
  372. end
  373. end
  374. end
  375.  
  376. power = 500
  377. active = false
  378. local val = Instance.new("IntValue")
  379. val.Name = "Number"
  380. val.Parent = game.Players.LocalPlayer
  381. val.Value = 5
  382.  
  383. cpower = 8000
  384. cactive = false
  385. local cval = Instance.new("IntValue")
  386. cval.Name = "CNumber"
  387. cval.Parent = game.Players.LocalPlayer
  388. cval.Value = 8
  389.  
  390. if game.PlaceId == 414300524 then -- Hilton Hotels
  391. Recomendation.Text = "Recommended Power is 8"
  392. elseif game.PlaceId == 323925323 then -- Frappe
  393. Recomendation.Text = "Recommended Power is 30"
  394. elseif game.PlaceId == 679498303 then -- Bakiez
  395. Recomendation.Text = "Recommended Power is 15"
  396. elseif game.PlaceId == 265360172 then -- Dunkin Donuts
  397. Recomendation.Text = "Recommended Power is 6"
  398. elseif game.PlaceId == 610172644 then -- Verde
  399. Recomendation.Text = "Recommended Power is 23"
  400. elseif game.PlaceId == 1606798444 then
  401. Recomendation.Text = "This is where I made the addition."
  402. end
  403.  
  404. Exit.MouseButton1Click:connect(function()
  405. FlingKill:Destroy()
  406. end)
  407.  
  408. function startSpin()
  409. game:GetService('RunService').Stepped:connect(function()
  410. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  411. game.Players.LocalPlayer.Character:FindFirstChild('Head').CanCollide = false
  412. game.Players.LocalPlayer.Character:FindFirstChild('Torso').CanCollide = false
  413. game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
  414. game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
  415. else
  416. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  417. game.Players.LocalPlayer.Character:FindFirstChild('Head').CanCollide = false
  418. game.Players.LocalPlayer.Character:FindFirstChild('UpperTorso').CanCollide = false
  419. game.Players.LocalPlayer.Character:FindFirstChild('LowerTorso').CanCollide = false
  420. game.Players.LocalPlayer.Character:FindFirstChild('HumanoidRootPart').CanCollide = false
  421. end
  422. end
  423. end)
  424. wait(.1)
  425. local bambam = Instance.new("BodyThrust")
  426. bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  427. if toggle == false then
  428. bambam.Force = Vector3.new(power,0,power)
  429. else
  430. bambam.Force = Vector3.new(cpower,0,cpower)
  431. end
  432. bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  433. end
  434.  
  435. StartKill.MouseButton1Click:connect(function()
  436. startSpin()
  437. end)
  438.  
  439. StopKill.MouseButton1Click:connect(function()
  440. active = false
  441. game.Players.LocalPlayer.Character.HumanoidRootPart.BodyThrust:Remove()
  442. end)
  443.  
  444. local firsttimesetup = false
  445. local loopOn = false
  446.  
  447. function tp(playerObject, objectCframe) -- send local player's player object and a CFrame.new() for the xyz and itll tp properly
  448. if playerObject.Parent == game.Players then -- usage: tp(game.Players["PLRNAME"], FULLPATHHERE.CFrame)
  449. playerObject.Character:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(objectCframe.X, objectCframe.Y, objectCframe.Z)
  450. end
  451. end
  452.  
  453. local warpDone = false
  454. function warp(sentObj)
  455. warpDone = false
  456. local root = game.Players.LocalPlayer.Character.HumanoidRootPart
  457.  
  458. local function run(givenObj)
  459. local multi = 1.5
  460. if givenObj.Position then
  461. local warpObj = givenObj.Position
  462. local getMag = warpObj-root.Position
  463. local magnitude = getMag.magnitude
  464. magnitude = tostring(math.floor(magnitude + 0.99)) if tonumber(magnitude) > 9 then multi = magnitude:sub(1, -2) * 1.2 else multi = magnitude:sub(1, -1) * 1.2 end magnitude = tonumber(magnitude)
  465.  
  466. for a=0, magnitude, multi do
  467. root.Anchored = false
  468. root.CFrame = root.CFrame + (CFrame.new(root.Position, warpObj).lookVector * multi)
  469. wait(0.05)
  470. end
  471. root.Anchored = true
  472. end
  473. end
  474. run(sentObj)
  475. root.Anchored = false
  476. warpDone = true
  477. end
  478.  
  479. OtherKill.MouseButton1Click:connect(function()
  480. startSpin()
  481. wait(0.1)
  482. loopOn = true
  483. while loopOn == true do
  484. wait(0.1)
  485. for i,v in pairs(game.Players:GetPlayers()) do
  486. if v.Name ~= game.Players.LocalPlayer.Name and v.Character.Humanoid.Sit ~= true then
  487. warp(v.Character.HumanoidRootPart)
  488. repeat
  489. wait()
  490. until warpDone == true
  491. wait(0.5)
  492. end
  493. end
  494. end
  495. end)
  496.  
  497. OtherStop.MouseButton1Click:connect(function()
  498. wait()
  499. active = false
  500. loopOn = false
  501. warpDone = true
  502. game.Players.LocalPlayer.Character.HumanoidRootPart.BodyThrust:Remove()
  503. end)
  504.  
  505. UPArrow.MouseButton1Click:connect(function()
  506. power = power + 100
  507. game.Players.LocalPlayer.Number.Value = game.Players.LocalPlayer.Number.Value + 1
  508. CurrentPower.Text = "Current Power = " .. game.Players.LocalPlayer.Number.Value
  509. end)
  510.  
  511. DownArrow.MouseButton1Click:connect(function()
  512. power = power - 100
  513. game.Players.LocalPlayer.Number.Value = game.Players.LocalPlayer.Number.Value - 1
  514. CurrentPower.Text = "Current Power = " .. game.Players.LocalPlayer.Number.Value
  515. end)
  516.  
  517. CUpArrow.MouseButton1Click:connect(function()
  518. if toggle ~= false then
  519. cpower = cpower + 100
  520. game.Players.LocalPlayer.CNumber.Value = game.Players.LocalPlayer.CNumber.Value + 1
  521. MiscCurrentPower.Text = "Current Power = " .. game.Players.LocalPlayer.CNumber.Value
  522. end
  523. end)
  524.  
  525. CDownArrow.MouseButton1Click:connect(function()
  526. if toggle ~= false then
  527. cpower = cpower - 100
  528. game.Players.LocalPlayer.CNumber.Value = game.Players.LocalPlayer.CNumber.Value - 1
  529. MiscCurrentPower.Text = "Current Power = " .. game.Players.LocalPlayer.CNumber.Value
  530. end
  531. end)
  532.  
  533. local gui = Main
  534. local buttonArray = {}
  535. local defaultcolor3 = Color3.fromRGB(188, 195, 198)
  536. local shadowcolor3 = Color3.fromRGB(172, 177, 179)
  537. local downcolor3 = Color3.fromRGB(198, 205, 208)
  538. local attachedArray = {
  539. StartOthers = gui.Misc.OStartShadow,
  540. StopOthers = gui.Misc.OStopShadow,
  541. ToggleButton = gui.Misc.ToggleShadow,
  542. StartKill = gui.StartShadow,
  543. StopKill = gui.StopShadow
  544. }
  545.  
  546. for i,v in pairs(gui:GetChildren()) do
  547. if v.ClassName == "TextButton" then
  548. buttonArray[v.Name] = v
  549. end
  550.  
  551. for x,c in pairs(gui.Misc:GetChildren()) do
  552. if c.ClassName == "TextButton" then
  553. buttonArray[c.Name] = c
  554. end
  555. end
  556. end
  557.  
  558. for i,v in pairs(buttonArray) do
  559. v.MouseEnter:connect(function()
  560. v.BackgroundColor3 = shadowcolor3
  561. end)
  562. v.MouseLeave:connect(function()
  563. v.BackgroundColor3 = defaultcolor3
  564. end)
  565. v.MouseButton1Click:connect(function()
  566. if v.Name ~= "Exit" and v.Name ~= "CUpArrow" and v.Name ~= "CDownArrow" and v.Name ~= "UPArrow" and v.Name ~= "DownArrow" then
  567. -- usage: attachedArray[v.Name] (that gets the object btw)
  568. if v.Name == "StopOthers" then
  569. attachedArray[v.Name].Visible = true
  570. v.Position = UDim2.new(v.Position.X.Scale, v.Position.X.Offset, v.Position.Y.Scale + 0.026, v.Position.Y.Offset)
  571. wait(0.05)
  572. v.Position = UDim2.new(v.Position.X.Scale, v.Position.X.Offset, v.Position.Y.Scale - 0.026, v.Position.Y.Offset)
  573. elseif v.Name == "ToggleButton" then
  574. attachedArray[v.Name].Visible = true
  575. v.Position = UDim2.new(v.Position.X.Scale, v.Position.X.Offset, v.Position.Y.Scale + 0.017, v.Position.Y.Offset)
  576. if toggle == false then
  577. v.Text = "On"
  578. toggle = true
  579. else
  580. v.Text = "Off"
  581. toggle = false
  582. end
  583. wait(0.05)
  584. v.Position = UDim2.new(v.Position.X.Scale, v.Position.X.Offset, v.Position.Y.Scale - 0.017, v.Position.Y.Offset)
  585. else
  586. attachedArray[v.Name].Visible = true
  587. v.Position = UDim2.new(v.Position.X.Scale, v.Position.X.Offset, v.Position.Y.Scale + 0.026, v.Position.Y.Offset)
  588. wait(0.05)
  589. v.Position = UDim2.new(v.Position.X.Scale, v.Position.X.Offset, v.Position.Y.Scale - 0.026, v.Position.Y.Offset)
  590. end
  591. wait(1)
  592. end
  593. end)
  594. end
  595.  
  596. while wait(0.15) do
  597. if game.Players.LocalPlayer.Character.Humanoid.Sit == true then
  598. game.Players.LocalPlayer.Character.Humanoid.Sit = false
  599. end
  600. end
Add Comment
Please, Sign In to add comment