pklo

Untitled

Mar 16th, 2016
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.07 KB | None | 0 0
  1. servertrollguiv1 = Instance.new("ScreenGui")
  2. servertrollguiv1.Parent = game.Players.LocalPlayer.PlayerGui
  3. servertrollguiv1.Name = ("Server Troll Gui V1")
  4.  
  5. interface = Instance.new("Frame")
  6. interface.Parent = servertrollguiv1
  7. interface.Name = ("Interface")
  8. interface.BackgroundTransparency = 1
  9. interface.Visible = false
  10.  
  11. showgui = Instance.new("TextButton")
  12. showgui.Parent = servertrollguiv1
  13. showgui.Position = UDim2.new(0, 0, 0, 545)
  14. showgui.Size = UDim2.new(0, 100, 0, 20)
  15. showgui.Name = ("Show Gui")
  16. showgui.Text = ("Show")
  17. showgui.TextColor3 = Color3.new(0/255, 0/255, 0/255)
  18. showgui.Font = ("SourceSans")
  19. showgui.FontSize = ("Size14")
  20. showgui.BackgroundColor3 = Color3.new(85/255, 255/255, 0/255)
  21.  
  22. function showguiClick()
  23. if interface.Visible == false then
  24. showgui.Text = ("Hide")
  25. interface.Visible = true else
  26. showgui.Text = ("Show")
  27. interface.Visible = false
  28. end
  29. end
  30.  
  31. showgui.MouseButton1Down:connect(showguiClick)
  32.  
  33. setskybox = Instance.new("TextButton")
  34. setskybox.Parent = interface
  35. setskybox.Name = ("Set Skybox")
  36. setskybox.BackgroundColor3 = Color3.new(255/255, 0/255, 0/255)
  37. setskybox.Position = UDim2.new(0, 0, 0, 524)
  38. setskybox.Size = UDim2.new(0, 100, 0, 20)
  39. setskybox.Text = ("Set Skybox")
  40. setskybox.Font = ("SourceSans")
  41. setskybox.FontSize = ("Size14")
  42. setskybox.TextColor3 = Color3.new(0/255, 0/255, 0/255)
  43.  
  44. function setskyboxClick()
  45. s = Instance.new("Sky")
  46. s.Name = "Sky"
  47. s.SkyboxBk = "http://www.roblox.com/asset/?id=142285971"
  48. s.SkyboxDn = "http://www.roblox.com/asset/?id=142285971"
  49. s.SkyboxFt = "http://www.roblox.com/asset/?id=142285971"
  50. s.SkyboxLf = "http://www.roblox.com/asset/?id=142285971"
  51. s.SkyboxRt = "http://www.roblox.com/asset/?id=142285971"
  52. s.SkyboxUp = "http://www.roblox.com/asset/?id=142285971"
  53. s.Parent = game.Lighting
  54. game.Lighting.TimeOfDay = 12
  55. end
  56.  
  57. setskybox.MouseButton1Down:connect(setskyboxClick)
  58.  
  59. clearterrain = Instance.new("TextButton")
  60. clearterrain.Parent = interface
  61. clearterrain.Name = ("Clear Terrain")
  62. clearterrain.BackgroundColor3 = Color3.new(255/255, 0/255, 0/255)
  63. clearterrain.Position = UDim2.new(0, 0, 0, 503)
  64. clearterrain.Size = UDim2.new(0, 100, 0, 20)
  65. clearterrain.Text = ("Clear Terrain")
  66. clearterrain.Font = ("SourceSans")
  67. clearterrain.FontSize = ("Size14")
  68. clearterrain.TextColor3 = Color3.new(0/255, 0/255, 0/255)
  69.  
  70. function clearterrainClick()
  71. game.Workspace.Terrain:Clear()
  72. end
  73.  
  74. clearterrain.MouseButton1Down:connect(clearterrainClick)
  75.  
  76. unanchorall = Instance.new("TextButton")
  77. unanchorall.Parent = interface
  78. unanchorall.Name = ("Unanchor All")
  79. unanchorall.BackgroundColor3 = Color3.new(255/255, 0/255, 0/255)
  80. unanchorall.Position = UDim2.new(0, 0, 0, 482)
  81. unanchorall.Size = UDim2.new(0, 100, 0, 20)
  82. unanchorall.Text = ("Unanchor All")
  83. unanchorall.Font = ("SourceSans")
  84. unanchorall.FontSize = ("Size14")
  85. unanchorall.TextColor3 = Color3.new(0/255, 0/255, 0/255)
  86.  
  87. function unanchorallClick()
  88. g = game.Workspace:GetChildren () do
  89. for i = 1, #g do
  90. if g[i].ClassName == "Part" then
  91. g[i].Anchored = false else if
  92. g[i].ClassName == "Model" then
  93. y = g[i]:GetChildren ()
  94. for i = 1, #y do
  95. if y[i].ClassName == "Part" then
  96. y[i].Anchored = false
  97. end
  98. end
  99. end
  100. end
  101. end
  102. end
  103. end
  104.  
  105. unanchorall.MouseButton1Down:connect(unanchorallClick)
  106.  
  107. createbaseplate = Instance.new("TextButton")
  108. createbaseplate.Parent = interface
  109. createbaseplate.Name = ("Create Baseplate")
  110. createbaseplate.BackgroundColor3 = Color3.new(255/255, 0/255, 0/255)
  111. createbaseplate.Position = UDim2.new(0, 0, 0, 461)
  112. createbaseplate.Size = UDim2.new(0, 100, 0, 20)
  113. createbaseplate.Text = ("Create Baseplate")
  114. createbaseplate.Font = ("SourceSans")
  115. createbaseplate.FontSize = ("Size14")
  116. createbaseplate.TextColor3 = Color3.new(0/255, 0/255, 0/255)
  117.  
  118. function createbaseplateClick()
  119. local pt = Instance.new("Part")
  120. pt.BrickColor = BrickColor.new("Silver")
  121. pt.Anchored = true
  122. pt.CanCollide = true
  123. pt.BottomSurface = "Weld"
  124. pt.Parent = workspace
  125. pt.Name = "yolo"
  126. pt.Size = Vector3.new(1000, 1, 1000)
  127. end
  128.  
  129. createbaseplate.MouseButton1Down:connect(createbaseplateClick)
  130.  
  131. killall = Instance.new("TextButton")
  132. killall.Parent = interface
  133. killall.Name = ("Kill All")
  134. killall.BackgroundColor3 = Color3.new(255/255, 0/255, 0/255)
  135. killall.Position = UDim2.new(0, 0, 0, 440)
  136. killall.Size = UDim2.new(0, 100, 0, 20)
  137. killall.Text = ("Kill All")
  138. killall.Font = ("SourceSans")
  139. killall.FontSize = ("Size14")
  140. killall.TextColor3 = Color3.new(0/255, 0/255, 0/255)
  141.  
  142. function killallClick()
  143. for i,v in pairs(game.Players:GetChildren()) do
  144. v.Character.Humanoid.Health = 0
  145. end
  146. end
  147.  
  148. killall.MouseButton1Down:connect(killallClick)
  149.  
  150. kickall = Instance.new("TextButton")
  151. kickall.Parent = interface
  152. kickall.Name = ("Kick All")
  153. kickall.BackgroundColor3 = Color3.new(255/255, 0/255, 0/255)
  154. kickall.Position = UDim2.new(0, 0, 0, 419)
  155. kickall.Size = UDim2.new(0, 100, 0, 20)
  156. kickall.Text = ("Kick All")
  157. kickall.Font = ("SourceSans")
  158. kickall.FontSize = ("Size14")
  159. kickall.TextColor3 = Color3.new(0/255, 0/255, 0/255)
  160.  
  161. function kickallClick()
  162. for i,v in pairs(game.Players:GetChildren()) do
  163. v:Remove()
  164. end
  165. end
  166.  
  167. kickall.MouseButton1Down:connect(kickallClick)
  168.  
  169. removeadmin = Instance.new("TextButton")
  170. removeadmin.Parent = interface
  171. removeadmin.Name = ("Remove Admin")
  172. removeadmin.BackgroundColor3 = Color3.new(255/255, 0/255, 0/255)
  173. removeadmin.Position = UDim2.new(0, 0, 0, 398)
  174. removeadmin.Size = UDim2.new(0, 100, 0, 20)
  175. removeadmin.Text = ("Remove Admin")
  176. removeadmin.Font = ("SourceSans")
  177. removeadmin.FontSize = ("Size14")
  178. removeadmin.TextColor3 = Color3.new(0/255, 0/255, 0/255)
  179.  
  180. function removeadminClick()
  181. game.Workspace["Kohl's Admin Commands V2"]:Destroy()
  182. end
  183.  
  184. removeadmin.MouseButton1Down:connect(removeadminClick)
  185.  
  186. apoctroll = Instance.new("TextButton")
  187. apoctroll.Parent = interface
  188. apoctroll.Name = ("Apoc Troll")
  189. apoctroll.BackgroundColor3 = Color3.new(255/255, 0/255, 0/255)
  190. apoctroll.Position = UDim2.new(0, 0, 0, 377)
  191. apoctroll.Size = UDim2.new(0, 100, 0, 20)
  192. apoctroll.Text = ("Apoc Troll")
  193. apoctroll.Font = ("SourceSans")
  194. apoctroll.FontSize = ("Size14")
  195. apoctroll.TextColor3 = Color3.new(0/255, 0/255, 0/255)
  196.  
  197. function apoctrollClick()
  198. ds = CFrame.new(game.Players.LocalPlayer.Character.Head.Position)
  199. wait()
  200. for i,v in pairs(game.Players:GetChildren()) do
  201. if v.Name == game.Players.LocalPlayer.Name then
  202. else
  203. v.Character.Torso.CFrame = ds * CFrame.new(math.random(0,50),0,math.random(0,50))
  204. v.Character:BreakJoints()
  205. end
  206. end
  207. end
  208.  
  209. apoctroll.MouseButton1Down:connect(apoctrollClick)
  210.  
  211. brickspam = Instance.new("TextButton")
  212. brickspam.Parent = interface
  213. brickspam.Name = ("Brick Spam")
  214. brickspam.BackgroundColor3 = Color3.new(255/255, 0/255, 0/255)
  215. brickspam.Position = UDim2.new(0, 0, 0, 356)
  216. brickspam.Size = UDim2.new(0, 100, 0, 20)
  217. brickspam.Text = ("Brick Spam")
  218. brickspam.Font = ("SourceSans")
  219. brickspam.FontSize = ("Size14")
  220. brickspam.TextColor3 = Color3.new(0/255, 0/255, 0/255)
  221.  
  222. function brickspamClick()
  223. local brick = Instance.new("Part")
  224. while true do
  225. local b = brick:clone()
  226. b.Parent = game.Workspace
  227. if game.Workspace.c00lkidd ~= nil then
  228. local mainpos = game.Workspace.c00lkidd.Head.Position
  229. b.Position = Vector3.new(mainpos.x, mainpos.y +3, mainpos.z)
  230. wait()
  231. end
  232. end
  233. end
  234.  
  235. brickspam.MouseButton1Down:connect(brickspamClick)
  236.  
  237. kickgui = Instance.new("TextButton")
  238. kickgui.Parent = interface
  239. kickgui.Name = ("Kick Gui")
  240. kickgui.BackgroundColor3 = Color3.new(255/255, 0/255, 0/255)
  241. kickgui.Position = UDim2.new(0, 0, 0, 335)
  242. kickgui.Size = UDim2.new(0, 100, 0, 20)
  243. kickgui.Text = ("Kick Gui")
  244. kickgui.Font = ("SourceSans")
  245. kickgui.FontSize = ("Size14")
  246. kickgui.TextColor3 = Color3.new(0/255, 0/255, 0/255)
  247.  
  248. function kickguiClick()
  249. me = game.Players.LocalPlayer
  250. gui = Instance.new("ScreenGui")
  251. gui.Parent = me.PlayerGui
  252. gui.Name = "Kick"
  253.  
  254. pos = 135
  255. pos2 = 10
  256. pos3 = 0
  257.  
  258. enabled = false
  259.  
  260. button = Instance.new("TextButton")
  261. button.Parent = gui
  262. button.Size = UDim2.new(0, 100, 0, 30)
  263. button.Position = UDim2.new(0, 8, 0, pos)
  264. button.Text = "Kick"
  265. button.MouseButton1Click:connect(function()
  266. if enabled == false then
  267. enabled = true
  268. local a = game.Players:GetChildren()
  269. red = 0
  270. green = 0.5
  271. blue = 0
  272. for i=1, #a do
  273. wait()
  274. pos2 = pos2 + 23
  275. if pos2 >= 450 then
  276. pos3 = pos3 + 103
  277. pos2 = 33
  278. end
  279. if green <= 0.9 then
  280. green = green + 0.46
  281. elseif green >= 0.9 then
  282. green = green - 0.46
  283. end
  284. local bu = Instance.new("TextButton")
  285. bu.Parent = button
  286. bu.Size = UDim2.new(0, 100, 0, 20)
  287. bu.Position = UDim2.new(0, pos3, 0, pos2)
  288. bu.Text = a[i].Name
  289. bu.BackgroundTransparency = 1
  290. bu.TextTransparency = 1
  291. bu.BackgroundColor3 = Color3.new(red,green,blue)
  292. coroutine.resume(coroutine.create(function()
  293. for i=1, 3 do
  294. wait()
  295. bu.BackgroundTransparency = bu.BackgroundTransparency - 0.34
  296. bu.TextTransparency = bu.BackgroundTransparency
  297. end
  298. end))
  299. bu.MouseButton1Down:connect(function()
  300. local play = game.Players:findFirstChild(bu.Text)
  301. if play ~= nil then
  302. play:remove()
  303. bu:remove()
  304. end
  305. end)
  306. end
  307. elseif enabled == true then
  308. enabled = false
  309. pos2 = 10
  310. pos3 = 0
  311. local o = button:GetChildren()
  312. for i=1, #o do
  313. wait()
  314. o[i]:remove()
  315. end
  316. end
  317. end)
  318. end
  319.  
  320. kickgui.MouseButton1Down:connect(kickguiClick)
Add Comment
Please, Sign In to add comment