Advertisement
Guest User

Untitled

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