My admin v12 New Beta


SUBMITTED BY: RandomAnimz

DATE: March 23, 2017, 12:55 a.m.

FORMAT: Text only

SIZE: 7.7 kB

HITS: 691

  1. --Takeshi's admin
  2. function GET_PLAYER(NAME, plr)
  3. local gPlayers = game:GetService("Players")
  4. local NAME_TABLE = {}
  5. NAME = NAME:lower()
  6. if NAME ~= "all" then
  7. for i,v in pairs(gPlayers:GetPlayers()) do local L_NAME = v.Name:lower() local F = L_NAME:find(NAME) if F == 1 then table.insert(NAME_TABLE, v.Name) end end
  8. elseif NAME == "all" then
  9. for i,v in pairs(gPlayers:GetPlayers()) do table.insert(NAME_TABLE, v.Name) end
  10. elseif NAME == "me" then
  11. return plr
  12. end
  13. return NAME_TABLE
  14. end
  15. --Takeshi's admin
  16. commands = {
  17. ":kill me -- kills yourself",
  18. ":explode me -- still in beta",
  19. ":shutdown -- shuts down the server",
  20. ":ff me -- gives you an ff",
  21. ":unff me -- removes ur ff",
  22. ":punish me -- punishes you from the server",
  23. ":god me -- gives you god mode",
  24. ":freeze me -- freezes your character",
  25. ":freecam me -- gives you a freecam",
  26. ":unfreeze me -- unfreezes you",
  27. ":unfreecam me -- makes you back to normal",
  28. ":ungod me -- ungod's you",
  29. ":flash me -- gives you super speed",
  30. ":unflash me -- gives you normal speed",
  31. ":jp me -- gives you a high jump power",
  32. ":unjp me -- gives you normal jump power",
  33. ":superman me -- gives you inf health and super speed and jump power",
  34. ":unsuperman me -- unsuperman's you",
  35. ":kill all -- kills all players in game",
  36. ":kill others -- kills other players in game",
  37. ":invis me -- Makes you invisible",
  38. ":noob all -- makes a noob effect to everyone",
  39. }
  40. wait(0)
  41. print("Thanks for using my script")
  42. wait(0)
  43. print("Made by - Takeshi199one")
  44. wait(0)
  45. print("Type :cmds for commands")
  46. local Admins = {"Takeshi199one"} -- Put ur name HERE :D
  47. local Prefix = ":" -- What ur command will start off
  48. for i,v in pairs(Admins) do -- To get the Admins
  49. game.Players[v].Chatted:connect(function(msg)-- Making so tables "{}" work :D
  50. if msg:lower() == Prefix .. "shutdown" then -- it makes so that :kill mE workspace
  51. workspace.Gravity = 0/0
  52. print("game shutted down")
  53. end
  54. if msg:lower() == Prefix .. "ff me" then -- it makes so that :kill mE workspace
  55. Instance.new("ForceField",game.Players[v].Character) -- Give a local player an ff
  56. print("command done")
  57. end
  58. if msg:lower() == Prefix .. "unff me" then -- it makes so that :kill mE workspace
  59. while wait() do -- this will remove all of the ff
  60. game.Players[v].Character.ForceField:Destroy()
  61. print("command done")
  62. end
  63. end
  64. if msg:lower() == Prefix .. "punish me" then -- it makes so that :kill mE workspace
  65. game.Players[v].Character.Parent = game.Lighting
  66. print("punished player")
  67. end
  68. if msg:lower() == Prefix .. "kill me" then -- it makes so that :kill mE workspace
  69. game.Players[v].Character:BreakJoints()
  70. print("killed player")
  71. end
  72. if msg:lower() == Prefix .. "god me" then -- it makes so that :kill mE workspace
  73. game.Players[v].Character.Humanoid.MaxHealth = math.huge
  74. wait(1)
  75. game.Players[v].Character.Humanoid.Health = math.huge
  76. print("command done")
  77. end
  78. if msg:lower() == Prefix .. "explode me" then -- it makes so that :kill mE workspace
  79. game.Players[v].Character.Torso:Explode()
  80. end
  81. if msg:lower() == Prefix .. "freeze me" then -- it makes so that :kill mE workspace
  82. game.Players[v].Character.Torso.Anchored = true
  83. print("freezed player")
  84. end
  85. if msg:lower() == Prefix .. "unfreeze me" then -- it makes so that :kill mE workspace
  86. game.Players[v].Character.Torso.Anchored = false
  87. prit("Unfreezed player")
  88. end
  89. if msg:lower() == Prefix .. "freecam me" then -- it makes so that :kill mE workspace
  90. game.Players[v].Character.Torso.Anchored = true
  91. game.Players[v].Character.HumanoidRootPart.Anchored = true
  92. print("command done")
  93. end
  94. if msg:lower() == Prefix .. "unfreecam me" then -- it makes so that :kill mE workspace
  95. game.Players[v].Character.Torso.Anchored = false
  96. game.Players[v].Character.HumanoidRootPart.Anchored = false
  97. print("command done")
  98. end
  99. if msg:lower() == Prefix .. "ungod me" then -- it makes so that :kill mE workspace
  100. game.Players[v].Character.Humanoid.MaxHealth = 100
  101. wait(1)
  102. game.Players[v].Character.Humanoid.Health = 100
  103. print("command done")
  104. end
  105. if msg:lower() == Prefix .. "flash me" then -- it makes so that :kill mE workspace
  106. workspace[v].Humanoid.WalkSpeed = 170
  107. print("flashed player")
  108. end
  109. if msg:lower() == Prefix .. "unflash me" then -- it makes so that :kill mE workspace
  110. workspace[v].Humanoid.WalkSpeed = 16
  111. print("unflashed player")
  112. end
  113. if msg:lower() == Prefix .. "jp me" then -- it makes so that :kill mE workspace
  114. workspace[v].Humanoid.JumpPower = 174
  115. print("command done")
  116. end
  117. if msg:lower() == Prefix .. "unjp me" then -- it makes so that :kill mE workspace
  118. workspace[v].Humanoid.JumpPower = 60
  119. print("command done")
  120. end
  121. if msg:lower() == Prefix .. "superman me" then -- it makes so that :kill mE workspace
  122. workspace[v].Humanoid.JumpPower = 174
  123. workspace[v].Humanoid.WalkSpeed = 170
  124. game.Players[v].Character.Humanoid.MaxHealth = math.huge
  125. wait(1)
  126. game.Players[v].Character.Humanoid.Health = math.huge
  127. print("command done")
  128. end
  129. if msg:lower() == Prefix .. "cmds" then -- it makes so that :kill mE workspace
  130. for i,v in pairs(commands) do
  131. print(v)
  132. end
  133. end
  134. if msg:lower() == Prefix .. "unsuperman me" then -- it makes so that :kill mE workspace
  135. workspace[v].Humanoid.JumpPower = 60
  136. workspace[v].Humanoid.WalkSpeed = 16
  137. game.Players[v].Character.Humanoid.MaxHealth = 100
  138. wait(1)
  139. game.Players[v].Character.Humanoid.Health = 100
  140. print("command done")
  141. end
  142. if msg:lower() == Prefix .. "kill all" then -- it makes so that :kill mE workspace
  143. for i, v in pairs(game.Players:GetPlayers()) do
  144. if v.Character then
  145. v.Character:BreakJoints()
  146. end
  147. wait()
  148. end
  149. print("killed everyone")
  150. end
  151. if msg:lower() == Prefix .. "kill others" then -- it makes so that :kill mE workspace
  152. for i, v in pairs(game.Players:GetPlayers()) do
  153. if v.Name ~= game.Players.LocalPlayer.Name then
  154. if v.Character then
  155. v.Character:BreakJoints()
  156. end
  157. wait()
  158. end
  159. end
  160. print("killed others")
  161. end
  162. if msg:lower() == Prefix .. "invis me" then -- it makes so that :kill mE workspace
  163. game.Workspace.Takeshi199one["Head"].Transparency = 1
  164. game.Workspace.Takeshi199one["Torso"].Transparency = 1
  165. game.Workspace.Takeshi199one["Left Arm"].Transparency = 1
  166. game.Workspace.Takeshi199one["Right Arm"].Transparency = 1
  167. game.Workspace.Takeshi199one["Left Leg"].Transparency = 1
  168. game.Workspace.Takeshi199one["Right Leg"].Transparency = 1
  169. game.Workspace.Takeshi199one.Head.face:Remove()
  170. game.Workspace.Takeshi199one.GameHeadphones:remove()
  171. game.Workspace.Takeshi199one.TwitchHair:remove()
  172. game.Workspace.Takeshi199one.Twitch150KGlasses:remove()
  173. for i,v in pairs (game.Players.LocalPlayer.Character:GetChildren()) do
  174. if v:IsA("Hat") then
  175. v:Destroy()
  176. end
  177. end
  178. print("Invised player")
  179. end
  180. if msg:lower() == Prefix .. "noob all" then -- it makes so that :kill mE workspace
  181. local playerLeaderstats = {}
  182. for i, v in pairs(game.Players:GetChildren()) do
  183. table.insert(playerLeaderstats, v)
  184. end
  185. for i, v in pairs(playerLeaderstats) do
  186. pe = Instance.new("ParticleEmitter",v.Character.Torso)
  187. pe.Texture = "http://www.roblox.com/asset/?id=13270026"
  188. pe.VelocitySpread = 50
  189. se = Instance.new("ParticleEmitter",v.Character.Torso)
  190. se.Texture = "http://www.roblox.com/asset/?id=25597054"
  191. se.VelocitySpread = 50
  192. fe = Instance.new("ParticleEmitter",v.Character.Torso)
  193. fe.Texture = "http://www.roblox.com/asset/?id=30680635"
  194. fe.VelocitySpread = 50
  195. end
  196. print("Noobed all")
  197. end
  198. end)
  199. end

comments powered by Disqus