Advertisement
MajourScripters

PointCoded's GUI For SnapGun

Mar 19th, 2016
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.32 KB | None | 0 0
  1. --[[LocalScript]]--
  2. --[[When You Lag A Player, It Lags You Too. This Is To Stop Abusers]]--
  3. Credits = [[Made by PointCoded for SnapGun, A Quick Project, Have Fun SnapGun!]]
  4. --Haz fun dudz
  5. print(Credits)
  6. local Player = game.Players.LocalPlayer
  7. local Plr = Player.Name
  8. local Statistics = [[Murphy,Fluffy]]--Murphy and only Muphy, he should be trusted with this script.
  9. local GParent = Player.PlayerGui
  10. local Mouse = Player:GetMouse() or nil
  11. local mouse = Mouse
  12.  
  13. print(Statistics)
  14. local G = Instance.new("ScreenGui",GParent)
  15. G.Name = "Gui"
  16. local F = Instance.new("Frame",G)
  17. F.BackgroundColor3 = Color3.new(0,0,0)
  18. F.BorderSizePixel = 0
  19. F.BackgroundTransparency = 0.5
  20. F.Position = UDim2.new(0.7499, 0, 0.7, 0)
  21. F.Size = UDim2.new(0.3, 0, 0.3, 0)  
  22.  
  23. local T = Instance.new("TextLabel",F)
  24. T.Text = "SnapGun's Ultimate GUI"
  25. T.TextColor3 = Color3.new(255,255,255)
  26. T.TextStrokeColor3 = Color3.new(0,0,0)
  27. T.TextStrokeTransparency = 0
  28. T.BackgroundTransparency = 1
  29. T.BorderSizePixel = 0
  30. T.Position = UDim2.new(0,108,0,15)
  31. T.Font = "SourceSansBold"
  32. T.FontSize = "Size24"
  33.  
  34. local B1 = Instance.new("TextButton",F)
  35. B1.Position = UDim2.new(0,2,0,45)
  36. B1.Text = "Donald Trump"
  37. B1.Font = "SourceSans"
  38. B1.FontSize = "Size18"
  39. B1.TextColor3 = Color3.new(255,255,255)
  40. B1.TextStrokeColor3 = Color3.new(0,0,0)
  41. B1.TextStrokeTransparency = 0
  42. B1.BackgroundTransparency = 0.7
  43. B1.BackgroundColor3 = Color3.new(0,0,0)
  44. B1.Size = UDim2.new(0,105,0,50)
  45.  
  46. B1.MouseButton1Click:connect(function()
  47.  
  48.  
  49. local p = Instance.new("Part")
  50. p.Parent = game.Workspace[Plr]
  51. p.Name = "SuicideBomb"
  52. p.Size = Vector3.new(2,2,1)
  53. p.TopSurface = 0
  54. p.BottomSurface = 0
  55. p.Locked = true
  56. p.BrickColor = BrickColor.new("Really black")
  57. local w = Instance.new("Weld")
  58. w.Parent = p.Parent
  59. w.Part0 = p
  60. w.Part1 = p.Parent.Torso
  61. w.C0 = CFrame.new(0,0,-1)
  62. local d = Instance.new("Decal")
  63. d.Parent = p
  64. d.Face = "Back"
  65. d.Texture = "http://www.roblox.com/asset/?id=356774505"
  66. Instance.new("BlockMesh").Parent = p
  67.  
  68.  
  69. function click(mouse)
  70. songname = Instance.new("Sound")
  71. songname.Parent = game.Workspace
  72. songname.SoundId = "277956568"
  73. local s = Instance.new("ParticleEmitter")
  74. s.Parent = game.Workspace[Plr].SuicideBomb
  75. s.Texture = "http://www.roblox.com/asset/?id=356774505"
  76. wait(3)
  77. local e = Instance.new("Explosion")
  78. e.Parent = game.Workspace
  79. e.BlastPressure = 100000
  80. e.BlastRadius = 15
  81. e.Position = game.Workspace[Plr].SuicideBomb.Position
  82. end
  83. mouse.Button1Down:connect(function () click(mouse) end)
  84. print("Injected")
  85. end)
  86.  
  87. local B2 = Instance.new("TextButton",F)
  88. B2.Position = UDim2.new(0,109,0,45)
  89. B2.Text = "Orb"
  90. B2.Font = "SourceSans"
  91. B2.FontSize = "Size18"
  92. B2.TextColor3 = Color3.new(255,255,255)
  93. B2.Size = UDim2.new(0,105,0,50)
  94. B2.TextStrokeColor3 = Color3.new(0,0,0)
  95. B2.TextStrokeTransparency = 0
  96. B2.BackgroundTransparency = 0.7
  97. B2.BackgroundColor3 = Color3.new(0,0,0)
  98. B2.MouseButton1Click:connect(function()
  99.  
  100. game.Lighting.TimeOfDay = "01:00:00"
  101. me = workspace[Plr]
  102. speed = "0.04"
  103. dis = "7"
  104. orb=Instance.new('Part',workspace[Plr])
  105. orb.Shape = "Ball"
  106. orb.Size = Vector3.new(1,1,1)
  107. orb.BrickColor = BrickColor.new'Royal purple'
  108. orb.Anchored = true
  109. orb.Material = "Neon"
  110. orb.CanCollide = false
  111. i = Instance.new('StringValue',nil)
  112. i.Value = '0'
  113.  
  114. game:GetService('RunService').Stepped:connect(function()
  115. i.Value = i.Value + speed
  116. orb.CFrame = me.Torso.CFrame * CFrame.Angles(math.sin(i.Value),math.abs(i.Value),math.abs(i.Value)) * CFrame.new(0,0,-dis)
  117. orbpath=Instance.new('Part',orb)
  118. orbpath.Anchored = true
  119. orbpath.FormFactor = "Custom"
  120. orbpath.BrickColor = BrickColor.Random("Really red","New Yeller","Cyan","Lime green","Really black","Really black")
  121. orbpath.Transparency = 0.7
  122. orbpath.Material = "Neon"
  123. orbpath.CanCollide = false
  124. orb.BrickColor = BrickColor.Random("Really red","Institutional white","Really black","Cyan","Really black","Really black","Cyan")
  125. orbpath.Size = Vector3.new(0.5,0.5,0.5)
  126. orbpath.CFrame = orb.CFrame
  127. game.Debris:AddItem(orbpath,0.5)
  128.  
  129. end)
  130.  
  131.  
  132. print("Injected")
  133. end)
  134.  
  135. local B3 = Instance.new("TextButton",F)
  136. B3.Position = UDim2.new(0,216,0,45)
  137. B3.Text = "BillboardGui"
  138. B3.Font = "SourceSans"
  139. B3.FontSize = "Size18"
  140. B3.TextColor3 = Color3.new(255,255,255)
  141. B3.TextStrokeColor3 = Color3.new(0,0,0)
  142. B3.TextStrokeTransparency = 0
  143. B3.BackgroundTransparency = 0.7
  144. B3.BackgroundColor3 = Color3.new(0,0,0)
  145. B3.Size = UDim2.new(0,105,0,50)
  146. B3.MouseButton1Click:connect(function()
  147.  
  148. local me = game.Workspace[Plr]
  149. gui=Instance.new("BillboardGui")
  150. gui.Parent=me.Head
  151. gui.AlwaysOnTop = false
  152. gui.Adornee=me.Head
  153. gui.Size=UDim2.new(0.7,0,0.7,0)
  154. gui.StudsOffset=Vector3.new(0,1.5,0)
  155. image=Instance.new("ImageLabel")
  156. image.Size=UDim2.new(4,0,4,0)
  157. image.Position=UDim2.new(-1.5,0,0,0)
  158. image.BackgroundTransparency = 1
  159. image.Parent=gui
  160. image.Image = "http://www.roblox.com/asset/?id=356774505"
  161. epic = me
  162. torso = epic.Torso
  163. head = epic.Head
  164. leftarm = epic["Left Arm"]
  165. rightarm = epic["Right Arm"]
  166. leftleg = epic["Left Leg"]
  167. rightleg = epic["Right Leg"]
  168. leftleg.Transparency = 0.0000001
  169. rightleg.Transparency = 0.0000001
  170. head.Transparency = 999
  171. rightarm.Transparency = 0.0000001
  172. leftarm.Transparency = 0.0000001
  173. torso.Transparency = 0.0000001
  174.  
  175.  
  176. print("Injected")
  177. end)
  178.  
  179. local B4 = Instance.new("TextButton",F)
  180. B4.Position = UDim2.new(0,2,0,97)
  181. B4.Text = "Pyramid"
  182. B4.Font = "SourceSans"
  183. B4.FontSize = "Size18"
  184. B4.TextColor3 = Color3.new(255,255,255)
  185. B4.TextStrokeColor3 = Color3.new(0,0,0)
  186. B4.TextStrokeTransparency = 0
  187. B4.BackgroundTransparency = 0.7
  188. B4.BackgroundColor3 = Color3.new(0,0,0)
  189. B4.Size = UDim2.new(0,105,0,50)
  190. B4.MouseButton1Click:connect(function()
  191.  
  192. house0 = Instance.new("Part",game.Workspace.Terrain)
  193. house0.Size = Vector3.new(50,1,50)
  194. house0.Anchored = true
  195. house0.BrickColor = BrickColor.new'Really red'
  196. wait(1)
  197. house1 = Instance.new("Part",game.Workspace.Terrain)
  198. house1.Size = Vector3.new(45,1,45)
  199. house1.Anchored = true
  200. house1.BrickColor = BrickColor.new'Really red'
  201. wait(1)
  202. house2 = Instance.new("Part",game.Workspace.Terrain)
  203. house2.Size = Vector3.new(40,1,40)
  204. house2.Anchored = true
  205. house2.BrickColor = BrickColor.new'Really red'
  206. wait(1)
  207. house3 = Instance.new("Part",game.Workspace.Terrain)
  208. house3.Size = Vector3.new(35,1,35)
  209. house3.Anchored = true
  210. house3.BrickColor = BrickColor.new'Really red'
  211. wait(1)
  212. house4 = Instance.new("Part",game.Workspace.Terrain)
  213. house4.Size = Vector3.new(30,1,30)
  214. house4.Anchored = true
  215. house4.BrickColor = BrickColor.new'Really red'
  216. wait(1)
  217. house5 = Instance.new("Part",game.Workspace.Terrain)
  218. house5.Size = Vector3.new(25,1,25)
  219. house5.Anchored = true
  220. house5.BrickColor = BrickColor.new'Really red'
  221. wait(1)
  222. house6 = Instance.new("Part",game.Workspace.Terrain)
  223. house6.Size = Vector3.new(20,1,20)
  224. house6.Anchored = true
  225. house6.BrickColor = BrickColor.new'Really red'
  226. wait(1)
  227. house6 = Instance.new("Part",game.Workspace.Terrain)
  228. house6.Size = Vector3.new(15,1,15)
  229. house6.Anchored = true
  230. house6.BrickColor = BrickColor.new'Really red'
  231. wait(1)
  232. house7 = Instance.new("Part",game.Workspace.Terrain)
  233. house7.Size = Vector3.new(10,1,10)
  234. house7.Anchored = true
  235. house7.BrickColor = BrickColor.new'Really red'
  236. wait(1)
  237. house8 = Instance.new("Part",game.Workspace.Terrain)
  238. house8.Size = Vector3.new(5,1,5)
  239. house8.Anchored = true
  240. house8.BrickColor = BrickColor.new'Really red'
  241. wait(1)
  242. house9 = Instance.new("Part",game.Workspace.Terrain)
  243. house9.Size = Vector3.new(3,1,3)
  244. house9.Anchored = true
  245. house9.BrickColor = BrickColor.new'Really red'
  246.  
  247. print("Injected")
  248. end)
  249.  
  250.  
  251. local B5 = Instance.new("TextButton",F)
  252. B5.Position = UDim2.new(0,109,0,97)
  253. B5.Text = "Music"
  254. B5.Font = "SourceSans"
  255. B5.FontSize = "Size18"
  256. B5.TextColor3 = Color3.new(255,255,255)
  257. B5.Size = UDim2.new(0,105,0,50)
  258. B5.TextStrokeColor3 = Color3.new(0,0,0)
  259. B5.TextStrokeTransparency = 0
  260. B5.BackgroundTransparency = 0.7
  261. B5.BackgroundColor3 = Color3.new(0,0,0)
  262. B5.MouseButton1Click:connect(function()
  263. if game.Workspace:FindFirstChild("Sound") == nil then
  264. local s = Instance.new("Sound")
  265.  
  266. s.Name = "Sound"
  267. s.SoundId = "http://www.roblox.com/asset?id=345715707"
  268. s.Volume = 3
  269. s.Looped = true
  270. s.archivable = false
  271.  
  272. s.Parent = game.Workspace
  273.  
  274. wait(0)
  275.  
  276. s:play()
  277.  
  278. end
  279. print("Injected")
  280. end)
  281.  
  282. local Textbox = Instance.new("TextBox",F)
  283. Textbox.Position = UDim2.new(0,0,-0.235)
  284. Textbox.Size = UDim2.new(0,200,0,50)
  285. Textbox.BackgroundTransparency = 0.1
  286. Textbox.BackgroundColor3 = Color3.new(0,0,0)
  287. Textbox.TextColor3 = Color3.new(255,255,255)
  288. Textbox.TextStrokeColor3 = Color3.new(0,0,0)
  289. Textbox.Font = "SourceSansBold"
  290. Textbox.FontSize = "Size18"
  291. Textbox.Text = "PlayerName"
  292.  
  293. local B6 = Instance.new("TextButton",F)
  294. B6.Position = UDim2.new(0,216,0,97)
  295. B6.Text = "Lag Player"
  296. B6.Font = "SourceSans"
  297. B6.FontSize = "Size18"
  298. B6.TextColor3 = Color3.new(255,255,255)
  299. B6.TextStrokeColor3 = Color3.new(0,0,0)
  300. B6.TextStrokeTransparency = 0
  301. B6.BackgroundTransparency = 0.7
  302. B6.BackgroundColor3 = Color3.new(0,0,0)
  303. B6.Size = UDim2.new(0,105,0,50)
  304. B6.MouseButton1Click:connect(function()
  305. local LagEffected = Textbox.Text
  306. if game.Players:FindFirstChild(LagEffected) ~= nil then
  307. local LagPerson = game.Players[LagEffected]
  308. local PChar = LagPerson.Character
  309. PChar.Torso.CFrame = CFrame.new(PChar.Torso.CFrame.X,PChar.Torso.CFrame.Y + 100000, PChar.Torso.CFrame.Z + 10000)--So that the player isnt seen by others meaning others dont get lagged
  310. PChar.Torso.Anchored = true
  311. while true do
  312. if PChar ~=nil then
  313. for i = 1, 29 do
  314. Instance.new("Humanoid",PChar)
  315. Instance.new("Humanoid",PChar)
  316. Instance.new("Humanoid",PChar)
  317. Instance.new("Humanoid",PChar)
  318. Instance.new("Humanoid",PChar)
  319. Instance.new("Humanoid",PChar)
  320. Instance.new("Humanoid",PChar)
  321. Instance.new("Humanoid",PChar)
  322. Instance.new("Humanoid",PChar)
  323. Instance.new("Humanoid",PChar)
  324. Instance.new("Smoke",PChar.Torso)
  325. Instance.new("Smoke",PChar.Torso)
  326. Instance.new("Smoke",PChar.Torso)
  327. Instance.new("ForceField",PChar)
  328. Instance.new("ForceField",PChar)
  329. Instance.new("ForceField",PChar)
  330. Instance.new("Tool",LagPerson.Backpack)
  331. Instance.new("Tool",LagPerson.Backpack)
  332. Instance.new("Tool",LagPerson.Backpack)
  333. Instance.new("HopperBin",LagPerson.Backpack)
  334. Instance.new("HopperBin",LagPerson.Backpack)
  335. Instance.new("HopperBin",LagPerson.Backpack)
  336. Instance.new("Explosion",LagPerson.Backpack)
  337. Instance.new("Explosion",LagPerson.Backpack)
  338. Instance.new("Explosion",LagPerson.Backpack)
  339. Instance.new("Explosion",LagPerson.Backpack)
  340. end
  341. wait()
  342. end
  343. end
  344. end
  345. print("Injected")
  346. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement