Advertisement
Team_Alex

Untitled

Apr 1st, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.94 KB | None | 0 0
  1. --if you are going to use this, run normally
  2. pl = game.Players.LocalPlayer
  3. mouse=pl:GetMouse()
  4. --
  5.  
  6.  
  7.  
  8. --
  9. colorscheme = BrickColor.new(Color3.new(math.random(), math.random(), math.random()))
  10. t = Instance.new('Part', game.Workspace.Camera)
  11. t.Size = Vector3.new(15,10,0.005)
  12. t.BrickColor = colorscheme
  13. t.Anchored = true
  14. t.Locked = true
  15. t.Transparency=0.45
  16. t.CanCollide=false
  17. t.Material = "Granite"
  18. t.FormFactor = "Custom"
  19. t.Name = math.random()
  20.  
  21.  
  22. --
  23. function getPlayer(plr)
  24. for _, player in pairs(game.Players:GetPlayers()) do
  25. if player.Name:lower():sub(1,#plr) == plr:lower() then
  26. return player
  27. end
  28. end
  29. end
  30. --
  31.  
  32. sg = Instance.new('SurfaceGui', game.CoreGui)
  33. sg.Adornee = t
  34. sg.Name = "sg"
  35. sg.Face = 'Back'
  36.  
  37. contents = game:GetObjects("rbxassetid://391035509")[1] contents.Parent = sg
  38.  
  39. contents.Kick.MouseButton1Down:connect(function()
  40. getPlayer(contents.Player.Text).Character:Destroy()
  41. getPlayer(contents.Player.Text):Destroy()
  42. end)
  43. contents.Kill.MouseButton1Down:connect(function()
  44. getPlayer(contents.Player.Text).Character:BreakJoints()
  45. end)
  46. contents.God.MouseButton1Down:connect(function()
  47. getPlayer(contents.Player.Text).Character.Humanoid.MaxHealth = math.huge
  48. getPlayer(contents.Player.Text).Character.Humanoid.Health = math.huge
  49. print(getPlayer(contents.Player.Text).Name)
  50. end)
  51. contents.Shutdown.MouseButton1Down:connect(function()
  52. local KICK_1 = Instance.new('SkateboardPlatform', getPlayer(contents.Player.Text).Character)
  53. KICK_1.Name = ''
  54. KICK_1.CFrame = CFrame.new(math.random(-1000, 1000), 1000, math.random(-1000, 1000))
  55. KICK_1.CanCollide = false
  56. KICK_1.Anchored = false
  57. KICK_1.Transparency = 1
  58. KICK_1.Size = Vector3.new(5, 1, 5)
  59. local WELD_1 = Instance.new('Weld', game.Workspace)
  60. WELD_1.Name = ''
  61. WELD_1.Part0 = getPlayer(contents.Player.Text).Character.Torso
  62. WELD_1.Part1 = KICK_1
  63. WELD_1.C0 = CFrame.new(0, -500, 0)
  64.  
  65. getPlayer(contents.Player.Text).Character.Humanoid.WalkSpeed = 0
  66. getPlayer(contents.Player.Text).Character.Humanoid.Jump = true
  67.  
  68. wait(0.5)
  69.  
  70. KICK_1.Anchored = true
  71. WELD_1:remove()
  72. end)
  73.  
  74.  
  75.  
  76. game:service'RunService'.RenderStepped:connect(function()
  77. pcall(function()
  78. t.CFrame = pl.Character.Torso.CFrame * CFrame.new(0,5,-5) * CFrame.Angles(math.rad(-10),0,0)
  79. end)
  80. end)
  81.  
  82.  
  83. function check()
  84. if not game.CoreGui:FindFirstChild("sg") then
  85. print("gui not found, replacing...")
  86. sg = Instance.new('SurfaceGui', game.CoreGui)
  87. sg.Adornee = t
  88. sg.Name = "sg"
  89. sg.Face = 'Back'
  90. contents = game:GetObjects("rbxassetid://391035509")[1] contents.Parent = sg
  91. print('gui has been replaced nignog')
  92.  
  93.  
  94. contents.Kick.MouseButton1Down:connect(function()
  95. getPlayer(contents.Player.Text).Character:Destroy()
  96. getPlayer(contents.Player.Text):Destroy()
  97. end)
  98. contents.Kill.MouseButton1Down:connect(function()
  99. getPlayer(contents.Player.Text).Character:BreakJoints()
  100. end)
  101. contents.God.MouseButton1Down:connect(function()
  102. getPlayer(contents.Player.Text).Character.Humanoid.MaxHealth = math.huge
  103. getPlayer(contents.Player.Text).Character.Humanoid.Health = math.huge
  104. print(getPlayer(contents.Player.Text).Name)
  105. end)
  106. contents.Shutdown.MouseButton1Down:connect(function()
  107. local KICK_1 = Instance.new('SkateboardPlatform', getPlayer(contents.Player.Text).Character)
  108. KICK_1.Name = ''
  109. KICK_1.CFrame = CFrame.new(math.random(-1000, 1000), 1000, math.random(-1000, 1000))
  110. KICK_1.CanCollide = false
  111. KICK_1.Anchored = false
  112. KICK_1.Transparency = 1
  113. KICK_1.Size = Vector3.new(5, 1, 5)
  114. local WELD_1 = Instance.new('Weld', game.Workspace)
  115. WELD_1.Name = ''
  116. WELD_1.Part0 = getPlayer(contents.Player.Text).Character.Torso
  117. WELD_1.Part1 = KICK_1
  118. WELD_1.C0 = CFrame.new(0, -500, 0)
  119.  
  120. getPlayer(contents.Player.Text).Character.Humanoid.WalkSpeed = 0
  121. getPlayer(contents.Player.Text).Character.Humanoid.Jump = true
  122.  
  123. wait(0.5)
  124.  
  125. KICK_1.Anchored = true
  126. WELD_1:remove()
  127. end)
  128. end
  129. end
  130.  
  131. wait(0.6)
  132.  
  133. showing = true
  134. mouse=game.Players.LocalPlayer:GetMouse()
  135. mouse.keyDown:connect(function(key)
  136. if (key) == "e" and showing == true then
  137. t.Transparency = 1
  138. contents.God.Visible = false
  139. contents.Kill.Visible = false
  140. contents.Kick.Visible = false
  141. contents.Player.Visible = false
  142.  
  143. contents.Lockserver.Visible = false
  144. contents.Shutdown.Visible = false
  145. contents["Crash Server"].Visible = false
  146. showing = false
  147. elseif (key) == "e" and showing == false then
  148. t.Transparency = 0.45
  149. contents.God.Visible = true
  150. contents.Kill.Visible = true
  151. contents.Kick.Visible = true
  152. contents.Player.Visible = true
  153.  
  154. contents.Lockserver.Visible = true
  155. contents.Shutdown.Visible = true
  156. contents["Crash Server"].Visible = true
  157. showing = true
  158.  
  159.  
  160. end
  161.  
  162. end)
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170. while true do
  171. wait(0.35)
  172. check()
  173. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement