Advertisement
Guest User

Untitled

a guest
Aug 19th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.40 KB | None | 0 0
  1. --[[
  2. [\<=|Simple Admin|=>/]
  3. Made by RealProgrammerL_L
  4. --]]
  5.  
  6. wait(0.1)
  7.  
  8.  
  9. local Players = game:GetService("Players"):GetPlayers()
  10. local Player = game:GetService("Players").LocalPlayer
  11. local Mouse = Player:GetMouse()
  12.  
  13. local CommandSign = "-"
  14. local Spining = false
  15. local BlockInfo = false
  16. local ChatSpam = false
  17. local SelectedGame = "Nothing"
  18. local ChatSpamMessages = {}
  19.  
  20.  
  21.  
  22. print("[Simple Admin]: Simple Admin has loaded!")
  23. print("[Simple Admin]: Simple Admin made by RealProgrammerL_L")
  24.  
  25.  
  26. function SpinFunc(Mode, Value)
  27. if Mode == "Add" and Value == nil and not game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("BodyThrust") then
  28. local SpinningEffect = Instance.new("BodyThrust")
  29. SpinningEffect.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  30. SpinningEffect.Force = Vector3.new(100,0,100)
  31. SpinningEffect.Location = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position
  32. elseif Mode == "Remove" and Value == nil and game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("BodyThrust") then
  33. if game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("BodyThrust") then
  34. game.Players.LocalPlayer.Character.HumanoidRootPart:WaitForChild("BodyThrust"):remove()
  35. end
  36. elseif Mode == "Edit" and Value ~= nil and game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("BodyThrust") then
  37. game.Players.LocalPlayer.Character.HumanoidRootPart:WaitForChild("BodyThrust").Force = Vector3.new(Value,0,Value)
  38. end
  39. end
  40.  
  41. function Kill_1()
  42. Player.Character.HumanoidRootPart.CFrame = CFrame.new(-88.145134, 60.9199867, -213.246567)
  43. wait(.1)
  44. Player.Character.HumanoidRootPart.CFrame = CFrame.new(-76.1994705, 59.4499855, -213.812958)
  45. end
  46.  
  47. function Kill_2(PlayerName)
  48. wait(.3)
  49. for i=1, 17 do
  50. for i,v in pairs(game.Players:GetChildren()) do
  51. if v.Name ~= Player.Name then
  52. game.Players[Player.Name].character.HumanoidRootPart.CFrame = CFrame.new(Player.Character.HumanoidRootPart.Position)
  53. end
  54. end
  55. end
  56. end
  57.  
  58.  
  59. Player.Chatted:Connect(function(Command)
  60. if Command:sub(1,3):lower() == CommandSign.."tp" then
  61. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  62. if string.match(string.lower(Command:sub(5)), string.lower(v.Name)) and game:GetService("Workspace"):FindFirstChild(Player.Name) and game:GetService("Workspace"):FindFirstChild(v.Name) then
  63. game:GetService("Workspace"):WaitForChild(Player.Name):WaitForChild("HumanoidRootPart").CFrame = game:GetService("Workspace"):WaitForChild(v.Name):WaitForChild("HumanoidRootPart").CFrame
  64. print("[Simple Admin]: Teleported to: "..v.Name)
  65. break
  66. end
  67. end
  68.  
  69. elseif Command:sub(1,11):lower() == CommandSign.."changesign" then
  70. if Command:sub(13):lower() == CommandSign then
  71. print("[Simple Admin]: Unknown erorr while changing changesign")
  72. else
  73. CommandSign = Command:sub(13)
  74. print("[Simple Admin]: Changed Command Sign to: "..CommandSign)
  75. end
  76.  
  77. elseif Command:sub(1,7):lower() == CommandSign.."btools" then
  78. game.StarterGui:SetCoreGuiEnabled(2, true)
  79. for I=2,4 do
  80. Instance.new("HopperBin", game:GetService'Players'.LocalPlayer.Backpack).BinType = I
  81. end
  82. print("[Simple Admin]: Done!")
  83. elseif Command:sub(1,6):lower() == CommandSign.."clean" then
  84. for I = 1,50 do
  85. print("\n")
  86. end
  87. print("[Simple Admin]: Cleaned!")
  88. elseif Command:sub(1,6):lower() == CommandSign.."speed" then
  89. game:GetService("Workspace"):WaitForChild(Player.Name):WaitForChild("Humanoid").WalkSpeed = tonumber(Command:sub(7))
  90. print("[Simple Admin]: Done!")
  91. elseif Command:sub(1,10):lower() == CommandSign.."jumppower" then
  92. game:GetService("Workspace"):WaitForChild(Player.Name):WaitForChild("Humanoid").JumpPower = tonumber(Command:sub(12))
  93. print("[Simple Admin]: Done!")
  94. elseif Command:sub(1,5):lower() == CommandSign.."spin" then
  95. if Command:sub(6,9):lower() == "/off" then
  96. if Spining == true then
  97. Spining = false
  98. SpinFunc("Remove", nil)
  99. print("[Simple Admin]: Done!")
  100. else
  101. print("[Simple Admin]: Already off!")
  102. end
  103. elseif Command:sub(6,8):lower() == "/on" then
  104. if Spining == false then
  105. Spining = true
  106. SpinFunc("Add", nil)
  107. print("[Simple Admin]: Done!")
  108. else
  109. print("[Simple Admin]: Already on!")
  110. end
  111. elseif Spining == true then
  112. SpinFunc("Edit", tonumber(Command:sub(7)))
  113. end
  114. elseif Command:sub(1,10):lower() == CommandSign.."blockinfo" then
  115. if Command:sub(11,15):lower() == "/off" then
  116. if BlockInfo == true then
  117. BlockInfo = false
  118. print("[Simple Admin]: Done!")
  119. else
  120. print("[Simple Admin]: Already off!")
  121. end
  122. elseif Command:sub(11,14):lower() == "/on" then
  123. if BlockInfo == false then
  124. BlockInfo = true
  125. print("[Simple Admin]: Done!")
  126. else
  127. print("[Simple Admin]: Already on!")
  128. end
  129. end
  130. elseif Command:sub(1,5):lower() == CommandSign.."rape" then
  131. if game:GetService("Players"):FindFirstChild(Command:sub(7)) and game:GetService("Players"):WaitForChild(Command:sub(7)):FindFirstChild("Torso") then
  132. local Victim= Command:sub(7)
  133. local A=Instance.new'Animation'
  134. A.AnimationId='rbxassetid://148840371'
  135. local P=game:GetService'Players'.LocalPlayer
  136. local C=P.Character or P.CharacterAdded:Wait()
  137. local H=C:WaitForChild'Humanoid':LoadAnimation(A)
  138. H:Play()
  139. H:AdjustSpeed(2.5)
  140. game:GetService('RunService').Stepped:Connect(function()
  141. C:WaitForChild('HumanoidRootPart').CFrame=CFrame.new(game:GetService('Players'):FindFirstChild(Victim).Character:WaitForChild('HumanoidRootPart').Position)
  142. end)
  143. else
  144. print("[Simple Admin]: Unknown error. Please make sure that the target is using R6 character rig.")
  145. end
  146. elseif Command:sub(1,9):lower() == CommandSign.."chatspam" then
  147. if Command:sub(10,14):lower() == "/off" then
  148. if ChatSpam == true then
  149. ChatSpam = false
  150. print("[Simple Admin]: Done!")
  151. else
  152. print("[Simple Admin]: Already off!")
  153. end
  154. elseif Command:sub(10,13):lower() == "/on" then
  155. if ChatSpam == false and #ChatSpamMessages >= 1 then
  156. ChatSpam = true
  157. print("[Simple Admin]: Done!")
  158. while wait() do
  159. if ChatSpam == true then
  160. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(ChatSpamMessages[math.random(1,#ChatSpamMessages)], "All")
  161. wait(3)
  162. else
  163. break
  164. end
  165. end
  166. else
  167. print("[Simple Admin]: There's no messages to spam! please insert some messages")
  168. end
  169. end
  170. elseif Command:sub(1,12):lower() == CommandSign.."addchatspam" then
  171. if Command:sub(14) ~= unpack(ChatSpamMessages) then
  172. table.insert(ChatSpamMessages, Command:sub(14))
  173. else
  174. print("[Simple Admin]: "..Command:sub(14).. " Already in the chat spam messages!")
  175. end
  176. elseif Command:sub(1,11):lower() == CommandSign.."stealtools" then
  177. if game:GetService("Players"):FindFirstChild(Command:sub(13)) then
  178. for i,v in pairs(game:GetService("Players"):WaitForChild(Command:sub(13)):WaitForChild("Backpack"):GetChildren()) do
  179. if not game:GetService("Players"):WaitForChild(Command:sub(13)):WaitForChild("Backpack"):FindFirstChild(v.Name) then
  180. local NewTool = v:Clone()
  181. NewTool.Parent = game:GetService("Players"):WaitForChild(Command:sub(13)):WaitForChild("Backpack")
  182. print("[Simple Admin]: Cloned "..v.Name.." into your backpack")
  183. end
  184. end
  185. print("[Simple Admin]: Done!")
  186. else
  187. print("[Simple Admin]: Could not find any player with the following name: "..Command:sub(13))
  188. end
  189. elseif Command:sub(1,3):lower() == CommandSign.."re" then
  190. Spining = false
  191. SpinFunc("Remove", nil)
  192. BlockInfo = false
  193. ChatSpam = false
  194. SelectedGame = ""
  195. for i,v in pairs(ChatSpamMessages) do
  196. table.remove(ChatSpamMessages, i)
  197. end
  198. print("[Simple Admin]: Done!")
  199. elseif Command:sub(1,4):lower() == CommandSign.."age" then
  200. if game:GetService("Players"):FindFirstChild(Command:sub(6)) then
  201. local TargetAccountAge = game:GetService("Players"):WaitForChild(Command:sub(6)).AccountAge
  202. print("[Simple Admin]: "..Command:sub(6).."'s account age is: "..TargetAccountAge.." days")
  203. else
  204. print("[Simple Admin]: Could not find any player with the following name: "..Command:sub(6))
  205. end
  206. elseif Command:sub(1,6):lower() == CommandSign.."reset" then
  207. game:GetService("Workspace"):WaitForChild(Player.Name):WaitForChild("Humanoid").Health = 0
  208. elseif Command:sub(1,11):lower() == CommandSign.."selectgame" then
  209. SelectedGame = CommandSign:sub(13):lower()
  210. print("[Simple Admin]: Done!")
  211. elseif SelectedGame:lower() == "auto rap battles" then
  212. if CommandSign:sub(1,5):lower() == CommandSign.."kill" then
  213. Kill_1()
  214. Kill_2(CommandSign:sub(7))
  215. print("[Simple Admin]: Done!")
  216. elseif CommandSign:sub(1,8):lower() == CommandSign.."killall" then
  217. local PlayerCharacter = Player.Character.HumanoidRootPart.CFrame
  218. for i,v in pairs(game.Players:GetPlayers()) do
  219. spawn(function()
  220. pcall(function()
  221. workspace.Camera.CameraSubject=workspace
  222. v.Character.HumanoidRootPart.CFrame=CFrame.new(-73.2564, 68.75, -210.266)
  223. wait()
  224. v.Character.HumanoidRootPart.CFrame=CFrame.new(-73.2564, 68.75, -210.266)
  225. wait()
  226. v.Character.HumanoidRootPart.CFrame=CFrame.new(-73.2564, 68.75, -210.266)
  227. end)
  228. end)
  229. end
  230. print("[Simple Admin]: Done!")
  231. elseif CommandSign:sub(1,8):lower() == CommandSign.."nowalls" then
  232. local Walls = workspace:GetChildren()
  233. Walls[55]:Remove()
  234. Walls[84]:Remove()
  235. Walls[136]:Remove()
  236. Walls[57]:Remove()
  237. Walls[129]:Remove()
  238. Walls[123]:Remove()
  239. Walls[175]:Remove()
  240. game.Workspace.Barricade:Remove()
  241. game.Workspace.Barricade:Remove()
  242. print("[Simple Admin]: Done!")
  243. end
  244. end
  245. end)
  246.  
  247.  
  248.  
  249.  
  250.  
  251. Mouse.Button1Down:Connect(function()
  252. if BlockInfo == true then
  253. if Mouse.Target ~= nil then
  254. print("[Simple Admin]: Name: "..Mouse.Target.Name..", Type: "..Mouse.Target.ClassName..", Location: "..Mouse.Target:GetFullName())
  255. end
  256. end
  257. end)
  258.  
  259.  
  260. game:GetService('RunService').Stepped:connect(function()
  261. if Spining == true then
  262. if game:GetService("Players").LocalPlayer.Character:FindFirstChild("UpperTorso") then
  263. game:GetService("Players").LocalPlayer.Character.Head.CanCollide = false
  264. game:GetService("Players").LocalPlayer.Character.UpperTorso.CanCollide = false
  265. game:GetService("Players").LocalPlayer.Character.LowerTorso.CanCollide = false
  266. game:GetService("Players").LocalPlayer.Character["LeftLowerLeg"].CanCollide = false
  267. game:GetService("Players").LocalPlayer.Character["LeftUpperLeg"].CanCollide = false
  268. game:GetService("Players").LocalPlayer.Character["LeftFoot"].CanCollide = false
  269. game:GetService("Players").LocalPlayer.Character["RightLowerLeg"].CanCollide = false
  270. game:GetService("Players").LocalPlayer.Character["RightUpperLeg"].CanCollide = false
  271. game:GetService("Players").LocalPlayer.Character["RightFoot"].CanCollide = false
  272. else
  273. game:GetService("Players").LocalPlayer.Character.Head.CanCollide = false
  274. game:GetService("Players").LocalPlayer.Character.Torso.CanCollide = false
  275. game:GetService("Players").LocalPlayer.Character["Left Leg"].CanCollide = false
  276. game:GetService("Players").LocalPlayer.Character["Right Leg"].CanCollide = false
  277. end
  278. end
  279. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement