Advertisement
nascars

NascarsGUI v2.

Apr 18th, 2019
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 272.79 KB | None | 0 0
  1. --[[
  2. scripted by nascars#6145.
  3. enjoy fucking roblox :)
  4. --]]
  5. local Nascarsv2 = Instance.new("ScreenGui")
  6. local opengui = Instance.new("Frame")
  7. local open = Instance.new("TextButton")
  8. local logingui = Instance.new("Frame")
  9. local topbarlogin = Instance.new("Frame")
  10. local loginclose = Instance.new("TextButton")
  11. local user = Instance.new("TextBox")
  12. local pass = Instance.new("TextBox")
  13. local submit = Instance.new("TextButton")
  14. local maingui = Instance.new("Frame")
  15. local topbarmain = Instance.new("Frame")
  16. local closemain = Instance.new("TextButton")
  17. local discords = Instance.new("TextLabel")
  18. local pagesbackground = Instance.new("Frame")
  19. local one = Instance.new("TextButton")
  20. local two = Instance.new("TextButton")
  21. local _2 = Instance.new("Frame")
  22. local RocketHammer = Instance.new("TextButton")
  23. local NaziScrit = Instance.new("TextButton")
  24. local NSword = Instance.new("TextButton")
  25. local _1 = Instance.new("Frame")
  26. local Shattervast = Instance.new("TextButton")
  27. local CycBot = Instance.new("TextButton")
  28. local Perm100WS = Instance.new("TextButton")
  29. local Perm100WS_2 = Instance.new("TextButton")
  30. local notice = Instance.new("TextLabel")
  31. --Properties:
  32. Nascarsv2.Name = "Nascars v2"
  33. Nascarsv2.Parent = game.CoreGui
  34. Nascarsv2.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  35.  
  36. opengui.Name = "opengui"
  37. opengui.Parent = Nascarsv2
  38. opengui.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
  39. opengui.BorderSizePixel = 0
  40. opengui.Position = UDim2.new(0, 0, 0.681274891, 0)
  41. opengui.Size = UDim2.new(0, 38, 0, 35)
  42. open.MouseButton1Down:connect(function()
  43. maingui.Visible = false
  44. logingui.Visible = true
  45. end)
  46.  
  47. open.Name = "open"
  48. open.Parent = opengui
  49. open.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
  50. open.BorderSizePixel = 0
  51. open.Size = UDim2.new(0, 38, 0, 35)
  52. open.Font = Enum.Font.SourceSansItalic
  53. open.Text = "X"
  54. open.TextColor3 = Color3.new(1, 1, 1)
  55. open.TextSize = 22
  56. open.TextWrapped = true
  57.  
  58. logingui.Name = "logingui"
  59. logingui.Parent = Nascarsv2
  60. logingui.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
  61. logingui.BorderSizePixel = 0
  62. logingui.Position = UDim2.new(0.943933845, 0, 0.18525897, 0)
  63. logingui.Size = UDim2.new(0, 216, 0, 350)
  64. logingui.Draggable = true
  65. logingui.Active = true
  66.  
  67. topbarlogin.Name = "topbarlogin"
  68. topbarlogin.Parent = logingui
  69. topbarlogin.BackgroundColor3 = Color3.new(0.152941, 0.152941, 0.152941)
  70. topbarlogin.Size = UDim2.new(0, 216, 0, 21)
  71.  
  72. loginclose.Name = "loginclose"
  73. loginclose.Parent = topbarlogin
  74. loginclose.BackgroundColor3 = Color3.new(0.152941, 0.152941, 0.152941)
  75. loginclose.BorderSizePixel = 0
  76. loginclose.Position = UDim2.new(0.898148119, 0, 0, 0)
  77. loginclose.Size = UDim2.new(0, 22, 0, 21)
  78. loginclose.Font = Enum.Font.SourceSansItalic
  79. loginclose.Text = "X"
  80. loginclose.TextColor3 = Color3.new(1, 1, 1)
  81. loginclose.TextSize = 22
  82. loginclose.MouseButton1Down:connect(function()
  83. opengui.Visible = true
  84. logingui.Visible = false
  85. end)
  86.  
  87. user.Name = "user"
  88. user.Parent = logingui
  89. user.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  90. user.Position = UDim2.new(0.120370373, 0, 0.177142859, 0)
  91. user.Size = UDim2.new(0, 164, 0, 40)
  92. user.Font = Enum.Font.SourceSansItalic
  93. user.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  94. user.PlaceholderText = "Username."
  95. user.Text = ""
  96. user.TextColor3 = Color3.new(255, 255, 255)
  97. user.TextSize = 26
  98. user.TextWrapped = true
  99.  
  100. pass.Name = "pass"
  101. pass.Parent = logingui
  102. pass.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  103. pass.Position = UDim2.new(0.120370373, 0, 0.36857143, 0)
  104. pass.Size = UDim2.new(0, 164, 0, 40)
  105. pass.Font = Enum.Font.SourceSansItalic
  106. pass.PlaceholderText = "Password."
  107. pass.Text = ""
  108. pass.TextColor3 = Color3.new(255, 255, 255)
  109. pass.TextSize = 26
  110. pass.TextWrapped = true
  111.  
  112. submit.Name = "submit"
  113. submit.Parent = logingui
  114. submit.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  115. submit.Position = UDim2.new(0.120370373, 0, 0.579999983, 0)
  116. submit.Size = UDim2.new(0, 164, 0, 40)
  117. submit.Font = Enum.Font.SourceSansItalic
  118. submit.Text = "Submit."
  119. submit.TextColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  120. submit.TextSize = 26
  121. submit.MouseButton1Down:connect(function()
  122. if user.Text == "aladin" and pass.Text == "fuckrobloxxx" then
  123. logingui.Visible = false
  124. maingui.Visible = true
  125. end
  126. end)
  127.  
  128. maingui.Name = "maingui"
  129. maingui.Parent = Nascarsv2
  130. maingui.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
  131. maingui.Position = UDim2.new(0.272977918, 0, 0.203187257, 0)
  132. maingui.Size = UDim2.new(0, 531, 0, 298)
  133. maingui.Draggable = true
  134. maingui.Active = true
  135. maingui.Visible = false
  136.  
  137. topbarmain.Name = "topbarmain"
  138. topbarmain.Parent = maingui
  139. topbarmain.BackgroundColor3 = Color3.new(0.152941, 0.152941, 0.152941)
  140. topbarmain.BorderSizePixel = 0
  141. topbarmain.Size = UDim2.new(0, 531, 0, 21)
  142.  
  143. closemain.Name = "closemain"
  144. closemain.Parent = topbarmain
  145. closemain.BackgroundColor3 = Color3.new(0.152941, 0.152941, 0.152941)
  146. closemain.Position = UDim2.new(0.96045202, 0, 0, 0)
  147. closemain.Size = UDim2.new(0, 21, 0, 21)
  148. closemain.Font = Enum.Font.SourceSansItalic
  149. closemain.Text = "X"
  150. closemain.TextColor3 = Color3.new(1, 1, 1)
  151. closemain.TextSize = 22
  152. closemain.MouseButton1Down:connect(function()
  153. opengui.Visible = true
  154. maingui.Visible = false
  155. end)
  156.  
  157. discords.Name = "discords"
  158. discords.Parent = maingui
  159. discords.BackgroundColor3 = Color3.new(1, 1, 1)
  160. discords.BackgroundTransparency = 1
  161. discords.Size = UDim2.new(0, 303, 0, 21)
  162. discords.Font = Enum.Font.SourceSansItalic
  163. discords.Text = "Made by nascars#6145, helped by zot#0933."
  164. discords.TextColor3 = Color3.new(1, 1, 1)
  165. discords.TextSize = 14
  166. discords.TextXAlignment = Enum.TextXAlignment.Left
  167.  
  168. pagesbackground.Name = "pagesbackground"
  169. pagesbackground.Parent = maingui
  170. pagesbackground.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
  171. pagesbackground.Position = UDim2.new(0, 0, 1, 0)
  172. pagesbackground.Size = UDim2.new(0, 531, 0, 25)
  173.  
  174. one.Name = "one"
  175. one.Parent = pagesbackground
  176. one.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
  177. one.BorderSizePixel = 0
  178. one.Size = UDim2.new(0, 30, 0, 25)
  179. one.Font = Enum.Font.SourceSansItalic
  180. one.Text = "1"
  181. one.TextColor3 = Color3.new(1, 1, 1)
  182. one.TextSize = 20
  183. one.MouseButton1Down:connect(function()
  184. _1.Visible = true
  185. _2.Visible = false
  186. end)
  187.  
  188. two.Name = "two"
  189. two.Parent = pagesbackground
  190. two.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
  191. two.BorderSizePixel = 0
  192. two.Position = UDim2.new(0.0564971752, 0, 0, 0)
  193. two.Size = UDim2.new(0, 30, 0, 25)
  194. two.Font = Enum.Font.SourceSansItalic
  195. two.Text = "2"
  196. two.TextColor3 = Color3.new(1, 1, 1)
  197. two.TextSize = 20
  198. two.MouseButton1Down:connect(function()
  199. _1.Visible = false
  200. _2.Visible = true
  201. end)
  202.  
  203. _2.Name = "2"
  204. _2.Parent = maingui
  205. _2.BackgroundColor3 = Color3.new(1, 1, 1)
  206. _2.BackgroundTransparency = 1
  207. _2.BorderSizePixel = 0
  208. _2.Position = UDim2.new(0, 0, 0.0671140924, 0)
  209. _2.Size = UDim2.new(0, 23, 0, 21)
  210. _2.Visible = false
  211. _2.Active = true
  212.  
  213. RocketHammer.Name = "Rocket Hammer"
  214. RocketHammer.Parent = _2
  215. RocketHammer.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  216. RocketHammer.BorderSizePixel = 2
  217. RocketHammer.Position = UDim2.new(0.478260875, 0, 0.809523821, 0)
  218. RocketHammer.Size = UDim2.new(0, 100, 0, 25)
  219. RocketHammer.Font = Enum.Font.SourceSansItalic
  220. RocketHammer.Text = "Rocket Hammer"
  221. RocketHammer.TextColor3 = Color3.new(1, 1, 1)
  222. RocketHammer.TextSize = 18
  223. RocketHammer.MouseButton1Down:connect(function()
  224. --[[
  225. Fenrier's Rocket Hammer Script made by Fenrier.
  226. mediafire
  227. ]]
  228. Player = game:GetService("Players").LocalPlayer
  229. Character = Player.Character
  230. PlayerGui = Player.PlayerGui
  231. Backpack = Player.Backpack
  232. Torso = Character.Torso
  233. Head = Character.Head
  234. Humanoid = Character.Humanoid
  235. LeftArm = Character["Left Arm"]
  236. LeftLeg = Character["Left Leg"]
  237. RightArm = Character["Right Arm"]
  238. RightLeg = Character["Right Leg"]
  239. LS = Torso["Left Shoulder"]
  240. LH = Torso["Left Hip"]
  241. RS = Torso["Right Shoulder"]
  242. RH = Torso["Right Hip"]
  243. Neck = Torso.Neck
  244. it=Instance.new
  245. vt=Vector3.new
  246. cf=CFrame.new
  247. euler=CFrame.fromEulerAnglesXYZ
  248. angles=CFrame.Angles
  249. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  250. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  251. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  252. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  253. attack = false
  254. attacktype = 1
  255. damage = 5
  256. oridamage = 50
  257. attackdebounce = false
  258. MMouse=nil
  259. combo=0
  260. Charge=0
  261. con1=nil
  262. --player
  263. player = nil
  264. --save shoulders
  265. RSH, LSH = nil, nil
  266. --welds
  267. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  268. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  269. if Character:findFirstChild("Rocket Hammer",true) ~= nil then
  270. Character:findFirstChild("Rocket Hammer",true).Parent = nil
  271. end
  272. if Player.PlayerGui:findFirstChild("WeaponGUI",true) ~= nil then
  273. Player.PlayerGui:findFirstChild("WeaponGUI",true).Parent = nil
  274. end
  275. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  276. local fp = it("Part")
  277. fp.formFactor = formfactor
  278. fp.Parent = parent
  279. fp.Reflectance = reflectance
  280. fp.Transparency = transparency
  281. fp.CanCollide = false
  282. fp.Locked=true
  283. fp.BrickColor = brickcolor
  284. fp.Name = name
  285. fp.Size = size
  286. fp.Position = Torso.Position
  287. fp.BottomSurface="Smooth"
  288. fp.TopSurface="Smooth"
  289. fp:BreakJoints()
  290. return fp
  291. end
  292. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  293. local mesh = it(Mesh)
  294. mesh.Parent = part
  295. if Mesh=="SpecialMesh" then
  296. mesh.MeshType = meshtype
  297. mesh.MeshId = meshid
  298. end
  299. mesh.Offset=offset
  300. mesh.Scale=scale
  301. return mesh
  302. end
  303. function weld(parent,part0,part1,c0)
  304. local weld = it("Weld")
  305. weld.Parent = parent
  306. weld.Part0 = part0
  307. weld.Part1 = part1
  308. weld.C0 = c0
  309. return weld
  310. end
  311. local fengui = it("GuiMain")
  312. fengui.Parent = Player.PlayerGui
  313. fengui.Name = "WeaponGUI"
  314. local fenframe = it("Frame")
  315. fenframe.Parent = fengui
  316. fenframe.BackgroundColor3 = Color3.new(255,255,255)
  317. fenframe.BackgroundTransparency = 1
  318. fenframe.BorderColor3 = Color3.new(17,17,17)
  319. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  320. fenframe.Position=UDim2.new(0,1300,0,300)
  321. local fentext = it("TextLabel")
  322. fentext.Parent = fenframe
  323. fentext.Text = " "
  324. fentext.BackgroundTransparency = 0
  325. fentext.BackgroundColor3 = Color3.new(0,0,0)
  326. fentext.SizeConstraint = "RelativeXY"
  327. fentext.TextXAlignment = "Center"
  328. fentext.TextYAlignment = "Center"
  329. fentext.Position = UDim2.new(0,0,0,0)
  330. fentext.Size = UDim2.new(0.710000306,0,2.79999995,0)
  331. local fentext2 = it("TextLabel")
  332. fentext2.Parent = fenframe
  333. fentext2.Text = " "
  334. fentext2.BackgroundTransparency = 0
  335. fentext2.BackgroundColor3 = Color3.new(1,0,0)
  336. fentext2.SizeConstraint = "RelativeXY"
  337. fentext2.TextXAlignment = "Center"
  338. fentext2.TextYAlignment = "Center"
  339. fentext2.Position = UDim2.new(0,0,2.8,0)
  340. fentext2.Size = UDim2.new(0.710000306,0,-2.8*Charge,0)
  341. local modelzorz = Instance.new("Model")
  342. modelzorz.Parent = Character
  343. modelzorz.Name = "Rocket Hammer"
  344. local prt1=part(3,modelzorz,0,0,BrickColor.new("Navy blue"),"Part1",vt(0.5,0.5,0.5))
  345. local prt2=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part2",vt(0.5,0.5,0.5))
  346. local prt3=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part3",vt(0.5,0.5,0.5))
  347. local prt4=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part4",vt(0.5,0.5,0.5))
  348. local prt5=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part5",vt(0.5,0.5,0.5))
  349. local prt6=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part6",vt(0.5,0.5,0.5))
  350. local prt7=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part7",vt(0.5,0.5,0.5))
  351. local prt8=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part8",vt(0.5,0.5,0.5))
  352. local prt9=part(3,modelzorz,0,0,BrickColor.new("Really black"),"Part9",vt(0.5,0.5,0.5))
  353. local prt10=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part10",vt(0.5,0.5,0.5))
  354. local prt11=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part11",vt(0.5,0.5,0.5))
  355. local prt12=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part12",vt(0.5,0.5,0.5))
  356. local prt13=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part13",vt(0.5,0.5,0.5))
  357. local prt14=part(3,modelzorz,0,0,BrickColor.new("Dark red"),"Part14",vt(0.5,0.5,0.5))
  358. local prt15=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part15",vt(0.5,0.5,0.5))
  359. local prt16=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part16",vt(0.5,0.5,0.5))
  360. local prt17=part(3,modelzorz,0,0,BrickColor.new("Dark red"),"Part17",vt(0.5,0.5,0.5))
  361. local prt17b=part(3,modelzorz,0,1,BrickColor.new("Bright yellow"),"Part17b",vt(0.5,0.5,0.5))
  362. local prt18=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part18",vt(0.5,0.5,0.5))
  363. local prt19=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part19",vt(0.5,0.5,0.5))
  364. local prt20=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part20",vt(0.5,0.5,0.5))
  365. local prt21=part(3,modelzorz,0,0,BrickColor.new("Really black"),"Part21",vt(0.5,0.5,0.5))
  366. local prt22=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part22",vt(0.5,0.5,0.5))
  367. local prt23=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part23",vt(0.5,0.5,0.5))
  368. local msh1=mesh("CylinderMesh",prt1,"","",vt(0,0,0),vt(1,2,1))
  369. local msh2=mesh("BlockMesh",prt2,"","",vt(0,0,0),vt(0.7,3,0.7))
  370. local msh3=mesh("BlockMesh",prt3,"","",vt(0,0,0),vt(1,1.5,1.3))
  371. local msh4=mesh("CylinderMesh",prt4,"","",vt(0,0,0),vt(1.5,1.5,1.5))
  372. local msh5=mesh("CylinderMesh",prt5,"","",vt(0,0,0),vt(1,1.6,1))
  373. local msh6=mesh("BlockMesh",prt6,"","",vt(0,0,0),vt(0.3,3,0.3))
  374. local msh7=mesh("CylinderMesh",prt7,"","",vt(0,0,0),vt(1.5,2.5,1.5))
  375. local msh8=mesh("CylinderMesh",prt8,"","",vt(0,0,0),vt(1.6,1.5,1.6))
  376. local msh9=mesh("CylinderMesh",prt9,"","",vt(0,0,0),vt(1.2,2.51,1.2))
  377. local msh10=mesh("CylinderMesh",prt10,"","",vt(0,0,0),vt(0.5,2,0.5))
  378. local msh11=mesh("CylinderMesh",prt11,"","",vt(0,0,0),vt(0.5,2,0.5))
  379. local msh12=mesh("BlockMesh",prt12,"","",vt(0,0,0),vt(1,5,1))
  380. local msh13=mesh("BlockMesh",prt13,"","",vt(0,0,0),vt(1,4,2))
  381. local msh14=mesh("BlockMesh",prt14,"","",vt(0,0,0),vt(2,2,2.1))
  382. local msh15=mesh("BlockMesh",prt15,"","",vt(0,0,0),vt(2.5,1,2.5))
  383. local msh16=mesh("BlockMesh",prt16,"","",vt(0,0,0),vt(2.5,1,3))
  384. local msh17=mesh("CylinderMesh",prt17,"","",vt(0,0,0),vt(3,3,3))
  385. local msh17b=mesh("CylinderMesh",prt17b,"","",vt(0,0,0),vt(3.001,3,3.01))
  386. local msh18=mesh("CylinderMesh",prt18,"","",vt(0,0,0),vt(3.2,1.5,3.2))
  387. local msh19=mesh("CylinderMesh",prt19,"","",vt(0,0,0),vt(3.2,1,3.2))
  388. local msh20=mesh("CylinderMesh",prt20,"","",vt(0,0,0),vt(3.2,1,3.2))
  389. local msh21=mesh("CylinderMesh",prt21,"","",vt(0,0,0),vt(2.5,1,2.5))
  390. local msh22=mesh("CylinderMesh",prt22,"","",vt(0,0,0),vt(0.5,2,0.5))
  391. local msh23=mesh("CylinderMesh",prt23,"","",vt(0,0,0),vt(0.5,2.1,0.5))
  392. local wld1=weld(prt1,prt1,Torso,euler(3.14,-1.57,0)*cf(0,-4,-0.5))
  393. local wld2=weld(prt2,prt2,prt1,euler(0,0,0)*cf(0,0,0))
  394. local wld3=weld(prt3,prt3,prt2,euler(0,0,0)*cf(0,1,0))
  395. local wld4=weld(prt4,prt4,prt3,euler(0,0,1.57)*cf(0,0.5,-0.1))
  396. local wld5=weld(prt5,prt5,prt4,euler(0,0,0)*cf(0,0,0))
  397. local wld6=weld(prt6,prt6,prt3,euler(1.57,0,0)*cf(0,0,0))
  398. local wld7=weld(prt7,prt7,prt6,euler(1.57,0,0)*cf(0,-0.8,0))
  399. local wld8=weld(prt8,prt8,prt7,euler(0,0,0)*cf(0,0,0))
  400. local wld9=weld(prt9,prt9,prt7,euler(0,0,0)*cf(0,0,0))
  401. local wld10=weld(prt10,prt10,prt7,euler(-0.2,0,0)*cf(0,1,0))
  402. local wld11=weld(prt11,prt11,prt1,euler(1.57+0.3,0,0)*cf(0,-0.5,0.3))
  403. local wld12=weld(prt12,prt12,prt1,euler(0,0,0)*cf(0,-2,0))
  404. local wld13=weld(prt13,prt13,prt12,euler(0,0,0)*cf(0,-1.75,0))
  405. local wld14=weld(prt14,prt14,prt13,euler(0,0,0)*cf(0,-1,0))
  406. local wld15=weld(prt15,prt15,prt14,euler(0,0,0)*cf(0,-0.6,0.4))
  407. local wld16=weld(prt16,prt16,prt14,euler(1.57,0,0)*cf(0,0.4,0.77))
  408. local wld17=weld(prt17,prt17,prt14,euler(1.57,0,0)*cf(0,0,-1.4))
  409. local wld17b=weld(prt17b,prt17b,prt17,euler(0,0,0)*cf(0,0,0))
  410. local wld18=weld(prt18,prt18,prt17,euler(0,0,0)*cf(0,0,0))
  411. local wld19=weld(prt19,prt19,prt17,euler(0,0,0)*cf(0,0.8,0))
  412. local wld20=weld(prt20,prt20,prt17,euler(0,0,0)*cf(0,-0.8,0))
  413. local wld21=weld(prt21,prt21,prt19,euler(0,0,0)*cf(0,0.01,0))
  414. local wld22=weld(prt22,prt22,prt13,euler(0.5,0,0)*cf(0,1.2,-0.6))
  415. local wld23=weld(prt23,prt23,prt22,euler(-1.2,0,0)*cf(0,0.6,0.5))
  416. local hitbox=part(3,modelzorz,0,1,BrickColor.new("Black"),"Hitbox",vt(3,3,3))
  417. local hitboxwld=weld(hitbox,hitbox,prt14,euler(0,0,0)*cf(0,0,0))
  418. local BoosterFire = Instance.new("Fire")
  419. BoosterFire.Parent = prt19
  420. BoosterFire.Heat = -25
  421. BoosterFire.Size = 1
  422. function MakeRocketPart(x,y,z)
  423. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"RocketPart",vt(0.5,0.5,0.5))
  424. local prta=part(3,modelzorz,0,0,BrickColor.new("Dark red"),"RocketPart",vt(0.5,0.5,0.5))
  425. local prtb=part(3,modelzorz,0,0,BrickColor.new("Bright yellow"),"RocketPart",vt(0.5,0.5,0.5))
  426. local prtc=part(3,modelzorz,0,0,BrickColor.new("Really black"),"RocketPart",vt(0.5,0.5,0.5))
  427. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(1.5,2.5,1.5))
  428. local msha=mesh("CylinderMesh",prta,"","",vt(0,0,0),vt(1.6,1.5,1.6))
  429. local mshb=mesh("SpecialMesh",prtb,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(0.55,0.3,0.55))
  430. local mshc=mesh("CylinderMesh",prtc,"","",vt(0,0,0),vt(1.3,2.5,1.3))
  431. local wld=weld(prt,prt,prt14,euler(1.57,0,0)*cf(x,y,z))
  432. local wlda=weld(prta,prta,prt,euler(0,0,0)*cf(0,0,0))
  433. local wldb=weld(prtb,prtb,prt,euler(0,0,0)*cf(0,-0.8,0))
  434. local wldc=weld(prtc,prtc,prt,euler(0,0,0)*cf(0,0.01,0))
  435. local BoosterFire = Instance.new("Fire")
  436. BoosterFire.Parent = prt
  437. BoosterFire.Heat = -25
  438. BoosterFire.Size = 0.2
  439. end
  440. MakeRocketPart(0.8,0,0.5)
  441. MakeRocketPart(-0.8,0,0.5)
  442. MakeRocketPart(0,-0.8,0.5)
  443. if (script.Parent.className ~= "HopperBin") then
  444. Tool = Instance.new("HopperBin")
  445. Tool.Parent = Backpack
  446. Tool.Name = "Rocket Hammer"
  447. script.Parent = Tool
  448. end
  449. Bin = script.Parent
  450. local bg = it("BodyGyro")
  451. bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  452. bg.P = 20e+003
  453. bg.Parent = nil
  454. so = function(id,par,vol,pit)
  455. coroutine.resume(coroutine.create(function()
  456. local sou = Instance.new("Sound",par or workspace)
  457. sou.Volume=vol
  458. sou.Pitch=pit or 1
  459. sou.SoundId=id
  460. wait()
  461. sou:play()
  462. wait(6)
  463. sou:Remove()
  464. end))
  465. end
  466. function unequipweld()
  467. wld1.Part1=Torso
  468. wld1.C0=euler(3.14,-1.57,0)*cf(0,-4,-0.5)
  469. end
  470. function equipweld()
  471. wld1.Part1=RightArm
  472. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  473. end
  474. function hideanim()
  475. equipped=false
  476. wait(0.1)
  477. bg.Parent=nil
  478. unequipweld()
  479. end
  480. function equipanim()
  481. equipped=true
  482. wait(0.1)
  483. equipweld()
  484. RW.C0=cf(1.5, 0.5, 0) * euler(1,0,0)
  485. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6,-0.2)
  486. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  487. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  488. end
  489. Damagefunc1=function(hit,Damage,Knockback)
  490. if hit.Parent==nil then
  491. return
  492. end
  493. CPlayer=Bin
  494. h=hit.Parent:FindFirstChild("Humanoid")
  495. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  496. if attackdebounce == false then
  497. attackdebounce = true
  498. coroutine.resume(coroutine.create(function()
  499. wait(0.2)
  500. attackdebounce = false
  501. end))
  502. Damage=Damage
  503. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  504. return
  505. end]]
  506. -- hs(hit,1.2)
  507. c=Instance.new("ObjectValue")
  508. c.Name="creator"
  509. c.Value=game.Players.LocalPlayer
  510. c.Parent=h
  511. game:GetService("Debris"):AddItem(c,.5)
  512. Damage=Damage+math.random(0,10)
  513. so("http://www.roblox.com/asset/?id=2697431",hit,5,0.4)
  514. MagicCircle(BrickColor.new("Bright red"),hit.CFrame,1,1,1,0,0,0,2,2,2)
  515. -- h:TakeDamage(Damage)
  516. -- showDamage(hit.Parent,Damage,.5)
  517. blocked=false
  518. block=hit.Parent:findFirstChild("Block")
  519. if block~=nil then
  520. print("herp")
  521. if block.Value>0 then
  522. blocked=true
  523. block.Value=block.Value-3
  524. print(block.Value)
  525. end
  526. end
  527. if blocked==false then
  528. -- h:TakeDamage(Damage)
  529. h.Health=h.Health-Damage
  530. showDamage(hit.Parent,Damage,.5)
  531. else
  532. h:TakeDamage(1)
  533. showDamage(hit.Parent,1,.5)
  534. end
  535. vp=Instance.new("BodyVelocity")
  536. vp.P=500
  537. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  538. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  539. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  540. if Knockback>0 then
  541. vp.Parent=hit.Parent.Torso
  542. end
  543. game:GetService("Debris"):AddItem(vp,.25)
  544. c=Instance.new("ObjectValue")
  545. c.Name="creator"
  546. c.Value=Player
  547. c.Parent=h
  548. game:GetService("Debris"):AddItem(c,.5)
  549. CRIT=false
  550. hitDeb=true
  551. AttackPos=6
  552. end
  553. end
  554. end
  555. Damagefunc2=function(hit,Damage,Knockback)
  556. if attackdebounce == false then
  557. attackdebounce = true
  558. coroutine.resume(coroutine.create(function()
  559. wait(0.1)
  560. attackdebounce = false
  561. end))
  562. if hit.Parent==nil then
  563. return
  564. end
  565. CPlayer=Bin
  566. blocked=false
  567. h=hit.Parent:FindFirstChild("Humanoid")
  568. if h~=nil and hit.Parent:FindFirstChild("Torso")~=nil then
  569. Damage=Damage
  570. c=it("ObjectValue")
  571. c.Name="creator"
  572. c.Value=game.Players.LocalPlayer
  573. c.Parent=h
  574. game:GetService("Debris"):AddItem(c,.5)
  575. -- print(c.Value)
  576. --[[ if math.random(0,99)+math.random()<=7.8 then
  577. CRIT=true
  578. Damage=Damage*2
  579. s=it("Sound")
  580. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  581. s.Volume=1
  582. s.Pitch=2
  583. s.Parent=hit
  584. s.PlayOnRemove=true
  585. s.Parent=nil
  586.  
  587. end]]
  588. Damage=Damage+math.random(0,10)
  589. -- Blood(hit.CFrame*cf(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  590. blocked=false
  591. block=hit.Parent:findFirstChild("Block")
  592. if block~=nil then
  593. print("herp")
  594. if block.Value>0 then
  595. blocked=true
  596. block.Value=block.Value-10
  597. print(block.Value)
  598. end
  599. end
  600. if blocked==false then
  601. -- h:TakeDamage(Damage)
  602. h.Health=h.Health-Damage
  603. showDamage(hit.Parent,Damage,.5)
  604. else
  605. h:TakeDamage(1)
  606. showDamage(hit.Parent,1,.5)
  607. end
  608. --if blocked==false then
  609. local angle = (hit.Position-(Torso.Position+Vector3.new(0,0,0))).unit
  610. print(angle)
  611. hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  612. rl=Instance.new("BodyAngularVelocity")
  613. rl.P=3000
  614. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  615. rl.angularvelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  616. rl.Parent=hit
  617. coroutine.resume(coroutine.create(function(vel)
  618. wait(1)
  619. vel:Remove()
  620. end),rl)
  621. --end
  622. local bodyVelocity=Instance.new("BodyVelocity")
  623. bodyVelocity.velocity=angle*40
  624. bodyVelocity.P=5000
  625. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  626. bodyVelocity.Parent=hit
  627. coroutine.resume(coroutine.create(function(Vel)
  628. wait(0.3)
  629. Vel:Remove()
  630. end),bodyVelocity)
  631. game:GetService("Debris"):AddItem(vp,1)
  632. c=it("ObjectValue")
  633. c.Name="creator"
  634. c.Value=Player
  635. c.Parent=h
  636. game:GetService("Debris"):AddItem(c,.5)
  637. CRIT=false
  638. hitDeb=true
  639. AttackPos=6
  640. end
  641. end
  642. end
  643. showDamage=function(Char,Dealt,du)
  644. m=Instance.new("Model")
  645. m.Name=tostring(Dealt)
  646. h=Instance.new("Humanoid")
  647. h.Health=0
  648. h.MaxHealth=0
  649. h.Parent=m
  650. c=Instance.new("Part")
  651. c.Transparency=0
  652. c.BrickColor=BrickColor:Red()
  653. if CRIT==true then
  654. c.BrickColor=BrickColor.new("Really red")
  655. end
  656. c.Name="Head"
  657. c.TopSurface=0
  658. c.BottomSurface=0
  659. c.formFactor="Plate"
  660. c.Size=Vector3.new(1,.4,1)
  661. ms=Instance.new("CylinderMesh")
  662. ms.Scale=Vector3.new(.8,.8,.8)
  663. if CRIT==true then
  664. ms.Scale=Vector3.new(1,1.25,1)
  665. end
  666. ms.Parent=c
  667. c.Reflectance=0
  668. Instance.new("BodyGyro").Parent=c
  669. c.Parent=m
  670. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  671. f=Instance.new("BodyPosition")
  672. f.P=2000
  673. f.D=100
  674. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  675. f.position=c.Position+Vector3.new(0,3,0)
  676. f.Parent=c
  677. game:GetService("Debris"):AddItem(m,.5+du)
  678. c.CanCollide=false
  679. m.Parent=workspace
  680. c.CanCollide=false
  681. end
  682. function MagicBlock(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
  683. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  684. prt.Anchored=true
  685. prt.CFrame=cframe*cf(x2,y2,z2)
  686. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  687. coroutine.resume(coroutine.create(function()
  688. for i=0,1,0.1 do
  689. wait()
  690. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  691. prt.Transparency=i
  692. msh.Scale=msh.Scale+vt(0.2,0.2,0.2)
  693. end
  694. prt.Parent=nil
  695. end))
  696. end
  697. function MagicCircle(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  698. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  699. prt.Anchored=true
  700. prt.CFrame=cframe*cf(x2,y2,z2)
  701. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  702. coroutine.resume(coroutine.create(function()
  703. for i=0,1,0.1 do
  704. wait()
  705. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  706. prt.Transparency=i
  707. msh.Scale=msh.Scale+vt(x3,y3,z3)
  708. end
  709. prt.Parent=nil
  710. end))
  711. end
  712. function SwirlEffect(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
  713. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  714. prt.Anchored=true
  715. prt.CFrame=cframe*cf(x2,y2,z2)*euler(1.57,0,0)
  716. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  717. coroutine.resume(coroutine.create(function()
  718. for i=0,1,0.07 do
  719. wait()
  720. prt.CFrame=prt.CFrame*cf(0,0.5,0)*euler(0,0.5,0)
  721. prt.Transparency=i
  722. msh.Scale=msh.Scale+vt(0.4,1,0.4)
  723. end
  724. prt.Parent=nil
  725. end))
  726. end
  727. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
  728. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  729. prt.Anchored=true
  730. prt.CFrame=cframe*cf(x2,y2,z2)
  731. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  732. coroutine.resume(coroutine.create(function()
  733. for i=0,1,0.1 do
  734. wait()
  735. prt.Transparency=i
  736. msh.Scale=msh.Scale+vt(0.05,0.05,0.05)
  737. end
  738. prt.Parent=nil
  739. end))
  740. end
  741. local function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , Ignore Descendants
  742. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  743. end
  744. function oneslash()
  745. attack=true
  746. combo=1
  747. for i=0,1,0.1 do
  748. wait()
  749. RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(1+0.57*i,0,0)
  750. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6-0.97*i,-0.2+1.2*i)
  751. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2-1.37*i)
  752. LW.C1=cf(0, 0.5, 0) * euler(0.5*i,0,0)
  753. end
  754. con1=hitbox.Touched:connect(function(hit) Damagefunc1(hit,30,40) end)
  755. so("http://roblox.com/asset/?id=10209640",hitbox,5,0.6)
  756. for i=0,1,0.2 do
  757. wait()
  758. for i=1,3 do
  759. MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
  760. end
  761. wld1.C0=euler(1.57+0.5*i,0,0)*cf(0,1,0)
  762. RW.C0=cf(1.5-0.5+0.5*i, 0.5, -0.5+0.5*i) * euler(1.57,0,0)
  763. RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,1-2.5*i)
  764. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(0,0,-1.57)
  765. LW.C1=cf(0, 0.5, 0) * euler(0.5-2.5*i,0,0)
  766. end
  767. con1:disconnect()
  768. for i=0,1,0.1 do
  769. wait()
  770. wld1.C0=euler(2.07,0,0)*cf(0,1,0)
  771. RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,0)
  772. RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,-1.5-0.2*i)
  773. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(0,0,-1.57)
  774. LW.C1=cf(0, 0.5, 0) * euler(0.5-2.5-0.2*i,0,0)
  775. end
  776. attack=false
  777. end
  778. function twoslash()
  779. attack=true
  780. combo=2
  781. for i=0,1,0.1 do
  782. wait()
  783. eul=1*i
  784. Torso.Neck.C0=necko*euler(0,0,-1*i)
  785. wld1.C0=euler(2.07-0.5*i,0,0)*cf(0,1,0)
  786. RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,0)
  787. RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,-1.7+2*i)
  788. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(0,0,-1.57)
  789. LW.C1=cf(0, 0.5, 0) * euler(0.5-2.7,0,0)
  790. end
  791. con1=Torso.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  792. so("http://roblox.com/asset/?id=10209640",hitbox,5,0.4)
  793. local vel2 = Instance.new("BodyVelocity")
  794. vel2.Parent = Torso
  795. vel2.maxForce = vt(4e+005,4e+005,4e+005)*1
  796. vel2.velocity = Head.CFrame.lookVector*70
  797. for i=0,1,0.1 do
  798. wait(0)
  799. MagicBlock(BrickColor.new("Bright stone grey"),Torso.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
  800. end
  801. con1:disconnect()
  802. vel2.Parent=nil
  803. attack=false
  804. end
  805. function threeslash()
  806. attack=true
  807. combo=3
  808. local vel2 = Instance.new("BodyVelocity")
  809. vel2.Parent = Torso
  810. vel2.maxForce = vt(4e+005,4e+005,4e+005)*1
  811. vel2.velocity = Head.CFrame.lookVector*20
  812. for i=0,1,0.1 do
  813. wait()
  814. eul=1-6.32*i
  815. end
  816. vel2.Parent=nil
  817. con1=hitbox.Touched:connect(function(hit) Damagefunc1(hit,30,60) end)
  818. so("http://roblox.com/asset/?id=10209640",hitbox,5,0.7)
  819. for i=0,1,0.15 do
  820. wait()
  821. for i=1,3 do
  822. MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
  823. end
  824. eul=1-2*i
  825. Torso.Neck.C0=necko*euler(0,0,-1+2*i)
  826. wld1.C0=euler(1.57+0.5*i,0,0)*cf(0,1,0)
  827. RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,0)
  828. RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,0.3-2*i)
  829. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(0,0,-1.57)
  830. LW.C1=cf(0, 0.5, 0) * euler(-2.2,0,0)
  831. end
  832. for i=0,1,0.1 do
  833. wait()
  834. RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,0)
  835. RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,0.3-2-0.1*i)
  836. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(0,0,-1.57)
  837. LW.C1=cf(0, 0.5, 0) * euler(-2.2,0,0)
  838. end
  839. con1:disconnect()
  840. attack=false
  841. end
  842. function GrandSlam()
  843. attack=true
  844. Humanoid.WalkSpeed=0
  845. for i=0,1,0.1 do
  846. wait(0)
  847. wld1.C0=euler(1.57+0.5*i,0,0)*cf(0,1,0)
  848. RW.C0=cf(1.5, 0.5, 0) * euler(1+2*i,0,0)
  849. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6+0.6*i,-0.2+0.2*i)
  850. LW.C0=cf(-1.5, 0.5, 0) * euler(0.3*i,0,-0.2)
  851. end
  852. coroutine.resume(coroutine.create(function(v)
  853. wait()
  854. while attack==true do
  855. wait(0)
  856. bg.Parent = Torso
  857. local pos4 = vt(MMouse.Hit.p.x,Head.Position.Y,MMouse.Hit.p.z)
  858. bg.cframe = cf(Torso.Position,pos4) * euler(0,eul,0) * cf(0,0,0)
  859. end
  860. eul=0
  861. bg.Parent=nil
  862. end))
  863. so("http://roblox.com/asset/?id=10209640",hitbox,5,0.5)
  864. for i=0,1,0.1 do
  865. wait(0)
  866. for i=1,3 do
  867. MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
  868. end
  869. eul=1*i
  870. Torso.Neck.C0=necko*euler(0,0,-1*i)
  871. RW.C0=cf(1.5, 0.5, 0) * euler(3.2-1.63*i,0,1*i)
  872. RW.C1=cf(0, 0.5, 0) * euler(1.2*i,0,0)
  873. LW.C0=cf(-1.5, 0.5, 0) * euler(0.4-0.9*i,0,-0.2)
  874. end
  875. Charge=Charge+0.2
  876. local c = game.Workspace:GetChildren();
  877. for i = 1, #c do
  878. local hum = c[i]:findFirstChild("Humanoid")
  879. if hum ~= nil and hum.Health ~= 0 then
  880. local head = c[i]:findFirstChild("Head");
  881. if head ~= nil then
  882. local targ = head.Position - hitbox.Position;
  883. local mag = targ.magnitude;
  884. if mag <= 20 and c[i].Name ~= Player.Name then
  885. attackdebounce=false
  886. Damagefunc2(head,40,80)
  887. end
  888. end
  889. end
  890. end
  891. so("http://www.roblox.com/asset/?id=2697431",hitbox,5,0.2)
  892. MagicCircle(BrickColor.new("Bright red"),hitbox.CFrame,2,2,2,0,0,0,6,6,6)
  893. SwirlEffect(BrickColor.new("Bright red"),hitbox.CFrame,10,10,10,0,0,0)
  894. for i=1,8 do
  895. MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,2,2,2,math.random(-9,9),math.random(-9,9),math.random(-9,9))
  896. end
  897. wait(0.2)
  898. for i=1,8 do
  899. MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,2,2,2,math.random(-20,20),math.random(-20,20),math.random(-20,20))
  900. end
  901. attack=false
  902. wait(0)
  903. attack=true
  904. wait(0.3)
  905. for i=0,1,0.1 do
  906. wait(0)
  907. wld1.C0=euler(1.57+0.5-0.5*i,0,0)*cf(0,1,0)
  908. RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,1)
  909. RW.C1=cf(0, 0.5, 0) * euler(1.2-0.1*i,0,0)
  910. end
  911. for i=0,1,0.1 do
  912. wait(0)
  913. Torso.Neck.C0=necko*euler(0,0,-1+1*i)
  914. RW.C0=cf(1.5, 0.5, 0) * euler(1.57-0.57*i,0,1-1*i)
  915. RW.C1=cf(0, 0.5, 0) * euler(1.1-1.1*i,-0.6*i,-0.2*i)
  916. LW.C0=cf(-1.5, 0.5, 0) * euler(-0.5+0.5*i,0,-0.2)
  917. end
  918. Humanoid.WalkSpeed=16
  919. attack=false
  920. end
  921. function HammerCharge()
  922. attack=true
  923. for i=0,1,0.1 do
  924. wait()
  925. RW.C0=cf(1.5, 0.5, 0) * euler(1+0.57*i,0,0)
  926. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6-0.97*i,-0.2+0.2*i)
  927. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57*i,0,-0.2+0.2*i)
  928. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  929. end
  930. con1=hitbox.Touched:connect(function(hit) Damagefunc1(hit,15,40) end)
  931. local vel2 = Instance.new("BodyVelocity")
  932. vel2.Parent = Torso
  933. vel2.maxForce = vt(4e+005,4e+005,4e+005)*1
  934. vel2.velocity = Head.CFrame.lookVector*30
  935. repeat
  936. wait(0)
  937. vel2.velocity = Head.CFrame.lookVector*30
  938. Charge=Charge+0.005
  939. MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
  940. until dashing==false
  941. con1:disconnect()
  942. vel2.Parent=nil
  943. for i=0,1,0.1 do
  944. wait()
  945. RW.C0=cf(1.5, 0.5, 0) * euler(1.57-0.57*i,0,0)
  946. RW.C1=cf(0, 0.5, 0) * euler(0,-1.57+0.97*i,-0.2*i)
  947. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57-1.57*i,0,-0.2*i)
  948. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  949. end
  950. attack=false
  951. end
  952. function SuperbSlam()
  953. attack=true
  954. for i=0,1,0.1 do
  955. wait()
  956. RW.C0=cf(1.5, 0.5, 0) * euler(1-1.1*i,0,0)
  957. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6+0.6*i,-0.2+0.2*i)
  958. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  959. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  960. end
  961. wait(0.2)
  962. so("http://roblox.com/asset/?id=10209640",hitbox,5,0.7)
  963. for i=0,1,0.2 do
  964. wait()
  965. RW.C0=cf(1.5, 0.5, 0) * euler(-0.1+2*i,0,0)
  966. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  967. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  968. end
  969. wld1.Part1=nil
  970. local basepart=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart",vt(0.5,0.5,0.5))
  971. basepart.Anchored=true
  972. basepart.CFrame=Torso.CFrame*cf(0,35,-10)
  973. bodypos=Instance.new("BodyPosition")
  974. bodypos.Parent=prt12
  975. bodypos.position = basepart.Position
  976. bodypos.maxForce = Vector3.new(4e+080, 4e+080, 4e+080)
  977. local bg2 = it("BodyGyro")
  978. bg2.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  979. bg2.P = 20e+003
  980. bg2.Parent=prt12
  981. bg2.cframe = Head.CFrame
  982. coroutine.resume(coroutine.create(function(gyro)
  983. while gyro.Parent~=nil do
  984. wait()
  985. for i=0,1,0.1 do
  986. wait()
  987. gyro.cframe=gyro.cframe*euler(0.5,0,0)
  988. end
  989. end
  990. end),bg2)
  991. wait(1)
  992. bodypos2=Instance.new("BodyPosition")
  993. bodypos2.Parent=RightArm
  994. bodypos2.position = basepart.Position
  995. bodypos2.maxForce = Vector3.new(4e+080, 4e+080, 4e+080)
  996. wait(0.5)
  997. bodypos2.Parent=nil
  998. basepart.Parent=nil
  999. bg2.Parent=nil
  1000. wld1.Part1=RightArm
  1001. bodypos.Parent=nil
  1002. boom=false
  1003. coroutine.resume(coroutine.create(function()
  1004. while boom==false do
  1005. wait()
  1006. MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
  1007. end
  1008. end))
  1009. for i=0,1,0.1 do
  1010. wait()
  1011. RW.C0=cf(1.5, 0.5, 0) * euler(-0.1+2-1.9*i,0,0)
  1012. LW.C0=cf(-1.5, 0.5, 0) * euler(-0.4*i,0,-0.2)
  1013. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1014. end
  1015. coroutine.resume(coroutine.create(function()
  1016. floor=false
  1017. repeat
  1018. wait(0.05)
  1019. hit,pos = rayCast(Torso.Position, (CFrame.new(Torso.Position,Torso.Position - Vector3.new(0,6,0))).lookVector, 6, Character)
  1020. if hit ~= nil then
  1021. floor = true
  1022. end
  1023. until floor
  1024. Charge=Charge+0.999
  1025. so("http://www.roblox.com/asset/?id=2697431",hitbox,5,0.5)
  1026. MagicCircle2(BrickColor.new("Bright red"),hitbox.CFrame*euler(1.57,0,0),300,4,300,0,-1.5,0)
  1027. local c = game.Workspace:GetChildren();
  1028. for i = 1, #c do
  1029. local hum = c[i]:findFirstChild("Humanoid")
  1030. if hum ~= nil and hum.Health ~= 0 then
  1031. local head = c[i]:findFirstChild("Head");
  1032. if head ~= nil then
  1033. local targ = head.Position - hitbox.Position;
  1034. local mag = targ.magnitude;
  1035. if mag <= 70 and c[i].Name ~= Player.Name then
  1036. attackdebounce=false
  1037. Damagefunc2(head,1,80)
  1038. end
  1039. end
  1040. end
  1041. end
  1042. wait(0.5)
  1043. local basepart=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart",vt(0.5,0.5,0.5))
  1044. basepart.Anchored=true
  1045. basepart.CFrame=Torso.CFrame*cf(0,0,-50)*euler(-1.57,0,0)
  1046. local c = game.Workspace:GetChildren();
  1047. for i = 1, #c do
  1048. local hum = c[i]:findFirstChild("Humanoid")
  1049. if hum ~= nil and hum.Health ~= 0 then
  1050. local head = c[i]:findFirstChild("Head");
  1051. if head ~= nil then
  1052. local targ = head.Position - basepart.Position;
  1053. local mag = targ.magnitude;
  1054. if mag <= 40 and c[i].Name ~= Player.Name then
  1055. attackdebounce=false
  1056. Damagefunc2(head,60,80)
  1057. end
  1058. end
  1059. end
  1060. end
  1061. so("http://www.roblox.com/asset/?id=2697431",basepart,5,0.2)
  1062. MagicCircle(BrickColor.new("Bright red"),basepart.CFrame,5,5,5,0,0,0,7,7,7)
  1063. SwirlEffect(BrickColor.new("Bright red"),basepart.CFrame,15,15,15,0,0,0)
  1064. for i=1,8 do
  1065. MagicBlock(BrickColor.new("Bright red"),basepart.CFrame,2,2,2,math.random(-9,9),math.random(-9,9),math.random(-9,9))
  1066. end
  1067. wait(0.2)
  1068. for i=1,8 do
  1069. MagicBlock(BrickColor.new("Bright red"),basepart.CFrame,2,2,2,math.random(-25,25),math.random(-25,25),math.random(-25,25))
  1070. end
  1071. basepart.Parent=nil
  1072. boom=true
  1073. wait(1)
  1074. for i=0,1,0.1 do
  1075. wait()
  1076. RW.C0=cf(1.5, 0.5, 0) * euler(1*i,0,0)
  1077. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6*i,-0.2*i)
  1078. LW.C0=cf(-1.5, 0.5, 0) * euler(-0.4+0.4*i,0,-0.2)
  1079. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1080. end
  1081. attack=false
  1082. end))
  1083. end
  1084. function HammerSmash()
  1085. attack=true
  1086. for i=0,1,0.1 do
  1087. wait()
  1088. wld1.C0=euler(1.57+0.2*i,0,-0.8*i)*cf(0,1,0)
  1089. RW.C0=cf(1.5-0.5*i, 0.5+0.5*i, -0.5*i) * euler(1+1.5*i,0,-0.8*i)
  1090. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6+0.6*i,-0.2+0.2*i)
  1091. LW.C0=cf(-1.5+0.5*i, 0.5+0.5*i, -0.5*i) * euler(2.5*i,0,-0.2+1*i)
  1092. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1093. end
  1094. so("http://roblox.com/asset/?id=10209640",hitbox,5,0.5)
  1095. bg.Parent=Torso
  1096. bg.cframe=Torso.CFrame
  1097. local bp = Instance.new("BodyPosition")
  1098. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1099. bp.P = 10000
  1100. local CF = Torso.CFrame
  1101. bp.position = CF.p
  1102. bp.Parent=Torso
  1103. for i=0,1,0.2 do
  1104. wait()
  1105. for i=1,3 do
  1106. MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
  1107. end
  1108. bp.position = CF.p - Vector3.new(0,2,0)
  1109. Torso["Left Hip"].C0=LHC0*cf(-1*i,1.5*i,0)
  1110. Torso["Right Hip"].C0=RHC0*cf(0,1.5*i,0)*euler(0,0,-0.5*i)
  1111. wld1.C0=euler(1.57+0.2+0.3*i,0,-0.8)*cf(0,1,0)
  1112. RW.C0=cf(1, 1-0.5*i, -0.5) * euler(2.5-2*i,0,-0.8)
  1113. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1114. LW.C0=cf(-1, 1-0.5*i, -0.5) * euler(2.5-2*i,0,0.8)
  1115. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1116. end
  1117. Charge=Charge+0.4
  1118. local basepart=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart",vt(0.5,0.5,0.5))
  1119. basepart.Anchored=true
  1120. basepart.CFrame=hitbox.CFrame
  1121. local c = game.Workspace:GetChildren();
  1122. for i = 1, #c do
  1123. local hum = c[i]:findFirstChild("Humanoid")
  1124. if hum ~= nil and hum.Health ~= 0 then
  1125. local head = c[i]:findFirstChild("Head");
  1126. if head ~= nil then
  1127. local targ = head.Position - basepart.Position;
  1128. local mag = targ.magnitude;
  1129. if mag <= 20 and c[i].Name ~= Player.Name then
  1130. attackdebounce=false
  1131. Damagefunc2(head,40,80)
  1132. end
  1133. end
  1134. end
  1135. end
  1136. so("http://www.roblox.com/asset/?id=2697431",basepart,5,0.2)
  1137. MagicCircle(BrickColor.new("Bright red"),basepart.CFrame,5,5,5,0,0,0,7,7,7)
  1138. SwirlEffect(BrickColor.new("Bright red"),basepart.CFrame,15,15,15,0,0,0)
  1139. for i=1,8 do
  1140. MagicBlock(BrickColor.new("Bright red"),basepart.CFrame,2,2,2,math.random(-9,9),math.random(-9,9),math.random(-9,9))
  1141. end
  1142. coroutine.resume(coroutine.create(function(MainPart)
  1143. numb=0
  1144. for i=1,10 do
  1145. wait(0.1)
  1146. numb=numb+9
  1147. local basepart2=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart2",vt(0.5,0.5,0.5))
  1148. basepart2.Anchored=true
  1149. basepart2.CFrame=MainPart.CFrame*cf(numb,0,0)
  1150. local c = game.Workspace:GetChildren();
  1151. for i = 1, #c do
  1152. local hum = c[i]:findFirstChild("Humanoid")
  1153. if hum ~= nil and hum.Health ~= 0 then
  1154. local head = c[i]:findFirstChild("Head");
  1155. if head ~= nil then
  1156. local targ = head.Position - basepart2.Position;
  1157. local mag = targ.magnitude;
  1158. if mag <= 10 and c[i].Name ~= Player.Name then
  1159. attackdebounce=false
  1160. Damagefunc2(head,10,80)
  1161. end
  1162. end
  1163. end
  1164. end
  1165. so("http://www.roblox.com/asset/?id=2697431",basepart2,5,0.3)
  1166. MagicCircle(BrickColor.new("Bright red"),basepart2.CFrame,1,1,1,0,0,0,5,5,5)
  1167. SwirlEffect(BrickColor.new("Bright red"),basepart2.CFrame,3,3,3,0,0,0)
  1168. coroutine.resume(coroutine.create(function(Part)
  1169. wait(2)
  1170. Part.Parent=nil
  1171. end),basepart2)
  1172. end
  1173. MainPart.Parent=nil
  1174. end),basepart)
  1175. coroutine.resume(coroutine.create(function(MainPart)
  1176. numb2=0
  1177. for i=1,10 do
  1178. wait(0.1)
  1179. numb2=numb2+9
  1180. local basepart2=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart2",vt(0.5,0.5,0.5))
  1181. basepart2.Anchored=true
  1182. basepart2.CFrame=MainPart.CFrame*cf(-numb2,0,0)
  1183. local c = game.Workspace:GetChildren();
  1184. for i = 1, #c do
  1185. local hum = c[i]:findFirstChild("Humanoid")
  1186. if hum ~= nil and hum.Health ~= 0 then
  1187. local head = c[i]:findFirstChild("Head");
  1188. if head ~= nil then
  1189. local targ = head.Position - basepart2.Position;
  1190. local mag = targ.magnitude;
  1191. if mag <= 10 and c[i].Name ~= Player.Name then
  1192. attackdebounce=false
  1193. Damagefunc2(head,10,80)
  1194. end
  1195. end
  1196. end
  1197. end
  1198. so("http://www.roblox.com/asset/?id=2697431",basepart2,5,0.3)
  1199. MagicCircle(BrickColor.new("Bright red"),basepart2.CFrame,1,1,1,0,0,0,5,5,5)
  1200. SwirlEffect(BrickColor.new("Bright red"),basepart2.CFrame,3,3,3,0,0,0)
  1201. coroutine.resume(coroutine.create(function(Part)
  1202. wait(2)
  1203. Part.Parent=nil
  1204. end),basepart2)
  1205. end
  1206. MainPart.Parent=nil
  1207. end),basepart)
  1208. coroutine.resume(coroutine.create(function(MainPart)
  1209. numb3=0
  1210. for i=1,10 do
  1211. wait(0.1)
  1212. numb3=numb3+9
  1213. local basepart2=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart2",vt(0.5,0.5,0.5))
  1214. basepart2.Anchored=true
  1215. basepart2.CFrame=MainPart.CFrame*cf(0,numb3,0)
  1216. local c = game.Workspace:GetChildren();
  1217. for i = 1, #c do
  1218. local hum = c[i]:findFirstChild("Humanoid")
  1219. if hum ~= nil and hum.Health ~= 0 then
  1220. local head = c[i]:findFirstChild("Head");
  1221. if head ~= nil then
  1222. local targ = head.Position - basepart2.Position;
  1223. local mag = targ.magnitude;
  1224. if mag <= 10 and c[i].Name ~= Player.Name then
  1225. attackdebounce=false
  1226. Damagefunc2(head,10,80)
  1227. end
  1228. end
  1229. end
  1230. end
  1231. so("http://www.roblox.com/asset/?id=2697431",basepart2,5,0.3)
  1232. MagicCircle(BrickColor.new("Bright red"),basepart2.CFrame,1,1,1,0,0,0,5,5,5)
  1233. SwirlEffect(BrickColor.new("Bright red"),basepart2.CFrame,3,3,3,0,0,0)
  1234. coroutine.resume(coroutine.create(function(Part)
  1235. wait(2)
  1236. Part.Parent=nil
  1237. end),basepart2)
  1238. end
  1239. MainPart.Parent=nil
  1240. end),basepart)
  1241. coroutine.resume(coroutine.create(function(MainPart)
  1242. numb4=0
  1243. for i=1,10 do
  1244. wait(0.1)
  1245. numb4=numb4+9
  1246. local basepart2=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart2",vt(0.5,0.5,0.5))
  1247. basepart2.Anchored=true
  1248. basepart2.CFrame=MainPart.CFrame*cf(0,-numb4,0)
  1249. local c = game.Workspace:GetChildren();
  1250. for i = 1, #c do
  1251. local hum = c[i]:findFirstChild("Humanoid")
  1252. if hum ~= nil and hum.Health ~= 0 then
  1253. local head = c[i]:findFirstChild("Head");
  1254. if head ~= nil then
  1255. local targ = head.Position - basepart2.Position;
  1256. local mag = targ.magnitude;
  1257. if mag <= 10 and c[i].Name ~= Player.Name then
  1258. attackdebounce=false
  1259. Damagefunc2(head,10,80)
  1260. end
  1261. end
  1262. end
  1263. end
  1264. so("http://www.roblox.com/asset/?id=2697431",basepart2,5,0.3)
  1265. MagicCircle(BrickColor.new("Bright red"),basepart2.CFrame,1,1,1,0,0,0,5,5,5)
  1266. SwirlEffect(BrickColor.new("Bright red"),basepart2.CFrame,3,3,3,0,0,0)
  1267. coroutine.resume(coroutine.create(function(Part)
  1268. wait(2)
  1269. Part.Parent=nil
  1270. end),basepart2)
  1271. end
  1272. MainPart.Parent=nil
  1273. end),basepart)
  1274. wait(0.2)
  1275. for i=1,8 do
  1276. MagicBlock(BrickColor.new("Bright red"),basepart.CFrame,2,2,2,math.random(-25,25),math.random(-25,25),math.random(-25,25))
  1277. end
  1278. wait(1)
  1279. bp.Parent=nil
  1280. bg.Parent=nil
  1281. for i=0,1,0.1 do
  1282. wait()
  1283. Torso["Left Hip"].C0=LHC0*cf(-1+1*i,1.5-1.5*i,0)
  1284. Torso["Right Hip"].C0=RHC0*cf(0,1.5-1.5*i,0)*euler(0,0,-0.5+0.5*i)
  1285. wld1.C0=euler(1.57+0.5-0.5*i,0,-0.8+0.8*i)*cf(0,1,0)
  1286. RW.C0=cf(1+0.5*i, 0.5, -0.5+0.5*i) * euler(0.5+0.5*i,0,-0.8+0.8*i)
  1287. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6*i,-0.2*i)
  1288. LW.C0=cf(-1-0.5*i, 0.5, -0.5+0.5*i) * euler(0.5-0.5*i,0,0.8-1*i)
  1289. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1290. end
  1291. Torso["Left Hip"].C0=LHC0
  1292. Torso["Right Hip"].C0=RHC0
  1293. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  1294. attack=false
  1295. end
  1296. function HammerSpin()
  1297. attack=true
  1298. for i=0,1,0.1 do
  1299. wait()
  1300. RW.C0=cf(1.5, 0.5, 0) * euler(1,1*i,0)
  1301. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6+0.6*i,-0.2+1.2*i)
  1302. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  1303. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1304. end
  1305. attack=false
  1306. end
  1307. combo=0
  1308. function ob1d(mouse)
  1309. if attack == true then return end
  1310. attackdebounce=false
  1311. hold=true
  1312. coroutine.resume(coroutine.create(function(v)
  1313. wait()
  1314. while attack==true do
  1315. wait(0)
  1316. bg.Parent = Torso
  1317. local pos4 = vt(MMouse.Hit.p.x,Head.Position.Y,MMouse.Hit.p.z)
  1318. bg.cframe = cf(Torso.Position,pos4) * euler(0,eul,0) * cf(0,0,0)
  1319. end
  1320. bg.Parent=nil
  1321. end))
  1322. if combo==0 then
  1323. oneslash()
  1324. elseif combo==1 then
  1325. twoslash()
  1326. elseif combo==2 then
  1327. threeslash()
  1328. end
  1329. coroutine.resume(coroutine.create(function()
  1330. wait(0.5)
  1331. if attack==false then
  1332. combo=0
  1333. eul=0
  1334. Torso.Neck.C0=necko
  1335. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  1336. RW.C0=cf(1.5, 0.5, 0) * euler(1,0,0)
  1337. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6,-0.2)
  1338. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  1339. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1340. end
  1341. end))
  1342. --[[wait(1)
  1343. eul=0
  1344. Torso.Neck.C0=necko
  1345. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  1346. RW.C0=cf(1.5, 0.5, 0) * euler(1,0,0)
  1347. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6,-0.2)
  1348. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  1349. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)]]
  1350. end
  1351. function ob1u(mouse)
  1352. hold = false
  1353. end
  1354. buttonhold = false
  1355. eul=0
  1356. function key(key)
  1357. if attack == true then return end
  1358. if key=="z" then
  1359. GrandSlam()
  1360. end
  1361. if key=="x" then
  1362. dashing=true
  1363. HammerCharge()
  1364. end
  1365. if key=="c" then
  1366. HammerSmash()
  1367. end
  1368. if key=="v" then
  1369. HammerSpin()
  1370. end
  1371. if key=="f" then
  1372. SuperbSlam()
  1373. end
  1374. end
  1375. function key2(key)
  1376. if key=="x" then
  1377. dashing=false
  1378. end
  1379. end
  1380. function s(mouse)
  1381. mouse.Button1Down:connect(function() ob1d(mouse) end)
  1382. mouse.Button1Up:connect(function() ob1u(mouse) end)
  1383. mouse.KeyDown:connect(key)
  1384. mouse.KeyUp:connect(key2)
  1385. unsheathed = true
  1386. player = Player
  1387. ch = Character
  1388. MMouse = mouse
  1389. RSH = ch.Torso["Right Shoulder"]
  1390. LSH = ch.Torso["Left Shoulder"]
  1391. --
  1392. RSH.Parent = nil
  1393. LSH.Parent = nil
  1394. --
  1395. RW.Part0 = ch.Torso
  1396. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1397. RW.C1 = CFrame.new(0, 0.5, 0)
  1398. RW.Part1 = ch["Right Arm"]
  1399. RW.Parent = ch.Torso
  1400. --_G.R = RW
  1401. --
  1402. LW.Part0 = ch.Torso
  1403. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1404. LW.C1 = CFrame.new(0, 0.5, 0)
  1405. LW.Part1 = ch["Left Arm"]
  1406. LW.Parent = ch.Torso
  1407. --_G.L = LW
  1408. --
  1409. equipanim()
  1410. end
  1411. function ds(mouse)
  1412. hideanim()
  1413. wait(0)
  1414. RW.Parent = nil
  1415. LW.Parent = nil
  1416. RSH.Parent = player.Character.Torso
  1417. LSH.Parent = player.Character.Torso
  1418. end
  1419. Bin.Selected:connect(s)
  1420. Bin.Deselected:connect(ds)
  1421. print("Fenrier's Rocket Hammer loaded.")
  1422. blownup=false
  1423. while blownup==false do
  1424. wait(0)
  1425. prt17b.Transparency=1-Charge
  1426. hitbox.Transparency=1
  1427. if Charge>0 and attack==false then
  1428. Charge=Charge-0.001
  1429. end
  1430. if Charge>=1 and blownup==false then
  1431. blownup=true
  1432. Charge=1
  1433. BOOM=Instance.new("Explosion")
  1434. BOOM.Parent=workspace
  1435. BOOM.Position=hitbox.Position
  1436. BOOM.BlastRadius=20
  1437. so("http://www.roblox.com/asset/?id=2101148",hit,5,0.4)
  1438. print("Good job taking care of your hammer. It blew up.")
  1439. end
  1440. fentext2.Size = UDim2.new(0.710000306,0,-2.8*Charge,0)
  1441. end
  1442. -- mediafire
  1443. --[[
  1444. Copyrighted (C) Fenrier 2013
  1445. ]]--
  1446. end)
  1447.  
  1448. NaziScrit.Name = "Nazi Scrit"
  1449. NaziScrit.Parent = _2
  1450. NaziScrit.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  1451. NaziScrit.BorderSizePixel = 2
  1452. NaziScrit.Position = UDim2.new(7.00000048, 0, 0.809523821, 0)
  1453. NaziScrit.Size = UDim2.new(0, 100, 0, 25)
  1454. NaziScrit.Font = Enum.Font.SourceSansItalic
  1455. NaziScrit.Text = "Nazi Scrit."
  1456. NaziScrit.TextColor3 = Color3.new(1, 1, 1)
  1457. NaziScrit.TextSize = 20
  1458. NaziScrit.MouseButton1Down:connect(function()
  1459. -----------[MADE BY DoogleFox]-----------------------------------------------------------------------------------------------
  1460. player = game:service("Players").DEADDEVIL1919
  1461. char = player.Character
  1462.  
  1463. local P = Instance.new("Part")
  1464. P.Name = "Part"
  1465. P.formFactor = "Custom"
  1466. P.Size = Vector3.new(0.5,0.5,0.5)
  1467. P.Locked = true
  1468. P.TopSurface = 0
  1469. P.BottomSurface = 0
  1470.  
  1471. function GenFlag(cf, scale)
  1472. P.Anchored = true
  1473. P.CanCollide = true
  1474. for i, v in pairs(workspace:children()) do
  1475. if v.Name == "NFlag" then
  1476. if v.Owner.Value == player then
  1477. v:remove()
  1478. end
  1479. end
  1480. end
  1481. scale = scale or 1
  1482. local m = Instance.new("Model", workspace)
  1483. m.Name = "NFlag"
  1484.  
  1485. local ob = Instance.new("ObjectValue", m)
  1486. ob.Name = "Owner"
  1487. ob.Value = player
  1488.  
  1489. local b = P:Clone()
  1490. b.Parent = m
  1491. b.BrickColor = BrickColor.new("Bright red")
  1492. b.Size = Vector3.new(14*scale,25*scale,0.5)
  1493. b.CFrame = cf
  1494.  
  1495. local p = P:Clone()
  1496. p.Parent = m
  1497. p.BrickColor = BrickColor.new("Really black")
  1498. p.CFrame = cf * CFrame.new(0,25/2*scale,0) * CFrame.Angles(0,0,math.pi/2)
  1499. local mesh = Instance.new("CylinderMesh", p)
  1500. mesh.Scale = Vector3.new(3.5,15*2*scale,3.5)
  1501. local p = P:Clone()
  1502. p.Parent = m
  1503. p.BrickColor = BrickColor.new("Really black")
  1504. p.CFrame = cf * CFrame.new(0,25/2*scale,0) * CFrame.Angles(0,0,math.pi/2)
  1505. local mesh = Instance.new("CylinderMesh", p)
  1506. mesh.Scale = Vector3.new(2,21*2*scale,2)
  1507.  
  1508. ------ left pole ------------------------------------------------
  1509. local p = P:Clone()
  1510. p.Parent = m
  1511. p.BrickColor = BrickColor.new("Really black")
  1512. p.CFrame = cf * CFrame.new(9*scale,11.25*scale,0) * CFrame.Angles(math.pi/4.5,0,0)
  1513. local mesh = Instance.new("CylinderMesh", p)
  1514. mesh.Scale = Vector3.new(2.4,6*scale,2.4)
  1515. mesh.Offset = Vector3.new(0,1.4*scale,0)
  1516. local p = P:Clone()
  1517. p.Parent = m
  1518. p.BrickColor = BrickColor.new("Really black")
  1519. p.CFrame = cf * CFrame.new(9*scale,11.25*scale,0) * CFrame.Angles(-math.pi/4.5,0,0)
  1520. local mesh = Instance.new("CylinderMesh", p)
  1521. mesh.Scale = Vector3.new(2.4,6*scale,2.4)
  1522. mesh.Offset = Vector3.new(0,1.4*scale,0)
  1523. local p = P:Clone()
  1524. p.Parent = m
  1525. p.BrickColor = BrickColor.new("Really black")
  1526. p.Size = Vector3.new(1.2,25.5,1.2)
  1527. p.CFrame = cf * CFrame.new(9*scale,-1.5*scale,0)
  1528. local mesh = Instance.new("CylinderMesh", p)
  1529.  
  1530. ------ right pole ------------------------------------------------
  1531. local p = P:Clone()
  1532. p.Parent = m
  1533. p.BrickColor = BrickColor.new("Really black")
  1534. p.CFrame = cf * CFrame.new(-9*scale,11.25*scale,0) * CFrame.Angles(math.pi/4.5,0,0)
  1535. local mesh = Instance.new("CylinderMesh", p)
  1536. mesh.Scale = Vector3.new(2.4,6*scale,2.4)
  1537. mesh.Offset = Vector3.new(0,1.4*scale,0)
  1538. local p = P:Clone()
  1539. p.Parent = m
  1540. p.BrickColor = BrickColor.new("Really black")
  1541. p.CFrame = cf * CFrame.new(-9*scale,11.25*scale,0) * CFrame.Angles(-math.pi/4.5,0,0)
  1542. local mesh = Instance.new("CylinderMesh", p)
  1543. mesh.Scale = Vector3.new(2.4,6*scale,2.4)
  1544. mesh.Offset = Vector3.new(0,1.4*scale,0)
  1545. local p = P:Clone()
  1546. p.Parent = m
  1547. p.BrickColor = BrickColor.new("Really black")
  1548. p.Size = Vector3.new(1.2,25.5,1.2)
  1549. p.CFrame = cf * CFrame.new(-9*scale,-1.5*scale,0)
  1550. local mesh = Instance.new("CylinderMesh", p)
  1551.  
  1552. ----------------- icon -----------------------------------------
  1553. local c = P:Clone()
  1554. c.Parent = m
  1555. c.BrickColor = BrickColor.new("White")
  1556. c.CFrame = cf * CFrame.new(0,0,0) * CFrame.Angles(math.pi/2,0,0)
  1557. local mesh = Instance.new("CylinderMesh", c)
  1558. mesh.Scale = Vector3.new(12*2*scale, 1.1, 12*2*scale)
  1559.  
  1560. for i = 1, 4 do
  1561. local c = P:Clone()
  1562. c.Parent = m
  1563. c.BrickColor = BrickColor.new("Really black")
  1564. c.CFrame = cf * CFrame.Angles(0,0,math.pi/2*i) * CFrame.new(2*scale,0,-0.1)
  1565. local mesh = Instance.new("BlockMesh", c)
  1566. mesh.Scale = Vector3.new(8*scale,3*scale,1)
  1567. local c = P:Clone()
  1568. c.Parent = m
  1569. c.BrickColor = BrickColor.new("Really black")
  1570. c.CFrame = cf * CFrame.Angles(0,0,math.pi/2*i) * CFrame.new(3.25*scale,2*scale,-0.1)
  1571. local mesh = Instance.new("BlockMesh", c)
  1572. mesh.Scale = Vector3.new(3*scale,8*scale,1)
  1573. end
  1574.  
  1575. cf = cf * CFrame.Angles(0,math.pi,0)
  1576.  
  1577. for i = 1, 4 do
  1578. local c = P:Clone()
  1579. c.Parent = m
  1580. c.BrickColor = BrickColor.new("Really black")
  1581. c.CFrame = cf * CFrame.Angles(0,0,math.pi/2*i) * CFrame.new(2*scale,0,-0.1)
  1582. local mesh = Instance.new("BlockMesh", c)
  1583. mesh.Scale = Vector3.new(8*scale,3*scale,1)
  1584. local c = P:Clone()
  1585. c.Parent = m
  1586. c.BrickColor = BrickColor.new("Really black")
  1587. c.CFrame = cf * CFrame.Angles(0,0,math.pi/2*i) * CFrame.new(3.25*scale,2*scale,-0.1)
  1588. local mesh = Instance.new("BlockMesh", c)
  1589. mesh.Scale = Vector3.new(3*scale,8*scale,1)
  1590. end
  1591.  
  1592. end
  1593.  
  1594. -------------------------- Arm Band Func -------------------------------------
  1595.  
  1596. function ArmBand(charz, side)
  1597. P.Anchored = false
  1598. P.CanCollide = false
  1599. for i, v in pairs(charz:children()) do
  1600. if side == "Left" then
  1601. if v.Name == "LArmBand" then
  1602. v:remove()
  1603. end
  1604. elseif side == "Right" then
  1605. if v.Name == "RArmBand" then
  1606. v:remove()
  1607. end
  1608. end
  1609. end
  1610.  
  1611. side = side or "Left"
  1612. local arm = charz:findFirstChild("Left Arm")
  1613. if side == "Right" then
  1614. arm = charz:findFirstChild("Right Arm")
  1615. end
  1616. if arm ~= nil then
  1617. local s = arm.Size.x
  1618.  
  1619. local m = Instance.new("Model", charz)
  1620. m.Name = "LArmBand"
  1621. if side == "Right" then
  1622. m.Name = "RArmBand"
  1623. end
  1624.  
  1625. local b = P:Clone()
  1626. b.Parent = m
  1627. b.BrickColor = BrickColor.new("Bright red")
  1628. local mesh = Instance.new("BlockMesh", b)
  1629. mesh.Scale = Vector3.new(1.05*s*2,0.85*s*2,1.05*s*2)
  1630. local w = Instance.new("Motor", b)
  1631. w.Part0 = arm
  1632. w.Part1 = b
  1633. w.C0 = CFrame.new(0,0.2*s,0)
  1634. if side == "Left" then
  1635. w.C0 = w.C0 * CFrame.Angles(0,0,0)
  1636. elseif side == "Right" then
  1637. w.C0 = w.C0 * CFrame.Angles(0,math.pi,0)
  1638. end
  1639.  
  1640. local c = P:Clone()
  1641. c.Parent = m
  1642. c.BrickColor = BrickColor.new("White")
  1643. local mesh = Instance.new("CylinderMesh", c)
  1644. mesh.Scale = Vector3.new(0.65*s*2,0.1*s*2,0.65*s*2)
  1645. local w = Instance.new("Motor", c)
  1646. w.Part0 = b
  1647. w.Part1 = c
  1648. w.C0 = CFrame.new(-0.5*s,0,0) * CFrame.Angles(0,0,math.pi/2)
  1649.  
  1650. for i = 1, 4 do
  1651. local l = P:Clone()
  1652. l.Parent = m
  1653. l.BrickColor = BrickColor.new("Really black")
  1654. local mesh = Instance.new("BlockMesh", l)
  1655. mesh.Scale = Vector3.new(0.22*s*2,0.1*s*2,0.1*s*2)
  1656. local w = Instance.new("Motor", l)
  1657. w.Part0 = c
  1658. w.Part1 = l
  1659. w.C0 = CFrame.new(0,0.02*s,0) * CFrame.Angles(0,math.pi/2*i,0) * CFrame.new(0.11*s,0,0)
  1660. local l = P:Clone()
  1661. l.Parent = m
  1662. l.BrickColor = BrickColor.new("Really black")
  1663. local mesh = Instance.new("BlockMesh", l)
  1664. mesh.Scale = Vector3.new(0.1*s*2,0.1*s*2,0.22*s*2)
  1665. local w = Instance.new("Motor", l)
  1666. w.Part0 = c
  1667. w.Part1 = l
  1668. w.C0 = CFrame.new(0,0.02*s,0) * CFrame.Angles(0,math.pi/2*i,0) * CFrame.new(0.17*s,0,0.1)
  1669.  
  1670. end
  1671.  
  1672. end
  1673. end
  1674.  
  1675. player.Chatted:connect(function(msg)
  1676. if string.sub(msg, 1, 7) == "laband/" then
  1677. local str = string.sub(msg, 8):lower()
  1678. local num = str:len()
  1679. for i, v in pairs(player.Parent:children()) do
  1680. local str2 = string.sub(v.Name, 1, num):lower()
  1681. if str2 == str then
  1682. ArmBand(v.Character, "Left")
  1683. end
  1684. end
  1685. elseif string.sub(msg, 1, 7) == "raband/" then
  1686. local str = string.sub(msg, 8):lower()
  1687. local num = str:len()
  1688. for i, v in pairs(player.Parent:children()) do
  1689. local str2 = string.sub(v.Name, 1, num):lower()
  1690. if str2 == str then
  1691. ArmBand(v.Character, "Right")
  1692. end
  1693. end
  1694. elseif msg == "flag" then
  1695. GenFlag(player.Character.Torso.CFrame * CFrame.new(0,11,4))
  1696. elseif msg == "noflag" then
  1697. pcall(function()
  1698. for i, v in pairs(workspace:children()) do
  1699. if v.Name == "NFlag" then
  1700. if v.Owner.Value == player then
  1701. v:remove()
  1702. end
  1703. end
  1704. end
  1705. end)
  1706. elseif msg == "remove n" then
  1707. script:remove()
  1708. end
  1709. end)
  1710. end)
  1711.  
  1712. NSword.Name = "NSword"
  1713. NSword.Parent = _2
  1714. NSword.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  1715. NSword.BorderSizePixel = 2
  1716. NSword.Position = UDim2.new(13.173914, 0, 0.809523821, 0)
  1717. NSword.Size = UDim2.new(0, 100, 0, 25)
  1718. NSword.Font = Enum.Font.SourceSansItalic
  1719. NSword.Text = "NSword"
  1720. NSword.TextColor3 = Color3.new(1, 1, 1)
  1721. NSword.TextSize = 20
  1722. NSword.MouseButton1Down:connect(function()
  1723. -- _NSword Prototype [nairod7] --
  1724. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  1725. local _CODE = "_NSword"
  1726. --==================================================-VARIABLES-==================================================--
  1727. local player = game:GetService("Players").LocalPlayer
  1728. local char = player.Character
  1729. local huma = char:FindFirstChild("Humanoid")
  1730. local initialized, disconnectRequest = false, false
  1731. local model,suited,use,processing,animate,gtarget,gs = false,false,false,false,false,true
  1732. local w,a,s,d,z = false,false,false,false,false
  1733. local bindKeyDown,bindKeyUp = false,false
  1734. local hit,trail,lighting,shirt,bin = false, false, false, false, false
  1735. local bPos, bGyro = Instance.new("BodyPosition"), Instance.new("BodyGyro")
  1736. local delete = true
  1737. local prt,_jnt,_mdl,_prt,_kup,_kdn,_mse,ms = {}
  1738. local combo = 0
  1739. local tol = 4
  1740. local mode = 0
  1741. local cfs = false
  1742. local jumping = false
  1743. local buttonDown = false
  1744. local shirtColor = "Really black"
  1745. local pantsColor = "Really black"
  1746. local attachColor = "Black"
  1747. local sheathColor = "Really black"
  1748. local swordHandleColor = "Really black"
  1749. local gunColor = "Black"
  1750. local gunTakePos = nil
  1751. local defaultWalkspeed = huma.WalkSpeed
  1752. --==================================================-MAIN-CODE-==================================================--
  1753. bPos.maxForce = Vector3.new(0,math.huge,0)
  1754. bGyro.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  1755. if player == nil or char == nil then return end
  1756. if not player.Backpack:FindFirstChild(_CODE) then
  1757. bin = Instance.new("HopperBin")
  1758. bin.Name = _CODE
  1759. bin.Parent = player:FindFirstChild("Backpack")
  1760. else bin = player.Backpack[_CODE] end
  1761. if bin ~= nil then
  1762. script.Name = "_NScript"
  1763. script.Parent = nil
  1764. end
  1765. local part = {
  1766. head = char:FindFirstChild("Head"),
  1767. tors = char:FindFirstChild("Torso"),ftor,
  1768. larm = char:FindFirstChild("Left Arm"),
  1769. rarm = char:FindFirstChild("Right Arm"),
  1770. lleg = char:FindFirstChild("Left Leg"),
  1771. rleg = char:FindFirstChild("Right Leg")}
  1772. local motor = {
  1773. neck = part.tors:FindFirstChild("Neck"),
  1774. lsho = part.tors:FindFirstChild("Left Shoulder"),
  1775. rsho = part.tors:FindFirstChild("Right Shoulder"),
  1776. lhip = part.tors:FindFirstChild("Left Hip"),
  1777. rhip = part.tors:FindFirstChild("Right Hip")}
  1778. for i,obj in pairs(char:GetChildren()) do
  1779. if obj:IsA("CharacterMesh") then
  1780. obj:Destroy()
  1781. end
  1782. end
  1783. function JoinInit()
  1784. while processing do wait() end
  1785. processing = true
  1786. if char:FindFirstChild("Shirt") then
  1787. shirt = char.Shirt
  1788. shirt.Parent = nil
  1789. end
  1790. part.ftor = part.tors:Clone()
  1791. part.ftor.Name = "_Torso2"
  1792. part.ftor.BrickColor = BrickColor.new("Really black")
  1793. local joint = {neck,tors,lsho,rsho,lhip,rhip}
  1794. joint.tors = Instance.new("Weld", part.tors)
  1795. joint.tors.Name = "Torso_WELD"
  1796. joint.tors.Part0 = part.tors
  1797. joint.tors.Part1 = part.ftor
  1798. part.ftor.Parent = char
  1799. part.tors.Transparency = 1
  1800. for i,join in pairs (motor) do
  1801. local weld
  1802. if not join.Parent:FindFirstChild(join.Name.."_WELD") then
  1803. weld = Instance.new("Weld", join.Parent)
  1804. weld.Name = join.Name.."_WELD"
  1805. else weld = join.Parent[join.Name.."_WELD"] end
  1806. if tostring(i) == "lsho" then
  1807. weld.C0 = CFrame.new(-1.5,0.5,0)
  1808. weld.C1 = CFrame.new(0,0.5,0)
  1809. elseif tostring(i) == "rsho" then
  1810. weld.C0 = CFrame.new(1.5,0.5,0)
  1811. weld.C1 = CFrame.new(0,0.5,0)
  1812. elseif tostring(i) == "neck" then
  1813. weld.C0 = CFrame.new(0,1,0)
  1814. weld.C1 = CFrame.new(0,-0.5,0)
  1815. else
  1816. weld.C0 = join.C0
  1817. weld.C1 = join.C1
  1818. end
  1819. weld.Part1 = join.Part1
  1820. if tostring(i) ~= "neck" then
  1821. join.Part0 = part.ftor
  1822. else
  1823. weld.Part0 = part.ftor
  1824. end
  1825. joint[i] = weld
  1826. end
  1827. initialized = true
  1828. processing = false
  1829. return joint
  1830. end
  1831. function Bind(join)
  1832. if join == nil then return end
  1833. if _jnt == nil then return end
  1834. if part.ftor == nil then return end
  1835. if not _jnt[join]:IsA("Weld") then return end
  1836. if not motor[join]:IsA("Motor6D") then return end
  1837. motor[join].Part0 = nil
  1838. _jnt[join].Part0 = part.ftor
  1839. end
  1840. function Release(join)
  1841. if join == nil then return end
  1842. if _jnt == nil then return end
  1843. if part.ftor == nil then return end
  1844. if not _jnt[join]:IsA("Weld") then return end
  1845. if not motor[join]:IsA("Motor6D") then return end
  1846. _jnt[join].Part0 = nil
  1847. motor[join].Part0 = part.ftor
  1848. end
  1849. function SuitInit()
  1850. while processing do wait() end
  1851. processing = true
  1852. if initialized then
  1853. local suitModel
  1854. if not char:FindFirstChild(_CODE.." Suit") then
  1855. suitModel = Instance.new("Model", char)
  1856. suitModel.Name = _CODE.." Suit"
  1857. model = true
  1858. else suitModel = char[_CODE.." Suit"] model = true end
  1859. processing = false
  1860. return suitModel
  1861. else processing = false end
  1862. end
  1863. function CF(join,cf,rot,speed,ctin,s)
  1864. if s and cfs then ctin = true animate = false return end
  1865. if join == nil then return end
  1866. local def,done = join.C0,false
  1867. local cf = cf or def
  1868. local rot = rot or (def - def.p)
  1869. local speed = speed or 1
  1870. local x1,y1,z1 = def:toEulerAnglesXYZ()
  1871. local x2,y2,z2 = rot:toEulerAnglesXYZ()
  1872. coroutine.wrap(function()
  1873. if speed ~= 1 then
  1874. for i = 0,1,speed do
  1875. if s and cfs then ctin = true animate = false return end
  1876. join.C0 = CFrame.new(
  1877. (def.p.X * (1 - i) + cf.p.X * i),
  1878. (def.p.Y * (1 - i) + cf.p.Y * i),
  1879. (def.p.Z * (1 - i) + cf.p.Z * i)) *
  1880. CFrame.fromEulerAnglesXYZ(
  1881. (x1 * (1 - i) + x2 * i),
  1882. (y1 * (1 - i) + y2 * i),
  1883. (z1 * (1 - i) + z2 * i))
  1884. wait(0.015)
  1885. end
  1886. end if s and cfs then ctin = true animate = false else join.C0 = CFrame.new(cf.p) * CFrame.fromEulerAnglesXYZ(x2,y2,z2) end done = true
  1887. end)()
  1888. if not ctin and speed ~= 1 then while not done do wait(0.015) end end
  1889. end
  1890. function CreatePart(tab, name, color, transparency, reflectance, size, cframe, rotation, cancollide, anchored, meshType, scaleSize, weldPart, parent)
  1891. if model and _mdl ~= nil and part.ftor ~= nil then
  1892. local returnTable = {part,weld}
  1893. if scaleSize == nil then scaleSize = false end
  1894. local suitPart = Instance.new("Part")
  1895. suitPart.Name = name
  1896. suitPart.BrickColor = BrickColor.new(color)
  1897. suitPart.Anchored = anchored
  1898. suitPart.Locked = true
  1899. suitPart.CanCollide = cancollide
  1900. suitPart.Transparency = transparency
  1901. suitPart.Reflectance = reflectance
  1902. suitPart.FormFactor = Enum.FormFactor.Custom
  1903. suitPart.BottomSurface = "Smooth"
  1904. suitPart.TopSurface = "Smooth"
  1905. suitPart.Size = size
  1906. if meshType ~= nil then
  1907. if meshType == "Cone" then
  1908. CreateMesh("http://www.roblox.com/asset/?id=1033714", suitPart, scaleSize)
  1909. elseif meshType == "Corner" then
  1910. CreateMesh("http://www.roblox.com/asset/?id=11294911", suitPart, scaleSize)
  1911. elseif meshType == "Devo" then
  1912. CreateMesh("http://www.roblox.com/asset/?id=15720044", suitPart, scaleSize)
  1913. elseif meshType == "Diamond" then
  1914. CreateMesh("http://www.roblox.com/asset/?id=9756362", suitPart, scaleSize)
  1915. elseif meshType == "Ring" then
  1916. CreateMesh("http://www.roblox.com/asset/?id=3270017", suitPart, scaleSize)
  1917. elseif meshType == "Tetrahedron" then
  1918. CreateMesh("http://www.roblox.com/asset/?id=11294922", suitPart, scaleSize)
  1919. elseif meshType == "Crown" then
  1920. CreateMesh("http://www.roblox.com/asset/?id=20329976", suitPart, scaleSize)
  1921. elseif meshType == "Claws" then
  1922. CreateMesh("http://www.roblox.com/asset/?id=10681506", suitPart, scaleSize)
  1923. elseif meshType == "Cylinder" then
  1924. local mesh = Instance.new("CylinderMesh", suitPart)
  1925. if scaleSize then mesh.Scale = suitPart.Size end
  1926. elseif meshType == "Brick" then
  1927. local mesh = Instance.new("BlockMesh", suitPart)
  1928. if scaleSize then mesh.Scale = suitPart.Size end
  1929. else
  1930. local mesh = Instance.new("SpecialMesh", suitPart)
  1931. if scaleSize then mesh.Scale = suitPart.Size end
  1932. mesh.MeshType = meshType
  1933. end
  1934. end
  1935. if weldPart == nil then suitPart.CFrame = cframe * rotation else
  1936. local weld = Instance.new("Weld", _mdl)
  1937. weld.Part1 = suitPart
  1938. weld.Part0 = weldPart
  1939. weld.Name = tostring(weld.Part0).."_TO_"..tostring(weld.Part1)
  1940. weld.C0 = cframe * rotation
  1941. returnTable.weld = weld
  1942. end
  1943. returnTable.part = suitPart
  1944. suitPart.Parent = parent or _mdl
  1945. if tab ~= nil then tab[name] = returnTable else return returnTable end
  1946. end
  1947. end
  1948. function CreateMesh(id, part, scaleSize)
  1949. local mesh = Instance.new("SpecialMesh", part)
  1950. if scaleSize then mesh.Scale = part.Size end
  1951. mesh.MeshType = Enum.MeshType.FileMesh
  1952. mesh.MeshId = id
  1953. return mesh
  1954. end
  1955. function LoadSuit()
  1956. while processing do wait() end
  1957. processing = true
  1958. if not suited then
  1959. CreatePart(prt, "torso_1", shirtColor, 0, 0, Vector3.new(2.015,2.11,1.015), CFrame.new(0,-0.04,0), CFrame.Angles(0,0,0),false,false, "Brick",false,part.ftor)
  1960. CreatePart(prt, "torso_2", attachColor, 0, 0, Vector3.new(2.70,0.2,1.06), CFrame.new(-0.05,0.125,0), CFrame.Angles(0,0,math.rad(45)),false,false, "Brick",false,prt.torso_1.part)
  1961. CreatePart(prt, "torso_3", attachColor, 0, 0, Vector3.new(2.15,0.2,1.06), CFrame.new(-0.025,-0.9,0), CFrame.Angles(0,0,math.rad(-2)),false,false, "Brick",false,prt.torso_1.part)
  1962. CreatePart(prt, "torso_4", "White", 0, 1, Vector3.new(0.3,0.2,0.3), CFrame.new(0.6,0,-0.45), CFrame.Angles(math.rad(90),0,0),false,false, "Cylinder",false,prt.torso_3.part)
  1963. CreatePart(prt, "arm_1", shirtColor, 0, 0, Vector3.new(1.015,0.8,1.015), CFrame.new(0,0.615,0), CFrame.Angles(0,0,0),false,false, "Brick",false,part.rarm)
  1964. CreatePart(prt, "arm_2", shirtColor, 0, 0, Vector3.new(1.015,1.6,1.015), CFrame.new(0,0.215,0), CFrame.Angles(0,0,0),false,false, "Brick",false,part.larm)
  1965. CreatePart(prt, "sheath_1", sheathColor, 0, 0, Vector3.new(0.425,4.5,0.2), CFrame.new(-0.25,0,0.63), CFrame.Angles(0,0,math.rad(-90)),false, false,"Brick", false, prt.torso_2.part)
  1966. CreatePart(prt, "sheath_2", sheathColor, 0, 0,Vector3.new(0.21,0.6,0.415),CFrame.new(0,-2.55,0),CFrame.Angles(0,math.rad(90),math.rad(180)),false,false,"Wedge",false,prt.sheath_1.part)
  1967. CreatePart(prt, "sheath_3", "Royal purple", 0, 0,Vector3.new(0.25,0.6,0.2),CFrame.new(0,1.8,0.05),CFrame.Angles(0,0,0),false,false,"Diamond",true,prt.sheath_1.part)
  1968. CreatePart(prt, "sheath_4", "Pastel Blue", 0, 0.3,Vector3.new(0.2,0.6,0.2),CFrame.new(0,1.3,0.1),CFrame.Angles(0,0,math.rad(27)),false,false,"Brick",true,prt.sheath_1.part)
  1969. CreatePart(prt, "sheath_5", "Medium blue", 0, 0.3,Vector3.new(0.2,0.6,0.2),CFrame.new(0,1.1,0.1),CFrame.Angles(0,0,math.rad(27)),false,false,"Brick",true,prt.sheath_1.part)
  1970. CreatePart(prt, "sheath_6", "Bright blue", 0, 0.3,Vector3.new(0.2,0.6,0.2),CFrame.new(0,0.9,0.1),CFrame.Angles(0,0,math.rad(27)),false,false,"Brick",true,prt.sheath_1.part)
  1971. CreatePart(prt, "sheath_7", "Navy blue", 0, 0,Vector3.new(0.2,2,0.2),CFrame.new(0.2,0,0),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
  1972. CreatePart(prt, "sheath_8", "Navy blue", 0, 0,Vector3.new(0.2,2,0.2),CFrame.new(-0.2,0,0),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
  1973. CreatePart(prt, "sheath_9", "Navy blue", 0, 0,Vector3.new(0.2,0.72,0.2),CFrame.new(0.09,2.0125,0.13),CFrame.Angles(math.rad(35),0,-math.rad(20)),false,false,"Brick",true,prt.sheath_7.part)
  1974. CreatePart(prt, "sheath_10", "Navy blue", 0, 0,Vector3.new(0.2,0.72,0.2),CFrame.new(-0.09,2.0125,0.13),CFrame.Angles(math.rad(35),0,math.rad(20)),false,false,"Brick",true,prt.sheath_8.part)
  1975. CreatePart(prt, "sheath_11", "White", 0, 1,Vector3.new(0.25,0.425,0.25),CFrame.new(0,0.085,0),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_9.part)
  1976. CreatePart(prt, "sheath_12", "White", 0, 1,Vector3.new(0.25,0.425,0.25),CFrame.new(0,0.085,0),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_10.part)
  1977. CreatePart(prt, "sheath_13", "White", 0, 1,Vector3.new(0.2,0.7,0.2),CFrame.new(0,0,0),CFrame.Angles(math.rad(-145),0,0),false,false,"Brick",true,prt.sheath_2.part)
  1978. CreatePart(prt, "sheath_14", "White", 0, 1,Vector3.new(0.2,1.11,0.2),CFrame.new(0.072,-0.025,0.1),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
  1979. CreatePart(prt, "gunsheath_1", sheathColor, 0, 0, Vector3.new(0.5,0.9,0.7), CFrame.new(1.2,-0.2,0), CFrame.Angles(math.rad(-20),0,0),false, false,"Brick",true,prt.torso_3.part)
  1980. CreatePart(prt, "gunsheath_2", "White", 0, 1, Vector3.new(0.3,0.2,0.3), CFrame.new(0.1,0.2,-0.225), CFrame.Angles(0,0,0),false,false, "Brick",true,prt.gunsheath_1.part)
  1981. CreatePart(prt, "gunsheath_3", "White", 0, 1, Vector3.new(0.3,0.2,0.3), CFrame.new(0,-0.1,0), CFrame.Angles(0,0,0),false,false, "Brick",true,prt.gunsheath_2.part)
  1982. CreatePart(prt, "gunsheath_4", "White", 0, 1, Vector3.new(0.3,0.2,0.3), CFrame.new(0,-0.1,0), CFrame.Angles(0,0,0),false, false,"Brick",true,prt.gunsheath_3.part)
  1983. CreatePart(prt, "gun_1", gunColor, 0, 0, Vector3.new(0.4,0.775,0.5), CFrame.new(0,0.6,0.15), CFrame.Angles(math.rad(-105),0,0),false, false,"Brick",true,prt.gunsheath_1.part)
  1984. CreatePart(prt, "gun_2", gunColor, 0, 0, Vector3.new(0.4,0.5,0.9), CFrame.new(0,0.2,-0.275), CFrame.Angles(math.rad(15),0,0),false, false,"Brick",true,prt.gun_1.part)
  1985. CreatePart(prt, "gun_3", gunColor, 0, 0, Vector3.new(0.4,0.45,0.55), CFrame.new(0,0.1,0.26), CFrame.Angles(0,0,0),false, false,"Brick",true,prt.gun_2.part)
  1986. CreatePart(prt, "gun_4", "White", 0, 1, Vector3.new(0.3,0.4,0.55), CFrame.new(0,0,-0.3), CFrame.Angles(0,0,0),false, false,"Brick",true,prt.gun_3.part)
  1987. CreatePart(prt, "gun_5", gunColor, 0, 0, Vector3.new(0.4,0.45,0.6), CFrame.new(0,0,-0.55), CFrame.Angles(0,0,0),false,false, "Brick",true,prt.gun_3.part)
  1988. CreatePart(prt, "gun_6", gunColor, 0, 0, Vector3.new(0.4,0.45,0.2), CFrame.new(0,0,-0.22), CFrame.Angles(0,0,0),false, false,"Brick",true,prt.gun_3.part)
  1989. CreatePart(prt, "gun_7", gunColor, 0, 0, Vector3.new(0.4,0.45,0.2), CFrame.new(0,0,-0.3), CFrame.Angles(0,0,0),false, false,"Brick",true,prt.gun_3.part)
  1990. CreatePart(prt, "gun_8", gunColor, 0, 0, Vector3.new(0.2,0.2,0.5), CFrame.new(0,-0.25,0.18), CFrame.Angles(0,0,0),false,false, "Brick",true,prt.gun_2.part)
  1991. CreatePart(prt, "gun_9", gunColor, 0, 0, Vector3.new(0.2,0.2,0.5), CFrame.new(0,0.105,-0.105), CFrame.Angles(math.rad(90),0,0),false,false, "Brick",true,prt.gun_8.part)
  1992. CreatePart(prt, "gun_10", gunColor, 0, 0, Vector3.new(0.2,0.2,0.5), CFrame.new(0,0.1725,-0.03), CFrame.Angles(math.rad(90),0,0),false,false, "Brick",true,prt.gun_8.part)
  1993. CreatePart(prt, "gunbullet", "Medium grey", 0, 0, Vector3.new(0.325,0.2,0.325), CFrame.new(0,0,-0.42), CFrame.Angles(math.rad(90),0,0),false,false, "Cylinder",true,prt.gun_7.part)
  1994. CreatePart(prt, "gunpointer", "Medium grey", 0, 0, Vector3.new(0.275,0.2,0.275), CFrame.new(0,-0.065,-0.39), CFrame.Angles(math.rad(90),0,0),false,false, "Cylinder",true,prt.gun_2.part)
  1995. CreatePart(prt, "nairod7_1", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-2,0.1),CFrame.Angles(0,0,math.rad(90)),false,false,"Brick",true,prt.sheath_1.part)
  1996. CreatePart(prt, "nairod7_2", "White", 0, 1,Vector3.new(0.2,0.45,0.2),CFrame.new(0,-1.93,0.1),CFrame.Angles(0,0,math.rad(130)),false,false,"Brick",true,prt.sheath_1.part)
  1997. CreatePart(prt, "nairod7_3", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-1.86,0.1),CFrame.Angles(0,0,math.rad(90)),false,false,"Brick",true,prt.sheath_1.part)
  1998. CreatePart(prt, "nairod7_4", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-1.74,0.1),CFrame.Angles(0,0,math.rad(60)),false,false,"Brick",true,prt.sheath_1.part)
  1999. CreatePart(prt, "nairod7_5", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-1.66,0.1),CFrame.Angles(0,0,math.rad(110)),false,false,"Brick",true,prt.sheath_1.part)
  2000. CreatePart(prt, "nairod7_6", "White", 0, 1,Vector3.new(0.2,0.275,0.2),CFrame.new(0.025,-1.7,0.1),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
  2001. CreatePart(prt, "nairod7_7", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-1.54,0.1),CFrame.Angles(0,0,math.rad(90)),false,false,"Brick",true,prt.sheath_1.part)
  2002. CreatePart(prt, "nairod7_8", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-1.44,0.1),CFrame.Angles(0,0,math.rad(90)),false,false,"Brick",true,prt.sheath_1.part)
  2003. CreatePart(prt, "nairod7_9", "White", 0, 1,Vector3.new(0.2,0.34,0.2),CFrame.new(-0.072,-1.37,0.1),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
  2004. CreatePart(prt, "nairod7_10", "White", 0, 1,Vector3.new(0.2,0.2,0.2),CFrame.new(-0.05,-1.332,0.1),CFrame.Angles(0,0,math.rad(90)),false,false,"Brick",true,prt.sheath_1.part)
  2005. CreatePart(prt, "nairod7_11", "White", 0, 1,Vector3.new(0.2,0.34,0.2),CFrame.new(-0.01,-1.37,0.1),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
  2006. CreatePart(prt, "nairod7_12", "White", 0, 1,Vector3.new(0.2,0.36,0.2),CFrame.new(0.035,-1.3825,0.1),CFrame.Angles(0,0,math.rad(145)),false,false,"Brick",true,prt.sheath_1.part)
  2007. CreatePart(prt, "nairod7_13", "White", 0, 1,Vector3.new(0.2,0.36,0.2),CFrame.new(-0.072,-1.19,0.1),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
  2008. CreatePart(prt, "nairod7_14", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-1.24,0.1),CFrame.Angles(0,0,math.rad(90)),false,false,"Brick",true,prt.sheath_1.part)
  2009. CreatePart(prt, "nairod7_15", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-1.12,0.1),CFrame.Angles(0,0,math.rad(90)),false,false,"Brick",true,prt.sheath_1.part)
  2010. CreatePart(prt, "nairod7_16", "White", 0, 1,Vector3.new(0.2,0.36,0.2),CFrame.new(0.072,-1.19,0.1),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
  2011. CreatePart(prt, "nairod7_17", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-1.02,0.1),CFrame.Angles(0,0,math.rad(90)),false,false,"Brick",true,prt.sheath_1.part)
  2012. CreatePart(prt, "nairod7_18", "White", 0, 1,Vector3.new(0.2,0.39,0.2),CFrame.new(-0.0375,-0.96,0.1),CFrame.Angles(0,0,math.rad(145)),false,false,"Brick",true,prt.sheath_1.part)
  2013. CreatePart(prt, "nairod7_19", "White", 0, 1,Vector3.new(0.2,0.39,0.2),CFrame.new(0.0375,-0.96,0.1),CFrame.Angles(0,0,math.rad(35)),false,false,"Brick",true,prt.sheath_1.part)
  2014. CreatePart(prt, "nairod7_20", "White", 0, 1,Vector3.new(0.2,0.36,0.2),CFrame.new(-0.072,-0.78,0.1),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
  2015. CreatePart(prt, "nairod7_21", "White", 0, 1,Vector3.new(0.2,0.43,0.2),CFrame.new(0,-0.77,0.1),CFrame.Angles(0,0,math.rad(60)),false,false,"Brick",true,prt.sheath_1.part)
  2016. CreatePart(prt, "nairod7_22", "White", 0, 1,Vector3.new(0.2,0.2,0.2),CFrame.new(0.072,-2.12,0.1),CFrame.Angles(0,0,0),false,false,"Brick",true,prt.sheath_1.part)
  2017. CreatePart(prt, "sword_1", swordHandleColor, 0, 0, Vector3.new(0.4,0.9,0.35), CFrame.new(0,2.715,0), CFrame.Angles(0,0,0),false,false, "Brick",true,prt.sheath_1.part)
  2018. CreatePart(prt, "sword_2", "White", 0, 0, Vector3.new(0.5,2.135,0.25), CFrame.new(0,-2.68,0), CFrame.Angles(0,0,0),false,false, "Brick",true,prt.sword_1.part)
  2019. CreatePart(prt, "sword_3", "White", 0, 0, Vector3.new(0.25,0.55,0.5), CFrame.new(0,-5.1,0), CFrame.Angles(0,math.rad(90),math.rad(180)),false,false,"Wedge",true,prt.sword_1.part)
  2020. CreatePart(prt, "sword_4", swordHandleColor, 0, 0, Vector3.new(0.9,0.3,0.55), CFrame.new(0,-0.4,0), CFrame.Angles(0,0,0),false, false,"Brick",true,prt.sword_1.part)
  2021. CreatePart(prt, "sword_5", "White", 1, 0, Vector3.new(1.8,4.4,0.2), CFrame.new(0.7,0,0), CFrame.Angles(0,0,0),false, false,"Brick",false,prt.sword_2.part)
  2022. elseif prt.torso_1 ~= nil then prt.torso_1.weld.Part0 = part.ftor end
  2023. suited = true
  2024. processing = false
  2025. return prt
  2026. end -- +7
  2027. function Trail(val)
  2028. if not _prt.sword_1.part then return end
  2029. trail = val
  2030. if trail then
  2031. coroutine.wrap(function()
  2032. local last = _prt.sword_3.part.CFrame.p
  2033. while use and trail and _prt.sword_3.part ~= nil do wait(.02)
  2034. local new = _prt.sword_3.part.CFrame.p
  2035. local mag = (last - new).magnitude
  2036. local pos = CFrame.new(last, new) * CFrame.Angles(math.rad(-90), 0, 0)
  2037. local trl = Instance.new("Part")
  2038. local msh = Instance.new("CylinderMesh", trl)
  2039. trl.Name = "NSword_TRAIL"
  2040. trl.Anchored = true
  2041. trl.Locked = true
  2042. trl.CanCollide = false
  2043. trl.FormFactor = Enum.FormFactor.Custom
  2044. trl.BrickColor = BrickColor.new("White")
  2045. trl.Transparency = 0.3
  2046. trl.Size = Vector3.new(0.2, mag, 0.2)
  2047. msh.Scale = Vector3.new(1.8, 1, 1.8)
  2048. trl.CFrame = pos * CFrame.new(0,mag/2,0)
  2049. trl.Parent = game.Workspace
  2050. coroutine.wrap(function() for i = trl.Transparency, 1, .05 do trl.Transparency = i msh.Scale = msh.Scale - Vector3.new(.15, 0, .15) wait(.02) end pcall(function() trl:Destroy() end) end)()
  2051. last = _prt.sword_3.part.CFrame.p
  2052. end
  2053. end)()
  2054. end
  2055. end
  2056. function LightingGen(init,target,ran,delay,size,damage)
  2057. local CL = function()
  2058. local lght = Instance.new("Part")
  2059. local msh = Instance.new("CylinderMesh", lght)
  2060. local size = size or .3
  2061. msh.Scale = Vector3.new(size,1,size)
  2062. lght.Name = "NSword_LIGHT"
  2063. lght.Anchored = true
  2064. lght.Locked = true
  2065. lght.CanCollide = false
  2066. lght.Reflectance = .4
  2067. lght.FormFactor = Enum.FormFactor.Custom
  2068. lght.BrickColor = BrickColor.new("Cyan")
  2069. lght.Transparency = 0.5
  2070. lght.Parent = char
  2071. return lght
  2072. end
  2073. local delay, cPos = delay or .03
  2074. local rand = Vector3.new(math.random(-ran,ran)/10, math.random(-ran,ran)/10, math.random(-ran,ran)/10)
  2075. local mPos = (init - target).magnitude
  2076. local dLgt = math.random(1,5)
  2077. local dLgt = dLgt/10
  2078. local rVec = init + (target - init) * dLgt
  2079. local dVec = rVec - init
  2080. local gPos = CFrame.new(init, rVec + rand) * CFrame.Angles(math.rad(-90), 0, 0)
  2081. local rMag = (init - rVec + rand).magnitude
  2082. for i = dLgt, 1 - dLgt, dLgt do
  2083. local cPrt = CL()
  2084. cPrt.Size = Vector3.new(.2,rMag,.2)
  2085. cPrt.CFrame = gPos * CFrame.new(0,rMag/2,0)
  2086. cPos = gPos * CFrame.new(0,rMag,0)
  2087. --[[cPrt.Touched:connect(function(part)
  2088. if (part.Parent:FindFirstChild("Humanoid") or part.Parent:FindFirstChild("Zombie")) then
  2089. if game.Players:GetPlayerFromCharacter(part.Parent) ~= player.Name then
  2090. local humanoid = part.Parent:FindFirstChild("Humanoid") or part.Parent:FindFirstChild("Zombie")
  2091. local dmg = damage or 10
  2092. humanoid:TakeDamage(dmg)
  2093. end
  2094. end
  2095. end)]]--
  2096. coroutine.wrap(function() wait(delay) pcall(function() cPrt:Destroy() end) end)()
  2097. if i <= 1 - dLgt * 2 then
  2098. rVec = init + (target - init) * (i + dLgt)
  2099. rand = Vector3.new(math.random(-ran,ran)/10, math.random(-ran,ran)/10, math.random(-ran,ran)/10)
  2100. gPos = CFrame.new(cPos.p, rVec + rand) * CFrame.Angles(math.rad(-90), 0, 0)
  2101. rMag = (cPos.p - rVec + rand).magnitude
  2102. end
  2103. end
  2104. gPos = CFrame.new(cPos.p, target) * CFrame.Angles(math.rad(-90), 0, 0)
  2105. rMag = (cPos.p - target).magnitude
  2106. local cPrt = CL()
  2107. cPrt.Size = Vector3.new(.2,rMag,.2)
  2108. cPrt.CFrame = gPos * CFrame.new(0,rMag/2,0)
  2109. --[[cPrt.Touched:connect(function(part)
  2110. if (part.Parent:FindFirstChild("Humanoid") or part.Parent:FindFirstChild("Zombie")) then
  2111. if game.Players:GetPlayerFromCharacter(part.Parent) ~= player.Name then
  2112. local humanoid = part.Parent:FindFirstChild("Humanoid") or part.Parent:FindFirstChild("Zombie")
  2113. local dmg = damage or 10
  2114. humanoid:TakeDamage(dmg)
  2115. end
  2116. end
  2117. end)]]--
  2118. coroutine.wrap(function() wait(delay) pcall(function() cPrt:Destroy() end) end)()
  2119. end
  2120. function SwordEquip(force)
  2121. if processing and not force then return end
  2122. processing,cfs = true,true
  2123. if suited then
  2124. Bind("rsho")
  2125. CF(_jnt.rsho, nil, CFrame.Angles(0, 0, math.rad(90)), .05, true)
  2126. CF(_prt.sword_1.weld, CFrame.new(0,4.5,0), nil, .05, true)
  2127. for i = 0, 1, .05 do
  2128. _prt.sword_1.part.Transparency = i
  2129. _prt.sword_2.part.Transparency = i
  2130. _prt.sword_3.part.Transparency = i
  2131. _prt.sword_4.part.Transparency = i
  2132. wait(.015)
  2133. end
  2134. _prt.sword_1.part.Transparency = 1
  2135. _prt.sword_2.part.Transparency = 1
  2136. _prt.sword_3.part.Transparency = 1
  2137. _prt.sword_4.part.Transparency = 1
  2138. _prt.sword_1.weld.Part0 = part.rarm
  2139. CF(_prt.sword_1.weld, CFrame.new(0, -1, -0.25), CFrame.Angles(0, math.rad(90), 0))
  2140. for i = 0, 1, .05 do
  2141. _prt.sword_1.part.Transparency = 1 - i
  2142. _prt.sword_2.part.Transparency = 1 - i
  2143. _prt.sword_3.part.Transparency = 1 - i
  2144. _prt.sword_4.part.Transparency = 1 - i
  2145. wait(.015)
  2146. end
  2147. _prt.sword_1.part.Transparency = 0
  2148. _prt.sword_2.part.Transparency = 0
  2149. _prt.sword_3.part.Transparency = 0
  2150. _prt.sword_4.part.Transparency = 0
  2151. Bind("lsho")
  2152. huma.WalkSpeed = 30
  2153. CF(_jnt.lsho, nil, CFrame.Angles(0, 0, math.rad(-5)), .07, true)
  2154. CF(_prt.sword_1.weld, nil, CFrame.Angles(math.rad(90), math.rad(90), 0), .07, true)
  2155. CF(_jnt.rsho, nil, CFrame.Angles(0, 0, math.rad(5)), .07)
  2156. end
  2157. mode,processing,cfs = 1, false, false
  2158. Walk()
  2159. end
  2160. function SwordUnequip(force)
  2161. if processing and not force then return end
  2162. processing,cfs = true,true
  2163. if suited then
  2164. CF(_jnt.neck, nil, CFrame.Angles(0, 0, 0), .2, true)
  2165. CF(_jnt.tors, nil, CFrame.Angles(0, 0, 0), .2, true)
  2166. CF(_jnt.lsho, CFrame.new(-1.5,0.5,0), CFrame.Angles(0, 0, math.rad(-5)), .2, true)
  2167. CF(_jnt.rsho, nil, CFrame.Angles(math.rad(100), math.rad(90), 0), .07)
  2168. Trail(true)
  2169. CF(_prt.sword_1.weld, nil, CFrame.Angles(0, math.rad(90), 0), .15, true)
  2170. CF(_jnt.rsho, nil, CFrame.Angles(0, 0, math.rad(90)), .15)
  2171. Trail(false)
  2172. for i = 0, 1, .05 do
  2173. _prt.sword_1.part.Transparency = i
  2174. _prt.sword_2.part.Transparency = i
  2175. _prt.sword_3.part.Transparency = i
  2176. _prt.sword_4.part.Transparency = i
  2177. wait(.015)
  2178. end
  2179. _prt.sword_1.part.Transparency = 1
  2180. _prt.sword_2.part.Transparency = 1
  2181. _prt.sword_3.part.Transparency = 1
  2182. _prt.sword_4.part.Transparency = 1
  2183. _prt.sword_1.weld.Part0 = _prt.sheath_1.part
  2184. CF(_prt.sword_1.weld, CFrame.new(0, 4.5, 0), CFrame.Angles(0, 0, 0))
  2185. CF(_prt.sword_1.weld, CFrame.new(0,2.715,0), CFrame.Angles(0, 0, 0), .05, true)
  2186. for i = 0, 1, .05 do
  2187. _prt.sword_1.part.Transparency = 1 - i
  2188. _prt.sword_2.part.Transparency = 1 - i
  2189. _prt.sword_3.part.Transparency = 1 - i
  2190. _prt.sword_4.part.Transparency = 1 - i
  2191. wait(.015)
  2192. end
  2193. _prt.sword_1.part.Transparency = 0
  2194. _prt.sword_2.part.Transparency = 0
  2195. _prt.sword_3.part.Transparency = 0
  2196. _prt.sword_4.part.Transparency = 0
  2197. huma.WalkSpeed = defaultWalkspeed
  2198. CF(_jnt.lsho, nil, CFrame.Angles(0, 0, 0), .07, true)
  2199. CF(_jnt.rsho, nil, CFrame.Angles(0, 0, 0), .07)
  2200. Release("rsho")
  2201. Release("lsho")
  2202. end
  2203. mode,processing,cfs = 0, false, false
  2204. end
  2205. function GunEquip(force)
  2206. if processing and not force then return end
  2207. processing,cfs = true,true
  2208. if suited then
  2209. Bind("rsho")
  2210. CF(_jnt.rsho, CFrame.new(1.5,0.9,0), CFrame.Angles(math.rad(-20), 0, 0), 0.15)
  2211. gunTakePos = _prt.gun_1.part.CFrame:inverse() * part.rarm.CFrame
  2212. _prt.gun_1.weld.Part0 = part.rarm
  2213. _prt.gun_1.weld.C0 = gunTakePos:inverse()
  2214. CF(_jnt.rsho, CFrame.new(1.5,1.7,0), CFrame.Angles(math.rad(-20), 0, math.rad(2)), 0.15)
  2215. Bind("lsho")
  2216. CF(_jnt.lsho, nil, CFrame.Angles(math.rad(-5), 0, math.rad(-5)), 0.08, true)
  2217. CF(_jnt.rsho, CFrame.new(1.5,0.5,0), CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.08, true)
  2218. CF(_prt.gun_1.weld, _prt.gun_1.weld.C0 * CFrame.new(0.25,-0.1,0.1), nil, 0.08)
  2219. end
  2220. mode,processing,cfs = 2, false, false
  2221. Walk()
  2222. end
  2223. function GunUnequip(force)
  2224. if processing and not force then return end
  2225. processing = true
  2226. if suited then
  2227. if not gs and gtarget then gtarget = false repeat wait(.015) until gs end
  2228. CF(_jnt.neck, nil, CFrame.Angles(0, 0, 0), .2, true)
  2229. CF(_jnt.tors, nil, CFrame.Angles(0, 0, 0), .2, true)
  2230. CF(_jnt.lsho, CFrame.new(-1.5,0.5,0), CFrame.Angles(0, 0, math.rad(-5)), .2, true)
  2231. CF(_prt.gun_1.weld, gunTakePos:inverse(), (gunTakePos - gunTakePos.p):inverse(), 0.15, true)
  2232. CF(_jnt.rsho, CFrame.new(1.5,1.7,0), CFrame.Angles(math.rad(-20), 0, math.rad(2)), 0.15)
  2233. CF(_jnt.rsho, CFrame.new(1.5,0.9,0), CFrame.Angles(math.rad(-20), 0, 0), 0.15)
  2234. _prt.gun_1.weld.Part0 = _prt.gunsheath_1.part
  2235. CF(_prt.gun_1.weld, CFrame.new(0,0.6,0.15), CFrame.Angles(math.rad(-105),0,0))
  2236. CF(_jnt.rsho, CFrame.new(1.5,0.5,0), CFrame.Angles(0, 0, 0), 0.08)
  2237. Release("rsho")
  2238. Release("lsho")
  2239. end
  2240. mode,processing,cfs = 0, false, false
  2241. end
  2242. function LightEquip(force)
  2243. if processing and not force then return end
  2244. processing,cfs = true,true
  2245. if suited then
  2246. Bind("rsho")
  2247. Bind("lsho")
  2248. huma.WalkSpeed = 30
  2249. CF(_jnt.lsho, nil, CFrame.Angles(0, 0, math.rad(-5)), .07, true)
  2250. CF(_jnt.rsho, nil, CFrame.Angles(0, 0, math.rad(5)), .07)
  2251. end
  2252. mode,processing,cfs = 3, false, false
  2253. Walk()
  2254. end
  2255. function LightUnequip(force)
  2256. if processing and not force then return end
  2257. processing,cfs = true,true
  2258. if suited then
  2259. huma.WalkSpeed = defaultWalkspeed
  2260. CF(_jnt.neck, nil, CFrame.Angles(0, 0, 0), .2, true)
  2261. CF(_jnt.tors, nil, CFrame.Angles(0, 0, 0), .2, true)
  2262. CF(_jnt.lsho, nil, CFrame.Angles(0, 0, 0), .07, true)
  2263. CF(_jnt.rsho, nil, CFrame.Angles(0, 0, 0), .07)
  2264. Release("rsho")
  2265. Release("lsho")
  2266. end
  2267. mode,processing,cfs = 0, false, false
  2268. Walk()
  2269. end
  2270. function Walk()
  2271. if use then
  2272. while processing or animate do wait(.015) end
  2273. if w or a or s or d then
  2274. animate = true
  2275. if mode == 1 then
  2276. CF(_jnt.neck, nil, CFrame.Angles(0, math.rad(65), 0), .15, true, true)
  2277. CF(_jnt.tors, nil, CFrame.Angles(0, math.rad(-65), 0), .15, true, true)
  2278. CF(_jnt.rsho, nil, CFrame.Angles(math.rad(-20), 0, math.rad(70)), .15, true, true)
  2279. CF(_jnt.lsho, nil, CFrame.Angles(math.rad(30), math.rad(20), math.rad(5)), .15, false, true)
  2280. elseif mode == 2 then
  2281. CF(_jnt.neck, nil, CFrame.Angles(0, math.rad(65), 0), .15, true, true)
  2282. CF(_jnt.tors, nil, CFrame.Angles(0, math.rad(-65), 0), .15, true, true)
  2283. CF(_jnt.rsho, CFrame.new(1,0.4,-0.2), CFrame.Angles(math.rad(35), math.rad(20), math.rad(-40)), .15, true, true)
  2284. CF(_jnt.lsho, CFrame.new(-1,0.5,0), CFrame.Angles(math.rad(60), math.rad(-20), math.rad(30)), .15, false, true)
  2285. elseif mode == 3 then
  2286. CF(_jnt.rsho, nil, CFrame.Angles(math.rad(-35), 0, math.rad(10)), .15, true, true)
  2287. CF(_jnt.lsho, nil, CFrame.Angles(math.rad(-35), 0, math.rad(-10)), .15, false, true)
  2288. end
  2289. animate = false
  2290. end
  2291. end
  2292. end
  2293. function Stand()
  2294. if use then
  2295. while processing or animate do wait(.015) end
  2296. if not w and not a and not s and not d and not jumping then
  2297. animate = true
  2298. if mode ~= 0 then
  2299. CF(_jnt.neck, CFrame.new(0,1,0), CFrame.Angles(0, 0, 0), .2, true, true)
  2300. CF(_jnt.tors, CFrame.new(0,0,0), CFrame.Angles(0, 0, 0), .2, true, true)
  2301. CF(_jnt.rsho, CFrame.new(1.5,0.5,0), CFrame.Angles(0, 0, math.rad(5)), .2, true, true)
  2302. CF(_jnt.lsho, CFrame.new(-1.5,0.5,0), CFrame.Angles(0, 0, math.rad(-5)), .2, false, true)
  2303. end
  2304. animate = false
  2305. end
  2306. end
  2307. end
  2308. function FAC(num,res)
  2309. if (math.floor(num) <= res + tol and math.floor(num) >= res - tol) or (math.ceil(num) <= res + tol and math.ceil(num) >= res - tol) then return true
  2310. else return false end
  2311. end
  2312. function SliceAndKill(p)
  2313. coroutine.wrap(function()
  2314. if p.Name ~= "__NSCUTPART" and p.Name ~= "Base" and p.Name ~= "NSword_TRAIL" and p.Name ~= "NSword_LIGHT" then
  2315. if p.Parent ~= char and p.Parent ~= _mdl and not p.Parent:IsA("Hat") then
  2316. local pX,pY,pZ = p.CFrame:toEulerAnglesXYZ()
  2317. if (FAC(pX,0) or FAC(pX,180)) and (FAC(pZ,0) or FAC(pZ,180)) and p.Size.y < 0.4 then return end
  2318. pX = math.deg(pX) if pX < 0 then pX = pX * (-1) else pX = math.floor(pX) end
  2319. pZ = math.deg(pZ) if pZ < 0 then pZ = pZ * (-1) else pZ = math.floor(pZ) end
  2320. if not FAC(pX,0) and not FAC(pX,90) and not FAC(pX,180) then return end
  2321. if not FAC(pZ,0) and not FAC(pZ,90) and not FAC(pZ,180) then return end
  2322. if (not FAC(pX,0) and not FAC(pZ,0)) or (not FAC(pX,180) and not FAC(pZ,180)) then
  2323. if FAC(pX,0) and FAC(pZ,180) then
  2324. p.CFrame = p.CFrame * CFrame.Angles(0, 0, math.pi)
  2325. elseif FAC(pX,180) and FAC(pZ,0) then
  2326. p.CFrame = p.CFrame * CFrame.Angles(math.pi, 0, 0)
  2327. elseif FAC(pX,90) and (FAC(pZ,0) or FAC(pZ,180)) then
  2328. local rPart = p:Clone()
  2329. rPart.Anchored = true
  2330. rPart.Size = Vector3.new(p.Size.z,p.Size.x,p.Size.y)
  2331. rPart.CFrame = CFrame.new(p.CFrame.x, p.CFrame.y, p.CFrame.z) * CFrame.Angles(0, pY, 0)
  2332. if not p.Anchored then rPart.Anchored = false end
  2333. rPart.Parent = p.Parent
  2334. p:Remove()
  2335. p = rPart
  2336. elseif FAC(pX,90) and FAC(pZ,90) then
  2337. local rPart = p:Clone()
  2338. rPart.Anchored = true
  2339. rPart.Size = Vector3.new(p.Size.y,p.Size.z,p.Size.x)
  2340. rPart.CFrame = CFrame.new(p.CFrame.x, p.CFrame.y, p.CFrame.z) * CFrame.Angles(0, pY, 0)
  2341. if not p.Anchored then rPart.Anchored = false end
  2342. rPart.Parent = p.Parent
  2343. p:Remove()
  2344. p = rPart
  2345. elseif (FAC(pX,0) or FAC(pX,180)) and FAC(pZ,90) then
  2346. local rPart = p:Clone()
  2347. rPart.Anchored = true
  2348. rPart.Size = Vector3.new(p.Size.y,p.Size.x,p.Size.z)
  2349. rPart.CFrame = CFrame.new(p.CFrame.x, p.CFrame.y, p.CFrame.z) * CFrame.Angles(0, pY, 0)
  2350. if not p.Anchored then rPart.Anchored = false end
  2351. rPart.Parent = p.Parent
  2352. p:Remove()
  2353. p = rPart
  2354. end
  2355. end
  2356. local s = _prt.sword_3.part
  2357. local pYPos = p.CFrame.p.y - (p.Size.y/2)
  2358. local sYPos = s.CFrame.p.y
  2359. if sYPos <= pYPos or sYPos >= (pYPos + p.Size.y) then return end
  2360. local x, y, z = p.CFrame:toEulerAnglesXYZ()
  2361. local c1 = p:Clone()
  2362. local c2 = p:Clone()
  2363. local CC,TR = p.CanCollide, p.Transparency
  2364. local mat = p.Material
  2365. c1:BreakJoints()
  2366. c2:BreakJoints()
  2367. if CC then
  2368. c1.CanCollide = true
  2369. c2.CanCollide = true
  2370. c1.Anchored = false
  2371. c2.Anchored = false
  2372. else
  2373. c1.CanCollide = false
  2374. c2.CanCollide = false
  2375. c1.Anchored = true
  2376. c2.Anchored = true
  2377. end
  2378. c1.FormFactor = Enum.FormFactor.Custom
  2379. c2.FormFactor = Enum.FormFactor.Custom
  2380. c1.Material = Enum.Material.Plastic
  2381. c2.Material = Enum.Material.Plastic
  2382. c1.Size = Vector3.new(p.Size.x,sYPos-pYPos,p.Size.z)
  2383. c2.Size = Vector3.new(p.Size.x,c2.Size.y-(sYPos-pYPos),p.Size.z)
  2384. c1.CFrame = p.CFrame * CFrame.new(0, -c2.Size.y/2,0)
  2385. c2.CFrame = p.CFrame * CFrame.new(0, c1.Size.y/2,0)
  2386. c1.Name = "__NSCUTPART"
  2387. c2.Name = "__NSCUTPART"
  2388. c1.Reflectance = 0.5
  2389. c2.Reflectance = 0.5
  2390. c1.Parent = game.Workspace
  2391. c2.Parent = game.Workspace
  2392. p:Remove()
  2393. for i = 1, 20, 1 do wait(0.015)
  2394. c1.Reflectance = c1.Reflectance - 1/20
  2395. c2.Reflectance = c2.Reflectance - 1/20
  2396. end
  2397. if not CC then
  2398. coroutine.wrap(function()
  2399. for i = TR, 1, 0.05 do wait(0.015)
  2400. c1.Transparency = i
  2401. c2.Transparency = i
  2402. end pcall(function() c1:Remove() c2:Remove() end)
  2403. end)()
  2404. end
  2405. c1.Reflectance = 0
  2406. c2.Reflectance = 0
  2407. c1.Material = mat
  2408. c2.Material = mat
  2409. if CC then
  2410. c1.Name = "_NSCUTPART"
  2411. c2.Name = "_NSCUTPART"
  2412. end
  2413. end
  2414. end
  2415. end)()
  2416. end
  2417. function Hit(val)
  2418. hit = val
  2419. if hit then
  2420. coroutine.wrap(function()
  2421. local event = _prt.sword_5.part.Touched:connect(SliceAndKill)
  2422. while use and hit and _prt.sword_2 ~= nil and _prt.sword_3 ~= nil and _prt.sword_5 ~= nil do wait() end
  2423. event:disconnect()
  2424. end)()
  2425. end
  2426. end
  2427. function GunTarget()
  2428. if not ms then return end
  2429. if processing and not gtarget then return end
  2430. processing,cfs,gs = true, true, false
  2431. if not gtarget then gtarget = true
  2432. huma.WalkSpeed = 5
  2433. CF(_jnt.neck, nil, CFrame.Angles(0, math.rad(-90), 0), .1, true)
  2434. CF(_jnt.tors, nil, CFrame.Angles(0, math.rad(90), 0), .1, true)
  2435. CF(_jnt.lsho, CFrame.new(-1.5,0.5,0), CFrame.Angles(math.rad(-5), 0, math.rad(-5)), .1, true)
  2436. CF(_jnt.rsho, CFrame.new(1.5,0.5,0), CFrame.Angles(0, 0, math.rad(90)), .1, true)
  2437. pcall(function() bGyro.Parent = part.tors end)
  2438. repeat wait(.015)
  2439. if ms and not disconnectRequest then
  2440. bGyro.cframe = CFrame.new(part.tors.CFrame.p, Vector3.new(ms.Hit.p.X, part.tors.CFrame.p.Y, ms.Hit.p.Z))
  2441. end
  2442. until not gtarget or not ms gtarget = false
  2443. huma.WalkSpeed = defaultWalkspeed
  2444. pcall(function() bGyro.Parent = nil end)
  2445. CF(_jnt.neck, nil, CFrame.Angles(0, 0, 0), .1, true)
  2446. CF(_jnt.tors, nil, CFrame.Angles(0, 0, 0), .1, true)
  2447. CF(_jnt.lsho, CFrame.new(-1.5,0.5,0), CFrame.Angles(0, 0, math.rad(-5)), .1, true)
  2448. CF(_jnt.rsho, CFrame.new(1.5,0.5,0), CFrame.Angles(0, 0, math.rad(5)), .1)
  2449. end
  2450. processing,cfs,gs = false, false, true
  2451. if not gtarget and not disconnectRequest then Walk() end
  2452. end
  2453. function OnKeyDown(key) key = key:lower()
  2454. if bindKeyDown then
  2455. if key == "w" then w = true Walk() end
  2456. if key == "a" then a = true Walk() end
  2457. if key == "s" then s = true Walk() end
  2458. if key == "d" then d = true Walk() end
  2459. if key == "c" then if mode == 0 then SwordEquip() elseif mode == 1 then SwordUnequip() elseif mode == 2 then GunUnequip() SwordEquip() elseif mode == 3 then LightUnequip() SwordEquip() end end
  2460. if key == "v" then if mode == 0 then GunEquip() elseif mode == 2 then GunUnequip() elseif mode == 1 then SwordUnequip() GunEquip() elseif mode == 3 then LightUnequip() GunEquip() end end
  2461. if key == "x" then if mode == 0 then LightEquip() elseif mode == 3 then LightUnequip() elseif mode == 1 then SwordUnequip() LightEquip() elseif mode == 2 then GunUnequip() LightEquip() end end
  2462. if key == "z" then if mode == 2 and not gtarget then GunTarget() else gtarget = false end end
  2463. end
  2464. end
  2465. function OnKeyUp(key) key = key:lower()
  2466. if bindKeyUp then
  2467. if key == "w" then w = false if not a and not s and not d then Stand() end end
  2468. if key == "a" then a = false if not w and not s and not d then Stand() end end
  2469. if key == "s" then s = false if not w and not a and not d then Stand() end end
  2470. if key == "d" then d = false if not w and not a and not s then Stand() end end
  2471. end
  2472. end
  2473. function OnButton1Down() buttonDown = true combo = combo + 1
  2474. if not ms then end
  2475. if processing and not gtarget then return end
  2476. processing,cfs = true, true
  2477. if mode == 1 then
  2478. CF(_jnt.neck, nil, CFrame.Angles(0, math.rad(40), 0), .2, true)
  2479. CF(_jnt.tors, nil, CFrame.Angles(0, math.rad(-40), 0), .2, true)
  2480. CF(_prt.sword_1.weld, nil, CFrame.Angles(0, math.rad(-90), 0), .2, true)
  2481. CF(_jnt.lsho, nil, CFrame.Angles(0, 0, math.rad(-10)), .2, true)
  2482. CF(_jnt.rsho, nil, CFrame.Angles(0, math.rad(-20), math.rad(90)), .2)
  2483. pcall(function() bPos.position = Vector3.new(0,part.tors.CFrame.p.Y,0) bPos.Parent = part.tors end)
  2484. Trail(true)
  2485. Hit(true)
  2486. CF(_jnt.neck, nil, CFrame.Angles(0, math.rad(-50), 0), .15, true)
  2487. CF(_jnt.tors, nil, CFrame.Angles(0, math.rad(50), 0), .15, true)
  2488. CF(_prt.sword_1.weld, nil, CFrame.Angles(math.rad(55), math.rad(-90), 0), .15, true)
  2489. CF(_jnt.rsho, nil, CFrame.Angles(math.rad(90), math.rad(90), 0), .15)
  2490. Trail(false)
  2491. Hit(false)
  2492. if combo > 1 then combo = 2
  2493. if buttonDown then pcall(function() bPos.Parent = nil end) repeat wait(0.015) LightingGen(_prt.sword_4.part.CFrame.p,_prt.sword_3.part.CFrame.p,3,.05) until not buttonDown end
  2494. CF(_prt.sword_1.weld, nil, CFrame.Angles(math.rad(55), math.rad(90),0), .3)
  2495. Trail(true)
  2496. Hit(true)
  2497. CF(_prt.sword_1.weld, nil, CFrame.Angles(0, math.rad(90), 0), .15, true)
  2498. CF(_jnt.neck, nil, CFrame.Angles(0, math.rad(40), 0), .12, true)
  2499. CF(_jnt.tors, nil, CFrame.Angles(0, math.rad(-40), 0), .15, true)
  2500. CF(_jnt.rsho, nil, CFrame.Angles(0, math.rad(-20), math.rad(90)), .15)
  2501. pcall(function() bPos.Parent = nil end)
  2502. Trail(false)
  2503. Hit(false)
  2504. CF(_prt.sword_1.weld, nil, CFrame.Angles(math.rad(90), math.rad(90), 0), .15, true)
  2505. CF(_jnt.neck, nil, CFrame.Angles(0, 0, 0), .15, true)
  2506. CF(_jnt.tors, nil, CFrame.Angles(0, 0, 0), .15, true)
  2507. CF(_jnt.rsho, nil, CFrame.Angles(math.rad(-10), 0, 0), .15)
  2508. else
  2509. pcall(function() bPos.Parent = nil end)
  2510. CF(_jnt.neck, nil, CFrame.Angles(0, 0, 0), .15, true)
  2511. CF(_jnt.tors, nil, CFrame.Angles(0, 0, 0), .15, true)
  2512. CF(_jnt.rsho, nil, CFrame.Angles(0, 0, math.rad(5)), .15)
  2513. end
  2514. elseif mode == 2 then
  2515. --> GUN <--
  2516. elseif mode == 3 then
  2517. CF(_jnt.neck, nil, CFrame.Angles(0, math.rad(90), 0), .1, true)
  2518. CF(_jnt.tors, nil, CFrame.Angles(0, math.rad(-90), 0), .1, true)
  2519. CF(_jnt.rsho, nil, CFrame.Angles(math.rad(-20), 0, math.rad(20)), .1, true)
  2520. CF(_jnt.lsho, nil, CFrame.Angles(0, 0, math.rad(-90)), .1)
  2521. while ms and buttonDown and not disconnectRequest do wait(.015)
  2522. pcall(function() bGyro.Parent = part.tors end)
  2523. if ms and not disconnectRequest and huma.Health ~= 0 then
  2524. bGyro.cframe = CFrame.new(part.tors.CFrame.p, Vector3.new(ms.Hit.p.X, part.tors.CFrame.p.Y, ms.Hit.p.Z))
  2525. if ms.Target then
  2526. LightingGen((part.larm.CFrame * CFrame.new(0,-1,0)).p, ms.Hit.p, 10, .05, .5)
  2527. end
  2528. end
  2529. end
  2530. pcall(function() bGyro.Parent = nil end)
  2531. CF(_jnt.neck, nil, CFrame.Angles(0, 0, 0), .1, true)
  2532. CF(_jnt.tors, nil, CFrame.Angles(0, 0, 0), .1, true)
  2533. CF(_jnt.lsho, nil, CFrame.Angles(0, 0, math.rad(-5)), .1, true)
  2534. CF(_jnt.rsho, nil, CFrame.Angles(0, 0, math.rad(5)), .1)
  2535. end
  2536. combo = 0
  2537. if not gtarget then processing, cfs = false, false end
  2538. Walk()
  2539. end
  2540. function Disconnection() disconnectRequest = true ms = nil
  2541. while processing do wait(.015) end
  2542. w,a,s,d = false,false,false,false
  2543. processing = true
  2544. if use then
  2545. Hit(false)
  2546. bindKeyUp, bindKeyDown = false, false
  2547. if mode == 1 then SwordUnequip(true) end
  2548. if mode == 2 then GunUnequip(true) end
  2549. if mode == 3 then LightUnequip(true) end
  2550. use = false
  2551. huma.WalkSpeed = defaultWalkspeed
  2552. gunTakePos = nil
  2553. w,a,s,d = false,false,false,false
  2554. w2,a2,s2,d2 = false,false,false,false
  2555. _prt.torso_1.weld.Part0 = part.tors
  2556. if delete then part.tors.Transparency = 0 end
  2557. for i,mtor in pairs (motor) do
  2558. pcall(function() mtor.Part0 = part.tors end)
  2559. end
  2560. if _jnt ~= nil then
  2561. for i,weld in pairs(_jnt) do
  2562. pcall(function() weld:Remove() end)
  2563. end
  2564. end
  2565. if part.ftor ~= nil then part.ftor:Remove() end
  2566. if delete then
  2567. if shirt ~= nil then shirt.Parent = char end
  2568. if _mdl ~= nil then _mdl:Remove() end
  2569. suited = false
  2570. model = false
  2571. prt = {}
  2572. end
  2573. _jnt,_mdl,_prt = nil, nil, nil
  2574. _kup:disconnect()
  2575. _kdn:disconnect()
  2576. _mse:disconnect()
  2577. _ms2:disconnect()
  2578. combo = 0
  2579. _kup,_kdn,_mse,_ms2 = nil,nil,nil,nil
  2580. initialized = false
  2581. end
  2582. disconnectRequest = false
  2583. processing = false
  2584. end
  2585. function _Main(mouse)
  2586. while processing do wait(0.015) end
  2587. ms = mouse
  2588. _jnt = JoinInit()
  2589. _mdl = SuitInit()
  2590. _prt = LoadSuit()
  2591. mode = 0
  2592. _kup = mouse.KeyUp:connect(OnKeyUp)
  2593. _kdn = mouse.KeyDown:connect(OnKeyDown)
  2594. _mse = mouse.Button1Down:connect(OnButton1Down)
  2595. _ms2 = mouse.Button1Up:connect(function() buttonDown = false end)
  2596. use, bindKeyUp, bindKeyDown = true, true, true
  2597. end
  2598. bin.Selected:connect(_Main)
  2599. bin.Deselected:connect(Disconnection)
  2600.  
  2601.  
  2602. end)
  2603.  
  2604. _1.Name = "1"
  2605. _1.Parent = maingui
  2606. _1.BackgroundColor3 = Color3.new(1, 1, 1)
  2607. _1.BackgroundTransparency = 1
  2608. _1.BorderSizePixel = 0
  2609. _1.Position = UDim2.new(0, 0, 0.0671140924, 0)
  2610. _1.Size = UDim2.new(0, 23, 0, 21)
  2611. _1.Visible = false
  2612. _1.Active = true
  2613.  
  2614. Shattervast.Name = "Shattervast"
  2615. Shattervast.Parent = _1
  2616. Shattervast.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  2617. Shattervast.BorderSizePixel = 2
  2618. Shattervast.Position = UDim2.new(0.478260875, 0, 0.809523821, 0)
  2619. Shattervast.Size = UDim2.new(0, 100, 0, 25)
  2620. Shattervast.Font = Enum.Font.SourceSansItalic
  2621. Shattervast.Text = "Shattervast"
  2622. Shattervast.TextColor3 = Color3.new(1, 1, 1)
  2623. Shattervast.TextSize = 20
  2624. Shattervast.MouseButton1Down:connect(function()
  2625. -- Have Fun!
  2626. -- IT FUCKING TAKE MY SELF 1 HOUR TO RESCRIPT THIS CAUSE SKISPLOIT CANT RUN THE FUCKING COREGUI
  2627. -- Re script by Alex games #9120
  2628. -- By illremember#3799
  2629.  
  2630. -- Important Loading
  2631. trueSettings = {
  2632. commandPrefix = ";";
  2633. hotkeys = {};
  2634. fchotkeymode = "unfc";
  2635. }
  2636.  
  2637. -- Important Variables
  2638. gsPlayers = game:GetService("Players")
  2639. gsWorkspace = game:GetService("Workspace")
  2640. gsLighting = game:GetService("Lighting")
  2641. gsReplicatedStorage = game:GetService("ReplicatedStorage")
  2642. gsCoreGui = game:GetService("CoreGui")
  2643. gsTween = game:GetService("TweenService")
  2644. gsHttp = game:GetService("HttpService")
  2645.  
  2646. LP = gsPlayers.LocalPlayer
  2647. Mouse = LP:GetMouse()
  2648.  
  2649. defaultSettings = gsHttp:JSONEncode(trueSettings)
  2650. function CreateSave()
  2651. writefile("Shattervast.txt", defaultSettings)
  2652. wait(0.5)
  2653. local content = readfile("Shattervast.txt")
  2654. local trueValue = gsHttp:JSONDecode(content)
  2655. commandPrefix = trueValue.commandPrefix
  2656. hotkeys = trueValue.hotkeys
  2657. fchotkeymode = trueValue.fchotkeymode
  2658. end
  2659. function fullUpdate()
  2660. local updatedSettings = {
  2661. commandPrefix = commandPrefix;
  2662. hotkeys = hotkeys;
  2663. fchotkeymode = fchotkeymode;
  2664. }
  2665. local fullUPDATED = gsHttp:JSONEncode(updatedSettings)
  2666. wait(0.2)
  2667. writefile("Shattervast.txt", fullUPDATED)
  2668. end
  2669. if writefile ~= nil then
  2670. function builder()
  2671. local TESTsave = readfile("Shattervast.txt")
  2672. if TESTsave == nil then
  2673. return false
  2674. else
  2675. return true
  2676. end
  2677. end
  2678. local success, message = pcall(builder)
  2679. if success == true then
  2680. function reader()
  2681. local content = readfile("Shattervast.txt")
  2682. local trueValue = gsHttp:JSONDecode(content)
  2683. commandPrefix = trueValue.commandPrefix
  2684. hotkeys = trueValue.hotkeys
  2685. if trueValue.fchotkeymode == nil then
  2686. fchotkeymode = "unfc"
  2687. fullUpdate()
  2688. else
  2689. fchotkeymode = trueValue.fchotkeymode
  2690. end
  2691. end
  2692. reader()
  2693. elseif success == false then
  2694. CreateSave()
  2695. end
  2696. else
  2697. commandPrefix = ";"
  2698. hotkeys = {}
  2699. fchotkeymode = "unfc"
  2700. end
  2701.  
  2702. CurrentGravity = gsWorkspace.Gravity
  2703. CurrentWalkspeed = LP.Character.Humanoid.WalkSpeed
  2704. CurrentJumppower = LP.Character.Humanoid.JumpPower
  2705. CurrentHipheight = LP.Character.Humanoid.HipHeight
  2706. CurrentNormal = LP.DevCameraOcclusionMode
  2707.  
  2708. gsWorkspace.Camera.Changed:Connect(function()
  2709. gsWorkspace.Camera.FieldOfView = 70
  2710. end)
  2711.  
  2712. -- Important Functions
  2713. function view(plr)
  2714. if plr.Character.Humanoid ~= nil then
  2715. gsWorkspace.CurrentCamera.CameraSubject = plr.Character.Humanoid
  2716. else
  2717. gsWorkspace.CurrentCamera.CameraSubject = plr.Character.Head
  2718. end
  2719. end
  2720. function unlockWS()
  2721. for i,part in pairs(gsWorkspace:GetDescendants()) do
  2722. if part:IsA("Part") then
  2723. part.Locked = false
  2724. end
  2725. end
  2726. end
  2727. function lockWS()
  2728. for i,part in pairs(gsWorkspace:GetDescendants()) do
  2729. if part:IsA("Part") then
  2730. part.Locked = true
  2731. end
  2732. end
  2733. end
  2734. function FEGodmode()
  2735. local changeview = false
  2736. if gsWorkspace.CurrentCamera.CameraSubject == LP.Character.Humanoid or gsWorkspace.CurrentCamera.CameraSubject == LP.Character then
  2737. changeview = true
  2738. end
  2739. LP.Character.Humanoid.Name = 1
  2740. local l = LP.Character["1"]:Clone()
  2741. l.Parent = LP.Character
  2742. l.Name = "Humanoid"
  2743. wait(0.1)
  2744. LP.Character["1"]:Destroy()
  2745. if changeview then
  2746. game:GetService("Workspace").CurrentCamera.CameraSubject = LP.Character
  2747. end
  2748. LP.Character.Animate.Disabled = true
  2749. wait(0.1)
  2750. LP.Character.Animate.Disabled = false
  2751. LP.Character.Humanoid.DisplayDistanceType = "None"
  2752. end
  2753. function RocketPropulsion(maxthrust,maxspeed,thrustp,targetplr,name)
  2754. local l = Instance.new("RocketPropulsion")
  2755. l.Parent = LP.Character.HumanoidRootPart
  2756. l.CartoonFactor = 1
  2757. l.MaxThrust = maxthrust
  2758. l.MaxSpeed = maxspeed
  2759. l.ThrustP = thrustp
  2760. l.Name = name
  2761. l.Target = targetplr.Character.HumanoidRootPart
  2762. l:Fire()
  2763. end
  2764. function createIntro(style, msg, length)
  2765. if gsCoreGui:FindFirstChild("Notification") then
  2766. gsCoreGui:FindFirstChild("Notification"):Destroy()
  2767. end
  2768. local info = "http://www.roblox.com/asset/?id=1281284684"
  2769. local warning = "http://www.roblox.com/asset/?id=1281286925"
  2770. if style == "info" then
  2771. style = info
  2772. elseif style == "warning" then
  2773. style = warning
  2774. end
  2775. local Notification = Instance.new("ScreenGui")
  2776. local Frame = Instance.new("Frame")
  2777. local TextLabel = Instance.new("TextLabel")
  2778. local IMAGE = Instance.new("ImageLabel")
  2779. Notification.Name = "Notification"
  2780. Notification.Parent = game.Players.LocalPlayer.PlayerGui
  2781. Notification.ResetOnSpawn = false
  2782. Frame.Parent = Notification
  2783. Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  2784. Frame.BackgroundTransparency = 0.20000000298023
  2785. Frame.BorderSizePixel = 0
  2786. Frame.Position = UDim2.new(0, 0, -0.2, 0)
  2787. Frame.Size = UDim2.new(1, 0, 0, 30)
  2788. TextLabel.Parent = Frame
  2789. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  2790. TextLabel.BackgroundTransparency = 1
  2791. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  2792. TextLabel.Font = Enum.Font.SourceSansLight
  2793. TextLabel.Text = msg
  2794. TextLabel.TextColor3 = Color3.new(0.905882, 0.905882, 0.905882)
  2795. TextLabel.TextScaled = true
  2796. TextLabel.TextSize = 14
  2797. TextLabel.TextWrapped = true
  2798. IMAGE.Parent = Frame
  2799. IMAGE.BackgroundTransparency = 1
  2800. IMAGE.Size = UDim2.new(0, 50, 0, 50)
  2801. IMAGE.Position = UDim2.new(0.1, 0, 0, 0)
  2802. IMAGE.Image = style
  2803. local Intro = Instance.new("ScreenGui")
  2804. local Frame2 = Instance.new("Frame")
  2805. local IMAGE2 = Instance.new("ImageLabel")
  2806. Intro.Name = "Intro"
  2807. Intro.Parent = game.Players.LocalPlayer.PlayerGui
  2808. Intro.ResetOnSpawn = false
  2809. Frame2.Parent = Intro
  2810. Frame2.BackgroundTransparency = 1
  2811. Frame2.BorderSizePixel = 0
  2812. Frame2.Position = UDim2.new(0, 0, -0.2, 0)
  2813. Frame2.Size = UDim2.new(1, 0, 0, 30)
  2814. IMAGE2.Parent = Frame
  2815. IMAGE2.BackgroundTransparency = 1
  2816. IMAGE2.AnchorPoint = Vector2.new(0.5, 0)
  2817. IMAGE2.Size = UDim2.new(0, 240, 0, 120)
  2818. IMAGE2.Position = UDim2.new(0.5, 0, 0, 0)
  2819. IMAGE2.Image = "http://www.roblox.com/asset/?id=1795472522"
  2820. Frame2:TweenPosition(UDim2.new(0, 0, 0, 200), "Out", "Quad", 1.5)
  2821. Frame:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 1.5)
  2822. wait(length)
  2823. pcall(function()
  2824. Frame:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
  2825. Frame2:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
  2826. end)
  2827. wait(3.01)
  2828. Intro:Destroy()
  2829. Notification:Destroy()
  2830. end
  2831. function Notification(style, msg, length)
  2832. if gsCoreGui:FindFirstChild("Notification") then
  2833. gsCoreGui:FindFirstChild("Notification"):Destroy()
  2834. end
  2835. local info = "http://www.roblox.com/asset/?id=1281284684"
  2836. local warning = "http://www.roblox.com/asset/?id=1281286925"
  2837. if style == "info" then
  2838. style = info
  2839. elseif style == "warning" then
  2840. style = warning
  2841. end
  2842. local Notification = Instance.new("ScreenGui")
  2843. local Frame = Instance.new("Frame")
  2844. local TextLabel = Instance.new("TextLabel")
  2845. local IMAGE = Instance.new("ImageLabel")
  2846. Notification.Name = "Notification"
  2847. Notification.Parent = game.Players.LocalPlayer.PlayerGui
  2848. Notification.ResetOnSpawn = false
  2849. Frame.Parent = Notification
  2850. Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  2851. Frame.BackgroundTransparency = 0.20000000298023
  2852. Frame.BorderSizePixel = 0
  2853. Frame.Position = UDim2.new(0, 0, -0.2, 0)
  2854. Frame.Size = UDim2.new(1, 0, 0, 30)
  2855. TextLabel.Parent = Frame
  2856. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  2857. TextLabel.BackgroundTransparency = 1
  2858. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  2859. TextLabel.Font = Enum.Font.SourceSansLight
  2860. TextLabel.Text = msg
  2861. TextLabel.TextColor3 = Color3.new(0.905882, 0.905882, 0.905882)
  2862. TextLabel.TextScaled = true
  2863. TextLabel.TextSize = 14
  2864. TextLabel.TextWrapped = true
  2865. IMAGE.Parent = Frame
  2866. IMAGE.BackgroundTransparency = 1
  2867. IMAGE.Size = UDim2.new(0, 50, 0, 50)
  2868. IMAGE.Position = UDim2.new(0.1, 0, 0, 0)
  2869. IMAGE.Image = style
  2870. Frame:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 1.5)
  2871. wait(length)
  2872. pcall(function()
  2873. Frame:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
  2874. end)
  2875. wait(3.01)
  2876. Notification:Destroy()
  2877. end
  2878. function hasTools()
  2879. local a = false
  2880. local b = false
  2881. for i,v in pairs(LP.Character:GetDescendants()) do
  2882. if v:IsA("Tool") then
  2883. if v ~= nil then
  2884. a = true
  2885. else
  2886. a = false
  2887. end
  2888. end
  2889. end
  2890. for i,k in pairs(LP.Backpack:GetDescendants()) do
  2891. if k:IsA("Tool") then
  2892. if k ~= nil then
  2893. b = true
  2894. else
  2895. b = false
  2896. end
  2897. end
  2898. end
  2899. return a or b
  2900. end
  2901. Compliments = {" is the coolest person in this server!", ", I really like your avatar!", ", I really want to be your friend!", " is truly amazing. Truly!", " is incredible!", ", you are my favourite here!!", ", I am complimenting you right now at this very moment.", " you are really awesome", " when will you be my friend!?", " is such a great person", " is a fantastic person!"}
  2902. function complimentplr(player)
  2903. local plrName = player.Name
  2904. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(plrName..Compliments[math.random(1, #Compliments)], "All")
  2905. end
  2906. function createINFO(player)
  2907. local InfoGUIv2 = Instance.new("ScreenGui")
  2908. local Frame = Instance.new("Frame")
  2909. local Frame_2 = Instance.new("Frame")
  2910. local infoguiCLOSE = Instance.new("TextButton")
  2911. local Frame_3 = Instance.new("Frame")
  2912. local playerName = Instance.new("TextLabel")
  2913. local Frame_4 = Instance.new("Frame")
  2914. local playerAvatar = Instance.new("ImageLabel")
  2915. local playerAccAge = Instance.new("TextLabel")
  2916. local playerId = Instance.new("TextLabel")
  2917. local playerOs = Instance.new("TextLabel")
  2918. local playerMembership = Instance.new("TextLabel")
  2919. local Frame_5 = Instance.new("Frame")
  2920. local Frame_6 = Instance.new("Frame")
  2921. InfoGUIv2.Name = "InfoGUIv2"
  2922. InfoGUIv2.Parent = game.Players.LocalPlayer.PlayerGui
  2923. InfoGUIv2.ResetOnSpawn = false
  2924. Frame.Parent = InfoGUIv2
  2925. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  2926. Frame.BackgroundTransparency = 1
  2927. Frame.BorderColor3 = Color3.new(0, 0, 0)
  2928. Frame.ClipsDescendants = true
  2929. Frame.Position = UDim2.new(0.45, 0, 1, 0)
  2930. Frame.Size = UDim2.new(0, 265, 0, 302)
  2931. Frame.ZIndex = -1
  2932. Frame_2.Parent = Frame
  2933. Frame_2.BackgroundColor3 = Color3.new(0.290196, 0, 0.447059)
  2934. Frame_2.BorderSizePixel = 0
  2935. Frame_2.Size = UDim2.new(0, 260, 0, 20)
  2936. infoguiCLOSE.Name = "infoguiCLOSE"
  2937. infoguiCLOSE.Parent = Frame_2
  2938. infoguiCLOSE.BackgroundColor3 = Color3.new(1, 1, 1)
  2939. infoguiCLOSE.BackgroundTransparency = 1
  2940. infoguiCLOSE.BorderSizePixel = 0
  2941. infoguiCLOSE.Position = UDim2.new(0, 230, 0, 0)
  2942. infoguiCLOSE.Size = UDim2.new(0, 30, 0, 20)
  2943. infoguiCLOSE.Font = Enum.Font.SourceSansBold
  2944. infoguiCLOSE.Text = "X"
  2945. infoguiCLOSE.TextColor3 = Color3.new(0.992157, 0.992157, 0.992157)
  2946. infoguiCLOSE.TextSize = 20
  2947. Frame_3.Parent = Frame
  2948. Frame_3.BackgroundColor3 = Color3.new(0.482353, 0.121569, 0.635294)
  2949. Frame_3.BorderSizePixel = 0
  2950. Frame_3.Position = UDim2.new(0, 0, 0, 20)
  2951. Frame_3.Size = UDim2.new(0, 260, 0, 40)
  2952. playerName.Name = "playerName"
  2953. playerName.Parent = Frame_3
  2954. playerName.BackgroundColor3 = Color3.new(1, 1, 1)
  2955. playerName.BackgroundTransparency = 1
  2956. playerName.Position = UDim2.new(0, 10, 0, 5)
  2957. playerName.Size = UDim2.new(0, 240, 0, 30)
  2958. playerName.Font = Enum.Font.SourceSansLight
  2959. playerName.Text = player.Name
  2960. playerName.TextColor3 = Color3.new(0.988235, 0.988235, 0.988235)
  2961. playerName.TextScaled = true
  2962. playerName.TextSize = 14
  2963. playerName.TextWrapped = true
  2964. Frame_4.Parent = Frame
  2965. Frame_4.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  2966. Frame_4.BorderSizePixel = 0
  2967. Frame_4.Position = UDim2.new(0, 0, 0, 60)
  2968. Frame_4.Size = UDim2.new(0, 260, 0, 237)
  2969. playerAvatar.Name = "playerAvatar"
  2970. playerAvatar.Parent = Frame_4
  2971. playerAvatar.BackgroundColor3 = Color3.new(1, 1, 1)
  2972. playerAvatar.Position = UDim2.new(0, 85, 0, 10)
  2973. playerAvatar.Size = UDim2.new(0, 85, 0, 85)
  2974. playerAvatar.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=150&Format=Png&username="..player.Name
  2975. playerAccAge.Name = "playerAccAge"
  2976. playerAccAge.Parent = Frame_4
  2977. playerAccAge.BackgroundColor3 = Color3.new(1, 1, 1)
  2978. playerAccAge.BackgroundTransparency = 1
  2979. playerAccAge.Position = UDim2.new(0, 5, 0, 101)
  2980. playerAccAge.Size = UDim2.new(0, 250, 0, 30)
  2981. playerAccAge.Font = Enum.Font.SourceSans
  2982. playerAccAge.Text = "Account Age: "..player.AccountAge
  2983. playerAccAge.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  2984. playerAccAge.TextScaled = true
  2985. playerAccAge.TextSize = 14
  2986. playerAccAge.TextWrapped = true
  2987. playerId.Name = "playerId"
  2988. playerId.Parent = Frame_4
  2989. playerId.BackgroundColor3 = Color3.new(1, 1, 1)
  2990. playerId.BackgroundTransparency = 1
  2991. playerId.Position = UDim2.new(0, 5, 0, 131)
  2992. playerId.Size = UDim2.new(0, 250, 0, 30)
  2993. playerId.Font = Enum.Font.SourceSans
  2994. playerId.Text = "Account ID: "..player.UserId
  2995. playerId.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  2996. playerId.TextScaled = true
  2997. playerId.TextSize = 14
  2998. playerId.TextWrapped = true
  2999. playerOs.Name = "playerOs"
  3000. playerOs.Parent = Frame_4
  3001. playerOs.BackgroundColor3 = Color3.new(1, 1, 1)
  3002. playerOs.BackgroundTransparency = 1
  3003. playerOs.Position = UDim2.new(0, 5, 0, 161)
  3004. playerOs.Size = UDim2.new(0, 250, 0, 30)
  3005. playerOs.Font = Enum.Font.SourceSansLight
  3006. playerOs.Text = "Player OS: "..player.OsPlatform
  3007. playerOs.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  3008. playerOs.TextScaled = true
  3009. playerOs.TextSize = 14
  3010. playerOs.TextWrapped = true
  3011. playerMembership.Name = "playerMembership"
  3012. playerMembership.Parent = Frame_4
  3013. playerMembership.BackgroundColor3 = Color3.new(1, 1, 1)
  3014. playerMembership.BackgroundTransparency = 1
  3015. playerMembership.Position = UDim2.new(0, 5, 0, 191)
  3016. playerMembership.Size = UDim2.new(0, 250, 0, 30)
  3017. playerMembership.Font = Enum.Font.SourceSansLight
  3018. if player.MembershipType == Enum.MembershipType.None then
  3019. playerMembership.Text = "No builder's club."
  3020. elseif player.MembershipType == Enum.MembershipType.BuildersClub then
  3021. playerMembership.Text = "Builder's club!"
  3022. elseif player.MembershipType == Enum.MembershipType.TurboBuildersClub then
  3023. playerMembership.Text = "Turbo Builder's club!"
  3024. elseif player.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
  3025. playerMembership.Text = "Outrageous Builder's club!"
  3026. end
  3027. playerMembership.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  3028. playerMembership.TextScaled = true
  3029. playerMembership.TextSize = 14
  3030. playerMembership.TextWrapped = true
  3031. Frame_5.Parent = Frame
  3032. Frame_5.BackgroundColor3 = Color3.new(0, 0, 0)
  3033. Frame_5.BackgroundTransparency = 0.69999998807907
  3034. Frame_5.BorderColor3 = Color3.new(0, 0, 0)
  3035. Frame_5.BorderSizePixel = 0
  3036. Frame_5.ClipsDescendants = true
  3037. Frame_5.Position = UDim2.new(0, 10, 0, 10)
  3038. Frame_5.Selectable = true
  3039. Frame_5.Size = UDim2.new(0, 255, 0, 292)
  3040. Frame_5.ZIndex = -1
  3041. Frame_6.Parent = Frame
  3042. Frame_6.BackgroundColor3 = Color3.new(0, 0, 0)
  3043. Frame_6.BackgroundTransparency = 0.69999998807907
  3044. Frame_6.BorderColor3 = Color3.new(0, 0, 0)
  3045. Frame_6.BorderSizePixel = 0
  3046. Frame_6.ClipsDescendants = true
  3047. Frame_6.Position = UDim2.new(0, 8, 0, 8)
  3048. Frame_6.Selectable = true
  3049. Frame_6.Size = UDim2.new(0, 255, 0, 292)
  3050. Frame_6.ZIndex = -1
  3051. local closeGet = {}
  3052. closeGet.Size = UDim2.new(0, 0, 0, 0)
  3053. local openGet = {}
  3054. openGet.Position = UDim2.new(0.45, 0, 0.45, 0)
  3055. local closeFunction = gsTween:Create(Frame, TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), closeGet)
  3056. local openFunction = gsTween:Create(Frame, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), openGet)
  3057. infoguiCLOSE.MouseButton1Click:Connect(function()
  3058. closeFunction:Play()
  3059. Frame:TweenPosition((Frame.Position + UDim2.new(0, 265 / 2, 0, 302 / 2)), "InOut", "Sine", 2)
  3060. wait(2.01)
  3061. Frame:Destroy()
  3062. end)
  3063. openFunction:Play()
  3064. local UserInputService = game:GetService("UserInputService")
  3065. local dragging
  3066. local dragInput
  3067. local dragStart
  3068. local startPos
  3069. local function update(input)
  3070. local delta = input.Position - dragStart
  3071. local dragTime = 0.055
  3072. local SmoothDrag = {}
  3073. SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  3074. local dragSmoothFunction = gsTween:Create(Frame, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
  3075. dragSmoothFunction:Play()
  3076. end
  3077. Frame.InputBegan:Connect(function(input)
  3078. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  3079. dragging = true
  3080. dragStart = input.Position
  3081. startPos = Frame.Position
  3082. input.Changed:Connect(function()
  3083. if input.UserInputState == Enum.UserInputState.End then
  3084. dragging = false
  3085. end
  3086. end)
  3087. end
  3088. end)
  3089. Frame.InputChanged:Connect(function(input)
  3090. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  3091. dragInput = input
  3092. end
  3093. end)
  3094. UserInputService.InputChanged:Connect(function(input)
  3095. if input == dragInput and dragging and Frame.Size == UDim2.new(0, 265, 0, 302) then
  3096. update(input)
  3097. end
  3098. end)
  3099. end
  3100. function clientSided()
  3101. Notification("info", "This command is for the client (you) only, no one else can see!", 6)
  3102. end
  3103. searchCmds={"1 print [msg] - Prints a message to the developer console","2 warn [msg] - Warns a message to the developer console","3 sit - Makes you sit","4 god - Activates FE Godmode (breaks tools)","5 view [plr] - Changes your camera subject to another player","6 unview - Changes your camera back to your player","7 gravity [num] - Changes workspace gravity to [num]","8 ungravity - Reverts workspace gravity to game's default","9 goto [plr] - Teleports you to a player","10 fecheck - Checks whether the game is FE or not","11 lockws - Locks the whole workspace","12 unlockws - Unlocks the whole workspace","13 noclip - Allows you to walk through walls and other objects","14 clip - Stops noclip, can collide","15 follow [plr] / [num] - Makes you follow a player constantly, optional [num] for how far away to follow","16 unfollow - Stops you from following","17 fling [plr] / [pow] - Uses your character to fling a player, optional [pow] for how much power to put into the fling","18 unfling - Stops you from flinging","19 trail [plr] / [num] - Makes you trail (walk infront) of a player constantly, optional [num] for how far away to trail","20 untrail - Stops you from trailing","21 annoy [plr] - Loop teleports you to the player","22 unannoy - Stops loop teleporting you","23 reset - Resets your character","24 grespawn - Respawns your character, best for use after FE godmode","25 respawn - Respawns your character, best to use if grespawn fails to work","26 speed // ws [num] - Changes your walkspeed (speed or ws) to [num]","27 jumppower // jp [num] - Changes your jumppower (jumppower or jp) to [num]","28 hipheight // hh [num] - Changes your hipheight (hipheight or hh) to [num]","29 default - Changes your walkspeed, jumppower and hipheight back to normal","30 credits - Displays admin credits (by illremember#3799)","31 attach [plr] - Attaches you to a player, tool required","32 fly / [speed] - Enables fly, optional [speed] for how fast to fly","33 unfly - Disables fly","34 kill [plr] - Kills a player, tool required","35 bring [plr] - Brings a player, tool required","36 naked - Displays avatar body colours","37 nolimbs - Deletes all your arms and legs","38 noarms - Deletes both your arms","39 nolegs - Deletes both your legs","40 antikick [on/off] - Blocks all remotes for antikick when on, disables when off","41 blockremote [remote] / [service] - Blocks a remote from firing, optional [service] for where the remote is located","42 remotespy [on/off] - Prints all remotes to developer console when on when fired, stops printing when off","43 bang [plr] / [speed] - Bangs a player, optional [speed] to set animation adjust speed","44 unbang - Stops bang player","45 spam [msg] - Spams [msg] in chat","46 spamdelay [num] - Sets how long to wait in between spamming","47 unspam - Stops spamming","48 info [plr] - Creates GUI with information about player account, shows Account age, membership and account ID","49 age [plr] - Chats account age of player","50 invisible - Enables FE invisibility, by Timeless","51 walk [plr] - Begins to make you loop walk towards player","52 glitch [plr] / [num] - Glitches a player, tool required, optional [num] for strength of glitch","53 tp [plr] [plr] - Teleports a player to another player, tool required","54 givetool [plr] / [tool] - Gives your current equipped tool to player, optional [tool] to pick a tool by name from your inventory","55 givealltools [plr] - Gives all tools currently equipped and in inventory to player","56 blockhats - Removes mesh of all accessories","57 blocktool - Removes mesh of currently equipped tool","58 orbit [plr] - Begins to make you orbit around a player","59 unorbit - Stops you orbiting a player","60 pos - Shows your current position","61 savepos - Saves your current position","62 loadpos - Loads your current position from savepos","63 tppos [num] [num] [num] - Teleports you to position [num], [num], [num]","64 pmspam [plr] [msg] - Makes you spam a player's pm with [msg]","65 unpmspam - Stops spamming a player's pm","66 wsvis [num] - Changes all parts in workspace to [num] transparency","67 bringobj [obj] / [num] - Brings an object in the workspace to you, optional [num] for how far away to bring object","68 cbring [plr] - Brings a player to you constantly on client","69 uncbring - Stops bringing a player to you on client","70 cfreeze [plr] - Freezes a player on your client","71 uncfreeze / [plr] - Unfreezes a player on your cleint","72 unattach - Unattaches you from a player","73 reach [on/off] / [num] - Activates/Deactivates reach for currently equipped tool, optional [num] for how long the reach should be","74 droptool / [tool] - Drops a tool into the workspace, optional [tool] command for which tool to drop","75 drophats - Drops all your accessories into the workspace","76 hidecmdbar - Hides the command bar","77 showcmdbar - Shows the command bar","78 prefix [key] - Changes your prefix to [key] must be 1 character","79 removeinvis - Removes all invisible parts in workspace","80 removefog - Removes fog in lighting","81 animation [id/gui] / [speed] - Makes you play an animation with [id], optional [speed] for adjusting animation speed OR [gui] to open Energize animation GUI","82 btools - Gives you btools for deleting, copying and dragging (client side)","83 esp [plr] - Enables an esp for that player, credits to Infinite Yield","84 unesp / [plr] - Disables all esp, optional [plr] for disabling esp just for that player","85 dice - Chats you rolling a dice for 1, 2, 3, 4, 5 or 6","86 random [min] [max] - Chats you picking a random number between [min] and [max]","87 closegame - Shutsdown/closes your game","88 savetool / [tool] - Saves a tool to your player equipped, optional [tool] for which tool to save in your inventory","89 loadtool / [tool] - Loads a tool from your player, optional [tool] for which tool to load by name","90 savealltool - Saves all tools in your character/inventory","91 loadalltool - Loads all tools in your player saved tools","92 clicktp / [key] - Enables click teleport, optional [key] to set a key instead of clicking","93 clickdel / [key] - Enables click delete part, optional [key] to set a key instead of clicking","94 unclicktp - Disables clicktp","95 unclickdel - Disables clickdel","96 shutdown - Attempts a server shutdown","97 chatlogs - Opens up a chat log gui with options to print chat to developer console","98 stopadmin - Disables currently running admin completely","99 freecam / [speed] - Enables freecam (like flying but not in character), optional [speed] for how fast the freecam should go","100 unfreecam // unfc - Disables freecam","101 fctp [plr] - Teleports your freecam to player","102 gotofc - Teleports you to current freecam position","103 cmds - Opens up this GUI with commands","104 fullcredits - Shows full individual credits for all help with the admin","105 hotkey [key] [cmd] - Creates a hotkey that executes [cmd] when [key] is pressed","106 removehotkey [key] - Removes a hotkey with [key]","107 removeallhotkey - Removes all current hotkeys for commands","108 printhotkeys - Prints all current existing hotkeys","109 os [plr] - Chats the current OS of a player","110 spin [plr] - Makes you spin with a player, tool required","111 unspin - Stops you spinning a player/teleporting to a player","112 explorer - Loads DEX explorer","113 maxzoom [num] - Changes your maxzoom to number","114 stare [plr] - Makes you stare at another player","115 unstare [plr] - Makes you stop staring at player","116 tempgod - Enables temporary FE godmode, does not work on all games, does not break tools","117 void [plr] - Teleports you and a player to the void, requires a tool","118 freefall [plr] - Makes you and a player freefall to the ground","119 version - Shows current admin's version","120 shiftlockon - Enables shift lock if not enabled by game developer","121 copychat [plr] - Makes you copy the chat player says, use uncopychat to stop copying chat","122 newattach [plr] - Does not FE Godmode you, requires 2 tools, attaches you to player","123 newkill [plr] - Does not FE Godmode you, requires 2 tools, kills player","124 newbring [plr] - Does not FE Godmode you, requires 2 tools, brings player","125 spawn [ws/jp/hh/god] [num] - Sets your walkspeed/jumppower/hipheight to number whenever you respawn, or makes you FE Godded whenever you respawn","126 unspawn - Stops you spawning with stats set by "..commandPrefix.."spawn","127 autosavetool [on/off] - Auto saves your tools when you reset","128 beginbot / [mode] - Makes you a bot for other players, type just "..commandPrefix.."beginbot to print available modes","129 endbot / [mode] - Ends "..commandPrefix.."beginbot, optional [mode] to disable one mode only","130 stopsit - Disables your ability to sit","131 gosit - Enables your ability to sit","132 spawnpoint - Sets your spawnpoint for whenever you reset to where you are","133 nospawn - Removes your spawnpoint","134 chaterror - Creates a chat error, works best first time","135 bypass [on/off] - Changes certain commands like "..commandPrefix.."fly so they are not detected by most anti-exploits", "136 fixcam - Fixes your camera in case it breaks", "137 gotoobj [obj] - Teleports you to a part in the workspace, make sure you put the name properly!", "138 breakcam - Makes it so your camera can go through parts, fixed with "..commandPrefix.."fixcam", "139 inviscam - Makes it so your camera goes through parts and makes them transparent so your character is always visible, fixed with "..commandPrefix.."fixcam", "140 printobj / [key] - Prints the object's path clicked to developer console, optional [key] for key pressed instead of click", "141 unprintobj - Stops printobj from running", "142 hotkeyfc [goto/unfc] - If freecam is set as a hotkey, chooses whether to use unfreecam or gotofc when disabling through a hotkey", "143 carpet [plr] - Makes you a carpet for a player", "144 uncarpet - Stops carpet", "145 brickcreate [num] / [pos] [pos] [pos] - Creates [num] amount of bricks from accessories, wont work in all games, optional [pos] for position to create bricks", "146 uncopychat - Stops copying chat", "147 forward / [speed] - Makes you automatically move forward default speed is 1", "148 unforward - Stops you moving automatically forward from forward", "149 id [plr] - Makes you chat the user ID of the player", "150 spinhats / [pow] - Makes all your accessories begin to spin around! Credit to xFunnieuss.", "151 unspinhats - Stops spinhats from spinning accessories", "152 headless - Makes you headless, but cannot control your character after, use grespawn to reset", "153 savemap - Saves the current workspace/map", "154 loadmap - Loads map saved by savemap", "155 creatorid - Changes your user ID to the game creator's user ID", "156 gameid - Shows the game's ID", "157 delobj [obj] - Allows you to delete an object in the workspace by name", "158 glide [plr] / [speed] - Makes you glide towards a player, optional [speed] for the speed of gliding", "159 stutter [on/off] - Makes your character begin stuttering as you move", "160 platform - Creates a platform on your client that you can stand on, deletes in 20 seconds", "161 servertime - Gets the server time", "162 ride [plr] - Makes you ride a player's head", "163 unride [plr] - Makes you stop riding a player's head", "164 cmute [plr] - Client mutes a player, useful for muting spammers", "165 uncmute - Unmutes a player that has been cmuted", "166 hat [plr] - Makes you carpet a player, but on their head", "167 unhat - Stops hat from running", "168 chat [msg] - Makes you chat a string, useful for hotkeys"}
  3104. CMDS={"print [msg]","warn [msg]","sit","god","view [plr]","unview","gravity [num]","ungravity","goto [plr]","fecheck","lockws","unlockws","noclip","clip","follow [plr] / [num]","unfollow","fling [plr] / [pow]","unfling","trail [plr] / [num]","untrail","annoy [plr]","unannoy","reset","grespawn","respawn","speed // ws [num]","jumppower // jp [num]","hipheight // hh [num]","default","credits","attach [plr]","fly / [speed]","unfly","kill [plr]","bring [plr]","naked","nolimbs","noarms","nolegs","antikick [on/off]","blockremote [remote] / [service]","remotespy [on/off]","bang [plr] / [speed]","unbang","spam [msg]","spamdelay [num]","unspam","info [plr]","age [plr]","invisible","walk [plr]","glitch [plr] / [num]","tp [plr] [plr]","givetool [plr] / [tool]","givealltools [plr]","blockhats","blocktool","orbit [plr]","unorbit","pos","savepos","loadpos","tppos [num] [num] [num]","pmspam [plr] [msg]","unpmspam","wsvis [num]","bringobj [obj] / [num]","cbring [plr] / [num]","uncbring","cfreeze [plr]","uncfreeze / [plr]","unattach","reach [on/off] / [num]","droptool / [tool]","drophats","hidecmdbar","showcmdbar","prefix [key]","removeinvis","removefog","animation [id/gui] / [speed]","btools","esp [plr]","unesp / [plr]","dice","random [min] [max]","closegame","savetool / [tool]","loadtool / [tool]","savealltool","loadalltool","clicktp / [key]","clickdel / [key]","unclicktp","unclickdel","oof","chatlogs","stopadmin","freecam / [speed] // fc / [speed]","unfreecam // unfc","gotofc","cmds","fullcredits","hotkey [key] [cmd]","removehotkey [key]","removeallhotkey","printhotkeys","os [plr]","spin [plr]","unspin","fctp [plr]","explorer","maxzoom [num]","stare [plr]","unstare [plr]","tempgod","void [plr]","freefall [plr]","version","shiftlockon","copychat [plr]","newattach [plr]","newkill [plr]","newbring [plr]","spawn [ws/jp/hh/god] [num]","unspawn","autosavetool [on/off]","beginbot / [mode]","endbot / [mode]","stopsit","gosit","spawnpoint","nospawn","chaterror", "bypass [on/off]", "fixcam", "gotoobj [obj]", "breakcam", "inviscam", "printobj / [key]", "unprintobj", "hotkeyfc [goto/unfc]", "carpet [plr]", "uncarpet", "brickcreate [num] / [pos] [pos] [pos]", "uncopychat", "forward / [speed]", "unforward", "id [plr]", "spinhats / [pow]", "unspinhats", "headless", "savemap", "loadmap", "creatorid", "gameid", "delobj [obj]", "glide [plr] / [speed]", "stutter [on/off]", "platform", "servertime", "ride [plr]", "unride", "cmute [plr]", "uncmute", "hat [plr]", "unhat", "chat [msg]"} -- 168
  3105. local CMDS_GUI_V2 = Instance.new("ScreenGui")
  3106. local CMDSmain = Instance.new("Frame")
  3107. local CMDSframemain = Instance.new("Frame")
  3108. local cmdgui_topframe = Instance.new("Frame")
  3109. local closecmdsgui = Instance.new("TextButton")
  3110. local cmdgui_midframe = Instance.new("Frame")
  3111. local cmdsgui_SearchFunction = Instance.new("TextBox")
  3112. local cmdsgui_searchDETAILFRAME = Instance.new("Frame")
  3113. local cmdsgui_searchDETAILTEXT = Instance.new("TextLabel")
  3114. local ListofCMDS = Instance.new("ScrollingFrame")
  3115. local cmdTutorial = Instance.new("TextLabel")
  3116. local cmdTutorial_2 = Instance.new("TextLabel")
  3117. local cmdTutorial_3 = Instance.new("TextLabel")
  3118. local CMDS_Shadow = Instance.new("Frame")
  3119. local CMDS_Shadow2 = Instance.new("Frame")
  3120. CMDS_GUI_V2.Name = "CMDS_GUI_V2"
  3121. CMDS_GUI_V2.Parent = game.Players.LocalPlayer.PlayerGui
  3122. CMDS_GUI_V2.ResetOnSpawn = false
  3123. CMDSmain.Name = "CMDSmain"
  3124. CMDSmain.Parent = CMDS_GUI_V2
  3125. CMDSmain.BackgroundColor3 = Color3.new(1, 1, 1)
  3126. CMDSmain.BackgroundTransparency = 1
  3127. CMDSmain.Position = UDim2.new(0, 695, 0, 297)
  3128. CMDSmain.Size = UDim2.new(0, 440, 0, 367)
  3129. CMDSmain.AnchorPoint = Vector2.new(0.5, 0.5)
  3130. CMDSmain.Visible = false
  3131. CMDSmain.ClipsDescendants = true
  3132. CMDSframemain.Name = "CMDSframemain"
  3133. CMDSframemain.Parent = CMDSmain
  3134. CMDSframemain.BackgroundColor3 = Color3.new(0.309804, 0.309804, 0.309804)
  3135. CMDSframemain.BorderSizePixel = 0
  3136. CMDSframemain.Size = UDim2.new(0, 440, 0, 367)
  3137. cmdgui_topframe.Name = "cmdgui_topframe"
  3138. cmdgui_topframe.Parent = CMDSframemain
  3139. cmdgui_topframe.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3140. cmdgui_topframe.BorderSizePixel = 0
  3141. cmdgui_topframe.Size = UDim2.new(0, 440, 0, 15)
  3142. closecmdsgui.Name = "closecmdsgui"
  3143. closecmdsgui.Parent = cmdgui_topframe
  3144. closecmdsgui.BackgroundColor3 = Color3.new(1, 1, 1)
  3145. closecmdsgui.BackgroundTransparency = 1
  3146. closecmdsgui.Position = UDim2.new(0, 410, 0, 0)
  3147. closecmdsgui.Size = UDim2.new(0, 30, 0, 15)
  3148. closecmdsgui.Font = Enum.Font.SourceSansBold
  3149. closecmdsgui.Text = "X"
  3150. closecmdsgui.TextColor3 = Color3.new(0.968628, 0.968628, 0.968628)
  3151. closecmdsgui.TextSize = 20
  3152. cmdgui_midframe.Name = "cmdgui_midframe"
  3153. cmdgui_midframe.Parent = CMDSframemain
  3154. cmdgui_midframe.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  3155. cmdgui_midframe.BorderSizePixel = 0
  3156. cmdgui_midframe.Position = UDim2.new(0, 0, 0, 15)
  3157. cmdgui_midframe.Size = UDim2.new(0, 440, 0, 45)
  3158. cmdsgui_SearchFunction.Name = "cmdsgui_SearchFunction"
  3159. cmdsgui_SearchFunction.Parent = cmdgui_midframe
  3160. cmdsgui_SearchFunction.BackgroundColor3 = Color3.new(1, 1, 1)
  3161. cmdsgui_SearchFunction.BackgroundTransparency = 1
  3162. cmdsgui_SearchFunction.BorderSizePixel = 0
  3163. cmdsgui_SearchFunction.Position = UDim2.new(0, 120, 0, 10)
  3164. cmdsgui_SearchFunction.Size = UDim2.new(0, 200, 0, 25)
  3165. cmdsgui_SearchFunction.Font = Enum.Font.SourceSans
  3166. cmdsgui_SearchFunction.Text = ""
  3167. cmdsgui_SearchFunction.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  3168. cmdsgui_SearchFunction.TextScaled = true
  3169. cmdsgui_SearchFunction.TextSize = 14
  3170. cmdsgui_SearchFunction.TextWrapped = true
  3171. cmdsgui_searchDETAILFRAME.Name = "cmdsgui_searchDETAILFRAME"
  3172. cmdsgui_searchDETAILFRAME.Parent = cmdsgui_SearchFunction
  3173. cmdsgui_searchDETAILFRAME.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  3174. cmdsgui_searchDETAILFRAME.BorderSizePixel = 0
  3175. cmdsgui_searchDETAILFRAME.Position = UDim2.new(0, 0, 0, 25)
  3176. cmdsgui_searchDETAILFRAME.Size = UDim2.new(0, 200, 0, 2)
  3177. cmdsgui_searchDETAILTEXT.Name = "cmdsgui_searchDETAILTEXT"
  3178. cmdsgui_searchDETAILTEXT.Parent = cmdsgui_SearchFunction
  3179. cmdsgui_searchDETAILTEXT.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  3180. cmdsgui_searchDETAILTEXT.BackgroundTransparency = 1
  3181. cmdsgui_searchDETAILTEXT.Size = UDim2.new(0, 200, 0, 25)
  3182. cmdsgui_searchDETAILTEXT.Font = Enum.Font.SourceSansLight
  3183. cmdsgui_searchDETAILTEXT.Text = "Search"
  3184. cmdsgui_searchDETAILTEXT.TextColor3 = Color3.fromRGB(240, 240, 240)
  3185. cmdsgui_searchDETAILTEXT.TextSize = 30
  3186. ListofCMDS.Name = "ListofCMDS"
  3187. ListofCMDS.Parent = CMDSframemain
  3188. ListofCMDS.BackgroundColor3 = Color3.new(0.309804, 0.309804, 0.309804)
  3189. ListofCMDS.BorderSizePixel = 0
  3190. ListofCMDS.Position = UDim2.new(0, 0, 0, 60)
  3191. ListofCMDS.Size = UDim2.new(0, 440, 0, 307)
  3192. ListofCMDS.CanvasSize = UDim2.new(5, 0, 8, 0)
  3193. ListofCMDS.ScrollingDirection = Enum.ScrollingDirection.XY
  3194. cmdTutorial.Name = "cmdTutorial"
  3195. cmdTutorial.Parent = ListofCMDS
  3196. cmdTutorial.BackgroundColor3 = Color3.new(1, 1, 1)
  3197. cmdTutorial.BackgroundTransparency = 1
  3198. cmdTutorial.BorderSizePixel = 0
  3199. cmdTutorial.Position = UDim2.new(0, 5, 0, 5)
  3200. cmdTutorial.Size = UDim2.new(0, 420, 0, 20)
  3201. cmdTutorial.Font = Enum.Font.SourceSansBold
  3202. cmdTutorial.Text = "\"/\" means OPTIONAL argument after"
  3203. cmdTutorial.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  3204. cmdTutorial.TextScaled = true
  3205. cmdTutorial.TextSize = 14
  3206. cmdTutorial.TextWrapped = true
  3207. cmdTutorial.TextXAlignment = Enum.TextXAlignment.Left
  3208. cmdTutorial_2.Name = "cmdTutorial"
  3209. cmdTutorial_2.Parent = ListofCMDS
  3210. cmdTutorial_2.BackgroundColor3 = Color3.new(1, 1, 1)
  3211. cmdTutorial_2.BackgroundTransparency = 1
  3212. cmdTutorial_2.BorderSizePixel = 0
  3213. cmdTutorial_2.Position = UDim2.new(0, 5, 0, 25)
  3214. cmdTutorial_2.Size = UDim2.new(0, 420, 0, 20)
  3215. cmdTutorial_2.Font = Enum.Font.SourceSansBold
  3216. cmdTutorial_2.Text = "\"//\" means another way of running command"
  3217. cmdTutorial_2.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  3218. cmdTutorial_2.TextScaled = true
  3219. cmdTutorial_2.TextSize = 14
  3220. cmdTutorial_2.TextWrapped = true
  3221. cmdTutorial_2.TextXAlignment = Enum.TextXAlignment.Left
  3222. cmdTutorial_3.Name = "cmdTutorial"
  3223. cmdTutorial_3.Parent = ListofCMDS
  3224. cmdTutorial_3.BackgroundColor3 = Color3.new(1, 1, 1)
  3225. cmdTutorial_3.BackgroundTransparency = 1
  3226. cmdTutorial_3.BorderSizePixel = 0
  3227. cmdTutorial_3.Position = UDim2.new(0, 5, 0, 45)
  3228. cmdTutorial_3.Size = UDim2.new(0, 420, 0, 20)
  3229. cmdTutorial_3.Font = Enum.Font.SourceSansBold
  3230. cmdTutorial_3.Text = "Anything inside \"[ ]\" is an argument for the command"
  3231. cmdTutorial_3.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  3232. cmdTutorial_3.TextScaled = true
  3233. cmdTutorial_3.TextSize = 14
  3234. cmdTutorial_3.TextWrapped = true
  3235. cmdTutorial_3.TextXAlignment = Enum.TextXAlignment.Left
  3236. CMDS_Shadow.Name = "CMDS_Shadow"
  3237. CMDS_Shadow.Parent = CMDSmain
  3238. CMDS_Shadow.BackgroundColor3 = Color3.new(0, 0, 0)
  3239. CMDS_Shadow.BackgroundTransparency = 0.60000002384186
  3240. CMDS_Shadow.BorderSizePixel = 0
  3241. CMDS_Shadow.Position = UDim2.new(0, 2, 0, 2)
  3242. CMDS_Shadow.Size = UDim2.new(0, 440, 0, 367)
  3243. CMDS_Shadow.ZIndex = -1
  3244. CMDS_Shadow2.Name = "CMDS_Shadow2"
  3245. CMDS_Shadow2.Parent = CMDSmain
  3246. CMDS_Shadow2.BackgroundColor3 = Color3.new(0, 0, 0)
  3247. CMDS_Shadow2.BackgroundTransparency = 0.80000001192093
  3248. CMDS_Shadow2.BorderSizePixel = 0
  3249. CMDS_Shadow2.Position = UDim2.new(0, 5, 0, 5)
  3250. CMDS_Shadow2.Size = UDim2.new(0, 440, 0, 367)
  3251. CMDS_Shadow2.ZIndex = -1
  3252. closecmdsgui.MouseButton1Click:Connect(function()
  3253. CMDSmain:TweenSize(UDim2.new(0, 0, 0, 0), "InOut", "Sine", 2)
  3254. end)
  3255. function CreateCMDlabel(position, text)
  3256. local sizenow = 15
  3257. local cmdHere = Instance.new("TextLabel")
  3258. cmdHere.Name = "cmdHere"
  3259. cmdHere.TextWrapped = true
  3260. cmdHere.Parent = ListofCMDS
  3261. cmdHere.BackgroundColor3 = Color3.new(1, 1, 1)
  3262. cmdHere.BackgroundTransparency = 1
  3263. cmdHere.BorderSizePixel = 0
  3264. cmdHere.Position = position
  3265. cmdHere.Size = UDim2.new(0, 1950, 0, sizenow)
  3266. cmdHere.Font = Enum.Font.SourceSans
  3267. cmdHere.Text = text
  3268. cmdHere.TextWrapped = true
  3269. cmdHere.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  3270. cmdHere.TextScaled = false
  3271. cmdHere.TextSize = 20
  3272. cmdHere.TextXAlignment = Enum.TextXAlignment.Left
  3273. end
  3274. for i,_cmds in pairs(searchCmds) do
  3275. CreateCMDlabel(UDim2.new(0, 5, 0, 50 + (i * 15)), _cmds)
  3276. end
  3277. local UserInputService = game:GetService("UserInputService")
  3278. local dragging
  3279. local dragInput
  3280. local dragStart
  3281. local startPos
  3282. local function updateCMDS(input)
  3283. local delta = input.Position - dragStart
  3284. local dragTime = 0.055
  3285. local SmoothDrag = {}
  3286. SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  3287. local dragSmoothFunction = gsTween:Create(CMDSmain, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
  3288. dragSmoothFunction:Play()
  3289. end
  3290. cmdgui_topframe.InputBegan:Connect(function(input)
  3291. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  3292. dragging = true
  3293. dragStart = input.Position
  3294. startPos = CMDSmain.Position
  3295. input.Changed:Connect(function()
  3296. if input.UserInputState == Enum.UserInputState.End then
  3297. dragging = false
  3298. end
  3299. end)
  3300. end
  3301. end)
  3302. cmdgui_topframe.InputChanged:Connect(function(input)
  3303. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  3304. dragInput = input
  3305. end
  3306. end)
  3307. cmdgui_midframe.InputBegan:Connect(function(input)
  3308. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  3309. dragging = true
  3310. dragStart = input.Position
  3311. startPos = CMDSmain.Position
  3312. input.Changed:Connect(function()
  3313. if input.UserInputState == Enum.UserInputState.End then
  3314. dragging = false
  3315. end
  3316. end)
  3317. end
  3318. end)
  3319. cmdgui_midframe.InputChanged:Connect(function(input)
  3320. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  3321. dragInput = input
  3322. end
  3323. end)
  3324. UserInputService.InputChanged:Connect(function(input)
  3325. if input == dragInput and dragging then
  3326. updateCMDS(input)
  3327. end
  3328. end)
  3329. cmdsgui_SearchFunction.Focused:Connect(function()
  3330. cmdsgui_SearchFunction.TextTransparency = 0
  3331. local searchTween = {}
  3332. searchTween.TextColor3 = Color3.new(0.0980392, 0.462745, 0.823529)
  3333. searchTween.TextSize = 18
  3334. searchTween.Position = UDim2.new(0, -70, 0, -15)
  3335. local frameTweenblue = {}
  3336. frameTweenblue.BackgroundColor3 = Color3.new(0.0980392, 0.462745, 0.823529)
  3337. local searchTween1 = gsTween:Create(cmdsgui_searchDETAILTEXT, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), searchTween)
  3338. searchTween1:Play()
  3339. local frameTweenblue1 = gsTween:Create(cmdsgui_searchDETAILFRAME, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), frameTweenblue)
  3340. frameTweenblue1:Play()
  3341. end)
  3342. cmdsgui_SearchFunction.FocusLost:Connect(function(enterPressed)
  3343. if not enterPressed then
  3344. cmdsgui_SearchFunction.TextTransparency = 1
  3345. else
  3346. cmdsgui_SearchFunction.Text = " "
  3347. end
  3348. local searchTween = {}
  3349. searchTween.TextColor3 = Color3.fromRGB(240, 240, 240)
  3350. searchTween.TextSize = 30
  3351. searchTween.Position = UDim2.new(0, 0, 0, 0)
  3352. local frameTweenblue = {}
  3353. frameTweenblue.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  3354. local searchTween1 = gsTween:Create(cmdsgui_searchDETAILTEXT, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), searchTween)
  3355. searchTween1:Play()
  3356. local frameTweenblue1 = gsTween:Create(cmdsgui_searchDETAILFRAME, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), frameTweenblue)
  3357. frameTweenblue1:Play()
  3358. end)
  3359. cmdsgui_SearchFunction.Changed:Connect(function()
  3360. local index = 0
  3361. if cmdsgui_SearchFunction.Text ~= "" then
  3362. for i,v in pairs(ListofCMDS:GetChildren()) do
  3363. if v.Name == "cmdHere" then
  3364. if not string.find(v.Text, cmdsgui_SearchFunction.Text) then
  3365. v.Visible = false
  3366. else
  3367. v.Visible = true
  3368. index = index + 1
  3369. v.Position = UDim2.new(0, 5, 0, 50 + (index * 15))
  3370. end
  3371. end
  3372. end
  3373. end
  3374. end)
  3375.  
  3376. -- Command Execution
  3377. LP.Chatted:Connect(function(chat)
  3378. run(chat)
  3379. end)
  3380.  
  3381. function run(msg)
  3382. if string.lower(string.sub(msg, 2, 5)) == "chat" then
  3383. msg = msg
  3384. elseif string.match(msg, "hotkey") and string.match(msg, "chat") then
  3385. msg = msg
  3386. else
  3387. msg = string.lower(msg)
  3388. end
  3389. local cmdPrefix = string.sub(msg, 1, 1)
  3390. if cmdPrefix == commandPrefix then
  3391. msg = string.sub(msg, 2)
  3392. local args = {}
  3393. for arg in string.gmatch(msg,"[^%s]+") do
  3394. table.insert(args,arg)
  3395. end
  3396. local cmdName = args[1]
  3397. table.remove(args,1)
  3398. local doCmd = Commands[cmdName]
  3399.  
  3400. if doCmd ~= nil then
  3401. doCmd(args)
  3402. end
  3403. end
  3404. end
  3405.  
  3406. -- Command bar
  3407. local CommandBar = Instance.new("ScreenGui")
  3408. local CMDBAR = Instance.new("Frame")
  3409. local CMDBARText = Instance.new("TextBox")
  3410. CommandBar.Name = "CommandBar"
  3411. CommandBar.Parent = game.Players.LocalPlayer.PlayerGui
  3412. CommandBar.ResetOnSpawn = false
  3413. CMDBAR.Name = "CMDBAR"
  3414. CMDBAR.Parent = CommandBar
  3415. CMDBAR.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.172549)
  3416. CMDBAR.BorderSizePixel = 0
  3417. CMDBAR.Position = UDim2.new(0.025, 0, 1, 0)
  3418. CMDBAR.Size = UDim2.new(0, 270, 0, 35)
  3419. CMDBARText.Name = "CMDBARText"
  3420. CMDBARText.Parent = CMDBAR
  3421. CMDBARText.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  3422. CMDBARText.BorderSizePixel = 0
  3423. CMDBARText.Position = UDim2.new(0, 5, 0, 5)
  3424. CMDBARText.Size = UDim2.new(0, 260, 0, 25)
  3425. CMDBARText.Font = Enum.Font.SourceSansLight
  3426. CMDBARText.Text = ""
  3427. CMDBARText.TextColor3 = Color3.new(0.933333, 0.933333, 0.933333)
  3428. CMDBARText.TextScaled = true
  3429. CMDBARText.TextSize = 14
  3430. CMDBARText.TextWrapped = true
  3431. Mouse.KeyDown:connect(function(Key)
  3432. if Key == string.lower(commandPrefix) then
  3433. CMDBARText:CaptureFocus()
  3434. CMDBAR:TweenPosition(UDim2.new(0.015, 0, 0.95, 0), "Out", "Elastic", 0.5, true)
  3435. end
  3436. end)
  3437. CMDBARText.FocusLost:connect(function(enterPressed)
  3438. CMDBAR:TweenPosition(UDim2.new(0.015, 0, 1, 0), "Out", "Quad", 0.5, true)
  3439. if enterPressed then
  3440. local cmdmsg = CMDBARText.Text
  3441. CMDBARText.Text = ""
  3442. run(commandPrefix..cmdmsg)
  3443. end
  3444. end)
  3445. local Match = Instance.new("Frame")
  3446. Match.Name = "Match"
  3447. Match.Parent = CMDBAR
  3448. Match.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.172549)
  3449. Match.BorderSizePixel = 0
  3450. Match.Position = UDim2.new(0, 0, -4, 0)
  3451. Match.Size = UDim2.new(1, 0, 4, 0)
  3452. Match.Visible = false
  3453. function CreateOption(Text)
  3454. local Option1 = Instance.new("TextLabel")
  3455. Option1.Name = "Option"
  3456. Option1.Parent = Match
  3457. Option1.BackgroundColor3 = Color3.new(1, 1, 1)
  3458. Option1.BackgroundTransparency = 1
  3459. Option1.Position = UDim2.new(-10, 0, 0, 0)
  3460. Option1.Size = UDim2.new(1, 0, 0, 20)
  3461. Option1.Font = Enum.Font.SourceSans
  3462. Option1.Text = Text
  3463. Option1.TextColor3 = Color3.new(0.952941, 0.952941, 0.952941)
  3464. Option1.TextScaled = true
  3465. Option1.TextWrapped = true
  3466. end
  3467. for i,cmdtext2 in pairs(CMDS) do
  3468. CreateOption(cmdtext2)
  3469. end
  3470. CMDBARText.Changed:Connect(function()
  3471. if CMDBARText.Text ~= "" and CMDBARText.Text ~= commandPrefix then
  3472. Match.Visible = true
  3473. local PositionMatch = 0
  3474. for i,cmdtext in pairs(Match:GetChildren()) do
  3475. if cmdtext.Name == "Option" then
  3476. if string.find(cmdtext.Text, CMDBARText.Text) then
  3477. cmdtext.Position = UDim2.new(0, 0, 0, 2 + (PositionMatch * 20))
  3478. PositionMatch = PositionMatch + 1
  3479. if cmdtext.Position == UDim2.new(0, 0, 0, 142) then
  3480. cmdtext.Position = UDim2.new(-10, 0, 0, 0)
  3481. PositionMatch = PositionMatch - 1
  3482. end
  3483. else
  3484. cmdtext.Position = UDim2.new(-10, 0, 0, 0)
  3485. end
  3486. end
  3487. end
  3488. else
  3489. Match.Visible = false
  3490. end
  3491. end)
  3492.  
  3493. -- Chat
  3494. local ChatLogsv2 = Instance.new("ScreenGui")
  3495. local MainChatFrame = Instance.new("Frame")
  3496. local Framess = Instance.new("Frame")
  3497. local CloseChatGUI = Instance.new("TextButton")
  3498. local Frame_222 = Instance.new("Frame")
  3499. local PrintChat = Instance.new("TextButton")
  3500. local Shadow1 = Instance.new("Frame")
  3501. local Shadow2 = Instance.new("Frame")
  3502. local ScrollingFrame = Instance.new("ScrollingFrame")
  3503. ChatLogsv2.Name = "ChatLogsv2"
  3504. ChatLogsv2.Parent = game.Players.LocalPlayer.PlayerGui
  3505. ChatLogsv2.ResetOnSpawn = false
  3506. MainChatFrame.Name = "MainChatFrame"
  3507. MainChatFrame.Parent = ChatLogsv2
  3508. MainChatFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  3509. MainChatFrame.BackgroundTransparency = 1
  3510. MainChatFrame.Position = UDim2.new(0, 760, 0, 261)
  3511. MainChatFrame.Size = UDim2.new(0, 525, 0, 337)
  3512. MainChatFrame.Visible = false
  3513. Framess.Parent = MainChatFrame
  3514. Framess.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  3515. Framess.BorderSizePixel = 0
  3516. Framess.Size = UDim2.new(0, 525, 0, 15)
  3517. CloseChatGUI.Name = "CloseChatGUI"
  3518. CloseChatGUI.Parent = Framess
  3519. CloseChatGUI.BackgroundColor3 = Color3.new(1, 1, 1)
  3520. CloseChatGUI.BackgroundTransparency = 1
  3521. CloseChatGUI.BorderSizePixel = 0
  3522. CloseChatGUI.Position = UDim2.new(0, 495, 0, 0)
  3523. CloseChatGUI.Size = UDim2.new(0, 30, 0, 15)
  3524. CloseChatGUI.Font = Enum.Font.SourceSansBold
  3525. CloseChatGUI.Text = "X"
  3526. CloseChatGUI.TextColor3 = Color3.new(0.945098, 0.945098, 0.945098)
  3527. CloseChatGUI.TextSize = 20
  3528. Frame_222.Parent = MainChatFrame
  3529. Frame_222.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  3530. Frame_222.BorderSizePixel = 0
  3531. Frame_222.Position = UDim2.new(0, 0, 0, 15)
  3532. Frame_222.Size = UDim2.new(0, 525, 0, 50)
  3533. PrintChat.Name = "PrintChat"
  3534. PrintChat.Parent = Frame_222
  3535. PrintChat.BackgroundColor3 = Color3.new(0.870588, 0.25098, 0.25098)
  3536. PrintChat.BorderSizePixel = 0
  3537. PrintChat.Position = UDim2.new(0, 15, 0, 0)
  3538. PrintChat.Size = UDim2.new(0, 170, 0, 30)
  3539. PrintChat.Font = Enum.Font.SourceSansLight
  3540. PrintChat.Text = "Print Chat"
  3541. PrintChat.TextColor3 = Color3.new(0.960784, 0.960784, 0.960784)
  3542. PrintChat.TextSize = 30
  3543. PrintChat.TextWrapped = true
  3544. Shadow1.Name = "Shadow1"
  3545. Shadow1.Parent = MainChatFrame
  3546. Shadow1.BackgroundColor3 = Color3.new(0, 0, 0)
  3547. Shadow1.BackgroundTransparency = 0.5
  3548. Shadow1.Position = UDim2.new(0, 2, 0, 2)
  3549. Shadow1.Size = UDim2.new(0, 525, 0, 337)
  3550. Shadow1.ZIndex = -1
  3551. Shadow2.Name = "Shadow2"
  3552. Shadow2.Parent = MainChatFrame
  3553. Shadow2.BackgroundColor3 = Color3.new(0, 0, 0)
  3554. Shadow2.BackgroundTransparency = 0.80000001192093
  3555. Shadow2.Position = UDim2.new(0, 5, 0, 5)
  3556. Shadow2.Size = UDim2.new(0, 525, 0, 337)
  3557. Shadow2.ZIndex = -1
  3558. ScrollingFrame.Parent = MainChatFrame
  3559. ScrollingFrame.BackgroundColor3 = Color3.new(0.266667, 0.266667, 0.266667)
  3560. ScrollingFrame.BorderSizePixel = 0
  3561. ScrollingFrame.Position = UDim2.new(0, 0, 0, 65)
  3562. ScrollingFrame.Size = UDim2.new(0, 525, 0, 271)
  3563. ScrollingFrame.CanvasPosition = Vector2.new(0, 403)
  3564. ScrollingFrame.ScrollBarThickness = 8
  3565. function CreateChatText(plr, chat)
  3566. for i,v in pairs(ScrollingFrame:GetDescendants()) do
  3567. v.Position = v.Position - UDim2.new(0, 0, 0, 20)
  3568. if v.Position == UDim2.new(0, 5, 0, 10) then
  3569. v:Destroy()
  3570. end
  3571. end
  3572. local Example = Instance.new("TextLabel")
  3573. Example.Name = "Example"
  3574. Example.Parent = ScrollingFrame
  3575. Example.BackgroundColor3 = Color3.new(1, 1, 1)
  3576. Example.BackgroundTransparency = 1
  3577. Example.Position = UDim2.new(0, 5, 0, 650)
  3578. Example.Size = UDim2.new(0, 500, 0, 20)
  3579. Example.Font = Enum.Font.SourceSans
  3580. Example.Text = "["..plr.Name.."]: "..chat
  3581. Example.TextColor3 = Color3.new(0.960784, 0.960784, 0.960784)
  3582. Example.TextScaled = true
  3583. Example.TextSize = 20
  3584. Example.TextWrapped = true
  3585. Example.TextXAlignment = Enum.TextXAlignment.Left
  3586. end
  3587. CloseChatGUI.MouseButton1Click:Connect(function()
  3588. MainChatFrame:TweenPosition(UDim2.new(0, 550, 0, -550), "InOut", "Sine", 2)
  3589. wait(2.01)
  3590. MainChatFrame.Visible = false
  3591. end)
  3592. printingChat = false
  3593. PrintChat.MouseButton1Click:Connect(function()
  3594. if printingChat == false then
  3595. printingChat = true
  3596. PrintChat.BackgroundColor3 = Color3.fromRGB(60, 200, 60)
  3597. elseif printingChat == true then
  3598. printingChat = false
  3599. PrintChat.BackgroundColor3 = Color3.new(0.870588, 0.25098, 0.25098)
  3600. end
  3601. end)
  3602. local UserInputService = game:GetService("UserInputService")
  3603. local dragging
  3604. local dragInput
  3605. local dragStart
  3606. local startPos
  3607. local function updateChat(input)
  3608. local delta = input.Position - dragStart
  3609. local dragTime = 0.055
  3610. local SmoothDrag = {}
  3611. SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  3612. local dragSmoothFunction = gsTween:Create(MainChatFrame, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
  3613. dragSmoothFunction:Play()
  3614. end
  3615. Frame_222.InputBegan:Connect(function(input)
  3616. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  3617. dragging = true
  3618. dragStart = input.Position
  3619. startPos = MainChatFrame.Position
  3620. input.Changed:Connect(function()
  3621. if input.UserInputState == Enum.UserInputState.End then
  3622. dragging = false
  3623. end
  3624. end)
  3625. end
  3626. end)
  3627. Frame_222.InputChanged:Connect(function(input)
  3628. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  3629. dragInput = input
  3630. end
  3631. end)
  3632. UserInputService.InputChanged:Connect(function(input)
  3633. if input == dragInput and dragging then
  3634. updateChat(input)
  3635. end
  3636. end)
  3637.  
  3638. function printChat(player, chat)
  3639. print("["..player.Name.."]: "..chat)
  3640. end
  3641. complimentReady = true
  3642. for i,currentPlayersChatting in pairs(game:GetService("Players"):GetPlayers()) do
  3643. currentPlayersChatting.Chatted:connect(function(chat)
  3644. CreateChatText(currentPlayersChatting, chat)
  3645. if printingChat then
  3646. printChat(currentPlayersChatting, chat)
  3647. end
  3648. if copychatACTIVE then
  3649. if currentPlayersChatting == copychatplayer then
  3650. gsReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(chat, "All")
  3651. end
  3652. end
  3653. if modeFling == true then
  3654. if string.lower(string.sub(chat, 1, 7)) == "!fling " then
  3655. if gsWorkspace:PGSIsEnabled() == false then
  3656. FEGodmode()
  3657. end
  3658. if string.lower(string.sub(chat, 8)) == "me" then
  3659. run(commandPrefix.."unfling")
  3660. LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0)
  3661. run(commandPrefix.."fling "..currentPlayersChatting.Name.." 2000000")
  3662. else
  3663. for i,notAll in pairs(findSinglePlayer(string.lower(string.sub(chat, 8)))) do
  3664. if notAll ~= LP then
  3665. run(commandPrefix.."unfling")
  3666. LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0)
  3667. run(commandPrefix.."fling "..notAll.Name.." 2000000")
  3668. end
  3669. end
  3670. end
  3671. end
  3672. end
  3673. if modeCompliment == true then
  3674. if string.lower(string.sub(chat, 1, 3)) == "!c " then
  3675. if complimentReady then
  3676. complimentReady = false
  3677. if string.lower(string.sub(chat, 4)) == "me" then
  3678. complimentplr(currentPlayersChatting)
  3679. else
  3680. for i,Others in pairs(findSinglePlayer(string.lower(string.sub(chat, 4)))) do
  3681. if Others == LP then
  3682. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Don't be silly, I can't compliment myself!", "All")
  3683. else
  3684. complimentplr(Others)
  3685. end
  3686. end
  3687. end
  3688. wait(1)
  3689. complimentReady = true
  3690. end
  3691. end
  3692. end
  3693. if modeMove == true then
  3694. if string.lower(string.sub(chat, 1, 9)) == "!bringbot" then
  3695. run(commandPrefix.."unfollow")
  3696. run(commandPrefix.."unwalk")
  3697. run(commandPrefix.."goto "..currentPlayersChatting.Name)
  3698. elseif string.lower(string.sub(chat, 1, 6)) == "!walk " then
  3699. for i,getWalkPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 7)))) do
  3700. if getWalkPlayer == LP then
  3701. run(commandPrefix.."unfollow")
  3702. run(commandPrefix.."walk "..currentPlayersChatting.Name)
  3703. else
  3704. run(commandPrefix.."unfollow")
  3705. run(commandPrefix.."walk "..getWalkPlayer.Name)
  3706. end
  3707. end
  3708. elseif string.lower(string.sub(chat, 1, 8)) == "!follow " then
  3709. for i,getFollowPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 9)))) do
  3710. if getFollowPlayer == LP then
  3711. run(commandPrefix.."unwalk")
  3712. run(commandPrefix.."follow "..currentPlayersChatting.Name)
  3713. else
  3714. run(commandPrefix.."unwalk")
  3715. run(commandPrefix.."follow "..getFollowPlayer.Name)
  3716. end
  3717. end
  3718. end
  3719. end
  3720. if modeInfo == true then
  3721. if infoReady then
  3722. infoReady = false
  3723. if string.lower(string.sub(chat, 1, 5)) == "!age " then
  3724. for i,v in pairs(findSinglePlayer(string.lower(string.sub(chat, 6)))) do
  3725. if v == LP then
  3726. run(commandPrefix.."age "..currentPlayersChatting.Name)
  3727. else
  3728. run(commandPrefix.."age "..v.Name)
  3729. end
  3730. end
  3731. end
  3732. if string.lower(string.sub(chat, 1, 4)) == "!id " then
  3733. for i,a in pairs(findSinglePlayer(string.lower(string.sub(chat, 5)))) do
  3734. if a == LP then
  3735. run(commandPrefix.."id "..currentPlayersChatting.Name)
  3736. else
  3737. run(commandPrefix.."id "..a.Name)
  3738. end
  3739. end
  3740. end
  3741. wait(1)
  3742. infoReady = true
  3743. end
  3744. end
  3745. end)
  3746. end
  3747. game:GetService("Players").PlayerAdded:connect(function(plr)
  3748. plr.Chatted:connect(function(chat)
  3749. CreateChatText(plr, chat)
  3750. if printingChat then
  3751. printChat(plr, chat)
  3752. end
  3753. if modeFling == true then
  3754. if string.lower(string.sub(chat, 1, 7)) == "!fling " then
  3755. if gsWorkspace:PGSIsEnabled() == false then
  3756. FEGodmode()
  3757. end
  3758. if string.lower(string.sub(chat, 8)) == "me" then
  3759. run(commandPrefix.."unfling")
  3760. LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0)
  3761. run(commandPrefix.."fling "..plr.Name.." 2000000")
  3762. else
  3763. for i,notAll in pairs(findSinglePlayer(string.lower(string.sub(chat, 8)))) do
  3764. if notAll ~= LP then
  3765. run(commandPrefix.."unfling")
  3766. LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0)
  3767. run(commandPrefix.."fling "..notAll.Name.." 2000000")
  3768. end
  3769. end
  3770. end
  3771. end
  3772. end
  3773. if modeCompliment == true then
  3774. if string.lower(string.sub(chat, 1, 3)) == "!c " then
  3775. if complimentReady == true then
  3776. complimentReady = false
  3777. if string.lower(string.sub(chat, 4)) == "me" then
  3778. complimentplr(plr)
  3779. else
  3780. for i,Others in pairs(findSinglePlayer(string.lower(string.sub(chat, 4)))) do
  3781. if Others == LP then
  3782. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Don't be silly, I can't compliment myself!", "All")
  3783. else
  3784. complimentplr(Others)
  3785. end
  3786. end
  3787. end
  3788. wait(1)
  3789. complimentReady = true
  3790. end
  3791. end
  3792. end
  3793. if modeMove == true then
  3794. if string.lower(string.sub(chat, 1, 9)) == "!bringbot" then
  3795. run(commandPrefix.."unfollow")
  3796. run(commandPrefix.."unwalk")
  3797. run(commandPrefix.."goto "..plr.Name)
  3798. elseif string.lower(string.sub(chat, 1, 6)) == "!walk " then
  3799. for i,getWalkPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 7)))) do
  3800. if getWalkPlayer == LP then
  3801. run(commandPrefix.."unfollow")
  3802. run(commandPrefix.."walk "..plr.Name)
  3803. else
  3804. run(commandPrefix.."unfollow")
  3805. run(commandPrefix.."walk "..getWalkPlayer.Name)
  3806. end
  3807. end
  3808. elseif string.lower(string.sub(chat, 1, 8)) == "!follow " then
  3809. for i,getFollowPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 9)))) do
  3810. if getFollowPlayer == LP then
  3811. run(commandPrefix.."unwalk")
  3812. run(commandPrefix.."follow "..plr.Name)
  3813. else
  3814. run(commandPrefix.."unwalk")
  3815. run(commandPrefix.."follow "..getFollowPlayer.Name)
  3816. end
  3817. end
  3818. end
  3819. end
  3820. if modeInfo == true then
  3821. if infoReady then
  3822. infoReady = false
  3823. if string.lower(string.sub(chat, 1, 5)) == "!age " then
  3824. for i,v in pairs(findSinglePlayer(string.lower(string.sub(chat, 6)))) do
  3825. if v == LP then
  3826. run(commandPrefix.."age "..plr.Name)
  3827. else
  3828. run(commandPrefix.."age "..v.Name)
  3829. end
  3830. end
  3831. end
  3832. if string.lower(string.sub(chat, 1, 4)) == "!id " then
  3833. for i,a in pairs(findSinglePlayer(string.lower(string.sub(chat, 5)))) do
  3834. if a == LP then
  3835. run(commandPrefix.."id "..plr.Name)
  3836. else
  3837. run(commandPrefix.."id "..a.Name)
  3838. end
  3839. end
  3840. end
  3841. wait(1)
  3842. infoReady = true
  3843. end
  3844. end
  3845. end)
  3846. end)
  3847.  
  3848. -- Loops
  3849. noclip = false
  3850. following = false
  3851. trailing = false
  3852. annoying = false
  3853. flingnoclip = false
  3854. staring = false
  3855. stopsitting = false
  3856. stareplr = ""
  3857. CBRINGamount = 3
  3858. spawnWS = CurrentWalkspeed
  3859. spawnJP = CurrentJumppower
  3860. spawnHH = CurrentHipheight
  3861. spawningfegod = false
  3862. looptpbypassfly = false
  3863. if game.GameId == 245662005 or game.GameId == 601130232 then
  3864. bypassMODE = true
  3865. else
  3866. bypassMODE = false
  3867. end
  3868. viewplr = ""
  3869. loopview = false
  3870. cmdForward = false
  3871. forwardSpeed = 1
  3872. loopviewfc = false
  3873. spinTOhead = false
  3874. spinObj = ""
  3875. rideACTIVE = false
  3876. ridePLAYER = ""
  3877.  
  3878. LPcurrenthumanoid = LP.Character.Humanoid
  3879. game:GetService('RunService').Stepped:connect(function()
  3880. if LP.Character.Humanoid ~= nil then
  3881. LPcurrenthumanoid = LP.Character.Humanoid
  3882. end
  3883. if noclip then
  3884. if LP.Character then
  3885. if LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  3886. LP.Character.Head.CanCollide = false
  3887. LP.Character.Torso.CanCollide = false
  3888. LP.Character["Left Leg"].CanCollide = false
  3889. LP.Character["Right Leg"].CanCollide = false
  3890. LP.Character["Left Arm"].CanCollide = false
  3891. LP.Character["Right Arm"].CanCollide = false
  3892. elseif LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  3893. LP.Character.Head.CanCollide = false
  3894. LP.Character.UpperTorso.CanCollide = false
  3895. LP.Character.LowerTorso.CanCollide = false
  3896. LP.Character.HumanoidRootPart.CanCollide = false
  3897. end
  3898. end
  3899. end
  3900. if following then
  3901. LP.Character.HumanoidRootPart.CFrame = gsPlayers[flwplr.Name].Character.HumanoidRootPart.CFrame + gsPlayers[flwplr.Name].Character.HumanoidRootPart.CFrame.lookVector * flwnum
  3902. end
  3903. if trailing then
  3904. LP.Character.HumanoidRootPart.CFrame = gsPlayers[trlplr.Name].Character.HumanoidRootPart.CFrame + gsPlayers[trlplr.Name].Character.HumanoidRootPart.CFrame.lookVector * trlnum
  3905. end
  3906. if annoying then
  3907. LP.Character.HumanoidRootPart.CFrame = gsPlayers[annplr.Name].Character.HumanoidRootPart.CFrame
  3908. end
  3909. if walkto then
  3910. LP.Character.Humanoid:MoveTo(walkplr.Character.HumanoidRootPart.Position)
  3911. end
  3912. if cbringing then
  3913. CBRINGplr.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * CBRINGamount
  3914. end
  3915. if cbringingall then
  3916. for i,getbringplrs in pairs(gsPlayers:GetPlayers()) do
  3917. if getbringplrs ~= LP then
  3918. getbringplrs.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * CBRINGamount
  3919. end
  3920. end
  3921. end
  3922. if staring then
  3923. LP.Character.HumanoidRootPart.CFrame = CFrame.new(LP.Character.Torso.Position, gsPlayers[stareplr.Name].Character.Torso.Position)
  3924. end
  3925. if stopsitting then
  3926. LP.Character.Humanoid.Sit = false
  3927. end
  3928. if looptpbypassfly then
  3929. pcall(function()
  3930. LP.Character.Head.Anchored = false
  3931. LP.Character.HumanoidRootPart.CFrame = gsWorkspace.rGETpartNUMBER2.CFrame
  3932. LP.Character.Head.Anchored = true
  3933. end)
  3934. end
  3935. if loopview then
  3936. view(viewplr)
  3937. end
  3938. if cmdForward then
  3939. LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * forwardSpeed
  3940. end
  3941. if loopviewfc then
  3942. pcall(function()
  3943. gsWorkspace.CurrentCamera.CameraSubject = gsWorkspace.rGETpartNUMBER2
  3944. end)
  3945. end
  3946. if spinTOhead then
  3947. pcall(function()
  3948. spinObj.Position = LP.Character.Head.Position
  3949. end)
  3950. end
  3951. if rideACTIVE == true then
  3952. LP.character.HumanoidRootPart.CFrame = ridePLAYER.Character.HumanoidRootPart.CFrame + Vector3.new(0, 3, 0)
  3953. end
  3954. end)
  3955. spawningatreset = false
  3956. spawnresetpoint = LP.Character.Head.CFrame
  3957.  
  3958. LPcurrenthumanoid.Died:Connect(function()
  3959. flying = false
  3960. doFREECAM = false
  3961. if savingtoolsloop then
  3962. run(commandPrefix.."savealltool")
  3963. end
  3964. if spawningatreset == true then
  3965. spawnresetpoint = LP.Character.Head.CFrame + Vector3.new(0, 5, 0)
  3966. end
  3967. end)
  3968.  
  3969. LP.CharacterAdded:Connect(function()
  3970. wait(0.2)
  3971. LP.Character.Humanoid.WalkSpeed = spawnWS
  3972. LP.Character.Humanoid.JumpPower = spawnJP
  3973. LP.Character.Humanoid.HipHeight = spawnHH
  3974. if spawningfegod then
  3975. FEGodmode()
  3976. end
  3977. if spawningpos and spawnpos ~= nil then
  3978. LP.Character.HumanoidRootPart.CFrame = spawnpos
  3979. end
  3980. if spawningatreset == true then
  3981. LP.Character.HumanoidRootPart.CFrame = spawnresetpoint
  3982. end
  3983. end)
  3984.  
  3985. -- Commands
  3986. Commands = {}
  3987.  
  3988. Commands.print = function(args)
  3989. local msg = table.concat(args," ")
  3990. print(msg)
  3991. end
  3992.  
  3993. Commands.warn = function(args)
  3994. local msg = table.concat(args," ")
  3995. warn(msg)
  3996. end
  3997.  
  3998. Commands.sit = function(args)
  3999. LP.Character.Humanoid.Sit = true
  4000. end
  4001.  
  4002. Commands.god = function(args)
  4003. FEGodmode()
  4004. Notification("warning", "You have enabled FE Godmode, tools will not work. Use "..commandPrefix.."grespawn to remove.", 7)
  4005. end
  4006.  
  4007. Commands.view = function(args)
  4008. if args[1] then
  4009. for i,v in pairs(findSinglePlayer(args[1])) do
  4010. if bypassMODE == false then
  4011. view(v)
  4012. Notification("info", "Now viewing "..v.Name..". Use "..commandPrefix.."unview to stop viewing.", 3)
  4013. elseif bypassMODE == true then
  4014. viewplr = v
  4015. loopview = true
  4016. end
  4017. end
  4018. end
  4019. end
  4020.  
  4021. Commands.unview = function(args)
  4022. view(LP)
  4023. loopview = false
  4024. end
  4025.  
  4026. Commands.gravity = function(args)
  4027. if args[1] then
  4028. gsWorkspace.Gravity = args[1]
  4029. end
  4030. end
  4031.  
  4032. Commands.ungravity = function(args)
  4033. gsWorkspace.Gravity = CurrentGravity
  4034. end
  4035.  
  4036. Commands.goto = function(args)
  4037. if args[1] then
  4038. if bypassMODE == false then
  4039. for i,v in pairs(findPlayer(args[1])) do
  4040. LP.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
  4041. end
  4042. elseif bypassMODE == true then
  4043. for i,v in pairs(findPlayer(args[1])) do
  4044. local TPbypass = {}
  4045. TPbypass.CFrame = v.Character.HumanoidRootPart.CFrame + Vector3.new(0, 5, 0)
  4046. local TPFunction = gsTween:Create(LP.Character.HumanoidRootPart, TweenInfo.new(1.5, Enum.EasingStyle.Sine, Enum.EasingDirection.In), TPbypass)
  4047. TPFunction:Play()
  4048. end
  4049. end
  4050. end
  4051. end
  4052.  
  4053. Commands.fecheck = function(args)
  4054. if gsWorkspace.FilteringEnabled == true then
  4055. Notification("warning", "FE is enabled!", 7)
  4056. else
  4057. Notification("warning", "FE is disabled. Consider using a different script.", 7)
  4058. end
  4059. end
  4060.  
  4061. Commands.lockws = function(args)
  4062. lockWS()
  4063. Notification("info", "Workspace locked.", 4)
  4064. end
  4065.  
  4066. Commands.unlockws = function(args)
  4067. unlockWS()
  4068. Notification("info", "Workspace unlocked.", 4)
  4069. end
  4070.  
  4071. Commands.noclip = function(args)
  4072. noclip = true
  4073. Notification("info", "Noclip enabled.", 4)
  4074. end
  4075.  
  4076. Commands.clip = function(args)
  4077. noclip = false
  4078. Notification("info", "Noclip disabled.", 4)
  4079. end
  4080.  
  4081. Commands.follow = function(args)
  4082. if args[1] then
  4083. for i,v in pairs(findPlayer(args[1])) do
  4084. flwplr = v
  4085. end
  4086. if args[2] then
  4087. flwnum = args[2]
  4088. else
  4089. flwnum = -5
  4090. end
  4091. following = true
  4092. else
  4093. Notification("warning", "No player selected to follow! Use: "..commandPrefix.."follow player", 4)
  4094. end
  4095. end
  4096.  
  4097. Commands.unfollow = function(args)
  4098. following = false
  4099. end
  4100.  
  4101. Commands.fling = function(args)
  4102. if args[1] then
  4103. for i,v in pairs(findSinglePlayer(args[1])) do
  4104. if v ~= LP then
  4105. view(v)
  4106. pcall(function()
  4107. LP.Character.HumanoidRootPart.Fling:Destroy()
  4108. end)
  4109. if not args[2] then
  4110. RocketPropulsion(800000,1000,400000,v,"Fling")
  4111. else
  4112. RocketPropulsion(args[2],1500,400000,v,"Fling")
  4113. end
  4114. if noclip ~= true then
  4115. flingnoclip = true
  4116. noclip = true
  4117. end
  4118. end
  4119. end
  4120. else
  4121. Notification("warning", "No player selected to fling! Use: "..commandPrefix.."fling player", 4)
  4122. end
  4123. end
  4124.  
  4125. Commands.unfling = function(args)
  4126. view(LP)
  4127. pcall(function()
  4128. if LP.Character.HumanoidRootPart.Fling then
  4129. for i,v in pairs(LP.Character:GetDescendants()) do
  4130. if v.Name == "Fling" and v:IsA("RocketPropulsion") then
  4131. v:Destroy()
  4132. end
  4133. end
  4134. end
  4135. end)
  4136. if flingnoclip == true then
  4137. noclip = false
  4138. flingnoclip = false
  4139. end
  4140. end
  4141.  
  4142. Commands.trail = function(args)
  4143. if args[1] then
  4144. for i,v in pairs(findPlayer(args[1])) do
  4145. trlplr = v
  4146. end
  4147. if args[2] then
  4148. trlnum = args[2]
  4149. else
  4150. trlnum = 5
  4151. end
  4152. trailing = true
  4153. else
  4154. Notification("warning", "No player selected to trail! Use: "..commandPrefix.."trail player", 4)
  4155. end
  4156. end
  4157.  
  4158. Commands.untrail = function(args)
  4159. trailing = false
  4160. end
  4161.  
  4162. Commands.annoy = function(args)
  4163. if args[1] then
  4164. for i,v in pairs(findPlayer(args[1])) do
  4165. annplr = v
  4166. end
  4167. annoying = true
  4168. else
  4169. Notification("warning", "No player selected to annoy! Use: "..commandPrefix.."annoy player", 4)
  4170. end
  4171. end
  4172.  
  4173. Commands.unannoy = function(args)
  4174. annoying = false
  4175. end
  4176.  
  4177. Commands.reset = function(args)
  4178. LP.Character:BreakJoints()
  4179. end
  4180.  
  4181. Commands.grespawn = function(args)
  4182. LP.Character.Humanoid.Health = 0
  4183. wait(1)
  4184. LP.Character.Head.CFrame = CFrame.new(1000000,0,1000000)
  4185. LP.Character.Torso.CFrame = CFrame.new(1000000,0,1000000)
  4186. end
  4187.  
  4188. Commands.respawn = function(args)
  4189. local mod = Instance.new('Model', workspace) mod.Name = 'new '..LP.Name
  4190. local hum = Instance.new('Humanoid', mod)
  4191. local ins = Instance.new('Part', mod) ins.Name = 'Torso' ins.CanCollide = false ins.Transparency = 1
  4192. LP.Character = mod
  4193. end
  4194.  
  4195. Commands.speed = function(args)
  4196. if args[1] then
  4197. run(commandPrefix.."ws "..args[1])
  4198. end
  4199. end
  4200.  
  4201. bypassingwalkspeed = false
  4202. Commands.ws = function(args)
  4203. if args[1] then
  4204. if bypassMODE == false then
  4205. LP.Character.Humanoid.WalkSpeed = args[1]
  4206. elseif bypassMODE == true then
  4207. if game.GameId == 245662005 then
  4208. bypassingwalkspeed = true
  4209. bypassWalkspeed = args[1]
  4210. end
  4211. end
  4212. end
  4213. end
  4214.  
  4215. game:GetService("RunService").Heartbeat:Connect(function()
  4216. if bypassingwalkspeed then
  4217. LP.Character.Humanoid.WalkSpeed = bypassWalkspeed
  4218. end
  4219. end)
  4220.  
  4221. Commands.jumppower = function(args)
  4222. if args[1] then
  4223. LP.Character.Humanoid.JumpPower = args[1]
  4224. end
  4225. end
  4226.  
  4227. Commands.jp = function(args)
  4228. if args[1] then
  4229. LP.Character.Humanoid.JumpPower = args[1]
  4230. end
  4231. end
  4232.  
  4233. Commands.hipheight = function(args)
  4234. if args[1] then
  4235. LP.Character.Humanoid.HipHeight = args[1]
  4236. end
  4237. end
  4238.  
  4239. Commands.hh = function(args)
  4240. if args[1] then
  4241. LP.Character.Humanoid.HipHeight = args[1]
  4242. end
  4243. end
  4244.  
  4245. Commands.default = function(args)
  4246. LP.Character.Humanoid.WalkSpeed = CurrentWalkspeed
  4247. LP.Character.Humanoid.HipHeight = CurrentHipheight
  4248. LP.Character.Humanoid.JumpPower = CurrentJumppower
  4249. end
  4250.  
  4251. Commands.credits = function(args)
  4252. Notification("info", "Shattervast was made by illremember#3799 , "..commandPrefix.."fullcredits for all credits.", 8)
  4253. end
  4254.  
  4255. Commands.attach = function(args)
  4256. if hasTools() == false then
  4257. Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
  4258. else
  4259. FEGodmode()
  4260. for i,v in pairs(LP.Backpack:GetChildren())do
  4261. LP.Character.Humanoid:EquipTool(v)
  4262. end
  4263. if args[1] then
  4264. for i,v in pairs(findSinglePlayer(args[1])) do
  4265. if v ~= LP then
  4266. LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
  4267. wait(0.3)
  4268. LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
  4269. end
  4270. end
  4271. end
  4272. end
  4273. end
  4274.  
  4275. Commands.fly = function(args)
  4276. if bypassMODE == false then
  4277. local speedget = 1
  4278. repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid')
  4279. repeat wait() until Mouse
  4280. if args[1] then
  4281. speedfly = args[1]
  4282. else
  4283. speedfly = 1
  4284. end
  4285.  
  4286. local T = LP.Character.HumanoidRootPart
  4287. local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  4288. local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  4289. local SPEED = speedget
  4290.  
  4291. local function fly()
  4292. flying = true
  4293. local BG = Instance.new('BodyGyro', T)
  4294. local BV = Instance.new('BodyVelocity', T)
  4295. BG.P = 9e4
  4296. BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  4297. BG.cframe = T.CFrame
  4298. BV.velocity = Vector3.new(0, 0.1, 0)
  4299. BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  4300. spawn(function()
  4301. repeat wait()
  4302. LP.Character.Humanoid.PlatformStand = true
  4303. if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  4304. SPEED = 50
  4305. elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  4306. SPEED = 0
  4307. end
  4308. if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  4309. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  4310. lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  4311. elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  4312. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  4313. else
  4314. BV.velocity = Vector3.new(0, 0.1, 0)
  4315. end
  4316. BG.cframe = workspace.CurrentCamera.CoordinateFrame
  4317. until not flying
  4318. CONTROL = {F = 0, B = 0, L = 0, R = 0}
  4319. lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  4320. SPEED = 0
  4321. BG:destroy()
  4322. BV:destroy()
  4323. LP.Character.Humanoid.PlatformStand = false
  4324. end)
  4325. end
  4326. Mouse.KeyDown:connect(function(KEY)
  4327. if KEY:lower() == 'w' then
  4328. CONTROL.F = speedfly
  4329. elseif KEY:lower() == 's' then
  4330. CONTROL.B = -speedfly
  4331. elseif KEY:lower() == 'a' then
  4332. CONTROL.L = -speedfly
  4333. elseif KEY:lower() == 'd' then
  4334. CONTROL.R = speedfly
  4335. end
  4336. end)
  4337. Mouse.KeyUp:connect(function(KEY)
  4338. if KEY:lower() == 'w' then
  4339. CONTROL.F = 0
  4340. elseif KEY:lower() == 's' then
  4341. CONTROL.B = 0
  4342. elseif KEY:lower() == 'a' then
  4343. CONTROL.L = 0
  4344. elseif KEY:lower() == 'd' then
  4345. CONTROL.R = 0
  4346. end
  4347. end)
  4348. fly()
  4349. elseif bypassMODE == true then
  4350. if not args[1] then
  4351. run(commandPrefix.."fc")
  4352. else
  4353. run(commandPrefix.."fc "..args[1])
  4354. end
  4355. LP.Character.Head.Anchored = false
  4356. looptpbypassfly = true
  4357. view(LP)
  4358. end
  4359. end
  4360.  
  4361. Commands.unfly = function(args)
  4362. if bypassMODE == false then
  4363. flying = false
  4364. LP.Character.Humanoid.PlatformStand = false
  4365. else
  4366. looptpbypassfly = false
  4367. run(commandPrefix.."unfreecam")
  4368. local goalTP = LP.Character.HumanoidRootPart.CFrame
  4369. if game.GameId == 245662005 then
  4370. for i = 1, 5 do wait(0.2)
  4371. LP.Character.HumanoidRootPart.CFrame = goalTP
  4372. end
  4373. else
  4374. LP.Character.HumanoidRootPart.CFrame = goalTP
  4375. end
  4376. LP.Character.Head.Anchored = false
  4377. end
  4378. end
  4379.  
  4380. Commands.kill = function(args)
  4381. if args[1] then
  4382. for i,v in pairs(findSinglePlayer(args[1])) do
  4383. if v == LP then
  4384. LP.Character:BreakJoints()
  4385. else
  4386. if hasTools() == false then
  4387. Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
  4388. else
  4389. FEGodmode()
  4390. for i,v in pairs(LP.Backpack:GetChildren())do
  4391. LP.Character.Humanoid:EquipTool(v)
  4392. end
  4393. local NOW = LP.Character.HumanoidRootPart.CFrame
  4394. LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
  4395. wait(0.3)
  4396. LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
  4397. local function tp(player,player2)
  4398. local char1,char2=player.Character,player2.Character
  4399. if char1 and char2 then
  4400. char1:MoveTo(char2.Head.Position)
  4401. end
  4402. end
  4403. wait(0.5)
  4404. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(100000,0,100000))
  4405. wait(0.5)
  4406. tp(LP,game:GetService("Players")[v.Name])
  4407. wait(0.7)
  4408. LP.Character.HumanoidRootPart.CFrame = NOW
  4409. view(LP)
  4410. end
  4411. end
  4412. end
  4413. end
  4414. end
  4415. Commands.bring = function(args)
  4416. if hasTools() == false then
  4417. Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
  4418. else
  4419. FEGodmode()
  4420. for i,v in pairs(LP.Backpack:GetChildren())do
  4421. LP.Character.Humanoid:EquipTool(v)
  4422. end
  4423. if args[1] then
  4424. for i,v in pairs(findSinglePlayer(args[1])) do
  4425. if v ~= LP then
  4426. local NOW = LP.Character.HumanoidRootPart.CFrame
  4427. local function tp(player,player2)
  4428. local char1,char2=player.Character,player2.Character
  4429. if char1 and char2 then
  4430. char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
  4431. end
  4432. end
  4433. local function getout(player,player2)
  4434. local char1,char2=player.Character,player2.Character
  4435. if char1 and char2 then
  4436. char1:MoveTo(char2.Head.Position)
  4437. end
  4438. end
  4439. tp(game:GetService("Players")[v.Name], LP)
  4440. wait(0.2)
  4441. tp(game:GetService("Players")[v.Name], LP)
  4442. wait(0.5)
  4443. LP.Character.HumanoidRootPart.CFrame = NOW
  4444. wait(0.5)
  4445. getout(LP, game:GetService("Players")[v.Name])
  4446. wait(0.3)
  4447. LP.Character.HumanoidRootPart.CFrame = NOW
  4448. end
  4449. end
  4450. end
  4451. end
  4452. end
  4453.  
  4454. Commands.naked = function(args)
  4455. for i,v in pairs(LP.Character:GetDescendants()) do
  4456. if v:IsA("Clothing") then
  4457. v:Destroy()
  4458. end
  4459. end
  4460. end
  4461.  
  4462. Commands.nolimbs = function(args)
  4463. LP.Character["Left Arm"]:Destroy()
  4464. LP.Character["Right Arm"]:Destroy()
  4465. LP.Character["Left Leg"]:Destroy()
  4466. LP.Character["Right Leg"]:Destroy()
  4467. end
  4468.  
  4469. Commands.noarms = function(args)
  4470. LP.Character["Left Arm"]:Destroy()
  4471. LP.Character["Right Arm"]:Destroy()
  4472. end
  4473.  
  4474. Commands.nolegs = function(args)
  4475. LP.Character["Left Leg"]:Destroy()
  4476. LP.Character["Right Leg"]:Destroy()
  4477. end
  4478.  
  4479. Commands.headless = function(args)
  4480. local l = LP.Character.Humanoid:Clone()
  4481. LP.Character.Humanoid:Destroy()
  4482. wait(0.2)
  4483. LP.Character.Head.CanCollide = false
  4484. for i,v in pairs(LP.Character:GetDescendants()) do
  4485. if string.sub(v.Name, 1, 4) == "Neck" then
  4486. v:Destroy()
  4487. end
  4488. end
  4489. wait(0.2)
  4490. l.Name = "Humanoid"
  4491. l.Parent = LP.Character
  4492. wait(0.1)
  4493. game:GetService("Workspace").CurrentCamera.CameraSubject = LP.Character
  4494. LP.Character.Animate:Destroy()
  4495. end
  4496.  
  4497. antiremotes = false
  4498. Commands.antikick = function(args)
  4499. if args[1] then
  4500. if args[1] == "on" then
  4501. antiremotes = true
  4502. wait(0.2)
  4503. for i,v in pairs(LP.Character:GetChildren()) do
  4504. if string.find(string.lower(v.Name), "exploit") and v:IsA("LocalScript") then
  4505. v.Disabled = true
  4506. end
  4507. end
  4508. Notification("warning", "This command disables all remotes incase they are kick remotes, may break game.", 8)
  4509. Notification("info", "Does not prevent serverside kicks, use "..commandPrefix.."antikick off to turn off.", 8)
  4510. elseif args[1] == "off" then
  4511. antiremotes = false
  4512. Notification("warning", "Remote anti-kick turned off.", 8)
  4513. end
  4514. end
  4515. end
  4516.  
  4517. blockedremotes = {}
  4518. Commands.blockremote = function(args)
  4519. local getService = ""
  4520. if args[1] then
  4521. local remoteName = string.lower(tostring(args[1]))
  4522. if args[2] then
  4523. local serviceRemote = string.lower(tostring(args[2]))
  4524. if serviceRemote == "workspace" then
  4525. getService = "Workspace"
  4526. elseif serviceRemote == "replicatedstorage" then
  4527. getService = "ReplicatedStorage"
  4528. elseif serviceRemote == "players" then
  4529. getService = "Players"
  4530. elseif serviceRemote == "lighting" then
  4531. getService = "Lighting"
  4532. elseif serviceRemote == "startergui" then
  4533. getService = "StarterGui"
  4534. elseif serviceRemote == "starterpack" then
  4535. getService = "StarterPack"
  4536. elseif serviceRemote == "starterplayer" then
  4537. getService = "StarterPlayer"
  4538. else
  4539. getService = "ReplicatedStorage"
  4540. end
  4541. else
  4542. getService = "ReplicatedStorage"
  4543. end
  4544. for i,getRemote in pairs(game:GetService(getService):GetDescendants()) do
  4545. if string.lower(getRemote.Name) == remoteName then
  4546. table.insert(blockedremotes, getRemote.Name)
  4547. end
  4548. end
  4549. end
  4550. Notification("warning", "If this command does not work, make sure you type remote name/service fully correct.", 8)
  4551. end
  4552.  
  4553. spyingremotes = false
  4554. Commands.remotespy = function(args)
  4555. if args[1] then
  4556. if args[1] == "on" then
  4557. spyingremotes = true
  4558. Notification("info", "Remotespy turned on.", 4)
  4559. elseif args[1] == "off" then
  4560. spyingremotes = false
  4561. Notification("info", "Remotespy turned off.", 4)
  4562. end
  4563. end
  4564. end
  4565.  
  4566. Commands.bang = function(args)
  4567. if args[1] then
  4568. for i,v in pairs(findSinglePlayer(args[1])) do
  4569. if v ~= nil then
  4570. following = true
  4571. flwplr = v
  4572. flwnum = -1
  4573. local bangAnimation = Instance.new("Animation")
  4574. bangAnimation.AnimationId = "rbxassetid://148840371"
  4575. bangTrack = LP.Character.Humanoid:LoadAnimation(bangAnimation)
  4576. if args[2] then
  4577. bangTrack:Play(.1, 1, args[2])
  4578. else
  4579. bangTrack:Play(.1, 1, 1)
  4580. end
  4581. end
  4582. end
  4583. else
  4584. Notification("warning", "No player selected to follow! Use: "..commandPrefix.."follow player", 4)
  4585. end
  4586. end
  4587.  
  4588. Commands.unbang = function(args)
  4589. following = false
  4590. bangTrack:Stop()
  4591. end
  4592.  
  4593. spamdelay = 1
  4594. spamtext = "Spam"
  4595. spamming = false
  4596. Commands.spam = function(args)
  4597. if args[1] then
  4598. spamtext = args[1]
  4599. spamming = true
  4600. end
  4601. end
  4602. Commands.spamdelay = function(args)
  4603. if args[1] then
  4604. spamdelay = args[1]
  4605. end
  4606. end
  4607. spawn(function()
  4608. while wait(spamdelay) do
  4609. if spamming then
  4610. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(spamtext, "All")
  4611. end
  4612. end
  4613. end)
  4614.  
  4615. Commands.unspam = function(args)
  4616. spamming = false
  4617. end
  4618.  
  4619. Commands.info = function(args)
  4620. if args[1] then
  4621. for i,v in pairs(findSinglePlayer(args[1])) do
  4622. createINFO(v)
  4623. end
  4624. end
  4625. end
  4626.  
  4627. Commands.age = function(args)
  4628. if args[1] then
  4629. for i,v in pairs(findPlayer(args[1])) do
  4630. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(v.Name.." Account Age: "..v.AccountAge.." days!", "All")
  4631. end
  4632. end
  4633. end
  4634.  
  4635. Commands.invisible = function(args)
  4636. local Character = LP.Character
  4637. if LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  4638. local Clone = Character.HumanoidRootPart:Clone()
  4639. Character.HumanoidRootPart:Destroy()
  4640. Clone.Parent = Character
  4641. else
  4642. local Clone = Character.LowerTorso.Root:Clone()
  4643. Character.LowerTorso.Root:Destroy()
  4644. Clone.Parent = Character.LowerTorso
  4645. end
  4646. end
  4647.  
  4648. walkto = false
  4649. walkplr = ""
  4650. Commands.walk = function(args)
  4651. if args[1] then
  4652. for i,v in pairs(findSinglePlayer(args[1])) do
  4653. walkplr = v
  4654. walkto = true
  4655. noclip = true
  4656. end
  4657. end
  4658. end
  4659.  
  4660. Commands.unwalk = function(args)
  4661. walkto = false
  4662. noclip = false
  4663. LP.Character.Humanoid:MoveTo(LP.Character.HumanoidRootPart.Position)
  4664. end
  4665.  
  4666. Commands.glitch = function(args)
  4667. if hasTools() == false then
  4668. Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
  4669. else
  4670. FEGodmode()
  4671. for i,v in pairs(LP.Backpack:GetChildren())do
  4672. LP.Character.Humanoid:EquipTool(v)
  4673. end
  4674. if args[1] then
  4675. for i,v in pairs(findSinglePlayer(args[1])) do
  4676. local function tp(player,player2)
  4677. local char1,char2=player.Character,player2.Character
  4678. if char1 and char2 then
  4679. char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
  4680. end
  4681. end
  4682. tp(game:GetService("Players")[v.Name], LP)
  4683. wait(0.2)
  4684. tp(game:GetService("Players")[v.Name], LP)
  4685. wait(0.5)
  4686. local b = Instance.new("BodyForce")
  4687. b.Parent = LP.Character.HumanoidRootPart
  4688. b.Name = "Glitch"
  4689. if args[2] then
  4690. b.Force = Vector3.new(args[2],5000,0)
  4691. else
  4692. b.Force = Vector3.new(100000000,5000,0)
  4693. end
  4694. wait(6)
  4695. b:Destroy()
  4696. end
  4697. end
  4698. end
  4699. end
  4700.  
  4701. Commands.tp = function(args)
  4702. if args[1] then
  4703. for i,v in pairs(findSinglePlayer(args[1])) do
  4704. if v == LP then
  4705. if args[2] then
  4706. for i,a in pairs(findSinglePlayer(args[2])) do
  4707. v.Character.HumanoidRootPart.CFrame = a.Character.HumanoidRootPart.CFrame
  4708. end
  4709. end
  4710. else
  4711. if hasTools() == false then
  4712. Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
  4713. else
  4714. FEGodmode()
  4715. for i,v in pairs(LP.Backpack:GetChildren())do
  4716. LP.Character.Humanoid:EquipTool(v)
  4717. end
  4718. if args[1] then
  4719. for i,first in pairs(findSinglePlayer(args[1])) do
  4720. if args[2] then
  4721. for i,second in pairs(findSinglePlayer(args[2])) do
  4722. local function tp(player,player2)
  4723. local char1,char2=player.Character,player2.Character
  4724. if char1 and char2 then
  4725. char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
  4726. end
  4727. end
  4728. local function getout(player,player2)
  4729. local char1,char2=player.Character,player2.Character
  4730. if char1 and char2 then
  4731. char1:MoveTo(char2.Head.Position)
  4732. end
  4733. end
  4734. tp(LP, first)
  4735. wait(0.2)
  4736. tp(LP, first)
  4737. wait(0.5)
  4738. tp(LP, second)
  4739. wait(0.2)
  4740. tp(LP, second)
  4741. wait(0.2)
  4742. getout(LP, first)
  4743. end
  4744. end
  4745. end
  4746. end
  4747. end
  4748. end
  4749. end
  4750. end
  4751. end
  4752.  
  4753. Commands.givetool = function(args)
  4754. if args[1] then
  4755. if args[2] then
  4756. local selectedTool = ""
  4757. for i,allTools in pairs(LP.Character:GetDescendants()) do
  4758. if allTools:IsA("Tool") and string.lower(allTools.Name) == string.lower(args[2]) then
  4759. selectedTool = allTools
  4760. else
  4761. for i,otherTools in pairs(LP.Backpack:GetDescendants()) do
  4762. if otherTools:IsA("Tool") and string.lower(otherTools.Name) == string.lower(args[2]) then
  4763. selectedTool = otherTools
  4764. end
  4765. end
  4766. end
  4767. end
  4768. for i,v in pairs(findSinglePlayer(args[1])) do
  4769. if selectedTool ~= "" then
  4770. selectedTool.Parent = v.Character
  4771. end
  4772. end
  4773. else
  4774. for i,plr in pairs(findSinglePlayer(args[1])) do
  4775. for i,tool in pairs(LP.Character:GetDescendants()) do
  4776. if tool:IsA("Tool") then
  4777. tool.Parent = plr.Character
  4778. end
  4779. end
  4780. end
  4781. end
  4782. end
  4783. end
  4784.  
  4785. Commands.givealltools = function(args)
  4786. LP.Character.Humanoid:UnequipTools()
  4787. for i,plr in pairs(findSinglePlayer(args[1])) do
  4788. for i,v in pairs(LP.Character:GetDescendants()) do
  4789. if v:IsA("Tool") then
  4790. v.Parent = plr.Character
  4791. end
  4792. end
  4793. for i,a in pairs(LP.Backpack:GetDescendants()) do
  4794. if a:IsA("Tool") then
  4795. a.Parent = plr.Character
  4796. end
  4797. end
  4798. end
  4799. end
  4800.  
  4801. Commands.blockhats = function(args)
  4802. for i,v in pairs(LP.Character:GetDescendants()) do
  4803. if v:IsA("Accessory") or v:IsA("Hat") then
  4804. for i,mesh in pairs(v:GetDescendants()) do
  4805. if mesh.Name == "Mesh" then
  4806. mesh:Destroy()
  4807. end
  4808. end
  4809. end
  4810. end
  4811. end
  4812.  
  4813. Commands.blocktool = function(args)
  4814. for i,v in pairs(LP.Character:GetDescendants()) do
  4815. if v:IsA("Tool") then
  4816. for i,mesh in pairs(v:GetDescendants()) do
  4817. if mesh.Name == "Mesh" then
  4818. mesh:Destroy()
  4819. end
  4820. end
  4821. end
  4822. end
  4823. end
  4824.  
  4825. Commands.orbit = function(args)
  4826. if args[1] then
  4827. for i,v in pairs(findSinglePlayer(args[1])) do
  4828. view(v)
  4829. RocketPropulsion(5000,100,5000,v,"OrbitMove")
  4830. end
  4831. else
  4832. Notification("warning", "No player selected to orbit! Use: "..commandPrefix.."orbit player", 4)
  4833. end
  4834. end
  4835.  
  4836. Commands.unorbit = function(args)
  4837. for i,v in pairs(LP.Character:GetDescendants()) do
  4838. if v.Name == "OrbitMove" then
  4839. v:Destroy()
  4840. end
  4841. end
  4842. view(LP)
  4843. end
  4844.  
  4845. Commands.pos = function(args)
  4846. Notification("info", "Your current position is ".. tostring(LP.Character.HumanoidRootPart.Position), 9)
  4847. end
  4848.  
  4849. SavedPosition = ""
  4850. Commands.savepos = function(args)
  4851. SavedPosition = LP.Character.HumanoidRootPart.CFrame
  4852. end
  4853. Commands.loadpos = function(args)
  4854. if SavedPosition ~= "" then
  4855. LP.Character.HumanoidRootPart.CFrame = SavedPosition
  4856. end
  4857. end
  4858.  
  4859. Commands.tppos = function(args)
  4860. if args[1] and args[2] and args[3] then
  4861. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(args[1], args[2], args[3]))
  4862. end
  4863. end
  4864.  
  4865. Commands.pmspam = function(args)
  4866. if args[1] then
  4867. local gotPlayer = ""
  4868. for i,v in pairs(findPlayer(args[1])) do
  4869. gotPlayer = v
  4870. end
  4871. table.remove(args, 1)
  4872. local pmSpamMsg = table.concat(args," ")
  4873. spamtext = "/w "..gotPlayer.Name.." "..pmSpamMsg
  4874. spamming = true
  4875. end
  4876. end
  4877.  
  4878. Commands.unpmspam = function(args)
  4879. spamming = false
  4880. end
  4881.  
  4882. Commands.wsvis = function(args)
  4883. if args[1] then
  4884. for i,v in pairs(gsWorkspace:GetDescendants()) do
  4885. if v:IsA("Part") or v:IsA("Decal") then
  4886. if tonumber(args[1]) > 1 then
  4887. v.Transparency = 0.5
  4888. else
  4889. v.Transparency = args[1]
  4890. end
  4891. end
  4892. end
  4893. end
  4894. clientSided()
  4895. end
  4896.  
  4897. Commands.bringobj = function(args)
  4898. if args[1] then
  4899. local Object = ""
  4900. for i,v in pairs(gsWorkspace:GetDescendants()) do
  4901. if string.lower(v.Name) == string.lower(args[1]) then
  4902. Object = v
  4903. end
  4904. end
  4905. if Object == "" then
  4906. Notification("warning", "Object was not found in the workspace.", 6)
  4907. end
  4908. if args[2] then
  4909. Object.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * args[2]
  4910. else
  4911. Object.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * 3
  4912. end
  4913. clientSided()
  4914. end
  4915. end
  4916.  
  4917. CBRINGplr = ""
  4918. cbringing = false
  4919. cbringingall = false
  4920. Commands.cbring = function(args)
  4921. if args[1] then
  4922. if string.lower(tostring(args[1])) == "all" or string.lower(tostring(args[1])) == "others" then
  4923. cbringingall = true
  4924. else
  4925. for i,v in pairs(findPlayer(args[1])) do
  4926. CBRINGplr = v
  4927. cbringing = true
  4928. end
  4929. end
  4930. if args[2] then
  4931. CBRINGamount = args[2]
  4932. else
  4933. CBRINGamount = 3
  4934. end
  4935. clientSided()
  4936. end
  4937. end
  4938.  
  4939. Commands.uncbring = function(args)
  4940. cbringing = false
  4941. cbringingall = false
  4942. end
  4943.  
  4944. Commands.cfreeze = function(args)
  4945. if args[1] then
  4946. for i,v in pairs(findPlayer(args[1])) do
  4947. v.Character.HumanoidRootPart.Anchored = true
  4948. end
  4949. clientSided()
  4950. end
  4951. end
  4952.  
  4953. Commands.uncfreeze = function(args)
  4954. if args[1] then
  4955. for i,v in pairs(findPlayer(args[1])) do
  4956. v.Character.HumanoidRootPart.Anchored = false
  4957. end
  4958. else
  4959. for i,all in pairs(gsPlayers:GetPlayers()) do
  4960. all.Character.HumanoidRootPart.Anchored = false
  4961. end
  4962. end
  4963. end
  4964.  
  4965. Commands.unattach = function(args)
  4966. local function getout(player,player2)
  4967. local char1,char2=player.Character,player2.Character
  4968. if char1 and char2 then
  4969. char1:MoveTo(char2.Head.Position)
  4970. end
  4971. end
  4972. getout(LP, LP)
  4973. end
  4974.  
  4975. currentToolSize = ""
  4976. Commands.reach = function(args)
  4977. if args[1] then
  4978. for i,v in pairs(LP.Character:GetDescendants()) do
  4979. if v:IsA("Tool") then
  4980. if string.lower(tostring(args[1])) == "off" then
  4981. v.Handle.Size = currentToolSize
  4982. v.Handle.SelectionBoxCreated:Destroy()
  4983. LP.Character.Humanoid:UnequipTools()
  4984. elseif string.lower(tostring(args[1])) == "on" then
  4985. if args[2] then
  4986. currentToolSize = v.Handle.Size
  4987. local a = Instance.new("SelectionBox",v.Handle)
  4988. a.Name = "SelectionBoxCreated"
  4989. a.Adornee = v.Handle
  4990. v.Handle.Size = Vector3.new(0.5,0.5,args[2])
  4991. v.GripPos = Vector3.new(0,0,0)
  4992. LP.Character.Humanoid:UnequipTools()
  4993. else
  4994. currentToolSize = v.Handle.Size
  4995. local a = Instance.new("SelectionBox",v.Handle)
  4996. a.Name = "SelectionBoxCreated"
  4997. a.Adornee = v.Handle
  4998. v.Handle.Size = Vector3.new(0.5,0.5,60)
  4999. v.GripPos = Vector3.new(0,0,0)
  5000. LP.Character.Humanoid:UnequipTools()
  5001. end
  5002. end
  5003. end
  5004. end
  5005. end
  5006. end
  5007.  
  5008. Commands.droptool = function(args)
  5009. for i,v in pairs(LP.Character:GetDescendants()) do
  5010. if v:IsA("Tool") then
  5011. v.Parent = gsWorkspace
  5012. end
  5013. end
  5014. for i,a in pairs(LP.Backpack:GetDescendants()) do
  5015. if a:IsA("Tool") then
  5016. a.Parent = gsWorkspace
  5017. end
  5018. end
  5019. end
  5020.  
  5021. Commands.drophats = function(args)
  5022. for i,v in pairs(LP.Character:GetDescendants()) do
  5023. if v:IsA("Accessory") or v:IsA("Hat") then
  5024. v.Parent = gsWorkspace
  5025. end
  5026. end
  5027. end
  5028.  
  5029. Commands.hidecmdbar = function(args)
  5030. CMDBAR.Visible = false
  5031. end
  5032.  
  5033. Commands.showcmdbar = function(args)
  5034. CMDBAR.Visible = true
  5035. end
  5036.  
  5037. Commands.prefix = function(args)
  5038. if args[1] then
  5039. commandPrefix = string.sub(tostring(args[1]), 1, 1)
  5040. fullUpdate()
  5041. end
  5042. end
  5043.  
  5044. Commands.removeinvis = function(args)
  5045. for i,v in pairs(gsWorkspace:GetDescendants()) do
  5046. if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
  5047. if v.Transparency == 1 then
  5048. v:Destroy()
  5049. end
  5050. end
  5051. end
  5052. clientSided()
  5053. end
  5054.  
  5055. Commands.removefog = function(args)
  5056. gsLighting.FogStart = 0
  5057. gsLighting.FogEnd = 9999999999999
  5058. clientSided()
  5059. end
  5060.  
  5061. Commands.animation = function(args)
  5062. if args[1] then
  5063. if string.lower(tostring(args[1])) == "gui" then
  5064. loadstring(game:HttpGet(("https://pastebin.com/raw/mdbTSP4d"),true))()
  5065. else
  5066. local Anim = Instance.new("Animation")
  5067. Anim.AnimationId = "rbxassetid://".. tostring(args[1])
  5068. local track = LP.Character.Humanoid:LoadAnimation(Anim)
  5069. if args[2] then
  5070. track:Play(.1, 1, args[2])
  5071. else
  5072. track:Play(.1, 1, 1)
  5073. end
  5074. end
  5075. end
  5076. end
  5077.  
  5078. Commands.btools = function(args)
  5079. local Clone_T = Instance.new("HopperBin",LP.Backpack)
  5080. Clone_T.BinType = "Clone"
  5081. local Destruct = Instance.new("HopperBin",LP.Backpack)
  5082. Destruct.BinType = "Hammer"
  5083. local Hold_T = Instance.new("HopperBin",LP.Backpack)
  5084. Hold_T.BinType = "Grab"
  5085. clientSided()
  5086. end
  5087.  
  5088. Commands.esp = function(args)
  5089. if args[1] then
  5090. for i,v in pairs(findPlayer(args[1])) do
  5091. local espPlayer = v
  5092. for i,createESP in pairs(espPlayer.Character:GetDescendants()) do
  5093. if createESP:IsA("Part") or createESP:IsA("MeshPart") then
  5094. if createESP.Name ~= "HumanoidRootPart" and createESP.Name ~= "Handle" then
  5095. local current = true
  5096. local espBOX = Instance.new("BoxHandleAdornment")
  5097. espBOX.Parent = game.Players.LocalPlayer.PlayerGui
  5098. espBOX.Name = "rGET"..espPlayer.Name
  5099. espBOX.Adornee = createESP
  5100. espBOX.AlwaysOnTop = true
  5101. espBOX.ZIndex = 0
  5102. espBOX.Size = createESP.Size
  5103. espBOX.Transparency = 0.3
  5104. local AboveHead = Instance.new("BillboardGui")
  5105. AboveHead.Parent = game.Players.LocalPlayer.PlayerGui
  5106. AboveHead.Adornee = espPlayer.Character.Head
  5107. AboveHead.Name = "rGET"..espPlayer.Name
  5108. AboveHead.Size = UDim2.new(0, 100, 0, 100)
  5109. AboveHead.StudsOffset = Vector3.new(0, 1, 0)
  5110. AboveHead.AlwaysOnTop = true
  5111. local Info = Instance.new("TextLabel")
  5112. Info.Parent = AboveHead
  5113. Info.BackgroundTransparency = 1
  5114. Info.Position = UDim2.new(0, 0, 0, 0)
  5115. Info.Size = UDim2.new(1, 0, 0, 40)
  5116. Info.TextColor3 = Color3.fromRGB(200,200,200)
  5117. Info.TextStrokeTransparency = 0.5
  5118. Info.TextSize = 15
  5119. if espPlayer.TeamColor == LP.TeamColor then
  5120. espBOX.Color = BrickColor.new("Lime green")
  5121. Info.TextStrokeColor3 = Color3.fromRGB(10,100,10)
  5122. else
  5123. espBOX.Color = BrickColor.new("Really red")
  5124. Info.TextStrokeColor3 = Color3.fromRGB(100,10,10)
  5125. end
  5126. game:GetService('RunService').Stepped:connect(function()
  5127. if current and LP.Character.Humanoid and espPlayer.Character.HumanoidRootPart then
  5128. Info.Text = espPlayer.Name.." (".. math.floor((LP.Character.HumanoidRootPart.Position - espPlayer.Character.HumanoidRootPart.Position).magnitude)..")"
  5129. end
  5130. end)
  5131. espPlayer.Character.Humanoid.Died:Connect(function()
  5132. current = false
  5133. espBOX:Destroy()
  5134. AboveHead:Destroy()
  5135. end)
  5136. gsPlayers.PlayerRemoving:Connect(function(plr)
  5137. if plr == espPlayer then
  5138. current = false
  5139. espBOX:Destroy()
  5140. AboveHead:Destroy()
  5141. end
  5142. end)
  5143. end
  5144. end
  5145. end
  5146. end
  5147. clientSided()
  5148. end
  5149. end
  5150.  
  5151. Commands.unesp = function(args)
  5152. if not args[1] then
  5153. for i,v in pairs(gsCoreGui:GetDescendants()) do
  5154. if string.sub(v.Name, 1, 4) == "rGET" then
  5155. v:Destroy()
  5156. end
  5157. end
  5158. else
  5159. for i,v in pairs(gsCoreGui:GetDescendants()) do
  5160. if string.sub(v.Name, 1, 4) == "rGET" then
  5161. for i,a in pairs(findPlayer(args[1])) do
  5162. if string.sub(v.Name, 5) == a.Name then
  5163. v:Destroy()
  5164. end
  5165. end
  5166. end
  5167. end
  5168. end
  5169. end
  5170.  
  5171. Commands.dice = function(args)
  5172. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("You rolled a dice for ".. tostring(math.random(1, 6)), "All")
  5173. end
  5174.  
  5175. Commands.random = function(args)
  5176. if args[1] and args[2] then
  5177. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Picking random number between "..args[1].." and "..args[2].."... The number is ".. tostring(math.random(args[1], args[2])), "All")
  5178. end
  5179. end
  5180.  
  5181. Commands.closegame = function(args)
  5182. game:Shutdown()
  5183. end
  5184.  
  5185. Commands.savetool = function(args)
  5186. if args[1] then
  5187. for i,a in pairs(LP.Character:GetDescendants()) do
  5188. if a:IsA("Tool") and string.lower(a.Name) == string.lower(tostring(args[1])) then
  5189. a.Parent = LP
  5190. local oldName = a.Name
  5191. a.Name = "saved "..oldName
  5192. else
  5193. for i,n in pairs(LP.Backpack:GetDescendants()) do
  5194. if n:IsA("Tool") and string.lower(n.Name) == string.lower(tostring(args[1])) then
  5195. n.Parent = LP
  5196. local sOldName = n.Name
  5197. n.Name = "saved "..sOldName
  5198. end
  5199. end
  5200. end
  5201. end
  5202. else
  5203. for i,v in pairs(LP.Character:GetDescendants()) do
  5204. if v:IsA("Tool") then
  5205. v.Parent = LP
  5206. local oldName = v.Name
  5207. v.Name = "saved "..oldName
  5208. end
  5209. end
  5210. end
  5211. end
  5212.  
  5213. Commands.loadtool = function(args)
  5214. if args[1] then
  5215. for i,a in pairs(LP:GetChildren()) do
  5216. if a:IsA("Tool") and string.sub(a.Name, 1, 5) == "saved" and string.lower(string.sub(a.Name, 7)) == string.lower(tostring(args[1])) then
  5217. a.Parent = LP.Backpack
  5218. local currentName = a.Name
  5219. a.Name = string.sub(currentName, 7)
  5220. end
  5221. end
  5222. else
  5223. for i,v in pairs(LP:GetChildren()) do
  5224. if string.sub(v.Name, 1, 5) == "saved" then
  5225. v.Parent = LP.Backpack
  5226. local currentName = v.Name
  5227. v.Name = string.sub(currentName, 7)
  5228. end
  5229. end
  5230. end
  5231. end
  5232.  
  5233. Commands.savealltool = function(args)
  5234. for i,v in pairs(LP.Character:GetDescendants()) do
  5235. if v:IsA("Tool") then
  5236. v.Parent = LP
  5237. local oldName = v.Name
  5238. v.Name = "saved "..oldName
  5239. end
  5240. end
  5241. for i,v in pairs(LP.Backpack:GetDescendants()) do
  5242. if v:IsA("Tool") then
  5243. v.Parent = LP
  5244. local oldName = v.Name
  5245. v.Name = "saved "..oldName
  5246. end
  5247. end
  5248. end
  5249.  
  5250. Commands.loadalltool = function(args)
  5251. for i,v in pairs(LP:GetChildren()) do
  5252. if v:IsA("Tool") and string.sub(v.Name, 1, 5) == "saved" then
  5253. v.Parent = LP.Backpack
  5254. local currentName = v.Name
  5255. v.Name = string.sub(currentName, 7)
  5256. end
  5257. end
  5258. end
  5259.  
  5260. Mouse.KeyDown:Connect(function(key)
  5261. if key == clicktpKEY and clicktpACTIVE == true then
  5262. if Mouse.Target then
  5263. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z)
  5264. end
  5265. end
  5266. if key == clickdelKEY and clickdelACTIVE == true then
  5267. if Mouse.Target then
  5268. Mouse.Target:Destroy()
  5269. end
  5270. end
  5271. end)
  5272. Mouse.Button1Down:Connect(function()
  5273. if clicktpACTIVE == true and clicktpCLICK == true then
  5274. if Mouse.Target then
  5275. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z)
  5276. end
  5277. end
  5278. if clickdelACTIVE == true and clickdelCLICK == true then
  5279. if Mouse.Target then
  5280. Mouse.Target:Destroy()
  5281. end
  5282. end
  5283. end)
  5284.  
  5285. clicktpKEY = ""
  5286. clickdelKEY = ""
  5287. clicktpACTIVE = false
  5288. clickdelACTIVE = false
  5289. clicktpCLICK = false
  5290. clickdelCLICK = false
  5291.  
  5292. Commands.clicktp = function(args)
  5293. if args[1] then
  5294. clicktpKEY = string.sub(tostring(args[1]), 1, 1)
  5295. clicktpACTIVE = true
  5296. clicktpCLICK = false
  5297. else
  5298. clicktpKEY = ""
  5299. clicktpACTIVE = true
  5300. clicktpCLICK = true
  5301. end
  5302. clientSided()
  5303. end
  5304.  
  5305. Commands.clickdel = function(args)
  5306. if args[1] then
  5307. clickdelKEY = string.sub(tostring(args[1]), 1, 1)
  5308. clickdelACTIVE = true
  5309. clickdelCLICK = false
  5310. else
  5311. clickdelKEY = ""
  5312. clickdelACTIVE = true
  5313. clickdelCLICK = true
  5314. end
  5315. clientSided()
  5316. end
  5317.  
  5318. Commands.unclicktp = function(args)
  5319. clicktpACTIVE = false
  5320. end
  5321.  
  5322. Commands.unclickdel = function(args)
  5323. clickdelACTIVE = false
  5324. end
  5325.  
  5326. Commands.oof = function(args)
  5327. spawn(function()
  5328. while wait() do
  5329. for i,v in pairs(game:GetService'Players':GetPlayers()) do
  5330. if v.Character ~= nil and v.Character:FindFirstChild'Head' then
  5331. for _,x in pairs(v.Character.Head:GetChildren()) do
  5332. if x:IsA'Sound' then x.Playing = true x.CharacterSoundEvent:FireServer(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true) end
  5333. end
  5334. end
  5335. end
  5336. end
  5337. end)
  5338. end
  5339.  
  5340. Commands.chatlogs = function(args)
  5341. MainChatFrame.Position = UDim2.new(0, 760, 0, 261)
  5342. MainChatFrame.Visible = true
  5343. end
  5344.  
  5345. Commands.stopadmin = function(args)
  5346. commandPrefix = " "
  5347. following = false
  5348. trailing = false
  5349. annoying = false
  5350. CMDBAR.Visible = false
  5351. Match.Visible = false
  5352. flying = false
  5353. end
  5354.  
  5355. Commands.freecam = function(args)
  5356. for i,getFC in pairs(gsWorkspace:GetDescendants()) do
  5357. if getFC.Name == "rGETpartNUMBER2" then
  5358. getFC:Destroy()
  5359. end
  5360. end
  5361. local CameraPart = Instance.new("Part")
  5362. CameraPart.CanCollide = false
  5363. CameraPart.CFrame = LP.Character.Head.CFrame
  5364. CameraPart.Locked = true
  5365. CameraPart.Transparency = 1
  5366. CameraPart.Size = Vector3.new(1, 1, 1)
  5367. CameraPart.Parent = gsWorkspace
  5368. CameraPart.Name = "rGETpartNUMBER2"
  5369. if bypassMODE == true then
  5370. loopviewfc = true
  5371. elseif bypassMODE == false then
  5372. gsWorkspace.CurrentCamera.CameraSubject = CameraPart
  5373. end
  5374. local speedget = 1
  5375. local T = CameraPart
  5376. local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  5377. local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  5378. local SPEED = speedget
  5379. if args[1] then
  5380. speedfly = tonumber(args[1])
  5381. else
  5382. speedfly = 1
  5383. end
  5384. local function freecamfly()
  5385. LP.Character.Head.Anchored = true
  5386. doFREECAM = true
  5387. local BG = Instance.new('BodyGyro', T)
  5388. local BV = Instance.new('BodyVelocity', T)
  5389. BG.P = 9e4
  5390. BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  5391. BG.cframe = T.CFrame
  5392. BV.velocity = Vector3.new(0, 0.1, 0)
  5393. BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  5394. spawn(function()
  5395. repeat wait()
  5396. if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  5397. SPEED = 50
  5398. elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  5399. SPEED = 0
  5400. end
  5401. if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  5402. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  5403. lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  5404. elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  5405. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  5406. else
  5407. BV.velocity = Vector3.new(0, 0.1, 0)
  5408. end
  5409. BG.cframe = workspace.CurrentCamera.CoordinateFrame
  5410. until not doFREECAM
  5411. CONTROL = {F = 0, B = 0, L = 0, R = 0}
  5412. lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  5413. SPEED = 0
  5414. BG:destroy()
  5415. BV:destroy()
  5416. end)
  5417. end
  5418. Mouse.KeyDown:connect(function(KEY)
  5419. if KEY:lower() == 'w' then
  5420. CONTROL.F = speedfly
  5421. elseif KEY:lower() == 's' then
  5422. CONTROL.B = -speedfly
  5423. elseif KEY:lower() == 'a' then
  5424. CONTROL.L = -speedfly
  5425. elseif KEY:lower() == 'd' then
  5426. CONTROL.R = speedfly
  5427. end
  5428. end)
  5429. Mouse.KeyUp:connect(function(KEY)
  5430. if KEY:lower() == 'w' then
  5431. CONTROL.F = 0
  5432. elseif KEY:lower() == 's' then
  5433. CONTROL.B = 0
  5434. elseif KEY:lower() == 'a' then
  5435. CONTROL.L = 0
  5436. elseif KEY:lower() == 'd' then
  5437. CONTROL.R = 0
  5438. end
  5439. end)
  5440. freecamfly()
  5441. end
  5442.  
  5443. Commands.fc = function(args)
  5444. if args[1] then
  5445. run(commandPrefix.."freecam "..args[1])
  5446. else
  5447. run(commandPrefix.."freecam")
  5448. end
  5449. end
  5450.  
  5451. Commands.unfreecam = function(args)
  5452. doFREECAM = false
  5453. LP.Character.Head.Anchored = false
  5454. view(LP)
  5455. if gsWorkspace.rGETpartNUMBER2 then
  5456. gsWorkspace.rGETpartNUMBER2:Destroy()
  5457. end
  5458. loopviewfc = false
  5459. end
  5460.  
  5461. Commands.unfc = function(args)
  5462. doFREECAM = false
  5463. LP.Character.Head.Anchored = false
  5464. view(LP)
  5465. if gsWorkspace.rGETpartNUMBER2 then
  5466. gsWorkspace.rGETpartNUMBER2:Destroy()
  5467. end
  5468. loopviewfc = false
  5469. end
  5470.  
  5471. Commands.gotofc = function(args)
  5472. doFREECAM = false
  5473. LP.Character.Head.Anchored = false
  5474. view(LP)
  5475. pcall(function()
  5476. LP.Character.HumanoidRootPart.CFrame = gsWorkspace.rGETpartNUMBER2.CFrame
  5477. gsWorkspace.rGETpartNUMBER2:Destroy()
  5478. end)
  5479. loopviewfc = false
  5480. end
  5481.  
  5482. Commands.fctp = function(args)
  5483. if args[1] then
  5484. for i,v in pairs(findPlayer(args[1])) do
  5485. pcall(function()
  5486. gsWorkspace.rGETpartNUMBER2.CFrame = v.Character.Head.CFrame
  5487. end)
  5488. end
  5489. end
  5490. end
  5491.  
  5492. Commands.cmds = function(args)
  5493. CMDSmain.Position = UDim2.new(0, 695, 0, 297)
  5494. CMDSmain.Visible = true
  5495. CMDSmain:TweenSize(UDim2.new(0, 440, 0, 367), "InOut", "Sine", 1)
  5496. end
  5497.  
  5498. Commands.fullcredits = function(args)
  5499. Notification("info", "Credit to Autumn, Josh and 3dsboy08 (Help with "..commandPrefix.."remotespy and anti client kick)", 1)
  5500. Notification("info", "Credit to Infinite Yield developers (Assisted in "..commandPrefix.."esp and "..commandPrefix.."fly commands)", 1)
  5501. Notification("info", "Credit to Timeless ("..commandPrefix.."invisible) and Harkinian ("..commandPrefix.."shutdown)", 1)
  5502. Notification("info", "Credit to DEX creators ("..commandPrefix.."explorer) and xFunnieuss ("..commandPrefix.."spinhats)", 1)
  5503. Notification("info", "Only creator is illremember", 2)
  5504. end
  5505.  
  5506. Commands.hotkey = function(args)
  5507. if args[1] then
  5508. local hotkeyKEY = string.sub(tostring(args[1]), 1, 3)
  5509. if args[2] then
  5510. table.remove(args, 1)
  5511. local hotkeyCMD = table.concat(args, " ")
  5512. table.insert(hotkeys, hotkeyCMD.."//"..hotkeyKEY)
  5513. fullUpdate()
  5514. Notification("info", "Hotkey added!", 1)
  5515. end
  5516. end
  5517. end
  5518.  
  5519. Mouse.KeyDown:Connect(function(key)
  5520. for i,v in pairs(hotkeys) do
  5521. local currentKey = string.match(v, "[%a%d]+$")
  5522. if string.len(currentKey) == 1 then
  5523. if key == string.sub(v, #v, #v) then
  5524. local commandtoRUN = string.match(v, "^[%w%s]+")
  5525. if string.sub(string.lower(tostring(commandtoRUN)), 1, 3) == "fly" then
  5526. if bypassMODE == true then
  5527. if doFREECAM == false then
  5528. run(commandPrefix..tostring(commandtoRUN))
  5529. else
  5530. run(commandPrefix.."unfly")
  5531. end
  5532. else
  5533. if flying == false then
  5534. run(commandPrefix..tostring(commandtoRUN))
  5535. else
  5536. run(commandPrefix.."unfly")
  5537. end
  5538. end
  5539. elseif tostring(commandtoRUN) == "noclip" then
  5540. if noclip == false then
  5541. run(commandPrefix..tostring(commandtoRUN))
  5542. else
  5543. run(commandPrefix.."clip")
  5544. end
  5545. elseif tostring(commandtoRUN) == "freecam" or tostring(commandtoRUN) == "fc" then
  5546. if doFREECAM == false then
  5547. run(commandPrefix..tostring(commandtoRUN))
  5548. else
  5549. if fchotkeymode == "goto" then
  5550. run(commandPrefix.."gotofc")
  5551. elseif fchotkeymode == "unfc" then
  5552. run(commandPrefix.."unfreecam")
  5553. end
  5554. end
  5555. else
  5556. run(commandPrefix..tostring(commandtoRUN))
  5557. end
  5558. end
  5559. else
  5560. if string.lower(string.sub(tostring(currentKey), 1, 1)) == "f" then
  5561. local commandtoRUN = string.match(v, "^[%w%s]+")
  5562. local hotkeyadjust = tonumber(string.sub(currentKey, 2, 3)) + 25
  5563. if string.byte(key) == hotkeyadjust then
  5564. if string.sub(string.lower(tostring(commandtoRUN)), 1, 3) == "fly" then
  5565. if bypassMODE == true then
  5566. if doFREECAM == false then
  5567. run(commandPrefix..tostring(commandtoRUN))
  5568. else
  5569. run(commandPrefix.."unfly")
  5570. end
  5571. else
  5572. if flying == false then
  5573. run(commandPrefix..tostring(commandtoRUN))
  5574. else
  5575. run(commandPrefix.."unfly")
  5576. end
  5577. end
  5578. elseif tostring(commandtoRUN) == "noclip" then
  5579. if noclip == false then
  5580. run(commandPrefix..tostring(commandtoRUN))
  5581. else
  5582. run(commandPrefix.."clip")
  5583. end
  5584. elseif tostring(commandtoRUN) == "freecam" or tostring(commandtoRUN) == "fc" then
  5585. if doFREECAM == false then
  5586. run(commandPrefix..tostring(commandtoRUN))
  5587. else
  5588. if fchotkeymode == "goto" then
  5589. run(commandPrefix.."gotofc")
  5590. elseif fchotkeymode == "unfc" then
  5591. run(commandPrefix.."unfreecam")
  5592. end
  5593. end
  5594. else
  5595. run(commandPrefix..tostring(commandtoRUN))
  5596. end
  5597. end
  5598. end
  5599. end
  5600. end
  5601. end)
  5602.  
  5603. Commands.removeallhotkey = function(args)
  5604. hotkeys = {}
  5605. fullUpdate()
  5606. Notification("warning", "All hotkeys reset/removed", 6)
  5607. end
  5608.  
  5609. Commands.removehotkey = function(args)
  5610. if args[1] then
  5611. for i,v in pairs(hotkeys) do
  5612. local currentKey = string.match(v, "[%a%d]+$")
  5613. if currentKey == string.lower(tostring(args[1])) then
  5614. table.remove(hotkeys, i)
  5615. fullUpdate()
  5616. end
  5617. end
  5618. end
  5619. end
  5620.  
  5621. Commands.printhotkeys = function(args)
  5622. for i,v in pairs(hotkeys) do
  5623. warn("HOTKEYS:")
  5624. print(v)
  5625. end
  5626. end
  5627.  
  5628. Commands.os = function(args)
  5629. if args[1] then
  5630. for i,v in pairs(findPlayer(args[1])) do
  5631. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(v.Name.." is on "..v.OsPlatform, "All")
  5632. end
  5633. end
  5634. end
  5635.  
  5636. spinning = false
  5637. Commands.spin = function(args)
  5638. if args[1] then
  5639. for i,v in pairs(findSinglePlayer(args[1])) do
  5640. run(commandPrefix.."attach "..v.Name)
  5641. annplr = v
  5642. annoying = true
  5643. spinning = true
  5644. end
  5645. end
  5646. end
  5647.  
  5648. Commands.unspin = function(args)
  5649. if spinning then
  5650. annoying = false
  5651. spinning = false
  5652. end
  5653. run(""..commandPrefix.."unattach")
  5654. end
  5655.  
  5656. Commands.explorer = function(args)
  5657. loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)()
  5658. Notification("info", "Loaded DEX explorer!", 5)
  5659. end
  5660.  
  5661. Commands.maxzoom = function(args)
  5662. if args[1] then
  5663. LP.CameraMaxZoomDistance = args[1]
  5664. end
  5665. end
  5666.  
  5667. Commands.stare = function(args)
  5668. if args[1] then
  5669. for i,v in pairs(findSinglePlayer(args[1])) do
  5670. stareplr = v
  5671. staring = true
  5672. end
  5673. end
  5674. end
  5675.  
  5676. Commands.unstare = function(args)
  5677. staring = false
  5678. end
  5679.  
  5680. Commands.tempgod = function(args)
  5681. local hu = LP.Character.Humanoid
  5682. local l = Instance.new("Humanoid")
  5683. l.Parent = LP.Character
  5684. l.Name = "Humanoid"
  5685. wait(0.1)
  5686. hu.Parent = LP
  5687. gsWorkspace.CurrentCamera.CameraSubject = LP.Character
  5688. LP.Character.Animate.Disabled = true
  5689. wait(0.1)
  5690. LP.Character.Animate.Disabled = false
  5691. Notification("info", "Enabled Temp FE Godmode", 4)
  5692. end
  5693.  
  5694. Commands.void = function(args)
  5695. if hasTools() == false then
  5696. Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
  5697. else
  5698. FEGodmode()
  5699. for i,v in pairs(LP.Backpack:GetChildren())do
  5700. LP.Character.Humanoid:EquipTool(v)
  5701. end
  5702. if args[1] then
  5703. for i,v in pairs(findSinglePlayer(args[1])) do
  5704. local NOW = LP.Character.HumanoidRootPart.CFrame
  5705. LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
  5706. wait(0.3)
  5707. LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
  5708. local function tp(player,player2)
  5709. local char1,char2=player.Character,player2.Character
  5710. if char1 and char2 then
  5711. char1:MoveTo(char2.Head.Position)
  5712. end
  5713. end
  5714. wait(0.5)
  5715. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(999999999999999,0,999999999999999))
  5716. end
  5717. end
  5718. end
  5719. end
  5720.  
  5721. Commands.freefall = function(args)
  5722. if hasTools() == false then
  5723. Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
  5724. else
  5725. FEGodmode()
  5726. for i,v in pairs(LP.Backpack:GetChildren())do
  5727. LP.Character.Humanoid:EquipTool(v)
  5728. end
  5729. if args[1] then
  5730. for i,v in pairs(findSinglePlayer(args[1])) do
  5731. local NOW = LP.Character.HumanoidRootPart.CFrame
  5732. LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
  5733. wait(0.3)
  5734. LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
  5735. wait(0.5)
  5736. LP.Character.HumanoidRootPart.CFrame = NOW
  5737. wait(0.5)
  5738. LP.Character.HumanoidRootPart.CFrame = NOW
  5739. wait(0.6)
  5740. LP.Character.HumanoidRootPart.CFrame = CFrame.new(0,50000,0)
  5741. end
  5742. end
  5743. end
  5744. end
  5745.  
  5746. Commands.version = function(args)
  5747. Notification("info", "Current Shattervast Version: V2.8", 7)
  5748. end
  5749.  
  5750. Commands.shiftlockon = function(args)
  5751. LP.DevEnableMouseLock = true
  5752. Notification("info", "Shift lock enabled!", 5)
  5753. end
  5754.  
  5755. for i,needChat in pairs(gsPlayers:GetPlayers()) do
  5756. needChat.Chatted:Connect(function(msg)
  5757. if copychatall then
  5758. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(msg, "All")
  5759. end
  5760. end)
  5761. end
  5762. gsPlayers.PlayerAdded:Connect(function(plr)
  5763. plr.Chatted:Connect(function(msg)
  5764. if copychatall then
  5765. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(msg, "All")
  5766. end
  5767. end)
  5768. end)
  5769.  
  5770. copychatplayer = nil
  5771. copychatall = false
  5772. copychatACTIVE = false
  5773. Commands.copychat = function(args)
  5774. if args[1] then
  5775. if string.lower(args[1]) == "all" or string.lower(args[1]) == "others" then
  5776. copychatall = true
  5777. else
  5778. for i,v in pairs(findPlayer(args[1])) do
  5779. if v ~= LP then
  5780. copychatplayer = v
  5781. copychatACTIVE = true
  5782. end
  5783. end
  5784. end
  5785. end
  5786. end
  5787.  
  5788. Commands.uncopychat = function(args)
  5789. copychatall = false
  5790. copychatACTIVE = false
  5791. end
  5792.  
  5793. Commands.newkill = function(args)
  5794. if hasTools() == false then
  5795. Notification("warning", "You need TWO tools in your backpack/inventory to use this command.", 8)
  5796. else
  5797. if args[1] then
  5798. for i,plr in pairs(findSinglePlayer(args[1])) do
  5799. for i,v in pairs(LP.Backpack:GetChildren())do
  5800. LP.Character.Humanoid:EquipTool(v)
  5801. end
  5802. for i,v in pairs(LP.Backpack:GetDescendants()) do
  5803. if v:IsA("Tool") then
  5804. v.Parent = LP.Character
  5805. wait()
  5806. v.Parent = plr.Character
  5807. end
  5808. end
  5809. wait(0.4)
  5810. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(4000000, -10, 200000))
  5811. end
  5812. end
  5813. end
  5814. end
  5815.  
  5816. Commands.newattach = function(args)
  5817. if hasTools() == false then
  5818. Notification("warning", "You need TWO tools in your backpack/inventory to use this command.", 8)
  5819. else
  5820. if args[1] then
  5821. for i,plr in pairs(findSinglePlayer(args[1])) do
  5822. for i,v in pairs(LP.Backpack:GetChildren())do
  5823. LP.Character.Humanoid:EquipTool(v)
  5824. end
  5825. for i,v in pairs(LP.Backpack:GetDescendants()) do
  5826. if v:IsA("Tool") then
  5827. v.Parent = LP.Character
  5828. wait()
  5829. v.Parent = plr.Character
  5830. end
  5831. end
  5832. end
  5833. end
  5834. end
  5835. end
  5836.  
  5837. Commands.newbring = function(args)
  5838. if hasTools() == false then
  5839. Notification("warning", "You need TWO tools in your backpack/inventory to use this command.", 8)
  5840. else
  5841. if args[1] then
  5842. for i,plr in pairs(findSinglePlayer(args[1])) do
  5843. local NOW = LP.Character.HumanoidRootPart.CFrame
  5844. for i,v in pairs(LP.Backpack:GetChildren())do
  5845. LP.Character.Humanoid:EquipTool(v)
  5846. end
  5847. for i,v in pairs(LP.Backpack:GetDescendants()) do
  5848. if v:IsA("Tool") then
  5849. v.Parent = LP.Character
  5850. wait()
  5851. v.Parent = plr.Character
  5852. end
  5853. end
  5854. wait(0.4)
  5855. LP.Character.HumanoidRootPart.CFrame = NOW
  5856. wait(0.4)
  5857. LP.Character.HumanoidRootPart.CFrame = NOW
  5858. end
  5859. end
  5860. end
  5861. end
  5862.  
  5863. Commands.spawn = function(args)
  5864. if args[1] then
  5865. if string.lower(tostring(args[1])) == "ws" then
  5866. spawnWS = args[2] or CurrentWalkspeed
  5867. LP.Character.Humanoid.WalkSpeed = args[2] or CurrentWalkspeed
  5868. elseif string.lower(tostring(args[1])) == "jp" then
  5869. spawnJP = args[2] or CurrentJumppower
  5870. LP.Character.Humanoid.JumpPower = args[2] or CurrentJumppower
  5871. elseif string.lower(tostring(args[1])) == "hh" then
  5872. spawnHH = args[2] or CurrentHipheight
  5873. LP.Character.Humanoid.HipHeight = args[2] or CurrentHipheight
  5874. elseif string.lower(tostring(args[1])) == "god" then
  5875. spawningfegod = true
  5876. FEGodmode()
  5877. end
  5878. end
  5879. end
  5880.  
  5881. Commands.unspawn = function(args)
  5882. spawnWS = CurrentWalkspeed
  5883. spawnJP = CurrentJumppower
  5884. spawnHH = CurrentHipheight
  5885. spawningfegod = false
  5886. Notification("info", "Reset spawning stats", 5)
  5887. end
  5888.  
  5889. savingtoolsloop = false
  5890. Commands.autosavetool = function(args)
  5891. if args[1] then
  5892. if string.lower(tostring(args[1])) == "on" then
  5893. savingtoolsloop = true
  5894. elseif string.lower(tostring(args[1])) == "off" then
  5895. savingtoolsloop = false
  5896. end
  5897. end
  5898. end
  5899.  
  5900. modeFling = false
  5901. modeCompliment = false
  5902. modeMove = false
  5903. modeInfo = false
  5904. Commands.beginbot = function(args)
  5905. if not args[1] then
  5906. print("fling // compliment // move // info")
  5907. Notification("info", ""..commandPrefix.."beginbot Modes printed", 5)
  5908. else
  5909. if string.lower(tostring(args[1])) == "fling" then
  5910. modeFling = true
  5911. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Hello! I am Fling-Bot 5000! Say !fling [Player] to fling that player!", "All")
  5912. elseif string.lower(tostring(args[1])) == "compliment" then
  5913. modeCompliment = true
  5914. complimentReady = true
  5915. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Good day, I am Compliment-Bot. Say !c [Player] to give them a compliment.", "All")
  5916. elseif string.lower(tostring(args[1])) == "move" then
  5917. modeMove = true
  5918. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Hi, I am movement bot. Commands you can use: !walk [Player], !bringbot, !follow [Player].", "All")
  5919. elseif string.lower(tostring(args[1])) == "info" then
  5920. modeInfo = true
  5921. infoReady = true
  5922. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Hey, I'm Info-Bot. Commands you can use: !age [Player], !id [Player].", "All")
  5923. end
  5924. end
  5925. end
  5926.  
  5927. Commands.endbot = function(args)
  5928. if not args[1] then
  5929. modeFling = false
  5930. modeCompliment = false
  5931. modeMove = false
  5932. modeInfo = false
  5933. else
  5934. if string.lower(tostring(args[1])) == "fling" then
  5935. modeFling = false
  5936. elseif string.lower(tostring(args[1])) == "compliment" then
  5937. modeCompliment = false
  5938. elseif string.lower(tostring(args[1])) == "move" then
  5939. modeMove = false
  5940. elseif string.lower(tostring(args[1])) == "info" then
  5941. modeInfo = false
  5942. end
  5943. end
  5944. end
  5945.  
  5946. Commands.stopsit = function(args)
  5947. stopsitting = true
  5948. end
  5949.  
  5950. Commands.gosit = function(args)
  5951. stopsitting = false
  5952. end
  5953.  
  5954. chattingerror = true
  5955. Commands.chaterror = function(args)
  5956. if chattingerror then
  5957. chattingerror = false
  5958. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(" ", "All")
  5959. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(" ", "All")
  5960. wait(4)
  5961. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(" ", "All")
  5962. wait(3)
  5963. chattingerror = true
  5964. end
  5965. end
  5966.  
  5967. spawnpos = nil
  5968. spawningpos = true
  5969. Commands.spawnpoint = function(args)
  5970. spawnpos = LP.Character.HumanoidRootPart.CFrame
  5971. spawningpos = true
  5972. Notification("info", "Spawn point has been set! Use "..commandPrefix.."nospawn to remove.", 6)
  5973. end
  5974.  
  5975. Commands.nospawn = function(args)
  5976. spawningpos = false
  5977. Notification("info", "Spawn point has been removed. Use "..commandPrefix.."spawnpoint to enable.", 6)
  5978. end
  5979.  
  5980. Commands.bypass = function(args)
  5981. if args[1] then
  5982. if string.lower(tostring(args[1])) == "on" then
  5983. bypassMODE = true
  5984. Notification("warning", "Bypass mode turned on, this changes functions of "..commandPrefix.."fly and other commands to bypass most anti-exploits.", 7)
  5985. elseif string.lower(tostring(args[1])) == "off" then
  5986. bypassMODE = false
  5987. Notification("warning", "Bypass mode has been turned off.", 7)
  5988. end
  5989. end
  5990. end
  5991.  
  5992. Commands.fixcam = function(args)
  5993. gsWorkspace.CurrentCamera:Destroy()
  5994. wait(0.1)
  5995. game:GetService("Workspace").CurrentCamera.CameraSubject = LP.Character.Humanoid
  5996. game:GetService("Workspace").CurrentCamera.CameraType = "Custom"
  5997. LP.CameraMinZoomDistance = 0.5
  5998. LP.CameraMaxZoomDistance = 400
  5999. LP.CameraMode = "Classic"
  6000. LP.DevCameraOcclusionMode = CurrentNormal
  6001. end
  6002.  
  6003. Commands.gotoobj = function(args)
  6004. if args[1] then
  6005. for i,v in pairs(gsWorkspace:GetDescendants()) do
  6006. if string.lower(v.Name) == string.lower(tostring(args[1])) then
  6007. LP.Character.HumanoidRootPart.CFrame = v.CFrame + Vector3.new(0, 3, 0)
  6008. end
  6009. end
  6010. end
  6011. end
  6012.  
  6013. Commands.breakcam = function(args)
  6014. gsWorkspace.CurrentCamera.CameraSubject = LP.Character.Head
  6015. end
  6016.  
  6017. Commands.inviscam = function(args)
  6018. LP.DevCameraOcclusionMode = "Invisicam"
  6019. end
  6020.  
  6021. printobjKEY = ""
  6022. printobjCLICKING = false
  6023. printobjACTIVE = false
  6024.  
  6025. Commands.printobj = function(args)
  6026. if args[1] then
  6027. printobjKEY = string.sub(tostring(args[1]), 1, 1)
  6028. printobjACTIVE = true
  6029. printobjCLICKING = false
  6030. else
  6031. printobjKEY = ""
  6032. printobjACTIVE = true
  6033. printobjCLICKING = true
  6034. end
  6035. end
  6036.  
  6037. Mouse.KeyDown:Connect(function(key)
  6038. if key == printobjKEY and printobjACTIVE == true then
  6039. if Mouse.Target then
  6040. local path = Mouse.Target:GetFullName()
  6041. local getPath = "game:GetService(\"Workspace\")"
  6042. local getSpaces = ""
  6043. local separate = {}
  6044. local a = nil
  6045. for v in string.gmatch(string.sub(path, 10), "[^.]+") do
  6046. if string.match(v, " ") then
  6047. a = "["..v.."]"
  6048. table.insert(separate, a)
  6049. else
  6050. a = "."..v
  6051. table.insert(separate, a)
  6052. end
  6053. getSpaces = table.concat(separate, "")
  6054. end
  6055. local fullPath = getPath..getSpaces
  6056. print(fullPath)
  6057. end
  6058. end
  6059. end)
  6060. Mouse.Button1Down:Connect(function()
  6061. if printobjCLICKING == true and printobjACTIVE == true then
  6062. if Mouse.Target then
  6063. local path = Mouse.Target:GetFullName()
  6064. local getPath = "game:GetService(\"Workspace\")"
  6065. local getSpaces = ""
  6066. local separate = {}
  6067. local a = nil
  6068. for v in string.gmatch(string.sub(path, 10), "[^.]+") do
  6069. if string.match(v, " ") then
  6070. a = "["..v.."]"
  6071. table.insert(separate, a)
  6072. else
  6073. a = "."..v
  6074. table.insert(separate, a)
  6075. end
  6076. getSpaces = table.concat(separate, "")
  6077. end
  6078. local fullPath = getPath..getSpaces
  6079. print(fullPath)
  6080. end
  6081. end
  6082. end)
  6083.  
  6084. Commands.unprintobj = function(args)
  6085. printobjACTIVE = false
  6086. printobjCLICKING = false
  6087. end
  6088.  
  6089. Commands.hotkeyfc = function(args)
  6090. if args[1] then
  6091. if string.lower(tostring(args[1])) == "goto" then
  6092. fchotkeymode = "goto"
  6093. elseif string.lower(tostring(args[1])) == "unfc" then
  6094. fchotkeymode = "unfc"
  6095. end
  6096. fullUpdate()
  6097. end
  6098. end
  6099.  
  6100. Commands.carpet = function(args)
  6101. if args[1] then
  6102. for i,v in pairs(findSinglePlayer(args[1])) do
  6103. if v ~= nil then
  6104. annoying = true
  6105. annplr = v
  6106. local carpetAnimation = Instance.new("Animation")
  6107. carpetAnimation.AnimationId = "rbxassetid://282574440"
  6108. carpetTrack = LP.Character.Humanoid:LoadAnimation(carpetAnimation)
  6109. carpetTrack:Play(.1, 1, 1)
  6110. end
  6111. end
  6112. end
  6113. end
  6114.  
  6115. Commands.uncarpet = function(args)
  6116. annoying = false
  6117. carpetTrack:Stop()
  6118. end
  6119.  
  6120. Commands.brickcreate = function(args)
  6121. if args[1] then
  6122. local createPosition = LP.Character.HumanoidRootPart.CFrame
  6123. if args[2] and args[3] and args[4] then
  6124. createPosition = CFrame.new(Vector3.new(args[2], args[3], args[4]))
  6125. else
  6126. createPosition = LP.Character.HumanoidRootPart.CFrame
  6127. end
  6128. for i = 1, args[1] do
  6129. LP.Character.HumanoidRootPart.CFrame = createPosition
  6130. run(commandPrefix.."blockhats")
  6131. wait(0.2)
  6132. run(commandPrefix.."drophats")
  6133. wait(0.2)
  6134. run(commandPrefix.."reset")
  6135. wait(6)
  6136. end
  6137. end
  6138. end
  6139.  
  6140. Commands.forward = function(args)
  6141. if args[1] then
  6142. forwardSpeed = args[1]
  6143. else
  6144. forwardSpeed = 1
  6145. end
  6146. cmdForward = true
  6147. end
  6148.  
  6149. Commands.unforward = function(args)
  6150. cmdForward = false
  6151. end
  6152.  
  6153. Commands.id = function(args)
  6154. if args[1] then
  6155. for i,v in pairs(findPlayer(args[1])) do
  6156. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(v.Name.." Account ID: "..v.UserId.."!", "All")
  6157. end
  6158. end
  6159. end
  6160.  
  6161. Commands.spinhats = function(args) -- Credit to xFunnieuss
  6162. for i,v in pairs(LP.Character:GetDescendants()) do
  6163. if v:IsA("Accessory") or v:IsA("Hat") then
  6164. local keep = Instance.new("BodyPosition") keep.Parent = v.Handle keep.Name = "no"
  6165. local spin = Instance.new("BodyAngularVelocity") spin.Parent = v.Handle spin.Name = "ha"
  6166. if v.Handle.AccessoryWeld then
  6167. v.Handle.AccessoryWeld:Destroy()
  6168. end
  6169. if args[1] then
  6170. spin.AngularVelocity = Vector3.new(0, args[1], 0)
  6171. spin.MaxTorque = Vector3.new(0, args[1] * 2, 0)
  6172. else
  6173. spin.AngularVelocity = Vector3.new(0, 100, 0)
  6174. spin.MaxTorque = Vector3.new(0, 200, 0)
  6175. end
  6176. keep.P = 30000
  6177. keep.D = 50
  6178. spinObj = keep
  6179. spinTOhead = true
  6180. end
  6181. end
  6182. end
  6183.  
  6184. Commands.unspinhats = function(args)
  6185. for i,v in pairs(LP.Character:GetDescendants()) do
  6186. if v:IsA("Accessory") or v:IsA("Hat") then
  6187. pcall(function()
  6188. run(commandPrefix.."drophats")
  6189. wait(2)
  6190. v.Handle.spin:Destroy()
  6191. v.Handle.keep:Destroy()
  6192. end)
  6193. end
  6194. end
  6195. end
  6196.  
  6197. savedmap = {}
  6198. Commands.savemap = function(args)
  6199. for i,v in pairs(gsWorkspace:GetChildren()) do
  6200. v.Archivable = true
  6201. if not v:IsA("Terrain") and not v:IsA("Camera") then
  6202. if not gsPlayers:FindFirstChild(v.Name) then
  6203. table.insert(savedmap, v:Clone())
  6204. end
  6205. end
  6206. end
  6207. clientSided()
  6208. end
  6209.  
  6210. Commands.loadmap = function(args)
  6211. for i,v in pairs(gsWorkspace:GetChildren()) do
  6212. if not v:IsA("Terrain") and not v:IsA("Camera") then
  6213. if not gsPlayers:FindFirstChild(v.Name) then
  6214. pcall(function()
  6215. v:Destroy()
  6216. end)
  6217. end
  6218. end
  6219. end
  6220. for i,a in ipairs(savedmap) do
  6221. a:Clone().Parent = gsWorkspace
  6222. end
  6223. clientSided()
  6224. end
  6225.  
  6226. Commands.creatorid = function(args)
  6227. LP.UserId = game.CreatorId
  6228. end
  6229.  
  6230. Commands.gameid = function(args)
  6231. Notification("info", "Current game's ID = "..game.GameId, 8)
  6232. end
  6233.  
  6234. Commands.delobj = function(args)
  6235. if args[1] then
  6236. for i,v in pairs(gsWorkspace:GetDescendants()) do
  6237. if string.lower(v.Name) == string.lower(tostring(args[1])) then
  6238. v:Destroy()
  6239. clientSided()
  6240. end
  6241. end
  6242. end
  6243. end
  6244.  
  6245. Commands.glide = function(args)
  6246. if args[1] then
  6247. for i,v in pairs(findSinglePlayer(args[1])) do
  6248. local goal = {}
  6249. goal.CFrame = v.Character.HumanoidRootPart.CFrame
  6250. local defaultSpeed = 3
  6251. if args[2] then
  6252. if tonumber(args[2]) < 10 then
  6253. defaultSpeed = tonumber(args[2])
  6254. else
  6255. defaultSpeed = 5
  6256. end
  6257. else
  6258. defaultSpeed = 3
  6259. end
  6260. local goalFunction = gsTween:Create(LP.Character.HumanoidRootPart, TweenInfo.new(defaultSpeed, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), goal)
  6261. goalFunction:Play()
  6262. end
  6263. end
  6264. end
  6265.  
  6266. stutterON = false
  6267. Commands.stutter = function(args)
  6268. if args[1] then
  6269. if string.lower(tostring(args[1])) == "on" then
  6270. stutterON = true
  6271. elseif string.lower(tostring(args[1])) == "off" then
  6272. stutterON = false
  6273. wait(0.4)
  6274. LP.Character.HumanoidRootPart.Anchored = false
  6275. end
  6276. end
  6277. end
  6278.  
  6279. spawn(function()
  6280. while wait(0.1) do
  6281. if stutterON == true then
  6282. LP.Character.HumanoidRootPart.Anchored = false
  6283. wait(0.1)
  6284. LP.Character.HumanoidRootPart.Anchored = true
  6285. end
  6286. end
  6287. end)
  6288.  
  6289. Commands.platform = function(args)
  6290. local a = Instance.new("Part")
  6291. a.Parent = gsWorkspace
  6292. a.Size = Vector3.new(10, 1, 10)
  6293. a.Anchored = true
  6294. a.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 5, 0)
  6295. LP.Character.HumanoidRootPart.CFrame = a.CFrame + Vector3.new(0, 2, 0)
  6296. clientSided()
  6297. wait(20)
  6298. a:Destroy()
  6299. end
  6300.  
  6301. Commands.servertime = function(args)
  6302. Notification("info", "Server time is "..math.ceil(tonumber(gsWorkspace.DistributedGameTime)).." seconds.", 8)
  6303. end
  6304.  
  6305. Commands.ride = function(args)
  6306. if args[1] then
  6307. for i,v in pairs(findSinglePlayer(args[1])) do
  6308. local Anim = Instance.new("Animation")
  6309. Anim.AnimationId = "rbxassetid://179224234"
  6310. RIDEtrack = LP.Character.Humanoid:LoadAnimation(Anim)
  6311. rideACTIVE = true
  6312. ridePLAYER = v
  6313. RIDEtrack:Play()
  6314. end
  6315. end
  6316. end
  6317.  
  6318. Commands.unride = function(args)
  6319. RIDEtrack:Stop()
  6320. rideACTIVE = false
  6321. end
  6322.  
  6323. Commands.cmute = function(args)
  6324. if args[1] then
  6325. for i,v in pairs(findSinglePlayer(args[1])) do
  6326. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/mute "..v.Name, "All")
  6327. clientSided()
  6328. end
  6329. end
  6330. end
  6331.  
  6332. Commands.uncmute = function(args)
  6333. if args[1] then
  6334. for i,v in pairs(findSinglePlayer(args[1])) do
  6335. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/unmute "..v.Name, "All")
  6336. end
  6337. end
  6338. end
  6339.  
  6340. Commands.hat = function(args)
  6341. if args[1] then
  6342. for i,v in pairs(findSinglePlayer(args[1])) do
  6343. local Anim = Instance.new("Animation")
  6344. Anim.AnimationId = "rbxassetid://282574440"
  6345. HATtrack = LP.Character.Humanoid:LoadAnimation(Anim)
  6346. rideACTIVE = true
  6347. ridePLAYER = v
  6348. HATtrack:Play()
  6349. view(v)
  6350. end
  6351. end
  6352. end
  6353.  
  6354. Commands.unhat = function(args)
  6355. HATtrack:Stop()
  6356. rideACTIVE = false
  6357. view(LP)
  6358. end
  6359.  
  6360. --[[Commands.spawnreset = function(args)
  6361. if args[1] then
  6362. if string.lower(tostring(args[1])) == "on" then
  6363. spawningatreset = true
  6364. elseif string.lower(tostring(args[1])) == "off" then
  6365. spawningatreset = false
  6366. end
  6367. end
  6368. end]]
  6369.  
  6370. Commands.chat = function(args)
  6371. if args[1] then
  6372. local Chatmsg = table.concat(args, " ")
  6373. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Chatmsg, "All")
  6374. end
  6375. end
  6376.  
  6377. -- findPlayer function (ALL, OTHERS, ME, NOOBS, VETERANS, OLDVETERANS, FRIENDS, NOFRIENDS, DEFAULT, RANDOM, SAMETEAM, NOTEAM, OTHERTEAM, TEAMname)
  6378. function findPlayer(plr)
  6379. local players = {}
  6380. local find = plr:lower()
  6381. local getAllNames = getmultipleplayers(find)
  6382. for i,mplr in pairs(getAllNames) do
  6383. if mplr == "all" then
  6384. for i,v in pairs(gsPlayers:GetPlayers()) do
  6385. table.insert(players,v)
  6386. end
  6387. elseif mplr == "others" then
  6388. for i,v in pairs(gsPlayers:GetPlayers()) do
  6389. if v.Name ~= LP.Name then
  6390. table.insert(players,v)
  6391. end
  6392. end
  6393. elseif mplr == "me" then
  6394. table.insert(players,LP)
  6395. elseif mplr == "noobs" then
  6396. for i,v in pairs(gsPlayers:GetPlayers()) do
  6397. if v.AccountAge <= 3 then
  6398. table.insert(players,v)
  6399. end
  6400. end
  6401. elseif mplr == "veterans" then
  6402. for i,v in pairs(gsPlayers:GetPlayers()) do
  6403. if v.AccountAge >= 365 then
  6404. table.insert(players,v)
  6405. end
  6406. end
  6407. elseif mplr == "oldveterans" then
  6408. for i,v in pairs(gsPlayers:GetPlayers()) do
  6409. if v.AccountAge >= 1500 then
  6410. table.insert(players,v)
  6411. end
  6412. end
  6413. elseif mplr == "friends" then
  6414. for i,v in pairs(gsPlayers:GetPlayers()) do
  6415. if v:IsFriendsWith(LP.UserId) and v.Name ~= LP.Name then
  6416. table.insert(players,v)
  6417. end
  6418. end
  6419. elseif mplr == "nofriends" then
  6420. for i,v in pairs(gsPlayers:GetPlayers()) do
  6421. if not v:IsFriendsWith(LP.UserId) and v.Name ~= LP.Name then
  6422. table.insert(players,v)
  6423. end
  6424. end
  6425. elseif mplr == "default" then
  6426. for i,v in pairs(gsPlayers:GetPlayers()) do
  6427. if v.Character:FindFirstChild("Pal Hair") or v.Character:FindFirstChild("Kate Hair") then
  6428. table.insert(players,v)
  6429. end
  6430. end
  6431. elseif mplr == "random" then
  6432. for i,v in pairs(gsPlayers:GetPlayers()) do
  6433. table.insert(players,v[math.random(1, #v)])
  6434. end
  6435. elseif mplr == "sameteam" then
  6436. for i,v in pairs(gsPlayers:GetPlayers()) do
  6437. if v.Team == LP.Team then
  6438. table.insert(players,v)
  6439. end
  6440. end
  6441. elseif mplr == "noteam" then
  6442. for i,v in pairs(gsPlayers:GetPlayers()) do
  6443. if v.Team == nil then
  6444. table.insert(players,v)
  6445. end
  6446. end
  6447. elseif mplr == "otherteam" then
  6448. for i,v in pairs(gsPlayers:GetPlayers()) do
  6449. if v.Team ~= LP.Team then
  6450. table.insert(players,v)
  6451. end
  6452. end
  6453. elseif string.sub(mplr, 1, 4) == "team" then
  6454. for i,v in pairs(gsPlayers:GetPlayers()) do
  6455. local spaceTEAM = {}
  6456. for teamValues in (string.gmatch(string.sub(mplr, 5), "[^_]+")) do
  6457. spaceTEAM[#spaceTEAM + 1] = teamValues
  6458. end
  6459. local gottrueteam = table.concat(spaceTEAM, " ")
  6460. if string.lower(tostring(v.Team)) == string.lower(gottrueteam) then
  6461. table.insert(players,v)
  6462. end
  6463. end
  6464. else
  6465. for i,v in pairs(gsPlayers:GetPlayers()) do
  6466. if string.lower(v.Name):sub(1, #mplr) == string.lower(mplr) then
  6467. table.insert(players,v)
  6468. end
  6469. end
  6470. end
  6471. end
  6472.  
  6473. return players
  6474. end
  6475. function getmultipleplayers(plr)
  6476. local plrsgotten = {}
  6477. for i in string.gmatch(plr,"[^,]+") do
  6478. table.insert(plrsgotten,i)
  6479. end
  6480. return plrsgotten
  6481. end
  6482. function findSinglePlayer(plr)
  6483. local players = {}
  6484. local find = plr:lower()
  6485. if find == "me" then
  6486. table.insert(players,LP)
  6487. else
  6488. for i,v in pairs(gsPlayers:GetPlayers()) do
  6489. if string.lower(v.Name):sub(1, #find) == string.lower(find) then
  6490. table.insert(players,v)
  6491. end
  6492. end
  6493. end
  6494. local oneplayer = {}
  6495. pcall(function()
  6496. table.insert(oneplayer, players[math.random(1, #players)])
  6497. end)
  6498. return oneplayer
  6499. end
  6500.  
  6501. -- Anti Kick
  6502.  
  6503. if getrawmetatable then
  6504. function formatargs(getArgs,v)
  6505. if #getArgs == 0 then
  6506. return ""
  6507. end
  6508.  
  6509. local collectArgs = {}
  6510. for k,v in next,getArgs do
  6511. local argument = ""
  6512. if type(v) == "string" then
  6513. argument = "\""..v.."\""
  6514. elseif type(v) == "table" then
  6515. argument = "{" .. formatargs(v,true) .. "}"
  6516. else
  6517. argument = tostring(v)
  6518. end
  6519. if v and type(k) ~= "number" then
  6520. table.insert(collectArgs,k.."="..argument)
  6521. else
  6522. table.insert(collectArgs,argument)
  6523. end
  6524. end
  6525. return table.concat(collectArgs, ", ")
  6526. end
  6527.  
  6528. kicknum = 0
  6529. local game_meta = getrawmetatable(game)
  6530. local game_namecall = game_meta.__namecall
  6531. local game_index = game_meta.__index
  6532. local w = (setreadonly or fullaccess or make_writeable)
  6533. pcall(w, game_meta, false)
  6534. game_meta.__namecall = function(out, ...)
  6535. local args = {...}
  6536. local Method = args[#args]
  6537. args[#args] = nil
  6538.  
  6539. if Method == "Kick" and out == LP then
  6540. kicknum = kicknum + 1
  6541. warn("Blocked client-kick attempt "..kicknum)
  6542. return
  6543. end
  6544.  
  6545. if antiremotes then
  6546. if Method == "FireServer" or Method == "InvokeServer" then
  6547. if out.Name ~= "CharacterSoundEvent" and out.Name ~= "SayMessageRequest" and out.Name ~= "AddCharacterLoadedEvent" and out.Name ~= "RemoveCharacterEvent" and out.Name ~= "DefaultServerSoundEvent" and out.Parent ~= "DefaultChatSystemChatEvents" then
  6548. warn("Blocked remote: "..out.Name.." // Method: "..Method)
  6549. return
  6550. end
  6551. end
  6552. else
  6553. if Method == "FireServer" or Method == "InvokeServer" then
  6554. for i,noremote in pairs(blockedremotes) do
  6555. if out.Name == noremote and out.Name ~= "SayMessageRequest" then
  6556. warn("Blocked remote: "..out.Name.." // Method: "..Method)
  6557. return
  6558. end
  6559. end
  6560. end
  6561. end
  6562.  
  6563. if spyingremotes then
  6564. if Method == "FireServer" or Method == "InvokeServer" then
  6565. if out.Name ~= "CharacterSoundEvent" and out.Name ~= "AddCharacterLoadedEvent" and out.Name ~= "RemoveCharacterEvent" and out.Name ~= "DefaultServerSoundEvent" and out.Name ~= "SayMessageRequest" then
  6566. local arguments = {}
  6567. for i = 1,#args do
  6568. arguments[i] = args[i]
  6569. end
  6570. local getScript = getfenv(2).script
  6571. if getScript == nil then
  6572. getScript = "??? (Not Found) ???"
  6573. end
  6574. warn("<> <> <> A "..out.ClassName.." has been fired! How to fire:\ngame."..out:GetFullName()..":"..Method.."("..formatargs(arguments)..")\n\nFired from script: ".. tostring(getScript:GetFullName()))
  6575. end
  6576. end
  6577. end
  6578.  
  6579. return game_namecall(out, ...)
  6580. end
  6581. end
  6582.  
  6583. -- FE Check
  6584. function FEcheckDefault()
  6585. if gsWorkspace.FilteringEnabled == true then
  6586. createIntro("warning", "FE is enabled! Press "..commandPrefix.." to bring Command Bar.", 7)
  6587. else
  6588. createIntro("warning", "FE is disabled. Consider using a different script.", 7)
  6589. end
  6590. end
  6591. FEcheckDefault()
  6592. end)
  6593.  
  6594. CycBot.Name = "Cyc Bot"
  6595. CycBot.Parent = _1
  6596. CycBot.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  6597. CycBot.BorderSizePixel = 2
  6598. CycBot.Position = UDim2.new(7.00000048, 0, 0.809523821, 0)
  6599. CycBot.Size = UDim2.new(0, 100, 0, 25)
  6600. CycBot.Font = Enum.Font.SourceSansItalic
  6601. CycBot.Text = "Cyc Bot."
  6602. CycBot.TextColor3 = Color3.new(1, 1, 1)
  6603. CycBot.TextSize = 20
  6604. CycBot.MouseButton1Down:connect(function()
  6605. --Script by CyclicaIIy
  6606. --main data
  6607. players = game:GetService("Players"):GetPlayers()
  6608. LocalPlayer = game:GetService("Players").LocalPlayer
  6609. admins = {"destruidorplays", "Persuno"}
  6610. table.insert(admins, LocalPlayer.Name)
  6611. delay = false
  6612. botname = "Cyclic"
  6613. botver = "V2.5"
  6614. delaysec = 1.5
  6615. cmdsec = 6
  6616. announcement = true
  6617. --stuff
  6618. script = ""
  6619. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: CyclicaIIy's Bot Remake "..botver.." has been activated! say ;cmds for commands.","All")
  6620. updatelog1 = "Update log 1: 4 new comamnd sections and 10 new commands! the ;age command is now replaced by ;playerinfo"
  6621. updatelog2 = "Update log 2: Some few bug fixes and commands optimization"
  6622. updatelog3 = "Update log 3: Added ;medic, ;dhbot, ;announcement. ;addstack, ;clearstack, ;runstack is soon to be added!"
  6623. --hook admin chat
  6624. mainhook = [[
  6625. for _, player in pairs(players) do
  6626.  
  6627. ]]
  6628. mainchat = [[
  6629. local function shortcutsay()
  6630. if Target == "me" then
  6631. Target = player.Name
  6632. elseif Target == "random" then
  6633. repeat
  6634. Target = players[math.random(1, #players)].Name
  6635. until Target ~= player.Name
  6636. end
  6637. if playername == "me" then
  6638. playername = player.Name
  6639. elseif playername == "random" then
  6640. repeat
  6641. playername = players[math.random(1, #players)].Name
  6642. until playername ~= player.Name
  6643. end
  6644. if TP1 == "me" then
  6645. TP1 = player.Name
  6646. elseif TP1 == "random" then
  6647. repeat
  6648. TP1 = players[math.random(1, #players)].Name
  6649. until TP1 ~= player.Name
  6650. end
  6651. end
  6652. local function fefix()
  6653. local a1 = Instance.new("Model", workspace)
  6654. local a2 = Instance.new("Part", a1)
  6655. a2.CanCollide = true
  6656. a2.Anchored = true
  6657. a2.CFrame = CFrame.new(10000, 10000, 10000)
  6658. a2.Name = "Torso"
  6659. local a3 = Instance.new("Humanoid", a1)
  6660. a3.MaxHealth = 100;a3.Health = 100
  6661. LocalPlayer.Character = a1
  6662. a3.Health = 0
  6663. end
  6664. player.Chatted:connect(function(msg)
  6665. players = game:GetService("Players"):GetPlayers()
  6666.  
  6667. ]]
  6668. mainscript = [[
  6669. for i = 1, #admins do
  6670. if player.Name == admins[i] then
  6671. if msg:sub(1, 1) == ";" then
  6672. wait()
  6673. if delay == false then
  6674. --command functions
  6675. if msg:sub(1, 8) == ";namebot" then
  6676. check = msg:sub(10, #msg)
  6677. if string.len(check) > 10 then
  6678. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Bot name is too long!","All")
  6679. else
  6680. botname = check
  6681. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Bot name now set!","All")
  6682. end
  6683. end
  6684. if msg:sub(1, 9) == ";botbring" then
  6685. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6686. game:GetService("Players").LocalPlayer.Character:MoveTo(player.Character.Torso.Position)
  6687. end
  6688. if msg:sub(1, 7) == ";follow" then
  6689. playername = msg:sub(9, #msg)
  6690. shortcutsay()
  6691. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Following "..playername..", the follow cmd will stop soon!","All")
  6692. for i=1, 20 do
  6693. LocalPlayer.Character.Humanoid:MoveTo(game:GetService("Players")[playername].Character.Torso.Position)
  6694. LocalPlayer.Character.Humanoid.MoveToFinished:Wait()
  6695. if i == 20 then
  6696. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Following "..playername.." has stopped!","All")
  6697. end
  6698. end
  6699. end
  6700. if msg:sub(1, 5) == ";cmds" then
  6701. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Since the command list is too long, I've divided them into sections: ;1cmds, ;2cmds, ;3cmds, ;4cmds, ;5cmds, ;6cmds, ;fencingcmds, ;ownercmds, ;scriptcmds","All")
  6702. end
  6703. if msg:sub(1, 6) == ";1cmds" then
  6704. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Section 1 out of "..cmdsec.." command list: ;follow [playername], ;floathead, ;dab [speed], ;spam [string], ;kill [playername], ;fix, ;updatelogs","All")
  6705. end
  6706. if msg:sub(1, 6) == ";2cmds" then
  6707. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Section 2 out of "..cmdsec.." command list: ;levitate, ;slam, ;faint, ;spinarm [speed], ;bowdown, ;armdetach, ;weirdmove, ;dinowalk, ;swim, ;tpbot [Position], ;fegod, ;info","All")
  6708. end
  6709. if msg:sub(1, 6) == ";3cmds" then
  6710. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Section 3 out of "..cmdsec.." command list: ;trueorfalse [question], ;tpto [playername], ;blockhats, ;drophats, ;dance [speed], ;spin [speed], ;jumpingjacks [speed], ;credits","All")
  6711. end
  6712. if msg:sub(1, 6) == ";4cmds" then
  6713. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Section 4 out of "..cmdsec.." command list: ;bring, ;namebot [string], ;say [string], ;botbring, ;listadmin, ;get [playername], ;walkbot [position]","All")
  6714. end
  6715. if msg:sub(1, 6) == ";5cmds" then
  6716. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Section 5 out of "..cmdsec.." command list: ;random [number], ;reversesay [string], ;runscript [script], ;oof, ;attach [playername], ;playerlist, ;orbit [playername]","All")
  6717. end
  6718. if msg:sub(1, 6) == ";6cmds" then
  6719. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Section 6 out of "..cmdsec.." command list: ;sitbot, ;jumpbot, ;playerinfo [playername], ;stopanim, ;animid [animationid]","All")
  6720. end
  6721. if msg:sub(1, 13) == ";fencingcmds" then
  6722. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Fencing command list: ;paintdrop, ;brickdrop, ;jail [playername], ;groundfreeze [playername], ;medic [playername], ;dhbot","All")
  6723. end
  6724. if msg:sub(1, 11) == ";scriptcmds" then
  6725. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Script command list: ;runstack, ;addstack [script], ;clearstack. --NOTE THIS COMMANDS ARE COMING SOON!","All")
  6726. end
  6727. if msg:sub(1, 13) == ";ownercmds" then
  6728. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Owner command list: ;admin [playername], ;unadmin [playername], ;delayset [number], ;announcement [true/false]","All")
  6729. end
  6730. if msg:sub(1, 11) == ";updatelog1" then
  6731. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..updatelog1,"All")
  6732. end
  6733. if msg:sub(1, 11) == ";updatelog2" then
  6734. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..updatelog2,"All")
  6735. end
  6736. if msg:sub(1, 11) == ";updatelog3" then
  6737. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..updatelog3,"All")
  6738. end
  6739. if msg:sub(1, 11) == ";updatelogs" then
  6740. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Update logs: ;updatelog1, ;updatelog2, ;updatelog3","All")
  6741. end
  6742. if msg:sub(1, 4) == ";say" then
  6743. say = msg:sub(6, #msg)
  6744. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..say,"All")
  6745. end
  6746. if msg:sub(1, 11) == ";playerinfo" then
  6747. playername = msg:sub(13, #msg)
  6748. shortcutsay()
  6749. plrinf = game:GetService("Players")[say]
  6750. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Player ID: "..plrinf.UserIsd..", Age: "..plrinf.AccountAge,"All")
  6751. end
  6752. if msg:sub(1, 4) == ";dab" then
  6753. speed = msg:sub(6, #msg)
  6754. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6755. AnimationId = "248263260"
  6756. Anim = Instance.new("Animation")
  6757. Anim.AnimationId = "rbxassetid://"..AnimationId
  6758. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  6759. k:Play()
  6760. k:AdjustSpeed(speed)
  6761. end
  6762. if msg:sub(1, 6) == ";dance" then
  6763. speed = msg:sub(8, #msg)
  6764. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6765. AnimationId = "33796059"
  6766. Anim = Instance.new("Animation")
  6767. Anim.AnimationId = "rbxassetid://"..AnimationId
  6768. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  6769. k:Play()
  6770. k:AdjustSpeed(speed)
  6771. end
  6772. if msg:sub(1, 5) == ";spin" then
  6773. speed = msg:sub(7, #msg)
  6774. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6775. AnimationId = "188632011"
  6776. Anim = Instance.new("Animation")
  6777. Anim.AnimationId = "rbxassetid://"..AnimationId
  6778. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  6779. k.Looped = true
  6780. k:Play()
  6781. k:AdjustSpeed(speed)
  6782. end
  6783. if msg:sub(1, 10) == ";floathead" then
  6784. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6785. AnimationId = "121572214"
  6786. Anim = Instance.new("Animation")
  6787. Anim.AnimationId = "rbxassetid://"..AnimationId
  6788. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  6789. k:Play()
  6790. k:AdjustSpeed(1)
  6791. end
  6792. if msg:sub(1, 13) == ";jumpingjacks" then
  6793. speed = msg:sub(15, #msg)
  6794. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6795. AnimationId = "429681631"
  6796. Anim = Instance.new("Animation")
  6797. Anim.AnimationId = "rbxassetid://"..AnimationId
  6798. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  6799. k:Play()
  6800. k:AdjustSpeed(speed)
  6801. end
  6802. if msg:sub(1, 5) == ";slam" then
  6803. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6804. AnimationId = "184574340"
  6805. Anim = Instance.new("Animation")
  6806. Anim.AnimationId = "rbxassetid://"..AnimationId
  6807. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  6808. k:Play()
  6809. k:AdjustSpeed(1)
  6810. end
  6811. if msg:sub(1, 6) == ";faint" then
  6812. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6813. AnimationId = "181526230"
  6814. Anim = Instance.new("Animation")
  6815. Anim.AnimationId = "rbxassetid://"..AnimationId
  6816. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  6817. k:Play()
  6818. k:AdjustSpeed(1)
  6819. end
  6820. if msg:sub(1, 9) == ";levitate" then
  6821. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6822. AnimationId = "313762630"
  6823. Anim = Instance.new("Animation")
  6824. Anim.AnimationId = "rbxassetid://"..AnimationId
  6825. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  6826. k:Play()
  6827. k:AdjustSpeed(1)
  6828. end
  6829. if msg:sub(1, 8) == ";bowdown" then
  6830. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6831. AnimationId = "204292303"
  6832. Anim = Instance.new("Animation")
  6833. Anim.AnimationId = "rbxassetid://"..AnimationId
  6834. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  6835. k:Play()
  6836. k:AdjustSpeed(1)
  6837. end
  6838. if msg:sub(1, 8) == ";spinarm" then
  6839. speed = msg:sub(10, #msg)
  6840. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6841. AnimationId = "259438880"
  6842. Anim = Instance.new("Animation")
  6843. Anim.AnimationId = "rbxassetid://"..AnimationId
  6844. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  6845. k:Play()
  6846. k:AdjustSpeed(speed)
  6847. end
  6848. if msg:sub(1, 10) == ";armdetach" then
  6849. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6850. AnimationId = "33169583"
  6851. Anim = Instance.new("Animation")
  6852. Anim.AnimationId = "rbxassetid://"..AnimationId
  6853. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  6854. k:Play()
  6855. k:AdjustSpeed(0.3)
  6856. end
  6857. if msg:sub(1, 10) == ";weirdmove" then
  6858. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6859. AnimationId = "215384594"
  6860. Anim = Instance.new("Animation")
  6861. Anim.AnimationId = "rbxassetid://"..AnimationId
  6862. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  6863. k:Play()
  6864. k:AdjustSpeed(1)
  6865. end
  6866. if msg:sub(1, 9) == ";dinowalk" then
  6867. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6868. AnimationId = "204328711"
  6869. Anim = Instance.new("Animation")
  6870. Anim.AnimationId = "rbxassetid://"..AnimationId
  6871. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  6872. k:Play()
  6873. k:AdjustSpeed(1)
  6874. end
  6875. if msg:sub(1, 5) == ";swim" then
  6876. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6877. AnimationId = "282574440"
  6878. Anim = Instance.new("Animation")
  6879. Anim.AnimationId = "rbxassetid://"..AnimationId
  6880. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  6881. k:Play()
  6882. k:AdjustSpeed(1)
  6883. end
  6884. if msg:sub(1, 6) == ";tpbot" then
  6885. position = msg:sub(8, #msg)
  6886. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6887. LocalPlayer.Character:MoveTo(position)
  6888. end
  6889. if msg:sub(1, 8) == ";walkbot" then
  6890. position = msg:sub(10, #msg)
  6891. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6892. LocalPlayer.Character.Humanoid:MoveTo(position)
  6893. end
  6894. if msg:sub(1, 6) == ";fegod" then
  6895. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6896. LocalPlayer.Character.Humanoid:Destroy()
  6897. Instance.new("Humanoid", LocalPlayer.Character)
  6898. end
  6899. if msg:sub(1, 10) == ";blockhats" then
  6900. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  6901. for _,v in pairs(LocalPlayer.Character:GetChildren()) do
  6902. if (v:IsA("Accessory")) then
  6903. v.Handle.Mesh:remove()
  6904. end
  6905. end
  6906. end
  6907. if msg:sub(1, 12) == ";trueorfalse" then
  6908. say = msg:sub(14, #msg)
  6909. if math.random(1, 2) == 1 then
  6910. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: True","All")
  6911. else
  6912. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: False","All")
  6913. end
  6914. end
  6915. if msg:sub(1, 5) == ";tpto" then
  6916. playername = msg:sub(7, #msg)
  6917. shortcutsay()
  6918. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Teleporting bot to "..playername,"All")
  6919. LocalPlayer.Character:MoveTo(game:GetService("Players")[playername].Character.Torso.Position)
  6920. end
  6921. if msg:sub(1, 8) == ";credits" then
  6922. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: The creator of this bot is CyclicaIIy!","All")
  6923. end
  6924. if msg:sub(1, 5) == ";info" then
  6925. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Bot version "..botver..", Bot made by CyclicaIIy and has over 200 cmds!","All")
  6926. end
  6927. if msg:sub(1, 5) == ";spam" then
  6928. say = msg:sub(7, #msg)
  6929. for i=1, 5 do
  6930. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..say,"All")
  6931. end
  6932. end
  6933. if msg:sub(1, 5) == ";kill" then
  6934. Target = msg:sub(7, #msg)
  6935. shortcutsay()
  6936. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Killing "..Target,"All")
  6937. LocalPlayer.Character.Humanoid.Name = 1
  6938. local l = LocalPlayer.Character["1"]:Clone()
  6939. l.Parent = LocalPlayer.Character
  6940. l.Name = "Humanoid"
  6941. wait(0.1)
  6942. LocalPlayer.Character["1"]:Destroy()
  6943. game.Workspace.CurrentCamera.CameraSubject = LocalPlayer.Character
  6944. LocalPlayer.Character.Animate.Disabled = true
  6945. wait(0.1)
  6946. LocalPlayer.Character.Animate.Disabled = false
  6947. LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  6948. for i,v in pairs(LocalPlayer.Backpack:GetChildren())do
  6949. LocalPlayer.Character.Humanoid:EquipTool(v)
  6950. end
  6951. wait(0.1)
  6952. LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
  6953. wait(0.1)
  6954. LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
  6955. wait(0.2)
  6956. LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-10000,-100, -10000))
  6957. wait(0.5)
  6958. fefix()
  6959. end
  6960. if msg:sub(1, 4) == ";fix" then
  6961. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Fixing bot...","All")
  6962. LocalPlayer.Character.Humanoid.Name = 1
  6963. local l = LocalPlayer.Character["1"]:Clone()
  6964. l.Parent = LocalPlayer.Character
  6965. l.Name = "Humanoid"
  6966. wait(0.1)
  6967. LocalPlayer.Character["1"]:Destroy()
  6968. game.Workspace.CurrentCamera.CameraSubject = LocalPlayer.Character
  6969. LocalPlayer.Character.Animate.Disabled = true
  6970. wait(0.1)
  6971. LocalPlayer.Character.Animate.Disabled = false
  6972. LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  6973. local a1 = Instance.new("Model", workspace)
  6974. local a2 = Instance.new("Part", a1)
  6975. a2.CanCollide = true
  6976. a2.Anchored = true
  6977. a2.CFrame = CFrame.new(10000, 10000, 10000)
  6978. a2.Name = "Torso"
  6979. local a3 = Instance.new("Humanoid", a1)
  6980. a3.MaxHealth = 100;a3.Health = 100
  6981. LocalPlayer.Character = a1
  6982. a3.Health = 0
  6983. end
  6984. if msg:sub(1, 6) == ";bring" then
  6985. TP1 = msg:sub(8, #msg)
  6986. shortcutsay()
  6987. TP2 = player.Name
  6988. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Teleporting "..TP1.." to "..TP2,"All")
  6989. game.Players.LocalPlayer.Character.Humanoid.Name = 1
  6990. local l = game.Players.LocalPlayer.Character["1"]:Clone()
  6991. l.Parent = game.Players.LocalPlayer.Character
  6992. l.Name = "Humanoid"
  6993. wait(0.1)
  6994. game.Players.LocalPlayer.Character["1"]:Destroy()
  6995. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  6996. game.Players.LocalPlayer.Character.Animate.Disabled = true
  6997. wait(0.1)
  6998. game.Players.LocalPlayer.Character.Animate.Disabled = false
  6999. game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  7000. for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  7001. game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
  7002. end
  7003. local function tp(player,player2)
  7004. local char1,char2=player.Character,player2.Character
  7005. if char1 and char2 then
  7006. char1:MoveTo(char2.Head.Position)
  7007. end
  7008. end
  7009. wait(0.1)
  7010. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[TP1].Character.HumanoidRootPart.CFrame
  7011. wait(0.5)
  7012. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[TP2].Character.HumanoidRootPart.CFrame
  7013. wait(0.2)
  7014. tp(game.Players.LocalPlayer,game.Players[TP2])
  7015. wait(0.5)
  7016. fefix()
  7017. end
  7018. if msg:sub(1, 10) == ";listadmin" then
  7019. adminlist = table.concat(admins, ", ")
  7020. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..adminlist,"All")
  7021. end
  7022. if msg:sub(1, 6) == ";admin" then
  7023. if player.Name == LocalPlayer.Name then
  7024. newadmin = msg:sub(8, #msg)
  7025. for i, player in pairs(players) do
  7026. if player.Name == newadmin then
  7027. table.insert(admins, newadmin)
  7028. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..newadmin.." is now an admin","All")
  7029. end
  7030. end
  7031. else
  7032. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Only the owner can use this command!","All")
  7033. end
  7034. end
  7035. if msg:sub(1, 8) == ";unadmin" then
  7036. if player.Name == LocalPlayer.Name then
  7037. playername = msg:sub(10, #msg)
  7038. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Removing "..remove.." from the admin list","All")
  7039. table.remove(admins, remove)
  7040. else
  7041. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Only the owner can use this command!","All")
  7042. end
  7043. end
  7044. if msg:sub(1, 4) == ";get" then
  7045. Target = msg:sub(6, #msg)
  7046. shortcutsay()
  7047. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Teleporting "..Target.." to the bot","All")
  7048. NOW = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  7049. game.Players.LocalPlayer.Character.Humanoid.Name = 1
  7050. local l = game.Players.LocalPlayer.Character["1"]:Clone()
  7051. l.Parent = game.Players.LocalPlayer.Character
  7052. l.Name = "Humanoid"
  7053. wait(0.1)
  7054. game.Players.LocalPlayer.Character["1"]:Destroy()
  7055. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  7056. game.Players.LocalPlayer.Character.Animate.Disabled = true
  7057. wait(0.1)
  7058. game.Players.LocalPlayer.Character.Animate.Disabled = false
  7059. game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  7060. for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  7061. game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
  7062. end
  7063. local function tp(player,player2)
  7064. local char1,char2=player.Character,player2.Character
  7065. if char1 and char2 then
  7066. char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
  7067. end
  7068. end
  7069. local function getout(player,player2)
  7070. local char1,char2=player.Character,player2.Character
  7071. if char1 and char2 then
  7072. char1:MoveTo(char2.Head.Position)
  7073. end
  7074. end
  7075. tp(game.Players[Target], game.Players.LocalPlayer)
  7076. wait(0.1)
  7077. tp(game.Players[Target], game.Players.LocalPlayer)
  7078. wait(0.3)
  7079. getout(game.Players.LocalPlayer, game.Players[Target])
  7080. wait(0.2)
  7081. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = NOW
  7082. end
  7083. if msg:sub(1, 7) == ";random" then
  7084. rand = math.random(msg:sub(9, #msg))
  7085. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..rand,"All")
  7086. end
  7087. if msg:sub(1, 11) == ";reversesay" then
  7088. say = string.reverse(msg:sub(13, #msg))
  7089. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..say,"All")
  7090. end
  7091. if msg:sub(1, 10) == ";runscript" then
  7092. script = msg:sub(12, #msg)
  7093. loadstring("LocalPlayer = game.Players.LocalPlayer")()
  7094. loadstring("LocalCharacter = LocalPlayer.Character")()
  7095. loadstring("LocalHumanoid = LocalCharacter.Humanoid")()
  7096. loadstring(script)()
  7097. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Running script...","All")
  7098. end
  7099. if msg:sub(1, 4) == ";oof" then
  7100. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  7101. for i, v in pairs(players) do
  7102. v.Character.Head.Died.Playing = true
  7103. end
  7104. end
  7105. if msg:sub(1, 7) == ";attach" then
  7106. Target = msg:sub(9, #msg)
  7107. shortcutsay()
  7108. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Attaching to "..Target,"All")
  7109. LocalPlayer.Character.Humanoid.Name = 1
  7110. local l = LocalPlayer.Character["1"]:Clone()
  7111. l.Parent = LocalPlayer.Character
  7112. l.Name = "Humanoid"
  7113. wait(0.1)
  7114. LocalPlayer.Character["1"]:Destroy()
  7115. game.Workspace.CurrentCamera.CameraSubject = LocalPlayer.Character
  7116. LocalPlayer.Character.Animate.Disabled = true
  7117. wait(0.1)
  7118. LocalPlayer.Character.Animate.Disabled = false
  7119. LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  7120. for i,v in pairs(LocalPlayer.Backpack:GetChildren())do
  7121. LocalPlayer.Character.Humanoid:EquipTool(v)
  7122. end
  7123. wait(0.1)
  7124. LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
  7125. wait(0.1)
  7126. LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
  7127. end
  7128. if msg:sub(1, 11) == ";playerlist" then
  7129. playertable = {}
  7130. for _, player in pairs(game:GetService("Players"):GetPlayers()) do
  7131. table.insert(playertable, player.Name)
  7132. end
  7133. playerlist = table.concat(playertable, ", ")
  7134. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: "..playerlist,"All")
  7135. end
  7136. if msg:sub(1, 8) == ";skydive" then
  7137. Target = msg:sub(10, #msg)
  7138. shortcutsay()
  7139. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Skydiving "..Target,"All")
  7140. LocalPlayer.Character.Humanoid.Name = 1
  7141. local l = LocalPlayer.Character["1"]:Clone()
  7142. l.Parent = LocalPlayer.Character
  7143. l.Name = "Humanoid"
  7144. wait(0.1)
  7145. LocalPlayer.Character["1"]:Destroy()
  7146. game.Workspace.CurrentCamera.CameraSubject = LocalPlayer.Character
  7147. LocalPlayer.Character.Animate.Disabled = true
  7148. wait(0.1)
  7149. LocalPlayer.Character.Animate.Disabled = false
  7150. LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  7151. for i,v in pairs(LocalPlayer.Backpack:GetChildren())do
  7152. LocalPlayer.Character.Humanoid:EquipTool(v)
  7153. end
  7154. wait(0.1)
  7155. LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
  7156. wait(0.1)
  7157. LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
  7158. wait(0.2)
  7159. LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(game:GetService("Players")[Target].Character.Torso.Position.X, game:GetService("Players")[Target].Character.Torso.Position.Y + 10000, game:GetService("Players")[Target].Character.Torso.Position.Z))
  7160. wait(0.5)
  7161. fefix()
  7162. end
  7163. if msg:sub(1, 6) == ";orbit" then
  7164. Target = msg:sub(8, #msg)
  7165. shortcutsay()
  7166. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Orbitting "..Target,"All")
  7167. rp = Instance.new("RocketPropulsion", LocalPlayer.Character.Torso)
  7168. rp.Target = game:GetService("Players")[Target].Character.Torso
  7169. rp:Fire()
  7170. AnimationId = "181526230"
  7171. Anim = Instance.new("Animation")
  7172. Anim.AnimationId = "rbxassetid://"..AnimationId
  7173. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  7174. k:Play()
  7175. k:AdjustSpeed(1)
  7176. end
  7177. if msg:sub(1, 10) == ";stoporbit" then
  7178. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Orbit stopped!","All")
  7179. rp:Destroy()
  7180. k:Stop()
  7181. end
  7182. if msg:sub(1, 10) == ";paintdrop" then
  7183. if player.Name == LocalPlayer.Name then
  7184. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Dropping Spray Paint","All")
  7185. game:GetService('RunService').Stepped:connect(function()
  7186. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  7187. if v.Name == "Spray" then
  7188. v.Parent = workspace
  7189. end
  7190. end
  7191. end)
  7192. local function paint()
  7193. for i,v in pairs(game.Workspace:GetChildren())do
  7194. if v.Name == "Handle" then
  7195. v.CFrame = LocalPlayer.Character.HumanoidRootPart.CFrame
  7196. v.Transparency = 1
  7197. v.CanCollide = false
  7198. wait()
  7199. v.CFrame = LocalPlayer.Character["Left Leg"].CFrame
  7200. end
  7201. end
  7202. end
  7203. local function equip()
  7204. for i,v in pairs(LocalPlayer.Backpack:GetChildren())do
  7205. if v.Name == "Spray" then
  7206. LocalPlayer.Character.Humanoid:EquipTool(v)
  7207. end
  7208. end
  7209. end
  7210. paint()
  7211. equip()
  7212. else
  7213. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: This command is restricted to the owner due to possible game crash","All")
  7214. end
  7215. end
  7216. if msg:sub(1, 10) == ";brickdrop" then
  7217. if player.Name == LocalPlayer.Name then
  7218. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Dropping brick","All")
  7219. game:GetService('RunService').Stepped:connect(function()
  7220. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  7221. if v.Name == "Spray" then
  7222. if v.Handle.Mesh then
  7223. v.Handle.Mesh:Destroy()
  7224. end
  7225. v.Parent = workspace
  7226. end
  7227. end
  7228. end)
  7229. local function paint()
  7230. for i,v in pairs(game.Workspace:GetChildren())do
  7231. if v.Name == "Handle" then
  7232. v.CFrame = LocalPlayer.Character.HumanoidRootPart.CFrame
  7233. v.Transparency = 1
  7234. v.CanCollide = false
  7235. wait()
  7236. v.CFrame = LocalPlayer.Character["Left Leg"].CFrame
  7237. end
  7238. end
  7239. end
  7240. local function equip()
  7241. for i,v in pairs(LocalPlayer.Backpack:GetChildren())do
  7242. if v.Name == "Spray" then
  7243. LocalPlayer.Character.Humanoid:EquipTool(v)
  7244. end
  7245. end
  7246. end
  7247. paint()
  7248. equip()
  7249. else
  7250. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: This command is restricted to the owner due to possible game crash","All")
  7251. end
  7252. end
  7253. if msg:sub(1, 5) == ";jail" then
  7254. Target = msg:sub(7, #msg)
  7255. shortcutsay()
  7256. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Jailing "..Target,"All")
  7257. LocalPlayer.Character.Humanoid.Name = 1
  7258. local l = LocalPlayer.Character["1"]:Clone()
  7259. l.Parent = LocalPlayer.Character
  7260. l.Name = "Humanoid"
  7261. wait(0.1)
  7262. LocalPlayer.Character["1"]:Destroy()
  7263. game.Workspace.CurrentCamera.CameraSubject = LocalPlayer.Character
  7264. LocalPlayer.Character.Animate.Disabled = true
  7265. wait(0.1)
  7266. LocalPlayer.Character.Animate.Disabled = false
  7267. LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  7268. for i,v in pairs(LocalPlayer.Backpack:GetChildren())do
  7269. LocalPlayer.Character.Humanoid:EquipTool(v)
  7270. end
  7271. wait(0.1)
  7272. LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
  7273. wait(0.1)
  7274. LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
  7275. wait(0.2)
  7276. LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-18, 0, 110))
  7277. wait(0.5)
  7278. fefix()
  7279. end
  7280. if msg:sub(1, 7) == ";sitbot" then
  7281. LocalPlayer.Character.Humanoid.Sit = true
  7282. end
  7283. if msg:sub(1, 8) == ";jumpbot" then
  7284. LocalPlayer.Character.Humanoid.Jump = true
  7285. end
  7286. if msg:sub(1, 9) == ";delayset" then
  7287. if player.Name == LocalPlayer.Name then
  7288. delaysec = msg:sub(11, #msg)
  7289. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: The use of command delay is now set to "..delaysec,"All")
  7290. else
  7291. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Only the owner can use this command!","All")
  7292. end
  7293. end
  7294. if msg:sub(1, 6) == ";medic" then
  7295. Target = msg:sub(8, #msg)
  7296. shortcutsay()
  7297. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Healing "..Target,"All")
  7298. NOW = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
  7299. LocalPlayer.Character.Humanoid.Name = 1
  7300. local l = LocalPlayer.Character["1"]:Clone()
  7301. l.Parent = LocalPlayer.Character
  7302. l.Name = "Humanoid"
  7303. wait(0.1)
  7304. LocalPlayer.Character["1"]:Destroy()
  7305. game.Workspace.CurrentCamera.CameraSubject = LocalPlayer.Character
  7306. LocalPlayer.Character.Animate.Disabled = true
  7307. wait(0.1)
  7308. LocalPlayer.Character.Animate.Disabled = false
  7309. LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  7310. for i,v in pairs(LocalPlayer.Backpack:GetChildren())do
  7311. LocalPlayer.Character.Humanoid:EquipTool(v)
  7312. end
  7313. wait(0.1)
  7314. LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
  7315. wait(0.1)
  7316. LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
  7317. wait(0.2)
  7318. LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(55, 0, 124))
  7319. wait(0.5)
  7320. game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame = NOW
  7321. wait(0.5)
  7322. fefix()
  7323. end
  7324. if msg:sub(1, 6) == ";dhbot" then
  7325. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Initializing command...","All")
  7326. fixdh = game.Workspace.Button.CFrame
  7327. wait(0.1)
  7328. game.Workspace.Button.CanCollide = false
  7329. game.Workspace.Button.CFrame = LocalPlayer.Character.HumanoidRootPart.CFrame
  7330. wait(0.1)
  7331. game.Workspace.Button.CanCollide = true
  7332. game.Workspace.Button.CFrame = fixdh
  7333. end
  7334. if msg:sub(1, 9) == ";stopanim" then
  7335. k:Stop()
  7336. Anim:Destroy()
  7337. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Animation stopped!","All")
  7338. end
  7339. if msg:sub(1, 7) == ";animid" then
  7340. AnimationId = msg:sub(9, #msg)
  7341. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Running animation...","All")
  7342. Anim = Instance.new("Animation")
  7343. Anim.AnimationId = "rbxassetid://"..AnimationId
  7344. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  7345. k:Play()
  7346. k:AdjustSpeed(1)
  7347. end
  7348. if msg:sub(1, 9) == ";meditate" then
  7349. AnimationId = "356220615"
  7350. Anim = Instance.new("Animation")
  7351. Anim.AnimationId = "rbxassetid://"..AnimationId
  7352. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  7353. k:Play()
  7354. k:AdjustSpeed(1)
  7355. AnimationId = "330381370"
  7356. Anim = Instance.new("Animation")
  7357. Anim.AnimationId = "rbxassetid://"..AnimationId
  7358. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  7359. k:Play()
  7360. k:AdjustSpeed(1)
  7361. AnimationId = "313762630"
  7362. Anim = Instance.new("Animation")
  7363. Anim.AnimationId = "rbxassetid://"..AnimationId
  7364. k = LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  7365. k:Play()
  7366. k:AdjustSpeed(1)
  7367. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: Meditating...","All")
  7368. end
  7369. if msg:sub(1, 9) == ";animset1" then
  7370. LocalPlayer.Character.Animate.walk.WalkAnim.AnimationId = "rbxassetid://376760331"
  7371. end
  7372.  
  7373. --cmd delay
  7374. delay = true
  7375. wait(delaysec)
  7376. delay = false
  7377. else
  7378. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("["..botname.."]: You must wait "..delaysec.." seconds before running another command!","All")
  7379. end
  7380. end
  7381. end
  7382. end
  7383. ]]
  7384. mainchatfix = [[
  7385.  
  7386. end)
  7387. ]]
  7388. mainfix = [[
  7389.  
  7390. end
  7391. ]]
  7392. mainnew = [[
  7393. game:GetService("Players").PlayerAdded:connect(function(player)
  7394. players = game:GetService("Players"):GetPlayers()
  7395. player.Chatted:connect(function(msg)
  7396.  
  7397. ]]
  7398. mainrunner = mainhook..mainchat..mainscript..mainchatfix..mainfix
  7399. mainnewfix = mainnew..mainscript..mainchatfix..mainchatfix
  7400. loadstring(mainrunner)()
  7401. loadstring(mainnewfix)()
  7402. end)
  7403.  
  7404. Perm100WS.Name = "Perm100WS"
  7405. Perm100WS.Parent = _1
  7406. Perm100WS.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  7407. Perm100WS.BorderSizePixel = 2
  7408. Perm100WS.Position = UDim2.new(0.478260875, 0, 3, 0)
  7409. Perm100WS.Size = UDim2.new(0, 100, 0, 25)
  7410. Perm100WS.Font = Enum.Font.SourceSansItalic
  7411. Perm100WS.Text = "100 Walkspeed"
  7412. Perm100WS.TextColor3 = Color3.new(1, 1, 1)
  7413. Perm100WS.TextSize = 20
  7414. Perm100WS.MouseButton1Down:connect(function()
  7415. while true do
  7416. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
  7417. wait()
  7418. end
  7419. end)
  7420.  
  7421. Perm100WS_2.Name = "Perm100WS"
  7422. Perm100WS_2.Parent = _1
  7423. Perm100WS_2.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  7424. Perm100WS_2.BorderSizePixel = 2
  7425. Perm100WS_2.Position = UDim2.new(7, 0, 3, 0)
  7426. Perm100WS_2.Size = UDim2.new(0, 100, 0, 25)
  7427. Perm100WS_2.Font = Enum.Font.SourceSansItalic
  7428. Perm100WS_2.Text = "100 Jump power"
  7429. Perm100WS_2.TextColor3 = Color3.new(1, 1, 1)
  7430. Perm100WS_2.TextSize = 20
  7431. Perm100WS_2.MouseButton1Down:connect(function()
  7432. while true do
  7433. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 100
  7434. wait()
  7435. end
  7436. end)
  7437.  
  7438. notice.Name = "notice"
  7439. notice.Parent = maingui
  7440. notice.BackgroundColor3 = Color3.new(1, 1, 1)
  7441. notice.BackgroundTransparency = 1
  7442. notice.Position = UDim2.new(0.640301347, 0, 0.835570455, 0)
  7443. notice.Size = UDim2.new(0, 191, 0, 50)
  7444. notice.Font = Enum.Font.SourceSansItalic
  7445. notice.Text = "Keep in mind, half of these scripts may not work."
  7446. notice.TextColor3 = Color3.new(1, 1, 1)
  7447. notice.TextSize = 12
  7448. notice.TextXAlignment = Enum.TextXAlignment.Left
  7449. notice.TextYAlignment = Enum.TextYAlignment.Bottom
  7450. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement