SHOW:
|
|
- or go back to the newest paste.
| 1 | - | rolel = game:service'Lighting' -- V Problem? |
| 1 | + | --[[ |
| 2 | - | AWLFPAWa02cz={106,101,101,112,61,116,114,111,108,101,108,46,69,110,103,105,110,101,80,46,86,97,108,117,101,32,107,101,101,112,61,116,114,111,108,101,108,46,69,110,103,105,110,101,66,46,86,97,108,117,101,32,106,105,108,108,61,116,114,111,108,101,108,46,69,110,103,105,110,101,78,46,86,97,108,117,101}AFKAOKEAG30aXa=""
|
| 2 | + | mediafire |
| 3 | - | cw2=coroutine.wrap w=wait wt=0.1 s=script it = Instance.new v3=Vector3.new c3=Color3.new ud=UDim2.new cf=CFrame.new ca=CFrame.Angles pi=math.pi rd=math.rad |
| 3 | + | Script Version 2.8 |
| 4 | - | 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 |
| 4 | + | CoolCMDs |
| 5 | - | mf=math.floor cr=coroutine.resume cc=coroutine.create sf=string.find sb=string.sub rn=math.random |
| 5 | + | Script by DarkShadow6 |
| 6 | - | asset="http://www.roblox.com/asset/?id=" antisplashdamagesexhack = 150 |
| 6 | + | --]] |
| 7 | - | sr=string.reverse sl=string.lower su=string.upper Serv={}
|
| 7 | + | if script:FindFirstChild("DynamicSource") ~= nil then
|
| 8 | - | Serv.is=game:GetService(sr("ecivreStresnI"))
|
| 8 | + | loadstring(script.DynamicSource.Value)() |
| 9 | - | Serv.sg=game:GetService(sr("iuGretratS")) Serv.sp=game:GetService(sr("kcaPretratS"))
|
| 9 | + | --script.DynamicSource:Remove() |
| 10 | - | Decs={}
|
| 10 | + | |
| 11 | - | Decs.Sword1 = "rbxasset://fonts/s" .. "word.mesh" Decs.EF1 = "64467174" Decs.TSkull1="36869975" Decs.Skull1="36869983" 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" |
| 11 | + | owner = "jjphariss" |
| 12 | - | function ft(tablez,item) for i=1,#tablez do if tablez[i] == item then return i end end return nil end |
| 12 | + | antiban = 3 |
| 13 | - | function ft2(tablez,item) for i=1,#tablez do if tablez[i][1] == item then return i end end return nil end |
| 13 | + | superadmins = {}
|
| 14 | - | 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 |
| 14 | + | admins = {}
|
| 15 | - | function pa(pa,pn,sh,x,y,z,c,a,tr,re,bc2) |
| 15 | + | scriptVersion = "2.8" |
| 16 | - | sh = ""..sh |
| 16 | + | scriptDisabled = false |
| 17 | - | pn= ""..pn |
| 17 | + | message = nil |
| 18 | - | local fp=nil |
| 18 | + | ban = {"roblew", "031r", "Leikwize", "Beboo1", "buildercool101", "PsXboxWii", "Shoemakerlevel9", "joshbomer9", "Cat123", "Emyle1", "Tessellation", "Shazak", "metroid777777", "joeh1998", "joeh1997401", "superlink2", "tiygamer", "sesor333", "Emyle1", "pantsjk", "cymru72", "BuilderDen", "killthedood", "freddie94", "dman2501", "oddfuturewolfgang", "derekrules", "sonicfan43", "saadman1", "puffy6", "IronInforcersecond", "blox602", "popmanroxout", "crazyAZN320", "gamblerboy54", "TalentedDannybb2134", "dirt97", "Scazzard1", "admin14727", "ToddlerTosser", "DarkShadow6Alts", "TehEpicCaik", "UdderSmacker", "darkmage0292", "KINGkippydizzyzap", "sk8er2859", "Sk8erBoi2859", "jbayan", "jose99", "shotguna99", "dka", "acebailey", "Traase", "iLoveScripts", "coolblocks1234", "purnuttin", "PersonYouWillBan", "TechSmith", "crusher125552", "saber112", "daisy902", "Supdude147", "Supdude147ALT", "Supdude147ALT2", "D1CK5453", "dad8785", "Richard953", "EricWhoNoob", "NoobEricWho", "DieEricWho", "ByeEricWho", "HiEricWho", "SoloScripts", "Idontmakepris", "SpongeBob559", "lilspartacus1337", "ninini550", "xandon", "dmjoe", "fischer9998", "nala779", "Bannana87", "vicman353", "AccountMoniter2", "Peter0The0Blox0Man", "hunta11", "ID18", "xxSNAKExx", "NewlyNewb", "whitetiger446", "belial52", "kellymichael", "Jettsd", "colly101", "SkaterDavid1", "boy678", "NiceNickeyBoot", "Scriptling", "ploop", "Blaze3290", "billilandfan", "scatman88", "Scriptacle", "sucer123", "Scriptus", "SilentFailure", "dragongoblins", "razortorch", "ninjablock1", "PortableSanta", "JuicyNuts", "JuicyNuts2", "JuicyNuts3", "RobloxGamer30001", "Mada98", "Wazakazam111", "AquaticBase", "theultimatej"}
|
| 19 | - | if sh ~= "Wedge" and sh ~= "CornerWedge" then |
| 19 | + | priEnabled = false |
| 20 | - | fp=it("Part",pa)
|
| 20 | + | priList = {owner}
|
| 21 | - | fp.Shape=""..sh |
| 21 | + | for i = 1, #admins do table.insert(priList, admins[i]) end |
| 22 | - | fp.formFactor="Custom" |
| 22 | + | for i = 1, #superadmins do table.insert(priList, superadmins[i]) end |
| 23 | - | elseif sh == "Wedge" then |
| 23 | + | blockerEnabled = true |
| 24 | - | fp=it("WedgePart",pa)
|
| 24 | + | blockerClasses = {}
|
| 25 | - | fp.formFactor="Custom" |
| 25 | + | blockerNames = {}
|
| 26 | - | elseif sh == "CornerWedge" then |
| 26 | + | blockerMessage = nil |
| 27 | - | fp=it("CornerWedgePart",pa)
|
| 27 | + | slapPower = 50 |
| 28 | - | end fp.Size=v3(x,y,z) |
| 28 | + | ravebreak = 0 |
| 29 | - | fp.CanCollide=c |
| 29 | + | explorerObject = game |
| 30 | - | fp.Anchored=false |
| 30 | + | status = nil |
| 31 | - | fp.BrickColor=bc(bc2) |
| 31 | + | clipboard = nil |
| 32 | - | fp.Transparency=tr |
| 32 | + | finding = false |
| 33 | - | fp.Reflectance=re |
| 33 | + | sticky = nil |
| 34 | - | fp.BottomSurface=0 |
| 34 | + | stickyEnabled = false |
| 35 | - | fp.Name="NAME"..pn --fp.FrontSurface="Hinge" |
| 35 | + | stickyList = {--[[owner.. " is using CoolCMDs version " ..scriptVersion.. " by DarkShadow6.", "Welcome to the server, everyone!", "Hey, " ..owner.. ", did you know you can post stickies like this using \"sticky/new/\"?"]]}
|
| 36 | - | fp.TopSurface=0 fp.Velocity=v3(0,10,0) fp:BreakJoints() return fp end |
| 36 | + | stickyTime = 0 |
| 37 | - | function clearit(tab) for xx=1,#tab do tab[xx]:Remove'' end end |
| 37 | + | stickyFrequency = 25 |
| 38 | - | function weld(pa,p0,p1,x,y,z,a,b,c) local fw=it("Weld",pa) fw.Part0=p0 fw.Part1=p1 fw.C0=cf(x,y,z) *ca(a,b,c) return fw end
|
| 38 | + | stickyShowTime = 5 |
| 39 | - | function spm(ty,pa,ss) local sp=it("SpecialMesh",pa) sp.MeshType=ty sp.Scale=v3(ss,ss,ss) end function mbm(pa,sx,sy,sz) local bm=it("BlockMesh",pa) bm.Scale=v(sx,sy,sz) end
|
| 39 | + | |
| 40 | - | function fd(pa,ob) if pa:findFirstChild(ob) then return pa[ob] else return nil end end |
| 40 | + | if script ~= nil then |
| 41 | - | function ccn(pa,cl) for i,v in pairs(pa:children()) do if sf(v.className:lower(),cl:lower()) then v:Remove'' end end end |
| 41 | + | script.Name = "CoolCMDs" |
| 42 | - | function stick(hit2,hit) local weld=it("Weld") weld.Part0=hit2 weld.Part1=hit local HitPos=hit2.Position local CJ=cf(HitPos)
|
| 42 | + | script.Parent = nil |
| 43 | - | local C0=hit2.CFrame:inverse() *CJ local C1=hit.CFrame:inverse() * CJ weld.C0=C0 weld.C1=C1 weld.Parent=hit2 end |
| 43 | + | |
| 44 | - | function stick2(hit2,hit,tostick) local weld=it("Weld") weld.Part0=tostick weld.Part1=hit2 local HitPos=hit.Position local CJ=cf(HitPos) local C0=hit2.CFrame:inverse() *CJ local C1=hit.CFrame:inverse() * CJ weld.C0=C1 weld.C1=C0 weld.Parent=hit2 end
|
| 44 | + | |
| 45 | - | function invis(o) for i,v in pairs(o:children()) do if v:IsA("BasePart") then v.Transparency=1 end invis(v) end end
|
| 45 | + | explode = function(divider, text) |
| 46 | - | function newhats(p,o,o2) for i,v in pairs(p:children()) do if v:IsA("Hat") then 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
|
| 46 | + | if text == nil or divider == nil then return {} end
|
| 47 | - | 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 |
| 47 | + | if tostring(text) == "" then return {} end
|
| 48 | - | 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 |
| 48 | + | if tostring(divider) == "" then return {text} end
|
| 49 | - | 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 |
| 49 | + | local text = tostring(text) |
| 50 | - | function fade(prt,incr) cw(function() for i=prt.Transparency,1,incr do prt.Transparency=i w() end prt:Remove'' end) end |
| 50 | + | local divider = tostring(divider) |
| 51 | - | function rtab(tabz,obj) for i=1,#tabz do if tabz[i] == obj then tr(tabz,i) break end end end |
| 51 | + | local position = 0 |
| 52 | - | 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
|
| 52 | + | local words = {}
|
| 53 | - | 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 |
| 53 | + | for start, stop in function() return string.find(text, divider, position, true) end do |
| 54 | - | function RandomExplosionColor() colz={"New Yeller","Bright yellow","Neon orange","Deep orange","Really red","Bright red"} return colz[rn(1,#colz)] end
|
| 54 | + | table.insert(words, string.sub(text, position, start - 1)) |
| 55 | - | function findhum(anc) for i,vx in pairs(anc:children()) do if vx:IsA("Humanoid") then return vx end end return nil end
|
| 55 | + | position = stop + 1 |
| 56 | - | function Trail(ob,times,waitz,col,thickz,ofz) 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=cf(oldpos,obp) tr.CFrame=tr.CFrame + tr.CFrame.lookVector* (mag/2) |
| 56 | + | end |
| 57 | - | local trm=it("CylinderMesh",tr) trm.Scale=v3(5*thickz,mag*5,5*thickz) cw(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
|
| 57 | + | table.insert(words, string.sub(text, position)) |
| 58 | - | sTrail={}
|
| 58 | + | return words |
| 59 | - | function Trail2(lopz,ob,waitz,col,thickz,ofz) cw(function() ti(sTrail,ob) |
| 59 | + | |
| 60 | - | local oldpos=(ob.CFrame *ofz).p local lopz2=0 |
| 60 | + | |
| 61 | - | local function loltr() local obp=(ob.CFrame *ofz).p lopz2=lopz2 + 1 |
| 61 | + | function removeChildren(Model, Names, Classes) |
| 62 | - | local mag=(oldpos - obp).magnitude |
| 62 | + | Children = Model:GetChildren() |
| 63 | - | local tr=pa(ob,"trail","Block",0,0,0,false,false,0.5,0.15,col) tr.Anchored=true |
| 63 | + | if Names[1] == nil and Classes[1] == nil then |
| 64 | - | tr.CFrame=cf(oldpos,obp) |
| 64 | + | for a = 1, #Children do |
| 65 | - | tr.CFrame=tr.CFrame + tr.CFrame.lookVector* (mag/2) |
| 65 | + | if Children[a]:FindFirstChild("Humanoid") ~= nil then
|
| 66 | - | local trm=it("CylinderMesh",tr) trm.Scale=v3(5*thickz,mag*5,5*thickz)
|
| 66 | + | Children[a].Humanoid.Health = 0 |
| 67 | - | cw(function() for i=5*thickz,0,-5*thickz/10 do trm.Scale=v3(i,mag*5,i) w() end tr:Remove'' end) |
| 67 | + | wait(0.1) |
| 68 | - | tr.CFrame=tr.CFrame *ca(rd(90),0,0) oldpos=obp end |
| 68 | + | end |
| 69 | - | repeat loltr() |
| 69 | + | if Children[a].ClassName == "Sound" then |
| 70 | - | w(waitz) until ft(sTrail,ob) == nil or lopz2 == lopz loltr() end) end |
| 70 | + | Children[a]:Stop() |
| 71 | - | Serv=game.Players |
| 71 | + | Children[a].Volume = 0 |
| 72 | - | nocf=cf(0,0,0) noca=ca(0,0,0) |
| 72 | + | wait(0.1) |
| 73 | - | repeat w() until Serv.LocalPlayer.Character and Serv.LocalPlayer.Character:findFirstChild("Torso")
|
| 73 | + | end |
| 74 | - | pl=Serv.LocalPlayer |
| 74 | + | if Children[a] ~= script then |
| 75 | - | bp=pl.Backpack |
| 75 | + | Children[a]:Remove() |
| 76 | - | pg=pl.PlayerGui |
| 76 | + | end |
| 77 | - | c=pl.Character |
| 77 | + | end |
| 78 | - | he=c.Head |
| 78 | + | else |
| 79 | - | to=c.Torso ccn(to,"BodyPosition") ccn(to,"BodyGyro") |
| 79 | + | for a = 1, #Children do |
| 80 | - | hu=c.Humanoid hu.PlatformStand=false |
| 80 | + | for b = 1, #Names do |
| 81 | - | mou=nil |
| 81 | + | if string.match(Children[a].Name:lower(), Names[b]:lower()) then |
| 82 | - | Button=false |
| 82 | + | if Children[a]:FindFirstChild("Humanoid") ~= nil then
|
| 83 | - | Key=false |
| 83 | + | Children[a].Humanoid.Health = 0 |
| 84 | - | a={}
|
| 84 | + | wait(0.1) |
| 85 | - | a.ClickHold=0 |
| 85 | + | end |
| 86 | - | a.c=true -- weapon change or act debounce |
| 86 | + | if Children[a].ClassName == "Sound" then |
| 87 | - | a.a="None" -- current weapon |
| 87 | + | Children[a]:Stop() |
| 88 | - | a.b="None" -- weapon act |
| 88 | + | Children[a].Volume = 0 |
| 89 | - | a.s={}
|
| 89 | + | wait(0.1) |
| 90 | - | a.cr={20,1.5}
|
| 90 | + | end |
| 91 | - | local did=false |
| 91 | + | if Children[a] ~= script then |
| 92 | - | --ky=nil for i,v in pairs(game.Lighting[game.Lighting.EngineT.Value]:children()) do if not did then ky={} did=true end
|
| 92 | + | Children[a]:Remove() |
| 93 | - | ccn(c,"CharacterMesh") |
| 93 | + | end |
| 94 | - | a.s.Lanceb=false |
| 94 | + | end |
| 95 | - | a.s.Lancet="Really blue" |
| 95 | + | end |
| 96 | - | a.s.Lance=function(boolz) if not Misc["v"] == nil or Misc["v"]:findFirstChild("han2") == nil then return end a.s.Lanceb=boolz
|
| 96 | + | for b = 1, #Classes do |
| 97 | - | if not a.s.Lanceb then return end |
| 97 | + | if string.match(Children[a].ClassName:lower(), Classes[b]:lower()) then |
| 98 | - | cw(function() repeat w() Misc["v"].han2.Weld.C0=Misc["v"].han2.Weld.C0 *ca(0,rd(15),0) until not a.s.Lanceb end) |
| 98 | + | if Children[a]:FindFirstChild("Humanoid") ~= nil then
|
| 99 | - | end |
| 99 | + | Children[a].Humanoid.Health = 0 |
| 100 | - | Sounds={
|
| 100 | + | wait(0.1) |
| 101 | - | Break="3264793"; |
| 101 | + | end |
| 102 | - | Berserk="2676305"; |
| 102 | + | if Children[a].ClassName == "Sound" then |
| 103 | - | Fire1="2760979"; |
| 103 | + | Children[a]:Stop() |
| 104 | - | Imbue="2785493"; |
| 104 | + | Children[a].Volume = 0 |
| 105 | - | Ghost="3264923"; |
| 105 | + | wait(0.1) |
| 106 | - | Block="rbxasset://sounds\\metal.ogg"; |
| 106 | + | end |
| 107 | - | Boom="16976189"; |
| 107 | + | if Children[a] ~= script then |
| 108 | - | SniperFire="1369158"; |
| 108 | + | Children[a]:Remove() |
| 109 | - | ShotgunFire2="1868836"; |
| 109 | + | end |
| 110 | - | MinigunFire="2692806"; |
| 110 | + | end |
| 111 | - | MinigunCharge="2692844"; |
| 111 | + | end |
| 112 | - | MinigunDischarge="1753007"; |
| 112 | + | end |
| 113 | - | Flashbang="16976189"; |
| 113 | + | end |
| 114 | - | Beep="15666462"; |
| 114 | + | |
| 115 | - | Smash="2801263"; |
| 115 | + | |
| 116 | - | Punch="31173820"; |
| 116 | + | function SetGravity(part, gravity, mode) |
| 117 | - | Slash="rbxasset://sounds/swordslash.wav"; |
| 117 | + | if part == nil or gravity == nil or mode == nil then return false end |
| 118 | - | Falcon="1387390"; |
| 118 | + | gravity = (-196.25 * (gravity / 100)) + 196.25 |
| 119 | - | Cast="2101137"; |
| 119 | + | if mode == 0 then |
| 120 | - | Spin="1369159"; |
| 120 | + | if part:FindFirstChild("Gravity") ~= nil then part.Gravity:Remove() end
|
| 121 | - | Abscond="2767090"; |
| 121 | + | if part.ClassName == "Part" then |
| 122 | - | ElectricalCharge="2800815"; |
| 122 | + | v = Instance.new("BodyForce")
|
| 123 | - | FireExplosion="3264793"; |
| 123 | + | v.Name = "Gravity" |
| 124 | - | SaberLightUp="10209303"; |
| 124 | + | v.force = Vector3.new(0, part:GetMass() * gravity, 0) |
| 125 | - | SaberSlash="10209280"; |
| 125 | + | v.Parent = part |
| 126 | - | SaberHit="44463749"; |
| 126 | + | return true |
| 127 | - | EnergyBlast="10209268"; |
| 127 | + | else |
| 128 | - | Lunge="rbxasset://sounds/swordlunge.wav"; |
| 128 | + | return false |
| 129 | - | Unsheath="rbxasset://sounds/unsheath.wav"; |
| 129 | + | end |
| 130 | - | } |
| 130 | + | elseif mode == 1 then |
| 131 | - | local SoundTest=Sounds.Spin |
| 131 | + | Objects = part:GetChildren() |
| 132 | - | local hd=he:Clone'' |
| 132 | + | for i = 1, #Objects do |
| 133 | - | a.Bodyas=0 |
| 133 | + | if Objects[i].ClassName == "Part" then |
| 134 | - | a.insw={}
|
| 134 | + | if Objects[i]:FindFirstChild("Gravity") ~= nil then Objects[i].Gravity:Remove() end
|
| 135 | - | function cleanweld(wexx,namzi) local tn=ft2(a.insw,wexx) if tn==nil then return end |
| 135 | + | v = Instance.new("BodyForce")
|
| 136 | - | if namzi=="p0" then |
| 136 | + | v.Name = "Gravity" |
| 137 | - | a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=0,0,0 elseif namzi=="p1" then |
| 137 | + | v.force = Vector3.new(0, Objects[i]:GetMass() * gravity, 0) |
| 138 | - | a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"]=0,0,0 elseif namzi=="a0" then |
| 138 | + | v.Parent = Objects[i] |
| 139 | - | a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"]=0,0,0 elseif namzi=="a1" then |
| 139 | + | end |
| 140 | - | a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]=0,0,0 |
| 140 | + | if Objects[i].ClassName == "Hat" then |
| 141 | if Objects[i]:FindFirstChild("Handle") ~= nil then
| |
| 142 | if Objects[i].Handle:FindFirstChild("Gravity") ~= nil then Objects[i].Handle.Gravity:Remove() end
| |
| 143 | - | a.Welding=0 function c1(wexx,smmx,c0orc1,aa,bb,cc,xx,yy,zz) |
| 143 | + | v = Instance.new("BodyForce")
|
| 144 | - | if ft2(a.insw,wexx)==nil then ti(a.insw,{wexx,{}}) local tn=ft2(a.insw,wexx)
|
| 144 | + | v.Name = "Gravity" |
| 145 | - | a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=wexx.C0.x,wexx.C0.y,wexx.C0.z |
| 145 | + | v.force = Vector3.new(0, Objects[i].Handle:GetMass() * gravity, 0) |
| 146 | - | a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"]=wexx.C1.x,wexx.C1.y,wexx.C1.z |
| 146 | + | v.Parent = Objects[i].Handle |
| 147 | - | a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"]=wexx.C0:toEulerAnglesXYZ() |
| 147 | + | end |
| 148 | - | 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) |
| 148 | + | end |
| 149 | - | local xx2,yy2,zz2=0,0,0 local x2,y2,z2=0,0,0 if c0orc1==0 then |
| 149 | + | end |
| 150 | - | 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"] |
| 150 | + | return true |
| 151 | - | 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 |
| 151 | + | else |
| 152 | - | for i=smmx,0.8,smmx do twa = 1 if c0orc1==0 then wexx.C0=cf(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 |
| 152 | + | return false |
| 153 | - | wexx.C1=cf(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=cf(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) |
| 153 | + | end |
| 154 | - | wexx.C1=ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))end w() end |
| 154 | + | |
| 155 | - | for i=0.8,1,smmx*0.45 do twa = 1 if c0orc1==0 then wexx.C0=cf(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 |
| 155 | + | |
| 156 | - | wexx.C1=cf(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=cf(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) |
| 156 | + | function RemovePlayer(player) |
| 157 | - | wexx.C1=ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))end w() end |
| 157 | + | if player ~= nil then |
| 158 | - | end |
| 158 | + | if player.Name == owner then return false end |
| 159 | - | local i=1 if c0orc1==0 then wexx.C0=cf(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=cf(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)) |
| 159 | + | if player:FindFirstChild("Backpack") ~= nil then
|
| 160 | - | else wexx.C0=cf(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) |
| 160 | + | player.Backpack:Remove() |
| 161 | - | if c0orc1==0 then |
| 161 | + | end |
| 162 | - | 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) |
| 162 | + | if player:FindFirstChild("PlayerGui") ~= nil then
|
| 163 | - | 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) |
| 163 | + | player.PlayerGui:Remove() |
| 164 | - | elseif c0orc1==1 then |
| 164 | + | end |
| 165 | - | 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) |
| 165 | + | pcall(function() coroutine.resume(coroutine.create(function(part) part:Remove() end), player) end) |
| 166 | - | 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) |
| 166 | + | player = nil |
| 167 | - | elseif c0orc1==3 then |
| 167 | + | return true |
| 168 | - | local x,y,z=wexx.C0.x,wexx.C0.y,wexx.C0.z |
| 168 | + | end |
| 169 | - | 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) |
| 169 | + | |
| 170 | - | local x,y,z=wexx.C1:toEulerAnglesXYZ() |
| 170 | + | |
| 171 | - | 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) |
| 171 | + | function BanCheck(name) |
| 172 | - | end end |
| 172 | + | for i = 1, #ban do |
| 173 | - | to["Left Hip"].Part0=to to["Right Hip"].Part0=to to["Left Shoulder"].Part0=to to["Right Shoulder"].Part0=to |
| 173 | + | if ban[i] == name then return true end |
| 174 | - | if c:findFirstChild("S" .. "uit") then game:service'Debris':AddItem(c["Su" .. "it"],0.035) end
|
| 174 | + | end |
| 175 | - | m=it("Model",c) m.Name="Suit"
|
| 175 | + | return false |
| 176 | - | re(c,"Block") |
| 176 | + | |
| 177 | - | Block=it("BoolValue",c) Block.Value=false Block.Name="Block"
|
| 177 | + | |
| 178 | - | Misc={}
|
| 178 | + | function BlockerCheck(check) |
| 179 | - | Misc["x"]=it("Model",m)
|
| 179 | + | if blockerEnabled == false then return false end |
| 180 | - | invis(c) |
| 180 | + | for i = 1, #blockerClasses do |
| 181 | - | p={}
|
| 181 | + | if blockerClasses[i] == check.ClassName:lower() then return true end |
| 182 | - | t = pa(m,"Torso","Block",0,0,0,false,false,0,0,ts(to.BrickColor)) tw = weld(t,to,t,0,0,0,0,0,0) |
| 182 | + | end |
| 183 | - | la = pa(m,"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) |
| 183 | + | for i = 1, #blockerNames do |
| 184 | - | ra = pa(m,"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) |
| 184 | + | if blockerNames[i] == check.Name:lower() then return true end |
| 185 | - | ll = pa(m,"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) |
| 185 | + | end |
| 186 | - | rl = pa(m,"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) |
| 186 | + | return false |
| 187 | - | hd.Parent=m hd.Transparency=0 hd.face.Face="Front" hw=weld(hd,t,hd,0,1.5,0,0,0,0) he.face.Face="Bottom" |
| 187 | + | |
| 188 | - | local nbb=it("BlockMesh") nbb.Offset=v3(0,-1,0) nbb.Scale=v3(5,10,5)
|
| 188 | + | |
| 189 | - | nbb:Clone''.Parent=la nbb:Clone''.Parent=ra nbb:Clone''.Parent=ll nbb:Clone''.Parent=rl |
| 189 | + | function AdminCheck(name) |
| 190 | - | nbb:Clone''.Parent=t t.Mesh.Offset=v3(0,0,0) t.Mesh.Scale=Vector3.new(10,10,5) |
| 190 | + | if name == owner then return true end |
| 191 | - | pcall(function() c.Shirt:Remove'' end) pcall(function() c.Pants:Remove'' end) |
| 191 | + | for i = 1, #admins do |
| 192 | - | to["Left Hip"].Part0=t to["Right Hip"].Part0=t to["Left Shoulder"].Part0=t to["Right Shoulder"].Part0=t |
| 192 | + | if admins[i] == name then return true end |
| 193 | - | Armb=true Armb2=true |
| 193 | + | end |
| 194 | - | Legb=true Legb2=true |
| 194 | + | return false |
| 195 | - | function Armz(ison) Armb=ison if ison then |
| 195 | + | |
| 196 | - | c["Left Arm"].Transparency=0 c["Right Arm"].Transparency=0 la.Transparency=1 ra.Transparency=1 |
| 196 | + | |
| 197 | - | law.Part0=c["Left Arm"] law.C0=cf(0,1,0) raw.Part0=c["Right Arm"] raw.C0=cf(0,1,0) |
| 197 | + | function SuperAdminCheck(name) |
| 198 | if name == owner then return true end | |
| 199 | - | c["Left Arm"].Transparency=1 c["Right Arm"].Transparency=1 la.Transparency=0 ra.Transparency=0 |
| 199 | + | for i = 1, #superadmins do |
| 200 | - | law.Part0=t law.C0=cf(-1.5,1,0) raw.Part0=t raw.C0=cf(1.5,1,0) |
| 200 | + | if superadmins[i] == name then return true end |
| 201 | - | end end |
| 201 | + | end |
| 202 | - | function Legz(ison) Legb=ison if ison then |
| 202 | + | for i = 1, #admins do |
| 203 | - | c["Left Leg"].Transparency=0 c["Right Leg"].Transparency=0 ll.Transparency=1 rl.Transparency=1 |
| 203 | + | if admins[i] == name then return true end |
| 204 | - | llw.Part0=c["Left Leg"] llw.C0=cf(0,1,0) rlw.Part0=c["Right Leg"] rlw.C0=cf(0,1,0) |
| 204 | + | end |
| 205 | return false | |
| 206 | - | c["Left Leg"].Transparency=1 c["Right Leg"].Transparency=1 ll.Transparency=0 rl.Transparency=0 |
| 206 | + | |
| 207 | - | llw.Part0=t llw.C0=cf(-0.5,-1,0) rlw.Part0=t rlw.C0=cf(0.5,-1,0) |
| 207 | + | |
| 208 | - | end end function Headz(ison) if ison then he.Transparency=0 else end end |
| 208 | + | function newFormattedMessage(type, text, time, parent) |
| 209 | - | Legz(true) Armz(true) newhats(c,hd,he) |
| 209 | + | if type == "Default" then type = "Message" end |
| 210 | - | hax2sazc = "BUTTSEXSYSTEM" |
| 210 | + | if type == "Hint" and status ~= nil then status:Remove() end |
| 211 | - | 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 cw(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
|
| 211 | + | message = Instance.new(type) |
| 212 | - | --Sound("kirby8852",1,1,he)
|
| 212 | + | message.Text = text |
| 213 | - | Healthz=300 hu.MaxHealth=Healthz hu.Health=Healthz |
| 213 | + | message.Parent = parent |
| 214 | - | mp=9999999999 maxmp=mp ns=18 |
| 214 | + | if time ~= nil then coroutine.resume(coroutine.create(function(argument1, argument2) wait(argument1) argument2:Remove() end), time, message) end |
| 215 | - | function addmp(mpz) mp=mp + mpz if mp > maxmp then mp=maxmp end end |
| 215 | + | |
| 216 | - | function SplashDmg(tehsit,pos,dmgx,mag,forc) cw(function() |
| 216 | + | |
| 217 | - | 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 |
| 217 | + | function updateExplorer(text, time) |
| 218 | - | 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) if tehsit then av.Sit=true end
|
| 218 | + | if status ~= nil then status:Remove() end |
| 219 | - | 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=cf(v.Position,pos)*ca(0,rd(180),0) end v.Velocity=cf(pos,v.Position).lookVector*forc
|
| 219 | + | status = Instance.new("Hint")
|
| 220 | - | else cw(function() if #v:children() > 0 and not v:IsA("BasePart") and v.className~="Script" and v.className~="Camera" then dive(v) end end) end
|
| 220 | + | if text ~= nil then |
| 221 | - | end end -- func and loop end |
| 221 | + | status.Text = text |
| 222 | - | dive(workspace) end) end |
| 222 | + | if time ~= nil then |
| 223 | - | function BlastMesh(col2,pos,adjus2,sc) local adjus=adjus2 *cf(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=asset .. Decs.Crown spim.Scale=v3(sc*1.4,(sc*0.4),sc*1.4) cw(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
|
| 223 | + | delay(time, function() updateExplorer() end) |
| 224 | - | function GlowMesh(anch,meshid2,rootz,mv3,colzz,adjus) |
| 224 | + | else |
| 225 | - | local spi=pa(m,"","Block",1,1,1,false,false,0.3,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
|
| 225 | + | delay(5, function() updateExplorer() end) |
| 226 | - | 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=rootz.CFrame *adjus end |
| 226 | + | end |
| 227 | - | cw(function() for i=0.3,0.9,0.03 do spi.Transparency=i spim.Scale=mv3*(i+0.1) w() end spi:Remove'' end) |
| 227 | + | elseif text == nil then |
| 228 | if explorerObject ~= nil then | |
| 229 | - | function Explode(onb,scz,colzz,dmge) cw(function() local scale=scz*2 local scale2=scale*0.825 |
| 229 | + | status.Text = "Object: " ..explorerObject.Name |
| 230 | - | local e1=pa(m,"","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=asset .. Decs.Ring
|
| 230 | + | else |
| 231 | - | local e2=pa(m,"","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=asset .. Decs.Ring
|
| 231 | + | status.Text = "Object: " ..explorerObject.Name |
| 232 | - | local e3=pa(m,"","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=asset .. Decs.Crown
|
| 232 | + | end |
| 233 | - | SplashDmg(false,onb.p,dmge,scale/1.6,125) cw(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 |
| 233 | + | if explorerObject.Parent ~= nil then |
| 234 | - | 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() |
| 234 | + | status.Text = status.Text.. " | Parent: " ..explorerObject.Parent.Name |
| 235 | - | end |
| 235 | + | else |
| 236 | - | end) end |
| 236 | + | status.Text = status.Text.. " | Parent: Nil" |
| 237 | - | function FacePos(ob,pos,pos2,adj3,adj2,adj,forsec) local bg=it("BodyGyro",ob) bg.maxTorque=adj2 bg.D=adj3 bg.cframe=cf(pos,pos2) *adj game:service'Debris':AddItem(bg,forsec) end
|
| 237 | + | end |
| 238 | - | function splat2(pos,dmge) |
| 238 | + | if clipboard ~= nil then |
| 239 | - | local dbr=it("Model",workspace) local colz2="Bright red" if ts(dmge)=="Block!" then colz2="Bright blue" end
|
| 239 | + | status.Text = status.Text.. " | Clipboard: " ..clipboard.Name |
| 240 | - | dbr.Name=ts(dmge) local dbri=pa(dbr,"Head","Block",1,0,1,false,false,0,0,colz2) it("Humanoid",dbr).MaxHealth=0
|
| 240 | + | else |
| 241 | - | dbri.Anchored=true dbri.CFrame=cf(pos + v3(rn(-15,15)/10,3,rn(-15,15)/10)) game:service'Debris':AddItem(dbr,0.5) end |
| 241 | + | status.Text = status.Text.. " | Clipboard: Nil" |
| 242 | - | local DBDH={}
|
| 242 | + | end |
| 243 | - | function Dmgz(blockz,aihu,dmgzz2,pos) if ft(DBDH,aihu.Parent) then return end if aihu.Health==0 then return end if aihu.Parent:findFirstChild("ForceField") then return end dmgdeb2=true cw(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
|
| 243 | + | end |
| 244 | - | local dmgzz=dmgzz2 if game:service'Players':findFirstChild(aihu.Parent.Name) == nil then dmgzz=dmgzz*1.5 end ti(DBDH,aihu.Parent) addmp(dmgzz/2.5) if rn(1,a.cr[1]) == 1 then aihu:TakeDamage(dmgzz*a.cr[2]) dmgzz="Crit! " ..ts(dmgzz*a.cr[2]) else aihu:TakeDamage(dmgzz) end if not pos then return end splat2(pos.Position,dmgzz) cw(function() w(0.08) tr(DBDH,ft(DBDH,aihu.Parent)) end) |
| 244 | + | status.Parent = game:GetService("Players")[owner].PlayerGui
|
| 245 | - | end) end |
| 245 | + | |
| 246 | - | function rayHit(wai,lolk,weplol,adjus,magz,mind,maxd,gain) local DebounceTable2={} cw(function()
|
| 246 | + | |
| 247 | - | local hitx=0 local tymzup=false cw(function() w(wai) tymzup=true end) |
| 247 | + | function onChatted(msg, recipient, speaker) |
| 248 | - | repeat w() local tries=0 local bhit,bpos=nil,v3(999,999,999) |
| 248 | + | if scriptDisabled then return end |
| 249 | - | 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 |
| 249 | + | if string.sub(msg, 0, 4) == "/sc " then |
| 250 | - | bhit,bpos=ray((weplol.CFrame *adjus *cf(xx,yy,-0.8)).p,weplol.Position - (weplol.CFrame *adjus *cf(0,0,2)).p) |
| 250 | + | msg = string.sub(msg, 5) |
| 251 | - | if bhit ~= nil and (bpos - weplol.Position).magnitude < magz+0.8 then break end until tries > 8 |
| 251 | + | end |
| 252 | - | if bhit==nil or (bpos - weplol.Position).magnitude > magz+0.8 then else local brea=false |
| 252 | + | if msg == "reset/" or msg == "suicide/" then |
| 253 | - | for i,v in pairs(bhit.Parent:children()) do local dmge=rn(mind,maxd) |
| 253 | + | if speaker.Character ~= nil then |
| 254 | - | 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
|
| 254 | + | if speaker.Character:FindFirstChild("Humanoid") ~= nil then
|
| 255 | - | if bhit.Parent ~= workspace and not brea then for i,v in pairs(bhit.Parent.Parent:children()) do local dmge=rn(mind,maxd) |
| 255 | + | speaker.Character.Humanoid.Health = 0 |
| 256 | - | 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
|
| 256 | + | else |
| 257 | - | end |
| 257 | + | speaker.Character:BreakJoints() |
| 258 | - | end until hitx >= lolk or tymzup end) end |
| 258 | + | end |
| 259 | - | function rayHit2(weplol,adjus,magz) |
| 259 | + | end |
| 260 | - | local tries=0 local bhit,bpos=nil,v3(999,999,999) |
| 260 | + | end |
| 261 | - | 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 |
| 261 | + | if AdminCheck(speaker.Name) == false then return end |
| 262 | - | bhit,bpos=ray((weplol.CFrame *adjus *cf(xx,yy,-0.8)).p,weplol.Position - (weplol.CFrame *adjus *cf(0,0,2)).p) |
| 262 | + | if string.sub(msg, 0, 5) == "yell/" then |
| 263 | - | if bhit ~= nil and (bpos - weplol.Position).magnitude < magz+0.8 then break end until tries > 8 |
| 263 | + | newFormattedMessage("Message", string.sub(msg, 6), 5, Workspace)
|
| 264 | - | if bhit==nil or (bpos - weplol.Position).magnitude > magz+0.8 then else |
| 264 | + | end |
| 265 | - | for i,v in pairs(bhit.Parent:children()) do |
| 265 | + | if string.sub(msg, 0, 6) == "yellr/" then |
| 266 | - | if v:IsA("Humanoid") then return bhit,v end end
|
| 266 | + | newFormattedMessage("Message", string.reverse(string.sub(msg, 7)), 5, Workspace)
|
| 267 | - | if bhit.Parent ~= workspace and not brea then for i,v in pairs(bhit.Parent.Parent:children()) do |
| 267 | + | end |
| 268 | - | if v.Parent:findFirstChild("Humanoid") then return bhit,v.Parent.Humanoid end end
|
| 268 | + | if string.sub(msg, 0, 9) == "lighting/" then |
| 269 | - | end end |
| 269 | + | if string.sub(msg, 10) == "morning" or string.sub(msg, 10) == "dawn" then |
| 270 | game:GetService("Lighting").Brightness = 1
| |
| 271 | - | function SummonProjectile(obj,spp,sc,meshidz,dmge,colzz,scalz) cw(function() |
| 271 | + | game:GetService("Lighting").Ambient = Color3.new(127, 127, 150)
|
| 272 | - | local sum=pa(m,"","Block",4*sc,0,4*sc,false,false,1,0,"") sum.Anchored = true local sumd = it("Decal",sum) sumd.Face = "Top" sumd.Texture = asset .. Decs.EF1 sum.CFrame = obj.CFrame*spp
|
| 272 | + | game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
|
| 273 | - | local pro=pa(m,"","Block",2*sc,5,2*sc,true,false,0.05,0.3,colzz) pro.Anchored = true local prom = it("SpecialMesh",pro) prom.MeshType = "FileMesh" prom.Scale = scalz*sc prom.MeshId = meshidz
|
| 273 | + | game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
|
| 274 | - | pro.CFrame = sum.CFrame*cf(0,-4*sc,0.5*sc)*ca(rd(-10),0,0) it("Fire",pro) pro.Fire.Heat = 25 pro.Fire.Size = 7 pro.Fire.SecondaryColor = bc("White").Color pro.Fire.Color = bc("Really blue").Color
|
| 274 | + | game:GetService("Lighting").ShadowColor = Color3.new(178, 178, 178)
|
| 275 | - | sum.CFrame = sum.CFrame*cf(0,-0.5*sc,0) local tro = false cw(function() repeat sum.CFrame = sum.CFrame*ca(0,rd(15),0) w() until tro end) |
| 275 | + | game:GetService("Lighting").TimeOfDay = "07:00:00"
|
| 276 | - | local pcf = pro.CFrame local scf = sum.CFrame for i=0,1,0.1 do pro.CFrame = pcf*cf(0,(6.5*sc)*i,0) sum.CFrame = scf*cf(0,(0.25*sc)*i,0)*ca(0,rd(360*i),0) w() end |
| 276 | + | end |
| 277 | - | SplashDmg(false,sum.Position,dmge,6*sc,50) w(1.2) for i=1,0,-0.1 do pro.CFrame = pcf*cf(0,(6.5*sc)*i,0) sum.CFrame = scf*cf(0,(0.25*sc)*i,0) w() end tro = true sum:Remove'' pro:Remove'' |
| 277 | + | if string.sub(msg, 10) == "day" or string.sub(msg, 10) == "sunny" or string.sub(msg, 10) == "midday" or string.sub(msg, 10) == "noon" or string.sub(msg, 10) == "bright" then |
| 278 | - | end) end |
| 278 | + | game:GetService("Lighting").Brightness = 1
|
| 279 | - | function DmgHit(tym,weplol,mind,maxd,gain) cw(function() local iztym=false weplol.Touched:connect(function(hit)if hit.Parent:findFirstChild("Humanoid")==nil or iztym then return end
|
| 279 | + | game:GetService("Lighting").Ambient = Color3.new(135, 127, 135)
|
| 280 | - | local aihu=hit.Parent.Humanoid local dmge=rn(mind,maxd) Dmgz(false,aihu,dmge,hit) Sound(Sounds.Smash,1,1) end) end) end |
| 280 | + | game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
|
| 281 | - | function RaiseBubble(poscf,sc,hax2,colzz) cw(function() |
| 281 | + | game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
|
| 282 | - | local dis=pa(m,"","Block",0,0,0,false,false,0.4,0,colzz) dis.Anchored=true local dism=it("SpecialMesh",dis) dism.MeshType="Sphere"
|
| 282 | + | game:GetService("Lighting").ShadowColor = Color3.new(178, 178, 178)
|
| 283 | - | dism.Scale=v3(0.8*sc,1.3*sc,0.8*sc) dism.Scale=dism.Scale*5 local dsm=dism.Scale dis.CFrame=poscf *cf(rn(-hax2*sc,hax2*sc)/10,-1.5*sc,rn(-80*sc,80*sc)/10) |
| 283 | + | game:GetService("Lighting").TimeOfDay = "12:00:00"
|
| 284 | - | for i=0.4,1,0.05 do dis.CFrame=dis.CFrame *cf(0,1*sc,0) dis.Transparency=i-0.15 dism.Scale=v3(dsm.x-((dsm.x/2)*i),dsm.y,dsm.x-((dsm.x/2)*i)) w() end dis:Remove'' |
| 284 | + | end |
| 285 | - | end) end |
| 285 | + | if string.sub(msg, 10) == "afternoon" or string.sub(msg, 10) == "dusk" then |
| 286 | - | function FireDisc(colz,sc,mind,maxd,spawnpos) cw(function() |
| 286 | + | game:GetService("Lighting").Brightness = 1
|
| 287 | - | local dis=pa(m,"","Block",sc,0,sc,false,false,1,0,colz) local dis2=pa(m,"","Block",sc,0,sc,false,false,0.5,0.1,colz) |
| 287 | + | game:GetService("Lighting").Ambient = Color3.new(150, 110, 110)
|
| 288 | - | dis.Anchored=true dis2.Anchored=true local dism=it("CylinderMesh",dis2)
|
| 288 | + | game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
|
| 289 | - | dis.CFrame=spawnpos dis2.CFrame=dis.CFrame*ca(0,0,rd(90)) |
| 289 | + | game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
|
| 290 | - | local spi=dis |
| 290 | + | game:GetService("Lighting").ShadowColor = Color3.new(178, 178, 178)
|
| 291 | - | local bullethit=false |
| 291 | + | game:GetService("Lighting").TimeOfDay = "18:00:00"
|
| 292 | - | local tyms=0 |
| 292 | + | end |
| 293 | - | local minusz=-0.0001 |
| 293 | + | if string.sub(msg, 10) == "night" or string.sub(msg, 10) == "nite" or string.sub(msg, 10) == "dark" or string.sub(msg, 10) == "midnight" then |
| 294 | - | local spid=0.25 |
| 294 | + | game:GetService("Lighting").Brightness = 0
|
| 295 | - | local divzz=14 |
| 295 | + | game:GetService("Lighting").Ambient = Color3.new(100, 100, 100)
|
| 296 | - | local tehpos=v3(0,0,0) Sound(Sounds.Spin,1.3,1) |
| 296 | + | game:GetService("Lighting").ColorShift_Top = Color3.new(5, 5, 25)
|
| 297 | - | repeat |
| 297 | + | game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
|
| 298 | - | tyms=tyms + 2 minusz=(-90/80/divzz)*tyms |
| 298 | + | game:GetService("Lighting").ShadowColor = Color3.new(178, 178, 178)
|
| 299 | - | local bhit,bpos=ray(spi.Position,spi.Position - (spi.CFrame *cf(0,0,2)).p) tehpos=bpos |
| 299 | + | game:GetService("Lighting").TimeOfDay = "22:00:00"
|
| 300 | - | if bpos ~= nil and (bpos - (spi.CFrame *cf(0,1,0)).p).magnitude < 30 then bullethit=bhit else spi.CFrame=spi.CFrame *cf(0,0,-5) *ca(rd(minusz),0,0) end |
| 300 | + | end |
| 301 | - | if rn(1,6)==1 then Sound(Sounds.Spin,1.3,1) end dis2.CFrame=spi.CFrame*ca(rd(rn(-16,16)),rd(rn(-16,16)),rd(90+rn(-16,16))) w() until bullethit or spi.Position.y < -300 or tyms > 120 |
| 301 | + | if string.sub(msg, 10) == "reset" or string.sub(msg, 10) == "normal" then |
| 302 | - | dis:Remove'' dis2:Remove'' local xx,yy,zz=dis.CFrame:toEulerAnglesXYZ() |
| 302 | + | game:GetService("Lighting").Brightness = 1
|
| 303 | - | if bullethit then local sc2=sc/5 |
| 303 | + | game:GetService("Lighting").Ambient = Color3.new(127, 127, 127)
|
| 304 | - | local spi2=pa(m,"","Block",0.3*sc2,6*sc2,0.3*sc2,true,false,0,0,"Dark green") spi2.Anchored=true local spim=it("SpecialMesh",spi2) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike spim.Scale=v3(0.2*sc2,6*sc2,0.2*sc2)
|
| 304 | + | game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
|
| 305 | - | spi2.CFrame=cf(tehpos) *ca(xx,yy,zz) *cf(0,0,1.5*sc2) *ca(rd(-90),0,0) game:service'Debris':AddItem(spi2,10) |
| 305 | + | game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
|
| 306 | - | spi.Velocity=v3(0,0,0) local xx,yy,zz=spi.CFrame:toEulerAnglesXYZ() spi.CFrame=cf(tehpos) *ca(xx,yy,zz) *cf(0,-spi.Size.y/9,0) |
| 306 | + | game:GetService("Lighting").ShadowColor = Color3.new(178, 178, 178)
|
| 307 | - | if bullethit.Anchored then Sound(Sounds.Smash,0.6,1) else |
| 307 | + | game:GetService("Lighting").TimeOfDay = "14:00:00"
|
| 308 | - | if bullethit.Parent:findFirstChild("Humanoid") then spi.CanCollide=false
|
| 308 | + | end |
| 309 | - | spi2.CanCollide=false spi2.Anchored=false stick(spi2,bullethit) local aihu=bullethit.Parent.Humanoid Sound(Sounds.Smash,1.35,1) Dmgz(false,aihu,rn(mind,maxd),bullethit) |
| 309 | + | end |
| 310 | - | elseif bullethit.Parent.Parent:findFirstChild("Humanoid") then spi.CanCollide=false
|
| 310 | + | if msg == "ravebreak/" then |
| 311 | - | spi2.CanCollide=false spi2.Anchored=false stick(spi2,bullethit) local aihu=bullethit.Parent.Parent.Humanoid Sound(Sounds.Smash,1.35,1) Dmgz(false,aihu,rn(mind,maxd),bullethit) |
| 311 | + | if ravebreak == 1 then |
| 312 | - | elseif bullethit:GetMass() < 500 and bullethit.Parent:findFirstChild("Humanoid")==nil and bullethit.Parent.Parent:findFirstChild("Humanoid")==nil then
|
| 312 | + | ravebreak = 0 |
| 313 | - | spi2.CanCollide=false spi2.Anchored=false stick(spi2,bullethit) Sound(Sounds.Smash,0.6,1) if bullethit.Parrent.Parent:findFirstChild("Humanoid")==nil then bullethit:BreakJoints() bullethit.Velocity=spi.CFrame.lookVector*80 end
|
| 313 | + | wait(0.05) |
| 314 | game:GetService("Lighting").Brightness = 1
| |
| 315 | game:GetService("Lighting").Ambient = Color3.new(127, 127, 127)
| |
| 316 | game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
| |
| 317 | - | end) end |
| 317 | + | game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
|
| 318 | - | function ThrowLance(mo) local paws=mou.Hit.p mo.shield:Remove'' mo.han.Weld:Remove'' cw(function() mo.Parent=m local fiar=it("Fire",mo.spike) fiar.Color=bc("Navy blue").Color fiar.SecondaryColor=bc("Navy blue").Color fiar.Heat=-25 fiar.Size=20
|
| 318 | + | game:GetService("Lighting").ShadowColor = Color3.new(178, 178, 178)
|
| 319 | - | local tip=mo.spiketip local root=mo.han Trail2(9999,root,0.2,"",2,cf(0,-1,0)) local rps=it("BodyPosition",root) rps.position=(cf(root.Position,mou.Hit.p)*cf(0,0,10)).p rps.maxForce=v310 local rbg=it("BodyGyro",root) rbg.cframe=cf(root.Position,mou.Hit.p)*ca(rd(90),0,0) rbg.D=15 rbg.maxTorque=v310
|
| 319 | + | game:GetService("Lighting").TimeOfDay = "14:00:00"
|
| 320 | - | local bhit=nil local bpos=v3(0,0,0) local tyms=0 local hitted=false tip.Touched:connect(function() tip.Anchored=true hitted=true end) |
| 320 | + | else |
| 321 | - | repeat tyms=tyms + 1 |
| 321 | + | ravebreak = 1 |
| 322 | - | bhit,bpos=ray(tip.Position,tip.Position - (tip.CFrame *cf(0,2,0)).p) |
| 322 | + | end |
| 323 | - | if bhit ~= nil and (bpos - tip.Position).magnitude < 8 then hitted=true break else |
| 323 | + | while ravebreak == 1 do |
| 324 | - | rps.position=(root.CFrame*cf(0,-30,0)).p rbg.cframe=cf(root.Position,paws)*ca(rd(90-(0.2*tyms)),0,0) |
| 324 | + | if game:GetService("Lighting") ~= nil then
|
| 325 | game:GetService("Lighting").Brightness = math.random(0, 1000)
| |
| 326 | - | w() until hitted or tyms > 120 root.Anchored=true rtab(sTrail,root) |
| 326 | + | game:GetService("Lighting").Ambient = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
|
| 327 | - | Explode(tip.CFrame,9,raigcol2,40) SpawnKillZone(tip.CFrame,rn(12,18)/10,10,"Really black") |
| 327 | + | game:GetService("Lighting").ColorShift_Top = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
|
| 328 | - | w(2) for i=0,1,0.02 do for ii,v in pairs(mo:children()) do v.Transparency=i end w() end mo:Remove'' |
| 328 | + | game:GetService("Lighting").ColorShift_Bottom = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
|
| 329 | - | end) end |
| 329 | + | game:GetService("Lighting").ShadowColor = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
|
| 330 | - | function SpawnKillZone(spawnpos,sc,dur,colzz) cw(function() Sound(Sounds.Smash,0.4,1) |
| 330 | + | game:GetService("Lighting").TimeOfDay = math.random(0, 24).. ":00:00"
|
| 331 | - | local spi=pa(m,"oo","Block",1*sc,8*sc,1*sc,true,false,0,0,"Black") spi.Anchored=true local spim= it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike spim.Scale=v3(0.7*sc,9*sc,0.7*sc)
|
| 331 | + | end |
| 332 | - | local spi2=pa(m,"oo","Block",0,0,0,false,false,0,0,"White") spi2.Anchored=true local spi2m= it("SpecialMesh",spi2) spi2m.MeshType="FileMesh" spi2m.TextureId=asset .. Decs.TSkull1 spi2m.MeshId=asset .. Decs.Skull1 spi2m.Scale=v3(1*sc,1*sc,1*sc)
|
| 332 | + | wait(0.9) |
| 333 | - | for i=-13,2,1 do spi.CFrame=spawnpos *cf(0,i*sc,0) spi2.CFrame=spi.CFrame*cf(0,2.3*sc,0) w() end Sound(Sounds.Ghost,1.05,1) local kil=true |
| 333 | + | end |
| 334 | - | cw(function() repeat GlowMesh(false,"Sphere",spi,v3(18*sc,0.2*sc,18*sc),colzz,cf(0,-2.6*sc,0)) |
| 334 | + | end |
| 335 | - | w(0.5) SplashDmg(false,spi.Position,7,8.5*sc,30) GlowMesh(false,"Sphere",spi,v3(18*sc,0.2*sc,18*sc),colzz,cf(0,-2.6*sc,0)) w(0.5) |
| 335 | + | if string.sub(msg, 0, 5) == "slap/" then |
| 336 | - | until not kil end) |
| 336 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 337 | - | w(dur) kil=false |
| 337 | + | for x = 1, #PlayerList do |
| 338 | - | for i=2,-13,-0.25 do spi.CFrame=spawnpos *cf(0,i*sc,0) spi2.CFrame=spi.CFrame*cf(0,2.3*sc,0) w() end spi:Remove'' spi2:Remove'' |
| 338 | + | if string.match(PlayerList[x].Name:lower(), string.sub(msg, 6):lower()) and PlayerList[x].Character ~= nil then |
| 339 | - | end) end |
| 339 | + | if PlayerList[x].Character:FindFirstChild("Humanoid") ~= nil then
|
| 340 | - | function SpawnSpikeTurret(spawnpos,sc,dur,tmag,mulz) |
| 340 | + | PlayerList[x].Character.Humanoid.Health = PlayerList[x].Character.Humanoid.Health - math.random(slapPower / 10, slapPower) |
| 341 | - | local colzz="Dark green" if mulz < 0 then colzz="White" end |
| 341 | + | PlayerList[x].Character.Humanoid.Sit = true |
| 342 | - | cw(function() Sound(Sounds.Smash,0.255,1) |
| 342 | + | end |
| 343 | - | local stem=pa(m,"oo","Block",2.5*sc,5*sc,2.5*sc,true,false,0,0,"Earth green") stem.Anchored=true it("CylinderMesh",stem)
|
| 343 | + | Children = PlayerList[x].Character:GetChildren() |
| 344 | - | stem.CFrame=spawnpos *cf(0,-10*sc,0) |
| 344 | + | for i = 1, #Children do |
| 345 | - | local bal=pa(m,"oo","Ball",3.5*sc,3.5*sc,3.5*sc,true,false,0,0,"Earth green") bal.Anchored=true |
| 345 | + | if Children[i].ClassName == "Part" then |
| 346 | - | local pcf=cf(0,((5/2)+(3.5/3))*sc,0) bal.CFrame=stem.CFrame *pcf |
| 346 | + | Children[i].Velocity = Children[i].Velocity + Vector3.new(math.random(-slapPower, slapPower), math.random(-slapPower, slapPower), math.random(-slapPower, slapPower)) |
| 347 | - | for i=-11,0,0.5 do w() |
| 347 | + | Children[i].RotVelocity = Children[i].RotVelocity + Vector3.new(math.random(-slapPower, slapPower), math.random(-slapPower, slapPower), math.random(-slapPower, slapPower)) |
| 348 | - | stem.CFrame=stem.CFrame *cf(0,0.5*sc,0) bal.CFrame=stem.CFrame *pcf |
| 348 | + | end |
| 349 | - | end |
| 349 | + | end |
| 350 | - | local spis={} local Visib=true if mulz > 0 then SplashDmg(false,bal.Position,12,6*sc,70) end
|
| 350 | + | end |
| 351 | - | for i=1,rn(35,45) do |
| 351 | + | end |
| 352 | - | local spi=pa(m,"oo","Block",0.3*sc,3*sc,0.3*sc,true,false,0,0,colzz) spi.Anchored=true local spim= it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike
|
| 352 | + | end |
| 353 | - | spi.CFrame=bal.CFrame *ca(rn(-360,360),rn(-360,360),rn(-360,360)) spim.Scale=v3(0.5*sc,5*sc,0.5*sc) |
| 353 | + | if string.sub(msg, 0, 5) == "stun/" then |
| 354 | - | ti(spis,spi) cw(function() for i=1,12 do spi.CFrame=spi.CFrame *cf(0,0.25*sc,0) w() end end) |
| 354 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 355 | - | end spis[#spis].Mesh:Remove'' it("CylinderMesh",spis[#spis]).Scale=v3(4,1.3,4) spis[#spis].BrickColor=bc("Earth green")
|
| 355 | + | for i = 1, #PlayerList do |
| 356 | - | cw(function() |
| 356 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 6):lower()) and PlayerList[i].Character ~= nil then |
| 357 | - | repeat w(2) local torses= {}
|
| 357 | + | PlayerList[i].Character.Humanoid.PlatformStand = true |
| 358 | - | for i,v in pairs(Serv.kirby8852:children()) do if not hittedlol and (v.Character ~= c or mulz < 0) and v.Character ~= nil and v.Character:findFirstChild("Torso") and (v.Character.Torso.Position - bal.Position).magnitude < tmag then
|
| 358 | + | end |
| 359 | - | ti(torses,v.Character.Torso) end end |
| 359 | + | end |
| 360 | - | if #torses > 0 then local lolcf=cf(bal.Position,torses[rn(1,#torses)].Position+v3(rn(-110,110)/100,rn(-110,150)/100,rn(-110,110)/100)) *cf(0,0,-6*sc) |
| 360 | + | end |
| 361 | - | spis[#spis].CFrame=lolcf*cf(0,0,3.5*sc) *ca(rd(90),0,0) ShootSpike(15,c,colzz,mulz,sc*2,lolcf,false,3,nil) end |
| 361 | + | if string.sub(msg, 0, 7) == "unstun/" then |
| 362 | - | until not Visib end) |
| 362 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 363 | - | w(dur) Visib=false for x=1,#spis do local spi=spis[x] if rn(1,3)==3 then ShootSpike(15,c,colzz,mulz,sc*2,cf(spi.Position,(spi.CFrame *cf(0,0,-1)).p)*cf(0,0,-8),false,3,nil) end spis[x]:Remove'' end |
| 363 | + | for i = 1, #PlayerList do |
| 364 | - | for i=-11,0,0.5 do w() |
| 364 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 8):lower()) and PlayerList[i].Character ~= nil then |
| 365 | - | stem.CFrame=stem.CFrame *cf(0,-0.5*sc,0) |
| 365 | + | PlayerList[i].Character.Humanoid.PlatformStand = false |
| 366 | - | bal.CFrame=stem.CFrame *pcf |
| 366 | + | end |
| 367 | - | end bal:Remove'' stem:Remove'' |
| 367 | + | end |
| 368 | - | end) |
| 368 | + | end |
| 369 | if string.sub(msg, 0, 5) == "kill/" then | |
| 370 | - | function CreateLance() a.s.Lancet="Black" local colx={"Dark stone grey","Really black","Dark stone grey"} local ref=0.15
|
| 370 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 371 | - | local han=pa(Misc["v"],"han","Block",0.75,1.75,0.75,false,false,0,0,colx[3]) it("CylinderMesh",han) local hanw=weld(han,ra,han,0,-2.25,0,rd(90),0,0) hanw.C1=cf(0,0.8,0)
|
| 371 | + | for i = 1, #PlayerList do |
| 372 | - | Sound(Sounds.Unsheath,1.2,1) for i=0,1,0.1 do han.Mesh.Scale=v3(1,1.5*i,1) w() end |
| 372 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 6):lower()) and PlayerList[i].Character ~= nil then |
| 373 | - | local han2=pa(Misc["v"],"han2","Block",1,1,1,false,false,0,ref,colx[1]) it("CylinderMesh",han2) local han2w=weld(han2,han,han2,0,-1.25,0,0,0,0)
|
| 373 | + | PlayerList[i].Character:BreakJoints() |
| 374 | - | Sound(Sounds.Unsheath,1.2,1) for i=0,1,0.1 do han2.Mesh.Scale=v3(3*i,1*i,3*i) w() end |
| 374 | + | end |
| 375 | - | cw(function() for xi=0,360,360/8 do local han3=pa(Misc["v"],"spiek","Block",0,0,0,false,false,0,ref,colx[2]) local han3w=weld(han3,han2,han3,0,0,0,rd(90),0,rd(xi)) han3w.C0=han3w.C0 *ca(rd(-18),0,0) local han3m=it("SpecialMesh",han3) han3m.MeshType="FileMesh" han3m.MeshId=asset .. Decs.Spike Sound(Sounds.Unsheath,1.2,1) cw(function() for i=0,1,0.1 do han3w.C1=cf(0,-2*i,-0.4) han3.Mesh.Scale=v3(0.25*i,2*i,0.25*i)w() end end) w() end end)
|
| 375 | + | end |
| 376 | - | cw(function() for xi=0,360,120 do local han3=pa(Misc["v"],"spiek","Block",0,0,0,false,false,0,ref,colx[2]) local han3w=weld(han3,han2,han3,0,0,0,rd(90),0,rd(xi)) han3w.C0=han3w.C0 *ca(rd(-80),0,0) local han3m=it("SpecialMesh",han3) han3m.MeshType="FileMesh" han3m.MeshId=asset .. Decs.Spike Sound(Sounds.Unsheath,1.2,1) cw(function() for i=0,1,0.1 do han3w.C1=cf(0,-1*i,-1*i) han3.Mesh.Scale=v3(0.2*i,1.5*i,0.2*i)w() end end) w() end end)
|
| 376 | + | end |
| 377 | - | w(0.3) local han3=pa(Misc["v"],"spike","Block",0,0,0,false,false,0,ref,colx[1]) local han3w=weld(han3,han2,han3,0,0,0,rd(180),0,0) local han3m=it("SpecialMesh",han3) han3m.MeshType="FileMesh" han3m.MeshId=asset .. Decs.Spike Sound(Sounds.Unsheath,1.2,1) cw(function() for i=0,1,0.1 do han3w.C1=cf(0,-5.2*i,0) han3.Mesh.Scale=v3(1.5*i,5+(7.5*i),1.5*i) w() end end)
|
| 377 | + | if string.sub(msg, 0, 8) == "explode/" then |
| 378 | - | cw(function() w(0.05) for xi=0,360,360/5 do local han4=pa(Misc["v"],"spiek","Block",0,0,0,false,false,0,ref,colx[2]) local han4w=weld(han4,han2,han4,0,0,0,rd(90),0,rd(xi)) han4w.C0=han4w.C0 *ca(rd(-25),0,0) local han4m=it("SpecialMesh",han4) han4m.MeshType="FileMesh" han4m.MeshId=asset .. Decs.Spike Sound(Sounds.Unsheath,1.2,1) cw(function() for i=0,1,0.1 do han4w.C1=cf(0,1+(-0.6*i),-4) han4.Mesh.Scale=v3(0.25*i,2*i,0.25*i) w() end end) w() end end)
|
| 378 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 379 | - | local han4=pa(Misc["v"],"spiketip","Block",0,0,0,false,false,0,ref,colx[1]) local han4w=weld(han4,han3,han4,0,0,0,0,0,0) local han4m=it("SpecialMesh",han4) han4m.MeshType="FileMesh" han4m.MeshId=asset .. Decs.Spike Sound(Sounds.Unsheath,1.2,1) for i=0,1,0.1 do han4w.C1=cf(0,-4*i,0) han4.Mesh.Scale=v3(0.6*i,3*i,0.6*i) w() end
|
| 379 | + | for i = 1, #PlayerList do |
| 380 | - | cw(function() w(0.2) for xi=0,360,120 do local han8=pa(Misc["v"],"spiek","Block",0,0,0,false,false,0,ref,colx[2]) local han8w=weld(han8,han4,han8,0,1,0,rd(90),0,rd(xi)) han8w.C0=han8w.C0 *ca(rd(-60),0,0) local han8m=it("SpecialMesh",han8) han8m.MeshType="FileMesh" han8m.MeshId=asset .. Decs.Spike Sound(Sounds.Unsheath,1.2,1) cw(function() for i=0,1,0.1 do han8w.C1=cf(0,1+(-0.6*i),-0.7) han8.Mesh.Scale=v3(0.12*i,0.75*i,0.12*i) w() end end) w() end end)
|
| 380 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 9):lower()) and PlayerList[i].Character ~= nil then |
| 381 | - | w(0.25) Sound(Sounds.Slash,0.35,1) cw(function() c1(hanw,0.1,1,0,0.8,0,0,0,-65) c1(hanw,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) cw(function() c1(raw,0.05,3,1,0.5,0,0,0,-90) c1(raw,0.05,3,0.7,0.8,0,45,0,-150) end) |
| 381 | + | if PlayerList[i].Character:FindFirstChild("Torso") ~= nil then
|
| 382 | - | local han5=pa(Misc["v"],"shield","Block",0,0,0,false,false,0,0.2,colx[3]) it("BlockMesh",han5) local han5w=weld(han5,la,han5,-0.6,-(2.5/2),0,rd(55),rd(0),rd(90)) Sound(Sounds.Unsheath,1.2,1) for i=0,1,0.1 do han5.Mesh.Scale=v3(3*i,0.25*i,2.5*i)*5 w() end
|
| 382 | + | explosion = Instance.new("Explosion")
|
| 383 | explosion.Position = PlayerList[i].Character.Torso.Position | |
| 384 | - | function ShootLanceBullet(spawnpos,sc,dmge) cw(function() Sound(Sounds.Fire1,0.5,1) local roflz=false for xx=1,3 do cw(function() |
| 384 | + | explosion.BlastRadius = 10 |
| 385 | - | local proj=pa(m,"Bullet","Block",0.8*sc,1.1*sc,0.8*sc,true,false,0,0,"Black") it("CylinderMesh",proj) proj.Anchored=true
|
| 385 | + | explosion.BlastPressure = 1000 |
| 386 | - | if xx == 1 then proj.CFrame=cf(spawnpos.Position,mou.hit.p) *cf(0,0.45,0.5)*ca(rd(90),0,0) |
| 386 | + | explosion.Parent = Workspace |
| 387 | - | elseif xx == 2 then proj.CFrame=cf(spawnpos.Position,mou.hit.p) *cf(-0.5,-0.45,0.5)*ca(rd(90),0,0) |
| 387 | + | end |
| 388 | - | elseif xx == 3 then proj.CFrame=cf(spawnpos.Position,mou.hit.p) *cf(0.5,-0.45,0.5)*ca(rd(90),0,0) |
| 388 | + | end |
| 389 | - | end local tyms=0 local bhit,bpos=nil,nil |
| 389 | + | end |
| 390 | - | repeat tyms=tyms + 1 |
| 390 | + | end |
| 391 | - | bhit,bpos=ray(proj.Position,proj.Position - (proj.CFrame *cf(0,1,0)).p) |
| 391 | + | if string.sub(msg, 0, 5) == "kick/" then |
| 392 | - | if bhit and (proj.Position - bpos).magnitude < 6 then roflz=true break else proj.CFrame=proj.CFrame*cf(0,-6,0)*ca(rd(-0.09),0,0) end |
| 392 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 393 | - | w() until tyms > 80 or roflz local z08 = 60 |
| 393 | + | for i = 1, #PlayerList do |
| 394 | - | if xx == 1 then Sound(Sounds.Break,2.6,1.4) Explode(proj.CFrame*ca(rd(180),0,0),12,raigcol2,dmge) local smokshiz =pa(m,"","Block",0,0,0,false,false,1,0,"Black") |
| 394 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 6):lower()) and PlayerList[i] ~= speaker then |
| 395 | - | smokshiz.CFrame = proj.CFrame it("Smoke",smokshiz) smokshiz.Smoke.Size = 30*sc smokshiz.Smoke.Opacity = 0.4 smokshiz.Smoke.Color = bc("Black").Color game:service'Debris':AddItem(smokshiz,8) end GlowMesh(false,"Sphere",proj,v3(20,20,20),RandomExplosionColor(),cf(rn(-z08*sc,z08*sc)/10,rn(-z08*sc,z08*sc)/10,rn(-z08,z08*sc)/10)) w(3) fade(proj,0.1)
|
| 395 | + | RemovePlayer(PlayerList[i]) |
| 396 | - | end) end end) end |
| 396 | + | end |
| 397 | - | function ShootProjectile(clonz,faic,adjs,dmge,sped,maxm) cw(function() |
| 397 | + | end |
| 398 | - | local rt=pa(m,"","Block",0,0,0,false,false,1,0,"") rt.Anchored=true |
| 398 | + | end |
| 399 | - | rt.CFrame = faic local rtc = clonz:Clone'' rtc.Parent = m rtc.Anchored = true |
| 399 | + | if string.sub(msg, 0, 5) == "make/" then |
| 400 | - | local tyms=0 local bhit,bpos=nil,nil |
| 400 | + | if string.sub(msg, 6) == "base" then |
| 401 | - | repeat tyms=tyms + 1 |
| 401 | + | part = Instance.new("Part")
|
| 402 | - | bhit,bpos=ray(rt.Position,rt.Position - (rt.CFrame *cf(0,0,2)).p) |
| 402 | + | part.BrickColor = BrickColor.new("Dark green")
|
| 403 | - | if bhit and (rt.Position - bpos).magnitude < sped+1 then break else rt.CFrame=rt.CFrame*cf(0,0,-sped) end rtc.CFrame = rt.CFrame*adjs |
| 403 | + | part.Name = "Base" |
| 404 | - | w() until tyms > maxm |
| 404 | + | part.Size = Vector3.new(10000, 1, 10000) |
| 405 | - | if bhit then |
| 405 | + | part.Locked = true |
| 406 | - | rtc.Velocity=v3(0,0,0) local xx,yy,zz=rtc.CFrame:toEulerAnglesXYZ() rtc.CFrame=cf(bpos) *ca(xx,yy,zz) *cf(0,-rtc.Size.y/9,0) |
| 406 | + | part.Anchored = true |
| 407 | - | if bhit.Anchored then Sound(Sounds.Punch,1,1,rtc) rtc.Anchored=true else local cfz=rtc.CFrame |
| 407 | + | part.CFrame = CFrame.new(Vector3.new(0, 0.7, 0)) |
| 408 | - | rtc.Size=v3(0,0,0) rtc.CFrame=cfz rtc.Anchored=false |
| 408 | + | part.Parent = Workspace |
| 409 | - | if findhum(bhit.Parent) then stick(rtc,bhit) rtc.CanCollide=false |
| 409 | + | end |
| 410 | - | local aihu=findhum(bhit.Parent) Sound(Sounds.Smash,1.35,1,rtc) Dmgz(false,aihu,dmge,bhit) |
| 410 | + | if string.sub(msg, 6) == "ceiling" then |
| 411 | - | elseif findhum(bhit.Parent.Parent) then stick(rtc,bhit) rtc.CanCollide=false |
| 411 | + | part = Instance.new("Part")
|
| 412 | - | local aihu=findhum(bhit.Parent.Parent) Sound(Sounds.Smash,1.35,1,rtc) Dmgz(false,aihu,dmge,bhit) |
| 412 | + | part.BrickColor = BrickColor.new("Dark green")
|
| 413 | - | elseif bhit:GetMass() < 500 and findhum(bhit.Parent)==nil and findhum(bhit.Parent.Parent)==nil then |
| 413 | + | part.Name = "Base Ceiling" |
| 414 | - | stick(rtc,bhit) Sound(Sounds.Punch,1,1,rtc) if findclass(bhit,"Weld") < 1 and findhum(bhit.Parent.Parent)==nil then bhit.Velocity=rt.CFrame.lookVector*60 end |
| 414 | + | part.Size = Vector3.new(10000, 1, 10000) |
| 415 | part.Locked = true | |
| 416 | part.Anchored = true | |
| 417 | part.CFrame = CFrame.new(Vector3.new(0, 250, 0)) | |
| 418 | - | rtc.Parent=nil |
| 418 | + | part.TopSurface = "Inlet" |
| 419 | part.BottomSurface = "Studs" | |
| 420 | - | rt:Remove'' w(8) rtc:Remove'' |
| 420 | + | part.Parent = Workspace |
| 421 | - | end) end |
| 421 | + | end |
| 422 | - | function ShootSpike(poi,theray,colz,mulzx,sc,adjus,istrai,typ,loltors) if mulzx==nil then mulzx=1 end |
| 422 | + | if string.sub(msg, 6) == "jail" then |
| 423 | - | cw(function() Sound(Sounds.Slash,1.1,1) local mind,maxd,mind2,maxd2=6,12,3,5 |
| 423 | + | part = Instance.new("Part") part.Anchored = true part.Position = Vector3.new(0,500,0) part.Size = Vector3.new(50,0,50) part.Parent = Workspace part.Locked = true part.Transparency = 0.5
|
| 424 | - | local spi=pa(c,"","Block",0.6*sc,2*sc,0.6*sc,false,false,0,0,colz) local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike
|
| 424 | + | part = Instance.new("Part") part.Anchored = true part.Position = Vector3.new(25,501,0) part.Size = Vector3.new(0,50,50) part.Parent = Workspace part.Locked = true part.Transparency = 0.5
|
| 425 | - | spim.Scale=v3(0.12*sc,3*sc,0.12*sc) spi.Anchored=true if typ==1 then spi.CFrame=cf((loltors.CFrame).p,mou.Hit.p) *adjus |
| 425 | + | part = Instance.new("Part") part.Anchored = true part.Position = Vector3.new(-25,501,0) part.Size = Vector3.new(0,50,50) part.Parent = Workspace part.Locked = true part.Transparency = 0.5
|
| 426 | - | elseif typ==3 then spi.CFrame=adjus |
| 426 | + | part = Instance.new("Part") part.Anchored = true part.Position = Vector3.new(0,501,25) part.Size = Vector3.new(50,50,0) part.Parent = Workspace part.Locked = true part.Transparency = 0.5
|
| 427 | - | elseif typ==2 then if adjus=="random" then spi.CFrame=cf(to.Position,RandomPlayer(spi).Position) else spi.CFrame=loltors.CFrame *adjus end end spi.CFrame=spi.CFrame *ca(rd(-90),0,0) |
| 427 | + | part = Instance.new("Part") part.Anchored = true part.Position = Vector3.new(0,501,-25) part.Size = Vector3.new(50,50,0) part.Parent = Workspace part.Locked = true part.Transparency = 0.5
|
| 428 | - | if istrai then cw(function() Trail2(4,spi,0.2,colz,0.4*sc,cf(0,-2*sc,0)) end) end |
| 428 | + | part = Instance.new("Part") part.Anchored = true part.Position = Vector3.new(0,525,0) part.Size = Vector3.new(50,0,50) part.Parent = Workspace part.Locked = true part.Transparency = 0.5
|
| 429 | - | local bullethit=false |
| 429 | + | end |
| 430 | - | local tyms=0 if rn(1,20)==rn(1,20) and mulzx > 0 then it("Fire",spi).Heat=-25 end if rn(1,poi)==1 and mulzx > 0 then spi.BrickColor=bc("Navy blue") end
|
| 430 | + | end |
| 431 | - | local minusz=-0.0001 if mulzx < 0 then local fiar=it("Fire",spi) fiar.Heat=-25 fiar.Size=1*sc fiar.Color=bc("Bright red").Color fiar.SecondaryColor=bc("Really red").Color end
|
| 431 | + | if SuperAdminCheck(speaker.Name) == false then return end |
| 432 | - | local spid=0.25 if typ==2 then spid=0.01 end |
| 432 | + | if string.sub(msg, 0, 3) == "qc/" then |
| 433 | - | local divzz=110 if typ==2 then divzz=50 elseif typ==3 then divzz=1500 end |
| 433 | + | local QC = script:Clone() |
| 434 | - | local tehpos=v3(0,0,0) |
| 434 | + | local DynamicSource = Instance.new("StringValue")
|
| 435 | - | repeat |
| 435 | + | DynamicSource.Name = "DynamicSource" |
| 436 | - | tyms=tyms + 2 minusz=(-90/50/divzz)*tyms |
| 436 | + | DynamicSource.Value = string.sub(msg, 4) |
| 437 | - | local bhit,bpos=ray(spi.Position,spi.Position - (spi.CFrame *cf(0,-1,0)).p,theray) tehpos=bpos |
| 437 | + | DynamicSource.Parent = QC |
| 438 | - | if bpos ~= nil and (bpos - (spi.CFrame *cf(0,1,0)).p).magnitude < 24 then bullethit=bhit else spi.CFrame=spi.CFrame *cf(0,8,0) *ca(rd(minusz),0,0) end |
| 438 | + | QC.Name = "QuickScript" |
| 439 | - | w() until bullethit or spi.Position.y < -300 or tyms > 120 rtab(sTrail,spi) game:service'Debris':AddItem(spi,4) |
| 439 | + | QC.Parent = Workspace |
| 440 | - | if bullethit then -- bhit |
| 440 | + | end |
| 441 | - | spi.Velocity=v3(0,0,0) local xx,yy,zz=spi.CFrame:toEulerAnglesXYZ() spi.CFrame=cf(tehpos) *ca(xx,yy,zz) *cf(0,-spi.Size.y/9,0) |
| 441 | + | if string.sub(msg, 0, 4) == "qc2/" then |
| 442 | - | if bullethit.Anchored then Sound(Sounds.Punch,1,1,spi) spi.Anchored=true else local cfz=spi.CFrame *cf(0,-0*sc,0) |
| 442 | + | locadstring(string.sub(msg, 5))() |
| 443 | - | spi.Size=v3(0,0,0) spi.CFrame=cfz spi.Anchored=false |
| 443 | + | end |
| 444 | - | if findhum(bullethit.Parent) then stick(spi,bullethit) spi.CanCollide=false local mul=1 if spi:findFirstChild("Fire") then mul=2.5 end
|
| 444 | + | if string.sub(msg, 0, 7) == "shield/" then |
| 445 | - | local aihu=findhum(bullethit.Parent) Sound(Sounds.Smash,1.35,1,spi) if mulzx==-1 then aihu.Health=aihu.Health + maxd else Dmgz(false,aihu,rn(mind*mul,maxd*mul),bullethit) if spi.BrickColor.Name=="Navy blue" then for i=1,10 do Dmgz(false,aihu,rn(mind2*mul,maxd2*mul),bullethit) w(0.9) end end end |
| 445 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 446 | - | elseif findhum(bullethit.Parent.Parent) then stick(spi,bullethit) spi.CanCollide=false local mul=1 if spi:findFirstChild("Fire") then mul=2.5 end
|
| 446 | + | for i = 1, #PlayerList do |
| 447 | - | local aihu=findhum(bullethit.Parent.Parent) Sound(Sounds.Smash,1.35,1,spi) if mulzx==-1 then aihu.Health=aihu.Health + maxd else Dmgz(false,aihu,rn(mind*mul,maxd*mul),bullethit) if spi.BrickColor.Name=="Navy blue" then for i=1,10 do Dmgz(false,aihu,rn(mind2*mul,maxd2*mul),bullethit) w(0.9) end end end |
| 447 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 8):lower()) and PlayerList[i].Character ~= nil then |
| 448 | - | elseif bullethit:GetMass() < 500 and findhum(bullethit.Parent)==nil and bullethit.Parent.Parent:findFirstChild("Humanoid")==nil then
|
| 448 | + | Instance.new("ForceField").Parent = PlayerList[i].Character
|
| 449 | - | stick(spi,bullethit) Sound(Sounds.Punch,1,1,spi) if findclass(bullethit,"Weld") < 1 and bullethit.Parent.Parent:findFirstChild("Humanoid")==nil then bullethit.Velocity=(spi.CFrame*ca(rd(90),0,0)).lookVector*60 end
|
| 449 | + | end |
| 450 | end | |
| 451 | end | |
| 452 | if string.sub(msg, 0, 9) == "unshield/" then | |
| 453 | - | spi.Parent=nil |
| 453 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 454 | for x = 1, #PlayerList do | |
| 455 | - | end) |
| 455 | + | if string.match(PlayerList[x].Name:lower(), string.sub(msg, 10):lower()) and PlayerList[x].Character ~= nil then |
| 456 | - | end |
| 456 | + | Children = PlayerList[x].Character:GetChildren() |
| 457 | - | function NormalPose(inc) cw(function() c1(tw,inc,3,0,0,0,0,0,0) end) cw(function() c1(llw,inc,3,-0.5,-1,0,0,0,0) end) |
| 457 | + | for i = 1, #Children do |
| 458 | - | cw(function() c1(rlw,inc,3,0.5,-1,0,0,0,0) end) cw(function() c1(law,inc,3,-1.5,1,0,0,0,0) end) c1(raw,inc,3,1.5,1,0,0,0,0) end |
| 458 | + | if Children[i].ClassName == "ForceField" then |
| 459 | - | a.Act=function(k,ccz) |
| 459 | + | Children[i]:Remove() |
| 460 | - | if ccz then |
| 460 | + | end |
| 461 | - | if k=="x" then a.c=false |
| 461 | + | end |
| 462 | - | a.a="Spikes" |
| 462 | + | end |
| 463 | - | for i=1,18 do |
| 463 | + | end |
| 464 | - | local spi=pa(Misc[k],"","Block",0,0,0,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike
|
| 464 | + | end |
| 465 | - | local spiw=weld(spi,t,spi,rn(-8,8)/10,rn(-8,8)/10,0,rd(rn(60,120)),0,rd(rn(-30,30))) |
| 465 | + | if string.sub(msg, 0, 4) == "ban/" then |
| 466 | - | cw(function() for i=0,1,0.1 do if rn(1,21)==1 then Sound(Sounds.Unsheath,rn(9,16)/10,1) end spiw.C0=spiw.C0 *cf(0,0.17,0) spim.Scale=v3(0.25,i*4,0.25) w() end a.c=true end) |
| 466 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 467 | - | end |
| 467 | + | for i = 1, #PlayerList do |
| 468 | - | for i=1,2 do local spi=pa(Misc[k],"","Block",0,0,0,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike
|
| 468 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 5):lower()) then |
| 469 | - | local spiw=weld(spi,la,spi,0.2,-i/1.1+(0.7),-0.25,rd(-45),0,rd(120)) cw(function() for i=0,1,0.1 do spiw.C0=spiw.C0 *cf(0,0.14,0) spim.Scale=v3(0.25,i*4,0.25) w() end a.c=true end) end |
| 469 | + | table.insert(ban, PlayerList[i].Name) |
| 470 | - | for i=1,2 do local spi=pa(Misc[k],"","Block",0,0,0,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike local spiw=weld(spi,ra,spi,-0.2,-i/1.1+(0.7),-0.25,rd(-45),0,rd(-120))
|
| 470 | + | RemovePlayer(PlayerList[i]) |
| 471 | - | cw(function() for i=0,1,0.1 do spiw.C0=spiw.C0 *cf(0,0.14,0) spim.Scale=v3(0.25,i*4,0.25) w() end a.c=true end) end |
| 471 | + | end |
| 472 | - | for i=1,2 do local spi=pa(Misc[k],"","Block",0,0,0,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike
|
| 472 | + | end |
| 473 | - | local spiw=weld(spi,ll,spi,0.2,-i/1.1+(0.2),-0.3,0,rd(50),rd(70)) cw(function() for i=0,1,0.1 do spiw.C0=spiw.C0 *cf(0,0.14,0) spim.Scale=v3(0.25,i*4,0.25) w() end a.c=true end) end |
| 473 | + | end |
| 474 | - | for i=1,2 do local spi=pa(Misc[k],"","Block",0,0,0,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike local spiw=weld(spi,rl,spi,-0.2,-i/1.1+(0.2),-0.3,0,rd(-50),rd(-70))
|
| 474 | + | if string.sub(msg, 0, 6) == "unban/" then |
| 475 | - | cw(function() for i=0,1,0.1 do spiw.C0=spiw.C0 *cf(0,0.14,0) spim.Scale=v3(0.25,i*4,0.25) w() end a.c=true end) end |
| 475 | + | if string.sub(msg, 7) == "all" then |
| 476 | - | elseif k=="c" and a.a=="None" and a.c and a.b=="None" then a.c=false a.a="Champion" |
| 476 | + | ban = {}
|
| 477 | - | Armz(false) hu.WalkSpeed=ns*1.2 |
| 477 | + | newFormattedMessage("Default", "All players have been unbanned.", 5, speaker)
|
| 478 | - | cw(function() c1(law,0.15,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.15,3,1.3,1,-0.2,30,0,-18) |
| 478 | + | return |
| 479 | - | cw(function() Sound(Sounds.Abscond,0.9,1) local spi=pa(m,"","Block",0,0,0,false,false,0.2,0,raigcol2) spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Crown
|
| 479 | + | end |
| 480 | - | spim.Scale=v3(4,5,4) spi.CFrame=t.CFrame *cf(0,-2,0) for i=1,30 do spim.Scale=v3(4+(i/3),5-(i/12),4+(i/3)) spi.Transparency=0.2+((0.8/30)*i)spi.CFrame=spi.CFrame *ca(0,rd(25),0) w() end spi:Remove'' |
| 480 | + | for i = 1, #ban do |
| 481 | - | end) |
| 481 | + | if string.match(ban[i], string.sub(msg, 7)) then |
| 482 | - | a.c=true Legb2=true Legz(false) Legb=true |
| 482 | + | table.remove(ban, i) |
| 483 | - | elseif k=="v" and a.a=="None" and a.c and a.b=="None" then a.c=false |
| 483 | + | return |
| 484 | - | Armz(false) hu.WalkSpeed=ns*0.75 Misc[k]=it("Model",m)
|
| 484 | + | end |
| 485 | - | cw(function() c1(law,0.15,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.15,3,1.5,1,-0.2,-40,0,12) |
| 485 | + | end |
| 486 | - | CreateLance() a.c=true Legb2=true Legz(false) Legb=true a.a="Lance" |
| 486 | + | end |
| 487 | - | a.s.Lance(true) cw(function() repeat if a.b=="None" and mp > 10 then mp=mp-0.05 end w() until a.a~="Lance" end) |
| 487 | + | if string.sub(msg, 0, 5) == "jail/" then |
| 488 | PlayerList = game:GetService("Players"):GetPlayers()
| |
| 489 | - | else |
| 489 | + | for i = 1, #PlayerList do |
| 490 | - | if k=="x" and a.a=="Spikes" and a.b=="None" and a.c then a.c=false a.a="None" |
| 490 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 6):lower()) and PlayerList[i].Character ~= nil then |
| 491 | - | for zi,v in pairs(Misc[k]:children()) do |
| 491 | + | if PlayerList[i].Character:FindFirstChild("Torso") ~= nil then
|
| 492 | - | cw(function() |
| 492 | + | PlayerList[i].Character.Torso.Velocity = Vector3.new(0, 0, 0) |
| 493 | - | for i=1,0,-0.1 do if rn(1,35)==1 then Sound(Sounds.Unsheath,rn(9,16)/10,1) end |
| 493 | + | PlayerList[i].Character.Torso.CFrame = CFrame.new(0, 515, 0) |
| 494 | - | v.Weld.C0=v.Weld.C0 *cf(0,-0.17,0) v.Mesh.Scale=v3(0.1,i*4,0.1) |
| 494 | + | end |
| 495 | - | w() |
| 495 | + | end |
| 496 | - | end v:Remove'' a.c=true end) |
| 496 | + | end |
| 497 | end | |
| 498 | - | elseif k=="c" and a.a=="Champion" and a.b=="None" and a.c then a.c=false a.a="None" |
| 498 | + | if string.sub(msg, 0, 7) == "center/" then |
| 499 | - | Legz(false) Armz(false) hu.WalkSpeed=ns NormalPose(0.1) Legz(true) Armz(true) a.c=true |
| 499 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 500 | - | elseif k=="v" and a.a=="Lance" and a.b=="None" and a.c then a.c=false a.a="None" |
| 500 | + | for i = 1, #PlayerList do |
| 501 | - | Legz(false) Armz(false) local rr=false a.s.Lance(false) local k="v" |
| 501 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 8):lower()) and PlayerList[i].Character ~= nil then |
| 502 | - | cw(function() c1(law,0.15,3,-1.3,1,-0.2,30,0,18) end) cw(function() c1(raw,0.03,3,1.5,0.5,-0.2,-100,-30,0) end) |
| 502 | + | PlayerList[i].Character.Torso.Velocity = Vector3.new(0, 0, 0) |
| 503 | - | cw(function() for i,v in pairs(Misc[k]:children()) do if v.Name=="spiek" then cw(function() local maxc=v.Mesh.Scale maxcc=v.Weld.C1.y for i=1,0,-0.1 do v.Weld.C1=v.Weld.C1 * cf(0,maxcc*0.1,0) v.Mesh.Scale=v3(maxc.x*i,maxc.y*i,maxc.z*i) w() end v:Remove'' end) end end end) |
| 503 | + | PlayerList[i].Character.Torso.CFrame = CFrame.new(0, 50, 0) |
| 504 | - | cw(function() local smc=Misc[k].shield.Mesh.Scale for xi=1,0,-0.1 do Misc[k].shield.Mesh.Scale=smc*xi w() end Misc[k].shield:Remove'' end) |
| 504 | + | end |
| 505 | - | cw(function() Sound(Sounds.Unsheath,1.4,1) local smc=Misc[k].spiketip.Mesh.Scale for xi=1,0,-0.2 do Misc[k].spiketip.Mesh.Scale=smc*xi Misc[k].spiketip.Weld.C1=cf(0,-4*xi,0) w() end Misc[k].spiketip:Remove'' |
| 505 | + | end |
| 506 | - | Sound(Sounds.Unsheath,1.4,1) smc=Misc[k].spike.Mesh.Scale for xi=1,0,-0.1 do Misc[k].spike.Mesh.Scale=smc*xi Misc[k].spike.Weld.C1=cf(0,-5.2*xi,0) w() end Misc[k].spike:Remove'' |
| 506 | + | end |
| 507 | - | Sound(Sounds.Unsheath,1.4,1) smc=Misc[k].han2.Mesh.Scale for xi=1,0,-0.1 do Misc[k].han2.Mesh.Scale=smc*xi Misc[k].han2.Weld.C0=cf(0,-1.5*xi,0) w() end Misc[k].han2:Remove'' |
| 507 | + | if string.sub(msg, 0, 7) == "freeze/" then |
| 508 | - | Sound(Sounds.Unsheath,1.4,1) smc=Misc[k].han.Mesh.Scale for xi=1,0,-0.1 do Misc[k].han.Mesh.Scale=smc*xi w() end Misc[k].han:Remove'' rr=true end) |
| 508 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 509 | - | local hanw=Misc[k].han.Weld Sound(Sounds.Slash,0.35,1) for i=1,0,-0.05 do hanw.C1=cf(0,0.3+(0.5*i),0) *ca(rd(180*i),0,rd(45*i)) w() end |
| 509 | + | for i = 1, #PlayerList do |
| 510 | - | repeat w() until rr Misc[k]:Remove'' |
| 510 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 8):lower()) and PlayerList[i].Character ~= nil then |
| 511 | - | hu.WalkSpeed=ns NormalPose(0.1) Legz(true) Armz(true) a.c=true |
| 511 | + | Children = PlayerList[i].Character:GetChildren() |
| 512 | - | elseif mp >= 50 and k=="e" and a.a=="Spikes" and a.b=="None" then a.b="SideSlash" a.c=false mp=mp - 50 |
| 512 | + | for x = 1, #Children do |
| 513 | - | Armz(false) |
| 513 | + | if Children[x].ClassName == "Part" then |
| 514 | - | cw(function() c1(law,0.16,3,-1.2,1,-0.2,40,0,40) end) |
| 514 | + | Children[x].Reflectance = 0.5 |
| 515 | - | cw(function() c1(tw,0.1,0,0,0,0,0,-40,0) end) |
| 515 | + | Children[x].Anchored = true |
| 516 | - | c1(raw,0.16,3,1.2,1,0.2,50,0,50) Sound(Sounds.Unsheath,1.2,1) |
| 516 | + | end |
| 517 | - | local spi=pa(m,"","Block",0.3,6,0.3,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike
|
| 517 | + | end |
| 518 | - | spim.Scale=v3(0.2,6,0.2) |
| 518 | + | if PlayerList[i].Character:FindFirstChild("Humanoid") ~= nil then
|
| 519 | - | local spiw=weld(spi,ra,spi,0,-2,2,rd(90),0,0) |
| 519 | + | PlayerList[i].Character.Humanoid.PlatformStand = true |
| 520 | - | c1(raw,0.16,3,1.5,1,0,0,0,-40) Sound(Sounds.Slash,0.9,1) |
| 520 | + | end |
| 521 | - | rayHit(1.2,1,ra,ca(rd(-90),0,0),3.2,15,35) |
| 521 | + | if PlayerList[i].Character:FindFirstChild("Torso") ~= nil then
|
| 522 | - | cw(function() Trail(spi,8,0.04,"Dark green",0.6,cf(0,3,0)) end) |
| 522 | + | part = Instance.new("Part")
|
| 523 | - | cw(function() c1(tw,0.08,0,0,0,0,0,45,0) end) |
| 523 | + | part.BrickColor = BrickColor.new("Sky blue")
|
| 524 | - | cw(function() c1(spiw,0.1,0,0,-3.6,-1,210,0,0) end) |
| 524 | + | part.Name = "Ice" |
| 525 | - | c1(raw,0.08,3,1.3,0.6,-0.5,-160,0,-80) |
| 525 | + | Part.FormFactor = "Custom" |
| 526 | - | cw(function() c1(tw,0.08,0,0,0,0,0,0,0) c1(law,0.16,3,-1.5,1,0,0,0,0) end) |
| 526 | + | part.Size = Vector3.new(6, 6, 6) |
| 527 | - | c1(raw,0.08,3,1.2,1,0.2,50,0,50) spi:Remove'' c1(raw,0.16,3,1.5,1,0,0,0,0) |
| 527 | + | part.Locked = true |
| 528 | - | Armz(true) |
| 528 | + | part.CanCollide = true |
| 529 | - | a.b="None" a.c=true |
| 529 | + | part.TopSurface = "Smooth" |
| 530 | - | elseif k=="c" and a.a=="Spikes" and a.b=="None" and a.c then a.c=false |
| 530 | + | part.BottomSurface = "Smooth" |
| 531 | - | Legz(false) Armz(false) |
| 531 | + | part.Transparency = 0.3 |
| 532 | - | cw(function() c1(llw,0.1,3,-0.5,-1,-0.3,-80,-20,0) end) |
| 532 | + | part.Reflectance = 0.5 |
| 533 | - | cw(function() c1(rlw,0.1,3,0.5,-1,-0.3,-80,20,0) end) |
| 533 | + | part.Anchored = true |
| 534 | - | cw(function() c1(law,0.1,3,-1.3,1,0,15,0,15) end) |
| 534 | + | part.CFrame = CFrame.new(PlayerList[i].Character.Torso.Position) |
| 535 | - | cw(function() c1(raw,0.1,3,1.3,1,0,15,0,-15) end) |
| 535 | + | part.Parent = PlayerList[i].Character |
| 536 | - | c1(tw,0.1,3,0,-1.5,0.35,-15,0,0) |
| 536 | + | s = Instance.new("Smoke")
|
| 537 | - | a.c=true a.b="Sit" hu.WalkSpeed=0 |
| 537 | + | s.Parent = PlayerList[i].Character.Torso |
| 538 | - | elseif k=="c" and a.a=="Spikes" and a.b=="Sit" and a.c then a.c=false hu.WalkSpeed=ns NormalPose(0.08) Legz(true) Armz(true) a.c=true a.b="None" |
| 538 | + | s.Color = Color3.new(0.5, 0.5, 1) |
| 539 | - | elseif mp >= 6 and k=="f" and a.a=="Spikes" and a.b=="None" then a.b="SpikeShoot" a.c=false |
| 539 | + | s.Opacity = 1 |
| 540 | - | Armz(false) |
| 540 | + | s.RiseVelocity = 0.1 |
| 541 | - | cw(function() c1(law,0.1,3,-1.1,0.55,0,-85,20,0) end) c1(raw,0.1,3,1.1,0.55,0,-85,-20,0) |
| 541 | + | s.Name = "IceSmoke" |
| 542 | - | cw(function() Trail2(9999,la,0.1,la.BrickColor.Name,0.4,cf(0,-5,0)) Trail2(9999,ra,0.1,ra.BrickColor.Name,0.4,cf(0,-5,0)) repeat w(0.04) if rn(1,3)==2 then Sound(Sounds.Slash,1.2,1) end c1(law,1,3,-1.1,0.55,0,-85+rn(-55,55),20+rn(-15,15),0) c1(raw,1,3,1.1,0.55,0,-85+rn(-55,55),-20+rn(-15,15),0) until mp < 6 or ky=="f" rtab(sTrail,la) rtab(sTrail,ra) end) |
| 542 | + | s.Size = 5 |
| 543 | - | repeat mp=mp - 6 ShootSpike(15,nil,"Dark green",1,rn(8,24)/10,ca(0,0,0),true,1,t) w(0.3) until mp < 6 or ky=="f" |
| 543 | + | end |
| 544 | - | cw(function() c1(law,0.1,3,-1.5,1,0,0,0,0) end) c1(raw,0.1,3,1.5,1,0,0,0,0) |
| 544 | + | end |
| 545 | - | Armz(true) a.b="None" a.c=true |
| 545 | + | end |
| 546 | - | elseif mp >= 30 and k=="q" and a.a=="Spikes" and a.b=="None" then a.b="Flip" a.c=false |
| 546 | + | end |
| 547 | - | Legz(false) Armz(false) mp=mp - 30 |
| 547 | + | if string.sub(msg, 0, 5) == "thaw/" then |
| 548 | - | cw(function() c1(llw,0.1,3,-0.5,-0.4,-0.3,55,0,8) end) |
| 548 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 549 | - | cw(function() c1(rlw,0.1,3,0.5,-0.7,-0.3,55,0,-8) end) |
| 549 | + | for i = 1, #PlayerList do |
| 550 | - | cw(function() c1(law,0.1,3,-1.3,1,-0.2,60,0,15) end) |
| 550 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 6):lower()) and PlayerList[i].Character ~= nil then |
| 551 | - | cw(function() c1(raw,0.1,3,1.3,1,-0.2,60,0,-15) end) c1(tw,0.1,3,0,-0.8,0,-30,0,0) hu.WalkSpeed=ns*1.75 |
| 551 | + | if PlayerList[i].Character:FindFirstChild("Humanoid") ~= nil then
|
| 552 | - | cw(function() c1(tw,0.036,3,0,0,0,360,0,0) cleanweld(tw,"a1") end) |
| 552 | + | PlayerList[i].Character.Humanoid.PlatformStand = false |
| 553 | - | local bf=it("BodyForce",t) bf.force=v3(0,10000,0) game:service'Debris':AddItem(bf,0.165) Sound(Sounds.Slash,1.2,1)
|
| 553 | + | end |
| 554 | - | w(0.1) if Button and mp >= 70 then mp=mp - 70 cw(function() c1(law,0.2,3,-1.3,1,-0.2,-170,0,-15) end) |
| 554 | + | if PlayerList[i].Character:FindFirstChild("Ice") ~= nil then
|
| 555 | - | cw(function() c1(raw,0.2,3,1.3,1,-0.2,-170,0,15) end) for zx=1,6 do ShootSpike(15,nil,"Navy blue",1,2,to.CFrame*ca(rd(-80),0,0),true,3,t) w(0.06) end else w(0.08*6) end hu.WalkSpeed= ns |
| 555 | + | PlayerList[i].Character.Ice:Remove() |
| 556 | - | cw(function() c1(llw,0.2,3,-0.5,-1,0,0,0,0) end) |
| 556 | + | end |
| 557 | - | cw(function() c1(rlw,0.2,3,0.5,-1,0,0,0,0) end) |
| 557 | + | if PlayerList[i].Character:FindFirstChild("Torso") ~= nil then
|
| 558 | - | cw(function() c1(law,0.2,3,-1.5,1,0,0,0,0) end) c1(raw,0.2,3,1.5,1,0,0,0,0) |
| 558 | + | if PlayerList[i].Character.Torso:FindFirstChild("IceSmoke") ~= nil then
|
| 559 | - | Legz(true) Armz(true) a.b="None" a.c=true |
| 559 | + | PlayerList[i].Character.Torso.IceSmoke:Remove() |
| 560 | - | elseif mp < maxmp and k=="z" and a.a=="Spikes" and a.b=="None" then a.b="Charge" a.c=false |
| 560 | + | end |
| 561 | - | hu.WalkSpeed=0 Armz(false) |
| 561 | + | end |
| 562 | - | local mz=it("Model",m)
|
| 562 | + | Children = PlayerList[i].Character:GetChildren() |
| 563 | - | for xi=1,360,360/8 do |
| 563 | + | for x = 1, #Children do |
| 564 | - | local spi=pa(mz,"","Block",1,6,1,true,false,0,0,"Dark green") spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike
|
| 564 | + | if Children[x].ClassName == "Part" then |
| 565 | - | spim.Scale=v3(1,6,1) spi.CFrame=t.CFrame *ca(0,rd(xi),0) *cf(0,0,10) *cf(0,-7,0) *ca(rd(rn(-5,5)),0,rd(rn(-5,5))) |
| 565 | + | Children[x].Reflectance = 0 |
| 566 | - | cw(function() for x=1,12,1 do spi.CFrame=spi.CFrame *cf(0,0.5,0) w() end end) |
| 566 | + | Children[x].Anchored = false |
| 567 | - | cw(function() repeat w() until ky=="z" or mp >= maxmp for x=1,12,1 do spi.CFrame=spi.CFrame *cf(0,-0.5,0) w() end mz:Remove'' end) |
| 567 | + | end |
| 568 | - | end |
| 568 | + | end |
| 569 | - | for xi=-1,1,2 do |
| 569 | + | end |
| 570 | - | local spi=pa(mz,"","Block",1,10,1,true,false,0,0,"Dark green") spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike
|
| 570 | + | end |
| 571 | - | spim.Scale=v3(1.2,10,1.2) spi.CFrame=t.CFrame *cf(xi*2.2,0,-2) *cf(0,-11,0) |
| 571 | + | end |
| 572 | - | cw(function() for x=1,20,1 do spi.CFrame=spi.CFrame *cf(0,0.5,0) w() end end) |
| 572 | + | if string.sub(msg, 0, 6) == "clean/" then |
| 573 | - | cw(function() repeat w() until ky=="z" or mp >= maxmp for x=1,20,1 do spi.CFrame=spi.CFrame *cf(0,-0.25,0) w() end mz:Remove'' end) |
| 573 | + | if string.sub(msg, 7) == "all" then |
| 574 | - | end |
| 574 | + | removeChildren(Workspace, {}, {})
|
| 575 | - | local spi=pa(mz,"","Block",0,0,0,false,false,1,0,raigcol) spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Crown
|
| 575 | + | part = Instance.new("Part")
|
| 576 | - | spim.Scale=v3(8,3,8) spi.CFrame=t.CFrame *cf(0,-2,0) local spi2=pa(mz,"","Block",0,0,0,false,false,1,0,raigcol) spi2.Anchored=true local spi2m=it("SpecialMesh",spi2) spi2m.MeshType="FileMesh" spi2m.MeshId=asset .. Decs.Crown
|
| 576 | + | part.BrickColor = BrickColor.new("Dark green")
|
| 577 | - | spi2m.Scale=v3(16,6,16) spi.CFrame=t.CFrame *cf(0,-2,0) spi2.CFrame=spi.CFrame Sound(Sounds.Cast,0.7,1) |
| 577 | + | part.Name = "Base" |
| 578 | - | cw(function() cw(function() for i=1,0.5,-0.05 do spi.Transparency=i spi2.Transparency=i w() end end) repeat w() spi.CFrame=spi.CFrame *ca(0,rd(11),0) spi2.CFrame=spi2.CFrame *ca(0,rd(-12),0) until ky=="z" or mp >= maxmp Sound(Sounds.ElectricalCharge,0.8,4) for i=0.5,1,0.05 do spi.CFrame=spi.CFrame *ca(0,rd(11),0) spi2.CFrame=spi2.CFrame *ca(0,rd(-12),0) spi.Transparency=i spi2.Transparency=i w() end spi2:Remove'' spi:Remove'' end) |
| 578 | + | part.Size = Vector3.new(10000, 1, 10000) |
| 579 | - | cw(function() c1(law,0.06,3,-1.2,0.55,-0.1,-90,-25,0) end) c1(raw,0.06,3,1.2,0.55,-0.1,-90,25,0) |
| 579 | + | part.Locked = true |
| 580 | - | local tyms=0 repeat tyms=tyms + 1 w() if tyms%15==0 then Sound(Sounds.Cast,1,0.5) end addmp(3.5) until ky=="z" or mp >= maxmp |
| 580 | + | part.Anchored = true |
| 581 | - | cw(function() c1(raw,0.1,3,1.5,1,0,0,0,0) end) c1(law,0.1,3,-1.5,1,0,0,0,0) |
| 581 | + | part.CFrame = CFrame.new(Vector3.new(0, 0.7, 0)) |
| 582 | - | Armz(true) a.c=true a.b="None" hu.WalkSpeed=ns |
| 582 | + | part.Parent = Workspace |
| 583 | - | elseif mp >= 150 and k=="t" and a.a=="Spikes" and a.b=="None" then a.b="SpinSlash" a.c=false |
| 583 | + | end |
| 584 | - | Armz(false) mp=mp - 150 hu.WalkSpeed=ns*1.5 |
| 584 | + | if string.sub(msg, 7, 12) == "class/" then |
| 585 | - | cw(function() c1(law,0.08,3,-1.2,1,0.2,40,0,-30) end) c1(raw,0.08,3,1.2,1,0.2,40,0,30) Sound(Sounds.Unsheath,1.2,1) |
| 585 | + | removeChildren(Workspace, {}, {string.sub(msg, 13)})
|
| 586 | - | local spi=pa(m,"","Block",0.3,6,0.3,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike spim.Scale=v3(0.2,6,0.2) local spiw=weld(spi,ra,spi,0,-2,2,rd(90),0,0)
|
| 586 | + | end |
| 587 | - | local spi1=pa(m,"","Block",0.3,6,0.3,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi1) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike spim.Scale=v3(0.2,6,0.2) local spi1w=weld(spi1,la,spi1,0,-2,2,rd(90),0,0)
|
| 587 | + | if string.sub(msg, 7, 11) == "name/" then |
| 588 | - | cw(function() c1(spiw,0.07,0,0,-4,0,170,0,0) end) cw(function() c1(spi1w,0.07,0,0,-4,0,190,0,0) end) |
| 588 | + | removeChildren(Workspace, {string.sub(msg, 12)}, {})
|
| 589 | - | cw(function() c1(law,0.07,3,-1,0.6,0,0,0,85) end) c1(raw,0.07,3,1,0.6,0,0,0,-95) w(0.2) DmgHit(99,spi,10,14,2) DmgHit(99,spi1,10,14,2) cw(function() Trail(spi,24,0.05,"Dark green",0.35,cf(0,3,0)) end) cw(function() Trail(spi1,24,0.05,"Dark green",0.35,cf(0,3,0)) end) |
| 589 | + | end |
| 590 | - | local tru=true local wnd=pa(m,"","Block",14,0,14,false,false,0.3,0,"Dark green") wnd.Anchored=true it("CylinderMesh",wnd).Scale=v3(1,0.1,1) cw(function() repeat w() wnd.CFrame=t.CFrame *cf(0,0.5,0) *ca(rd(rn(-8,8)),0,rd(rn(-8,8))) if rn(1,4)==2 then Sound(Sounds.Spin,1.25,1) end until not tru fade(wnd,0.08) end) c1(tw,0.02,3,0,0,0,0,-360*5,0) tru=false tw.C1=ca(0,0,0)
|
| 590 | + | end |
| 591 | - | cw(function() c1(law,0.08,3,-1.2,1,0.2,40,0,-30) end) hu.WalkSpeed=ns c1(raw,0.08,3,1.2,1,0.2,40,0,30) spi:Remove'' spi1:Remove'' |
| 591 | + | if string.sub(msg, 0, 6) == "group/" then |
| 592 | - | cw(function() c1(law,0.16,3,-1.5,1,0,0,0,0) end) c1(raw,0.16,3,1.5,1,0,0,0,0) |
| 592 | + | if string.sub(msg, 7, 11) == "none/" then |
| 593 | - | a.c=true Armz(true) a.b="None" cleanweld(tw,"a1") |
| 593 | + | for i = 1, #admins do |
| 594 | - | elseif mp >= 10 and k=="v" and a.a=="Spikes" and a.b=="None" then a.b="Hoverboard" a.c=false |
| 594 | + | if string.match(admins[i]:lower(), string.sub(msg, 12):lower()) then |
| 595 | - | Armz(false) Legz(false) |
| 595 | + | table.remove(admins, i) |
| 596 | - | local spi=pa(m,"","Block",0.3,10,0.3,true,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike spim.Scale=v3(1.2,10,0.8) local spiw=weld(spi,to,spi,-0.65,-3,0,rd(-80),0,0)
|
| 596 | + | end |
| 597 | - | local spi1=pa(m,"","Block",0.3,10,0.3,true,false,0,0,"Dark green") local spi1m=it("SpecialMesh",spi1) spi1m.MeshType="FileMesh" spi1m.MeshId=asset .. Decs.Spike spi1m.Scale=v3(1.2,10,0.8) local spi1w=weld(spi1,to,spi1,0.65,-3,0,rd(-80),0,0)
|
| 597 | + | end |
| 598 | - | local spi2=pa(m,"","Block",0,0,0,false,false,0,0,"Navy blue") local spi2m=it("SpecialMesh",spi2) spi1m.MeshType="FileMesh" spi2m.MeshId=asset .. Decs.Spike spi2m.Scale=v3(0.6,6,0.6) local spi2w=weld(spi2,to,spi2,0,-3.5,-1.5,rd(-96),0,0)
|
| 598 | + | for i = 1, #superadmins do |
| 599 | - | local bpt=it("BodyPosition",to) bpt.position=to.Position bpt.maxForce=v310
|
| 599 | + | if string.match(superadmins[i].Name:lower(), string.sub(msg, 12):lower()) then |
| 600 | - | local bgt=it("BodyGyro",to) bgt.maxTorque=v310 bgt.D=1250 hu.PlatformStand=true
|
| 600 | + | table.remove(superadmins, i) |
| 601 | - | cw(function() c1(law,0.07,3,-1,0.5,0,0,0,83) end) cw(function() c1(raw,0.07,3,1,0.5,0,0,0,-97) end) |
| 601 | + | end |
| 602 | - | cw(function() c1(llw,0.07,3,-0.5,-1,0,-20,0,25) end) cw(function() c1(rlw,0.07,3,0.5,-1,0,-20,0,-25) end) |
| 602 | + | end |
| 603 | - | c1(tw,0.07,3,0,0,0,15,90,0) Trail2(9999,spi,0.15,"Dark green",1.8,cf(0.6,-5,0)) |
| 603 | + | end |
| 604 | - | repeat local lulzspid=-a.ClickHold*2.5 if lulzspid < -50 then lulzspid=-50 end |
| 604 | + | if string.sub(msg, 7, 17) == "superadmin/" then |
| 605 | - | bpt.position=(to.CFrame *cf(0,0,-3+(lulzspid))).p bgt.cframe=cf(to.Position,mou.Hit.p) mp=mp - 0.5 w() until ky=="v" or mp < 1 |
| 605 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 606 | - | bpt:Remove'' bgt:Remove'' hu.PlatformStand=false rtab(sTrail,spi) local spisc=spim.Scale local spisc2=spi2m.Scale |
| 606 | + | for i = 1, #PlayerList do |
| 607 | - | for i=1,0,-0.1 do spim.Scale=spisc*i spi1m.Scale=spisc*i spi2m.Scale=spisc2*i w() end |
| 607 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 18):lower()) then |
| 608 | - | spi:Remove'' spi1:Remove'' spi2:Remove'' a.c=true NormalPose(0.08) Armz(true) Legz(true) a.b="None" |
| 608 | + | table.insert(superadmins, PlayerList[i].Name) |
| 609 | - | elseif mp >= 60 and k=="u" and a.a=="Spikes" and a.b=="None" then a.b="SpikeWall" a.c=false |
| 609 | + | end |
| 610 | - | Armz(false) Legz(false) mp=mp - 60 hu.WalkSpeed=0 Sound(Sounds.Cast,1.5,1) w(0.25) |
| 610 | + | end |
| 611 | - | cw(function() c1(law,0.06,3,-1.2,0.8,0,30,0,40) end) cw(function() c1(raw,0.06,3,1,0.5,-0.6,-55,0,10) end) |
| 611 | + | end |
| 612 | - | cw(function() c1(llw,0.06,3,-0.5,1.1,-0.7,-20,0,10) end) cw(function() c1(rlw,0.06,3,0.5,-0.4,0,50,0,-10) end) |
| 612 | + | if string.sub(msg, 7, 12) == "admin/" then |
| 613 | - | c1(tw,0.06,3,0,-1.8,0,30,0,0) Sound(Sounds.Smash,0.26,1) |
| 613 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 614 | - | for i=-12,12,2 do w() |
| 614 | + | for i = 1, #PlayerList do |
| 615 | - | local spi=pa(workspace,"","Block",3,20,3,true,false,0,0,"Dark green") spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike spim.Scale=v3(2,29,2)
|
| 615 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 13):lower()) then |
| 616 | - | SplashDmg(false,(to.CFrame *cf(i,-1,-8) *cf(0,0,ab(-i/2.5))).p,8,8,30) spi.CFrame=to.CFrame *cf(i,-20,-8) *cf(0,0,ab(-i/2.5)) cw(function() for i=1,20 do spi.CFrame =spi.CFrame *cf(0,1,0) w() end end) game:service'Debris':AddItem(spi,32) |
| 616 | + | table.insert(admins, PlayerList[i].Name) |
| 617 | - | end |
| 617 | + | end |
| 618 | - | hu.WalkSpeed=ns NormalPose(0.08) |
| 618 | + | end |
| 619 | - | Armz(true) Legz(true) a.b="None" a.c=true |
| 619 | + | end |
| 620 | - | elseif mp >= 8 and k=="g" and a.a=="Spikes" and a.b=="None" then a.b="SpikeCannon" a.c=false |
| 620 | + | end |
| 621 | - | Armz(false) Legz(false) |
| 621 | + | if string.sub(msg, 0, 7) == "sticky/" then |
| 622 | - | cw(function() c1(law,0.06,3,-1.2,0.8,0,-30,0,40) end) cw(function() c1(raw,0.06,3,1.2,0.8,0,-30,0,-40) end) |
| 622 | + | if string.sub(msg, 8) == "toggle" then |
| 623 | - | cw(function() c1(llw,0.06,3,-0.5,-0.8,0,-10,0,0) end) cw(function() c1(rlw,0.06,3,0.5,-0.8,0,-10,0,0) end) |
| 623 | + | if stickyEnabled == true then |
| 624 | - | c1(tw,0.06,3,0,-0.3,0,10,0,0) |
| 624 | + | stickyEnabled = false |
| 625 | - | repeat |
| 625 | + | newFormattedMessage("Default", "Stickies off.", 2.5, speaker)
|
| 626 | - | w(0.2) ShootSpike(15,nil,"Dark green",1,rn(10,28)/10,cf(rn(-22,22)/10,rn(-22,22)/10,0)*ca(rd(9),0,0)*ca(0,rd(180),0),false,2,t) mp=mp - 8 until not ky=="g" or mp < 1 |
| 626 | + | else |
| 627 | - | NormalPose(0.08) |
| 627 | + | stickyEnabled = true |
| 628 | - | Armz(true) Legz(true) a.b="None" a.c=true |
| 628 | + | newFormattedMessage("Default", "Stickies on.", 2.5, speaker)
|
| 629 | - | elseif mp >= 600 and k=="b" and a.a=="Spikes" and a.b=="None" then a.b="SpikeRoll" a.c=false |
| 629 | + | end |
| 630 | - | Armz(false) Legz(false) hu.WalkSpeed=ns*3.5 mp=mp - 600 local spiks={}
|
| 630 | + | end |
| 631 | - | for i=1,30 do |
| 631 | + | if string.sub(msg, 8) == "on" then |
| 632 | - | local spi=pa(m,"","Block",0,0,0,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike
|
| 632 | + | stickyEnabled = true |
| 633 | - | spim.Scale=v3(0,0,0) |
| 633 | + | newFormattedMessage("Default", "Stickies on.", 2.5, speaker)
|
| 634 | - | local spiw=weld(spi,t,spi,rn(-10,10)/10,rn(-10,10)/10,rn(-10,10)/10,rd(rn(-360,360)),0,rd(rn(-360,360))) |
| 634 | + | end |
| 635 | - | table.insert(spiks,spiw) cw(function() for i=0,2,0.1 do spiw.C0=spiw.C0 *cf(0,0.17,0) spim.Scale=v3(0.5,i*4,0.5) w() end end) |
| 635 | + | if string.sub(msg, 8) == "off" then |
| 636 | - | end |
| 636 | + | stickyEnabled = false |
| 637 | - | cw(function() c1(llw,0.1,3,-0.5,-0.8,-0.6,65,0,8) end) |
| 637 | + | newFormattedMessage("Default", "Stickies off.", 2.5, speaker)
|
| 638 | - | cw(function() c1(rlw,0.1,3,0.5,-0.8,-0.6,65,0,-8) end) |
| 638 | + | end |
| 639 | - | cw(function() c1(law,0.1,3,-1.3,1,-0.2,65,0,30) end) |
| 639 | + | if string.sub(msg, 8, 11) == "new/" then |
| 640 | - | cw(function() c1(raw,0.1,3,1.3,1,-0.2,65,0,-30) end) c1(tw,0.1,3,0,-2,0,0,0,0) local function funnyfiur(zazaz) ShootSpike(15,nil,"Dark green",1,rn(15,38)/10,zazaz,false,2,to) end |
| 640 | + | table.insert(stickyList, string.sub(msg, 12)) |
| 641 | - | cw(function() for i=0,1,0.005 do if rn(1,7)==5 then hu:MoveTo((to.CFrame *cf(0,0,-6)).p,to) end local rndz=rn(1,20) if rndz==4 then funnyfiur(ca(0,rd(rn(-360,360)),0)*ca(rd(2),0,0)) elseif rndz==3 then funnyfiur(ca(rd(2),0,0)) elseif rndz==1 then ShootSpike(15,nil,"Dark green",1,rn(15,38)/10,"random",false,2,to) end w() end end) c1(tw,0.005,3,0,-1.7,0,360*10,0,0) |
| 641 | + | newFormattedMessage("Message", "Sticky posted.", 2.5, speaker)
|
| 642 | - | NormalPose(0.07) |
| 642 | + | end |
| 643 | - | for xi=1,#spiks do local spiw=spiks[xi] cw(function() for i=2,0,-0.1 do spiw.C0=spiw.C0 *cf(0,-0.17,0) spiw.Part1.Mesh.Scale=v3(0.5,i*4,0.5) w() end spiw.Part1:Remove'' end) end w(0.5) |
| 643 | + | if string.sub(msg, 8, 14) == "delete/" then |
| 644 | - | Armz(true) Legz(true) a.b="None" a.c=true hu.WalkSpeed=ns cleanweld(tw,"a1") |
| 644 | + | if string.sub(msg, 15) == "all" then |
| 645 | - | elseif mp >= 120 and k=="n" and a.a=="Spikes" and a.b=="None" then a.b="SpikeTurret" a.c=false |
| 645 | + | stickyList = {}
|
| 646 | - | Armz(false) Legz(false) hu.WalkSpeed=0 mp=mp -120 Sound(Sounds.Cast,1.3,1) |
| 646 | + | newFormattedMessage("Default", "All stickies removed.", 2.5, speaker)
|
| 647 | - | cw(function() c1(law,0.06,3,-1.2,0.5,0,-50,0,-25) end) cw(function() c1(raw,0.06,3,1.2,0.5,0,-50,0,25) end) |
| 647 | + | return |
| 648 | - | cw(function() c1(llw,0.06,3,-0.5,0.6,-0.7,-20,0,10) end) cw(function() c1(rlw,0.06,3,0.5,-0.9,0,50,0,-10) end) |
| 648 | + | elseif stickyList[tonumber(string.sub(msg, 15))] ~= nil then |
| 649 | - | c1(tw,0.06,3,0,-1.3,0,30,0,0) w(0.25) if not Button then SpawnSpikeTurret(cf(mou.Hit.p),rn(8,18)/10,35,30,1) else SpawnSpikeTurret(cf(mou.Hit.p),rn(8,18)/10,35,30,-1) end w(0.1) |
| 649 | + | table.remove(stickyList, tonumber(string.sub(msg, 15))) |
| 650 | - | cw(function() c1(law,0.06,3,-1.2,0.5,0,-160,0,-15) end) cw(function() c1(raw,0.06,3,1.2,0.5,0,-160,0,15) end) |
| 650 | + | newFormattedMessage("Default", "Sticky removed.", 2.5, speaker)
|
| 651 | - | cw(function() c1(llw,0.06,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.06,3,0.5,-1,0,0,0,0) end) |
| 651 | + | else |
| 652 | - | c1(tw,0.06,3,0,0,0,0,0,0) hu.WalkSpeed=ns w(0.5) |
| 652 | + | for i = 1, #stickyList do |
| 653 | - | NormalPose(0.1) |
| 653 | + | if string.match(stickyList[i]:lower(), string.sub(msg, 15):lower()) then |
| 654 | - | Armz(true) Legz(true) a.b="None" a.c=true |
| 654 | + | table.remove(stickyList, i) |
| 655 | - | elseif mp >= 75 and k=="y" and a.a=="Spikes" and a.b=="None" then a.b="SpikeDisc" a.c=false |
| 655 | + | end |
| 656 | - | Armz(false) |
| 656 | + | end |
| 657 | - | repeat mp=mp - 75 |
| 657 | + | end |
| 658 | - | cw(function() c1(law,0.1,3,-1.2,1,-0.2,-40,0,30) end) c1(raw,0.1,3,1.2,1,0.2,40,0,30) Sound(Sounds.Unsheath,1.2,1) |
| 658 | + | end |
| 659 | - | local spi=pa(m,"","Block",0.3,6,0.3,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike spim.Scale=v3(0.2,6,0.2) local spiw=weld(spi,ra,spi,0,-4,0,rd(180),0,0)
|
| 659 | + | end |
| 660 | - | cw(function() c1(law,0.1,3,-1.2,1,0.2,40,0,-30) end) c1(raw,0.2,3,1,0.6,-0.3,-80,65,0) c1(raw,0.2,3,1,0.6,-0.3,-100,10,0) FireDisc("Dark green",6,5,35,cf(spi.Position,mou.Hit.p)) spiw.Part0=la Sound(Sounds.Unsheath,1.2,1)
|
| 660 | + | if string.sub(msg, 0, 8) == "blocker/" then |
| 661 | - | cw(function() c1(raw,0.1,3,1.2,1,-0.2,40,0,-30) end) c1(law,0.2,3,-1,0.6,-0.3,-80,-65,0) c1(law,0.2,3,-1,0.6,-0.3,-100,-10,0) spi:Remove'' FireDisc("Dark green",6,5,35,cf(spi.Position,mou.Hit.p))
|
| 661 | + | if string.sub(msg, 9) == "toggle" then |
| 662 | - | until ky=="y" or mp < 75 |
| 662 | + | if blockerEnabled == true then |
| 663 | - | cw(function() c1(law,0.15,3,-1.5,1,0,40,0,0) end) c1(raw,0.15,3,1.5,1,0,0,0,0) |
| 663 | + | blockerEnabled = false |
| 664 | - | Armz(true) a.b="None" a.c=true |
| 664 | + | newFormattedMessage("Default", "Blocker off.", 2.5, speaker)
|
| 665 | - | elseif mp >= 35 and k=="f" and a.a=="Spikes" and a.b=="Hoverboard" then mp=mp-35 ShootSpike(15,nil,"Navy blue",1,2,cf((to.CFrame *cf(0,-4,-2)).p,mou.Hit.p)*cf(0,0,-4),true,3,nil) |
| 665 | + | else |
| 666 | - | elseif mp >= maxmp*0.9 and k=="h" and a.a=="Spikes" and a.b=="None" then a.b="SpikeRage" a.c=false |
| 666 | + | blockerEnabled = true |
| 667 | - | Armz(false) Legz(false) mp=rn(1,maxmp/10) hu.WalkSpeed=0 Sound(Sounds.Cast,0.7,2) w(0.5) |
| 667 | + | newFormattedMessage("Default", "Blocker on.", 2.5, speaker)
|
| 668 | - | cw(function() c1(law,0.06,3,-1.2,0.8,0,30,0,40) end) cw(function() c1(raw,0.06,3,1,0.5,-0.6,-55,0,10) end) |
| 668 | + | end |
| 669 | - | cw(function() c1(llw,0.06,3,-0.5,1.1,-0.7,-20,0,10) end) cw(function() c1(rlw,0.06,3,0.5,-0.4,0,50,0,-10) end) |
| 669 | + | end |
| 670 | - | c1(tw,0.06,3,0,-1.8,0,30,0,0) Sound(Sounds.Smash,0.26,1) |
| 670 | + | if string.sub(msg, 9) == "on" then |
| 671 | - | for i=0,360,360/8 do w() cw(function() |
| 671 | + | blockerEnabled = true |
| 672 | - | for ii=1,5 do if rn(1,3)==1 then Sound(Sounds.Unsheath,0.9,1) end |
| 672 | + | newFormattedMessage("Default", "Blocker on.", 2.5, speaker)
|
| 673 | - | local spi=pa(workspace,"","Block",8,20,8,true,false,0,0,"Dark green") spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike spim.Scale=v3(3+(ii),25+(ii*1.5),3+(ii))
|
| 673 | + | end |
| 674 | - | local spawncf=to.CFrame *ca(0,rd(i+(ii*12)),0) *cf(0,0,8+(ii*12)) *ca(rd(20),0,0) spi.CFrame=spawncf *cf(0,-17,0) cw(function() for i=1,14 do spi.CFrame =spi.CFrame *cf(0,1.5,0) w() end w(3) for i=1,20 do spi.CFrame =spi.CFrame *cf(0,-1.5,0) w() end spi:Remove'' end) |
| 674 | + | if string.sub(msg, 9) == "off" then |
| 675 | - | w(0.05) end end) end SplashDmg(true,to.Position,105,120,80) |
| 675 | + | blockerEnabled = false |
| 676 | - | hu.WalkSpeed=ns NormalPose(0.08) |
| 676 | + | newFormattedMessage("Default", "Blocker off.", 2.5, speaker)
|
| 677 | - | Armz(true) Legz(true) a.b="None" a.c=true |
| 677 | + | end |
| 678 | - | elseif mp >= 50 and k=="r" and a.a=="Spikes" and a.b=="None" then a.b="SpikeBlock" a.c=false |
| 678 | + | if string.sub(msg, 9, 12) == "add/" then |
| 679 | - | Armz(false) mp=mp - 50 hu.WalkSpeed=ns/2 Block.Value=true |
| 679 | + | if string.sub(msg, 13, 18) == "class/" then |
| 680 | - | cw(function() c1(hw,0.15,3,0,1.5,0,0,35,0) end) cw(function() c1(tw,0.15,3,0,0,1.8,0,-35,0) end) cw(function() c1(law,0.15,3,-1,0.55,-0.9,-90,55,0) end) c1(raw,0.15,3,1.2,0.55,0.6,-90,10,0) |
| 680 | + | table.insert(blockerClasses, string.sub(msg, 19):lower()) |
| 681 | - | local spis={} for xi=0,360,360/16 do local xzx=5.5 if xi%((360/16)*2)==0 then xzx=4.1 w() end
|
| 681 | + | newFormattedMessage("Message", "Class blocked.", 2.5, speaker)
|
| 682 | - | local spi=pa(m,"Shield","Block",0,0,0,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike
|
| 682 | + | end |
| 683 | - | local spiw=weld(spi,to,spi,0,0.65,-0.8,0,0,rd(xi)) spiw.C0=spiw.C0 *ca(rd(15),0,0) |
| 683 | + | if string.sub(msg, 13, 17) == "name/" then |
| 684 | - | cw(function() for i=0,1,0.1 do if rn(1,25)==1 then Sound(Sounds.Unsheath,rn(9,16)/10,1) end spiw.C0=spiw.C0 *cf(0,0.16,0) spim.Scale=v3(0.6*i,i*xzx,0.6*i) w() end end) |
| 684 | + | table.insert(blockerNames, string.sub(msg, 18):lower()) |
| 685 | - | ti(spis,spi) end |
| 685 | + | newFormattedMessage("Message", "Name blocked.", 2.5, speaker)
|
| 686 | - | local spi=pa(m,"Shield","Block",0,0,0,false,false,0,0,"Dark green") local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Spike
|
| 686 | + | end |
| 687 | - | local spiw=weld(spi,to,spi,0,0.65,-0.8,rd(-90),0,0) |
| 687 | + | end |
| 688 | - | cw(function() for i=0,1,0.1 do if rn(1,25)==1 then Sound(Sounds.Unsheath,rn(9,16)/10,1) end spiw.C0=spiw.C0 *cf(0,0.16,0) spim.Scale=v3(0.6*i,i*4.7,0.6*i) w() end end) |
| 688 | + | if string.sub(msg, 9, 15) == "delete/" then |
| 689 | - | ti(spis,spi) w(1) |
| 689 | + | if string.sub(msg, 16) == "all" then |
| 690 | - | repeat w() mp=mp - 0.1 until mp < 0.5 or ky=="r" |
| 690 | + | blockerClasses = {}
|
| 691 | - | for xi=1,#spis do local spi=spis[xi] local spiw=spi.Weld local spim=spi.Mesh |
| 691 | + | blockerNames = {}
|
| 692 | - | local xzx=spim.Scale.y cw(function() for i=1,0,-0.1 do if rn(1,15)==1 then Sound(Sounds.Unsheath,rn(9,16)/10,1) end spiw.C0=spiw.C0 *cf(0,-0.16,0) spim.Scale=v3(0.6*i,i*xzx,0.6*i) w() end spi:Remove'' end) |
| 692 | + | newFormattedMessage("Default", "All class and name blocks removed.", 2.5, speaker)
|
| 693 | - | end Block.Value=false hu.WalkSpeed=ns |
| 693 | + | return |
| 694 | - | w(0.25) cw(function() c1(hw,0.15,3,0,1.5,0,0,0,0) end) cw(function() c1(tw,0.15,3,0,0,0,0,0,0) end) cw(function() c1(law,0.06,3,-1.5,1,0,0,0,0) end) c1(raw,0.06,3,1.5,1,0,0,0,0) |
| 694 | + | end |
| 695 | - | Armz(true) a.c=true a.b="None" |
| 695 | + | if string.sub(msg, 16, 21) == "class/" then |
| 696 | - | elseif mp >= 45 and k=="e" and a.a=="Champion" and a.b=="None" then a.b="Jab" a.c=false |
| 696 | + | if string.sub(msg, 22) == "all" then |
| 697 | - | Legz(true) mp=mp - 45 hu.WalkSpeed=ns*1.5 Sound(Sounds.Slash,0.9,1) Trail2(9999,ra,0.08,ts(ra.BrickColor),0.7,cf(0,-2.5,0)) rayHit(0.75,5,ra,ca(rd(-90),0,0),3.2,15,35) |
| 697 | + | blockerClasses = {}
|
| 698 | - | cw(function() c1(hw,0.15,3,0,1.5,0,-10,60,0) end) cw(function() c1(law,0.12,3,-1.3,1,-0.2,45,0,1) end) cw(function() c1(tw,0.12,3,0,0,-4,0,-60,0) end) c1(raw,0.12,3,1,0.75,-0.5,-92,60,0) |
| 698 | + | newFormattedMessage("Default", "All class blocks removed.", 2.5, speaker)
|
| 699 | - | rtab(sTrail,ra) w(0.2) cw(function() c1(hw,0.15,3,0,1.5,0,0,0,0) end) cw(function() c1(tw,0.15,3,0,0,0,0,0,0) end) hu.WalkSpeed=ns*1.2 cw(function() c1(law,0.15,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.15,3,1.3,1,-0.2,30,0,-18) a.c=true a.b="None" |
| 699 | + | return |
| 700 | - | elseif mp < maxmp and k=="z" and a.a=="Champion" and a.b=="None" then a.b="Charge" a.c=false |
| 700 | + | elseif blockerClasses[tonumber(string.sub(msg, 22))] ~= nil then |
| 701 | - | Armz(false) Legz(false) hu.WalkSpeed=ns/5 |
| 701 | + | table.remove(blockerClasses, tonumber(string.sub(msg, 22))) |
| 702 | - | cw(function() c1(llw,0.07,3,-0.5,-1,0,-15,0,20) end) cw(function() c1(rlw,0.07,3,0.5,-1,0,-15,0,-20) end) |
| 702 | + | newFormattedMessage("Default", "Class removed.", 2.5, speaker)
|
| 703 | - | cw(function() c1(law,0.07,3,-1.3,0.1,-0.3,-140,-25,0) end) c1(raw,0.07,3,1.3,0.1,-0.3,-140,25,0) Sound(Sounds.Cast,1,1) |
| 703 | + | else |
| 704 | - | local crwns={}
|
| 704 | + | for i = 1, #blockerClasses do |
| 705 | - | for i=1,5 do |
| 705 | + | if blockerClasses[i]:lower() == string.sub(msg, 22):lower() then |
| 706 | - | local spi=pa(m,"","Block",0,0,0,false,false,1,0,raigcol2) spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=asset .. Decs.Crown
|
| 706 | + | table.remove(blockerClasses, i) |
| 707 | - | spim.Scale=v3(i*3,15-(i*1.6),i*3) cw(function() for i=1,0.4,-0.05 do spi.Transparency=i w() end end) ti(crwns,spi) end |
| 707 | + | return |
| 708 | - | cw(function() local ysp=0 repeat ysp=ysp + 15 for ix,spi in pairs(crwns) do local ysp2=1 if ix%2==0 then ysp2=-1 end spi.CFrame=to.CFrame *cf(0,-2,0) *ca(0,rd(ysp*ysp2),0) end w() until a.c end) |
| 708 | + | end |
| 709 | - | local tyms=0 repeat tyms=tyms + 1 w() if tyms%15==0 then Sound(Sounds.Cast,1,0.5) end addmp(3.5) if rn(1,3)==1 then RaiseBubble(to.CFrame *cf(0,-2,0),rn(8,13)/10,90,raigcol) end until mp >= maxmp or ky=="z" Sound(Sounds.ElectricalCharge,0.8,4) |
| 709 | + | end |
| 710 | - | cw(function() for ix,spi in pairs(crwns) do cw(function() for xi=0.4,1,0.05 do spi.Transparency=xi w() end spi:Remove'' end) end end) |
| 710 | + | end |
| 711 | - | cw(function() c1(law,0.15,3,-1.3,1,-0.2,30,0,18) end) cw(function() c1(raw,0.15,3,1.3,1,-0.2,30,0,-18) end) |
| 711 | + | end |
| 712 | - | cw(function() c1(llw,0.07,3,-0.5,-1,0,0,0,0) end) c1(rlw,0.07,3,0.5,-1,0,0,0,0) Legz(true) hu.WalkSpeed=ns*1.2 a.c=true a.b="None" |
| 712 | + | if string.sub(msg, 16, 20) == "name/" then |
| 713 | - | elseif mp >= 60 and k=="g" and a.a=="Champion" and a.b=="None" then a.b="FlipKick" a.c=false |
| 713 | + | if string.sub(msg, 21) == "all" then |
| 714 | - | Legz(false) hu.WalkSpeed=ns*1.5 mp=mp - 60 FacePos(to,to.Position,mou.Hit.p,500,v3(0,1/0,0),ca(0,rd(12),0),0.5) |
| 714 | + | blockerNames = {}
|
| 715 | - | cw(function() c1(law,0.08,3,-1.3,0.8,0,60,0,18) end) cw(function() c1(raw,0.08,3,1.3,0.8,0,60,0,-18) end) |
| 715 | + | newFormattedMessage("Default", "All name blocks removed.", 2.5, speaker)
|
| 716 | - | Sound(Sounds.Slash,1.2,1) BlastMesh(raigcol2,to,cf(0,-2,0),3.5) cw(function() c1(tw,0.16,3,0,-0.5,0,10,0,0) c1(tw,0.16,3,0,1.5,2,30,0,0) end) cw(function() c1(llw,0.08,3,-0.5,-0.6,0,70,0,0) end) c1(rlw,0.08,3,0.5,0,-1,15,0,0) w() Trail2(9999,rl,0.045,ts(rl.BrickColor),0.9,cf(0,-2.8,0)) rayHit(2.5,5,rl,ca(rd(-90),0,0),6,20,38) |
| 716 | + | return |
| 717 | - | cw(function() c1(tw,0.08,1,0,4.5,0,0,0,0) c1(tw,0.062,1,0,0,0,0,0,0) end) cw(function() c1(tw,0.04,0,0,0,0,360,360,0) cleanweld(tw,"a0") end) cw(function() c1(llw,0.2,3,-0.5,-1,0,160,0,0) end) c1(rlw,0.2,3,0.5,-1,0,-15,0,0) cw(function() w(0.5) rtab(sTrail,rl) end) |
| 717 | + | elseif blockerNames[tonumber(string.sub(msg, 21))] ~= nil then |
| 718 | - | cw(function() c1(law,0.15,3,-1.3,1,-0.2,30,0,18) end) cw(function() c1(raw,0.15,3,1.3,1,-0.2,30,0,-18) end) |
| 718 | + | table.remove(blockerNames, tonumber(string.sub(msg, 21))) |
| 719 | - | cw(function() c1(llw,0.07,3,-0.5,-1,0,0,0,0) end) c1(rlw,0.07,3,0.5,-1,0,0,0,0) hu.WalkSpeed=ns*1.2 Legz(true) a.c=true a.b="None" |
| 719 | + | newFormattedMessage("Default", "Name removed.", 2.5, speaker)
|
| 720 | - | elseif mp >= 40 and k=="x" and a.a=="Champion" and a.b=="None" then a.b="Roundhouse" a.c=false |
| 720 | + | else |
| 721 | - | Legz(false) mp=mp - 40 cw(function() c1(law,0.15,3,-0.8,0,-0.5,-170,0,5) end) cw(function() c1(raw,0.15,3,0.8,0,-0.5,-170,0,-5) end) Trail2(9999,ll,0.045,ts(ll.BrickColor),0.5,cf(0,-2.8,0)) rayHit(2.5,5,ll,ca(rd(-90),0,0),6,20,38) Sound(Sounds.Slash,1.2,1) |
| 721 | + | for i = 1, #blockerNames do |
| 722 | - | cw(function() c1(tw,0.06,1,0,0,0,0,0,100) c1(tw,0.08,1,0,0,0,0,0,0) end) cw(function() c1(llw,0.12,3,-0.5,-1,0,0,0,50) w(0.1) c1(llw,0.2,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.06,3,0.5,-1,0,0,0,-100) c1(rlw,0.06,3,0.5,-1,0,0,0,0) end) c1(tw,0.06,0,0,0,-2.5,0,360,0) cw(function() w(0.4) rtab(sTrail,ll) end) |
| 722 | + | if blockerNames[i]:lower() == string.sub(msg, 21):lower() then |
| 723 | - | cleanweld(tw,"a0") cw(function() c1(tw,0.08,0,0,0,0,0,0,0) end) cw(function() c1(law,0.07,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.07,3,1.3,1,-0.2,30,0,-18) Legz(true) a.c=true a.b="None" |
| 723 | + | table.remove(blockerNames, i) |
| 724 | - | elseif mp >= 30 and k=="r" and a.a=="Champion" and a.b=="None" then a.b="Block" a.c=false hu.WalkSpeed=ns/2 mp=mp - 30 Legz(true) |
| 724 | + | return |
| 725 | - | Sound(Sounds.Cast,1.2,1) cw(function() c1(hw,0.06,3,0,1.5,0,0,45,0) end) cw(function() c1(tw,0.06,3,0,0,2.5,0,-45,0) end) cw(function() c1(law,0.07,3,-1.3,1,0,0,0,30) end) c1(raw,0.07,3,1.5,-0.2,-0.2,-170,0,10) |
| 725 | + | end |
| 726 | - | Sound(Sounds.SaberLightUp,1.4,1) local tyms=0 Block.Value=true repeat tyms=tyms + 1 if tyms%15==0 then Sound(Sounds.SaberLightUp,1.55,0.5) end if tyms%8==0 then GlowMesh(true,asset .. Decs.Shield1,to,v3(5,15,4),raigcol2,cf(0.5,1,0.5)*ca(rd(-90),0,0)) GlowMesh(true,asset .. Decs.Crown,to,v3(7,0.5,7),raigcol2,cf(0,-2.5,2.5)*ca(0,rd(tyms*3),0)) end w() mp=mp - 0.5 until mp <= 0 or ky=="r" Block.Value=false |
| 726 | + | end |
| 727 | - | cw(function() c1(hw,0.06,3,0,1.5,0,0,0,0) end) cw(function() c1(tw,0.06,3,0,0,0,0,0,0) end) hu.WalkSpeed=ns*1.2 cw(function() c1(law,0.07,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.07,3,1.3,1,-0.2,30,0,-18) Legb=true a.c=true a.b="None" |
| 727 | + | end |
| 728 | - | elseif mp >= 70 and k=="t" and a.a=="Champion" and a.b=="None" then a.b="WhirlKick" a.c=false hu.WalkSpeed=ns*1.5 mp=mp - 70 Legz(false) |
| 728 | + | end |
| 729 | - | cw(function() c1(law,0.1,3,-1.2,1,0,-175,0,10) end) cw(function() c1(raw,0.1,3,1.2,1,0,-185,0,-10) end) cw(function() c1(llw,0.1,3,-0.9,-1,0,0,0,85) end) cw(function() c1(rlw,0.1,3,0.9,-1,0,0,0,-95) end) c1(tw,0.08,0,0.07,0,0,170,0,0) Trail2(9999,rl,0.045,ts(rl.BrickColor),0.4,cf(0,-2.8,0)) rayHit(3.5,5,rl,ca(rd(-90),0,0),6,20,38) Trail2(9999,ll,0.045,ts(ll.BrickColor),0.4,cf(0,-2.8,0)) rayHit(3.5,5,ll,ca(rd(-90),0,0),6,20,38) cw(function() Sound(Sounds.Spin,1,1) for i=0,0.5,0.02 do w() end w() Sound(Sounds.Spin,1,1) end) c1(tw,0.02,1,0,0,0,0,360*3,0) cleanweld(tw,"a1") |
| 729 | + | end |
| 730 | - | cw(function() w(0.4) rtab(sTrail,ll) rtab(sTrail,rl) end) cw(function() c1(tw,0.08,0,0,0,0,0,0,0) end)cw(function() c1(llw,0.07,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.07,3,0.5,-1,0,0,0,0) end) hu.WalkSpeed=ns*1.2 cw(function() c1(law,0.07,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.07,3,1.3,1,-0.2,30,0,-18) w(0.25) Legz(true) a.c=true a.b="None" |
| 730 | + | end |
| 731 | - | elseif mp >= 50 and k=="q" and a.a=="Champion" and a.b=="None" then a.b="360Uppercut" a.c=false mp=mp - 50 |
| 731 | + | if string.sub(msg, 0, 4) == "pri/" then |
| 732 | - | cw(function() c1(law,0.06,3,-1.5,0.5,-0.5,-140,0,18) end) cw(function() c1(raw,0.06,3,1.3,1,-0.2,40,0,-25) end) Trail2(9999,la,0.045,raigcol3,0.8,cf(0,-2.8,0)) rayHit(1.5,5,t,ca(0,0,0),6,20,42) |
| 732 | + | if string.sub(msg, 5) == "toggle" then |
| 733 | - | cw(function() local bf=it("BodyForce",t) bf.force=v3(0,9000,0) game:service'Debris':AddItem(bf,0.2) Sound(Sounds.Slash,1.2,1) end) c1(tw,0.055,3,0,0,-1,0,360,0)
|
| 733 | + | if priEnabled == true then |
| 734 | - | rtab(sTrail,la) cleanweld(tw,"a1") cw(function() c1(tw,0.15,3,0,0,0,0,0,0) end) cw(function() c1(law,0.14,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.14,3,1.3,1,-0.2,30,0,-18) a.c=false a.b="None" Legz(true) |
| 734 | + | priEnabled = false |
| 735 | - | elseif mp >= 20 and k=="v" and a.a=="Champion" and a.b=="None" then a.b="Booster" a.c=false mp=mp - 10 Legz(false) |
| 735 | + | newFormattedMessage("Default", "Private (\"Pri\") server function off.", 2.5, speaker)
|
| 736 | - | cw(function() c1(llw,0.08,3,-0.5,-1,0,0,0,10) end) cw(function() c1(rlw,0.08,3,0.5,-1,0,0,0,-10) end) |
| 736 | + | else |
| 737 | - | cw(function() c1(hw,0.14,3,0,1.5,0,-45,0,0) end) cw(function() c1(tw,0.14,3,0,0,0,60,0,0) end) local tyms=0 local bpt=it("BodyPosition",to) bpt.position=to.Position bpt.maxForce=v310 local bgt=it("BodyGyro",to) bgt.maxTorque=v310 bgt.D=1250
|
| 737 | + | priEnabled = true |
| 738 | - | repeat local lulzspid=-a.ClickHold*2.5 if lulzspid < -50 then lulzspid=-50 end bpt.position=(to.CFrame *cf(0,0,-2+(lulzspid))).p bgt.cframe=cf(to.Position,mou.Hit.p) mp=mp -1.25 tyms=tyms + 1 if tyms%8==0 then GlowMesh(false,asset .. Decs.Crown,t,v3(5,7,5),raigcol2,cf(0,0.5,0)*ca(rd(180),rd(tyms*3),0)) end w() until mp <= 0 or ky=="v" |
| 738 | + | newFormattedMessage("Default", "Private (\"Pri\") server function on.", 2.5, speaker)
|
| 739 | - | bpt:Remove'' bgt:Remove'' w(0.5) cw(function() c1(hw,0.14,3,0,1.5,0,0,0,0) end) cw(function() c1(llw,0.08,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.08,3,0.5,-1,0,0,0,0) end) cw(function() c1(tw,0.14,3,0,0,0,0,0,0) end) cw(function() c1(law,0.14,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.14,3,1.3,1,-0.2,30,0,-18) Legz(true) a.c=true a.b="None" Legb2=true |
| 739 | + | end |
| 740 | - | elseif mp >= 120 and k=="b" and a.a=="Champion" and a.b=="None" then a.b="Combo" a.c=false mp=mp - 120 local aspi=0.07 tw.C1=cf(0,0,0) *ca(0,0,0) |
| 740 | + | end |
| 741 | - | Sound(Sounds.Slash,1.2,1) Trail2(9999,la,0.045,ts(la.BrickColor),0.4,cf(0,-2.8,0)) rayHit(1.3,5,la,ca(rd(-90),0,0),6,12,15) cw(function() c1(hw,aspi,3,0,1.5,0,0,-80,0) end) cw(function() c1(law,aspi,3,-1.3,0.5,-0.2,0,0,85) end) cw(function() c1(raw,aspi,3,1.3,1,-0.2,30,0,-45) end) c1(tw,aspi,0,0,0,0,0,-90,0) rtab(sTrail,la) w(0.1) |
| 741 | + | if string.sub(msg, 5) == "on" then |
| 742 | - | Sound(Sounds.Slash,1.2,1) Trail2(9999,ra,0.045,ts(ra.BrickColor),0.4,cf(0,-2.8,0)) rayHit(1.3,5,ra,ca(rd(-90),0,0),6,13,18) cw(function() c1(hw,aspi,3,0,1.5,0,0,80,0) end) cw(function() c1(law,aspi,3,-0.8,0,-0.5,-170,0,5) end) cw(function() c1(raw,aspi,3,1.1,0.5,-0.2,0,20,-85) end) c1(tw,aspi,0,0,0,0,0,-270,0) rtab(sTrail,ra) w(0.1) cw(function() c1(raw,aspi,3,0.8,0,-0.5,-170,0,-5) end) |
| 742 | + | priEnabled = true |
| 743 | - | Sound(Sounds.Slash,1.2,1) Trail2(9999,ll,0.045,ts(ll.BrickColor),0.4,cf(0,-2.8,0)) rayHit(1.3,5,ll,ca(rd(-90),0,0),6,15,21) cw(function() c1(hw,aspi,3,0,1.5,0,0,0,0) end) Legz(false) cw(function() c1(llw,aspi,3,-0.5,-1,0,0,0,40) end) cw(function() c1(rlw,aspi,3,0.5,-1,0,0,0,-80) end) cw(function() c1(tw,aspi,1,0,0,0,0,0,75) end) w(0.1) c1(tw,aspi,0,0,0,0,0,-490,0) rtab(sTrail,ll) w() |
| 743 | + | newFormattedMessage("Default", "Private (\"Pri\") server function on.", 2.5, speaker)
|
| 744 | - | cw(function() c1(llw,0.08,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.08,3,0.5,-1,0,0,0,0) end) cw(function() c1(hw,0.08,3,0,1.5,0,0,0,0) end) cw(function() c1(tw,0.14,0,0,0,0,0,-360,0) end) cw(function() c1(tw,0.14,1,0,0,0,0,0,0) end) cw(function() c1(law,0.14,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.14,3,1.3,1,-0.2,30,0,-18) w(0.25) a.b="None" a.c=true Legz(true) cleanweld(tw,"a0") cleanweld(tw,"a1") |
| 744 | + | end |
| 745 | - | elseif mp >= 50 and k=="f" and a.a=="Champion" and a.b=="None" then a.b="RapidPunch" a.c=false tw.C1=cf(0,0,0) *ca(0,0,0) |
| 745 | + | if string.sub(msg, 5) == "off" then |
| 746 | - | cw(function() c1(law,0.08,3,-1.3,0.5,-0.2,-100,0,0) end) c1(raw,0.08,3,1.3,0.5,-0.2,-100,0,0) Trail2(9999,la,0.06,ts(la.BrickColor),0.4,cf(0,-3.5,0)) Trail2(9999,ra,0.06,ts(ra.BrickColor),0.25,cf(0,-3.5,0)) |
| 746 | + | priEnabled = false |
| 747 | - | local bgt=it("BodyGyro",to) bgt.maxTorque=v310 bgt.D=50 local tyms=0 repeat tyms=tyms + 1 bgt.cframe=cf(to.Position,v3(mou.Hit.p.x,to.Position.y,mou.Hit.p.z)) if (tyms+15)%30==0 then rayHit(0.4,5,ra,ca(rd(-90),0,0),4,8,12) end if tyms%30==0 then rayHit(0.4,5,la,ca(rd(-90),0,0),4,8,12) end if tyms%6==0 then Sound(Sounds.Slash,1.2,1) end if tyms%2==0 then c1(law,1,3,-1.3,0.5,0-(rn(-2,5)/10),-100+rn(-40,40),rn(-10,35),0) end if (tyms+1)%2==0 then c1(raw,1,3,1.3,0.5,0-(rn(-2,5)/10),-100+rn(-50,50),rn(-35,10),0) end w() mp=mp - 1.5 until mp < 3 or ky=="f"
|
| 747 | + | newFormattedMessage("Default", "Private (\"Pri\") server function off.", 2.5, speaker)
|
| 748 | - | bgt:Remove'' rtab(sTrail,la) rtab(sTrail,ra) cw(function() c1(law,0.06,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.06,3,1.3,1,-0.2,30,0,-18) a.c=true a.b="None" |
| 748 | + | end |
| 749 | - | elseif mp >= 80 and k=="y" and a.a=="Champion" and a.b=="None" then a.b="Combo2" a.c=false mp=mp - 80 |
| 749 | + | if string.sub(msg, 5, 8) == "add/" then |
| 750 | - | Sound(Sounds.Slash,1.2,1) Trail2(9999,ra,0.045,ts(ra.BrickColor),0.4,cf(0,-2.8,0)) cw(function() c1(hw,0.06,0,0,1.5,0,0,-105,0) end) cw(function() c1(tw,0.06,0,0,0,0,0,105,0) end) c1(raw,0.08,3,1,0.5,0,10,0,-90) local rhit,aihu=rayHit2(ra,ca(rd(-90),0,0),5) if rhit and aihu and aihu.Parent:findFirstChild("Torso") then hu.WalkSpeed=0 aihu.PlatformStand=true local vto=aihu.Parent.Torso Sound(Sounds.Smash,1,1) Dmgz(false,aihu,rn(18,25),vto) local aibp=it("BodyPosition",vto) aibp.maxForce=v310 aibp.position=vto.Position + v3(0,2.5,0) c1(raw,0.1,3,1.5,0.3,0,-10,0,-180)
|
| 750 | + | if string.sub(msg, 9) == "all" then |
| 751 | - | rtab(sTrail,ra) w(0.25) Legz(false) Sound(Sounds.Slash,1.2,1) cw(function() c1(llw,0.06,3,-0.5,-1,0,0,0,50) end) cw(function() c1(rlw,0.06,3,0.5,-1,0,0,0,-80) end) cw(function() c1(tw,0.06,1,0,0,0,0,0,80) end) cw(function() c1(tw,0.06,0,0,0,0,0,-140,0) end) cw(function() for i=0,1,0.084 do w() end aibp.position=(to.CFrame *cf(12,8,-3)).p w() aibp:Remove'' w(1) aihu.PlatformStand=false end) rayHit(2,5,ll,ca(rd(-90),0,0),6,15,21) Trail2(9999,ll,0.045,ts(ll.BrickColor),0.4,cf(0,-2.8,0)) cw(function() c1(raw,0.06,3,0.9,0,-0.5,-170,0,-5) end) cw(function() c1(hw,0.06,0,0,1.5,0,0,0,0) end) c1(law,0.06,3,-0.9,0,-0.5,-170,0,5) |
| 751 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 752 | - | w(0.1) rtab(sTrail,ll) cw(function() c1(llw,0.06,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.06,3,0.5,-1,0,0,0,0) end) |
| 752 | + | for i = 1, #PlayerList do |
| 753 | - | else rtab(sTrail,ra) w(0.5) end |
| 753 | + | table.insert(priList, PlayerList[i].Name) |
| 754 | - | cw(function() c1(hw,0.1,0,0,1.5,0,0,0,0) end) cw(function() c1(tw,0.06,1,0,0,0,0,0,0) end) cw(function() c1(tw,0.06,0,0,0,0,0,0,0) end) |
| 754 | + | end |
| 755 | - | hu.WalkSpeed=ns*1.2 Legz(true) cw(function() c1(law,0.06,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.06,3,1.3,1,-0.2,30,0,-18) w(0.1) Legz(true) a.c=true a.b="None" |
| 755 | + | newFormattedMessage("Message", "All players added.", 2.5, speaker)
|
| 756 | - | elseif mp >= maxmp*0.4 and k=="h" and a.a=="Champion" and a.b=="None" then a.b="Beam" a.c=false hu.WalkSpeed=ns/2 mp=mp -50 |
| 756 | + | return |
| 757 | - | cw(function() c1(law,0.06,3,-1.3,0.55,-0.2,-90,5,0) end) c1(raw,0.06,3,1.3,0.55,-0.2,-90,-5,0) |
| 757 | + | end |
| 758 | - | for i=1,10 do if i%3==0 then Sound(Sounds.Cast,0.5,1) end GlowMesh(true,"Sphere",to,v3(i/1.2,i/1.2,i/1.2),raigcol,cf(0,1.5,-4.5)) w(0.2) end |
| 758 | + | table.insert(priList, string.sub(msg, 9)) |
| 759 | - | Legz(false) cw(function() c1(llw,0.06,3,-0.5,-1,0,-30,0,20) end) cw(function() c1(rlw,0.06,3,0.5,-1,0,-30,0,-20) end) |
| 759 | + | newFormattedMessage("Message", "Name added.", 2.5, speaker)
|
| 760 | - | local b1=pa(m,"","Ball",8,8,8,false,false,0.1,0,raigcol) b1.Anchored=true |
| 760 | + | end |
| 761 | - | local b2=pa(m,"","Block",8,1,8,false,false,0.1,0,raigcol) b2.Anchored=true local b2m=it("CylinderMesh",b2)
|
| 761 | + | if string.sub(msg, 5, 11) == "delete/" then |
| 762 | - | local b3=pa(m,"","Ball",8,8,8,false,false,0.1,0,raigcol) b3.Anchored=true local circs={}
|
| 762 | + | if string.sub(msg, 12) == "all" then |
| 763 | - | for i=1,5 do |
| 763 | + | priList = {owner}
|
| 764 | - | local b5=pa(m,"","Block",0,0,0,false,false,0.1,0,raigcol) b5.Anchored=true local b5m=it("SpecialMesh",b5) b5m.MeshType="FileMesh" b5m.MeshId=asset .. Decs.Ring
|
| 764 | + | newFormattedMessage("Default", "All names (besides \"" ..owner.. "\") have been removed.", 2.5, speaker)
|
| 765 | - | b5m.Scale=v3(10,10,10) ti(circs,b5) |
| 765 | + | return |
| 766 | - | end |
| 766 | + | end |
| 767 | - | local bgt=it("BodyGyro",to) bgt.maxTorque=v310 bgt.D=1300 local tyms=0 repeat tyms=tyms + 1 local tcf=t.CFrame*cf(0,-1.5,0) local bhit,bpos=ray(tcf.p,tcf.p - (tcf *cf(0,0,2)).p) b1.CFrame=tcf*cf(rn(-10,10)/10,(rn(-10,10)/10)+2,(rn(-10,10)/10)-5) for xx=1,#circs do circs[xx].CFrame=b1.CFrame*cf(0,0,-2-(xx*4))*ca(0,0,0) end b3.CFrame=cf(bpos+v3(rn(-10,10)/10,rn(-10,10)/10,rn(-10,10)/10)) b2.CFrame=cf(b1.Position,b3.Position) local bmag=(b1.Position - b3.Position).magnitude b2.CFrame=b2.CFrame *cf(0,0,-bmag/2)*ca(rd(-90),0,0) b2m.Scale=v3(1,bmag,1) if tyms%7==0 and bhit then Explode(b2.CFrame*cf(0,bmag/2,0),15,raigcol2,20) end bgt.cframe=cf(to.Position,v3(mou.Hit.p.x,to.Position.y,mou.Hit.p.z)) w() mp=mp -2.5 until mp < 3 or ky=="h"
|
| 767 | + | for i = 1, #priList do |
| 768 | - | bgt:Remove'' fade(b1,0.1) fade(b2,0.1) fade(b3,0.1) for i=1,#circs do fade(circs[i],0.1) end |
| 768 | + | if string.match(priList[i]:lower(), string.sub(msg, 12):lower()) then |
| 769 | - | cw(function() c1(llw,0.06,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.06,3,0.5,-1,0,0,0,0) end) cw(function() c1(law,0.06,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.06,3,1.3,1,-0.2,30,0,-18) a.c=true a.b="None" hu.WalkSpeed=ns*1.2 Legz(true) |
| 769 | + | table.remove(priList, i) |
| 770 | - | elseif mp >= 80 and k=="n" and a.a=="Champion" and a.b=="None" then a.b="KillZone" a.c=false mp=mp -80 Legz(false) |
| 770 | + | return |
| 771 | - | Sound(Sounds.Cast,1.4,1) cw(function() c1(law,0.08,3,-1.2,0.5,0,-50,0,-25) end) cw(function() c1(raw,0.08,3,1.2,0.5,0,-50,0,25) end) |
| 771 | + | end |
| 772 | - | cw(function() c1(llw,0.08,3,-0.5,0.6,-0.7,-20,0,10) end) cw(function() c1(rlw,0.08,3,0.5,-0.9,0,50,0,-10) end) |
| 772 | + | end |
| 773 | - | c1(tw,0.08,3,0,-1.3,0,30,0,0) w(0.25) cw(function() c1(tw,0.08,3,0,0,0,0,0,0) end) cw(function() c1(llw,0.08,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.08,3,0.5,-1,0,0,0,0) end) SpawnKillZone(to.CFrame*cf(0,-2,-4.5),rn(10,13)/10,20,raigcol3) |
| 773 | + | end |
| 774 | - | cw(function() c1(law,0.06,3,-1.3,1,-0.2,-160,0,20) end) c1(raw,0.06,3,1.3,1,-0.2,-160,0,-20) |
| 774 | + | end |
| 775 | - | w(0.5) cw(function() c1(law,0.06,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.06,3,1.3,1,-0.2,30,0,-18) a.c= true a.b="None" hu.WalkSpeed=ns*1.2 Legz(true) |
| 775 | + | if string.sub(msg, 0, 5) == "goto/" then |
| 776 | - | elseif mp >= 45 and k=="e" and a.a=="Lance" and a.b=="None" then a.b="Slash" a.c=false mp=mp -45 |
| 776 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 777 | - | Sound(Sounds.Slash,0.35,2) Trail2(9999,Misc["v"].spiketip,0.04,a.s.Lancet,0.8,cf(0,1,0)) rayHit(2,5,ra,cf(0,0,-1.5)*ca(rd(-90),0,0),13,14,20) |
| 777 | + | for i = 1, #PlayerList do |
| 778 | - | cw(function() c1(hw,0.035,3,0,1.5,0,20,80,0) end) cw(function() c1(tw,0.035,3,0,0,0,0,-80,0) end) cw(function() c1(law,0.035,3,-1,0.5,-0.5,-80,80,0) end) |
| 778 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 6):lower()) and PlayerList[i].Character ~= nil and PlayerList[i] ~= speaker then |
| 779 | - | cw(function() c1(Misc["v"].han.Weld,0.04,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.04,0,0,-2.25,0,0,0,0) end) c1(raw,0.035,3,1,0.5,0,-50,0,-85) |
| 779 | + | if speaker.Character:FindFirstChild("Torso") ~= nil and PlayerList[i].Character:FindFirstChild("Torso") ~= nil then
|
| 780 | - | w(0.1) rtab(sTrail,Misc["v"].spiketip) |
| 780 | + | speaker.Character.Torso.CFrame = CFrame.new(PlayerList[i].Character.Torso.Position + Vector3.new(0, 5, 0)) |
| 781 | - | cw(function() c1(hw,0.04,3,0,1.5,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(tw,0.04,3,0,0,0,0,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" |
| 781 | + | return |
| 782 | - | elseif mp >= 80 and k=="t" and a.a=="Lance" and a.b=="None" then a.b="Spin" a.c=false mp=mp -80 |
| 782 | + | end |
| 783 | - | Sound(Sounds.Slash,0.35,2) Trail2(9999,Misc["v"].spiketip,0.04,a.s.Lancet,0.8,cf(0,1,0)) |
| 783 | + | end |
| 784 | - | cw(function() c1(Misc["v"].han.Weld,0.03,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.03,0,0,-2.25,0,0,0,55) end) cw(function() c1(law,0.035,3,-1,0.5,-0.5,-86,15,0) end) c1(raw,0.06,3,1,0.5,0,0,0,-120) c1(raw,0.06,3,1,0.5,0,-86,-15,0) w(0.15) |
| 784 | + | end |
| 785 | - | cw(function() for i=1,3 do rayHit(1,5,Misc["v"].han2,ca(rd(-90),0,0),6,14,20) w(4/3) end end) c1(tw,0.015,3,0,0,0,0,-360*3,0) cleanweld(tw,"a1") |
| 785 | + | end |
| 786 | - | w(0.1) rtab(sTrail,Misc["v"].spiketip) |
| 786 | + | if string.sub(msg, 0, 6) == "fetch/" then |
| 787 | - | cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" |
| 787 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 788 | - | elseif mp >= 10 and k=="r" and a.a=="Lance" and a.b=="None" then a.b="Block" a.c=false mp=mp -10 |
| 788 | + | for i = 1, #PlayerList do |
| 789 | - | Sound(Sounds.Slash,1.4,1) Block.Value=true c1(law,0.05,3,-1.1,0.5,-0.9,-90,85,0) |
| 789 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 7):lower()) and PlayerList[i].Character ~= nil and PlayerList[i] ~= speaker then |
| 790 | - | hu.WalkSpeed=ns*0.3 Sound(Sounds.Block,1,1) local b1=pa(m,"","Wedge",0,0,0,false,false,0,Misc["v"].shield.Reflectance,ts(Misc["v"].shield.BrickColor)) local b1m=it("SpecialMesh",b1) b1m.MeshType="Wedge" b1m.Scale=v3(0.2,3,2.5) b1:BreakJoints() b1w=weld(b1,Misc["v"].shield,b1,0,0,0,0,0,rd(90))
|
| 790 | + | if speaker.Character:FindFirstChild("Torso") ~= nil and PlayerList[i].Character:FindFirstChild("Torso") ~= nil then
|
| 791 | - | local b2=pa(m,"","Wedge",0,0,0,false,false,0,Misc["v"].shield.Reflectance,ts(Misc["v"].shield.BrickColor)) local b2m=it("SpecialMesh",b2) b2m.MeshType="Wedge" b2m.Scale=v3(0.2,3,2.5) b2:BreakJoints() b2w=weld(b2,Misc["v"].shield,b2,0,0,0,rd(180),0,rd(-90))
|
| 791 | + | PlayerList[i].Character.Torso.CFrame = CFrame.new(speaker.Character.Torso.Position + Vector3.new(0, 5, 0)) |
| 792 | - | b1m.Scale=b1m.Scale*5 b2m.Scale=b2m.Scale*5 Sound(Sounds.Unsheath,1.5,1) for i=0,1,0.1 do b1w.C0=cf(-3*i,0,0)*ca(0,0,rd(90)) b2w.C0=cf(3*i,0,0)*ca(rd(0),rd(180),rd(90)) w() end |
| 792 | + | end |
| 793 | - | repeat w() mp=mp - 0.5 until mp < 1 or ky=="r" |
| 793 | + | end |
| 794 | - | Sound(Sounds.Unsheath,1.5,1) for i=1,0,-0.1 do b1w.C0=cf(-3*i,0,0)*ca(0,0,rd(90)) b2w.C0=cf(3*i,0,0)*ca(rd(0),rd(180),rd(90)) w() end |
| 794 | + | end |
| 795 | - | b1:Remove'' b2:Remove'' hu.WalkSpeed=ns*0.75 |
| 795 | + | end |
| 796 | - | Block.Value=false c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) a.c=true a.b="None" |
| 796 | + | if string.sub(msg, 0, 9) == "teleport/" then |
| 797 | - | elseif mp >= 25 and k=="f" and a.a=="Lance" and a.b=="None" then a.b="Rapid" a.c=false mp=mp -25 hu.WalkSpeed=ns*0.5 |
| 797 | + | local part1 = {}
|
| 798 | - | Trail2(9999,Misc["v"].spiketip,0,a.s.Lancet,0.8,cf(0,1,0)) cw(function() c1(tw,0.05,3,0,0,0,0,-90,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,90,0) end) cw(function() c1(law,0.035,3,-1,0.5,-0.5,-80,80,0) end) |
| 798 | + | local part2 = nil |
| 799 | - | cw(function() c1(Misc["v"].han.Weld,0.04,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.04,0,0,-2.25,0,0,0,0) end) c1(raw,0.035,3,1,0.5,0,0,0,-90) |
| 799 | + | if explode("/", msg)[2] == "me" then
|
| 800 | - | local bgt=it("BodyGyro",to) bgt.maxTorque=v310 bgt.D=50 local fenci=-0.5 local tyms=0 repeat tyms=tyms + 1 if tyms%5 == 0 then Sound(Sounds.Slash,1.1,1) end if tyms%2 == 0 then if fenci == -0.5 then fenci=1.8 else fenci=-0.5 end c1(raw,1,3,1+fenci,0.5,0,rn(-6,6),0,-90+rn(-11,11)) end if tyms%8==0 then rayHit(0.5,1,ra,ca(rd(-90),0,0),13,5,8) end bgt.cframe=cf(to.Position,v3(mou.Hit.p.x,to.Position.y,mou.Hit.p.z)) mp=mp -2 w() until mp < 2 or ky=="f"
|
| 800 | + | table.insert(part1, speaker.Character:FindFirstChild("Torso"))
|
| 801 | - | bgt:Remove'' w(0.1) rtab(sTrail,Misc["v"].spiketip) |
| 801 | + | else |
| 802 | - | hu.WalkSpeed=ns*0.75 cw(function() c1(tw,0.05,3,0,0,0,0,0,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" |
| 802 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 803 | - | elseif k=="c" and a.a=="Lance" and a.b=="None" then a.b="Sit" a.c=false |
| 803 | + | for i = 1, #PlayerList do |
| 804 | - | Legz(false) cw(function() c1(tw,0.05,3,0,-1.5,0,-10,0,0) end) cw(function() c1(llw,0.1,3,-0.5,-1,0,-80,-28,0) end) c1(rlw,0.1,3,0.5,-1,0,-80,28,0) hu.WalkSpeed=0 cw(function() while a.b == "Sit" do addmp(2) w() end end) a.c=true |
| 804 | + | if string.match(PlayerList[i].Name:lower(), explode("/", msg)[2]:lower()) and PlayerList[i].Character ~= nil then
|
| 805 | - | elseif k=="c" and a.a=="Lance" and a.b=="Sit" and a.c then |
| 805 | + | if speaker.Character:FindFirstChild("Torso") ~= nil and PlayerList[i].Character:FindFirstChild("Torso") ~= nil then
|
| 806 | - | cw(function() c1(tw,0.1,3,0,0,0,0,0,0) end) cw(function() c1(llw,0.1,3,-0.5,-1,0,0,0,0) end) c1(rlw,0.1,3,0.5,-1,0,0,0,0) Legz(true) hu.WalkSpeed=ns*0.75 a.b="None" |
| 806 | + | table.insert(part1, PlayerList[i].Character:FindFirstChild("Torso"))
|
| 807 | - | elseif mp > 50 and k=="q" and a.a=="Lance" and a.b=="None" then a.b="GroundSmash" a.c=false Legz(false) mp=mp-50 cw(function() c1(Misc["v"].han.Weld,0.07,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.07,0,0,-2.25,0,0,0,10) end) |
| 807 | + | end |
| 808 | - | Trail2(9999,Misc["v"].spiketip,0,a.s.Lancet,0.8,cf(0,1,0)) cw(function() c1(law,0.07,3,-1,1,0.3,60,0,200) end) cw(function() c1(raw,0.07,3,1,1,0.3,60,0,-200) end) |
| 808 | + | end |
| 809 | - | cw(function() c1(llw,0.07,3,-0.5,0,-0.6,10,0,0) end) cw(function() c1(rlw,0.07,3,0.5,-0.8,0,80,0,0) end) |
| 809 | + | end |
| 810 | - | c1(tw,0.05,3,0,-1.2,-0.6,-10,0,0) |
| 810 | + | end |
| 811 | - | w(0.1) GlowMesh(false,asset .. Decs.Crown,to,v3(12,5,12),raigcol2,cf(0,-2,0)) |
| 811 | + | if explode("/", msg)[3] == "me" then
|
| 812 | - | rayHit(2.5,5,Misc["v"].han2,ca(rd(-90),0,0),7,25,30) |
| 812 | + | part2 = speaker.Character:FindFirstChild("Torso")
|
| 813 | - | hu.WalkSpeed=ns*0.4 local bf=it("BodyForce",t) bf.force=v3(0,9000,0) game:service'Debris':AddItem(bf,0.3)
|
| 813 | + | else |
| 814 | - | hu.WalkSpeed=ns*2 cw(function() c1(rlw,0.07,3,0.5,0,-0.6,10,0,0) end) cw(function() c1(llw,0.07,3,-0.5,-0.8,0,80,0,0) end) c1(tw,0.045,3,0,-1.2,-0.6,360,0,0) cleanweld(tw,"a1") |
| 814 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 815 | - | cw(function() c1(law,0.1,3,-1,1,0.3,-100,0,200) end) c1(raw,0.1,3,1,1,0.3,-100,0,-200) |
| 815 | + | for i = 1, #PlayerList do |
| 816 | - | hu.WalkSpeed=ns*0.75 GlowMesh(false,asset .. Decs.Crown,to,v3(8,5,10),raigcol2,cf(0,-2,-11)) Sound(Sounds.Smash,0.7,1) SplashDmg(false,Misc["v"].spiketip.Position,25,10,65) w(0.25) |
| 816 | + | if string.match(PlayerList[i].Name:lower(), explode("/", msg)[3]:lower()) and PlayerList[i].Character ~= nil then
|
| 817 | - | rtab(sTrail,Misc["v"].spiketip) |
| 817 | + | if speaker.Character:FindFirstChild("Torso") ~= nil and PlayerList[i].Character:FindFirstChild("Torso") ~= nil then
|
| 818 | - | cw(function()c1(tw,0.05,3,0,0,0,0,0,0)end) cw(function() c1(llw,0.05,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.05,3,0.5,-1,0,0,0,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) Legz(true) a.b="None" a.c=true |
| 818 | + | part2 = PlayerList[i].Character:FindFirstChild("Torso")
|
| 819 | - | elseif mp > 210 and k=="n" and a.a=="Lance" and a.b=="None" then a.b="LanceThrow" a.c=false mp=mp-20 cw(function() c1(Misc["v"].han.Weld,0.07,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.07,0,0,-2.25,0,0,0,55) end) |
| 819 | + | break |
| 820 | - | Sound(Sounds.Slash,0.35,2) cw(function() c1(Misc["v"].han.Weld,0.03,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.03,0,0,-2.25,0,0,0,55) end) cw(function() c1(law,0.035,3,-1,0.5,-0.5,-86,15,0) end) c1(raw,0.06,3,1,0.5,0,0,0,-120) c1(raw,0.06,3,1,0.5,0,-86,-15,0) |
| 820 | + | end |
| 821 | - | Trail2(9999,Misc["v"].spiketip,0.04,a.s.Lancet,0.8,cf(0,1,0)) c1(tw,0.08,1,0,0,0,0,-360,0) cleanweld(tw,"a1") rtab(sTrail,Misc["v"].spiketip) a.s.Lance(false) ThrowLance(Misc["v"]) |
| 821 | + | end |
| 822 | - | cw(function() c1(law,0.05,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,-30,0,20) Misc["v"]=it("Model",m) mp=mp-180
|
| 822 | + | end |
| 823 | - | cw(function() c1(law,0.15,3,-1.3,1,-0.2,30,0,18) end) c1(raw,0.15,3,1.5,1,-0.2,-40,0,12) |
| 823 | + | end |
| 824 | - | local han=pa(Misc[k],"han","Block",0.75,1.75,0.75,false,false,0,0,"Dark stone grey") it("CylinderMesh",han) local hanw=weld(han,ra,han,0,-2.25,0,rd(90),0,0) hanw.C1=cf(0,0.8,0)
|
| 824 | + | if #part1 > 0 and part2 ~= nil then |
| 825 | - | CreateLance() a.s.Lance(true) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" |
| 825 | + | for i = 1, #part1 do |
| 826 | - | elseif mp > 100 and k=="x" and a.a=="Lance" and a.b=="None" then a.s.Lance(false) a.b="Kick" a.c=false mp=mp-100 cw(function() c1(Misc["v"].han.Weld,0.07,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.07,0,0,-2.25,0,90,0,30) end) |
| 826 | + | if part1[i] ~= nil and part2 ~= nil then |
| 827 | - | cw(function() c1(law,0.07,3,-1,1,0.3,60,0,200) end) c1(raw,0.07,3,1,1,0.3,60,0,-200) w(0.3) cw(function() c1(law,0.07,3,-1,0.5,-0.4,-90,0,200) end) cw(function() c1(raw,0.07,3,1,0.5,-0.4,-90,0,-200) end) c1(tw,0.07,0,0,2,0,0,0,0) w(0.2) |
| 827 | + | part1[i].CFrame = CFrame.new(part2.Position + Vector3.new(0, 5, 0)) |
| 828 | - | cw(function() c1(Misc["v"].han.Weld,0.07,0,0,-2.25,0,90,0,-90) end) hu.WalkSpeed=0 cw(function() c1(tw,0.07,1,0,3,0,0,0,0) end) cw(function() c1(tw,0.07,0,0,2,0,0,0,-90) end) cw(function() c1(law,0.07,3,-1,1,0,0,0,205) end) c1(raw,0.07,3,1,1,0,0,0,-180) |
| 828 | + | end |
| 829 | - | rayHit(3,3,rl,cf(0.7,0,0)*ca(rd(-90),0,0),6,12,18) Trail2(9999,rl,0.04,"",0.4,cf(0,-2.25,0)) c1(tw,0.02,1,0,3,0,-360*2,0,0) cleanweld(tw,"a1") w(0.2) rtab(sTrail,rl) |
| 829 | + | end |
| 830 | - | w(0.25) c1(tw,0.08,0,0,10,0,0,0,-90) cw(function() c1(tw,0.1,1,0,0,0,0,0,0) end) cw(function() c1(tw,0.05,0,0,0,0,0,0,0) end) hu.WalkSpeed=ns*0.75 a.s.Lance(true) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" |
| 830 | + | end |
| 831 | - | elseif mp >= 70 and k=="y" and a.a=="Lance" and a.b=="None" then a.b="Combo2" a.c=false mp=mp -70 |
| 831 | + | end |
| 832 | - | Sound(Sounds.Slash,1.4,2) Trail2(9999,la,0.04,ts(la.BrickColor),0.5,cf(0,-2.25,0)) cw(function() c1(hw,0.08,3,0,1.5,0,-20,-90,0) end) cw(function() c1(tw,0.08,3,0,0,0,0,90,0) end) c1(law,0.08,3,-1,0.5,0,0,0,90) |
| 832 | + | if string.sub(msg, 0, 8) == "gravity/" then |
| 833 | - | local rhit,aihu=rayHit2(la,ca(rd(-90),0,0),6) if rhit and aihu and aihu.Parent:findFirstChild("Torso") then hu.WalkSpeed=0 aihu.PlatformStand=true local vto=aihu.Parent.Torso Sound(Sounds.Smash,1,1) Dmgz(false,aihu,rn(18,25),vto) local aibp=it("BodyPosition",vto) aibp.maxForce=v310 aibp.position=vto.Position + v3(0,7,0) + ((to.CFrame*cf(0,0,-4)).p - to.Position)
|
| 833 | + | if speaker.Character ~= nil then |
| 834 | - | rtab(sTrail,la) c1(law,0.065,3,-0.7,0,0,-160,0,40) |
| 834 | + | SetGravity(speaker.Character, tonumber(string.sub(msg, 9)), 1) |
| 835 | - | cw(function() c1(Misc["v"].han.Weld,0.2,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.2,0,0,-2.25,0,0,0,0) end) |
| 835 | + | end |
| 836 | - | cw(function() c1(hw,0.08,3,0,1.5,0,-40,80,0) end) cw(function() c1(tw,0.08,3,0,0,0,0,-80,0) end) cw(function() c1(raw,0.08,3,1,0.5,0,20,45,-100) c1(raw,0.08,3,1,0.5,-0.5,-150,45,-100) end) |
| 836 | + | end |
| 837 | - | Trail2(9999,Misc["v"].spiketip,0.04,a.s.Lancet,0.8,cf(0,1,0)) Sound(Sounds.Slash,0.35,2) rayHit(2,5,ra,cf(0,0,-1.5)*ca(rd(-90),0,0),13,24,28) w(0.1) |
| 837 | + | if string.sub(msg, 0, 8) == "respawn/" then |
| 838 | - | cw(function() w(0.5) aibp:Remove'' w() vto.Velocity=(cf(to.Position,vto.Position)*ca(0,rd(15),0)).lookVector*60 w(0.5) aihu.PlatformStand=false end) c1(law,0.04,3,-1,0.5,-0.5,-120,-60,0) w(0.1) rtab(sTrail,Misc["v"].spiketip) |
| 838 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 839 | - | else w(0.8) rtab(sTrail,la) end |
| 839 | + | for i = 1, #PlayerList do |
| 840 | - | hu.WalkSpeed=ns*0.75 cw(function() c1(hw,0.04,3,0,1.5,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(tw,0.04,3,0,0,0,0,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" |
| 840 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 9):lower()) then |
| 841 | - | elseif mp >= 90 and k=="g" and a.a=="Lance" and a.b=="None" then a.b="Gun" a.c=false mp=mp -90 |
| 841 | + | local character = Instance.new("Model")
|
| 842 | - | a.s.Lance(false) Misc["v"].han2.Weld.C0=cf(0,-1.25,0) Trail2(9999,Misc["v"].spiketip,0,a.s.Lancet,0.8,cf(0,1,0)) cw(function() c1(tw,0.05,3,0,0,0,0,-60,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,60,0) end) cw(function() c1(law,0.035,3,-1,0.5,-0.5,0,0,75) end) |
| 842 | + | character.Name = PlayerList[i].Name |
| 843 | - | cw(function() c1(Misc["v"].han.Weld,0.04,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.04,0,0,-2.25,0,0,0,0) end) c1(raw,0.035,3,1,0.5,0,-30,0,-95) |
| 843 | + | local head = Instance.new("Part")
|
| 844 | - | rtab(sTrail,Misc["v"].spiketip) w(0.2) for i=0,1,0.1 do Misc["v"].spiketip.Weld.C0=cf(-0.8*i,3.2*i,0) Misc["v"].spiketip.Weld.C1=cf(0,-4+(4*i),0)*ca(0,0,rd(-135*i)) w() end w(0.1) for i=1,3 do GlowMesh(true,"Sphere",Misc["v"].spike,v3(9,9,9),raigcol2,cf(rn(-15,15)/10,6+rn(-10,10)/10,rn(-15,15)/10)) end rt=pa(m,"","Block",0,0,0,false,false,1,0,"") rtw=weld(rt,Misc["v"].spike,rt,0,5.5,0,0,0,0) |
| 844 | + | head.Name = "Head" |
| 845 | - | ShootLanceBullet(rt,1,35) local smok=it("Smoke",rt) smok.RiseVelocity=15 smok.Size=9 smok.Opacity=0.7 smok.Color=bc("Really black").Color cw(function() c1(hw,0.2,3,0,1.5,0,-20,90,0) end) c1(raw,0.2,3,1,0.5,0,-30,0,-120) c1(raw,0.35,3,1,0.5,0,-30,0,-103)
|
| 845 | + | head.Transparency = 1 |
| 846 | - | w(0.8) smok.Enabled=false w(0.2) for i=1,0,-0.1 do Misc["v"].spiketip.Weld.C0=cf(-0.8*i,3.2*i,0) Misc["v"].spiketip.Weld.C1=cf(0,-4+(4*i),0)*ca(0,0,rd(-135*i)) w() end game:service'Debris':AddItem(rt,2) a.s.Lance(true) cw(function() c1(tw,0.05,3,0,0,0,0,0,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" |
| 846 | + | head.CanCollide = false |
| 847 | - | elseif mp >= 100 and k=="z" and a.a=="Lance" and a.b=="None" then a.b="SummonLance" a.c=false mp=mp -100 |
| 847 | + | head.Anchored = true |
| 848 | - | cw(function() c1(tw,0.07,3,0,0,0,0,65,0) end) cw(function() c1(hw,0.07,3,0,1.5,0,-15,-65,0) end) c1(law,0.07,3,-1,1,-0.5,-70,-65,0) w(0.2) cw(function() Sound(Sounds.Ghost,0.9,2) for i=1,5 do SummonProjectile(to,cf(0,-2.5,-2.5+(-i*6)),1+(i/8),asset .. Decs.Spike,15,"Really black",v3(0.8,7.5,0.8)) w(0.1) end end) cw(function() c1(hw,0.07,3,0,1.5,0,-50,-65,0) end) c1(law,0.07,3,-1,1,-0.5,-160,-65,0) w(1) |
| 848 | + | head.Parent = character |
| 849 | - | Sound(Sounds.Imbue,1.5,2) cw(function() c1(tw,0.05,3,0,0,0,0,0,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" |
| 849 | + | local humanoid = Instance.new("Humanoid")
|
| 850 | - | elseif mp >= 300 and k=="b" and a.a=="Lance" and a.b=="None" then a.b="LanceBarrage" a.c=false mp=mp -300 |
| 850 | + | humanoid.Parent = character |
| 851 | - | GlowMesh(false,asset .. Decs.Crown,to,v3(12,5,12),raigcol2,cf(0,-2,0)) Legz(false) cw(function() c1(llw,0.05,3,-0.5,-1,0,-50,0,0) end) cw(function() c1(rlw,0.05,3,0.5,-1,0,-50,0,0) end) cw(function() c1(tw,0.05,3,0,10,0,0,-90,-50) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,90,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,0,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) |
| 851 | + | character.Parent = Workspace |
| 852 | - | c1(raw,0.05,3,1,0,-0.7,-140,0,-150) Misc["v"].han.Weld.Part0 = ll Misc["v"].han.Weld.C0 = cf(0.5,-1,0)*ca(0,0,rd(10)) cw(function() c1(llw,0.07,3,-0.5,-1,0,0,0,10) end) cw(function() c1(rlw,0.07,3,0.5,-1,0,0,0,-10) end) cw(function() c1(tw,0.07,3,0,11,0,1,-90,0) end) |
| 852 | + | humanoid.Health = 100 |
| 853 | - | hu.WalkSpeed = ns*2 cw(function() c1(law,0.07,3,-1,0.6,0,0,0,110) end) c1(raw,0.07,3,1,0.5,0,0,0,-70) local spining = true |
| 853 | + | PlayerList[i].Character = character |
| 854 | - | local rt = pa(m,"","Block",0,0,0,false,false,0,1,"") local rtw = weld(rt,t,rt,0,0.5,0,0,0,rd(-20)) rtw.C1 = ca(0,rd(90),0) |
| 854 | + | humanoid.Health = 0 |
| 855 | - | local mzs = it("Model",m) local chim = 0 for i=0,360,30 do chim = chim+1 local shs = pa(mzs,"han" ..chim,"Block",0,0,0,false,false,0.2,0,"White") it("CylinderMesh",shs).Scale = v3(1,2,1)*5
|
| 855 | + | end |
| 856 | - | local sh2 = pa(shs,"spi","Block",0,0,0,false,false,0.2,0,"White") local sh2m = it("SpecialMesh",sh2) sh2m.MeshType = "FileMesh" sh2m.MeshId = asset .. Decs.Spike sh2m.Scale = v3(1.2,10,1.2)
|
| 856 | + | end |
| 857 | - | local shs3 = weld(shs,rt,shs,0,0,0,rd(0),rd(i),0) shs3.C1 = cf(0,-11,0)*ca(rd(-90),0,0) local shs4 = weld(sh2,shs,sh2,0,4.6,0,0,0,0) |
| 857 | + | end |
| 858 | - | end cw(function() local ty = 0 repeat ty = ty + 1 if ty%5 == 0 then GlowMesh(true,asset .. Decs.Crown,Misc["v"].spiketip,v3(6,1.25,6),raigcol2,cf(0,0,0)*ca(rd(180),rd(ty*3),0)) end rtw.C0 = rtw.C0 *ca(0,rd(10),0) w() until not spining end) |
| 858 | + | if string.sub(msg, 0, 3) == "ca/" then |
| 859 | - | for si=1,24 do local xi = si if xi > 12 then xi = xi - 12 end mzs["han" ..xi].spi.Transparency = 1 cw(function() w(0.08) for ii=1,0.2,-0.05 do mzs["han" ..xi].spi.Transparency = ii w() end end) |
| 859 | + | if string.sub(msg, 4, 7) == "set/" then |
| 860 | - | ShootSpike(9999999,nil,"White",1,7.5,cf(mzs["han" ..xi].spi.Position,mou.hit.p),false,3,t) w() Sound(Sounds.Unsheath,1.6,1) w(0.17) end for i,v in pairs(mzs:children()) do cw(function() for xi=0.2,1,0.1 do v.Transparency = xi v.spi.Transparency = xi w() end end) w(0.05) end w(0.6) spining = false |
| 860 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 861 | - | cw(function() c1(llw,0.05,3,-0.5,-1,0,-90,0,0) end) cw(function() c1(rlw,0.05,3,0.5,-1,0,-90,0,0) end) cw(function() c1(tw,0.05,3,0,8.5,0,0,-90,-50) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,0,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) |
| 861 | + | for i = 1, #PlayerList do |
| 862 | - | c1(raw,0.05,3,1,0,-0.7,-140,0,-150) cw(function() c1(llw,0.07,3,-0.5,-1,0,0,0,0) end) cw(function() c1(rlw,0.07,3,0.5,-1,0,0,0,0) end) Misc["v"].han.Weld.Part0 = ra Misc["v"].han.Weld.C0 = cf(0,-2.25,0) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(tw,0.05,3,0,0,0,0,0,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) hu.WalkSpeed=ns*0.75 c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" Legz(true) mzs:Remove'' |
| 862 | + | if string.match(PlayerList[i].Name:lower(), explode("/", msg)[3]:lower()) then
|
| 863 | - | elseif mp >= 500 and k=="u" and a.a=="Lance" and a.b=="None" then a.b="Swords" a.c=false mp=mp-500 |
| 863 | + | PlayerList[i].CharacterAppearance = explode("/http", msg)[4]
|
| 864 | - | local cr1 = pa(workspace.CurrentCamera,"","Block",0.5,0,4,false,false,0.5,0,"White") local cr1w = weld(cr1,to,cr1,0,0,-46,0,rd(135),0) local cr2 = pa(workspace.CurrentCamera,"","Block",0.5,0,4,false,false,0.5,0,"White") local cr2w = weld(cr2,to,cr2,0,0,-46,0,rd(45),0) |
| 864 | + | m = Instance.new("Message")
|
| 865 | - | cw(function() c1(tw,0.05,3,0,0,0,0,-90,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,90,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,0,0,0) end) c1(raw,0.05,3,1,0.5,0,0,0,-90) |
| 865 | + | m.Text = PlayerList[i].CharacterAppearance |
| 866 | - | Misc["v"].han.Weld.Part0 = to c1(Misc["v"].han.Weld,1,3,0,0.5,-3,-90,0,0) cw(function() c1(law,0.05,3,-1,0.5,0,45,0,135) end) cw(function() c1(raw,0.05,3,1,0.5,0,45,0,-135) end) cw(function() c1(tw,0.05,3,0,0,0,0,0,0) end) c1(hw,0.05,3,0,1.5,0,0,0,0) |
| 866 | + | m.Parent = Workspace |
| 867 | - | local spinin = true local rt = pa(m,"","Block",0,0,0,false,false,1,0,"") local rtw = weld(rt,ra,rt,0,-15,-1,0,0,0) |
| 867 | + | if PlayerList[i].Character ~= nil then PlayerList[i].Character:BreakJoints() end |
| 868 | - | local rmzs = it("Model",m) local chim = 0 for i=0,360,360/12 do chim = chim+1 local shs = pa(rmzs,"han" ..chim,"Block",0,0,0,false,false,1,0,"Institutional white") local shsm = it("SpecialMesh",shs) shsm.MeshType = "FileMesh" shsm.MeshId = Decs.Sword1 shsm.Scale = v3(1.8,1.4,1.2)
|
| 868 | + | end |
| 869 | - | local shs3 = weld(shs,rt,shs,0,0,0,rd(0),rd(i),0) shs3.C1 = cf(0,0,-8)*ca(rd(0),0,0) |
| 869 | + | end |
| 870 | - | end local lt = pa(m,"","Block",0,0,0,false,false,1,0,"") local ltw = weld(lt,la,lt,0,-22,-1,0,0,0) |
| 870 | + | end |
| 871 | - | local lmzs = it("Model",m) local chim = 0 for i=0,360,360/8 do chim = chim+1 local shs = pa(lmzs,"han" ..chim,"Block",0,0,0,false,false,1,0,"Institutional white") local shsm = it("SpecialMesh",shs) shsm.MeshType = "FileMesh" shsm.MeshId = Decs.Sword1 shsm.Scale = v3(1.8,1.4,1.2)
|
| 871 | + | if string.sub(msg, 4, 7) == "get/" then |
| 872 | - | local shs3 = weld(shs,lt,shs,0,0,0,rd(0),rd(i),0) shs3.C1 = cf(0,0,-6)*ca(rd(0),0,0) |
| 872 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 873 | - | end cw(function() cw(function() for x,v in pairs(lmzs:children()) do w(0.06) cw(function() Sound(Sounds.Unsheath,1.4,1,v) for i=1,0.4,-0.05 do w() v.Transparency = i end Sound(Sounds.Slash,1.4,1,v) end) end |
| 873 | + | for i = 1, #PlayerList do |
| 874 | - | end) cw(function() for x,v in pairs(rmzs:children()) do w(0.06) cw(function() Sound(Sounds.Unsheath,1.4,1,v) for i=1,0.4,-0.05 do w() v.Transparency = i end Sound(Sounds.Slash,1.4,1,v) end) end end) repeat rtw.C0 = rtw.C0 *ca(0,rd(8),0) ltw.C0 = ltw.C0 *ca(0,rd(-8),0) w() until not spinin end) |
| 874 | + | if string.match(PlayerList[i].Name:lower(), explode("/", msg)[3]:lower()) then
|
| 875 | - | w(0.5) cw(function() c1(law,0.025,3,-1,0.5,0,-90,0,90) end) cw(function() c1(raw,0.025,3,1,0.5,0,-90,0,-90) end) |
| 875 | + | if explode("/", msg)[4]:lower() == "terrysuit" then
|
| 876 | - | w(2.5) for i=0,1,0.1 do for x,v in pairs(lmzs:children()) do v.Weld.C1 = cf(0,-3*i,-6+(13*i))*ca(rd(-120*i),0,0) end for x,v in pairs(rmzs:children()) do v.Weld.C1 = cf(0,-5*i,-8+(19*i))*ca(rd(-120*i),0,0) end w() end for i=1,#lmzs:children() do local v = lmzs["han" ..i] Sound(Sounds.Unsheath,1.6,1,v) ShootProjectile(v,cf(v.Position,(to.CFrame*cf(0,0,-40)).p),ca(rd(180),0,0),5,7,50) v.Transparency = 1 w(0.1) end for i=1,#rmzs:children() do local v = rmzs["han" ..i] Sound(Sounds.Unsheath,1.6,1,v) ShootProjectile(v,cf(v.Position,(to.CFrame*cf(0,0,-40)).p),ca(rd(180),0,0),5,7,50) v.Transparency = 1 w(0.1) end fade(cr1,0.1) fade(cr2,0.1) w(0.25) |
| 876 | + | PlayerList[i].CharacterAppearance = "http://www.roblox.com/Asset/?id=27911184" |
| 877 | - | rayHit(2,5,Misc["v"].han,cf(0,0,0)*ca(rd(-90),0,0),14,25,30) Trail2(9999,Misc["v"].spiketip,0,"Black",0.8,cf(-2,0,0)) Trail2(9999,Misc["v"].spike,0,"White",0.8,cf(2,5,0)) Trail2(9999,Misc["v"].han,0,a.s.Lancet,0.5,cf(0,1,0)) |
| 877 | + | if PlayerList[i].Character ~= nil then PlayerList[i].Character:BreakJoints() end |
| 878 | - | cw(function() for x=3,100,3 do if x%6 == 0 then local hax = true if x%12 == 0 then hax = false end GlowMesh(hax,asset .. Decs.Spike,Misc["v"].spike,v3(3,20,3),raigcol2,cf(0,0,0)) end w() end end) Sound(Sounds.Ghost,0.8,1.5) c1(Misc["v"].han.Weld,0.03,3,0,0.5,-45,-90,0,0) GlowMesh(false,asset .. Decs.Ring,to,v3(20,20,10),raigcol2,cf(0,0,-57)*ca(0,0,0)) Sound(Sounds.Imbue,0.8,1.5) |
| 878 | + | end |
| 879 | - | rtab(sTrail,Misc["v"].spiketip) rtab(sTrail,Misc["v"].spike) rtab(sTrail,Misc["v"].han) w(0.5) cw(function() c1(Misc["v"].han.Weld,0.05,3,0,0.5,-3,-90,0,0) end) cw(function() c1(tw,0.05,3,0,0,0,0,-90,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,90,0) end) c1(raw,0.05,3,1,0.5,0,0,0,-90) w(0.5) c1(Misc["v"].han.Weld,1,3,0,-2.25,0,0,0,0) |
| 879 | + | end |
| 880 | - | lt:Remove'' rt:Remove'' Misc["v"].han.Weld.Part0 = ra Misc["v"].han.Weld.C0 = cf(0,-2.25,0) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(tw,0.05,3,0,0,0,0,0,0) end) cw(function() c1(hw,0.05,3,0,1.5,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.05,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.c=true a.b="None" Legz(true) |
| 880 | + | if string.match(PlayerList[i].Name:lower(), explode("/", msg)[3]:lower()) then
|
| 881 | - | elseif mp >= maxmp*0.8 and k=="h" and a.a=="Lance" and a.b=="None" then a.b="RushCharge" a.c=false mp=rn(1,maxmp*0.2) |
| 881 | + | if explode("/", msg)[4]:lower() == "black" then
|
| 882 | - | cw(function() c1(law,0.05,3,-1.5,0.5,-0.5,-90,15,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,1,0,0.8,0,0,0,0) end) cw(function() c1(Misc["v"].han.Weld,0.05,0,0,-2.25,0,-30,0,0) end) cw(function() c1(Misc["v"].shield.Weld,0.05,0,-2.5,2.75,2.5,0,25,80) end) c1(raw,0.05,3,1,0.5,-0.5,-120,0,-90) |
| 882 | + | PlayerList[i].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=66852" |
| 883 | - | Sound(Sounds.Abscond,0.9,1) local at = Misc["v"].shield local shieldz = {} local spaiks = {} local shieldin = true
|
| 883 | + | if PlayerList[i].Character ~= nil then PlayerList[i].Character:BreakJoints() end |
| 884 | - | for yy=1,8 do Sound(Sounds.Unsheath,1.6,1) local dec = at:Clone() dec.Parent = m local decw = weld(dec,at,dec,0,0,0,0,0,0) |
| 884 | + | end |
| 885 | - | ti(shieldz,dec) for ii=0,1,0.2 do decw.C0 = cf(0,-0.5*ii,-2.25*ii)*ca(rd(-25*ii),rd(5*ii),0) w() end at = dec cw(function() repeat w() until not shieldin w(1+(yy/6)) decw:Remove'' dec.CanCollide = true w(3) fade(dec,0.1) end) |
| 885 | + | end |
| 886 | - | cw(function() local dec = at:Clone() dec.Parent = m local decw = weld(dec,at,dec,0,0,0,0,0,0) ti(shieldz,dec) for ii=0,1,0.2 do decw.C0 = cf(-2.8*ii,-0.65*ii,0)*ca(0,0,rd(20*ii)) w() end Sound(Sounds.Unsheath,1.6,1) repeat w() until not shieldin w((yy/10)) for ii=1,0,-0.2 do decw.C0 = cf(-2.8*ii,-0.65*ii,0)*ca(0,0,rd(20*ii)) w() end end) |
| 886 | + | end |
| 887 | - | cw(function() local dec = at:Clone() dec.Parent = m local decw = weld(dec,at,dec,0,0,0,0,0,0) ti(shieldz,dec) for ii=0,1,0.2 do decw.C0 = cf(2.8*ii,0.65*ii,0)*ca(0,0,rd(20*ii)) w() end repeat w() until not shieldin w((yy/10)) for ii=1,0,-0.2 do decw.C0 = cf(2.8*ii,0.65*ii,0)*ca(0,0,rd(20*ii)) w() end end) |
| 887 | + | end |
| 888 | - | end for i,v in pairs(shieldz) do w() local dec = at:Clone() dec.Name = "spaik" dec.BrickColor = bc("Black") dec.Mesh:Remove() dec.Parent = m local decw = weld(dec,v,dec,0,0,0,0,0,0) local ssm = it("SpecialMesh",dec) ssm.MeshType = "FileMesh" ssm.MeshId = asset .. Decs.Spike
|
| 888 | + | if string.sub(msg, 4, 6) == "id/" then |
| 889 | - | cw(function() for ii=0,1,0.1 do decw.C0 = cf(0,1.25*ii,0) ssm.Scale = v3(0.5,3.3,0.5)*ii w() end ti(spaiks,dec) Sound(Sounds.Unsheath,1.4,1) end) end |
| 889 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 890 | - | local fi = at:Clone() fi.Parent = m fi.Mesh:Remove() fi.Transparency = 1 fiw = weld(fi,t,fi,0,0,6,-90,0,0) local fia = it("Fire",fi) fia.Heat = -25 fia.Size = 22 fia.Color = bc("Really blue").Color fia.SecondaryColor = bc("White").Color
|
| 890 | + | for i = 1, #PlayerList do |
| 891 | - | Sound(Sounds.Abscond,1.2,2) hu.WalkSpeed = ns*3 local zemagiks = false |
| 891 | + | if string.match(PlayerList[i].Name:lower(), explode("/", msg)[3]:lower()) then
|
| 892 | - | for tx=1,500 do if tx%4==0 then GlowMesh(false,"Block",Misc["v"].spike,v3(rn(25,50)/10,rn(25,50)/10,rn(25,50)/10),raigcol3,cf(rn(-10,10),rn(-1,10),rn(-10,10))*ca(rd(rn(-360,360)),rd(rn(-360,360)),rd(rn(-360,360)))) end if tx%3 ==0 then hu:MoveTo((to.CFrame*cf(0,0,-5)).p,to) end |
| 892 | + | PlayerList[i].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=" ..explode("/", msg)[4]
|
| 893 | - | if tx%12==0 then SplashDmg(false,to.Position,12,18,100) GlowMesh(false,asset .. Decs.Crown,Misc["v"].spike,v3(10,20,10),raigcol3,cf(0,8,0)*ca(rd(180),rd(tx*5),0)) end if tx%7 == 0 then rayHit(0.4,5,Misc["v"].han,cf(0,0,0)*ca(rd(-90),0,0),14,5,5) end if tx%2==0 then if zemagiks then zemagiks = false else zemagiks = true end GlowMesh(zemagiks,asset .. Decs.Spike,Misc["v"].spike,v3(4.4,27,4.4),raigcol3,cf(0,0,0)) end w() end |
| 893 | + | if PlayerList[i].Character ~= nil then PlayerList[i].Character:BreakJoints() end |
| 894 | - | hu.WalkSpeed = ns*0.75 for i,v in pairs(spaiks) do w() cw(function() for ii=1,0,-0.1 do v.Weld.C0 = cf(0,1.25*ii,0) v.Mesh.Scale = v3(0.5,3.3,0.5)*ii w() end Sound(Sounds.Unsheath,1.4,1) shieldin = false v:Remove() end) end |
| 894 | + | end |
| 895 | - | for ix=22,0,-0.5 do fia.Size = ix w() end fi:Remove() w(1) cw(function() c1(Misc["v"].shield.Weld,0.05,0,-0.6,-1.25,0,55,0,90) end) cw(function() c1(Misc["v"].han.Weld,0.04,1,0,0.8,0,180,0,45) end) cw(function() c1(Misc["v"].han.Weld,0.04,0,0,-2.25,0,90,0,0) end) cw(function() c1(law,0.04,3,-1.3,1,-0.2,-30,0,18) end) c1(raw,0.04,3,0.7,0.8,0,45,0,-150) a.b="None" a.c=true |
| 895 | + | end |
| 896 | - | end -- key |
| 896 | + | end |
| 897 | - | end -- bool |
| 897 | + | if string.sub(msg, 4, 11) == "default/" then |
| 898 | - | end -- func end |
| 898 | + | PlayerList = game:GetService("Players"):GetPlayers()
|
| 899 | - | loltewlnaem = "blockof" |
| 899 | + | for i = 1, #PlayerList do |
| 900 | - | re(bp,loltewlnaem) |
| 900 | + | if string.match(PlayerList[i].Name:lower(), string.sub(msg, 12):lower()) then |
| 901 | - | bin=it("HopperBin",bp) bin.Name=loltewlnaem
|
| 901 | + | PlayerList[i].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=" ..PlayerList[i].userId |
| 902 | - | script.Parent=bin |
| 902 | + | if PlayerList[i].Character ~= nil then PlayerList[i].Character:BreakJoints() end |
| 903 | - | bin.Selected:connect(function(mouse) mou = mouse |
| 903 | + | end |
| 904 | - | mouse.Button1Down:connect(function() Button = true cw(function() repeat w(0.1) a.clickHold = a.clickHold + 0.1 until not Button end)() |
| 904 | + | end |
| 905 | - | end) |
| 905 | + | end |
| 906 | - | mouse.Button1Up:connect(function() Button = false |
| 906 | + | end |
| 907 | - | end) |
| 907 | + | if speaker.Name ~= owner then return end |
| 908 | - | mouse.KeyDown:connect(function(k2) local k = k2:lower() Key = true |
| 908 | + | if string.sub(msg, 0, 8) == "antiban/" then |
| 909 | - | ky = "" |
| 909 | + | if string.sub(msg, 9) == "toggle" then |
| 910 | - | --[[if k == "p" then --Sound(asset .. Sounds.Cast,2,1) |
| 910 | + | if antiban == 3 then |
| 911 | - | end ]] |
| 911 | + | antiban = 0 |
| 912 | - | if a.a == "None" then |
| 912 | + | newFormattedMessage("Default", "Antiban off.", 2.5, speaker)
|
| 913 | - | a.Act(k,true) |
| 913 | + | elseif antiban == 0 then |
| 914 | - | else |
| 914 | + | antiban = 1 |
| 915 | - | a.Act(k,false) |
| 915 | + | newFormattedMessage("Default", "Antiban on, level 1 (Warn).", 2.5, speaker)
|
| 916 | - | end -- a ab end |
| 916 | + | elseif antiban == 1 then |
| 917 | - | end) |
| 917 | + | antiban = 2 |
| 918 | - | mouse.KeyUp:connect(function(k2) |
| 918 | + | newFormattedMessage("Default", "Antiban on, level 2 (Clean).", 2.5, speaker)
|
| 919 | - | pcall(function() |
| 919 | + | elseif antiban == 2 then |
| 920 | - | ky = ""..k2:lower() |
| 920 | + | antiban = 3 |
| 921 | - | --local ky = false |
| 921 | + | newFormattedMessage("Default", "Antiban on, level 3 (Ban).", 2.5, speaker)
|
| 922 | - | end) |
| 922 | + | end |
| 923 | - | Key = false end) |
| 923 | + | end |
| 924 | - | end) |
| 924 | + | if string.sub(msg, 9) == "0" or string.sub(msg, 9) == "off" then |
| 925 | - | bin.Deselected:connect(function(mouse) |
| 925 | + | antiban = 0 |
| 926 | - | end) |
| 926 | + | newFormattedMessage("Default", "Antiban off.", 2.5, speaker)
|
| 927 | - | --loadstring(game.Lighting.BootSeks.Value)() |
| 927 | + | end |
| 928 | - | re(pg,loltewlnaem) raigcol="Alder" raigcol2="New Yeller" raigcol3="Navy blue" raigcol4="Bright red" |
| 928 | + | if string.sub(msg, 9) == "1" or string.sub(msg, 9) == "warn" then |
| 929 | - | Gui=it("ScreenGui",pg) Gui.Name=loltewlnaem
|
| 929 | + | antiban = 1 |
| 930 | - | fr=it("Frame",Gui) fr.Size=ud(1,0,1,0) fr.Active=false fr.BackgroundTransparency=1
|
| 930 | + | newFormattedMessage("Default", "Antiban on, level 1 (Warn).", 2.5, speaker)
|
| 931 | - | mptray=it("TextLabel",fr) mptray.BackgroundColor3=bc("Black").Color
|
| 931 | + | end |
| 932 | - | mptray.Size=ud(0.18,0,0.08,0) mptray.BorderSizePixel=0 mptray.Position=ud(0.41,0,0.025,0) mptray.Text="" |
| 932 | + | if string.sub(msg, 9) == "2" or string.sub(msg, 9) == "clean" then |
| 933 | - | mptext=it("TextLabel",mptray) mptext.BackgroundTransparency=1 mptext.Size=ud(1,0,0.5,0) mptext.Position = ud(0,0,0.1,0) mptext.TextColor3=bc("White").Color
|
| 933 | + | antiban = 2 |
| 934 | - | mptext.FontSize="Size18" mptext.Font="ArialBold" mptext.ZIndex=2 mptext.Text="Mp P" .. "ower" |
| 934 | + | newFormattedMessage("Default", "Antiban on, level 2 (Clean).", 2.5, speaker)
|
| 935 | - | mptext2=it("TextLabel",mptray) mptext2.BackgroundTransparency=1 mptext2.Size=ud(1,0,0.5,0) mptext2.Position = ud(0,0,0.4,0) mptext2.TextColor3=bc("White").Color
|
| 935 | + | end |
| 936 | - | mptext2.FontSize="Size18" mptext2.Font="ArialBold" mptext2.ZIndex=2 mptext2.Text="/" |
| 936 | + | if string.sub(msg, 9) == "3" or string.sub(msg, 9) == "ban" then |
| 937 | - | mpfill=it("ImageLabel",mptray) mpfill.BackgroundColor3=bc(raigcol).Color mpfill.Image=asset .. Decs.Shine mpfill.Size=ud(0.97,0,0.90,0) mpfill.Position=ud(0.015,0,0.05,0)
|
| 937 | + | antiban = 3 |
| 938 | - | sttray=it("ImageLabel",fr) sttray.BackgroundColor3=bc("Black").Color
|
| 938 | + | newFormattedMessage("Default", "Antiban on, level 3 (Ban).", 2.5, speaker)
|
| 939 | - | sttray.Size=ud(0.2,0,0.055,0) sttray.BorderSizePixel=0 sttray.Position=ud(0.043,0,0.94,0) sttray.Image=asset .. Decs.Shine |
| 939 | + | end |
| 940 | - | sttext=it("TextLabel",fr) sttext.BackgroundTransparency=1
|
| 940 | + | end |
| 941 | - | sttext.Size=ud(0.2,0,0.055,0) sttext.BorderSizePixel=0 sttext.ZIndex=2 sttext.Position=ud(0.043,0,0.94,0) |
| 941 | + | if msg == "show/" then |
| 942 | - | sttext.FontSize="Size18" sttext.Font="ArialBold" sttext.Text="Mode:" sttext.TextColor3=bc("White").Color
|
| 942 | + | finding = false |
| 943 | - | cw(function() while w() do mptext2.Text = ts(mf(mp)).. "/" ..ts(mf(maxmp)) sttext.Text=" " ..a.a.. " [" ..a.b.. "] " mpfill.Size=ud((0.97/maxmp)*mp,0,0.9,0) end end) |
| 943 | + | updateExplorer() |
| 944 | - | cw(function() while w() do if mp >= maxmp then local raigcolz=bc(raigcol).Color local rr,gg,bb=raigcolz.r,raigcolz.g,raigcolz.b for xz=gg,gg-80,-5 do if mp < maxmp then mpfill.BackgroundColor3=bc(raigcol).Color break end mpfill.BackgroundColor3=c3(rr,xz,bb) w() end |
| 944 | + | |
| 945 | - | for xz=gg-80,gg,5 do if mp < maxmp then mpfill.BackgroundColor3=bc(raigcol).Color break end mpfill.BackgroundColor3=c3(rr,xz,bb) w() end end end end) local runspi=0 |
| 945 | + | end |
| 946 | - | hu.Running:connect(function(spid) runspi=spid end) |
| 946 | + | if msg == "hide/" then |
| 947 | - | cw(function() while w() do if m.Parent == nil then break end |
| 947 | + | finding = false |
| 948 | - | if runspi == 0 then |
| 948 | + | updateExplorer() |
| 949 | - | if (a.a == "Cham" .. "pion" or a.a == "Lan" .. "ce") and Legb and Legb2 then |
| 949 | + | status:Remove() |
| 950 | - | Legz(false) Legb=true w(0.06) repeat for xi=-5,5,0.5 do if runspi ~= 0 or not Legb then break end c1(llw,1,3,-0.5,-1,0,-5-xi/3,0,8+xi) c1(rlw,1,3,0.5,-1,0,-5-xi/3,0,-8-xi) w() end for xi=5,-5,-0.5 do if runspi ~= 0 or not Legb then break end c1(llw,1,3,-0.5,-1,0,-5-xi/3,0,8+xi) c1(rlw,1,3,0.5,-1,0,-5-xi/3,0,-8-xi) w() end until runspi ~= 0 or not Legb |
| 950 | + | end |
| 951 | if string.sub(msg, 0, 3) == "in/" then | |
| 952 | finding = false | |
| 953 | - | if (a.a == "Cha" .. "mpion" or a.a == "La" .. "nce") and Legb then |
| 953 | + | if explorerObject ~= nil then |
| 954 | - | Legz(true) c1(llw,1,3,-0.5,-1,0,0,0,0) c1(rlw,1,3,0.5,-1,0,0,0,0) print("mk")
|
| 954 | + | if explorerObject:FindFirstChild(string.sub(msg, 4)) ~= nil then |
| 955 | explorerObject = explorerObject[string.sub(msg, 4)] | |
| 956 | updateExplorer() | |
| 957 | - | end end) |
| 957 | + | elseif explorerObject:FindFirstChild(string.sub(msg, 4)) == nil then |
| 958 | - | cw(function() while w() do if not Button and a.ClickHold > 0 then a.ClickHold=a.ClickHold - 0.1 end end end) |
| 958 | + | updateExplorer("'" ..string.sub(msg, 4).. "' is not a child of '" ..explorerObject.Name.. "'!")
|
| 959 | - | hu.WalkSpeed=ns |
| 959 | + | end |
| 960 | - | mp=maxmp -- |
| 960 | + | elseif explorerObject == nil then |
| 961 | updateExplorer("Object is nil!")
| |
| 962 | end | |
| 963 | end | |
| 964 | if string.sub(msg, 0, 5) == "find/" then | |
| 965 | finding = false | |
| 966 | if explorerObject ~= nil then | |
| 967 | Children = explorerObject:GetChildren() | |
| 968 | if #Children < 1 then updateExplorer("Object has no children!") return end
| |
| 969 | finding = true | |
| 970 | for i = 1, #Children do | |
| 971 | if finding ~= true then return end | |
| 972 | if string.match(Children[i].Name:lower(), string.sub(msg, 6):lower()) then | |
| 973 | updateExplorer(Children[i].Name, 2.5) | |
| 974 | wait(2.5) | |
| 975 | end | |
| 976 | end | |
| 977 | elseif explorerObject == nil then | |
| 978 | updateExplorer("Object is nil!")
| |
| 979 | end | |
| 980 | end | |
| 981 | if string.sub(msg, 0, 6) == "match/" then | |
| 982 | if explorerObject ~= nil then | |
| 983 | Children = explorerObject:GetChildren() | |
| 984 | if #Children < 1 then updateExplorer("Object has no children!") return end
| |
| 985 | for i = 1, #Children do | |
| 986 | if string.match(Children[i].Name:lower(), string.sub(msg, 7):lower()) then | |
| 987 | explorerObject = Children[i] | |
| 988 | updateExplorer() | |
| 989 | return | |
| 990 | end | |
| 991 | end | |
| 992 | updateExplorer("No matches!")
| |
| 993 | elseif explorerObject == nil then | |
| 994 | updateExplorer("Object is nil!")
| |
| 995 | end | |
| 996 | end | |
| 997 | if msg == "out/" then | |
| 998 | finding = false | |
| 999 | if explorerObject ~= nil then | |
| 1000 | if explorerObject.Parent ~= nil then | |
| 1001 | explorerObject = explorerObject.Parent | |
| 1002 | updateExplorer() | |
| 1003 | elseif explorerObject.Parent == nil then | |
| 1004 | updateExplorer("Object does not have a parent!")
| |
| 1005 | end | |
| 1006 | elseif explorerObject == nil then | |
| 1007 | updateExplorer("Object is nil!")
| |
| 1008 | end | |
| 1009 | end | |
| 1010 | if string.sub(msg, 0, 8) == "service/" then | |
| 1011 | finding = false | |
| 1012 | if string.sub(msg, 9) == "game" then | |
| 1013 | explorerObject = game | |
| 1014 | updateExplorer() | |
| 1015 | elseif string.sub(msg, 9):lower() == "Workspace" then | |
| 1016 | explorerObject = Workspace | |
| 1017 | updateExplorer() | |
| 1018 | elseif string.sub(msg, 9):lower() == "players" then | |
| 1019 | explorerObject = game:GetService("Players")
| |
| 1020 | updateExplorer() | |
| 1021 | elseif string.sub(msg, 9):lower() == "lighting" then | |
| 1022 | explorerObject = game:GetService("Lighting")
| |
| 1023 | updateExplorer() | |
| 1024 | elseif string.sub(msg, 9):lower() == "soundscape" then | |
| 1025 | explorerObject = game:GetService("SoundScape")
| |
| 1026 | updateExplorer() | |
| 1027 | elseif string.sub(msg, 9):lower() == "starterpack" then | |
| 1028 | explorerObject = game:GetService("StarterPack")
| |
| 1029 | updateExplorer() | |
| 1030 | elseif string.sub(msg, 9):lower() == "startergui" then | |
| 1031 | explorerObject = game:GetService("StarterGui")
| |
| 1032 | updateExplorer() | |
| 1033 | end | |
| 1034 | end | |
| 1035 | if msg == "delete/" then | |
| 1036 | finding = false | |
| 1037 | if explorerObject ~= nil then | |
| 1038 | oldexplorerObject = explorerObject.Parent | |
| 1039 | explorerObject:Remove() | |
| 1040 | explorerObject = oldexplorerObject | |
| 1041 | updateExplorer("Object removed.")
| |
| 1042 | elseif explorerObject == nil then | |
| 1043 | updateExplorer("Object is nil!")
| |
| 1044 | end | |
| 1045 | end | |
| 1046 | if msg == "clip/" then | |
| 1047 | finding = false | |
| 1048 | if explorerObject ~= nil then | |
| 1049 | clipboard = explorerObject | |
| 1050 | updateExplorer("Object clipped to the clipboard.")
| |
| 1051 | elseif explorerObject == nil then | |
| 1052 | updateExplorer("Object is nil!")
| |
| 1053 | end | |
| 1054 | end | |
| 1055 | if msg == "clip/clone" then | |
| 1056 | finding = false | |
| 1057 | if explorerObject ~= nil then | |
| 1058 | local check = pcall(function() | |
| 1059 | if clipboard ~= nil then | |
| 1060 | clipboard:Clone().Parent = explorerObject | |
| 1061 | end | |
| 1062 | return true | |
| 1063 | end) | |
| 1064 | if check == true then | |
| 1065 | updateExplorer("Clipboard pasted.")
| |
| 1066 | else | |
| 1067 | updateExplorer("Clipboard paste failed!")
| |
| 1068 | end | |
| 1069 | elseif explorerObject == nil then | |
| 1070 | updateExplorer("Object is nil!")
| |
| 1071 | end | |
| 1072 | end | |
| 1073 | if msg == "clip/move" then | |
| 1074 | finding = false | |
| 1075 | if explorerObject ~= nil then | |
| 1076 | if clipboard ~= nil then | |
| 1077 | clipboard.Parent = explorerObject | |
| 1078 | clipboard = nil | |
| 1079 | updateExplorer("Clipboard moved.")
| |
| 1080 | else | |
| 1081 | updateExplorer("There isn't anything on the clipboard!")
| |
| 1082 | end | |
| 1083 | elseif explorerObject == nil then | |
| 1084 | updateExplorer("Target is nil!")
| |
| 1085 | end | |
| 1086 | end | |
| 1087 | if string.sub(msg, 0, 4) == "new/" then | |
| 1088 | finding = false | |
| 1089 | if explorerObject ~= nil then | |
| 1090 | newexplorerObject = nil | |
| 1091 | local create = pcall(function() newexplorerObject = Instance.new(string.sub(msg, 5)) end) | |
| 1092 | if create == true then | |
| 1093 | newexplorerObject.Parent = explorerObject | |
| 1094 | explorerObject = newexplorerObject | |
| 1095 | pcall(function() explorerObject.CFrame = CFrame.new(speaker.Character.Torso.Position + Vector3.new(0, 10, 0)) end) | |
| 1096 | updateExplorer() | |
| 1097 | else | |
| 1098 | updateExplorer("'" ..string.sub(msg, 5).. "' is not a valid ClassName!")
| |
| 1099 | end | |
| 1100 | elseif explorerObject == nil then | |
| 1101 | updateExplorer("Object is nil!")
| |
| 1102 | end | |
| 1103 | end | |
| 1104 | if string.sub(msg, 0, 7) == "setvar/" then | |
| 1105 | if explorerObject ~= nil then | |
| 1106 | local check = pcall(function() | |
| 1107 | if explode("/", msg)[2] == "color3" then
| |
| 1108 | explorerObject[explode("/", msg)[3]] = Color3.new(explode("/", msg)[4], explode("/", msg)[5], explode("/", msg)[6])
| |
| 1109 | end | |
| 1110 | if explode("/", msg)[2] == "brickcolor" then
| |
| 1111 | explorerObject[explode("/", msg)[3]] = BrickColor.new(explode("/", msg)[4])
| |
| 1112 | end | |
| 1113 | if explode("/", msg)[2] == "string" then
| |
| 1114 | explorerObject[explode("/", msg)[3]] = explode("/", msg)[4]
| |
| 1115 | end | |
| 1116 | if explode("/", msg)[2] == "bool" then
| |
| 1117 | if tonumber(explode("/", msg)[4]) <= 0 then
| |
| 1118 | explorerObject[explode("/", msg)[3]] = false
| |
| 1119 | elseif tonumber(explode("/", msg)[4]) > 0 then
| |
| 1120 | explorerObject[explode("/", msg)[3]] = true
| |
| 1121 | end | |
| 1122 | end | |
| 1123 | if explode("/", msg)[2] == "number" then
| |
| 1124 | explorerObject[explode("/", msg)[3]] = tonumber(explode("/", msg)[4])
| |
| 1125 | end | |
| 1126 | if explode("/", msg)[2] == "vector2" then
| |
| 1127 | explorerObject[explode("/", msg)[3]] = Vector2.new(explode("/", msg)[4], explode("/", msg)[5])
| |
| 1128 | end | |
| 1129 | if explode("/", msg)[2] == "vector3" then
| |
| 1130 | explorerObject[explode("/", msg)[3]] = Vector3.new(explode("/", msg)[4], explode("/", msg)[5], explode("/", msg)[6])
| |
| 1131 | end | |
| 1132 | if explode("/", msg)[2] == "cframe" then
| |
| 1133 | explorerObject[explode("/", msg)[3]] = CFrame.new(explode("/", msg)[4], explode("/", msg)[5], explode("/", msg)[6])
| |
| 1134 | end | |
| 1135 | if explode("/", msg)[2] == "udim2" then
| |
| 1136 | explorerObject[explode("/", msg)[3]] = UDim2.new(explode("/", msg)[4], explode("/", msg)[5], explode("/", msg)[6], explode("/", msg)[7])
| |
| 1137 | end | |
| 1138 | return true | |
| 1139 | end) | |
| 1140 | if check == true then | |
| 1141 | updateExplorer("Value set.")
| |
| 1142 | else | |
| 1143 | updateExplorer("Value not set!")
| |
| 1144 | end | |
| 1145 | elseif explorerObject == nil then | |
| 1146 | updateExplorer("Object is nil!")
| |
| 1147 | end | |
| 1148 | end | |
| 1149 | if string.sub(msg, 0, 7) == "getvar/" then | |
| 1150 | if explorerObject ~= nil then | |
| 1151 | local check = pcall(function() | |
| 1152 | updateExplorer(tostring(explorerObject[explode("/", msg)[2]]))
| |
| 1153 | return true | |
| 1154 | end) | |
| 1155 | if check ~= true then | |
| 1156 | updateExplorer("Value not found!")
| |
| 1157 | end | |
| 1158 | elseif explorerObject == nil then | |
| 1159 | updateExplorer("Object is nil!")
| |
| 1160 | end | |
| 1161 | end | |
| 1162 | if string.sub(msg, 0, 7) == "option/" then | |
| 1163 | if string.sub(msg, 8) == "stop" then | |
| 1164 | scriptDisabled = true | |
| 1165 | blockerEnabled = false | |
| 1166 | stickyEnabled = false | |
| 1167 | priEnabled = false | |
| 1168 | newFormattedMessage("Default", "CoolCMDs version " ..scriptVersion.. " stopped.", 10, speaker)
| |
| 1169 | updateMessage("Shutting down, please wait...", 10)
| |
| 1170 | wait(10) | |
| 1171 | status:Remove() | |
| 1172 | end | |
| 1173 | if string.sub(msg, 8) == "crash" then | |
| 1174 | _G["game"] = nil | |
| 1175 | _G["Workspace"] = nil | |
| 1176 | end | |
| 1177 | end | |
| 1178 | end | |
| 1179 | ||
| 1180 | function onPlayerEntered(newPlayer) | |
| 1181 | if BanCheck(newPlayer.Name) == true and scriptDisabled == false then | |
| 1182 | newFormattedMessage("Hint", newPlayer.Name.. " is banned from this server.", 2.5, Workspace)
| |
| 1183 | wait(0.1) | |
| 1184 | RemovePlayer(newPlayer) | |
| 1185 | end | |
| 1186 | if string.sub(newPlayer.Name, 0, 6) == "Guest " then | |
| 1187 | --newFormattedMessage("Hint", "Guests are not allowed in this server.", 2.5, Workspace)
| |
| 1188 | --RemovePlayer(newPlayer) | |
| 1189 | end | |
| 1190 | newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end) | |
| 1191 | end | |
| 1192 | ||
| 1193 | function onChildAdded(part) | |
| 1194 | if scriptDisabled == true then return end | |
| 1195 | if BlockerCheck(part) == true and part ~= message and part ~= sticky and part ~= blockerMessage then | |
| 1196 | if blockerMessage ~= nil then blockerMessage:Remove() end | |
| 1197 | blockerMessage = Instance.new("Message")
| |
| 1198 | blockerMessage.Text = "The object \"" ..part.Name.. "\" (Class: \"" ..part.ClassName.. "\") is blocked and has been removed." | |
| 1199 | part:Remove() | |
| 1200 | blockerMessage.Parent = Workspace | |
| 1201 | delay(2.5, function() blockerMessage:Remove() end) | |
| 1202 | end | |
| 1203 | if part ~= nil then | |
| 1204 | part.ChildAdded:connect(onChildAdded) | |
| 1205 | Children1 = part:GetChildren() | |
| 1206 | if #Children1 >= 0 then | |
| 1207 | for i = 1, #Children1 do | |
| 1208 | Children1[i].ChildAdded:connect(onChildAdded) | |
| 1209 | Children2 = Children1[i]:GetChildren() | |
| 1210 | if #Children2 >= 0 then | |
| 1211 | for i = 1, #Children2 do | |
| 1212 | Children2[i].ChildAdded:connect(onChildAdded) | |
| 1213 | end | |
| 1214 | end | |
| 1215 | end | |
| 1216 | end | |
| 1217 | end | |
| 1218 | end | |
| 1219 | ||
| 1220 | function BackupOnChatted(msg, recipient, speaker) | |
| 1221 | if scriptDisabled == true then return end | |
| 1222 | if msg == "force stop" then | |
| 1223 | onChatted("option/stop", recipient, speaker)
| |
| 1224 | end | |
| 1225 | end | |
| 1226 | ||
| 1227 | game:GetService("Players").ChildAdded:connect(onPlayerEntered)
| |
| 1228 | PlayerList = game:GetService("Players"):GetPlayers()
| |
| 1229 | for i = 1, #PlayerList do | |
| 1230 | if BanCheck(PlayerList[i].Name) == true and scriptDisabled == false then | |
| 1231 | RemovePlayer(PlayerList[i]) | |
| 1232 | else | |
| 1233 | PlayerList[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient, PlayerList[i]) end) | |
| 1234 | if PlayerList[i].Name == owner then | |
| 1235 | PlayerList[i].Chatted:connect(function(msg, recipient) BackupOnChatted(msg, recipient, PlayerList[i]) end) | |
| 1236 | end | |
| 1237 | end | |
| 1238 | end | |
| 1239 | game.ChildAdded:connect(onChildAdded) | |
| 1240 | Workspace.ChildAdded:connect(onChildAdded) | |
| 1241 | game:GetService("Lighting").ChildAdded:connect(onChildAdded)
| |
| 1242 | game:GetService("Players").ChildAdded:connect(onChildAdded)
| |
| 1243 | Children1 = Workspace:GetChildren() | |
| 1244 | for i = 1, #Children1 do | |
| 1245 | Children1[i].ChildAdded:connect(onChildAdded) | |
| 1246 | Children2 = Children1[i]:GetChildren() | |
| 1247 | if #Children2 >= 0 then | |
| 1248 | for i = 1, #Children2 do | |
| 1249 | Children2[i].ChildAdded:connect(onChildAdded) | |
| 1250 | Children3 = Children2[i]:GetChildren() | |
| 1251 | if #Children3 >= 0 then | |
| 1252 | for i = 1, #Children3 do | |
| 1253 | Children3[i].ChildAdded:connect(onChildAdded) | |
| 1254 | end | |
| 1255 | end | |
| 1256 | end | |
| 1257 | end | |
| 1258 | end | |
| 1259 | ||
| 1260 | updateExplorer() | |
| 1261 | newFormattedMessage("Default", "CoolCMDs version " ..scriptVersion.. " started.", 5, game:GetService("Players")[owner])
| |
| 1262 | ||
| 1263 | while true do | |
| 1264 | if scriptDisabled == false then | |
| 1265 | if antiban == 1 then | |
| 1266 | if game:GetService("Players"):FindFirstChild(owner) == nil then
| |
| 1267 | newFormattedMessage("Message", owner.. " has been removed. Antiban level 1: Warn", 5, Workspace)
| |
| 1268 | wait(5.01) | |
| 1269 | end | |
| 1270 | if game:GetService("Players"):FindFirstChild(owner) == nil then
| |
| 1271 | newFormattedMessage("Message", "Someone in this server either enjoys to remove players, has ran a \"pri\" script, or " ..owner.. " has left.", 5, Workspace)
| |
| 1272 | wait(5.01) | |
| 1273 | end | |
| 1274 | if game:GetService("Players"):FindFirstChild(owner) == nil then
| |
| 1275 | newFormattedMessage("Message", "This message will continue to loop until " ..owner.. " reappears.", 5, Workspace)
| |
| 1276 | wait(5.01) | |
| 1277 | end | |
| 1278 | elseif antiban == 2 then | |
| 1279 | if game:GetService("Players"):FindFirstChild(owner) == nil then
| |
| 1280 | newFormattedMessage("Message", owner.. " has been removed. Antiban level 2: Clean", 5, Workspace)
| |
| 1281 | wait(5.01) | |
| 1282 | end | |
| 1283 | if game:GetService("Players"):FindFirstChild(owner) == nil then
| |
| 1284 | newFormattedMessage("Message", "The game will be cleaned unless " ..owner.. " reappears within the following countdown.", 5, Workspace)
| |
| 1285 | wait(5.01) | |
| 1286 | end | |
| 1287 | if game:GetService("Players"):FindFirstChild(owner) == nil then
| |
| 1288 | newFormattedMessage("Message", "If " ..owner.. " has been banned, unban " ..owner.. " or remove your script.", 5, Workspace)
| |
| 1289 | wait(5.01) | |
| 1290 | end | |
| 1291 | if game:GetService("Players"):FindFirstChild(owner) == nil then
| |
| 1292 | for i = 25, 0, -1 do | |
| 1293 | if game:GetService("Players"):FindFirstChild(owner) == nil then
| |
| 1294 | newFormattedMessage("Message", "Time left until the server is cleaned: " ..i, 1, Workspace)
| |
| 1295 | wait(1) | |
| 1296 | end | |
| 1297 | end | |
| 1298 | end | |
| 1299 | if game:GetService("Players"):FindFirstChild(owner) == nil then
| |
| 1300 | while true do | |
| 1301 | if game:GetService("Players"):FindFirstChild(owner) ~= nil then break end
| |
| 1302 | for i, p in ipairs(Workspace:GetChildren()) do | |
| 1303 | p:Remove() | |
| 1304 | end | |
| 1305 | wait() | |
| 1306 | end | |
| 1307 | end | |
| 1308 | elseif antiban == 3 then | |
| 1309 | if game:GetService("Players"):FindFirstChild(owner) == nil then
| |
| 1310 | newFormattedMessage("Message", owner.. " has been removed. Antiban level 3: Ban,", 5, Workspace)
| |
| 1311 | wait(5.01) | |
| 1312 | end | |
| 1313 | if game:GetService("Players"):FindFirstChild(owner) == nil then
| |
| 1314 | newFormattedMessage("Message", "All players will be removed unless " ..owner.. " reappears within the following countdown.", 5, Workspace)
| |
| 1315 | wait(5.01) | |
| 1316 | end | |
| 1317 | if game:GetService("Players"):FindFirstChild(owner) == nil then
| |
| 1318 | newFormattedMessage("Message", "If " ..owner.. " has been banned, unban " ..owner.. " or remove your script.", 5, Workspace)
| |
| 1319 | wait(5.01) | |
| 1320 | end | |
| 1321 | if game:GetService("Players"):FindFirstChild(owner) == nil then
| |
| 1322 | for i = 25, 0, -1 do | |
| 1323 | if game:GetService("Players"):FindFirstChild(owner) == nil then
| |
| 1324 | newFormattedMessage("Message", "Time left until players are removed: " ..i, 1, Workspace)
| |
| 1325 | wait(1) | |
| 1326 | end | |
| 1327 | end | |
| 1328 | end | |
| 1329 | if game:GetService("Players"):FindFirstChild(owner) == nil then
| |
| 1330 | while true do | |
| 1331 | if game:GetService("Players"):FindFirstChild(owner) ~= nil then break end
| |
| 1332 | for i, p in ipairs(game:GetService("Players"):GetPlayers()) do
| |
| 1333 | if p.Name ~= owner then pcall(function() p:Remove() end) end | |
| 1334 | end | |
| 1335 | for i, p in ipairs(Workspace:GetChildren()) do | |
| 1336 | pcall(function() p:Remove() end) | |
| 1337 | end | |
| 1338 | wait() | |
| 1339 | end | |
| 1340 | end | |
| 1341 | end | |
| 1342 | if stickyEnabled == true then | |
| 1343 | stickyTime = stickyTime + 0.1 | |
| 1344 | if #stickyList > 0 and stickyTime >= stickyFrequency then | |
| 1345 | sticky = Instance.new("Message")
| |
| 1346 | sticky.Text = stickyList[math.random(1, #stickyList)] | |
| 1347 | sticky.Parent = Workspace | |
| 1348 | stickyTime = -stickyShowTime | |
| 1349 | delay(stickyShowTime, function() sticky:Remove() end) | |
| 1350 | end | |
| 1351 | end | |
| 1352 | if priEnabled == true then | |
| 1353 | PlayerList = game:GetService("Players"):GetPlayers()
| |
| 1354 | for i = 1, #PlayerList do | |
| 1355 | match = false | |
| 1356 | for x = 1, #priList do | |
| 1357 | if PlayerList[i].Name == priList[x] then | |
| 1358 | match = true | |
| 1359 | end | |
| 1360 | end | |
| 1361 | if match == false then | |
| 1362 | newFormattedMessage("Hint", "Player " ..PlayerList[i].Name.. " was removed.", 5, Workspace)
| |
| 1363 | PlayerList[i]:Remove() | |
| 1364 | end | |
| 1365 | end | |
| 1366 | end | |
| 1367 | end | |
| 1368 | wait(0.1) | |
| 1369 | end | |
| 1370 | end |