ADMIN BETTTAAHH


SUBMITTED BY: Guest

DATE: April 9, 2017, 9:47 a.m.

FORMAT: Text only

SIZE: 13.9 kB

HITS: 382

  1. --Takeshi's admin
  2. game:GetService'Workspace'.Name = 'Workspace'
  3. wait(0)
  4. game:GetService'Players'.Name = 'Players'
  5. wait(0)
  6. game:GetService'Lighting'.Name = 'Lighting'
  7. wait(0)
  8. game:GetService'ReplicatedFirst'.Name = 'ReplicatedFirst'
  9. wait(0)
  10. game:GetService'ReplicatedStorage'.Name = 'ReplicatedStorage'
  11. wait(0)
  12. game:GetService'ServerScriptService'.Name = 'ServerScriptService'
  13. wait(0)
  14. game:GetService'ServerStorage'.Name = 'ServerStorage'
  15. wait(0)
  16. game:GetService'StarterGui'.Name = 'StarterGui'
  17. wait(0)
  18. game:GetService'StarterPack'.Name = 'StarterPack'
  19. wait(0)
  20. game:GetService'StarterPlayer'.Name = 'StarterPlayer'
  21. wait(0)
  22. function GET_PLAYER(NAME, plr)
  23. local gPlayers = game:GetService("Players")
  24. local NAME_TABLE = {}
  25. NAME = NAME:lower()
  26. if NAME ~= "all" then
  27. 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) end end
  28. elseif NAME == "all" then
  29. for i,v in pairs(gPlayers:GetPlayers()) do table.insert(NAME_TABLE, v) end
  30. elseif NAME == "me" then
  31. return {plr}
  32. end
  33. return NAME_TABLE
  34. end
  35. commands = {
  36. "/kill player name -- kills a player",
  37. "/ex player name -- explode's a player",
  38. "/shutdown -- shuts down the server",
  39. "/ff player name -- gives you an ff",
  40. "/unff player name -- removes ur ff",
  41. "/pn player name -- punishes you from the server",
  42. "/god player name -- gives god mode",
  43. "/freeze player name -- freezes character",
  44. "/freecam player name -- gives player freecam",
  45. "/unfreeze player name -- unfreezes player",
  46. "/unfreecam player name -- makes player back to normal",
  47. "/ungod player name -- ungod's player",
  48. "/flash player name -- gives player super speed",
  49. "/unflash player name -- gives player normal speed",
  50. "/bird player name -- gives player a high jump power",
  51. "/unbird player name -- gives player normal jump power",
  52. "/superman player name -- gives player inf health and super speed and jump power",
  53. "/unsuperman player name -- unsuperman's player",
  54. "/kill all -- kills all players in game",
  55. "/day -- makes the time do day",
  56. "/night -- makes the time do night",
  57. "/sit -- makes ur player sit",
  58. "/lag -- Kicks / Lags the player lmao",
  59. "/bob -- MAKES SOMEONE BOBV2!!",
  60. "/clean -- Clears da workspace",
  61. "/heal -- Heals the player",
  62. "/re player -- Respawns the player",
  63. "/LOL player -- Funny stuff xD",
  64. "/Ghost player -- GHOST MODEE!(You can still die ..)",
  65. }
  66. wait(0)
  67. print("Thanks for using my script")
  68. wait(0)
  69. print("Made by - Takeshi199one")
  70. wait(0)
  71. print("Type /cmds for commands")
  72. wait(.2)
  73. local Admins = {"Takeshi199one"} -- Put ur name HERE :D
  74. local Prefix = "/" -- What ur command will start off
  75. for i,v in pairs(Admins) do -- To get the Admins
  76. game.Players[v].Chatted:connect(function(msg)-- Making so tables "{}" work :D
  77. if msg:lower():sub(1, 9) == Prefix .. "shutdown" then -- it makes so that :kill mE workspace
  78. local name = msg:sub(10)
  79. workspace.Gravity = 0/0
  80. print("Game shut down complete")
  81. end
  82. if msg:lower():sub(1, 4) == Prefix .. "ff " then -- it makes so that :kill mE workspace
  83. local name = msg:sub(5)
  84. local players = GET_PLAYER(name, game.Players[v])
  85. for i, player in pairs(players) do
  86. Instance.new("ForceField",player.Character) -- give player an ff
  87. end
  88. print("Force field complete")
  89. end
  90. if msg:lower():sub(1, 6) == Prefix .. "unff " then -- it makes so that :kill mE workspace
  91. local name = msg:sub(7)
  92. local players = GET_PLAYER(name, game.Players[v])
  93. for i, player in pairs(players) do
  94. while player.Character:FindFirstChild("ForceField") do
  95. player.Character.ForceField:Destroy()
  96. print("ForceField NOW GONE!")
  97. end
  98. end
  99. end
  100. if msg:lower():sub(1, 4) == Prefix .. "pn " then -- it makes so that :kill mE workspace
  101. local name = msg:sub(5)
  102. local players = GET_PLAYER(name, game.Players[v])
  103. for i, player in pairs(players) do
  104. player.Character.Parent = game.Lighting
  105. print("Player PUNISHED!")
  106. end
  107. end
  108. if msg:lower():sub(1, 5) == Prefix .. "lol " then -- it makes so that :kill mE workspace
  109. local name = msg:sub(6)
  110. local players = GET_PLAYER(name, game.Players[v])
  111. for i, player in pairs(players) do
  112. local pls = game:service("Players")
  113. c = player.Character
  114. local rj = c.HumanoidRootPart:FindFirstChild("RootJoint")
  115. local x = Instance.new("Sound", c.HumanoidRootPart)
  116. x.SoundId = "rbxassetid://146263172"
  117. x.Pitch = 1
  118. x.Volume = 1
  119. x.Looped = true
  120. wait(0.1)
  121. x:Play()
  122. wait(0.9)
  123. while wait() do
  124. rj.C1 = CFrame.Angles(math.random(1, 6), math.random(1, 6), math.random(1, 6)) * CFrame.new()
  125. end
  126. print("LOL funny stuff")
  127. print("Player PUNISHED!")
  128. end
  129. end
  130. if msg:lower():sub(1, 6) == Prefix .. "kill " then -- it makes so that :kill mE workspace
  131. local name = msg:sub(7)
  132. local players = GET_PLAYER(name, game.Players[v])
  133. for i, player in pairs(players) do
  134. player.Character:BreakJoints()
  135. print("Player KILLED!")
  136. end
  137. end
  138. if msg:lower():sub(1, 5) == Prefix .. "god " then -- it makes so that :kill mE workspace
  139. local name = msg:sub(6)
  140. local players = GET_PLAYER(name, game.Players[v])
  141. for i, player in pairs(players) do
  142. player.Character.Humanoid.MaxHealth = math.huge
  143. wait(1)
  144. player.Character.Humanoid.Health = math.huge
  145. print("God mode done!")
  146. end
  147. end
  148. if msg:lower():sub(1, 4) == Prefix .. "ex " then -- it makes so that :kill mE workspace
  149. local name = msg:sub(5)
  150. local players = GET_PLAYER(name, game.Players[v])
  151. for i, player in pairs(players) do
  152. local explosion = Instance.new("Explosion", workspace)
  153. explosion.Position = player.Character.Torso.Position
  154. print("BOOM!")
  155. end
  156. end
  157. if msg:lower():sub(1, 7) == Prefix .. "ghost " then -- it makes so that :kill mE workspace
  158. local name = msg:sub(8)
  159. local players = GET_PLAYER(name, game.Players[v])
  160. for i, player in pairs(players) do
  161. local ghost = true
  162. while ghost do wait(0)player.Character.Torso.Anchored = true wait(0)player.Character.Torso.Anchored = false player.Character.HumanoidRootPart.Anchored = true player.Character.Humanoid.WalkSpeed = 100 end
  163. end
  164. end
  165. if msg:lower():sub(1, 9) == Prefix .. "unghost " then -- it makes so that :kill mE workspace
  166. local name = msg:sub(10)
  167. local players = GET_PLAYER(name, game.Players[v])
  168. for i, player in pairs(players) do
  169. ghost = false
  170. player.Character.Torso.Anchored = false player.Character.HumanoidRootPart.Anchored = false player.Character.Humanoid.WalkSpeed = 100
  171. end
  172. end
  173. if msg:lower():sub(1, 8) == Prefix .. "freeze " then -- it makes so that :kill mE workspace
  174. local name = msg:sub(9)
  175. local players = GET_PLAYER(name, game.Players[v])
  176. for i, player in pairs(players) do
  177. player.Character.Torso.Anchored = true
  178. print("Freezed Player!")
  179. end
  180. end
  181. if msg:lower():sub(1, 9) == Prefix .. "freecam " then -- it makes so that :kill mE workspace
  182. local name = msg:sub(10)
  183. local players = GET_PLAYER(name, game.Players[v])
  184. for i, player in pairs(players) do
  185. player.Character.Torso.Anchored = true
  186. player.Character.HumanoidRootPart.Anchored = true
  187. print("KAPAW!")
  188. end
  189. end
  190. if msg:lower():sub(1, 11) == Prefix .. "unfreecam " then -- it makes so that :kill mE workspace
  191. local name = msg:sub(12)
  192. local players = GET_PLAYER(name, game.Players[v])
  193. for i, player in pairs(players) do
  194. player.Character.Torso.Anchored = false
  195. player.Character.HumanoidRootPart.Anchored = false
  196. print("KAPAW!")
  197. end
  198. end
  199. if msg:lower():sub(1, 5) == Prefix .. "bob " then -- it makes so that :kill mE workspace
  200. local name = msg:sub(6)
  201. local players = GET_PLAYER(name, game.Players[v])
  202. for i, player in pairs(players) do
  203. local mesh = Instance.new("SpecialMesh", player.Character.Torso)
  204. mesh.MeshType = 'Cylinder'
  205. mesh.Scale = Vector3.new(1, 2, 2)
  206. local mesh = Instance.new("SpecialMesh", player.Character['Left Arm'])
  207. mesh.MeshType = 'Cylinder'
  208. mesh.Scale = Vector3.new(1, 2, 2)
  209. local mesh = Instance.new("SpecialMesh", player.Character['Right Arm'])
  210. mesh.MeshType = 'Cylinder'
  211. mesh.Scale = Vector3.new(1, 2, 2)
  212. local mesh = Instance.new("SpecialMesh", player.Character['Left Leg'])
  213. mesh.MeshType = 'Cylinder'
  214. mesh.Scale = Vector3.new(1, 2, 2)
  215. local mesh = Instance.new("SpecialMesh", player.Character.Head)
  216. mesh.MeshType = 'Cylinder'
  217. mesh.Scale = Vector3.new(1, 1, 2)
  218. local mesh = Instance.new("SpecialMesh", player.Character['Right Leg'])
  219. mesh.MeshType = 'Cylinder'
  220. mesh.Scale = Vector3.new(1, 2, 2)
  221. player.Character.Torso.BrickColor = BrickColor.new("Grey")
  222. player.Character['Left Arm'].BrickColor = BrickColor.new("Grey")
  223. player.Character['Right Arm'].BrickColor = BrickColor.new("Grey")
  224. player.Character['Left Leg'].BrickColor = BrickColor.new("Grey")
  225. player.Character['Right Leg'].BrickColor = BrickColor.new("Grey")
  226. player.Character.Head.BrickColor = BrickColor.new("Grey")
  227. print("KAPAW!")
  228. end
  229. end
  230. if msg:lower():sub(1, 7) == Prefix .. "ungod " then -- it makes so that :kill mE workspace
  231. local name = msg:sub(8)
  232. local players = GET_PLAYER(name, game.Players[v])
  233. for i, player in pairs(players) do
  234. player.Character.Humanoid.MaxHealth = 100
  235. wait(1)
  236. player.Character.Humanoid.Health = 100
  237. print("UnGod mode done!")
  238. end
  239. end
  240. if msg:lower():sub(1, 4) == Prefix .. "re " then -- it makes so that :kill mE workspace
  241. local name = msg:sub(5)
  242. local players = GET_PLAYER(name, game.Players[v])
  243. for i, player in pairs(players) do
  244. player:LoadCharacter()
  245. print("Respawned Player")
  246. end
  247. end
  248. if msg:lower():sub(1, 7) == Prefix .. "flash " then -- it makes so that :kill mE workspace
  249. local name = msg:sub(8)
  250. local players = GET_PLAYER(name, game.Players[v])
  251. for i, player in pairs(players) do
  252. player.Character.Humanoid.WalkSpeed = 170
  253. print("The fastest man alive!")
  254. end
  255. end
  256. if msg:lower():sub(1, 9) == Prefix .. "unflash " then -- it makes so that :kill mE workspace
  257. local name = msg:sub(10)
  258. local players = GET_PLAYER(name, game.Players[v])
  259. for i, player in pairs(players) do
  260. player.Character.Humanoid.WalkSpeed = 16
  261. print("Normal mode")
  262. end
  263. end
  264. if msg:lower():sub(1, 6) == Prefix .. "bird " then -- it makes so that :kill mE workspace
  265. local name = msg:sub(7)
  266. local players = GET_PLAYER(name, game.Players[v])
  267. for i, player in pairs(players) do
  268. player.Character.Humanoid.JumpPower = 174
  269. print("Flying mode on")
  270. end
  271. end
  272. if msg:lower():sub(1, 5) == Prefix .. "lag " then -- it makes so that :kill mE workspace
  273. local name = msg:sub(6)
  274. local players = GET_PLAYER(name, game.Players[v])
  275. for i, player in pairs(players) do
  276. player.Character.Humanoid.HipHeight = 0/0
  277. for i = 1, 1000 do
  278. Instance.new("HopperBin", player.Backpack)
  279. end
  280. print("Lagged Player")
  281. end
  282. end
  283. if msg:lower():sub(1, 8) == Prefix .. "unbird " then -- it makes so that :kill mE workspace
  284. local name = msg:sub(9)
  285. local players = GET_PLAYER(name, game.Players[v])
  286. for i, player in pairs(players) do
  287. player.Character.Humanoid.JumpPower = 60
  288. print("Flying mode off")
  289. end
  290. end
  291. if msg:lower():sub(1, 6) == Prefix .. "heal " then -- it makes so that :kill mE workspace
  292. local name = msg:sub(7)
  293. local players = GET_PLAYER(name, game.Players[v])
  294. for i, player in pairs(players) do
  295. player.Character.Humanoid.MaxHealth = 100
  296. wait(1)
  297. player.Character.Humanoid.Health = 100
  298. print("Player Healed")
  299. end
  300. end
  301. if msg:lower():sub(1, 10) == Prefix .. "superman " then -- it makes so that :kill mE workspace
  302. local name = msg:sub(11)
  303. local players = GET_PLAYER(name, game.Players[v])
  304. for i, player in pairs(players) do
  305. player.Character.Humanoid.JumpPower = 174
  306. player.Character.Humanoid.WalkSpeed = 170
  307. print("SUPERMAN AWAYY!!!!")
  308. end
  309. end
  310. if msg:lower():sub(1, 12) == Prefix .. "unsuperman " then -- it makes so that :kill mE workspace
  311. local name = msg:sub(13)
  312. local players = GET_PLAYER(name, game.Players[v])
  313. for i, player in pairs(players) do
  314. player.Character.Humanoid.JumpPower = 60
  315. player.Character.Humanoid.WalkSpeed = 16
  316. print("No more super powers")
  317. end
  318. end
  319. if msg:lower():sub(1, 5) == Prefix .. "cmds" then -- it makes so that :kill mE workspace
  320. local name = msg:sub(6)
  321. for i,v in pairs(commands) do
  322. print(v)
  323. end
  324. end
  325. if msg:lower():sub(1, 4) == Prefix .. "day" then -- it makes so that :kill mE workspace
  326. local name = msg:sub(5)
  327. game.Lighting.TimeOfDay = 12
  328. print("Its now DAY TIME!")
  329. end
  330. if msg:lower():sub(1, 6) == Prefix .. "night" then -- it makes so that :kill mE workspace
  331. local name = msg:sub(7)
  332. game.Lighting.TimeOfDay = 1
  333. print("Its now NIGHT TIME!")
  334. end
  335. if msg:lower():sub(1, 6) == Prefix .. "clean" then -- it makes so that :kill mE workspace
  336. local name = msg:sub(7)
  337. game.Workspace:ClearAllChildren()
  338. print("Forced clean!!")
  339. end
  340. if msg:lower():sub(1, 5) == Prefix .. "sit " then -- it makes so that :kill mE workspace
  341. local name = msg:sub(6)
  342. local players = GET_PLAYER(name, game.Players[v])
  343. for i, player in pairs(players) do
  344. player.Character.Humanoid.Sit = true
  345. print("Player now sitting")
  346. end
  347. end
  348. end)
  349. end

comments powered by Disqus