ColaKazi

Spinning Script

Jan 21st, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.83 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 Instructions = Instance.new("TextLabel")
  9. local CurrentPower = Instance.new("TextLabel")
  10. local Recomendation = Instance.new("TextLabel")
  11. local NameOfGui = Instance.new("TextLabel")
  12. local Exit = Instance.new("TextButton")
  13. local UPArrow = Instance.new("TextButton")
  14. local DownArrow = Instance.new("TextButton")
  15.  
  16. -- Properties
  17.  
  18. FlingKill.Name = "Fling/Kill"
  19. FlingKill.Parent = game.CoreGui
  20.  
  21. Main.Name = "Main"
  22. Main.Parent = FlingKill
  23. Main.BackgroundColor3 = Color3.new(0.92549, 0.941177, 0.945098)
  24. Main.BorderSizePixel = 0
  25. Main.Position = UDim2.new(0.702554762, 0, 0.446640313, 0)
  26. Main.Size = UDim2.new(0, 217, 0, 233)
  27. Main.Selectable = true
  28. Main.Active = true
  29. Main.Draggable = true
  30.  
  31. Label.Name = "Label"
  32. Label.Parent = Main
  33. Label.BackgroundColor3 = Color3.new(0.741176, 0.764706, 0.780392)
  34. Label.BorderSizePixel = 0
  35. Label.Size = UDim2.new(0, 217, 0, 27)
  36.  
  37. Shadow.Name = "Shadow"
  38. Shadow.Parent = Main
  39. Shadow.BackgroundColor3 = Color3.new(0.67451, 0.694118, 0.705882)
  40. Shadow.BorderSizePixel = 0
  41. Shadow.Position = UDim2.new(0, 0, 0.115879826, 0)
  42. Shadow.Size = UDim2.new(0, 217, 0, 9)
  43.  
  44. StartKill.Name = "StartKill"
  45. StartKill.Parent = Main
  46. StartKill.BackgroundColor3 = Color3.new(0.741176, 0.764706, 0.780392)
  47. StartKill.BorderSizePixel = 0
  48. StartKill.Position = UDim2.new(0.195852548, 0, 0.227467805, 0)
  49. StartKill.Size = UDim2.new(0, 126, 0, 23)
  50. StartKill.Font = Enum.Font.Cartoon
  51. StartKill.Text = "FE Kill/Fling"
  52. StartKill.TextColor3 = Color3.new(0, 0, 0)
  53. StartKill.TextSize = 14
  54.  
  55. StopKill.Name = "StopKill"
  56. StopKill.Parent = Main
  57. StopKill.BackgroundColor3 = Color3.new(0.741176, 0.764706, 0.780392)
  58. StopKill.BorderSizePixel = 0
  59. StopKill.Position = UDim2.new(0.207373276, 0, 0.38197428, 0)
  60. StopKill.Size = UDim2.new(0, 124, 0, 23)
  61. StopKill.Font = Enum.Font.Cartoon
  62. StopKill.Text = "Stop FE Kill/Fling"
  63. StopKill.TextColor3 = Color3.new(0, 0, 0)
  64. StopKill.TextSize = 14
  65.  
  66. Instructions.Name = "Instructions"
  67. Instructions.Parent = Main
  68. Instructions.BackgroundColor3 = Color3.new(1, 1, 1)
  69. Instructions.BackgroundTransparency = 1
  70. Instructions.Position = UDim2.new(0.0391705073, 0, 0.549356222, 0)
  71. Instructions.Size = UDim2.new(0, 200, 0, 32)
  72. Instructions.Font = Enum.Font.Cartoon
  73. Instructions.Text = "Just touch someone to watch the fly to their death!"
  74. Instructions.TextColor3 = Color3.new(0, 0, 0)
  75. Instructions.TextSize = 14
  76. Instructions.TextWrapped = true
  77.  
  78. CurrentPower.Name = "CurrentPower"
  79. CurrentPower.Parent = Main
  80. CurrentPower.BackgroundColor3 = Color3.new(1, 1, 1)
  81. CurrentPower.BackgroundTransparency = 1
  82. CurrentPower.Position = UDim2.new(0.276497692, 0, 0.686695278, 0)
  83. CurrentPower.Size = UDim2.new(0, 98, 0, 36)
  84. CurrentPower.Font = Enum.Font.Cartoon
  85. CurrentPower.Text = "Current Power = 5"
  86. CurrentPower.TextColor3 = Color3.new(0, 0, 0)
  87. CurrentPower.TextSize = 14
  88.  
  89. Recomendation.Name = "Recomendation"
  90. Recomendation.Parent = Main
  91. Recomendation.BackgroundColor3 = Color3.new(1, 1, 1)
  92. Recomendation.BackgroundTransparency = 1
  93. Recomendation.Position = UDim2.new(0.0414746553, 0, 0.884120166, 0)
  94. Recomendation.Size = UDim2.new(0, 200, 0, 21)
  95. Recomendation.Font = Enum.Font.Cartoon
  96. Recomendation.Text = "Recommended Power is 5"
  97. Recomendation.TextColor3 = Color3.new(0, 0, 0)
  98. Recomendation.TextSize = 14
  99.  
  100. NameOfGui.Name = "NameOfGui"
  101. NameOfGui.Parent = Main
  102. NameOfGui.BackgroundColor3 = Color3.new(1, 1, 1)
  103. NameOfGui.BackgroundTransparency = 1
  104. NameOfGui.Position = UDim2.new(0.0806451589, 0, 0, 0)
  105. NameOfGui.Size = UDim2.new(0, 154, 0, 27)
  106. NameOfGui.Font = Enum.Font.Cartoon
  107. NameOfGui.Text = "FE Kill/Fling By JackMcJagger15"
  108. NameOfGui.TextColor3 = Color3.new(0, 0, 0)
  109. NameOfGui.TextSize = 14
  110.  
  111. Exit.Name = "Exit"
  112. Exit.Parent = Main
  113. Exit.BackgroundColor3 = Color3.new(1, 1, 1)
  114. Exit.BackgroundTransparency = 1
  115. Exit.Position = UDim2.new(0.907834113, 0, 0, 0)
  116. Exit.Size = UDim2.new(0, 20, 0, 27)
  117. Exit.Font = Enum.Font.Cartoon
  118. Exit.Text = "X"
  119. Exit.TextColor3 = Color3.new(0, 0, 0)
  120. Exit.TextSize = 14
  121.  
  122. UPArrow.Name = "UPArrow"
  123. UPArrow.Parent = Main
  124. UPArrow.BackgroundColor3 = Color3.new(1, 1, 1)
  125. UPArrow.BackgroundTransparency = 1
  126. UPArrow.Position = UDim2.new(0.0783410147, 0, 0.716738224, 0)
  127. UPArrow.Size = UDim2.new(0, 26, 0, 23)
  128. UPArrow.Font = Enum.Font.Cartoon
  129. UPArrow.Text = "Up"
  130. UPArrow.TextColor3 = Color3.new(0, 0, 0)
  131. UPArrow.TextSize = 12
  132. UPArrow.TextWrapped = true
  133.  
  134. DownArrow.Name = "DownArrow"
  135. DownArrow.Parent = Main
  136. DownArrow.BackgroundColor3 = Color3.new(1, 1, 1)
  137. DownArrow.BackgroundTransparency = 1
  138. DownArrow.Position = UDim2.new(0.792626739, 0, 0.714592278, 0)
  139. DownArrow.Size = UDim2.new(0, 26, 0, 23)
  140. DownArrow.Font = Enum.Font.Cartoon
  141. DownArrow.Text = "Down"
  142. DownArrow.TextColor3 = Color3.new(0, 0, 0)
  143. DownArrow.TextSize = 12
  144. DownArrow.TextWrapped = true
  145.  
  146. power = 500
  147. active = false
  148. local val = Instance.new("IntValue")
  149. val.Name = "Number"
  150. val.Parent = game.Players.LocalPlayer
  151. val.Value = 5
  152.  
  153. Exit.MouseButton1Click:connect(function()
  154. FlingKill.Enabled = false
  155. end)
  156.  
  157. StartKill.MouseButton1Click:connect(function()
  158. game:GetService('RunService').Stepped:connect(function()
  159. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  160. game.Players.LocalPlayer.Character.Head.CanCollide = false
  161. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  162. game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
  163. game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
  164. else
  165. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  166. game.Players.LocalPlayer.Character.Head.CanCollide = false
  167. game.Players.LocalPlayer.Character.UpperTorso.CanCollide = false
  168. game.Players.LocalPlayer.Character.LowerTorso.CanCollide = false
  169. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  170. end
  171. end
  172. end)
  173. wait(.1)
  174. local bambam = Instance.new("BodyThrust")
  175. bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  176. bambam.Force = Vector3.new(power,0,power)
  177. bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  178. end)
  179.  
  180. StopKill.MouseButton1Click:connect(function()
  181. active = false
  182. game.Players.LocalPlayer.Character.HumanoidRootPart.BodyThrust:Remove()
  183. end)
  184.  
  185. UPArrow.MouseButton1Click:connect(function()
  186. power = power + 100
  187. game.Players.LocalPlayer.Number.Value = game.Players.LocalPlayer.Number.Value + 1
  188. CurrentPower.Text = "Current Power = " .. game.Players.LocalPlayer.Number.Value
  189. end)
  190.  
  191. DownArrow.MouseButton1Click:connect(function()
  192. power = power - 100
  193. game.Players.LocalPlayer.Number.Value = game.Players.LocalPlayer.Number.Value - 1
  194. CurrentPower.Text = "Current Power = " .. game.Players.LocalPlayer.Number.Value
  195. end)
Add Comment
Please, Sign In to add comment