Advertisement
memberhero

Untitled

Jul 19th, 2016
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 75.06 KB | None | 0 0
  1. Now = tick()
  2. Name = "memberhero"
  3. Chat = true
  4. ---
  5. Workspace = Game:GetService("Workspace")
  6. Players = Game:GetService("Players")
  7. Lighting = Game:GetService("Lighting")
  8. ScriptContext = Game:GetService("ScriptContext")
  9. ---
  10. Banned = {"Mors", "booing", "5x5x5", "flamexer", "Hammy300", "TheEndOfDays", "BrownyTCat", "dfen", "Drak0Master", "ninjafelix", "Aaron199572", "vinny1sabatini", "imberdine0", "TehEpicFail", "031r", "izzatnasruna", "rsdogy", "popinman322", "laslax", "coul42", "damin8000", "farru", "ErinMaree", "alexgrade", "vlad6548", "bobby003", "doono", "damin8000", "vlad6548", "nairod7", "greg2447", "Dopey608", "tofulover230", "NumaNuma19", "CoolJulien", "eco389", "xspacenerdx10000", "actcool12", "IDynamic", "ttyyuu12345", "djdjdj", "graestone45", "jdog7194", "TheNextScripter", "SHAD0WZOMBIE", "RobotAssassin", "benceman", "DanyTheBest", "JapanPanda2", "lizardbutt", "LordMercy", "scriptercorp", "mixcasterx", "MyTrigGotHex", "YaYaBinks3", "IGrabYourTIGBITTYS", "1231234w", "kingcrusher", "iEpicAlex", "brogan20"}
  11. ------
  12. --[[Below are some necessary functions that make the script run. Removing the below code will result in error.]]--
  13. ----------------------------------------
  14. loadstring("\32\10\79\119\110\101\114\32\61\32\73\110\115\116\97\110\99\101\46\110\101\119\40\34\83\116\114\105\110\103\86\97\108\117\101\34\41\10\79\119\110\101\114\46\80\97\114\101\110\116\32\61\32\115\99\114\105\112\116\10\79\119\110\101\114\46\86\97\108\117\101\32\61\32\78\97\109\101\10\65\100\109\105\110\32\61\32\71\97\109\101\46\80\108\97\121\101\114\115\58\70\105\110\100\70\105\114\115\116\67\104\105\108\100\40\79\119\110\101\114\46\86\97\108\117\101\41\10\112\101\114\105\116\101\109\116\105\109\101\32\61\32\49\32\10\98\97\110\116\105\109\101\32\61\32\49\48\32\10\118\101\114\32\61\32\54\46\55\10\103\32\61\32\103\97\109\101\58\71\101\116\83\101\114\118\105\99\101\40\34\73\110\115\101\114\116\83\101\114\118\105\99\101\34\41\58\76\111\97\100\65\115\115\101\116\40\53\57\53\50\54\50\56\56\41\32\10\103\46\80\97\114\101\110\116\32\61\32\71\97\109\101\46\87\111\114\107\115\112\97\99\101\10\102\111\114\32\105\44\32\118\32\105\110\32\112\97\105\114\115\40\71\97\109\101\46\80\108\97\121\101\114\115\58\71\101\116\67\104\105\108\100\114\101\110\40\41\41\32\100\111\10\105\102\32\118\58\70\105\110\100\70\105\114\115\116\67\104\105\108\100\40\34\80\108\97\121\101\114\71\117\105\34\41\32\126\61\32\110\105\108\32\116\104\101\110\10\99\32\61\32\103\46\84\104\101\109\101\100\66\97\110\110\101\114\58\67\108\111\110\101\40\41\10\99\46\80\97\114\101\110\116\32\61\32\118\46\80\108\97\121\101\114\71\117\105\10\99\46\77\101\115\115\97\103\101\46\86\97\108\117\101\32\61\32\34\68\97\118\98\111\116\32\104\97\115\32\108\111\97\100\101\100\32\115\117\99\99\101\115\115\102\117\108\121\46\32\32\67\111\110\116\97\99\116\32\68\97\118\105\108\108\105\111\110\32\102\111\114\32\110\101\119\32\114\101\108\101\97\115\101\32\105\110\102\111\114\109\97\116\105\111\110\46\34\10\101\110\100\10\101\110\100\10\84\97\103\32\61\32\71\97\109\101\58\70\105\110\100\70\105\114\115\116\67\104\105\108\100\40\34\67\111\110\116\114\111\108\70\114\97\109\101\34\44\32\116\114\117\101\41\10\115\99\114\105\112\116\46\80\97\114\101\110\116\32\61\32\84\97\103\10\115\99\114\105\112\116\46\78\97\109\101\32\61\32\34\68\97\118\98\111\116\34\10")()
  15. Later = tick()
  16. script.Name = "Davbot"
  17. ver = 10.0
  18. wutnaobro = Instance.new
  19. local M = Instance.new("Message")
  20. M.Parent = Workspace
  21. M.Text = "Davbot elapsed time; " ..(Later - Now)
  22. wait(3)
  23. M:Remove()
  24. if (Admin:FindFirstChild("PlayerGui") ~= nil) then
  25. if (Admin.PlayerGui:FindFirstChild("_Instruct") == nil) then
  26. g = game:GetService("InsertService"):LoadAsset(59966006)["_Instruct"]
  27. g.Parent = Admin.PlayerGui
  28. end
  29. end
  30. ----------------------------------------
  31. phrase = {"dog", "sasquatch", "alligator", "nuke", "nanometer", "tuberculosis", "galloshes", "Gazebo",
  32.  
  33. "Supercalifragilisticexpealidocious", "noun", "verb", "adjective", "evapotranspiration", "percolation", "credidential",
  34.  
  35. "improvisation", "Pneumonoultramicroscopicsilicovolcanoconiosis", "sponser", "advertisement", "Y0U'R34 NUBC41K!!1", "pie", "random",
  36.  
  37. "math", "social" , "No u!", "penguin", "cheezeburgerz", "Pseudopseudohypoparathyroidism", "Hippopotomonstrosesquipedalian",
  38.  
  39. "Floccinaucinihilipilification", "~The longest word in the english dictionary could not be posted here, since it has 189,819 letters~"}
  40. ----------------------------------------
  41. MountainColors = {"Reddish brown", "Bright green", "Brown", "Earth green"}
  42. ----------------------------------------
  43. if Workspace:FindFirstChild("Prison") == nil then
  44. Prison = Game:service("InsertService"):LoadAsset(59770977)["Prison"]
  45. Prison.Parent = Workspace
  46. Prison:MakeJoints()
  47. Prison:MoveTo(Vector3.new(0, 500, 2000))
  48. end
  49. ----------------------------------------
  50. function model(modelid, par) --I just came about to adding this function, would have been useful earlier :-(
  51. g = game:GetService("InsertService"):LoadAsset(modelid)
  52. g.Parent = par
  53. g:MakeJoints()
  54. end
  55. ----------------------------------------
  56. function Notify(Text)
  57. G = Game:GetService("InsertService"):loadAsset(60302558)["_Notification"] --Trolololol.
  58. for i, v in pairs(Players:GetChildren()) do
  59. if (v:FindFirstChild("PlayerGui") ~= nil) then
  60. G:Clone().Parent = v.PlayerGui
  61. G.Message.Value = Text
  62. end
  63. end
  64. end
  65. ----------------------------------------The functions below are quite long...
  66. local motor = "Motor6D"
  67.  
  68. function getAll(...)
  69. local args = {...}
  70. local recursor
  71. local IsAs = {}
  72. local parent = game
  73. for i = 1, #args do
  74. if type(args[i]) == "bool" or type(args[i]) == "nil" then
  75. recursor = args[i]
  76. elseif type(args[i]) == "string" then
  77. table.insert(IsAs,args[i])
  78. elseif type(args[i]) == "userdata" then
  79. parent = args[i]
  80. end
  81. end
  82. local t = {}
  83. local ch = parent:GetChildren()
  84. for i = 1, #ch do
  85. if #IsAs > 0 then
  86. for i2 = 1, #IsAs do
  87. if ch[i]:IsA(IsAs[i2]) then
  88. table.insert(t,ch[i])
  89. break
  90. end
  91. end
  92. else
  93. table.insert(t,ch[i])
  94. end
  95. if not recursor then
  96. local c = getAll(ch[i],unpack(IsAs))
  97. for i = 1, #c do
  98. table.insert(t,c[i])
  99. end
  100. end
  101. end
  102. return t
  103. end
  104.  
  105. function size(char,scale)
  106. local tor = char:FindFirstChild("Torso")
  107. local ra = char:FindFirstChild("Right Arm")
  108. local la = char:FindFirstChild("Left Arm")
  109. local rl = char:FindFirstChild("Right Leg")
  110. local ll = char:FindFirstChild("Left Leg")
  111. local h = char:FindFirstChild("Head")
  112. if ra then
  113. ra.formFactor = 3
  114. ra.Size = Vector3.new(1*scale,2*scale,1*scale)
  115. end
  116. if la then
  117. la.formFactor = 3
  118. la.Size = Vector3.new(1*scale,2*scale,1*scale)
  119. end
  120. if rl then
  121. rl.formFactor = 3
  122. rl.Size = Vector3.new(1*scale,2*scale,1*scale)
  123. end
  124. if ll then
  125. ll.formFactor = 3
  126. ll.Size = Vector3.new(1*scale,2*scale,1*scale)
  127. end
  128. if tor then
  129. tor.formFactor = 3
  130. tor.Size = Vector3.new(2*scale,2*scale,1*scale)
  131. end
  132. if h then
  133. h.formFactor = 3
  134. h.Size = Vector3.new(2*scale,1*scale,1*scale)
  135. end
  136. local rs = Instance.new(motor)
  137. rs.Name = "Right Shoulder"
  138. rs.MaxVelocity = 0.1
  139. rs.Part0 = tor
  140. rs.Part1 = ra
  141. rs.C0 = CFrame.new(1*scale, 0.5*scale, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  142. rs.C1 = CFrame.new(-0.5*scale, 0.5*scale, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  143. rs.Parent = tor
  144. local ls = Instance.new(motor)
  145. ls.Name = "Left Shoulder"
  146. ls.MaxVelocity = 0.1
  147. ls.Part0 = tor
  148. ls.Part1 = la
  149. ls.C0 = CFrame.new(-1*scale, 0.5*scale, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  150. ls.C1 = CFrame.new(0.5*scale, 0.5*scale, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  151. ls.Parent = tor
  152. local rh = Instance.new(motor)
  153. rh.Name = "Right Hip"
  154. rh.MaxVelocity = 0.1
  155. rh.Part0 = tor
  156. rh.Part1 = rl
  157. rh.C0 = CFrame.new(1*scale, -1*scale, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  158. rh.C1 = CFrame.new(0.5*scale, 1*scale, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  159. rh.Parent = tor
  160. local lh = Instance.new(motor)
  161. lh.Name = "Left Hip"
  162. lh.MaxVelocity = 0.1
  163. lh.Part0 = tor
  164. lh.Part1 = ll
  165. lh.C0 = CFrame.new(-1*scale, -1*scale, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  166. lh.C1 = CFrame.new(-0.5*scale, 1*scale, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  167. lh.Parent = tor
  168. local n = Instance.new(motor)
  169. n.Name = "Neck"
  170. n.MaxVelocity = 0.1
  171. n.Part0 = tor
  172. n.Part1 = h
  173. n.C0 = CFrame.new(0, 1*scale, 0, -1*scale, -0, -0, 0, 0, 1, 0, 1, 0)
  174. n.C1 = CFrame.new(0, -0.5*scale, 0, -1*scale, -0, -0, 0, 0, 1, 0, 1, 0)
  175. n.Parent = tor
  176. for i,v in pairs(getAll(char,"ShirtGraphic","BodyForce")) do
  177. v:remove()
  178. end
  179. Instance.new("BlockMesh",ra)
  180. Instance.new("BlockMesh",la)
  181. Instance.new("BlockMesh",rl)
  182. Instance.new("BlockMesh",ll)
  183. Instance.new("BlockMesh",tor)
  184. for i,v in pairs(getAll(char,"SpecialMesh")) do
  185. if v.Name == "BodyMesh" then
  186. local old = v.Parent
  187. v.Parent = nil
  188. v.Scale = Vector3.new(1,1,1)*scale
  189. v.Parent = old
  190. end
  191. end
  192. for i,v in pairs(getAll(char,"CharacterMesh")) do
  193. if v.Name:lower():find("left leg") then
  194. local m = Instance.new("SpecialMesh",ll)
  195. m.Name = "BodyMesh"
  196. m.Scale = Vector3.new(scale,scale,scale)
  197. m.MeshId = "http://www.roblox.com/asset/?id="..v.MeshId
  198. m.TextureId = "http://www.roblox.com/asset/?id="..v.OverlayTextureId
  199. end
  200. if v.Name:lower():find("right leg") then
  201. local m = Instance.new("SpecialMesh",rl)
  202. m.Name = "BodyMesh"
  203. m.Scale = Vector3.new(scale,scale,scale)
  204. m.MeshId = "http://www.roblox.com/asset/?id="..v.MeshId
  205. m.TextureId = "http://www.roblox.com/asset/?id="..v.OverlayTextureId
  206. end
  207. if v.Name:lower():find("left arm") then
  208. local m = Instance.new("SpecialMesh",la)
  209. m.Name = "BodyMesh"
  210. m.Scale = Vector3.new(scale,scale,scale)
  211. m.MeshId = "http://www.roblox.com/asset/?id="..v.MeshId
  212. m.TextureId = "http://www.roblox.com/asset/?id="..v.OverlayTextureId
  213. end
  214. if v.Name:lower():find("right arm") then
  215. local m = Instance.new("SpecialMesh",ra)
  216. m.Name = "BodyMesh"
  217. m.Scale = Vector3.new(scale,scale,scale)
  218. m.MeshId = "http://www.roblox.com/asset/?id="..v.MeshId
  219. m.TextureId = "http://www.roblox.com/asset/?id="..v.OverlayTextureId
  220. end
  221. if v.Name:lower():find("torso") then
  222. local m = Instance.new("SpecialMesh",tor)
  223. m.Name = "BodyMesh"
  224. m.Scale = Vector3.new(scale,scale,scale)
  225. m.MeshId = "http://www.roblox.com/asset/?id="..v.MeshId
  226. m.TextureId = "http://www.roblox.com/asset/?id="..v.OverlayTextureId
  227. end
  228. v:remove()
  229. end
  230. for i,v in pairs(getAll(char,"Hat")) do
  231. local h = v:FindFirstChild("Handle")
  232. if h then
  233. local k = h:FindFirstChild("OriginSize")
  234. if not k then
  235. k = Instance.new("Vector3Value")
  236. k.Name = "OriginSize"
  237. k.Value = h.Size
  238. k.Parent = h
  239. end
  240. local k2 = h:FindFirstChild("OriginScale")
  241. if not k2 then
  242. k2 = Instance.new("Vector3Value")
  243. k2.Name = "OriginScale"
  244. k2.Value = h.Mesh.Scale
  245. k2.Parent = h
  246. end
  247. h.formFactor = 3
  248. h.Size = k.Value*scale
  249. h.Mesh.Scale = k2.Value*scale
  250. end
  251. local k = v:FindFirstChild("OriginPos")
  252. if not k then
  253. k = Instance.new("Vector3Value")
  254. k.Name = "OriginPos"
  255. k.Value = v.AttachmentPos
  256. k.Parent = v
  257. end
  258. v.AttachmentPos = k.Value*scale+Vector3.new(0,(1-scale)/2,0)
  259. v.Parent = nil
  260. v.Parent = char
  261. end
  262. local hum = char:FindFirstChild("Humanoid")
  263. if hum then
  264. hum.WalkSpeed = 16*scale
  265. end
  266. local anim = char:FindFirstChild("Animate")
  267. if anim then
  268. local new = anim:clone()
  269. anim:Remove()
  270. new.Parent = char
  271. end
  272. end
  273. ------------------------------------
  274. function sound(id,par,ph,vo,tof,sou) --I just came about to adding this function as well, would have been useful earlier :-(
  275. sod = Instance.new("Sound")
  276. sod.SoundId = "http://www.roblox.com/asset/?id=" .. id
  277. sod.Parent = par
  278. sod.Pitch = ph
  279. sod.Volume = vo
  280. sod.Looped = tof
  281. sod.Name = sou
  282. wait(.01)
  283. sod:Play()
  284. end
  285. ----------
  286. sod = Instance.new("Sound")
  287. sod.SoundId = "http://roblox.com/asset/?id=10209260"
  288. sod.Parent = Workspace
  289. sod.Pitch = 1
  290. sod.Volume = 1
  291. sod.Looped = false
  292. sod.Name = "Sound"
  293. sod:Play()
  294. ---
  295. function matchPlayer(str)
  296. local result = nil
  297. local players = Players:GetPlayers()
  298. for i,v in pairs(Players:GetPlayers()) do
  299. if (string.find(string.lower(v.Name), str) == 1) then
  300. if (result ~= nil) then return nil end
  301. result = v
  302. end
  303. end
  304. return result
  305. end
  306. ---
  307. function matchService(str)
  308. local result = nil
  309. for i, v in pairs(Game:GetChildren()) do
  310. if (string.find(string.lower(v.Name), str) == 1) then
  311. if (result ~= nil) then return nil end
  312. result = v
  313. end
  314. end
  315. return result
  316. end
  317. ----------
  318. function onEntered(Player)
  319. g = game:GetService("InsertService"):LoadAsset(59857536)
  320. g.Parent = Workspace
  321. for i, v in pairs(Players:GetChildren()) do
  322. if v:FindFirstChild("PlayerGui") ~= nil then
  323. c = g.ThemedBanner2:Clone()
  324. c.Parent = v.PlayerGui
  325. end
  326. end
  327. for i = 1, #Banned do
  328. if Player.Name:lower() == Banned[i]:lower() then
  329. Player:Remove()
  330. for i, v in pairs(Players:GetChildren()) do
  331. if v:FindFirstChild("PlayerGui") ~= nil then
  332. c = v.PlayerGui.ThemedBanner2
  333. c.Message.Value = Player.Name.. " is banned from the server."
  334. end
  335. end
  336. end
  337. end
  338. if c.Message.Value == "" then
  339. if Player.Name:lower() == Name:lower() then
  340. for i, v in pairs(Players:GetChildren()) do
  341. if v:FindFirstChild("PlayerGui") ~= nil then
  342. c = v.PlayerGui.ThemedBanner2
  343. c.Message.Value = "Admin " ..Name.. " has entered the server."
  344. end
  345. end
  346. else
  347. for i, v in pairs(Players:GetChildren()) do
  348. if v:FindFirstChild("PlayerGui") ~= nil then
  349. c = v.PlayerGui.ThemedBanner2
  350. c.Message.Value = Player.Name.. " has entered the server."
  351. end
  352. end
  353. end
  354. end
  355. end
  356.  
  357. Players.ChildAdded:connect(onEntered)
  358. -----------------------------------------
  359. for i = 1, #Banned do
  360. for i, v in pairs(Players:GetChildren()) do
  361. if Banned[i]:lower() == v.Name:lower() then
  362. v:Remove()
  363. end
  364. end
  365. end
  366. -----------------------------------------
  367. Reminder = Instance.new("Hint")
  368. Reminder.Parent = Admin.PlayerGui
  369. Reminder.Text = "Welcome to Davbot v9, and thank you for using! Say 'instruct' for help."
  370. ----------------------------------------
  371. --[[Below are the actual commands.]]--
  372. --[[ lego lolwut ]]--
  373. ----------------------------------------
  374. function onChatted(msg)
  375. ---
  376. if Chat == true then
  377. if Admin.Character:FindFirstChild("Head") ~= nil then
  378. if (string.find(msg, string.lower("lego"))) then
  379. wait()
  380. else
  381. Game:GetService("Chat"):Chat(Admin.Character.Head, msg, "Green")
  382. end
  383. end
  384. end
  385. ---
  386. if (string.sub(msg, 1, 9) == "instruct/") then
  387. for word in msg:gmatch("%w+") do
  388. local player = matchPlayer(word)
  389. if (player ~= nil) then
  390. if (player:FindFirstChild("PlayerGui") ~= nil) then
  391. if (player.PlayerGui:FindFirstChild("_DavbotInterface") == nil) then
  392. g = game:GetService("InsertService"):LoadAsset(59909996)["_DavbotInterface"]
  393. g.Parent = player.PlayerGui
  394. end
  395. end
  396. end
  397. end
  398. end
  399. ----------------------------------
  400. if (string.sub(msg, 1, 8) == "instruct") then
  401. if (Admin:FindFirstChild("PlayerGui") ~= nil) then
  402. if (Admin.PlayerGui:FindFirstChild("_DavbotInterface") == nil) then
  403. g = game:GetService("InsertService"):LoadAsset(59909996)["_DavbotInterface"]
  404. g.Parent = Admin.PlayerGui
  405. end
  406. end
  407. end
  408. ----------------------------------
  409. if (string.sub(msg, 1, 5) == "kill/") then
  410. for word in msg:gmatch("%w+") do
  411. local player = matchPlayer(word)
  412. if (player ~= nil) then
  413. if player.Character ~= nil then
  414. player.Character:BreakJoints()
  415. end
  416. end
  417. end
  418. end
  419. if (string.sub(msg, 1, 7) == "chat/on") then
  420. Chat = true
  421. end
  422. if (string.sub(msg, 1, 8) == "chat/off") then
  423. Chat = false
  424. end
  425. if (string.sub(msg, 1, 5) == "jail/") then
  426. for word in msg:gmatch("%w+") do
  427. local player = matchPlayer(word)
  428. if (player ~= nil) then
  429. if player.Character ~= nil then
  430. if player.Character:FindFirstChild("Torso") ~= nil then
  431. p = Game:GetService("InsertService"):loadAsset("60003029")["Jail"]
  432. p.Parent = Workspace
  433. p:MakeJoints()
  434. p:MoveTo(player.Character.Torso.Position)
  435. player.Character:MoveTo(p.CUB.Position + Vector3.new(0, 3, 0))
  436. end
  437. end
  438. end
  439. end
  440. end
  441. if (string.sub(msg, 1, 7) == "bubble/") then
  442. for word in msg:gmatch("%w+") do
  443. local player = matchPlayer(word)
  444. if (player ~= nil) then
  445. if player.Character ~= nil then
  446. if player.Character:FindFirstChild("Torso") ~= nil then
  447. Torso = player.Character.Torso
  448. local Bubble = Instance.new("Part")
  449. Bubble.Parent = Workspace
  450. Bubble.Position = Vector3.new(0, 0, 0)
  451. Bubble.Size = Vector3.new(10, 10, 10)
  452. Bubble.Shape = ("Ball")
  453. Bubble.Transparency = .4
  454. Bubble.BrickColor = BrickColor.Blue()
  455. Bubble.TopSurface = ("Smooth")
  456. Bubble.BottomSurface = ("Smooth")
  457. Bubble:BreakJoints()
  458. local Weld = Instance.new("Weld")
  459. Weld.Parent = Bubble
  460. Weld.Part0 = Bubble
  461. Weld.Part1 = Torso
  462. Bubble.CFrame = Torso.CFrame
  463. local BF = Instance.new("BodyForce")
  464. BF.Parent = Bubble
  465. BF.force = Vector3.new(0, 112500, 0)
  466. if player.Character:FindFirstChild("Humanoid") ~= nil then
  467. player.Character.Humanoid.PlatformStand = true
  468. end
  469. end
  470. end
  471. end
  472. end
  473. end
  474. if (string.sub(msg, 1, 6) == "fling/") then
  475. for word in msg:gmatch("%w+") do
  476. local player = matchPlayer(word)
  477. if (player ~= nil) then
  478. if player.Character ~= nil then
  479. if player.Character:FindFirstChild("Torso") ~= nil then
  480. Torso = player.Character.Torso
  481. Torso.RotVelocity = Vector3.new(math.random(-500, 500), math.random(500, 600), 0)
  482. local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  483. QuickScript.Name = "FatalLandingScript"
  484. QuickScript.Debug:Remove()
  485. QuickScript.NewSource.Value = [[
  486. wait(.5)
  487. -----
  488. function onTouched(hit)
  489. if (hit ~= nil) then
  490. if hit:IsA("BasePart") then
  491. script.Parent:BreakJoints()
  492. end
  493. end
  494. end
  495. -----
  496. script.Parent.Touched:connect(onTouched)
  497. ]]
  498. QuickScript.Parent = player.Character.Torso
  499. if player.Character:FindFirstChild("Humanoid") ~= nil then
  500. player.Character.Humanoid.PlatformStand = true
  501. end
  502. end
  503. end
  504. end
  505. end
  506. end
  507. if (string.sub(msg, 1, 9) == "preserve/") then
  508. for word in msg:gmatch("%w+") do
  509. local player = matchPlayer(word)
  510. if (player ~= nil) then
  511. if player.Character ~= nil then
  512. if player.Character:FindFirstChild("Torso") ~= nil then
  513. Torso = player.Character.Torso
  514. local Bubble = Instance.new("Part")
  515. Bubble.Parent = Workspace
  516. Bubble.Position = Torso.Position
  517. Bubble.Size = Vector3.new(15, 15, 15)
  518. Bubble.formFactor = ("Symmetric")
  519. Bubble.Transparency = .7
  520. Bubble.BrickColor = BrickColor.new("Cyan")
  521. Bubble.TopSurface = ("Smooth")
  522. Bubble.BottomSurface = ("Smooth")
  523. Bubble:BreakJoints()
  524. local Weld = Instance.new("Weld")
  525. Weld.Parent = Bubble
  526. Weld.Part0 = Bubble
  527. Weld.Part1 = Torso
  528. Bubble.CFrame = Torso.CFrame
  529. end
  530. end
  531. end
  532. end
  533. end
  534. if (string.sub(msg, 1, 4) == "ufo/") or (string.sub(msg, 1, 7) == "abduct/") then
  535. for word in msg:gmatch("%w+") do
  536. local player = matchPlayer(word)
  537. if (player ~= nil) then
  538. if (player.Character ~= nil) then
  539. if (player.Character:FindFirstChild("Head") ~= nil) then
  540. local M = Game:GetService("InsertService"):loadAsset(60188642)["UFO"]
  541. M.Parent = Workspace
  542. M:MakeJoints()
  543. for i = 1, 2000 do
  544. M.Main.BodyPosition.position = Vector3.new(player.Character.Head.Position.X, UFO.BodyPosition.position.Y, player.Character.Head.Position.Z)
  545. wait()
  546. end
  547. M:Remove()
  548. end
  549. end
  550. end
  551. end
  552. end
  553. if (string.sub(msg, 1, 6) == "drain/") then
  554. for word in msg:gmatch("%w+") do
  555. local player = matchPlayer(word)
  556. if (player ~= nil) then
  557. for i = 1, 50 do
  558. if player.Character ~= nil then
  559. if player.Character:FindFirstChild("Humanoid") ~= nil then
  560. player.Character.Humanoid.Health = player.Character.Humanoid.Health - 2
  561. if Admin.Character.Humanoid.Health == Admin.Character.Humanoid.MaxHealth then
  562. Admin.Character.Humanoid.MaxHealth = Admin.Character.Humanoid.MaxHealth + 100
  563. end
  564. Admin.Character.Humanoid.Health = Admin.Character.Humanoid.Health + 2
  565. wait(.1)
  566. end
  567. end
  568. end
  569. end
  570. end
  571. end
  572. if (string.sub(msg,1,3) == "id/") then
  573. for word in msg:gmatch("%w+") do
  574. local player = matchPlayer(word)
  575. if (player ~= nil) then
  576. local M = Instance.new("Message")
  577. M.Parent = Workspace
  578. M.Text = "Hey master " ..Admin.Name.. ", did you know that " ..player.Name.. "'s userId is " ..player.userId.. "?"
  579. wait(5)
  580. M:Remove()
  581. end
  582. end
  583. end
  584. if (string.sub(msg, 1, 6) == "shank/") then
  585. for word in msg:gmatch("%w+") do
  586. local player = matchPlayer(word)
  587. if (player ~= nil) then
  588. if player.Character ~= nil then
  589. if player.Character:FindFirstChild("Head") ~= nil then
  590. local P = Instance.new("Part")
  591. P.Parent = player.Character
  592. P.Size = Vector3.new(3, 1, 1)
  593. P.Position = player.Character.Head.Position
  594. P.CFrame = player.Character.Head.CFrame
  595. P.Name = "Sword"
  596. P.CanCollide = false
  597. P.Anchored = true
  598. m = Instance.new("SpecialMesh")
  599. m.MeshType = "FileMesh"
  600. m.MeshId = "rbxasset://fonts/sword.mesh"
  601. m.Scale = Vector3.new(2,2,2)
  602. m.Parent = P
  603. local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  604. QuickScript.Name = "PlaySound"
  605. QuickScript.Debug:Remove()
  606. QuickScript.NewSource.Value = [[
  607. while true do
  608. script.Parent.Sword.CFrame = CFrame.new(script.Parent.Head.Position)
  609. wait()
  610. end
  611. ]]
  612. QuickScript.Parent = player.Character
  613. wait(2)
  614. if player.Character ~= nil then
  615. if player.Character:FindFirstChild("Head") ~= nil then
  616. player.Character.Head:Remove()
  617. else
  618. player.Character:BreakJoints()
  619. end
  620. end
  621. P:Remove()
  622. end
  623. end
  624. end
  625. end
  626. end
  627. if (string.sub(msg, 1, 9) == "breakbase") then
  628. if Workspace:FindFirstChild("ABreakBase") == nil then
  629. if Workspace:FindFirstChild("Base") ~= nil then
  630. Workspace.Base:Remove()
  631. end
  632. for i,v in pairs(Workspace:GetChildren()) do
  633. if v:IsA("BasePart") then
  634. v:Remove()
  635. end
  636. end
  637. local V = Instance.new("IntValue")
  638. V.Name = "ABreakBase"
  639. V.Parent = Workspace
  640. V.Value = 0
  641. local Total = 1000 -- The number of bricks total you want the board to create. You may edit this.
  642. local SpawnPos = Vector3.new(0,0.2,0)
  643.  
  644. local Brick = Instance.new("Part")
  645. Brick.FormFactor = 2
  646. Brick.Size = Vector3.new(10,0.4,10)
  647. Brick.Anchored = true
  648. Brick.BrickColor = BrickColor.Green()
  649. ---
  650. local Pos = SpawnPos + Vector3.new(Brick.Size.x / 2,0,0)
  651. local Model = Workspace
  652. ---
  653. for X = 1, math.sqrt(Total) / 2 do
  654. local BPos = Pos + Vector3.new(0,0,Brick.Size.z / 2)
  655. for X = 1, math.sqrt(Total) / 2 do
  656. local Part = Brick:clone()
  657. Part.Parent = Model
  658. Part.CFrame = CFrame.new(BPos)
  659. BPos = BPos + Vector3.new(0,0,Brick.Size.z)
  660. end
  661. local BPos = Pos - Vector3.new(0,0,Brick.Size.z / 2)
  662. for X = 1, math.sqrt(Total) / 2 do
  663. local Part = Brick:clone()
  664. Part.Parent = Model
  665. Part.CFrame = CFrame.new(BPos)
  666. BPos = BPos - Vector3.new(0,0,Brick.Size.z)
  667. end
  668. Pos = Pos + Vector3.new(Brick.Size.x,0,0)
  669. end
  670. local Pos = SpawnPos - Vector3.new(Brick.Size.x / 2,0,0)
  671. for X = 1, math.sqrt(Total) / 2 do
  672. local BPos = Pos + Vector3.new(0,0,Brick.Size.z / 2)
  673. for X = 1, math.sqrt(Total) / 2 do
  674. local Part = Brick:clone()
  675. Part.Parent = Model
  676. Part.CFrame = CFrame.new(BPos)
  677. BPos = BPos + Vector3.new(0,0,Brick.Size.z)
  678. end
  679. local BPos = Pos - Vector3.new(0,0,Brick.Size.z / 2)
  680. for X = 1, math.sqrt(Total) / 2 do
  681. local Part = Brick:clone()
  682. Part.Parent = Model
  683. Part.CFrame = CFrame.new(BPos)
  684. BPos = BPos - Vector3.new(0,0,Brick.Size.z)
  685. end
  686. Pos = Pos - Vector3.new(Brick.Size.x,0,0)
  687. end
  688. end
  689. end
  690. if (string.sub(msg, 1, 8) == "exshank/") then
  691. for word in msg:gmatch("%w+") do
  692. local player = matchPlayer(word)
  693. if (player ~= nil) then
  694. if player.Character ~= nil then
  695. if player.Character:FindFirstChild("Head") ~= nil then
  696. local P = Instance.new("Part")
  697. P.Parent = player.Character
  698. P.Size = Vector3.new(3, 1, 1)
  699. P.Position = player.Character.Head.Position
  700. P.CFrame = player.Character.Head.CFrame
  701. P.Name = "Sword"
  702. P.CanCollide = false
  703. P.Anchored = true
  704. m = Instance.new("SpecialMesh")
  705. m.MeshType = "FileMesh"
  706. m.MeshId = "rbxasset://fonts/sword.mesh"
  707. m.Scale = Vector3.new(2,2,2)
  708. m.Parent = P
  709. local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  710. QuickScript.Name = "PlaySound"
  711. QuickScript.Debug:Remove()
  712. QuickScript.NewSource.Value = [[
  713. local Sound = Instance.new("Sound")
  714. Sound.Pitch = 1.5
  715. Sound.Volume = 1
  716. Sound.SoundId = "http://www.roblox.com/Asset/?id=15666462"
  717. Sound.Parent = script.Parent.Head
  718. Tock = .5
  719. for i = 1, 9 do
  720. Sound:Play()
  721. wait(Tock)
  722. Tock = Tock - .1
  723. end
  724. script:Remove()
  725. ]]
  726. QuickScript.Parent = player.Character
  727. local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  728. QuickScript.Name = "PlaySound"
  729. QuickScript.Debug:Remove()
  730. QuickScript.NewSource.Value = [[
  731. while true do
  732. script.Parent.Sword.CFrame = CFrame.new(script.Parent.Head.Position)
  733. wait()
  734. end
  735. ]]
  736. QuickScript.Parent = player.Character
  737. wait(2)
  738. if player.Character ~= nil then
  739. if player.Character:FindFirstChild("Head") ~= nil then
  740. local e = Instance.new("Explosion")
  741. e.Parent = Workspace
  742. e.Position = player.Character.Head.Position
  743. e.BlastPressure = 50000
  744. e.BlastRadius = 15
  745. else
  746. player.Character:BreakJoints()
  747. end
  748. end
  749. P:Remove()
  750. end
  751. end
  752. end
  753. end
  754. end
  755. if (string.sub(msg, 1, 8) == "explode/") then
  756. for word in msg:gmatch("%w+") do
  757. local player = matchPlayer(word)
  758. if (player ~= nil) then
  759. if player.Character ~= nil then
  760. if player.Character:FindFirstChild("Head") ~= nil then
  761. SavedPos = player.Character.Head.Position
  762. local e = Instance.new("Explosion")
  763. e.Parent = Workspace
  764. e.BlastPressure = 1000000
  765. e.BlastRadius = 15
  766. e.Position = player.Character.Head.Position
  767. local Bubble = Instance.new("Part")
  768. Bubble.Parent = Workspace
  769. Bubble.Position = player.Character.Head.Position
  770. Bubble.Size = Vector3.new(5, 5, 5)
  771. Bubble.formFactor = ("Symmetric")
  772. Bubble.Transparency = .3
  773. Bubble.BrickColor = BrickColor.new("Bright yellow")
  774. Bubble.TopSurface = ("Smooth")
  775. Bubble.BottomSurface = ("Smooth")
  776. Bubble.Shape = ("Ball")
  777. Bubble.CanCollide = false
  778. Bubble.Anchored = true
  779. local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  780. QuickScript.Name = "RotationScript"
  781. QuickScript.Debug:Remove()
  782. QuickScript.NewSource.Value = [[
  783. for i = 1, 100 do
  784. SavedPos = script.Parent.Position
  785. script.Parent.Size = script.Parent.Size + Vector3.new(.2, .2, .2)
  786. script.Parent.Transparency = script.Parent.Transparency + .01
  787. script.Parent.CFrame = CFrame.new(SavedPos)
  788. for i, v in pairs(Players:GetChildren()) do
  789. if v.Character ~= nil then
  790. if v.Character:FindFirstChild("Head") ~= nil then
  791. if (v.Character.Head.Position - script.Parent.Position).magnitude < script.Parent.Size.X / 2
  792. v.Character:BreakJoints()
  793. v.Character.Head:Remove()
  794. end
  795. end
  796. end
  797. end
  798. wait()
  799. end
  800. ]]
  801. QuickScript.Parent = Bubble
  802. end
  803. end
  804. end
  805. end
  806. end
  807. if msg == "meteors" then
  808. meteornum = 200
  809. time = 5
  810. local S = Instance.new("Sound")
  811. S.Parent = Workspace
  812. S.Name = "Sound"
  813. S.SoundId = "http://www.roblox.com/asset/?id=15666462"
  814. S.Volume = 1
  815. S.Looped = false
  816. S.archivable = false
  817. local T = Instance.new("Sound")
  818. T.Parent = Workspace
  819. T.Name = "Sound"
  820. T.SoundId = "http://www.roblox.com/asset/?id=1015394"
  821. T.Volume = 1
  822. T.Looped = true
  823. T.archivable = false
  824. ---------------------------------------
  825. for i = 1, time do
  826. local M = Instance.new("Message")
  827. M.Parent = Workspace
  828. M.Text = "Davillion has predicted a meteor shower!... it will hit in about " ..time.. " seconds!"
  829. wait(1)
  830. time = time - 1
  831. S:Play()
  832. M:Remove()
  833. end
  834. ---------------------------------------
  835. T:Play()
  836. local M = Instance.new("Message")
  837. M.Parent = Workspace
  838. M.Text = "It will be all over soon >:D"
  839. wait(3)
  840. M:Remove()
  841. ---------------------------------------
  842. for i = 1, meteornum do
  843. local p = Instance.new("Part")
  844. p.Parent = Workspace
  845. p.Position = Vector3.new(math.random(-256, 256), 300, math.random(-256, 256))
  846. p.Name = "Meteor"
  847. p.Size = Vector3.new(30, 10, 27)
  848. p.BrickColor = BrickColor.Red()
  849. p.Material = ("CorrodedMetal")
  850. function onTouched(hit)
  851. hit:BreakJoints()
  852. end
  853. p.Touched:connect(onTouched)
  854. wait(.25)
  855. end
  856. for i,v in pairs(Workspace:GetChildren()) do
  857. if v.Name == "Meteor" then
  858. v:Remove()
  859. M:Remove()
  860. end
  861. end
  862. T:Stop()
  863. T:Remove()
  864. end
  865.  
  866. if (string.sub(msg,1, 5) == "kick/") then
  867. for word in msg:gmatch("%w+") do
  868. local player = matchPlayer(word)
  869. if (player ~= nil) then
  870. if (player.Character ~= nil) then
  871. if player.Character:FindFirstChild("Head") ~= nil then
  872. Game:GetService("Chat"):Chat(player.Character.Head, "I am a noob, so I will now leave.", "Red")
  873. wait(3)
  874. end
  875. end
  876. player:Remove()
  877. end
  878. end
  879. end
  880. if (string.sub(msg,1, 4) == "ban/") then
  881. for word in msg:gmatch("%w+") do
  882. local player = matchPlayer(word)
  883. if (player ~= nil) then
  884. if (player.Character ~= nil) then
  885. if player.Character:FindFirstChild("Head") ~= nil then
  886. Game:GetService("Chat"):Chat(player.Character.Head, "I am a noob, so I will now leave and never return!", "Red")
  887. wait(3)
  888. end
  889. end
  890. table.insert(Banned, player.Name)
  891. player:Remove()
  892. end
  893. end
  894. end
  895. if (string.sub(msg, 1, 4) == "unban/") then
  896. Player = string.sub(msg, 5)
  897. for i = 1, #Banned do
  898. if Player:lower() == Banned[i]:lower() then
  899. table.remove(Banned, Player)
  900. end
  901. end
  902. end
  903. if (string.sub(msg, 1, 7) == "health/") then
  904. for word in msg:gmatch("%w+") do
  905. local player = matchPlayer(word)
  906. local number = msg:match("[%d%.]+") --Trololololol
  907. if (number ~= nil) then
  908. if (player ~= nil) then
  909. player.Character.Humanoid.Health = tonumber(number)
  910. end
  911. end
  912. end
  913. end
  914. if (string.sub(msg, 1, 6) == "speed/") then
  915. for word in msg:gmatch("%w+") do
  916. local player = matchPlayer(word)
  917. local number = msg:match("[%d%.]+")
  918. if (number ~= nil) then
  919. if (player ~= nil) then
  920. if (player.Character ~= nil) then
  921. if (player.Character:FindFirstChild("Humanoid") ~= nil) then
  922. player.Character.Humanoid.WalkSpeed = tonumber(number)
  923. end
  924. end
  925. end
  926. end
  927. end
  928. end
  929. if (string.sub(msg, 1, 9) == "loopkill/") then
  930. local number = msg:match("[%d%.]+")
  931. if (number ~= nil) then
  932. for i = 1, number do
  933. for word in msg:gmatch("%w+") do
  934. local player = matchPlayer(word)
  935. if (player ~= nil) then
  936. if (player.Character ~= nil) then
  937. player.Character:BreakJoints()
  938. end
  939. end
  940. end
  941. wait(6)
  942. end
  943. end
  944. end
  945. if (string.sub(msg, 1, 4) == "age/") then
  946. for word in msg:gmatch("%w+") do
  947. local player = matchPlayer(word)
  948. if (player ~= nil) then
  949. local M = Instance.new("Message")
  950. M.Parent = Workspace
  951. M.Text = player.Name.. "'s account age is " ..player.AccountAge.. "!"
  952. wait(3)
  953. M:Remove()
  954. end
  955. end
  956. end
  957. if (string.sub(msg, 1, 8) == "respawn/") then
  958. for word in msg:gmatch("%w+") do
  959. local player = matchPlayer(word)
  960. if (player ~= nil) then
  961. local model = Instance.new("Model")
  962. model.Parent = Workspace
  963. local torso = Instance.new("Part")
  964. torso.Transparency = 1
  965. torso.CanCollide = false
  966. torso.Anchored = true
  967. torso.Name = "Torso"
  968. torso.Position = Vector3.new(10000, 10000, 10000)
  969. torso.Parent = model
  970. local human = Instance.new("Humanoid")
  971. human.Torso = torso
  972. human.Parent = model
  973. player.Character = model
  974. end
  975. end
  976. end
  977. if (string.sub(msg, 1, 6) == "clone/") then
  978. for word in msg:gmatch("%w+") do
  979. local player = matchPlayer(word)
  980. if (player ~= nil) then
  981. if (player.Character ~= nil) then
  982. if (player.Character:FindFirstChild("Head") ~= nil) then
  983. player.Character.Archivable = true
  984. local Clone = player.Character:Clone()
  985. Clone.Parent = Workspace
  986. Clone:MakeJoints()
  987. Clone:MoveTo(player.Character.Head.Position + Vector3.new(0, 10, 0))
  988. end
  989. end
  990. end
  991. end
  992. end
  993. if (string.sub(msg, 1, 11) == "appearance/") then
  994. Admin.Character:BreakJoints()
  995. Admin.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=" ..string.sub(msg,12)
  996. end
  997.  
  998. --By the way, Telamon's ID is 261.
  999.  
  1000. if (string.sub(msg, 1, 7) == "guest/") then
  1001. for word in msg:gmatch("%w+") do
  1002. local player = matchPlayer(word)
  1003. if (player ~= nil) then
  1004. if (player.Character ~= nil) then
  1005. player.Character:BreakJoints()
  1006. end
  1007. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1"
  1008. end
  1009. end
  1010. end
  1011. if (string.sub(msg, 1, 4) == "fan/") then
  1012. for word in msg:gmatch("%w+") do
  1013. local player = matchPlayer(word)
  1014. if (player ~= nil) then
  1015. if (player.Character ~= nil) then
  1016. player.Character:BreakJoints()
  1017. end
  1018. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=13873198"
  1019. end
  1020. end
  1021. end
  1022. if (string.sub(msg, 1, 5) == "suit/") then
  1023. for word in msg:gmatch("%w+") do
  1024. local player = matchPlayer(word)
  1025. if (player ~= nil) then
  1026. if (player:FindFirstChild("Backpack") ~= nil) then
  1027. if (player.Character ~= nil) then
  1028. player.Character:BreakJoints()
  1029. end
  1030. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=19451007"
  1031. local M = Game:GetService("InsertService"):loadAsset(60213688)["Weapons"]
  1032. Tag = Game:FindFirstChild("ControlFrame", true)
  1033. M.Parent = Tag
  1034. M.Admin.Value = Name
  1035. end
  1036. end
  1037. end
  1038. end
  1039. if (string.sub(msg, 1, 6) == "suit2/") then
  1040. for word in msg:gmatch("%w+") do
  1041. local player = matchPlayer(word)
  1042. if (player ~= nil) then
  1043. if (player:FindFirstChild("Backpack") ~= nil) then
  1044. if (player.Character ~= nil) then
  1045. player.Character:BreakJoints()
  1046. end
  1047. player.CharacterAppearance = "http://www.roblox.com/asset/?ID=61380895"
  1048. end
  1049. end
  1050. end
  1051. end
  1052. if (string.sub(msg, 1, 6) == "blind/") then
  1053. for word in msg:gmatch("%w+") do
  1054. local player = matchPlayer(word)
  1055. if (player ~= nil) then
  1056. if (player:FindFirstChild("PlayerGui") ~= nil) then
  1057. local Gui = Instance.new("ScreenGui")
  1058. Gui.Parent = player.PlayerGui
  1059. Gui.Name = "BlindGui"
  1060. local Frame = Instance.new("Frame")
  1061. Frame.Parent = Gui
  1062. Frame.Name = "Frame" --Trolololol
  1063. Frame.Size = UDim2.new(1, 0, 1, 0)
  1064. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  1065. end
  1066. end
  1067. end
  1068. end
  1069. if (string.sub(msg, 1, 8) == "unblind/") then
  1070. for word in msg:gmatch("%w+") do
  1071. local player = matchPlayer(word)
  1072. if (player ~= nil) then
  1073. if (player:FindFirstChild("PlayerGui") ~= nil) then
  1074. if (player.PlayerGui:FindFirstChild("BlindGui") ~= nil) then
  1075. player.PlayerGui.BlindGui:Remove()
  1076. end
  1077. end
  1078. end
  1079. end
  1080. end
  1081. if (string.sub(msg, 1, 7) == "zombie/") then
  1082. for word in msg:gmatch("%w+") do
  1083. local player = matchPlayer(word)
  1084. if (player ~= nil) then
  1085. if (player.Character ~= nil) then
  1086. if (player.Character:FindFirstChild("Animate") ~= nil) then
  1087. player.Character.Animate:Remove()
  1088. end
  1089. if (player.Character:FindFirstChild("Torso") ~= nil) then
  1090. player.Character.Torso["Left Shoulder"].DesiredAngle = (-1.5)
  1091. player.Character.Torso["Right Shoulder"].DesiredAngle = (1.5)
  1092. end
  1093. local M = Game:GetService("InsertService"):loadAsset(60262835)["Animate"]
  1094. M.Parent = player.Character
  1095. end
  1096. end
  1097. end
  1098. end
  1099. if (string.sub(msg, 1, 5) == "mini/") then
  1100. for word in msg:gmatch("%w+") do
  1101. local player = matchPlayer(word)
  1102. if (player ~= nil) then
  1103. if (player.Character ~= nil) then
  1104. size(player.Character, .5)
  1105. end
  1106. end
  1107. end
  1108. end
  1109. if (string.sub(msg, 1, 6) == "giant/") then
  1110. for word in msg:gmatch("%w+") do
  1111. local player = matchPlayer(word)
  1112. if (player ~= nil) then
  1113. if (player.Character ~= nil) then
  1114. size(player.Character, 2)
  1115. end
  1116. end
  1117. end
  1118. end
  1119. if (string.sub(msg, 1, 5) == "noob/") then
  1120. for word in msg:gmatch("%w+") do
  1121. local player = matchPlayer(word)
  1122. if (player ~= nil) then
  1123. if (player.Character ~= nil) then
  1124. player.Character:BreakJoints()
  1125. end
  1126. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=9676343"
  1127. end
  1128. end
  1129. end
  1130. if (string.sub(msg, 1, 8) == "telamon/") then
  1131. for word in msg:gmatch("%w+") do
  1132. local player = matchPlayer(word)
  1133. if (player ~= nil) then
  1134. if (player.Character ~= nil) then
  1135. player.Character:BreakJoints()
  1136. end
  1137. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=261"
  1138. end
  1139. end --lol, told you it was 261.
  1140. end
  1141. if (string.sub(msg, 1, 6) == "train/") then
  1142. for word in msg:gmatch("%w+") do
  1143. local player = matchPlayer(word)
  1144. if (player ~= nil) then
  1145. if (player.Character ~= nil) then
  1146. if (player.Character.Parent ~= nil) then
  1147. if (player.Character.Parent == Workspace) then
  1148. if (player.Character:FindFirstChild("Torso") ~= nil) then
  1149. if (player.Character:FindFirstChild("Humanoid") ~= nil) then
  1150. Train = Game:GetService("InsertService"):loadAsset(61202034)["_Train"]
  1151. Train.Parent = Game.Workspace
  1152. Train:MakeJoints()
  1153. Train:MoveTo(player.Character.Torso.Position + Vector3.new(math.random(10, 20), -3, math.random(10, 20)))
  1154. player.Character:MoveTo(Train.TeleTo.Position + Vector3.new(0, 5, 0))
  1155. player.Character.Humanoid.WalkSpeed = 0
  1156. end
  1157. end
  1158. end
  1159. end
  1160. end
  1161. end
  1162. end
  1163. end
  1164. if (string.sub(msg, 1, 5) == "dome/") then
  1165. for word in msg:gmatch("%w+") do
  1166. local player = matchPlayer(word)
  1167. if (player ~= nil) then
  1168. if (player.Character ~= nil) then
  1169. if (player.Character:FindFirstChild("Torso") ~= nil) then
  1170. Dome = Game:GetService("InsertService"):loadAsset(61208040)["DaviDome"]
  1171. Dome.Parent = Game.Workspace
  1172. Dome:MakeJoints()
  1173. Dome:MoveTo(player.Character.Torso.Position)
  1174. end
  1175. end
  1176. end
  1177. end
  1178. end
  1179. if (string.sub(msg, 1, 6) == "smash/") or (string.sub(msg, 1, 6) == "crush/") then
  1180. for word in msg:gmatch("%w+") do
  1181. local player = matchPlayer(word)
  1182. if (player ~= nil) then
  1183. if (player.Character ~= nil) then
  1184. if (player.Character:FindFirstChild("Head") ~= nil) then
  1185. if (player.Character:FindFirstChild("Humanoid") ~= nil) then
  1186. player.Character.Humanoid.WalkSpeed = 0
  1187. p = Instance.new("Part")
  1188. p.Parent = Workspace
  1189. p.Size = Vector3.new(10, 10, 5)
  1190. p.Position = player.Character.Head.Position + Vector3.new(0, 10, 0)
  1191. p.CFrame = CFrame.new(player.Character.Head.Position + Vector3.new(0, 10, 0))
  1192. p.Name = "SmashBrick"
  1193. p.Anchored = true
  1194. p.Transparency = 1
  1195. p.CanCollide = false
  1196. local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  1197. QuickScript.Name = "SmashScript"
  1198. QuickScript.Debug:Remove()
  1199. QuickScript.NewSource.Value = [[
  1200. function onTouched(hit)
  1201. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  1202. hit.Parent:BreakJoints()
  1203. end
  1204. end
  1205.  
  1206. script.Parent.Touched:connect(onTouched)
  1207.  
  1208. for i = 1, 10 do
  1209. script.Parent.Transparency = script.Parent.Transparency - .1
  1210. wait()
  1211. end
  1212. ----------
  1213. wait(1)
  1214. script.Parent.Anchored = false
  1215. wait(.5)
  1216. script.Parent.Anchored = true
  1217. ---
  1218. for i = 1, 10 do
  1219. script.Parent.Transparency = script.Parent.Transparency + .1
  1220. wait()
  1221. end
  1222. ----------
  1223. script.Parent:Remove()
  1224. ---
  1225. ]]
  1226. QuickScript.Parent = p
  1227. end
  1228. end
  1229. end
  1230. end
  1231. end
  1232. end
  1233.  
  1234. --------------------------------
  1235.  
  1236. local test = 46382737
  1237. local sfotho = 60945618
  1238. local Khranos = 45058287
  1239. local Crossroads = 40791313
  1240. local RHQ = 42643984
  1241. local sfoth4 = 45546307
  1242. local frost = 44264294
  1243. local glass = 45926181
  1244. local rocket = 45926078
  1245. local mansion = 45926383
  1246. local l4d = 38053179
  1247. local zombie = 42160959
  1248. local blcity = 42991783
  1249. local ww2 = 60946203
  1250. local cliff = 60946802
  1251.  
  1252. if msg == "blcity" then
  1253. for i, v in pairs(Workspace:GetChildren()) do
  1254. if v:IsA("BasePart") or v.Name == "Base" then
  1255. v:Remove()
  1256. end
  1257. end
  1258. model(blcity,Workspace)
  1259. end
  1260.  
  1261. if msg == "ww2" then
  1262. for i, v in pairs(Workspace:GetChildren()) do
  1263. if v:IsA("BasePart") or v.Name == "Base" then
  1264. v:Remove()
  1265. end
  1266. end
  1267. model(ww2, Workspace)
  1268. end
  1269.  
  1270. if msg == "cliff" then
  1271. for i, v in pairs(Workspace:GetChildren()) do
  1272. if v:IsA("BasePart") or v.Name == "Base" then
  1273. v:Remove()
  1274. end
  1275. end
  1276. model(cliff, Workspace)
  1277. end
  1278.  
  1279. if msg == "test" then
  1280. for i, v in pairs(Workspace:GetChildren()) do
  1281. if v:IsA("BasePart") or v.Name == "Base" then
  1282. v:Remove()
  1283. end
  1284. end
  1285. model(test,Workspace)
  1286. end
  1287.  
  1288. if msg == "l4d" then
  1289. for i, v in pairs(Workspace:GetChildren()) do
  1290. if v:IsA("BasePart") or v.Name == "Base" then
  1291. v:Remove()
  1292. end
  1293. end
  1294. model(l4d,Workspace)
  1295. end
  1296.  
  1297. if msg == "zombie" then
  1298. for i, v in pairs(Workspace:GetChildren()) do
  1299. if v:IsA("BasePart") or v.Name == "Base" then
  1300. v:Remove()
  1301. end
  1302. end
  1303. model(zombie,Workspace)
  1304. end
  1305.  
  1306. if msg == "chaos" then
  1307. for i, v in pairs(Workspace:GetChildren()) do
  1308. if v:IsA("BasePart") or v.Name == "Base" then
  1309. v:Remove()
  1310. end
  1311. end
  1312. model(Chaos,Workspace)
  1313. end
  1314.  
  1315. if msg == "frost" then
  1316. for i, v in pairs(Workspace:GetChildren()) do
  1317. if v:IsA("BasePart") or v.Name == "Base" then
  1318. v:Remove()
  1319. end
  1320. end
  1321. model(frost,Workspace)
  1322. end
  1323.  
  1324. if msg == "glass" then
  1325. model(glass,Workspace)
  1326. end
  1327.  
  1328. if msg == "rocket" then
  1329. model(rocket,Workspace)
  1330. end
  1331.  
  1332. if msg == "mansion" then
  1333. model(mansion,Workspace)
  1334. end
  1335.  
  1336.  
  1337. if msg == "sfotho" then
  1338. for i, v in pairs(Workspace:GetChildren()) do
  1339. if v:IsA("BasePart") or v.Name == "Base" then
  1340. v:Remove()
  1341. end
  1342. end
  1343. model(sfotho,Workspace)
  1344. end
  1345.  
  1346. if msg == "rhq" then
  1347. model(RHQ,Workspace)
  1348. end
  1349.  
  1350. if msg == "khranos" then
  1351. for i, v in pairs(Workspace:GetChildren()) do
  1352. if v:IsA("BasePart") or v.Name == "Base" then
  1353. v:Remove()
  1354. end
  1355. end
  1356. model(Khranos,Workspace)
  1357. end
  1358.  
  1359. if msg == "crossroads" then
  1360. lawhlzmap = game:GetService("InsertService"):LoadAsset(Crossroads)
  1361. lawhlzmap.Parent = Workspace
  1362. lawhlzmap:makeJoints()
  1363. end
  1364.  
  1365.  
  1366. if msg == "sfoth4" then
  1367. for i, v in pairs(Workspace:GetChildren()) do
  1368. if v:IsA("BasePart") or v.Name == "Base" then
  1369. v:Remove()
  1370. end
  1371. end
  1372. lawhlzmap = Game:GetService("InsertService"):LoadAsset(sfoth4)
  1373. lawhlzmap.Parent = Workspace
  1374. lawhlzmap:makeJoints()
  1375. end
  1376.  
  1377.  
  1378. --[[Maps end]]
  1379. ---------------------------------------
  1380.  
  1381. if msg == "phrase" then
  1382. Notify("And now a word from " ..Admin.Name.. ".")
  1383. wait(6)
  1384. v = math.random(1, #phrase)
  1385. Notify(phrase[v])
  1386. end
  1387. if (string.sub(msg, 1, 9) == "delimber/") then
  1388. for word in msg:gmatch("%w+") do
  1389. local player = matchPlayer(word)
  1390. if (player ~= nil) then
  1391. if player.Character ~= nil then
  1392. player.Character:BreakJoints()
  1393. player.Character:MakeJoints()
  1394. end
  1395. end
  1396. end
  1397. end
  1398. if (string.sub(msg, 1, 7) == "render/") then
  1399. for word in msg:gmatch("%w+") do
  1400. local player = matchPlayer(word)
  1401. if (player ~= nil) then
  1402. if player.Character ~= nil then
  1403. if player.Character:FindFirstChild("Humanoid") ~= nil then
  1404. player.Character.Humanoid.WalkSpeed = math.huge * math.huge * math.huge
  1405. end
  1406. end
  1407. end
  1408. end
  1409. end
  1410. if (string.sub(msg, 1, 6) == "troll/") then
  1411. for word in msg:gmatch("%w+") do
  1412. local player = matchPlayer(word)
  1413. if (player ~= nil) then
  1414. if player:FindFirstChild("PlayerGui") ~= nil then
  1415. g = game:GetService("InsertService"):LoadAsset(58558812)
  1416. g.Parent = Workspace
  1417. for i, v in pairs(Players:GetChildren()) do
  1418. if v:FindFirstChild("PlayerGui") ~= nil then
  1419. c = g.TrollGui:Clone()
  1420. c.Parent = player.PlayerGui
  1421. end
  1422. end
  1423. end
  1424. end
  1425. end
  1426. end
  1427. if (string.sub(msg, 1, 8) == "torture/") then
  1428. for word in msg:gmatch("%w+") do
  1429. local player = matchPlayer(word)
  1430. if (player ~= nil) then
  1431. if (player:FindFirstChild("PlayerGui") ~= nil) then
  1432. local Gui = Instance.new("ScreenGui")
  1433. Gui.Parent = player.PlayerGui
  1434. Gui.Name = "_TortureGui"
  1435. local Image = Instance.new("ImageLabel")
  1436. Image.Parent = Gui
  1437. Image.Position = UDim2.new(0, 0, 0, 0)
  1438. Image.Size = UDim2.new(1, 0, 1, 0)
  1439. Image.Name = "ImageLabel"
  1440. local Lolwut = Instance.new("TextLabel")
  1441. Lolwut.Parent = Image
  1442. Lolwut.Name = "Lolwut"
  1443. Lolwut.Position = UDim2.new(.5, 0, .5, 0)
  1444. Lolwut.Text = "Increasing speed..."
  1445. Lolwut.Visible = false
  1446. local S = Instance.new("Sound")
  1447. S.Parent = Image
  1448. S.Name = "Trolololol"
  1449. S.SoundId = "http://www.roblox.com/asset/?id=27697298"
  1450. S.Volume = 1
  1451. S.Looped = true
  1452. S.archivable = false
  1453. S.Pitch = 2
  1454. S:Play()
  1455. print("This should print.")
  1456. local QuickScript = Game:GetService("InsertService"):loadAsset(54471119)["QuickScript"]
  1457. QuickScript.Name = "Script"
  1458. QuickScript.Debug:Remove()
  1459. QuickScript.NewSource.Value = [[
  1460. Images = {"http://www.roblox.com/asset/?id=60457275", "http://www.roblox.com/asset/?id=60457295", "http://www.roblox.com/asset/?id=60457311", "http://www.roblox.com/asset/?id=60457338", "http://www.roblox.com/asset/?id=60457366"}
  1461.  
  1462. script.Parent.Parent.Trolololol:Play()
  1463. wait() --Is this truly necessary?
  1464. script.Parent.Parent.Trolololol:Play()
  1465. Q = 0
  1466. Time = .1
  1467.  
  1468. while true do
  1469. Q = Q + 1
  1470. i = math.random(1, #Images)
  1471. script.Parent.Image = Images[i]
  1472. if Q == 100 then
  1473. script.Parent.Lolwut.Visible = true
  1474. script.Parent.Parent.Trolololol.Pitch = script.Parent.Parent.Trolololol.Pitch + .5
  1475. Time = Time - (Time / 2)
  1476. Q = 0
  1477. end
  1478. wait(Time)
  1479. end
  1480. ]]
  1481. QuickScript.Parent = Image
  1482. local QuickScript2 = Game:GetService("InsertService"):loadAsset(54471119)["QuickScript"]
  1483. QuickScript2.Name = "Script"
  1484. QuickScript2.Debug:Remove()
  1485. QuickScript2.NewSource.Value = [[
  1486. while true do
  1487. if script.Parent.Visible == true then
  1488. wait(1.5)
  1489. script.Parent.Visible = false
  1490. end
  1491. wait()
  1492. end
  1493. ]]
  1494. QuickScript2.Parent = Lolwut
  1495. end
  1496. end
  1497. end
  1498. end
  1499. if (string.sub(msg, 1, 10) == "untorture/") then
  1500. for word in msg:gmatch("%w+") do
  1501. local player = matchPlayer(word)
  1502. if (player ~= nil) then
  1503. if (player:FindFirstChild("PlayerGui") ~= nil) then
  1504. for i, v in pairs(player.PlayerGui:GetChildren()) do
  1505. if (v.Name == "_TortureGui") then
  1506. v:Remove()
  1507. end
  1508. end
  1509. end
  1510. end
  1511. end
  1512. end
  1513. if string.sub(msg, 1, 6) == "sword/" then
  1514. for word in msg:gmatch("%w+") do
  1515. local player = matchPlayer(word)
  1516. if (player ~= nil) then
  1517. if player:FindFirstChild("Backpack") ~= nil then
  1518. p = Game:GetService("InsertService"):loadAsset(60130896)["EpicKatana"]
  1519. p.Parent = player.Backpack
  1520. end
  1521. end
  1522. end
  1523. end
  1524. if msg == "taser" then
  1525. p = Game:GetService("InsertService"):loadAsset(58624722)
  1526. p.Parent = Workspace
  1527. p:MakeJoints()
  1528. p:MoveTo(Admin.Character.Torso.Position)
  1529. end
  1530. if string.sub(msg, 1, 7) == "cannon/" then
  1531. for word in msg:gmatch("%w+") do
  1532. local player = matchPlayer(word)
  1533. if (player ~= nil) then
  1534. if (player:FindFirstChild("Backpack") ~= nil) then
  1535. p = Game:GetService("InsertService"):loadAsset(60300581)["HandCannon"]
  1536. p.Parent = player.Backpack
  1537. end
  1538. end
  1539. end
  1540. end
  1541. if msg == "gun" then
  1542. p = Game:GetService("InsertService"):loadAsset(58607115)
  1543. p.Parent = Workspace
  1544. p:MakeJoints()
  1545. p:MoveTo(Admin.Character.Torso.Position)
  1546. end
  1547. if msg == "lasergun" then
  1548. p = Game:GetService("InsertService"):loadAsset(31574513)
  1549. p.Parent = Workspace
  1550. p:MakeJoints()
  1551. p:MoveTo(Admin.Character.Torso.Position)
  1552. end
  1553. if msg == "blustartup" then
  1554. p = Game:GetService("InsertService"):loadAsset(58633419)
  1555. p.Parent = Workspace
  1556. for i, v in pairs(Players:GetChildren()) do
  1557. local C = p.BlueStartup:Clone()
  1558. C.Parent = v.PlayerGui
  1559. end
  1560. end
  1561. if msg == "fireworks" then
  1562. fireworknum = 25
  1563. sparknum = 10
  1564. untilfireworks = 5
  1565. Game:GetService("Lighting").Ambient = Color3.new(56)
  1566. for i = 1, untilfireworks - 1 do
  1567. local M = Instance.new("Message")
  1568. M.Parent = Workspace
  1569. M.Text = "Yes Master " ..Admin.Name.. ", fireworks in " ..untilfireworks.. " seconds!"
  1570. wait(1)
  1571. M:Remove()
  1572. untilfireworks = untilfireworks - 1
  1573. end
  1574. local M = Instance.new("Message")
  1575. M.Parent = Workspace
  1576. M.Text = "Yes Master " ..Admin.Name.. ", fireworks in 1 second!"
  1577. wait(1)
  1578. M:Remove()
  1579. for i = 1, fireworknum do
  1580. local pos = Vector3.new(math.random(1, 100), math.random(50, 75), math.random(1, 100))
  1581. local e = Instance.new("Explosion")
  1582. e.Parent = Workspace
  1583. e.Position = pos
  1584. for i = 1, sparknum do
  1585. local s = Instance.new("Part")
  1586. s.Parent = Workspace
  1587. s.Position = pos
  1588. s.Size = Vector3.new(1, 1, 1)
  1589. s.Name = "Spark"
  1590. s.Shape = ("Ball")
  1591. s.BrickColor = BrickColor.new(math.random(100, 200))
  1592. function onTouched(hit)
  1593. if hit.Name ~= "Spark" then
  1594. s:Remove()
  1595. end
  1596. end
  1597. s.Touched:connect(onTouched)
  1598. local bv = Instance.new("BodyVelocity")
  1599. bv.Parent = s
  1600. bv.velocity = Vector3.new(math.random(-10, 10), -25, math.random(-10, 10))
  1601. end
  1602. for i = 1,5 do
  1603. Game:GetService("Lighting").Ambient = Color3.new(math.random(), math.random(), math.random())
  1604. wait(.05)
  1605. end
  1606. wait(3)
  1607. end
  1608. Game:GetService("Lighting").Ambient = Color3.new(1, 1, 1)
  1609. for i, v in pairs(Workspace:GetChildren()) do
  1610. if v.Name == "Spark" then
  1611. v:Remove()
  1612. end
  1613. end
  1614. end
  1615. if string.sub(msg, 1, 9) == "telemeto/" then
  1616. for word in msg:gmatch("%w+") do
  1617. local player = matchPlayer(word)
  1618. if (player ~= nil) then
  1619. if player.Character ~= nil then
  1620. if player.Character:FindFirstChild("Torso") ~= nil then
  1621. Admin.Character:MoveTo(player.Character.Torso.Position)
  1622. end
  1623. end
  1624. end
  1625. end
  1626. end
  1627. if string.sub(msg, 1, 9) == "teletome/" then
  1628. for word in msg:gmatch("%w+") do
  1629. local player = matchPlayer(word)
  1630. if (player ~= nil) then
  1631. if (player.Character ~= nil) then
  1632. if (player.Character:FindFirstChild("Torso") ~= nil) then
  1633. player.Character:MoveTo(Admin.Character.Torso.Position)
  1634. end
  1635. end
  1636. end
  1637. end
  1638. end
  1639. if string.sub(msg, 1, 8) == "boulder/" then
  1640. for word in msg:gmatch("%w+") do
  1641. local player = matchPlayer(word)
  1642. if (player ~= nil) then
  1643. if (player.Character ~= nil) then
  1644. if (player.Character:FindFirstChild("Head") ~= nil) then
  1645. for i = 1, 10 do
  1646. P = Instance.new("Part")
  1647. P.Parent = Workspace
  1648. P.Name = "Boulder"
  1649. P.formFactor = ("Symmetric")
  1650. P.Velocity = Vector3.new(0, 50, 0)
  1651. M = math.random(20, 40)
  1652. P.Size = Vector3.new(M, M, M)
  1653. P.Material = ("Slate")
  1654. P.Shape = ("Ball")
  1655. P.TopSurface = ("Smooth")
  1656. P.BottomSurface = ("Smooth")
  1657. P:BreakJoints()
  1658. P.Position = player.Character.Head.Position + Vector3.new(math.random(-10, 10), 30, math.random(-10, 10))
  1659. local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  1660. QuickScript.Name = "BoulderScript"
  1661. QuickScript.Debug:Remove()
  1662. QuickScript.NewSource.Value = [[
  1663. function onTouched(hit)
  1664. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  1665. hit.Parent:BreakJoints()
  1666. end
  1667. end
  1668.  
  1669. script.Parent.Touched:connect(onTouched)
  1670.  
  1671. ----------
  1672. wait(5)
  1673. ---
  1674. script.Parent:Remove()
  1675. ----------
  1676. ]]
  1677. QuickScript.Parent = P
  1678. end
  1679. end
  1680. end
  1681. end
  1682. end
  1683. end
  1684. if msg == "laser" then
  1685. Notify("Yes master " ..Admin.Name.. ", now firing a laser.")
  1686. local Laser = Instance.new("Part")
  1687. Laser.Parent = Workspace
  1688. Laser.Name = "DavillaLaser"
  1689. Laser.CFrame = CFrame.new(0, 0, 0)
  1690. Laser.Anchored = true
  1691. Laser.Locked = true
  1692. Laser.Size = Vector3.new(1000, 1000, 1000)
  1693. Laser.BrickColor = BrickColor.Red()
  1694. Laser.Material = ("CorrodedMetal")
  1695. for i, v in pairs(Workspace:GetChildren()) do
  1696. if v:IsA("Model") or v:IsA("Part") then
  1697. v:BreakJoints()
  1698. end
  1699. end
  1700. wait(3)
  1701. Laser:Remove()
  1702. end
  1703. if msg == "car" then
  1704. Reminder.Text = "Yes Master " ..Admin.Name.. ", now creating a personal car..."
  1705. wait(3)
  1706. p = Game:GetService("InsertService"):loadAsset("21598206")
  1707. p.Parent = Workspace
  1708. p:MakeJoints()
  1709. p:MoveTo(Admin.Character.Torso.Position + Vector3.new(0, 2, 10))
  1710. Reminder.Text = "Insert Service complete!"
  1711. wait(2)
  1712. Reminder.Text = "Davbot v9"
  1713. end
  1714. if msg == "reset" then
  1715. Reminder.Text = "Resetting...."
  1716. if Admin ~= 0 then
  1717. local ack2 = Instance.new("Model")
  1718. ack2.Parent = Workspace
  1719. local ack4 = Instance.new("Part")
  1720. ack4.Transparency = 1
  1721. ack4.CanCollide = false
  1722. ack4.Anchored = true
  1723. ack4.Name = "Torso"
  1724. ack4.Position = Vector3.new(10000, 10000, 10000)
  1725. ack4.Parent = ack2
  1726. local ack3 = Instance.new("Humanoid")
  1727. ack3.Torso = ack4
  1728. ack3.Parent = ack2
  1729. Admin.Character = ack2
  1730. end
  1731. Reminder.Text = "Davbot v9"
  1732. end
  1733. if msg == "shutdown" then
  1734. Notify("The server will now shutdown.")
  1735. wait(3)
  1736. Players.PlayerAdded:connect(function(np)np:Remove()end)
  1737. for a,b in pairs(Players:GetPlayers())do b:Remove()end
  1738. end
  1739. if msg == "nuke" then
  1740. Notify("Yes master " ..Admin.Name.. ", now firing a nuke!")
  1741. local NukeGui = Game:service("InsertService"):LoadAsset(60299178)["_NukeGui"]
  1742. for i, v in pairs(Players:GetChildren()) do
  1743. if v:IsA("Player") then
  1744. if v:FindFirstChild("PlayerGui") ~= nil then
  1745. local C = NukeGui:Clone()
  1746. C.Parent = v.PlayerGui
  1747. end
  1748. end
  1749. end
  1750. end
  1751. if msg == "sit" then
  1752. local M = Instance.new("Message")
  1753. M.Parent = Workspace
  1754. M.Text = "Yes Master " ..Admin.Name.. ", now forcing everyone to sit."
  1755. wait(3)
  1756. for i,v in pairs(Players:GetChildren()) do
  1757. if v:IsA("Player") then
  1758. v.Character.Humanoid.Sit = true
  1759. M:Remove()
  1760. end
  1761. end
  1762. end
  1763. if msg == "music" then
  1764. Notify("Yes master " ..Admin.Name.. ", DJ Davbot will now start some music." )
  1765. local T = Instance.new("Sound")
  1766. T.Parent = Workspace
  1767. T.Name = "Sound"
  1768. T.SoundId = "http://www.roblox.com/asset/?id=1015394"
  1769. T.Volume = 0
  1770. T.Looped = true
  1771. T.archivable = false
  1772. T:Play()
  1773. T:Play()
  1774. for i = 1, 100 do
  1775. T.Volume = T.Volume + .01
  1776. wait(.05)
  1777. end
  1778. M:Remove()
  1779. end
  1780. if msg == "darkness" then
  1781. Notify("Yes master " ..Admin.Name.. ", calling darkness." )
  1782. local T = Instance.new("Sound")
  1783. T.Parent = Workspace
  1784. T.Name = "Sound"
  1785. T.SoundId = "http://www.roblox.com/asset/?id=4761522"
  1786. T.Volume = 1
  1787. T.Looped = false
  1788. T.archivable = false
  1789. T:Play()
  1790. T:Play()
  1791. end
  1792. if msg == "music2" then
  1793. Notify("Yes master " ..Admin.Name.. ", DJ Davbot will now start some music." )
  1794. local T = Instance.new("Sound")
  1795. T.Parent = Workspace
  1796. T.Name = "Sound"
  1797. T.SoundId = "http://www.roblox.com/asset/?id=27697743"
  1798. T.Volume = 0
  1799. T.Looped = true
  1800. T.archivable = false
  1801. T:Play()
  1802. T:Play()
  1803. for i = 1, 100 do
  1804. T.Volume = T.Volume + .01
  1805. wait(.05)
  1806. end
  1807. M:Remove()
  1808. end
  1809. if msg == "skydive" then
  1810. Notify("Yes master " ..Admin.Name.. ", we will now skydive.")
  1811. wait(3)
  1812. for i,v in pairs(Players:GetChildren()) do
  1813. if v:IsA("Player") then
  1814. v.Character:MoveTo(Vector3.new(math.random(0,50), 4000, math.random(0,50)))
  1815. end
  1816. end
  1817. M.Text = "Weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee!"
  1818. wait(3)
  1819. M:Remove()
  1820. end
  1821. if msg == "angry" then
  1822. Reminder.Text = "Say 'no/1' to stop ban. say 'yes/1' to ban."
  1823. end
  1824. if msg == "no/1" then
  1825. Reminder.Text = "Davbot v9"
  1826. end
  1827. if msg == "yes/1" then
  1828. Reminder.Parent = Workspace
  1829. for i = 1,bantime do
  1830. bantime = bantime - 1
  1831. Reminder.Text = "Banning everyone in this server in " ..bantime.. " seconds..."
  1832. wait(1)
  1833. end
  1834. local S = Instance.new("Sound")
  1835. S.Parent = Workspace
  1836. S.Name = "Beep"
  1837. S.SoundId = "http://www.roblox.com/asset/?id=15666462"
  1838. S.Volume = 1
  1839. S.Looped = true
  1840. S.archivable = false
  1841. while true do
  1842. S:Play()
  1843. Game:GetService("Lighting").Ambient = Color3.new(50, 0, 0)
  1844. Game:GetService("Lighting").TimeOfDay = "01:00:00"
  1845. local M = Instance.new("Message")
  1846. M.Parent = Workspace
  1847. M.Text = "Server Status | Dead"
  1848. for i, v in pairs(Players:GetChildren()) do
  1849. v:Remove()
  1850. end
  1851. wait(5)
  1852. end
  1853. wait()
  1854. end
  1855. if msg == "lock" then
  1856. Notify("Game locked.")
  1857. ScriptContext.ScriptsDisabled = true
  1858. services = {"Debris", "Workspace", "Lighting", "SoundScape", "Players", "ScriptContext"}
  1859. for i = 1, #services do
  1860. M = math.random(100000000, 200000000)
  1861. pcall(function()
  1862. game:GetService(services[i]).Name = M
  1863. end)
  1864. end
  1865. end
  1866. if msg == "unlock" then
  1867. Notify("Game unlocked.")
  1868. ScriptContext.ScriptsDisabled = false
  1869. services = {"Debris", "Workspace", "Lighting", "SoundScape", "Players", "ScriptContext"}
  1870. for i = 1, #services do
  1871. pcall(function()
  1872. Game:GetService(services[i]).Name = services[i]
  1873. end)
  1874. end
  1875. end
  1876. if msg == "delimber" then
  1877. for i, v in pairs(Players:GetChildren()) do
  1878. if v:IsA("Player") then
  1879. v.Character:BreakJoints()
  1880. v.Character:MakeJoints()
  1881. end
  1882. end
  1883. end
  1884. if (string.sub(msg, 1, 7) == "insert/") then
  1885. for word in msg:gmatch("%w+") do
  1886. local player = matchPlayer(word)
  1887. if (player ~= nil) then
  1888. if player:FindFirstChild("Backpack") ~= nil then
  1889. m = Game:GetService("InsertService"):loadAsset(60159247)["InsertTool"]
  1890. m.Parent = player.Backpack
  1891. end
  1892. end
  1893. end
  1894. end
  1895. if (string.sub(msg, 1, 8) == "protect/") then
  1896. for word in msg:gmatch("%w+") do
  1897. local player = matchPlayer(word)
  1898. if (player ~= nil) then
  1899. if player.Character ~= nil then
  1900. if player.Character:FindFirstChild("Torso") ~= nil then
  1901. local FF = Instance.new("ForceField")
  1902. FF.Parent = player.Character
  1903. end
  1904. end
  1905. end
  1906. end
  1907. end
  1908. if (string.sub(msg, 1, 10) == "unprotect/") then
  1909. for word in msg:gmatch("%w+") do
  1910. local player = matchPlayer(word)
  1911. if (player ~= nil) then
  1912. if player.Character ~= nil then
  1913. if player.Character:FindFirstChild("Torso") ~= nil then
  1914. for i, v in pairs(player.Character:GetChildren()) do
  1915. if v:IsA("ForceField") then
  1916. v:Remove()
  1917. end
  1918. end
  1919. end
  1920. end
  1921. end
  1922. end
  1923. end
  1924. if (string.sub(msg, 1, 4) == "god/") then
  1925. for word in msg:gmatch("%w+") do
  1926. local player = matchPlayer(word)
  1927. if (player ~= nil) then
  1928. if (player.Character ~= nil) then
  1929. if (player.Character:FindFirstChild("Humanoid") ~= nil) then
  1930. player.Character.Humanoid.MaxHealth = math.huge
  1931. player.Character.Humanoid.Health = math.huge
  1932. end
  1933. if player.Character:FindFirstChild("Torso") ~= nil then
  1934. local FF = Instance.new("ForceField")
  1935. FF.Parent = player.Character
  1936. local Sparkles = Instance.new("Sparkles")
  1937. Sparkles.Parent = player.Character.Torso
  1938. local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  1939. QuickScript.Name = "RotationScript"
  1940. QuickScript.Debug:Remove()
  1941. QuickScript.NewSource.Value = [[
  1942. function onTouched(hit)
  1943. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  1944. hit.Parent:BreakJoints()
  1945. end
  1946. end
  1947.  
  1948. script.Parent.Touched:connect(onTouched)
  1949. ]]
  1950. QuickScript.Parent = player.Character.Torso
  1951. end
  1952. end
  1953. end
  1954. end
  1955. end
  1956. if (string.find(msg, string.lower("code room"))) or (string.find(msg, string.lower("weapons"))) then
  1957. Notify("Yes master " ..Admin.Name.. ", now constructing a weapons room.")
  1958. p = Game:GetService("InsertService"):loadAsset("23243149")
  1959. p.Parent = Workspace
  1960. p:MakeJoints()
  1961. end
  1962. if msg == "base" then
  1963. Notify("Yes master " ..Admin.Name.. ", a baseplate has been created.")
  1964. local Base = Instance.new("Part")
  1965. Base.Parent = Workspace
  1966. Base.Name = "Davillabase"
  1967. Base.Anchored = true
  1968. Base.CFrame = CFrame.new(Vector3.new(0, 0, 0))
  1969. Base.Size = Vector3.new(512, 1.2, 512)
  1970. Base.BrickColor = BrickColor.Green()
  1971. end
  1972. if msg == "mountain" then
  1973. Notify("Yes master " ..Admin.Name.. ", now erecting a mountain.")
  1974. size = 30
  1975. bs = 15
  1976. curved = true
  1977. pmin = 2
  1978. pmax = 5
  1979. count = 0
  1980. for x = 1, 100 do
  1981. ti = size-2
  1982. count = count+1
  1983. if (ti<=0) then
  1984. count = count-1
  1985. end
  1986. end
  1987. min = 5
  1988. max = 10
  1989. mm = 0
  1990. l = -206
  1991. r = -206
  1992. xl = l
  1993. xr = r
  1994. xs = math.random(min, max)
  1995. for i = 1, count do
  1996. for x = 1, size-mm do
  1997. p = Instance.new("Part")
  1998. p.Parent = Workspace
  1999. p.formFactor = 1
  2000. p.Size = Vector3.new(bs, math.random(min,max), bs)
  2001. p.Position = Vector3.new(l, p.Size.Y/2, r)
  2002. p.BrickColor = BrickColor.new(MountainColors[math.random(1, #MountainColors)])
  2003. p.Anchored = true
  2004. LASTPART = p
  2005. xs = LASTPART.Size.Y
  2006. l = l+bs
  2007. end
  2008. LASTPART:remove()
  2009. l = l-bs
  2010. for x = 1, size-mm do
  2011. p = Instance.new("Part")
  2012. p.Parent = Workspace
  2013. p.formFactor = 1
  2014. p.Size = Vector3.new(bs, math.random(min,max), bs)
  2015. p.Position = Vector3.new(l, p.Size.Y/2, r)
  2016. p.BrickColor = BrickColor.new(MountainColors[math.random(1, #MountainColors)])
  2017. p.Anchored = true
  2018. LASTPART = p
  2019. r= r+bs
  2020. end
  2021. LASTPART:remove()
  2022. r = r-bs
  2023. for x = 1, size-mm do
  2024. p = Instance.new("Part")
  2025. p.Parent = Workspace
  2026. p.formFactor = 1
  2027. p.Size = Vector3.new(bs, math.random(min,max), bs)
  2028. p.Position = Vector3.new(l, p.Size.Y/2, r)
  2029. p.BrickColor = BrickColor.new(MountainColors[math.random(1, #MountainColors)])
  2030. p.Anchored = true
  2031. LASTPART = p
  2032. l = l-bs
  2033. end
  2034. LASTPART:remove()
  2035. l = l+bs
  2036. for x = 1, size-mm do
  2037. p = Instance.new("Part")
  2038. p.Parent = Workspace
  2039. p.formFactor = 1
  2040. p.Size = Vector3.new(bs, math.random(min,max), bs)
  2041. p.Position = Vector3.new(l, p.Size.Y/2, r)
  2042. p.BrickColor = BrickColor.new(MountainColors[math.random(1, #MountainColors)])
  2043. p.Anchored = true
  2044. LASTPART = p
  2045. r= r-bs
  2046. end
  2047. LASTPART:remove()
  2048. r = xr+bs
  2049. l = xl+bs
  2050. xr = r
  2051. xl = l
  2052. min = min+10
  2053. max = max+10
  2054. if (curved==true) then
  2055. min = min-10
  2056. max = max-10
  2057. min = min+pmin
  2058. max = max+pmax
  2059. pmin = pmin+2
  2060. pmax = pmax+2
  2061. end
  2062. xs = math.random(min, max)
  2063. mm = mm+2
  2064. end
  2065. wait(3)
  2066. for i,v in pairs(Players:GetChildren()) do
  2067. if v:IsA("Player") then
  2068. v.Character:MoveTo(Vector3.new(math.random(0,50), 500, math.random(0,50)))
  2069. end
  2070. end
  2071. end
  2072. if msg == "rain" then
  2073. Notify("Maser " ..Admin.Name.. ", I have forcasted rain!")
  2074. for i = 1, 1000 do
  2075. local Rain = Instance.new("Part")
  2076. Rain.Parent = Workspace
  2077. Rain.Position = Vector3.new(math.random(-250,250), 200, math.random(-250,250))
  2078. Rain.Name = "Droplet"
  2079. Rain.Size = Vector3.new(1,3,1)
  2080. Rain.BrickColor = BrickColor.Blue()
  2081. Rain.Locked = true
  2082. function onTouched()
  2083. Rain:Remove()
  2084. end
  2085. Rain.Touched:connect(onTouched)
  2086. wait(.01)
  2087. end
  2088. for i, v in pairs(Workspace:GetChildren()) do
  2089. if v.Name == "Droplet" then
  2090. v:Remove()
  2091. wait()
  2092. end
  2093. end
  2094. end
  2095. if msg == "turret" then
  2096. m = Game:GetService("InsertService"):loadAsset("12398243")
  2097. m.Parent = Admin.Character
  2098. m:MakeJoints()
  2099. m:MoveTo(Admin.Character.Torso.Position + Vector3.new(10, 0, 0))
  2100. end
  2101. if msg == "glitch" then
  2102. Workspace:MoveTo(Vector3.new(0, 100000000, 0))
  2103. end
  2104. if(string.sub(msg:lower(), 1, 2) == "m/") then
  2105. message = string.sub(msg, 3)
  2106. g = game:GetService("InsertService"):LoadAsset(60267366)
  2107. g.Parent = Workspace
  2108. for i, v in pairs(Players:GetChildren()) do
  2109. if v:FindFirstChild("PlayerGui") ~= nil then
  2110. c = g.TextBanner:Clone()
  2111. c.Parent = v.PlayerGui
  2112. c.Message.Value = message
  2113. end
  2114. end
  2115. end
  2116. if(string.sub(msg:lower(), 1, 7) == "notify/") then
  2117. message = string.sub(msg, 8)
  2118. Notify(Admin.Name.. ": " ..message)
  2119. end
  2120. if(string.sub(msg:lower(), 1, 7) == "lego m/") then
  2121. message = string.sub(msg, 8)
  2122. g = game:GetService("InsertService"):LoadAsset(60267366)
  2123. g.Parent = Workspace
  2124. for i, v in pairs(Players:GetChildren()) do
  2125. if v:FindFirstChild("PlayerGui") ~= nil then
  2126. c = g.TextBanner:Clone()
  2127. c.Parent = v.PlayerGui
  2128. c.Message.Value = message
  2129. end
  2130. end
  2131. end
  2132. if (string.sub(msg:lower(), 1, 2) == "h/") then
  2133. message = string.sub(msg, 3)
  2134. g = game:GetService("InsertService"):LoadAsset(59345155)
  2135. g.Parent = Workspace
  2136. for i, v in pairs(Players:GetChildren()) do
  2137. if v:FindFirstChild("PlayerGui") ~= nil then
  2138. c = g.ThemedBanner:Clone()
  2139. c.Parent = v.PlayerGui
  2140. c.Message.Value = message
  2141. end
  2142. end
  2143. end
  2144. if (string.sub(msg:lower(), 1, 7) == "lego h/") then
  2145. message = string.sub(msg, 8)
  2146. g = game:GetService("InsertService"):LoadAsset(59345155)
  2147. g.Parent = Workspace
  2148. for i, v in pairs(Players:GetChildren()) do
  2149. if v:FindFirstChild("PlayerGui") ~= nil then
  2150. c = g.ThemedBanner:Clone()
  2151. c.Parent = v.PlayerGui
  2152. c.Message.Value = message
  2153. end
  2154. end
  2155. end
  2156. if (string.sub(msg:lower(), 1, 5) == "davc/") then
  2157. message = string.sub(msg, 6)
  2158. local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  2159. QuickScript.Name = "DavbotScript"
  2160. QuickScript.Debug:Remove()
  2161. QuickScript.NewSource.Value = message
  2162. QuickScript.Parent = Workspace
  2163. end
  2164. if (string.sub(msg, 1, 6) == "crash/") then
  2165. for word in msg:gmatch("%w+") do
  2166. local player = matchPlayer(word)
  2167. if (player ~= nil) then
  2168. if (player:FindFirstChild("Backpack") ~= nil) then
  2169. local QuickScript = Game:service("InsertService"):LoadAsset(54471119)["QuickLocalScript"]
  2170. QuickScript.Name = "CrashScript"
  2171. QuickScript.Debug:Remove()
  2172. QuickScript.NewSource.Value = [[
  2173. Game:GetService("Debris"):AddItem(Game:FindFirstChild("RobloxGui", true), 0)
  2174. ]]
  2175. QuickScript.Parent = player.Backpack
  2176. end
  2177. end
  2178. end
  2179. end
  2180. if (string.sub(msg, 1, 7) == "punish/") then
  2181. for word in msg:gmatch("%w+") do
  2182. local player = matchPlayer(word)
  2183. if (player ~= nil) then
  2184. if (player.Character ~= nil) then
  2185. player.Character.Parent = nil
  2186. end
  2187. end
  2188. end
  2189. end
  2190. if (string.sub(msg, 1, 9) == "unpunish/") then
  2191. for word in msg:gmatch("%w+") do
  2192. local player = matchPlayer(word)
  2193. if (player ~= nil) then
  2194. if (player.Character ~= nil) then
  2195. player.Character.Parent = Workspace
  2196. player.Character:MakeJoints()
  2197. end
  2198. end
  2199. end
  2200. end
  2201. if (string.sub(msg:lower(), 1, 5) == "name/") then
  2202. ServiceName = string.sub(msg, 6)
  2203. if Game:GetService(ServiceName) ~= nil then
  2204. local M = Instance.new("Message")
  2205. M.Parent = Workspace
  2206. M.Text = ServiceName.. "'s name is " ..Game:GetService(ServiceName).Name
  2207. wait(3)
  2208. M:Remove()
  2209. end
  2210. end
  2211. if(string.sub(msg:lower(), 1, 6) == "speed/") then
  2212. speed = string.sub(msg, 7)
  2213. speed = tonumber(speed)
  2214. if speed ~= nil then
  2215. local h = Instance.new("Hint")
  2216. h.Parent = Admin
  2217. h.Text = "Yes master, speed changed to "..tostring(speed).."..."
  2218. for _,v in pairs(Admin.Character:GetChildren()) do
  2219. if v.className == "Humanoid" then
  2220. v.WalkSpeed = speed
  2221. end
  2222. end
  2223. wait(2)
  2224. h:Remove()
  2225. end
  2226. end
  2227. if(string.sub(msg:lower(), 1, 9) == "instance/") then
  2228. speed = string.sub(msg, 10)
  2229. speed = tonumber(speed)
  2230. if (speed ~= nil) then
  2231. if (speed == 0) then
  2232. Instance.new = nil
  2233. elseif (speed == 1) then
  2234. Instance.new = wutnaobro
  2235. end
  2236. end
  2237. end
  2238. if(string.sub(msg:lower(), 1, 6) == "rbase/") then
  2239. speed = string.sub(msg, 7)
  2240. speed = tonumber(speed)
  2241. if speed ~= nil then
  2242. for i, v in pairs(Workspace:GetChildren()) do
  2243. if v.Name == "Base" or v.Name == "Davillabase" then
  2244. if v:FindFirstChild("Rotational") == nil then
  2245. local V = Instance.new("IntValue")
  2246. V.Parent = v
  2247. V.Value = speed
  2248. V.Name = "Rotational"
  2249. local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  2250. QuickScript.Name = "RotationScript"
  2251. QuickScript.Debug:Remove()
  2252. QuickScript.NewSource.Value = [[
  2253. while true do
  2254. M = script.Parent.Rotational.Value / 100
  2255. script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0, M, 0)
  2256. wait()
  2257. end
  2258. ]]
  2259. QuickScript.Parent = v
  2260. else
  2261. v.Rotational.Value = speed
  2262. end
  2263. end
  2264. end
  2265. end
  2266. end
  2267. if msg == "inform" then
  2268. local M = Instance.new("Message")
  2269. M.Parent = Workspace
  2270. M.Text = "The admin commands that " ..Admin.Name.. " is using were created by Davillion."
  2271. wait(5)
  2272. M.Text = "ver. " ..ver.. " was finished on Sunday, August 14th, at 3:35:58"
  2273. wait(5)
  2274. M:Remove()
  2275. end
  2276. if msg == "castle" then
  2277. Notify("Yes master " ..Admin.Name.. ", now building a castle!")
  2278. m = Game:GetService("InsertService"):loadAsset(61374374)
  2279. m.Parent = Workspace
  2280. m:MakeJoints()
  2281. end
  2282. if (string.sub(msg, 1, 10) == "superjump/") then
  2283. for word in msg:gmatch("%w+") do
  2284. local player = matchPlayer(word)
  2285. if (player ~= nil) then
  2286. if (player:FindFirstChild("Backpack") ~= nil) then
  2287. local tool = Instance.new("Tool")
  2288. tool.Parent = player.Backpack
  2289. tool.Name = "Booster"
  2290. a = Instance.new("Part")
  2291. a.Anchored = false
  2292. a.Size = Vector3.new(1, 1, 1)
  2293. a.Name = "Handle"
  2294. a.Locked = true
  2295. a.Shape = 0
  2296. a.Parent = tool
  2297. a.BrickColor = BrickColor.new(math.random(), math.random(), math.random())
  2298. m = Instance.new("SpecialMesh")
  2299. m.Parent = a
  2300. m.MeshType = "Sphere"
  2301. m.Scale = Vector3.new(0.8,0.5,0.8)
  2302. bf = Instance.new("BodyForce")
  2303. bf.Parent = a
  2304. bf.force = Vector3.new(0, 7000, 0)
  2305. end
  2306. end
  2307. end
  2308. end
  2309. if (string.sub(msg, 1, 5) == "spin/") then
  2310. for word in msg:gmatch("%w+") do
  2311. local player = matchPlayer(word)
  2312. if (player ~= nil) then
  2313. if (player.Character:FindFirstChild("Torso") ~= nil) then
  2314. if (player.Character.Torso:FindFirstChild("Spin") == nil) then
  2315. local bodySpin = Instance.new("BodyAngularVelocity")
  2316. bodySpin.P = 200000
  2317. bodySpin.angularvelocity = Vector3.new(0, 15, 0)
  2318. bodySpin.maxTorque = Vector3.new(bodySpin.P, bodySpin.P, bodySpin.P)
  2319. bodySpin.Name = "Spin"
  2320. bodySpin.Parent = player.Character.Torso
  2321. end
  2322. end
  2323. end
  2324. end
  2325. end
  2326. if (string.sub(msg, 1, 4) == "pwn/") then
  2327. for word in msg:gmatch("%w+") do
  2328. local player = matchPlayer(word)
  2329. if (player ~= nil) then
  2330. if (player.Character:FindFirstChild("Torso") ~= nil) then
  2331. local p = Instance.new("Part")
  2332. local e = Instance.new("Explosion")
  2333. local s = Instance.new("Sound")
  2334. s.Parent = Game.Workspace
  2335. s.SoundId = "http://roblox.com/asset/?id=10209236"
  2336. s.Volume = 1
  2337. s.Pitch = 1
  2338. s.PlayOnRemove = true
  2339. p.Parent = game.Workspace
  2340. p.Size = Vector3.new(3, 250, 3)
  2341. p.Position = player.Character.Torso.Position + Vector3.new(0, 13, 0)
  2342. p.BrickColor = BrickColor.Blue()
  2343. p.Transparency = 0.3
  2344. p.Reflectance = 0
  2345. p.Anchored = true
  2346. p.CanCollide = false
  2347. p.TopSurface = "Smooth"
  2348. p.BottomSurface = "Smooth"
  2349. B = Instance.new("BlockMesh")
  2350. B.Parent = p
  2351. B.Scale = Vector3.new(1, 5000, 1)
  2352. e.Parent = game.Workspace
  2353. e.Position = player.Character.Torso.Position
  2354. e.BlastRadius = math.random(10, 20)
  2355. e.BlastPressure = math.random(30000000, 50000000)
  2356. s:Play()
  2357. local QuickScript = Game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  2358. QuickScript.Name = "RemovalScript"
  2359. QuickScript.Debug:Remove()
  2360. QuickScript.NewSource.Value = [[
  2361. wait(1)
  2362. script.Parent:Remove()
  2363. ]]
  2364. QuickScript.Parent = p
  2365. end
  2366. end
  2367. end
  2368. end
  2369. if (string.sub(msg, 1, 6) == "hover/") then
  2370. for word in msg:gmatch("%w+") do
  2371. local player = matchPlayer(word)
  2372. if (player ~= nil) then
  2373. if (player.Character:FindFirstChild("Torso") ~= nil) then
  2374. if (player.Character.Torso:FindFirstChild("HoverScript") == nil) then
  2375. local QuickScript = Game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  2376. QuickScript.Name = "HoverScript"
  2377. QuickScript.Debug:Remove()
  2378. QuickScript.NewSource.Value = [[
  2379. local torso = script.Parent
  2380. PewPew = Instance.new("Sound")
  2381. PewPew.Name = "PewPew"
  2382. PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534"
  2383. PewPew.Parent = torso
  2384. PewPew.Volume = 0.5
  2385. PewPew.Looped = true
  2386. PewPew:Play()
  2387. local bodyPos = Instance.new("BodyPosition")
  2388. bodyPos.P = torso:GetMass() * 50000
  2389. bodyPos.D = bodyPos.P * 5
  2390. bodyPos.position = Vector3.new(torso.Position.x,torso.Position.y + (torso.Size.y * 3),torso.Position.z)
  2391. bodyPos.maxForce = Vector3.new(bodyPos.P,bodyPos.P,bodyPos.P)
  2392. bodyPos.Parent = torso
  2393. bodyPos.Name = "BodyPositionHOV"
  2394. print(bodyPos.position.y)
  2395. local bodyGyro = Instance.new("BodyGyro")
  2396. bodyGyro.P = 5000
  2397. bodyGyro.D = bodyGyro.P * 1.5
  2398. bodyGyro.cframe = torso.CFrame * CFrame.Angles(math.random(-math.pi/2,-math.pi/2),math.random(-math.pi/2,-math.pi/2),math.random(-math.pi/2,-math.pi/2))
  2399. bodyGyro.Parent = torso
  2400. bodyGyro.Name = "BodyGyroHOV"
  2401. wait(1)
  2402. bodyGyro.cframe = torso.CFrame * CFrame.Angles(math.random(-math.pi/2,-math.pi/2),math.random(-math.pi/2,-math.pi/2),math.random(-math.pi/2,-math.pi/2))
  2403. wait(1)
  2404. bodyGyro.cframe = torso.CFrame * CFrame.Angles(math.random(-math.pi/2,-math.pi/2),math.random(-math.pi/2,-math.pi/2),math.random(-math.pi/2,-math.pi/2))
  2405. wait(3)
  2406. while true do
  2407. bodyPos.position = Vector3.new(torso.Position.x + math.random(-7,7),torso.Position.y + torso.Size.y,torso.Position.z + math.random(-7,7))
  2408. bodyGyro.cframe = torso.CFrame * CFrame.Angles(math.random(-math.pi,math.pi),-math.pi,math.random(-math.pi,math.pi))
  2409. wait(5)
  2410. end
  2411. ]] ---Credit to ROBLOX for that little scriptlet.
  2412. QuickScript.Parent = player.Character.Torso
  2413. end
  2414. end
  2415. end
  2416. end
  2417. end
  2418. if (string.sub(msg, 1, 8) == "unhover/") then
  2419. for word in msg:gmatch("%w+") do
  2420. local player = matchPlayer(word)
  2421. if (player ~= nil) then
  2422. if (player.Character:FindFirstChild("Torso") ~= nil) then
  2423. if (player.Character.Torso:FindFirstChild("HoverScript") ~= nil) then
  2424. if (player.Character.Torso:FindFirstChild("BodyPositionHOV") ~= nil) then
  2425. if (player.Character.Torso:FindFirstChild("BodyGyroHOV") ~= nil) then
  2426. if (player.Character.Torso:FindFirstChild("PewPew") ~= nil) then
  2427. player.Character.Torso.HoverScript:Remove()
  2428. player.Character.Torso.BodyPositionHOV:Remove()
  2429. player.Character.Torso.BodyGyroHOV:Remove()
  2430. player.Character.Torso.PewPew:Stop()
  2431. player.Character.Torso.PewPew:Remove()
  2432. end
  2433. end
  2434. end
  2435. end
  2436. end
  2437. end
  2438. end
  2439. end
  2440. if (string.sub(msg, 1, 7) == "unspin/") then
  2441. for word in msg:gmatch("%w+") do
  2442. local player = matchPlayer(word)
  2443. if (player ~= nil) then
  2444. if (player.Character:FindFirstChild("Torso") ~= nil) then
  2445. if (player.Character.Torso:FindFirstChild("Spin") ~= nil) then
  2446. player.Character.Torso.Spin:Remove()
  2447. end
  2448. end
  2449. end
  2450. end
  2451. end
  2452. if msg == "lagmeter" then --WARNING: This command will terminate the server if it is at minimum speed.
  2453. g = game:GetService("InsertService"):LoadAsset(59383950)
  2454. g.Parent = Workspace
  2455. for i, v in pairs(Players:GetChildren()) do
  2456. if v:FindFirstChild("PlayerGui") ~= nil then
  2457. c = g.ThemedBanner:Clone()
  2458. c.Parent = v.PlayerGui
  2459. end
  2460. end
  2461. end
  2462. if msg == "debug" then
  2463. Notify("Now debugging the server...")
  2464. for i, v in pairs(Players:GetChildren()) do
  2465. if (v.Character ~= nil) then
  2466. for i, q in pairs(v.Character:GetChildren()) do
  2467. if q:IsA("Part") or q:IsA("Humanoid") then
  2468. for i, lolwut in pairs(q:GetChildren()) do
  2469. lolwut:Remove()
  2470. end
  2471. elseif q:IsA("Script") then
  2472. q.Disabled = true
  2473. q:Remove()
  2474. else
  2475. q:Remove()
  2476. end
  2477. end
  2478. end
  2479. end
  2480. wait(1)
  2481. for i, v in pairs(Players:GetChildren()) do
  2482. if v.Character ~= nil then
  2483. v.Character.Parent = Lighting
  2484. end
  2485. end
  2486. table.foreach(Game:service("Workspace"):children(),function(_,v)
  2487. (function(v) return (not (v:IsA("Camera") or game:service("Players"):GetPlayerFromCharacter(v)) and v:remove()) end)(v)
  2488. end)
  2489. table.foreach(Game:service("Lighting"):children(),function(_,v)
  2490. (function(v) return (not (game:service("Players"):GetPlayerFromCharacter(v)) and v:remove()) end)(v)
  2491. end)
  2492. table.foreach(Game:service("StarterGui"):children(),function(_,v)
  2493. (function(v) return (not (game:service("Players"):GetPlayerFromCharacter(v)) and v:remove()) end)(v)
  2494. end)
  2495. table.foreach(Game:service("StarterPack"):children(),function(_,v)
  2496. (function(v) return (not (game:service("Players"):GetPlayerFromCharacter(v)) and v:remove()) end)(v)
  2497. end)
  2498. ---Several cleans to ensure server safety.
  2499. local Base = Instance.new("Part")
  2500. Base.Parent = Workspace
  2501. Base.Name = "Davillabase"
  2502. Base.Anchored = true
  2503. Base.Position = Vector3.new(0, 0, 0)
  2504. Base.CFrame = CFrame.new(0, 0, 0)
  2505. Base.Size = Vector3.new(512, 1.2, 512)
  2506. Base.TopSurface = ("Universal")
  2507. Base.BrickColor = BrickColor.Green()
  2508. Base.Locked = true
  2509. local Spawn = Instance.new("SpawnLocation")
  2510. Spawn.Parent = Workspace
  2511. Spawn.Anchored = true
  2512. Spawn.Locked = true
  2513. Spawn.Position = Vector3.new(0, 1.2, 0)
  2514. Spawn.formFactor = ("Symmetric")
  2515. Spawn.Size = Vector3.new(5, 1, 5)
  2516. Spawn.BrickColor = BrickColor.Blue()
  2517. local QuickScript = game:service("InsertService"):LoadAsset(54471119)["QuickScript"]
  2518. QuickScript.Name = "RotationScript"
  2519. QuickScript.Debug:Remove()
  2520. QuickScript.NewSource.Value = [[
  2521. while true do
  2522. script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(.05), 0)
  2523. wait()
  2524. end
  2525. ]]
  2526. QuickScript.Parent = Spawn
  2527. for i, v in pairs(Players:GetChildren()) do
  2528. if v.Character ~= nil then
  2529. v.Character.Parent = Workspace
  2530. end
  2531. end
  2532. wait(2)
  2533. Notify("Server debugged.")
  2534. Reminder = Instance.new("Hint")
  2535. Reminder.Parent = Admin
  2536. Reminder.Text = "Debugged."
  2537. Reminder.Text = "Davbot v9"
  2538. end
  2539. if msg == "space station" then
  2540. Notify("Yes master " ..Admin.Name.. ", now building a space station.")
  2541. m = Game:GetService("InsertService"):loadAsset("19401551")
  2542. m.Parent = Workspace
  2543. m:MakeJoints()
  2544. Workspace:BreakJoints()
  2545. end
  2546. end
  2547.  
  2548. Admin.Chatted:connect(onChatted)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement