Advertisement
Guest User

fling gui

a guest
Dec 23rd, 2019
50,816
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.37 KB | None | 1 1
  1. -- Remade Gui Of JackMcJagger15's "Fling/Kill Gui".
  2. -- Instances:
  3. local FlingGui = Instance.new("ScreenGui")
  4. local Bar1 = Instance.new("Frame")
  5. local Bar2 = Instance.new("Frame")
  6. local Main = Instance.new("Frame")
  7. local Credits = Instance.new("TextLabel")
  8. local StartKill = Instance.new("TextButton")
  9. local StopKill = Instance.new("TextButton")
  10. local Instructions = Instance.new("TextLabel")
  11. local PowerWindow = Instance.new("TextButton")
  12. local Exit = Instance.new("TextButton")
  13. local Title = Instance.new("TextLabel")
  14. local Mini = Instance.new("TextButton")
  15. local Max = Instance.new("TextButton")
  16. local Menu = Instance.new("Frame")
  17. local CurrentPower = Instance.new("TextLabel")
  18. local DownArrow = Instance.new("TextButton")
  19. local UPArrow = Instance.new("TextButton")
  20. local Recommendation = Instance.new("TextLabel")
  21. --Properties:
  22. FlingGui.Name = "FlingGui"
  23. FlingGui.Parent = game.CoreGui
  24. FlingGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  25.  
  26. Bar1.Name = "Bar1"
  27. Bar1.Parent = FlingGui
  28. Bar1.Active = true
  29. Bar1.Draggable = true
  30. Bar1.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  31. Bar1.BorderSizePixel = 0
  32. Bar1.Position = UDim2.new(0.771875024, 0, 0.331481487, 0)
  33. Bar1.Size = UDim2.new(0, 411, 0, 43)
  34.  
  35. Bar2.Name = "Bar2"
  36. Bar2.Parent = Bar1
  37. Bar2.BackgroundColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  38. Bar2.BorderSizePixel = 0
  39. Bar2.Position = UDim2.new(-0.00119751692, 0, 0.993540049, 0)
  40. Bar2.Size = UDim2.new(0, 411, 0, 9)
  41.  
  42. Main.Name = "Main"
  43. Main.Parent = Bar1
  44. Main.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  45. Main.BorderSizePixel = 0
  46. Main.Position = UDim2.new(-0.000809643941, 0, 1.20056009, 0)
  47. Main.Size = UDim2.new(0, 411, 0, 358)
  48.  
  49. Credits.Name = "Credits"
  50. Credits.Parent = Main
  51. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  52. Credits.BackgroundTransparency = 1
  53. Credits.Position = UDim2.new(-0.0024330914, 0, 0.905027986, 0)
  54. Credits.Size = UDim2.new(0, 354, 0, 34)
  55. Credits.Font = Enum.Font.GothamSemibold
  56. Credits.Text = "Gui By Aruroso, script by JackMcJagger15"
  57. Credits.TextColor3 = Color3.new(1, 1, 1)
  58. Credits.TextScaled = true
  59. Credits.TextSize = 14
  60. Credits.TextWrapped = true
  61.  
  62. StartKill.Name = "StartKill"
  63. StartKill.Parent = Main
  64. StartKill.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  65. StartKill.BorderColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  66. StartKill.BorderSizePixel = 5
  67. StartKill.Position = UDim2.new(0.175182477, 0, 0.388268143, 0)
  68. StartKill.Size = UDim2.new(0, 267, 0, 80)
  69. StartKill.Font = Enum.Font.GothamSemibold
  70. StartKill.Text = "Start Flingin!"
  71. StartKill.TextColor3 = Color3.new(1, 1, 1)
  72. StartKill.TextScaled = true
  73. StartKill.TextSize = 14
  74. StartKill.TextStrokeColor3 = Color3.new(1, 1, 1)
  75. StartKill.TextWrapped = true
  76. power = 500
  77. active = false
  78. local val = Instance.new("IntValue")
  79. val.Name = "Number"
  80. val.Parent = game.Players.LocalPlayer
  81. val.Value = 5
  82.  
  83. Exit.MouseButton1Click:connect(function()
  84. FlingGui.Enabled = false
  85. end)
  86.  
  87. StartKill.MouseButton1Click:connect(function()
  88. game:GetService('RunService').Stepped:connect(function()
  89. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  90. game.Players.LocalPlayer.Character.Head.CanCollide = false
  91. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  92. game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
  93. game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
  94. else
  95. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  96. game.Players.LocalPlayer.Character.Head.CanCollide = false
  97. game.Players.LocalPlayer.Character.UpperTorso.CanCollide = false
  98. game.Players.LocalPlayer.Character.LowerTorso.CanCollide = false
  99. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  100. end
  101. end
  102. end)
  103. wait(.1)
  104. local bambam = Instance.new("BodyThrust")
  105. bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  106. bambam.Force = Vector3.new(power,0,power)
  107. bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  108. end)
  109. StopKill.Name = "StopKill"
  110. StopKill.Parent = Main
  111. StopKill.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  112. StopKill.BorderColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  113. StopKill.BorderSizePixel = 5
  114. StopKill.Position = UDim2.new(0.238442808, 0, 0.648044705, 0)
  115. StopKill.Size = UDim2.new(0, 215, 0, 41)
  116. StopKill.Font = Enum.Font.GothamSemibold
  117. StopKill.Text = "Stop Flingin ;c"
  118. StopKill.TextColor3 = Color3.new(1, 1, 1)
  119. StopKill.TextScaled = true
  120. StopKill.TextSize = 14
  121. StopKill.TextStrokeColor3 = Color3.new(1, 1, 1)
  122. StopKill.TextWrapped = true
  123. StopKill.MouseButton1Click:connect(function()
  124. active = false
  125. game.Players.LocalPlayer.Character.HumanoidRootPart.BodyThrust:Remove()
  126. end)
  127.  
  128. Instructions.Name = "Instructions"
  129. Instructions.Parent = Main
  130. Instructions.BackgroundColor3 = Color3.new(1, 1, 1)
  131. Instructions.BackgroundTransparency = 1
  132. Instructions.Position = UDim2.new(0.068126522, 0, 0.064245902, 0)
  133. Instructions.Size = UDim2.new(0, 354, 0, 81)
  134. Instructions.Font = Enum.Font.GothamSemibold
  135. Instructions.Text = "Touch People and watch them fling off the map!"
  136. Instructions.TextColor3 = Color3.new(1, 1, 1)
  137. Instructions.TextScaled = true
  138. Instructions.TextSize = 14
  139. Instructions.TextWrapped = true
  140.  
  141. PowerWindow.Name = "PowerWindow"
  142. PowerWindow.Parent = Main
  143. PowerWindow.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  144. PowerWindow.BorderColor3 = Color3.new(0.0392157, 0.0392157, 0.0392157)
  145. PowerWindow.BorderSizePixel = 5
  146. PowerWindow.Position = UDim2.new(0.343065679, 0, 0.80726254, 0)
  147. PowerWindow.Size = UDim2.new(0, 128, 0, 41)
  148. PowerWindow.Font = Enum.Font.GothamSemibold
  149. PowerWindow.Text = "Power"
  150. PowerWindow.TextColor3 = Color3.new(1, 1, 1)
  151. PowerWindow.TextScaled = true
  152. PowerWindow.TextSize = 14
  153. PowerWindow.TextStrokeColor3 = Color3.new(1, 1, 1)
  154. PowerWindow.TextWrapped = true
  155. PowerWindow.MouseButton1Click:connect(function()
  156.  Menu.Visible = not Menu.Visible
  157. end)
  158.  
  159. Exit.Name = "Exit"
  160. Exit.Parent = Bar1
  161. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  162. Exit.BackgroundTransparency = 1
  163. Exit.BorderSizePixel = 0
  164. Exit.Position = UDim2.new(0.888804913, 0, 0, 0)
  165. Exit.Size = UDim2.new(0, 45, 0, 42)
  166. Exit.Font = Enum.Font.GothamSemibold
  167. Exit.Text = "X"
  168. Exit.TextColor3 = Color3.new(1.39216, 1.39216, 1.39216)
  169. Exit.TextScaled = true
  170. Exit.TextSize = 14
  171. Exit.TextWrapped = true
  172. Exit.MouseButton1Down:connect(function()
  173.     Bar1.Visible = false
  174.     Menu.Visible = false
  175. end)
  176.  
  177. Title.Name = "Title"
  178. Title.Parent = Bar1
  179. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  180. Title.BackgroundTransparency = 1
  181. Title.Size = UDim2.new(0, 200, 0, 35)
  182. Title.Font = Enum.Font.Antique
  183. Title.Text = "Fling Gui"
  184. Title.TextColor3 = Color3.new(1, 1, 1)
  185. Title.TextScaled = true
  186. Title.TextSize = 14
  187. Title.TextWrapped = true
  188. Title.TextXAlignment = Enum.TextXAlignment.Left
  189.  
  190. Mini.Name = "Mini"
  191. Mini.Parent = Bar1
  192. Mini.BackgroundColor3 = Color3.new(1, 0, 0)
  193. Mini.BackgroundTransparency = 1
  194. Mini.BorderSizePixel = 0
  195. Mini.Position = UDim2.new(0.779315829, 0, 0, 0)
  196. Mini.Size = UDim2.new(0, 45, 0, 42)
  197. Mini.Font = Enum.Font.GothamSemibold
  198. Mini.Text = "-"
  199. Mini.TextColor3 = Color3.new(1.39216, 1.39216, 1.39216)
  200. Mini.TextScaled = true
  201. Mini.TextSize = 14
  202. Mini.TextWrapped = true
  203. Mini.MouseButton1Down:connect(function()
  204.     Main.Visible = false
  205.     Mini.Visible = false
  206.     Max.Visible = true
  207. end)
  208.  
  209. Max.Name = "Max"
  210. Max.Parent = Bar1
  211. Max.BackgroundColor3 = Color3.new(1, 0, 0)
  212. Max.BackgroundTransparency = 1
  213. Max.BorderSizePixel = 0
  214. Max.Position = UDim2.new(0.779315829, 0, 0, 0)
  215. Max.Size = UDim2.new(0, 45, 0, 42)
  216. Max.Visible = false
  217. Max.Font = Enum.Font.GothamSemibold
  218. Max.Text = "+"
  219. Max.TextColor3 = Color3.new(1.39216, 1.39216, 1.39216)
  220. Max.TextScaled = true
  221. Max.TextSize = 14
  222. Max.TextWrapped = true
  223. Max.MouseButton1Down:connect(function()
  224.     Main.Visible = true
  225.     Mini.Visible = true
  226.     Max.Visible = false
  227. end)
  228.  
  229. Menu.Name = "Menu"
  230. Menu.Parent = Bar1
  231. Menu.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  232. Menu.BorderSizePixel = 0
  233. Menu.Position = UDim2.new(-0.681346297, 0, 0, 0)
  234. Menu.Size = UDim2.new(0, 255, 0, 409)
  235. Menu.Visible = false
  236.  
  237. CurrentPower.Name = "CurrentPower"
  238. CurrentPower.Parent = Menu
  239. CurrentPower.BackgroundColor3 = Color3.new(1, 1, 1)
  240. CurrentPower.BackgroundTransparency = 1
  241. CurrentPower.Position = UDim2.new(0.0901960805, 0, 0.105134472, 0)
  242. CurrentPower.Size = UDim2.new(0, 209, 0, 50)
  243. CurrentPower.Font = Enum.Font.GothamSemibold
  244. CurrentPower.Text = "Current Power = 5"
  245. CurrentPower.TextColor3 = Color3.new(1, 1, 1)
  246. CurrentPower.TextScaled = true
  247. CurrentPower.TextSize = 14
  248. CurrentPower.TextWrapped = true
  249.  
  250. DownArrow.Name = "DownArrow"
  251. DownArrow.Parent = Menu
  252. DownArrow.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  253. DownArrow.BorderSizePixel = 0
  254. DownArrow.Position = UDim2.new(0.0235294122, 0, 0.207823962, 0)
  255. DownArrow.Size = UDim2.new(0, 130, 0, 42)
  256. DownArrow.Font = Enum.Font.SourceSans
  257. DownArrow.Text = "<"
  258. DownArrow.TextColor3 = Color3.new(1, 1, 1)
  259. DownArrow.TextScaled = true
  260. DownArrow.TextSize = 14
  261. DownArrow.TextWrapped = true
  262. DownArrow.MouseButton1Click:connect(function()
  263. power = power - 100
  264. game.Players.LocalPlayer.Number.Value = game.Players.LocalPlayer.Number.Value - 1
  265. CurrentPower.Text = "Current Power = " .. game.Players.LocalPlayer.Number.Value
  266. end)
  267.  
  268. UPArrow.Name = "UPArrow"
  269. UPArrow.Parent = Menu
  270. UPArrow.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  271. UPArrow.BorderSizePixel = 0
  272. UPArrow.Position = UDim2.new(0.533333361, 0, 0.207823962, 0)
  273. UPArrow.Size = UDim2.new(0, 119, 0, 42)
  274. UPArrow.Font = Enum.Font.SourceSans
  275. UPArrow.Text = ">"
  276. UPArrow.TextColor3 = Color3.new(1, 1, 1)
  277. UPArrow.TextScaled = true
  278. UPArrow.TextSize = 14
  279. UPArrow.TextWrapped = true
  280. UPArrow.MouseButton1Click:connect(function()
  281. power = power + 100
  282. game.Players.LocalPlayer.Number.Value = game.Players.LocalPlayer.Number.Value + 1
  283. CurrentPower.Text = "Current Power = " .. game.Players.LocalPlayer.Number.Value
  284. end)
  285.  
  286. Recommendation.Name = "Recommendation"
  287. Recommendation.Parent = Menu
  288. Recommendation.BackgroundColor3 = Color3.new(1, 1, 1)
  289. Recommendation.BackgroundTransparency = 1
  290. Recommendation.Position = UDim2.new(0.0235294104, 0, 0.325183392, 0)
  291. Recommendation.Size = UDim2.new(0, 242, 0, 31)
  292. Recommendation.Font = Enum.Font.GothamSemibold
  293. Recommendation.Text = "(Best Power is probably 5)"
  294. Recommendation.TextColor3 = Color3.new(1, 1, 1)
  295. Recommendation.TextScaled = true
  296. Recommendation.TextSize = 14
  297. Recommendation.TextWrapped = true
  298. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement