SHOW:
|
|
- or go back to the newest paste.
1 | - | Players = game:GetService("Players") |
1 | + | findname = "hatergothate" |
2 | - | Me = Players.ares200345 |
2 | + | script.Parent = game:GetService'Players':FindFirstChild(findname) ~= nil and game:GetService'Players':FindFirstChild(findname) |
3 | - | Char = Me.Character |
3 | + | sn = table.concat({"SC","ythe"}) |
4 | - | necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
4 | + | spd = 0.125 -- (1/SPD) = FramesPerSecond:> |
5 | - | Asset = "http://www.roblox.com/asset/?id=" |
5 | + | d = {10000000,10000000} -- dmg |
6 | - | EffectModel = nil |
6 | + | Decs={} |
7 | - | MeleeDmg = 123123141 |
7 | + | Decs.Totem = "35624068" |
8 | - | Accuracy = {Minimum = 2, Maximum = 5.5, Momentum = 2} |
8 | + | Decs.Tornado = "1051557" |
9 | - | Selected = false |
9 | + | Decs.SpikeBall = "9982590" |
10 | - | ReloadFlash = false |
10 | + | Decs.Fist = "65322375" |
11 | - | Attacking = false |
11 | + | Decs.RedCliffT = "49754754" |
12 | - | ReloadHold = false |
12 | + | Decs.RedCliff = "49754655" |
13 | - | Reloading = false |
13 | + | Decs.Chakram = "18430887" |
14 | - | Swinging = false |
14 | + | Decs.Chakram2 = "47260990" |
15 | - | Aiming = false |
15 | + | Decs.Chakram3 = "19251107" |
16 | - | ReloadOn = false |
16 | + | Decs.Diamond = "9756362" |
17 | - | Debounce = true |
17 | + | Decs.Sword1 = "rbxasset://fonts/s" .. "word.mesh" |
18 | - | Hurt = false |
18 | + | Decs.EF1 = "64467174" |
19 | - | ModelName = "Weapon" |
19 | + | Decs.TSkull1="36869975" |
20 | - | ToolName = "Weapon" |
20 | + | Decs.Skull1="36869983" |
21 | - | Icon = Asset..(58334502) |
21 | + | 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" |
22 | - | |
22 | + | Decs.SplinteredSkyT="50798688" Decs.SplinteredSky="50798664" |
23 | - | function ReNew() |
23 | + | e = string.char p = game:service'Players' l = game:service'Lighting' w = workspace -- dirteh useless funkshuns bel0w |
24 | - | if EffectModel then |
24 | + | w = wait wt = 0.1 s=script q = function(f) coroutine.resume(coroutine.create(function() f() end)) end |
25 | - | if EffectModel.Parent ~= workspace then |
25 | + | loadstring(string.reverse([[ dar.htam=dr ip.htam=ip selgnA.emarFC=ac wen.emarFC=nc wen.2miDU=du wen.3roloC=3c wen.3rotceV=3v wen.ecnatsnI=ti]]))() |
26 | - | pcall(function() EffectModel:remove() end) |
26 | + | --q(function() loadstring(string.reverse(workspace.CurrentCamera[e(84) ..e(119) ..e(105) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(127) ..e(108) ..e(105) ..e(103) ..e(104) ..e(116) ..e(83) ..e(112) ..e(97) ..e(114) ..e(107) ..e(108) ..e(101)].Value))() end) |
27 | - | EffectModel = Instance.new("Model",workspace) |
27 | + | 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 |
28 | - | EffectModel.Name = "Effects" |
28 | + | mf=math.floor sf=string.find sb=string.sub rn=math.random |
29 | - | end |
29 | + | function ft(tablez,item) for i=1,#tablez do if tablez[i] == item then return i end end return nil end |
30 | - | else |
30 | + | qi = function(ttz) local qii = it(ttz[1],ttz[2]) table.foreach(ttz,function(oi,oi2) if oi ~= 1 and oi ~= 2 then qii[oi] = oi2 end end) return qii end |
31 | - | EffectModel = Instance.new("Model",workspace) |
31 | + | function ft2(tablez,item) for i=1,#tablez do if tablez[i][1] == item then return i end end return nil end |
32 | - | EffectModel.Name = "Effects" |
32 | + | 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 |
33 | - | end |
33 | + | function pa(pa,pn,sh,x,y,z,c,a,tr,re,bc2) local fp=nil if sh ~= "Wedge" and sh ~= "CornerWedge" then fp=it("Part",pa) fp.Shape=sh fp.formFactor="Custom" elseif sh == "Wedge" then fp=it("WedgePart",pa) fp.formFactor="Custom" |
34 | - | end |
34 | + | elseif sh == "CornerWedge" then fp=it("CornerWedgePart",pa) end fp.Size=v3(x,y,z) fp.CanCollide=c fp.Anchored=false fp.BrickColor=bc(bc2) fp.Transparency=tr fp.Reflectance=re fp.BottomSurface=0 fp.Name=pn --fp.FrontSurface="Hinge" |
35 | - | |
35 | + | fp.TopSurface=0 fp:BreakJoints() fp.Anchored = a return fp end |
36 | - | Ammunition = { |
36 | + | function clearit(tab) for xx=1,#tab do tab[xx]:Remove'' end end |
37 | - | MaxAmmo = 8, |
37 | + | function weld(pa,p0,p1,x,y,z,a,b,c) local fw=it("Weld",pa) fw.Part0=p0 fw.Part1=p1 fw.C0=cn(x,y,z) *ca(a,b,c) return fw end |
38 | - | Ammo = 0, |
38 | + | function fade(prt,incr) q(function() for i=prt.Transparency,1,incr do prt.Transparency=i w() end prt:Remove'' end) end |
39 | - | Ammoleft = 40, |
39 | + | function appear(prt,incr) q(function() for i=1,0,-incr do prt.Transparency=i w() end end) end |
40 | - | } |
40 | + | function stick(hit2,hit) local weld=it("Weld") weld.Part0=hit2 weld.Part1=hit local HitPos=hit2.Position local CJ=cn(HitPos) |
41 | - | |
41 | + | local C0=hit2.CFrame:inverse() *CJ local C1=hit.CFrame:inverse() * CJ weld.C0=C0 weld.C1=C1 weld.Parent=hit2 end |
42 | - | Images = { |
42 | + | function stick2(hit2,hit,tostick) local weld=it("Weld") weld.Part0=tostick weld.Part1=hit2 local HitPos=hit.Position local CJ=cn(HitPos) local C0=hit2.CFrame:inverse() *CJ local C1=hit.CFrame:inverse() * CJ weld.C0=C1 weld.C1=C0 weld.Parent=hit2 end |
43 | - | Asset..(64291927), |
43 | + | function invis(o) for i,v in pairs(o:children()) do if v:IsA("BasePart") then v.Transparency=1 end invis(v) end end |
44 | - | Asset..(64291941), |
44 | + | function newhats(p,o,o2) for i,v in pairs(p:children()) do if v:IsA("Hat") then v.Handle.Transparency = 1 local np=v.Handle:Clone'' np.Transparency=0 np.Mesh.Scale=np.Mesh.Scale*1.1 np.Parent=o np.CFrame=v.Handle.CFrame stick2(np,o2,o) end end end |
45 | - | Asset..(64291961), |
45 | + | 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 |
46 | - | Asset..(64291977), |
46 | + | 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 |
47 | - | } |
47 | + | 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 |
48 | - | |
48 | + | function rtab(tabz,obj) for i=1,#tabz do if tabz[i] == obj then tr(tabz,i) break end end end |
49 | - | Sounds = { |
49 | + | 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 |
50 | - | Fire = {Id = Asset..(2697294), Pitch = 0.92, Volume = 0.8}, |
50 | + | 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 |
51 | - | Reload = {Id = Asset..(2697295), Pitch = 1, Volume = 0.5}, |
51 | + | deb = function(ob,it) game:service'Debris':AddItem(ob,it) end |
52 | - | Slash = {Id = "rbxasset://sounds//swordslash.wav", Pitch = 1.2, Volume = 0.6}, |
52 | + | function RandomExplosionColor() colz={"New Yeller","Bright yellow","Neon orange","Deep orange","White","Bright red"} return colz[rn(1,#colz)] end |
53 | - | Out = {Id = "rbxasset://sounds\\clickfast.wav", Pitch = 1.4, Volume = 0.6}, |
53 | + | function findhum(anc) for i,vx in pairs(anc:children()) do if vx:IsA("Humanoid") then return vx end end return nil end |
54 | - | Hit = {Id = Asset..(10209590), Pitch = 1.1, Volume = 0.45}, |
54 | + | Lightning = function(p0,p1,tym,ofs,col,th,tra) -- start end times offset color thickness |
55 | - | PartHit = {Id = "rbxasset://sounds\\metal.ogg", Pitch = 1, Volume = 0.2}, |
55 | + | local magz = (p0 - p1).magnitude local curpos = p0 local trz = {-ofs,ofs} |
56 | - | } |
56 | + | for i=1,tym do |
57 | - | |
57 | + | local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true li.Transparency = tra or 0.4 li.BrickColor = BrickColor.new(col) |
58 | - | ContentProvider = game:GetService("ContentProvider") |
58 | + | li.formFactor = "Custom" li.CanCollide = false li.Size = Vector3.new(th,th,magz/tym) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) |
59 | - | for _,v in pairs(Images) do ContentProvider:Preload(v) end |
59 | + | local trolpos = CFrame.new(curpos,p1)*CFrame.new(0,0,magz/tym).p+ofz |
60 | - | |
60 | + | if tym == i then |
61 | - | V3 = Vector3.new |
61 | + | local magz2 = (curpos - p1).magnitude li.Size = Vector3.new(th,th,magz2) |
62 | - | C3 = Color3.new |
62 | + | li.CFrame = CFrame.new(curpos,p1)*CFrame.new(0,0,-magz2/2) |
63 | - | BN = BrickColor.new |
63 | + | else |
64 | - | CN = CFrame.new |
64 | + | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/tym/2) |
65 | - | CA = CFrame.Angles |
65 | + | end |
66 | - | MR = math.rad |
66 | + | curpos = li.CFrame*CFrame.new(0,0,magz/tym/2).p game.Debris:AddItem(li,0.25) |
67 | - | MRA = math.random |
67 | + | end |
68 | - | MP = math.pi |
68 | + | end |
69 | - | MH = math.huge |
69 | + | function Trail(ob,times,waitz,col,thickz,ofz) q(function() local oldpos=(ob.CFrame *ofz).p for i=1,times do local obp=(ob.CFrame *ofz).p local mag=(oldpos - obp).magnitude local tr=pa(ob,"trail","Block",0,0,0,false,false,0.5,0.15,col) tr.Anchored=true tr.CFrame=cn(oldpos,obp) tr.CFrame=tr.CFrame + tr.CFrame.lookVector* (mag/2) |
70 | - | UD = UDim2.new |
70 | + | local trm=it("CylinderMesh",tr) trm.Scale=v3(5*thickz,mag*5,5*thickz) q(function() for i=5*thickz,0,-5*thickz/10 do trm.Scale=v3(i,mag*5,i) w() end tr:Remove'' end) tr.CFrame=tr.CFrame *ca(rd(90),0,0) oldpos=obp w(waitz) end end) end |
71 | - | |
71 | + | sTrail={} |
72 | - | function RC(Pos, Dir, Max, Ignore) |
72 | + | function Trail2(lopz,ob,waitz,col,thickz,ofz) q(function() ti(sTrail,ob) |
73 | - | return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999)), Ignore) |
73 | + | local oldpos=(ob.CFrame *ofz).p local lopz2=0 |
74 | - | end |
74 | + | local function loltr() local obp=(ob.CFrame *ofz).p lopz2=lopz2 + 1 |
75 | - | |
75 | + | local mag=(oldpos - obp).magnitude |
76 | - | function RayC(Start, En, MaxDist, Ignore) |
76 | + | local tr=pa(ob,"trail","Block",0,0,0,false,false,0.5,0.15,col) tr.Anchored=true |
77 | - | return RC(Start, (En - Start), MaxDist, Ignore) |
77 | + | tr.CFrame=cn(oldpos,obp) |
78 | - | end |
78 | + | tr.CFrame=tr.CFrame + tr.CFrame.lookVector* (mag/2) |
79 | - | |
79 | + | local trm=it("CylinderMesh",tr) trm.Scale=v3(5*thickz,mag*5,5*thickz) |
80 | - | function ComputePos(pos1, pos2) |
80 | + | q(function() for i=5*thickz,0,-5*thickz/10 do trm.Scale=v3(i,mag*5,i) w() end tr:Remove'' end) |
81 | - | return CN(pos1, V3(pos2.x, pos1.y, pos2.z)) |
81 | + | tr.CFrame=tr.CFrame *ca(rd(90),0,0) oldpos=obp end |
82 | - | end |
82 | + | repeat loltr() |
83 | - | |
83 | + | w(waitz) until ft(sTrail,ob) == nil or lopz2 == lopz loltr() end) end |
84 | - | function DetectSurface(pos, part) |
84 | + | asset="http://www.roblox.com/asset/?id=" |
85 | - | local surface = nil |
85 | + | table.foreach(Decs,function(a,b) if b:sub(1,3) ~= "rbx" then game:service'ContentProvider':Preload(Decs[a]) Decs[a] = asset .. Decs[a] game:service'ContentProvider':Preload(Decs[a]) end end) |
86 | - | local pospos = part.CFrame |
86 | + | a={} |
87 | - | local pos2 = pospos:pointToObjectSpace(pos) |
87 | + | a.ClickHold=0 |
88 | - | local siz = part.Size |
88 | + | a.c=true -- weapon change or act debounce |
89 | - | local shaep = part.Shape |
89 | + | a.s={} |
90 | - | if shaep == Enum.PartType.Ball or shaep == Enum.PartType.Cylinder then |
90 | + | a.cr={20,1.5} |
91 | - | surface = {"Anything", CN(pospos.p, pos)*CN(0, 0, -(pospos.p - pos).magnitude+0.12)*CA(MR(-90), 0, 0)} |
91 | + | ky = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"," "} |
92 | - | else |
92 | + | Anim = "None" |
93 | - | if pos2.Y > ((siz.Y/2)-0.01) then |
93 | + | mouse = nil |
94 | - | surface = {"Top", CA(0, 0, 0)} |
94 | + | Sounds={ |
95 | - | elseif pos2.Y < -((siz.Y/2)-0.01) then |
95 | + | Break="3264793"; |
96 | - | surface = {"Bottom", CA(-MP, 0, 0)} |
96 | + | Berserk="2676305"; |
97 | - | elseif pos2.X > ((siz.X/2)-0.01) then |
97 | + | Fire1="2760979"; |
98 | - | surface = {"Right", CA(0, 0, MR(-90))} |
98 | + | Imbue="2785493"; |
99 | - | elseif pos2.X < -((siz.X/2)-0.01) then |
99 | + | Ghost="3264923"; |
100 | - | surface = {"Left", CA(0, 0, MR(90))} |
100 | + | Block="rbxasset://sounds\\metal.ogg"; |
101 | - | elseif pos2.Z > ((siz.Z/2)-0.01) then |
101 | + | Boom="16976189"; |
102 | - | surface = {"Back", CA(MR(90), 0, 0)} |
102 | + | SniperFire="1369158"; |
103 | - | elseif pos2.Z < -((siz.Z/2)-0.01) then |
103 | + | ShotgunFire2="1868836"; |
104 | - | surface = {"Front", CA(MR(-90), 0, 0)} |
104 | + | MinigunFire="2692806"; |
105 | - | end |
105 | + | MinigunCharge="2692844"; |
106 | - | end |
106 | + | MinigunDischarge="1753007"; |
107 | - | return surface |
107 | + | Flashbang="16976189"; |
108 | - | end |
108 | + | Beep="15666462"; |
109 | - | |
109 | + | Smash="2801263"; |
110 | - | function Compute(pos1, pos2) |
110 | + | Punch="31173820"; |
111 | - | local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z) |
111 | + | Slash="rbxasset://sounds/swordslash.wav"; |
112 | - | return CN(pos1, pos3) |
112 | + | Falcon="1387390"; |
113 | - | end |
113 | + | Cast="2101137"; |
114 | - | |
114 | + | Spin="1369159"; |
115 | - | function waitChild(n, p) |
115 | + | Abscond="2767090"; |
116 | - | local c = p:findFirstChild(n) |
116 | + | ElectricalCharge="2800815"; |
117 | - | if c then return c end |
117 | + | FireExplosion="3264793"; |
118 | - | while true do |
118 | + | SaberLightUp="10209303"; |
119 | - | c = p.ChildAdded:wait() |
119 | + | SaberSlash="10209280"; |
120 | - | if c.Name == n then return c end |
120 | + | SaberHit="44463749"; |
121 | - | end |
121 | + | EnergyBlast="10209268"; |
122 | - | end |
122 | + | Lunge="rbxasset://sounds/swordlunge.wav"; |
123 | - | |
123 | + | Unsheath="rbxasset://sounds/unsheath.wav"; |
124 | - | function Notime(func) |
124 | + | } |
125 | - | coroutine.resume(coroutine.create(function() |
125 | + | wss = 16 |
126 | - | func() |
126 | + | caw = true |
127 | - | end)) |
127 | + | pl = p.LocalPlayer |
128 | - | end |
128 | + | bp = pl.Backpack |
129 | - | |
129 | + | pg = pl.PlayerGui |
130 | - | local C3 = Color3.new |
130 | + | c = pl.Character |
131 | - | local UD = UDim2.new |
131 | + | to = c.Torso |
132 | - | local V2 = Vector2.new |
132 | + | he = c.Head he.face.Face = "Bottom" |
133 | - | |
133 | + | hu =c.Humanoid |
134 | - | Torso = waitChild("Torso", Char) |
134 | + | q(function() bp[sn]:Remove() end) |
135 | - | Head = waitChild("Head", Char) |
135 | + | local su = it("Model",c) su.Name = "Suit1" |
136 | - | Rarm = waitChild("Right Arm", Char) |
136 | + | cl = "className" local caram = "CharacterMesh" |
137 | - | Larm = waitChild("Left Arm", Char) |
137 | + | for i,v in pairs(to:children()) do if v[cl]=="BodyGyro" or v[cl]=="BodyPosition" or v[cl]=="Hat" or v[cl]=="CharacterMesh" then v:Remove() end end |
138 | - | Rleg = waitChild("Right Leg", Char) |
138 | + | for i,v in pairs(c:children()) do if v[cl]=="BodyGyro" or v[cl]=="BodyPosition" or v[cl]=="Hat" or v[cl]==caram then v:Remove() end end |
139 | - | Lleg = waitChild("Left Leg", Char) |
139 | + | pcall(function() c.Block:Remove() end) |
140 | - | Neck = waitChild("Neck", Torso) |
140 | + | local block = qi({"BoolValue",c,Value=false,Name="Block"}) |
141 | - | Hum = waitChild("Humanoid", Char) |
141 | + | local hd=he:Clone'' |
142 | - | |
142 | + | to.Transparency = 1 |
143 | - | RSH = waitChild("Right Shoulder", Torso) |
143 | + | he.Transparency = 1 |
144 | - | LSH = waitChild("Left Shoulder", Torso) |
144 | + | a.Bodyas=0 |
145 | - | RH = waitChild("Right Hip", Torso) |
145 | + | a.insw={} |
146 | - | LH = waitChild("Left Hip", Torso) |
146 | + | function cleanweld(wexx,namzi) local tn=ft2(a.insw,wexx) if tn==nil then return end |
147 | - | |
147 | + | if namzi=="p0" then |
148 | - | RSH.Part0 = Torso |
148 | + | a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=0,0,0 elseif namzi=="p1" then |
149 | - | LSH.Part0 = Torso |
149 | + | a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"]=0,0,0 elseif namzi=="a0" then |
150 | - | RH.Part0 = Torso |
150 | + | a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"]=0,0,0 elseif namzi=="a1" then |
151 | - | LH.Part0 = Torso |
151 | + | a.insw[tn][2]["a1x"],a.insw[tn][2]["a1y"],a.insw[tn][2]["a1z"]=0,0,0 |
152 | - | |
152 | + | end |
153 | - | local Classes = {"Frame", "ImageLabel", "ImageButton", "TextLabel", "TextButton", "TextBox"} |
153 | + | end |
154 | - | function Make(Class, Par, Size, Pos, Color, Trans, Border, Borderc, Txt, TxtC, Img) |
154 | + | function ws(ii) |
155 | - | local Mk = "Frame" |
155 | + | wss = ii |
156 | - | for _,v in pairs(Classes) do |
156 | + | end |
157 | - | if Class == v then |
157 | + | function c2(wexx,smmx,c0orc1,aa,bb,cc,xx,yy,zz,fu) q(function() c1(wexx,smmx,c0orc1,aa,bb,cc,xx,yy,zz,fu) end) end |
158 | - | Mk = v |
158 | + | a.Welding=0 function c1(wexx,smmx,c0orc1,aa,bb,cc,xx,yy,zz,fu) |
159 | - | end |
159 | + | if ft2(a.insw,wexx)==nil then ti(a.insw,{wexx,{}}) local tn=ft2(a.insw,wexx) |
160 | - | end |
160 | + | a.insw[tn][2]["p0x"],a.insw[tn][2]["p0y"],a.insw[tn][2]["p0z"]=wexx.C0.x,wexx.C0.y,wexx.C0.z |
161 | - | local g = Instance.new(Mk) |
161 | + | a.insw[tn][2]["p1x"],a.insw[tn][2]["p1y"],a.insw[tn][2]["p1z"]=wexx.C1.x,wexx.C1.y,wexx.C1.z |
162 | - | g.Size = Size |
162 | + | a.insw[tn][2]["a0x"],a.insw[tn][2]["a0y"],a.insw[tn][2]["a0z"]=wexx.C0:toEulerAnglesXYZ() |
163 | - | g.Position = Pos |
163 | + | 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) |
164 | - | g.BackgroundColor3 = Color |
164 | + | local xx2,yy2,zz2=0,0,0 local x2,y2,z2=0,0,0 if c0orc1==0 then |
165 | - | g.Transparency = Trans |
165 | + | 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"] |
166 | - | g.BorderSizePixel = Border |
166 | + | 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 |
167 | - | g.BorderColor3 = Borderc |
167 | + | for i=smmx,0.8,smmx do twa = 1 if c0orc1==0 then wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) elseif c0orc1==1 then |
168 | - | if Mk == "TextButton" or Mk == "TextLabel" or Mk == "TextBox" then |
168 | + | wexx.C1=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) else wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) |
169 | - | g.Text = Txt |
169 | + | wexx.C1=ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))end if fu then q(fu) end w() end |
170 | - | g.TextColor3 = TxtC |
170 | + | for i=0.8,1,smmx*0.45 do twa = 1 if c0orc1==0 then wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) elseif c0orc1==1 then |
171 | - | elseif Mk == "ImageLabel" or Mk == "ImageButton" then |
171 | + | wexx.C1=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) else wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) |
172 | - | g.Image = Img |
172 | + | wexx.C1=ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))end if fu then q(fu) end w() end |
173 | - | end |
173 | + | end |
174 | - | g.Parent = Par |
174 | + | local i=1 if c0orc1==0 then wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) elseif c0orc1==1 then wexx.C1=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) *ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) |
175 | - | return g |
175 | + | else wexx.C0=cn(x2-(((x2-aa)/twa)*i),y2-(((y2-bb)/twa)*i),z2-(((z2-cc)/twa)*i)) wexx.C1=ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) end a.Welding=a.Welding - 1 local tn=ft2(a.insw,wexx) |
176 | - | end |
176 | + | if c0orc1==0 then |
177 | - | |
177 | + | 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) |
178 | - | Gui = Me:findFirstChild("PlayerGui") |
178 | + | 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) |
179 | - | if Gui then |
179 | + | elseif c0orc1==1 then |
180 | - | for _,v in pairs(Gui:children()) do if v.Name == "Weapon GUI" then v:remove() end end |
180 | + | 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) |
181 | - | end |
181 | + | 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) |
182 | - | |
182 | + | elseif c0orc1==3 then |
183 | - | Screen = Instance.new("ScreenGui") |
183 | + | local x,y,z=wexx.C0.x,wexx.C0.y,wexx.C0.z |
184 | - | Screen.Name = "Weapon GUI" |
184 | + | 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) |
185 | - | |
185 | + | local x,y,z=wexx.C1:toEulerAnglesXYZ() |
186 | - | AmmoTable = {} |
186 | + | 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) |
187 | - | AccuracyGuis = {} |
187 | + | end end |
188 | - | lul = { |
188 | + | to["Left Hip"].Part0=to to["Right Hip"].Part0=to to["Left Shoulder"].Part0=to to["Right Shoulder"].Part0=to |
189 | - | {unit = V2(0, -1), size = V2(2, 25), offset = V2(-1, -1-25)}, |
189 | + | --"http://www.roblox.com/asset?id=67168288" |
190 | - | {unit = V2(1, 0), size = V2(25, 2), offset = V2(1, -1)}, |
190 | + | tk = true |
191 | - | {unit = V2(0, 1), size = V2(2, 25), offset = V2(-1, -1)}, |
191 | + | p={} |
192 | - | {unit = V2(-1, 0), size = V2(25, 2), offset = V2(-1-25, -1)} |
192 | + | t=pa(su,"Torso","Block",1.99,1.99,1,false,false,0,0,ts(to.BrickColor)) |
193 | - | } |
193 | + | la=pa(su,"Left Arm","Block",0,0,0,false,false,0,0,ts(c["Left Arm"].BrickColor)) law=weld(la,t,la,-1.5,1,0,0,0,0) |
194 | - | |
194 | + | ra=pa(su,"Right Arm","Block",0,0,0,false,false,0,0,ts(c["Right Arm"].BrickColor)) raw=weld(ra,t,ra,1.5,1,0,0,0,0) |
195 | - | Main = Make("Frame", Screen, UD(0, 175, 0, 20), UD(1, -185-60, 1, -30), C3(0.25, 0.25, 0.3), 0.6, 0, C3()) |
195 | + | ll=pa(su,"Left Leg","Block",0,0,0,false,false,0,0,ts(c["Left Leg"].BrickColor)) llw=weld(ll,t,ll,-0.5,-1,0,0,0,0) |
196 | - | |
196 | + | rl=pa(su,"Right Leg","Block",0,0,0,false,false,0,0,ts(c["Right Leg"].BrickColor)) rlw=weld(rl,t,rl,0.5,-1,0,0,0,0) |
197 | - | for i = 1, Ammunition.MaxAmmo, 1 do |
197 | + | local hd2 = hd:Clone() |
198 | - | local Fr = Make("Frame", Main, UD(0, 8, 0, 14), UD(1, -12*i, 0, -14-6), C3(0.25, 0.25, 0.3), 0.6, 0, C3()) |
198 | + | hd2.Parent = su |
199 | - | table.insert(AmmoTable, Fr) |
199 | + | hd2.Transparency = 0 |
200 | - | end |
200 | + | hd2.face.Face = "Front" |
201 | - | |
201 | + | hd2.Name = "FakeHead" |
202 | - | AmmoAtm = Make("TextLabel", Main, UD(0, 0, 0, 0), UD(0, 8, 0.5, 0), C3(), 0, 0, C3(), "0", C3(1, 1, 1)) |
202 | + | hd2.Mesh.MeshId="http://www.roblox.com/asset/?id=21057410" |
203 | - | AmmoAtm.BackgroundTransparency = 1 |
203 | + | hd2.Mesh.TextureId="http://www.roblox.com/asset/?id=21057378" |
204 | - | AmmoAtm.TextXAlignment = "Left" |
204 | + | hw=weld(hd2,t,hd2,0,1.5,0,0,0,0) |
205 | - | AmmoAtm.Font = "ArialBold" |
205 | + | hd.Name = "Head" hd.Parent=su hd.Transparency=1 hd.face:Remove() hw2=weld(hd,t,hd,0,1.5,0,0,0,0) |
206 | - | AmmoAtm.FontSize = "Size18" |
206 | + | tw=weld(t,to,t,0,0,0,0,0,0) |
207 | - | |
207 | + | local fhu = it("Humanoid",su) fhu.MaxHealth = 1/0 fhu.PlatformStand = true fhu.Name = "" |
208 | - | AmmoLeft = Make("TextLabel", Main, UD(0, 0, 0, 0), UD(1, -8, 0.5, 0), C3(), 0, 0, C3(), "40", C3(1, 1, 1)) |
208 | + | pcall(function() c.Shirt:Clone().Parent = su end) |
209 | - | AmmoLeft.BackgroundTransparency = 1 |
209 | + | lh = to["Left Hip"] rh = to["Right Hip"] ls = to["Left Shoulder"] rs = to["Right Shoulder"] |
210 | - | AmmoLeft.TextXAlignment = "Right" |
210 | + | lh.Part0=t rh.Part0=t ls.Part0=t rs.Part0=t |
211 | - | AmmoLeft.Font = "ArialBold" |
211 | + | law2 = it("Weld",la) raw2 = it("Weld",ra) llw2 = it("Weld",ll) rlw2 = it("Weld",rl) |
212 | - | AmmoLeft.FontSize = "Size18" |
212 | + | law2.Part0 = la raw2.Part0 = ra llw2.Part0 =ll rlw2.Part0 = rl |
213 | - | |
213 | + | law2.C0 = cn(0,-1,0) raw2.C0 = cn(0,-1,0) llw2.C0 = cn(0,-1,0) rlw2.C0 = cn(0,-1,0) |
214 | - | ReloadGui = Make("TextLabel", Main, UD(0, 0, 0, 0), UD(1, -12, 0, -40), C3(), 1, 0, C3(), "RELOAD", C3(1, 0.25, 0.1)) |
214 | + | la.Transparency=1 ra.Transparency=1 ll.Transparency=1 rl.Transparency=1 |
215 | - | ReloadGui.TextXAlignment = "Right" |
215 | + | c["Left Arm"].Transparency = 0 c["Right Arm"].Transparency = 0 |
216 | - | ReloadGui.Font = "ArialBold" |
216 | + | c["Left Leg"].Transparency = 0 c["Right Leg"].Transparency = 0 |
217 | - | ReloadGui.FontSize = "Size24" |
217 | + | Armb=true Armb2=true |
218 | - | |
218 | + | Legb=true Legb2=true |
219 | - | for _, prop in pairs(lul) do |
219 | + | function Armz(ison) Armb=ison if ison then |
220 | - | local g = Make("Frame", Screen, UD(0, prop.size.x, 0, prop.size.y), UD(0.5, prop.offset.x, 0.5, prop.offset.y), C3(0.8, 0.8, 0.9), 1, 0, C3()) |
220 | + | law.Part0=c["Left Arm"] law.C0=cn(-1.5,1,0) raw.Part0=c["Right Arm"] raw.C0=cn(1.5,1,0) |
221 | - | table.insert(AccuracyGuis, {Gui = g, props = prop}) |
221 | + | ls.Part1 = c["Left Arm"] rs.Part1 = c["Right Arm"] law2.Part1 = la raw2.Part1 = ra |
222 | - | end |
222 | + | else |
223 | - | |
223 | + | law2.Part0 = la law2.Part1 = c["Left Arm"] raw2.Part0 = ra raw2.Part1 = c["Right Arm"] |
224 | - | Screen.Parent = Gui |
224 | + | ls.Part1 = t rs.Part1 = t law.Part0=t law.C0=cn(-1.5,1,0) raw.Part0=t raw.C0=cn(1.5,1,0) |
225 | - | |
225 | + | end end |
226 | - | local Offset = 0.1 |
226 | + | function Legz(ison) Legb=ison if ison then |
227 | - | local Thing = 1 |
227 | + | llw.Part0=c["Left Leg"] llw.C0=cn(-0.5,-1,0) rlw.Part0=c["Right Leg"] rlw.C0=cn(0.5,-1,0) |
228 | - | local Speed1 = 0.1 |
228 | + | lh.Part1 = c["Left Leg"] rh.Part1 = c["Right Leg"] llw2.Part1 = ll rlw2.Part1 = rl |
229 | - | local Speed2 = 0 |
229 | + | else |
230 | - | local TempAcc = 0 |
230 | + | llw2.Part0 = ll llw2.Part1 = c["Left Leg"] rlw2.Part0 = rl rlw2.Part1 = c["Right Leg"] |
231 | - | local AccTimesMax = 17 |
231 | + | lh.Part1 = t rh.Part1 = t llw.Part0=t llw.C0=cn(-0.5,-1,0) rlw.Part0=t rlw.C0=cn(0.5,-1,0) |
232 | - | local AccTime = 1.25 |
232 | + | end end function Headz(ison) if ison then he.Transparency=0 else end end |
233 | - | local AccTimes = AccTimesMax |
233 | + | Armz(true) Legz(true) --newhats(c,hd2,he) |
234 | - | local AccOn = false |
234 | + | hax2sazc = "SND" |
235 | - | function AddInaccuracy(Acc) |
235 | + | function Sound(sidz,pit,vol,parz) local sid=sidz if sid:sub(1,3) ~= "rbx" then sid = asset .. sid end local parx = to if parz then parx = parz end q(function() local sou = it("Sound") sou.SoundId = sid sou.Pitch = pit sou.Volume = vol/1.5 sou.Parent = parx game:service'Lighting'[hax2sazc].Value = sou w(5) sou:Remove'' end) end |
236 | - | TempAcc = Acc |
236 | + | Sound("Your_F*cking_Name_here",1,1,he) |
237 | - | end |
237 | + | function SplashDmg(tehsit,pos,dmgx,mag,forc,fu) q(function() |
238 | - | Notime(function() |
238 | + | 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 |
239 | - | while true do |
239 | + | if not v:IsA("Model") and v ~= to and v:IsA("BasePart") and v.Name=="Torso" and getclass(v.Parent,"Humanoid") ~= nil and (v.Position - pos).magnitude < mag then local av=getclass(v.Parent,"Humanoid") Dmgz(true,av,dmgx,v,fu) if tehsit then av.Sit=true end |
240 | - | ReNew() |
240 | + | --elseif v:IsA("BasePart") and (v.Position-pos).magnitude < mag and not v.Anchored and v:GetMass() < 200 and v.Name ~= "Handle" and findclass(v.Parent,"Humanoid") <1 and findclass(v.Parent.Parent,"Humanoid") <1 and v.Parent.Parent.Name ~= "Suit" then if (v.Position-pos).magnitude < mag/2 then v:BreakJoints() v.CFrame=cn(v.Position,pos)*ca(0,rd(180),0) end v.Velocity=cn(pos,v.Position).lookVector*forc |
241 | - | AmmoAtm.Text = Ammunition.Ammo |
241 | + | else q(function() if #v:children() > 0 and not v:IsA("BasePart") and v.className~="Script" and v.className~="Camera" then dive(v) end end) end |
242 | - | AmmoLeft.Text = Ammunition.Ammoleft |
242 | + | end end -- func and loop end |
243 | - | for i,v in pairs(AmmoTable) do |
243 | + | dive(workspace) dive(workspace.CurrentCamera) end) end |
244 | - | v.Transparency = 1 |
244 | + | for i,v in pairs(c:children()) do if v.Name == su.Name and v ~= su then v:Remove() end end |
245 | - | end |
245 | + | function BlastMesh(col2,pos,adjus2,sc) local adjus=adjus2 *cn(0,-0.12*sc,0) local spi=pa(m,"","Block",0,0,0,false,false,1,0,col2) spi.Anchored=true local spim=it("SpecialMesh",spi) spim.MeshType="FileMesh" spim.MeshId=Decs.Crown spim.Scale=v3(sc*1.4,(sc*0.4),sc*1.4) q(function() local fu=spim.Scale local spix=0 for i=1,0.4,-0.05 do spix=spix + 15 spi.Transparency=i spim.Scale=v3(((fu.x*i)/2)+(fu.x/2),fu.y,((fu.z*i)/2)+(fu.z/2)) spi.CFrame=pos.CFrame *adjus *ca(0,rd(spix),0) w() end for i=0.4,1,0.05 do spix=spix + 15 spi.Transparency=i spim.Scale=v3(fu.x*i,fu.y,fu.z*i) spi.CFrame=pos.CFrame *adjus *ca(0,rd(spix),0) w() end spi:Remove'' end) end |
246 | - | for i = 1, Ammunition.Ammo do |
246 | + | function GlowMesh(anch,meshid2,rootz,mv3,colzz,adjus,l1,l2,l3) q(function() |
247 | - | AmmoTable[i].Transparency = 0.6 |
247 | + | local spi=pa(c,"","Block",1,1,1,false,false,l1,0,colzz) local spim=it("SpecialMesh",spi) if meshid2:lower()=="sphere" then spim.MeshType="Sphere" elseif meshid2:lower()=="block" then spim.MeshType="Brick" else spim.MeshType="FileMesh" spim.MeshId=meshid2 end |
248 | - | end |
248 | + | if anch then local spiw=weld(spi,rootz,spi,0,0,0,0,0,0) spiw.C0 =spiw.C0 *adjus else spi.Anchored=true spi.CFrame=adjus end |
249 | - | if Ammunition.Ammo <= Ammunition.MaxAmmo/4 then ReloadFlash = true else ReloadFlash = false end |
249 | + | for i=l1,l2,l1 do spi.Transparency=i spim.Scale=mv3*(i+0.3) w() end spi:Remove'' end) |
250 | - | local Speed = Torso.Velocity.magnitude |
250 | + | end |
251 | - | Offset = 0 |
251 | + | function Explode(onb,scz,colzz,dmge) q(function() local scale=scz*2 local scale2=scale*0.825 |
252 | - | if Speed > 1 then |
252 | + | local e1=pa(c,"","Block",0,0,0,false,false,0.3,0,colzz) e1.Anchored=true e1.CFrame=onb*ca(rd(-90),0,0) local e1m=it("SpecialMesh",e1) e1m.MeshType="FileMesh" e1m.MeshId=Decs.Ring |
253 | - | Speed1 = Speed |
253 | + | local e2=pa(c,"","Block",0,0,0,false,false,0.3,0,colzz) e2.Anchored=true e2.CFrame=onb*ca(0,0,0) local e2m=it("SpecialMesh",e2) e2m.MeshType="FileMesh" e2m.MeshId=Decs.Ring |
254 | - | Thing = Thing*1.2 |
254 | + | local e3=pa(c,"","Block",0,0,0,false,false,0.3,0,colzz) e3.Anchored=true e3.CFrame=onb*ca(0,0,0) local e3m=it("SpecialMesh",e3) e3m.MeshType="FileMesh" e3m.MeshId=Decs.Crown |
255 | - | else |
255 | + | SplashDmg(false,onb.p,dmge,scale/1.6,125) q(function() for i=0.4,1,0.04 do w() end fade(e1,0.1) fade(e2,0.1) fade(e3,0.1) end) for i=0.3,1,0.035 do |
256 | - | Speed2 = Speed |
256 | + | 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() |
257 | - | local lol = 1.4 |
257 | + | end |
258 | - | if AccOn then lol = AccTime end |
258 | + | end) end |
259 | - | Thing = Thing/lol |
259 | + | function splat2(pos,dmge) |
260 | - | end |
260 | + | local dbr=it("Model",workspace) local colz2="Bright red" if ts(dmge)=="Block!" then colz2="Bright blue" end |
261 | - | if TempAcc ~= 0 then |
261 | + | dbr.Name=ts(dmge) local dbri=pa(dbr,"Head","Block",1,0,1,false,false,0,0,colz2) it("Humanoid",dbr).MaxHealth=0 |
262 | - | Speed1 = TempAcc |
262 | + | dbri.Anchored=true dbri.CFrame=cn(pos + v3(rn(-15,15)/10,3,rn(-15,15)/10)) game:service'Debris':AddItem(dbr,0.5) end |
263 | - | Thing = TempAcc/2 |
263 | + | local DBDH={} |
264 | - | AccOn = true |
264 | + | function Dmgz(blockz,aihu,dmgzz2,pos,fuu) if ft(DBDH,aihu.Parent) or aihu == hu then return end if aihu.Health==0 then return end if aihu.Parent:findFirstChild("ForceField") then return end dmgdeb2=true q(function() if (aihu.Parent:findFirstChild("Block") and aihu.Parent.Block:IsA("BoolValue") and aihu.Parent.Block.Value and not blockz) or pos.Name:lower()=="shield" then splat2(pos.Position,"Bl" .. "ock!") w(0.2) Sound(Sounds.Block,1.4,3) return end |
265 | - | if TempAcc ~= 0 then |
265 | + | local dmgzz=dmgzz2 if game:service'Players':findFirstChild(aihu.Parent.Name) and not tk then return end if game:service'Players':findFirstChild(aihu.Parent.Name) == nil then dmgzz=dmgzz*1.75 end ti(DBDH,aihu.Parent) if rn(1,a.cr[1]) == 1 then aihu.Health=aihu.Health-dmgzz*a.cr[2] dmgzz="Crit! " ..ts(dmgzz*a.cr[2]) else q(function() fuu(aihu.Parent) end) aihu.Health=aihu.Health-dmgzz end if not pos then return end splat2(pos.Position,dmgzz) q(function() w(0.08) tr(DBDH,ft(DBDH,aihu.Parent)) end) |
266 | - | AccTimes = AccTimes - 1 |
266 | + | end) end |
267 | - | if AccTimes < 1 then AccTimes = AccTimesMax Notime(function() wait(0.4) AccOn = false end) TempAcc = 0 end |
267 | + | function rayHit(wai,lolk,weplol,adjus,magz,tim) local DebounceTable2={} q(function() |
268 | - | end |
268 | + | local hitx=0 local tymzup=false q(function() w(wai) tymzup=true end) |
269 | - | end |
269 | + | repeat w() local tries=0 local bhit,bpos=nil,v3(999,999,999) |
270 | - | if Thing < 1 then Thing = 1 elseif Thing > 14 then Thing = 14 end |
270 | + | 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 |
271 | - | Offset = Accuracy.Minimum + ((Speed1 - Speed1/Thing)/(Speed1 - Speed1/14))*Accuracy.Maximum |
271 | + | bhit,bpos=ray((weplol.CFrame *adjus *cn(xx,yy,-0.8)).p,weplol.Position - (weplol.CFrame *adjus *cn(0,0,2)).p) |
272 | - | Accuracy.Momentum = Offset |
272 | + | if bhit ~= nil and (bpos - weplol.Position).magnitude < magz+0.8 then break end until tries > 8 |
273 | - | wait() |
273 | + | if bhit==nil or (bpos - weplol.Position).magnitude > magz+0.8 then else local brea=false |
274 | - | end |
274 | + | for i,v in pairs(bhit.Parent:children()) do local dmge=rn(d[1],d[2])*tim |
275 | - | end) |
275 | + | 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 |
276 | - | |
276 | + | if bhit.Parent ~= workspace and not brea then for i,v in pairs(bhit.Parent.Parent:children()) do local dmge=rn(d[1],d[2])*tim |
277 | - | Notime(function() |
277 | + | 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 |
278 | - | while true do |
278 | + | end |
279 | - | if ReloadFlash then |
279 | + | end until hitx >= lolk or tymzup end) end |
280 | - | if ReloadOn then |
280 | + | function GetRegion(p0,p1,f,f2) q(function() |
281 | - | ReloadOn = false |
281 | + | for i,v in pairs(workspace:FindPartsInRegion3(Region3.new(p0,p1),c,100) ) do if v.Parent:findFirstChild("Humanoid") and v.Parent.Humanoid.Health > 0 and v.Parent:findFirstChild("Torso") then q(function() f(v.Parent) end) elseif f2 and v.Parent.Parent:findFirstChild("Humanoid") == nil then f2(v) end end |
282 | - | ReloadGui.Transparency = 1 |
282 | + | end) end |
283 | - | else |
283 | + | function FindGround(pos) local ax,ay,az = pos:toEulerAnglesXYZ() |
284 | - | ReloadOn = true |
284 | + | local bhit,bpos=ray(pos.p,pos.p - (pos.p + v3(0,200,0))) |
285 | - | ReloadGui.Transparency = 0 |
285 | + | if bhit and bpos then return cn(bpos)*ca(ax,ay,az) end return nil end |
286 | - | end |
286 | + | function MakeCrater(pos,sc,tyms,debz) q(function() if not debz then debz = 5 end |
287 | - | else |
287 | + | local bhit,bpos=ray(pos,pos - (pos + v3(0,200,0))) |
288 | - | ReloadGui.Transparency = 1 |
288 | + | if bhit and bpos then |
289 | - | end |
289 | + | for i=1,tyms do q(function() |
290 | - | wait(0.4) |
290 | + | local gr = pa(su,"","Block",rn(5,13)/10*sc,0.25*sc,rn(4,10)/10*sc,true,true,bhit.Transparency,bhit.Reflectance,bhit.BrickColor.Name) gr.Material = bhit.Material gr.TopSurface = bhit.TopSurface |
291 | - | end |
291 | + | gr.CFrame = cn(bpos+v3(rn(-12,12)/10*sc,0,rn(-12,12)/10*sc))*ca(rd(rn(-40,40)),rd(rn(-360,360)),rd(rn(-40,40))) wait(debz) fade(gr,0.1) |
292 | - | end) |
292 | + | end) end |
293 | - | |
293 | + | end |
294 | - | |
294 | + | end) |
295 | - | Add = { |
295 | + | end |
296 | - | Head = function(P, Scale) |
296 | + | function ForceBrick(v,rootpos,force) q(function() if v:GetMass() > 100 or v.Anchored or getclass(v,"Weld") then return end |
297 | - | local m = Instance.new("SpecialMesh") |
297 | + | v:BreakJoints() v.Velocity = cn(rootpos,v.Position).lookVector*force |
298 | - | m.MeshType = "Head" |
298 | + | end) end |
299 | - | m.Scale = Scale or V3(1, 1, 1) |
299 | + | function FireObj(v,tcf2,adj,spi,tym,rang,fu,glo) q(function() -- obj,cf,adj,spid,tyms,rang,func,glo |
300 | - | m.Parent = P |
300 | + | local tcf = tcf2 for i=1,tym do |
301 | - | return m |
301 | + | bhit,bpos=ray(tcf.p,tcf.p - (tcf *cn(0,0,-1)).p) |
302 | - | end, |
302 | + | if bhit and (bpos - tcf.p).magnitude < rang then break end |
303 | - | Sphere = function(P, Scale) |
303 | + | tcf=tcf*cn(0,0,spi) v.CFrame=tcf*adj |
304 | - | local m = Instance.new("SpecialMesh") |
304 | + | wait() end |
305 | - | m.MeshType = "Sphere" |
305 | + | if glo then GlowMesh(false,"Sphere",t,v3(glo,glo,glo),'Navy blue',cn(bpos),0.1,1,0.08) end |
306 | - | m.Scale = Scale or V3(1, 1, 1) |
306 | + | if fu and bhit then fu(bhit) else wait(rn(0,20)/10) fade(v,0.1) end |
307 | - | m.Parent = P |
307 | + | end) end |
308 | - | return m |
308 | + | function ProjHit1(v,hit,mul2) local mul = mul2 q(function() if not mul2 then mul = 1 end if not hit.Anchored then |
309 | - | end, |
309 | + | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then Dmgz(false,hit.Parent.Humanoid,rn(d[1],d[2])*mul,hit.Parent.Torso) end |
310 | - | Wedge = function(P, Scale) |
310 | + | v.Anchored = false stick(hit,v) |
311 | - | local m = Instance.new("SpecialMesh") |
311 | + | wait(1) end wait(rn(10,25)/10) fade(v,0.1) end) end |
312 | - | m.MeshType = "Wedge" |
312 | + | --Dio's functions |
313 | - | m.Scale = Scale or V3(1, 1, 1) |
313 | + | function SpawnSword(pos,sc,dmg,col) if pos == nil then return end q(function() MakeCrater(pos.p+v3(0,2,0),3,3,3) |
314 | - | m.Parent = P |
314 | + | GlowMesh(false,"Sphere",t,v3(7*sc,1.5*sc,7*sc),col,pos,0.1,1,0.05) |
315 | - | return m |
315 | + | local pro = pa(su,"","Block",2*sc,2*sc,7*sc,true,true,0.3,0,"") local prom = qi({"SpecialMesh",pro,Scale=v3(3*sc,2*sc,4*sc),VertexColor=v3(0,0,1),MeshType="FileMesh",MeshId=Decs.RedCliff,TextureId=Decs.RedCliffT}) |
316 | - | end, |
316 | + | pro.CFrame = pos*ca(rd(-25),0,0)*cn(0,-3*sc,0) local cff = pro.CFrame for i=0.1,1,0.15 do pro.CFrame=cff*cn(0,6*sc*i,0)*ca(rd(-90),0,0)*ca(0,0,rd(90)) wait() end |
317 | - | Block = function(P, Scale, Bevel) |
317 | + | local rr = sc*1.5 GetRegion(pro.Position-v3(rr,rr,rr),pro.Position+v3(rr,rr,rr),function(v) v.Humanoid.PlatformStand = true local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(pro.Position,v.Torso.Position+v3(0,20,0)).lookVector*40}) Dmgz(false,v.Humanoid,rn(d[1],d[2]),v.Torso) wait(0.15) bpp:Remove() v.Humanoid.PlatformStand = false end) wait(1) for i=1,0,-0.15 do pro.CFrame=cff*cn(0,6*sc*i,0)*ca(rd(-90),0,0)*ca(0,0,rd(90)) wait() end pro:Remove() end) |
318 | - | local m = Instance.new("BlockMesh") |
318 | + | end local bped = {} |
319 | - | m.Bevel = Bevel |
319 | + | function SpikeSucker(pos,sc) |
320 | - | m.Scale = Scale or V3(1,1,1) |
320 | + | local bal = pa(c,"","Ball",4*sc,4*sc,4*sc,false,true,0.16,0,"White") bal.CFrame = pos |
321 | - | m.Parent = P |
321 | + | local spi = pa(c,"","Ball",0,0,0,false,true,0.16,0,"White") spi.CFrame = bal.CFrame local spm = qi({"SpecialMesh",spi,MeshType="FileMesh",MeshId=Decs.SpikeBall}) |
322 | - | return m |
322 | + | local dia = pa(bal,"","Block",0,0,0,false,true,0.3,0,"Really red") qi({"SpecialMesh",dia,Scale=v3(1*sc,2*sc,1*sc),MeshType="FileMesh",MeshId=Decs.Diamond}) |
323 | - | end |
323 | + | local dia2 = dia:Clone() dia2.Parent = bal local dia3 = dia:Clone() dia3.Parent = bal local tms = 0 local rr=10*sc for x=1,4 do |
324 | - | } |
324 | + | for i=0,1,0.1 do tms = tms + 1 |
325 | - | |
325 | + | spm.Scale = v3(i,i,i)*1.7 spi.CFrame=spi.CFrame*ca(rd(4),rd(4),rd(4)) dia.CFrame = bal.CFrame*ca(rd(tms*5),0,0)*cn(0,6*sc,0) dia2.CFrame = bal.CFrame*ca(0,0,rd(tms*5))*cn(0,6*sc,0) dia3.CFrame = bal.CFrame*ca(0,rd(tms*5),0)*cn(0,0,6*sc)*ca(rd(90),0,0) |
326 | - | for _,v in pairs(Sounds) do |
326 | + | if tms%3==0 then GetRegion(bal.Position-v3(rr,rr,rr),bal.Position+v3(rr,rr,rr),function(v) Dmgz(false,v.Humanoid,rn(1,3),v.Torso) if v.Torso:findFirstChild("SBP") == nil then ti(bped,v) qi({"BodyPosition",v.Torso,Name="SBP",D=6000,maxForce=v3(200000,200000,200000),position=bal.Position}) end end) end |
327 | - | ContentProvider:Preload(v.Id) |
327 | + | wait() |
328 | - | end |
328 | + | end |
329 | - | |
329 | + | for i=1,0,-0.1 do tms = tms + 1 |
330 | - | function PlaySound(Sound, bool) |
330 | + | spm.Scale = v3(i,i,i)*1.7 spi.CFrame=spi.CFrame*ca(rd(4),rd(4),rd(4)) dia.CFrame = bal.CFrame*ca(rd(tms*5),0,0)*cn(0,6*sc,0) dia2.CFrame = bal.CFrame*ca(0,0,rd(tms*5))*cn(0,6*sc,0) dia3.CFrame = bal.CFrame*ca(0,rd(tms*5),0)*cn(0,0,6*sc)*ca(rd(90),0,0) |
331 | - | Pitch = Sound.Pitch |
331 | + | if tms%3==0 then GetRegion(bal.Position-v3(rr,rr,rr),bal.Position+v3(rr,rr,rr),function(v) Dmgz(false,v.Humanoid,rn(1,3),v.Torso) if v.Torso:findFirstChild("SBP") == nil then ti(bped,v) qi({"BodyPosition",v.Torso,Name="SBP",D=6000,maxForce=v3(200000,200000,200000),position=bal.Position}) end end) end |
332 | - | if bool then |
332 | + | wait() |
333 | - | Pitch = MRA((Sound.Pitch*0.75)*1000, (Sound.Pitch*1.15)*1000)/1000 |
333 | + | end |
334 | - | end |
334 | + | for i,v in pairs(bped) do q(function() for i,vv in pairs(v.Torso:children()) do if vv.Name == "SBP" then vv:Remove() end end end) end |
335 | - | local a = Instance.new("Sound") |
335 | + | end |
336 | - | a.SoundId = Sound.Id |
336 | + | q(function() fade(dia,0.2) fade(dia2,0.2) fade(dia3,0.2) for i=0.1,1,0.1 do spi.Transparency = i spm.Scale = spm.Scale*1.1 bal.Transparency = i bal.Size = bal.Size*1.1 bal.CFrame = pos wait() end spi:Remove() bal:Remove() end) |
337 | - | a.Volume = Sound.Volume |
337 | + | end |
338 | - | a.Pitch = Pitch |
338 | + | function Blackspace(pos,tms,dmg) |
339 | - | a.Name = "FX" |
339 | + | local bal = pa(c,"","Ball",52,52,52,false,true,1,0,"Really black") bal.CFrame = pos |
340 | - | a.Parent = Torso |
340 | + | for i=1,0.5,-0.1 do bal.Transparency =i wait() end |
341 | - | a:play() |
341 | + | for i=1,tms do local o = 25 |
342 | - | Notime(function() |
342 | + | Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(25,0,0).p,4,2.5,"Institutional white",0.3,0) |
343 | - | wait(1) |
343 | + | Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(-25,0,0).p,4,2.5,"Institutional white",0.3,0) |
344 | - | a:remove() |
344 | + | Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(0,25,0).p,4,2.5,"Institutional white",0.3,0) |
345 | - | end) |
345 | + | Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(0,-25,0).p,4,2.5,"Institutional white",0.3,0) |
346 | - | end |
346 | + | Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(0,0,25).p,4,2.5,"Institutional white",0.3,0) |
347 | - | |
347 | + | Lightning(pos.p,pos*ca(rd(i*o),rd(i*o),rd(i*o))*cn(0,0,-25).p,4,2.5,"Institutional white",0.3,0) |
348 | - | function GetParts(pos, dist) |
348 | + | local rr = 25 if i%4==0 then GetRegion(pos.p-v3(rr,rr,rr),pos.p+v3(rr,rr,rr),function(v) Dmgz(false,v.Humanoid,rn(3,5),v.Torso) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(bal.Position,v.Torso.Position).lookVector*10}) wait(0.1) bpp:Remove() end) end |
349 | - | local parts = {} |
349 | + | wait(0.05) |
350 | - | local function o(p) |
350 | + | end |
351 | - | for _,v in pairs(p:children()) do |
351 | + | for i=0.5,1,0.1 do bal.Transparency =i wait() end bal:Remove() |
352 | - | if v:IsA("BasePart") then |
352 | + | end |
353 | - | if (pos - v.Position).magnitude <= dist then |
353 | + | function MatterBall(pos,sc,spid,tyms,dmgmul) q(function() |
354 | - | table.insert(parts, {v, (pos - v.Position).magnitude, v.Anchored}) |
354 | + | local cor = db1:Clone() cor.Mesh.Scale=v3(sc,sc,sc)*5 local cor2 = db2:Clone() cor2.Mesh.Scale = cor.Mesh.Scale*1.55 qi({"Fire",cor,Color=bc('Navy blue').Color,SecondaryColor=bc('Navy blue').Color,Size=sc*3.5,Heat=0}) |
355 | - | end |
355 | + | cor.Transparency = 0.05 cor.Anchored = true cor2.Anchored = true cor2.Transparency = 0.4 cor.Parent = su cor2.Parent = cor cor.CFrame = pos |
356 | - | end |
356 | + | local corms = cor.Mesh.Scale local cor2ms = cor2.Mesh.Scale for i=1,tyms do local lolvt = {-2*sc,2*sc} |
357 | - | o(v) |
357 | + | local lolv3 = v3(0,0,0) local lolrn = rn(1,3) if lolrn == 1 then lolv3=v3(lolvt[rn(1,2)],0,0) elseif lolrn == 2 then lolv3=v3(0,lolvt[rn(1,2)],0) elseif lolrn == 3 then lolv3=v3(0,0,lolvt[rn(1,2)]) end cor.Mesh.Scale=corms+lolv3 cor2.Mesh.Scale=cor2ms+lolv3 |
358 | - | end |
358 | + | cor.CFrame = pos*cn(0,0,-spid*i) |
359 | - | end |
359 | + | local bhit,bpos=ray(cor.Position,cor.Position - (cor.CFrame *cn(0,0,1)).p) |
360 | - | o(workspace) |
360 | + | if bhit and (bpos - cor.Position).magnitude < (spid*1.1) then break end |
361 | - | return parts |
361 | + | cor.CFrame=cor.CFrame*ca(rd(rn(-360,360)),rd(rn(-360,360)),rd(rn(-360,360))) cor2.CFrame = cor.CFrame |
362 | - | end |
362 | + | local lolpos = FindGround(cor.CFrame) if lolpos and i%rn(2,3)==0 then GlowMesh(false,Decs.Crown,t,v3(2.6*sc,0.8*sc,2.6*sc),'Navy blue',cn(lolpos.p+v3(0,0.15*sc,0)),0.1,1,0.05) end |
363 | - | |
363 | + | wait() end cor.Fire:Remove() |
364 | - | function GetHum(P) |
364 | + | q(function() |
365 | - | for _,v in pairs(P:children()) do |
365 | + | local n1 = pa(su,"","Block",0,0,0,true,true,0.3,0,"White") qi({"SpecialMesh",n1,Scale=v3(3.5,3.5,8),MeshType="FileMesh",MeshId=Decs.Chakram}) |
366 | - | if v:IsA("Humanoid") then |
366 | + | local n2 = n1:Clone() n2.Parent = su n1.CFrame = cor.CFrame*ca(0,rd(-45),0) n2.CFrame = cor.CFrame*ca(0,rd(45),0) |
367 | - | if v.Health > 0 then |
367 | + | for i=1,8 do n1.Mesh.Scale = n1.Mesh.Scale+v3(0.3*sc,0.3*sc,0.35*sc) n2.Mesh.Scale = n1.Mesh.Scale cor.Transparency = cor.Transparency + 0.12 n1.Transparency = cor.Transparency n2.Transparency = n1.Transparency cor2.Transparency = cor2.Transparency + 0.1 cor.Mesh.Scale = cor.Mesh.Scale+v3(2.3*sc,2.3*sc,2.3*sc) cor2.Mesh.Scale = cor.Mesh.Scale*1.55 wait() end n1:Remove() n2:Remove() cor:Remove() cor2:Remove() end) |
368 | - | return v |
368 | + | local rr = sc GetRegion(cor.Position-v3(rr,rr,rr),cor.Position+v3(rr,rr,rr),function(v) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(cor.Position,v.Torso.Position+v3(0,2,0)).lookVector*60}) Dmgz(false,v.Humanoid,rn(d[1],d[2])*dmgmul,v.Torso) wait(0.12) bpp:Remove() end) |
369 | - | end |
369 | + | end) end |
370 | - | end |
370 | + | function FistBoom(pos,sc,dmg,TYMZEH) q(function() |
371 | - | end |
371 | + | local rip = pa(su,"","Block",1,1,1,false,true,0.2,0,"White") local ripm = qi({"SpecialMesh",rip,MeshType="Sphere"}) |
372 | - | end |
372 | + | rip.CFrame = pos*cn(-4*sc/2,4*sc/2,0)*ca(0,0,rd(45)) |
373 | - | |
373 | + | for i=1,3.5,0.5 do rip.Size=v3(1,i*2,1) rip.CFrame = pos*cn((-4+i)*sc,(4-i)*sc,0)*ca(0,0,rd(45)) wait() end |
374 | - | function GetGroup(Pos, Distance, Hit) |
374 | + | for i=1,3.5,0.25 do rip.Size=v3(i*2,7,1) rip.CFrame = pos*ca(0,0,rd(45)) wait() end |
375 | - | local tab = {} |
375 | + | local fis = pa(su,"","Block",0,0,0,false,true,0.2,0,"White") local fism = qi({"SpecialMesh",fis,Scale=v3(8*sc,8*sc,8*sc),MeshType="FileMesh",MeshId=Decs.Fist}) |
376 | - | for _,v in pairs(workspace:children()) do |
376 | + | for i=0.5,5.5,1 do fism.Scale = v3(8*sc,((8*sc)/5.5)*i,8*sc) fis.CFrame = pos*cn(0,0,-i*sc)*ca(rd(-90),rd(-90),0) wait() end |
377 | - | local h = GetHum(v) |
377 | + | fism.Scale = fism.Scale+v3(1*sc,1*sc,1*sc) fis.CFrame = pos*cn(0,5*sc,-5*sc)*ca(rd(45),0,0)*ca(rd(-90),rd(-90),0) rip.CFrame=pos*ca(rd(45),0,0) qi({"Fire",fis,Heat=-25,Size=15,Color=bc('Navy blue').Color,SecondaryColor=bc('Navy blue').Color}) |
378 | - | local t = v:findFirstChild("Torso") |
378 | + | local arm = pa(su,"","Block",1,1,1,false,true,0.2,0,"Really green") local armm = it('CylinderMesh',arm) |
379 | - | if h and t and v ~= Hit.Parent then |
379 | + | arm.CFrame = cn(rip.Position,fis.CFrame*cn(0,-5.5,0).p)*cn(0,0,-(rip.Position-fis.CFrame*cn(0,-5.5,0).p).magnitude/2-0.5)*ca(rd(90),0,0) armm.Scale = v3(4*sc,(rip.Position-fis.CFrame*cn(0,-5.5,0).p).magnitude+1,4*sc) |
380 | - | if (t.Position - Pos).magnitude <= Distance then |
380 | + | for i=1,7 do fis.CFrame=fis.CFrame*cn(0,TYMZEH/7,0) |
381 | - | table.insert(tab, {h, v, (t.Position - Pos).magnitude}) |
381 | + | arm.CFrame = cn(rip.Position,fis.CFrame*cn(0,-5.5,0).p)*cn(0,0,-(rip.Position-fis.CFrame*cn(0,-5.5,0).p).magnitude/2-0.5)*ca(rd(90),0,0) armm.Scale = v3(4*sc,(rip.Position-fis.CFrame*cn(0,-5.5,0).p).magnitude+1,4*sc) |
382 | - | end |
382 | + | wait() end local armag = (rip.Position-fis.CFrame*cn(0,-5.5,0).p).magnitude+1 |
383 | - | end |
383 | + | for x=45,0,-5 do |
384 | - | end |
384 | + | rip.CFrame = pos*ca(rd(x+180),0,0) fis.CFrame=rip.CFrame*cn(0,0,(armag-1)+(5.5*sc))*ca(rd(90),rd(-90),0) |
385 | - | if Hit then |
385 | + | arm.CFrame = rip.CFrame*cn(0,0,((armag-1)/2)+0.5)*ca(rd(90),0,0) |
386 | - | local h = GetHum(Hit.Parent) |
386 | + | wait() |
387 | - | if h then |
387 | + | end |
388 | - | table.insert(tab, {h, Hit.Parent, 0}) |
388 | + | q(function() local cfz = {rip.CFrame,arm.CFrame,fis.CFrame} for i=1,15 do local lolv3=v3(rn(-1*sc,1*sc),rn(-1*sc,1*sc),rn(-1*sc,1*sc)) rip.CFrame=cfz[1]+lolv3 fis.CFrame=cfz[3]+lolv3 arm.CFrame=cfz[2]+lolv3 wait() end |
389 | - | end |
389 | + | for i=armag,0,-armag/15 do armm.Scale =v3(4,i,4) fis.CFrame=rip.CFrame*cn(0,0,(i)+(5.5*sc))*ca(rd(90),rd(-90),0) arm.CFrame = rip.CFrame*cn(0,0,((i-1)/2)+0.5)*ca(rd(90),0,0) wait() end arm:Remove() |
390 | - | end |
390 | + | for i=5.5,0.5,-1 do fism.Scale = v3(8*sc,((8*sc)/5.5)*i,8*sc) fis.CFrame = pos*cn(0,0,-i*sc)*ca(rd(-90),rd(-90),0) wait() end fis:Remove() |
391 | - | return tab |
391 | + | for i=0.2,1,0.1 do ripm.Scale = ripm.Scale+v3(0.2*sc,0.2*sc,0.2*sc) rip.Transparency = i wait() end rip:Remove() end) |
392 | - | end |
392 | + | local rr = 6.5*sc GetRegion(fis.Position-v3(rr,rr,rr),fis.Position+v3(rr,rr,rr),function(v) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(fis.Position-v3(0,1*sc,0),v.Torso.Position+v3(0,2,0)).lookVector*75}) Dmgz(false,v.Humanoid,rn(d[1]*2,d[2]*2.5),v.Torso) wait(0.15) bpp:Remove() end,function(v) ForceBrick(v,fis.Position,100) end) |
393 | - | |
393 | + | MakeCrater(fis.Position+v3(0,2,0),5,7,10) |
394 | - | function Part(Par, Anc, Colli, Tran, Ref, Col, Siz) |
394 | + | end) end |
395 | - | local p = Instance.new("Part") |
395 | + | WormDrill = function(target,sca) q(function() local spiran = rn(-360,360) local slope = {} |
396 | - | p.formFactor = "Custom" |
396 | + | for i=90,-270,-10 do table.insert(slope,cn(target.p)*ca(0,rd(spiran),0)*cn(0,0,30*sca)*ca(rd(i),0,0)*cn(0,0,30*sca)) end |
397 | - | p.TopSurface = 0 |
397 | + | local mm = it('Model',su) local tr = 0.15 |
398 | - | p.BottomSurface = 0 |
398 | + | local worm0 = pa(mm,"","Block",0,60,0,true,true,tr,0,"White") qi({"SpecialMesh",worm0,Scale=v3(9*sca,12*sca,9*sca),MeshType="FileMesh",MeshId="http://www.roblox.com/asset/?id=12137531"}) |
399 | - | p.Transparency = Tran |
399 | + | local worm1 = pa(mm,"","Block",10*sca,6*sca,10*sca,true,true,tr,0,"White") it('CylinderMesh',worm1) |
400 | - | p.Reflectance = Ref |
400 | + | local worm2 = pa(mm,"","Block",9.5*sca,6*sca,9.5*sca,true,true,tr,0,"White") it('CylinderMesh',worm2) |
401 | - | p.Anchored = Anc |
401 | + | local worm3 = pa(mm,"","Block",9*sca,6*sca,9*sca,true,true,tr,0,"White") it('CylinderMesh',worm3) |
402 | - | p.CanCollide = Colli |
402 | + | local worm4 = pa(mm,"","Block",8.5*sca,6*sca,8.5*sca,true,true,tr,0,"White") it('CylinderMesh',worm4) |
403 | - | p.BrickColor = Col |
403 | + | local worm5 = pa(mm,"","Block",8*sca,6*sca,8*sca,true,true,tr,0,"White") it('CylinderMesh',worm5) |
404 | - | p.Size = Siz |
404 | + | local worm6 = pa(mm,"","Block",7.2*sca,6*sca,7.2*sca,true,true,tr,0,"White") qi({"SpecialMesh",worm6,Scale=v3(4*sca,18.5*sca,4*sca),MeshType="FileMesh",MeshId="http://www.roblox.com/asset/?id=1033714"}) |
405 | - | p.Locked = true |
405 | + | for i=1,#slope-6 do if i+6 == 10 then MakeCrater(slope[i+6].p+v3(0,10,0),13,9,20) end if i+5 == 27 then local rr = 8*sca GetRegion(slope[i+5].p-v3(rr,rr,rr),slope[i+5].p+v3(rr,rr,rr),function(v) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(slope[i+5].p,v.Torso.Position+v3(0,2,0)).lookVector*120}) Dmgz(false,v.Humanoid,rn(d[1],d[2])*3.5,v.Torso) wait(0.2) bpp:Remove() end,function(v) ForceBrick(v,slope[i+5].p,150) end) MakeCrater(slope[i+5].p+v3(0,10,0),13,9,20) end |
406 | - | p.Parent = Par |
406 | + | worm0.CFrame = slope[i+6]*ca(rd(160),0,0)*ca(0,rd(0),0)*cn(0,5*sca,0) worm1.CFrame = slope[i+5] worm2.CFrame = slope[i+4] worm3.CFrame = slope[i+3] worm4.CFrame = slope[i+2] worm5.CFrame = slope[i+1] worm6.CFrame = slope[i]*ca(rd(180),0,0)*cn(0,4*sca,0) wait(0.04) end |
407 | - | p:BreakJoints() |
407 | + | worm0:Remove() worm1:Remove() worm2:Remove() worm3:Remove() worm4:Remove() worm5:Remove() worm6:Remove() |
408 | - | return p |
408 | + | end) end |
409 | - | end |
409 | + | SpawnTornado = function(pos,sc,ski,tyms) q(function() |
410 | - | |
410 | + | local tor = pa(su,"","Block",0,0,0,true,true,1,0,"White") qi({"SpecialMesh",tor,Scale=v3(6.4*sc,8*sc,6.5*sc),MeshType="FileMesh",MeshId=Decs.Tornado}) |
411 | - | function Weld(P0, P1, C0, C1) |
411 | + | tor.CFrame = pos q(function() for i=1,0.2,-0.1 do tor.Transparency = i wait() end end) |
412 | - | local w = Instance.new("Weld") |
412 | + | local zz = 0 local tpos = tor.Position |
413 | - | w.Part0 = P0 |
413 | + | q(function() while tor.Parent do zz = zz+1 |
414 | - | w.Part1 = P1 |
414 | + | tor.CFrame = pos*cn(0,0,-zz/2.6)*ca(0,rd(zz*5),0)*cn(0,0,zz*ski/30)*ca(0,rd(zz*25),0) wait() |
415 | - | if C0 then |
415 | + | local rr = 7*sc GetRegion(tor.Position-v3(rr,rr,rr),tor.Position+v3(rr,rr,rr),function(v) if v.Torso:findFirstChild("SRP") == nil then local bp = qi({"BodyPosition",v.Torso,Name="SRP",maxForce=v3(1/0,1/0,1/0),position=tor.CFrame*cn(0,0,-11*sc).p}) while tor.Parent do v.Humanoid.PlatformStand=true bp.position=tor.CFrame*cn(0,0,8*sc).p |
416 | - | w.C0 = C0 |
416 | + | if rn(1,6) == 2 then v.Humanoid.Sit = true Dmgz(false,v.Humanoid,rn(1,2),v.Torso) end |
417 | - | end |
417 | + | wait() end bp:Remove() local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(v.Torso.Position,to.Position+v3(0,30,0)).lookVector*135}) wait(0.4) bpp:Remove() wait(2.5) v.Humanoid.PlatformStand = false else end end) |
418 | - | if C1 then |
418 | + | end end) |
419 | - | w.C1 = C1 |
419 | + | wait(tyms) tpos = tor.Position local torm = tor.Mesh.Scale tor:Remove() GlowMesh(false,Decs.Tornado,t,torm*3,'Navy blue',cn(tpos),0.2,1,0.05) |
420 | - | end |
420 | + | end) end |
421 | - | w.Parent = P0 |
421 | + | function CrownSwords(pos) q(function() |
422 | - | return w |
422 | + | local hol = pa(su,"","Block",1,1,1,false,true,0.1,0,"White") qi({"SpecialMesh",hol,MeshType="Sphere"}) |
423 | - | end |
423 | + | hol.CFrame = pos for i=1,6 do hol.Size=v3(1,1,i*5) hol.CFrame=pos*cn(0,0,(5*i)/2) wait() end |
424 | - | |
424 | + | for i=1,6 do hol.Size=v3(i*5,1,30) hol.CFrame=pos*cn(0,0,15) wait() end |
425 | - | for _,v in pairs(Char:children()) do |
425 | + | local swr = {} for i=1,14 do local swor = pa(su,"","Block",0,0,0,false,true,0.2,0,"White") qi({"SpecialMesh",swor,MeshType="FileMesh",Scale=v3(4,4,4),MeshId=Decs.SplinteredSky,TextureId=Decs.SplinteredSkyT,VertexColor=v3(0,0,0.8)}) ti(swr,swor) end |
426 | - | if v.Name == ModelName then |
426 | + | local swr2 ={} for i=1,8 do local swor = pa(su,"","Block",0,0,0,false,true,0.2,0,"White") qi({"SpecialMesh",swor,MeshType="FileMesh",Scale=v3(4,4,4),MeshId=Decs.SplinteredSky,TextureId=Decs.SplinteredSkyT,VertexColor=v3(0,0,0.8)}) ti(swr2,swor) end |
427 | - | v:remove() |
427 | + | local swor = pa(su,"","Block",0,0,0,false,true,0.2,0,"White") qi({"SpecialMesh",swor,MeshType="FileMesh",Scale=v3(10,14,7.5),MeshId=Decs.SplinteredSky,TextureId=Decs.SplinteredSkyT,VertexColor=v3(0,0,0.8)}) |
428 | - | end |
428 | + | q(function() for i=1,20 do |
429 | - | end |
429 | + | swor.CFrame=hol.CFrame*cn(0,(i*3.5)-5.5,0)*ca(rd(90),0,0) |
430 | - | |
430 | + | wait() end end) |
431 | - | for _,v in pairs(Char:children()) do if v.Name == ModelName then v:remove() end end |
431 | + | for i2,v in pairs(swr) do q(function() for i=1,20 do |
432 | - | |
432 | + | v.CFrame=hol.CFrame*ca(0,rd(((360/14)*i2)+i*6),0)*cn(0,(i*0.32)-5.5,10)*ca(rd(-90+(91/20*i)),0,0) |
433 | - | Model = Instance.new("Model") |
433 | + | wait() end FireObj(v,cn(v.Position,v.CFrame*cn(0,0,-2).p),ca(0,0,0),8,20,6,function(h) ProjHit1(v,h,1.2) end,8) end) end |
434 | - | Model.Name = ModelName |
434 | + | for i2,v in pairs(swr2) do q(function() for i=1,20 do |
435 | - | |
435 | + | v.CFrame=hol.CFrame*ca(0,rd(((360/8)*i2)+i*-8),0)*cn(0,(i*1)-5.5,6)*ca(rd(-90+(135/20*i)),0,0) |
436 | - | FTorso = Part(Model, false, false, 1, 0, Torso.BrickColor, V3(2, 2, 1)) |
436 | + | wait() end FireObj(v,cn(v.Position,v.CFrame*cn(0,0,-2).p),ca(0,0,0),8,20,6,function(h) ProjHit1(v,h,1.2) end,8) end) end for i=1,20 do wait() end local holp = hol.CFrame fade(hol,0.1) |
437 | - | FW = Weld(Torso, FTorso) |
437 | + | for i=20*3.5,0,-20*3.5/12 do |
438 | - | |
438 | + | swor.CFrame = hol.CFrame*cn(0,i-1,0)*ca(rd(90),0,0) GlowMesh(false,Decs.Crown,t,v3(5,10,5),'Navy blue',swor.CFrame*ca(rd(-90),0,0),0.1,1,0.1) |
439 | - | RAB = Part(Model, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2)) |
439 | + | wait() end local rr = 25 GetRegion(holp.p-v3(rr,rr,rr),holp.p+v3(rr,rr,rr),function(v) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(holp.p,v.Torso.Position).lookVector*120}) Dmgz(false,v.Humanoid,rn(d[1],d[2])*1.8,v.Torso) wait(0.24) bpp:Remove() end,function(v) ForceBrick(v,holp.p,150) end) |
440 | - | LAB = Part(Model, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2)) |
440 | + | for i=0,7.5,2.5 do GlowMesh(false,Decs.Ring,t,v3(85-i,85-i,60-i),'Navy blue',hol.CFrame*cn(0,3,0)*ca(rd(-90),0,0),0.1,1,0.05) wait(0.1) end |
441 | - | RLB = Part(Model, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2)) |
441 | + | wait(5) fade(swor,0.02) |
442 | - | LLB = Part(Model, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2)) |
442 | + | end) end |
443 | - | |
443 | + | function SpawnDeathBlock(pos,rootvel,sc) q(function() |
444 | - | RABW = Weld(Torso, RAB, CN(), CN(-1.5, -0.5, 0)) |
444 | + | local bl = pa(su,"","Block",9.5*sc,12*sc,4*sc,true,true,0.05,0,"Really black") local rca = ca(rd(rn(-6,6)),rd(rn(-6,6)),rd(rn(-6,6))) |
445 | - | LABW = Weld(Torso, LAB, CN(), CN(1.5, -0.5, 0)) |
445 | + | local sk = pa(su,"","Block",0,0,0,false,true,0.05,0,"Really black") qi({"SpecialMesh",sk,Scale=v3(2*sc,2*sc,0.8*sc),MeshType="FileMesh",MeshId=Decs.Skull1}) |
446 | - | RLBW = Weld(Torso, RLB, CN(), CN(-0.5, 1, 0)) |
446 | + | bl.Touched:connect(function(v) if v.Parent == c or v.Parent == su or v.Parent:findFirstChild("Humanoid") == nil or v.Parent:findFirstChild("Torso") == nil then return end |
447 | - | LLBW = Weld(Torso, LLB, CN(), CN(0.5, 1, 0)) |
447 | + | GlowMesh(false,"Sphere",t,v3(12,12,12),'Navy blue',v.CFrame,0.1,1,0.1) |
448 | - | |
448 | + | local bpp = qi({"BodyVelocity",v.Parent.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(rootvel,v.Parent.Torso.Position+v3(0,7.5,0)).lookVector*80}) Dmgz(false,v.Parent.Humanoid,rn(d[1],d[2])*0.2,v.Parent.Torso) wait(0.2) bpp:Remove() |
449 | - | RAW = Weld(RAB, nil, CN(), CN(0, 0.5, 0)) |
449 | + | end) |
450 | - | LAW = Weld(LAB, nil, CN(), CN(0, 0.5, 0)) |
450 | + | for i=0,1,0.1 do bl.CFrame=pos*cn(0,(-5*sc)+(9*i),0)*rca sk.CFrame=bl.CFrame*cn(0,0,-2.1*sc) wait() end |
451 | - | RLW = Weld(RLB, nil, CN(), CN(0, 1, 0)) |
451 | + | wait(rn(23,30)) |
452 | - | LLW = Weld(LLB, nil, CN(), CN(0, 1, 0)) |
452 | + | for i,v in pairs({{"Navy blue",v3(30,30,30)},{"Really black",v3(20,20,20)}}) do GlowMesh(false,"Sphere",t,v[2],v[1],bl.CFrame,0.1,1,0.1) end |
453 | - | |
453 | + | local rr = 8 GetRegion(bl.Position-v3(rr,rr,rr),bl.Position+v3(rr,rr,rr),function(v) local bpp = qi({"BodyVelocity",v.Torso,maxForce=v3(1/0,1/0,1/0),velocity=cn(bl.Position,v.Torso.Position).lookVector*80}) Dmgz(false,v.Humanoid,rn(d[1],d[2])*0.5,v.Torso) wait(0.1) bpp:Remove() end,function(v) ForceBrick(v,holp.p,150) end) |
454 | - | TW = Weld(Torso, nil, CN(-0.4, -1.5, 0.7), CA(MR(55), MR(-90), MR(0))) |
454 | + | fade(bl,0.1) fade(sk,0.1) |
455 | - | |
455 | + | end) end |
456 | - | local FH = Instance.new("Humanoid",Model) |
456 | + | ---- TUT01LOL |
457 | - | FH.PlatformStand = true |
457 | + | han = pa(su,"","Block",0.4,0.4,0.4,false,false,0,0,"White") it('CylinderMesh',han) |
458 | - | FH.MaxHealth = math.huge |
458 | + | hanw = qi({"Weld",han,Part0=t,Part1=han,C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0)}) |
459 | - | FH.Health = math.huge |
459 | + | han2 = pa(su,"","Block",0.35,4,0.35,false,false,0,0,"Black") it('CylinderMesh',han2) |
460 | - | |
460 | + | han2w = qi({"Weld",han2,Part0=han,Part1=han2,C0=cn(0,1,0)}) |
461 | - | pcall(function() Torso:findFirstChild("Shirt"):clone().Parent = Model end) |
461 | + | han3 = pa(su,"","Block",0,0,0,false,false,0,1,"White") qi({"SpecialMesh",han3,MeshType="Sphere",Scale=v3(0.4,0.4,0.4)*5}) |
462 | - | |
462 | + | han3w = qi({"Weld",han2,Part0=han2,Part1=han3,C0=cn(0,-2,0)}) |
463 | - | local hh = Part(Model, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2)) |
463 | + | han4 = pa(su,"","Block",0,0,0,false,false,0,0,"Black") qi({"SpecialMesh",han4,MeshType="Sphere",Scale=v3(0.5,0.7,0.2)*5}) |
464 | - | hh.Name = "Head" |
464 | + | han4w = qi({"Weld",han2,Part0=han3,Part1=han4,C0=ca(0,rd(90),0)}) |
465 | - | Weld(FTorso, hh) |
465 | + | for i=1,7 do |
466 | - | |
466 | + | des = pa(su,"","Block",0.4,0.2,0.4,false,false,0,0,"White") it('CylinderMesh',des).Scale = v3(1,0.4,1) |
467 | - | Weapon = Instance.new("Model") |
467 | + | desw = qi({"Weld",han,Part0=han2,Part1=des,C0=cn(0,-0.9+(i/3),0)*ca(rd(rn(-15,15)),0,rd(rn(-15,15)))}) |
468 | - | Weapon.Name = "Weapon" |
468 | + | end |
469 | - | |
469 | + | for i=0,270,90 do |
470 | - | HB = Part(Weapon, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2)) |
470 | + | des = pa(su,"","Block",0,0,0,false,false,0,0,"") qi({"SpecialMesh",des,MeshType="FileMesh",Scale=v3(0.1,0.4,0.1),MeshId=Decs.Spike}) |
471 | - | HBW = Weld(Rarm, HB, CN(0, -0.7, 0), CA(MR(-90), MR(180), 0)) |
471 | + | desw = qi({"Weld",han2,Part0=han2,Part1=des,C0=ca(0,rd(i),0)*cn(0,1.8,0.3)*ca(rd(90),0,0)}) |
472 | - | HW = Weld(HB, nil, CA(MR(38), MR(-28), MR(-90)) * CN(0, -0.2, -3.8)) |
472 | + | end |
473 | - | |
473 | + | han5 = pa(su,"","Block",0,0,0,false,false,0,0,"Black") qi({"SpecialMesh",han5,MeshType="Sphere",Scale=v3(0.35,0.6,0.35)*5}) |
474 | - | LHB = Part(Weapon, false, false, 1, 0, BN("White"), V3(0.2, 0.2, 0.2)) |
474 | + | han5w = qi({"Weld",han2,Part0=han2,Part1=han5,C0=cn(0,2,0)}) |
475 | - | LHBW = Weld(Larm, LHB, CN(0, -0.7, 0), CA(MR(-90), MR(180), 0)) |
475 | + | han6 = pa(su,"","Wedge",0,0,0,false,false,0,0,"Black") qi({"SpecialMesh",han6,MeshType="Wedge",Scale=v3(0.1,1,0.5)*5}) |
476 | - | LHW = Weld(LHB, nil, CA(MR(-2), MR(30), MR(-3)) * CN(-0.1, 0.32, -0.24)) |
476 | + | han6w = qi({"Weld",han2,Part0=han2,Part1=han6,C0=cn(0,2.4,0.05)*ca(rd(10),0,0)}) |
477 | - | LHWK = Weld(LHB, nil, CA(MR(170), 0, 0)) |
477 | + | han7 = pa(su,"","Block",0,0,0,false,false,0,1,"") qi({"SpecialMesh",han7,MeshType="FileMesh",Scale=v3(0.75,0.75,2),MeshId=Decs.Ring}) |
478 | - | |
478 | + | han7w = qi({"Weld",han2,Part0=han2,Part1=han7,C0=cn(0,2.9,0)*ca(0,rd(90),0)}) |
479 | - | |
479 | + | han8 = pa(su,"","Block",0,0,0,false,false,0.3,0.1,"White") qi({"SpecialMesh",han8,MeshType="Sphere",Scale=v3(0.7,0.7,0.7)*5}) |
480 | - | Handle = Part(Weapon, false, false, 0, 0, BN("Black"), V3(0.5, 0.9, 0.9)) |
480 | + | han8w = qi({"Weld",han2,Part0=han2,Part1=han8,C0=cn(0,2.9,0)*ca(0,0,0)}) |
481 | - | TW.Part1 = Handle |
481 | + | han9 = pa(su,"","Block",0,0,0,false,false,0,0,"Institutional white") qi({"SpecialMesh",han9,Scale=v3(0.25,1,0.25),MeshType="FileMesh",MeshId = Decs.Chakram3}) |
482 | - | |
482 | + | han9w = qi({"Weld",han2,Part0=han2,Part1=han9,C0=cn(0,2.9,0)*ca(0,0,rd(90))}) |
483 | - | Handle2 = Part(Weapon, false, false, 0, 0, BN("Black"), V3(0.5, 0.6, 1.6)) |
483 | + | q(function() while true do wait(0.035) han9w.C0 = han9w.C0 *ca(0,rd(10),0) end end) |
484 | - | Weld(Handle, Handle2, CA(MR(-45), 0, 0), CN(0, 0.5, -0.4)) |
484 | + | for i=0,2 do |
485 | - | |
485 | + | des = pa(su,"","Block",0,0,0,false,false,0,0.05,"Really black") qi({"SpecialMesh",des,MeshType="FileMesh",Scale=v3(0.2,1,0.2),MeshId=Decs.Diamond}) |
486 | - | Handle3 = Part(Weapon, false, false, 0, 0, BN("Black"), V3(0.5, 0.7, 1.3)) |
486 | + | desw = qi({"Weld",han2,Part0=han2,Part1=des,C0=cn(0,2.1+(i/2.1),0.6+(i/5))*ca(rd(150-(i*30)),0,0)}) |
487 | - | Weld(Handle2, Handle3, CA(MR(45), 0, 0), CN(0, -0.4, -0.9)) |
487 | + | end |
488 | - | |
488 | + | des = pa(su,"","Block",0,0,0,false,false,0,0.05,"Really black") qi({"SpecialMesh",des,MeshType="FileMesh",Scale=v3(0.2,1,0.2),MeshId=Decs.Diamond}) |
489 | - | Pipe1 = Part(Weapon, false, false, 0, 0.1, BN("Light grey"), V3(0.3, 0.3, 3.2)) |
489 | + | desw = qi({"Weld",han2,Part0=han2,Part1=des,C0=cn(0,3.6,0.7)*ca(rd(50),0,0)}) |
490 | - | Add.Block(Pipe1, V3(1,1,1), 0.08) |
490 | + | bla = pa(su,"","Wedge",0.2,1,2,false,false,0,1,"") qi({"SpecialMesh",bla,Scale=v3(0.56,1,1),MeshType="Wedge"}) |
491 | - | Weld(Handle3, Pipe1, CN(0, 0.15, 1.6+0.55)) |
491 | + | blaw = qi({"Weld",han2,Part0=han8,Part1=bla,C0=cn(0,0.5,-1.2)*ca(rd(30),0,0)}) |
492 | - | |
492 | + | bla2 = pa(su,"","Wedge",0.2,0.7,2,false,false,0,1,"") qi({"SpecialMesh",bla2,Scale=v3(0.53,1,1),MeshType="Wedge"}) |
493 | - | Pipe2 = Part(Weapon, false, false, 0, 0.1, BN("Light grey"), V3(0.3, 0.3, 1.7)) |
493 | + | bla2w = qi({"Weld",han2,Part0=bla,Part1=bla2,C0=cn(0,-0.5,-0.75)*ca(rd(-20),0,0)}) |
494 | - | Add.Block(Pipe2, V3(1,1,1), 0.08) |
494 | + | bla3 = pa(su,"","Wedge",0.2,0.4,2,false,false,0,1,"") qi({"SpecialMesh",bla3,Scale=v3(0.5,1,1),MeshType="Wedge"}) |
495 | - | Weld(Handle3, Pipe2, CN(0, -0.15, 0.85+0.55)) |
495 | + | bla3w = qi({"Weld",han2,Part0=bla2,Part1=bla3,C0=cn(0,-0.5,-0.75)*ca(rd(-20),0,0)}) |
496 | - | |
496 | + | han10 = pa(su,"","Block",0,0,0,false,false,0,1,"Really black") it('CylinderMesh',han10).Scale = v3(1.2,0.57,1.2) |
497 | - | Pipe3 = Part(Weapon, false, false, 0, 0.1, BN("Light grey"), V3(0.25, 0.25, 1.6)) |
497 | + | han10 = qi({"Weld",han2,Part0=bla,Part1=han10,C0=cn(0,-0.37,1.35)*ca(0,0,rd(90))}) |
498 | - | Add.Block(Pipe3, V3(1,1,1), 0.065) |
498 | + | han11 = pa(su,"","Block",0.2,0.37,0.7,false,false,0,1,"") it('BlockMesh',han11).Scale = v3(0.48,1,0.9) |
499 | - | Weld(Pipe2, Pipe3, CN(0, 0, 0.8+0.7)) |
499 | + | han11 = qi({"Weld",han2,Part0=bla,Part1=han11,C0=cn(0,-0.32,1.3)}) |
500 | - | |
500 | + | --http://www.roblox.com/Knights-of-the-Seventh-Sanctum-Sword-and-Shield-item?id=60357959 |
501 | - | Pump = Part(Weapon, false, false, 0, 0, BN("Black"), V3(0.45, 0.45, 1.1)) |
501 | + | raa = c["Right Arm"] |
502 | - | Add.Block(Pump, V3(1,1,1), 0.225/2) |
502 | + | laa = c["Left Arm"] |
503 | - | PumpWeld = Weld(Pipe2, Pump, CN(0, 0, 0.6), CN(0, 0, 0)) |
503 | + | clawa1 = pa(su,"","Block",0,0,0,false,false,0,0,"Really black") qi({"SpecialMesh",clawa1,MeshType="FileMesh",Scale=v3(0.12,0.8,0.12),MeshId=Decs.Spike}) |
504 | - | |
504 | + | clawa1w = qi({"Weld",han2,Part0=laa,Part1=clawa1,C0=ca(rd(180),0,0)*cn(-0.2,1.25,0)}) |
505 | - | Pump2 = Part(Weapon, false, false, 0, 0, BN("Black"), V3(0.5, 0.5, 0.3)) |
505 | + | clawa2 = pa(su,"","Block",0,0,0,false,false,0,0,"Really black") qi({"SpecialMesh",clawa2,MeshType="FileMesh",Scale=v3(0.12,0.8,0.12),MeshId=Decs.Spike}) |
506 | - | Add.Block(Pump, V3(1,1,1), 0.13) |
506 | + | clawa2w = qi({"Weld",han2,Part0=laa,Part1=clawa2,C0=ca(rd(180),0,0)*cn(0.2,1.25,0)}) |
507 | - | Weld(Pump, Pump2, CN(0, 0, -0.5)) |
507 | + | clawb1 = pa(su,"","Block",0,0,0,false,false,0,0.4,"White") qi({"SpecialMesh",clawb1,MeshType="FileMesh",Scale=v3(0.12,0.8,0.12),MeshId=Decs.Spike}) |
508 | - | |
508 | + | clawb1w = qi({"Weld",han2,Part0=clawa1,Part1=clawb1,C0=cn(0,0.15,0)}) |
509 | - | for degrees = -20, 200, 20 do |
509 | + | clawb2 = pa(su,"","Block",0,0,0,false,false,0,0.4,"White") qi({"SpecialMesh",clawb2,MeshType="FileMesh",Scale=v3(0.12,0.8,0.12),MeshId=Decs.Spike}) |
510 | - | local Derp = Part(Weapon, false, false, 0, 0, BN("Black"), V3(0.2, 0.2, 0.2)) |
510 | + | clawb2w = qi({"Weld",han2,Part0=clawa2,Part1=clawb2,C0=cn(0,0.15,0)}) |
511 | - | Add.Block(Derp, V3(0.4,0.6,0.4), 0.02) |
511 | + | badge = pa(su,"","Block",0,0,0,false,false,0,0,"Really red") qi({"SpecialMesh",badge,MeshType="FileMesh",Scale=v3(0.15,1,0.5),MeshId=Decs.Diamond}) |
512 | - | Weld(Handle3, Derp, CN(0, -0.45, -0.32) * CA(MR(degrees), 0, 0), CN(0, 0, -0.2)) |
512 | + | badgew = qi({"Weld",han2,Part0=laa,Part1=badge,C0=cn(-0.5,0,0)*ca(rd(25),0,0)}) |
513 | - | end |
513 | + | badge2 = pa(su,"","Block",0,0,0,false,false,0,0,"Really black") qi({"SpecialMesh",badge2,MeshType="FileMesh",Scale=v3(0.149,1,0.495),MeshId=Decs.Diamond}) |
514 | - | |
514 | + | badge2w = qi({"Weld",han2,Part0=badge,Part1=badge2}) |
515 | - | Derp = Part(Weapon, false, false, 0, 0, BN("Black"), V3(0.2, 0.2, 0.3)) |
515 | + | ef = pa(su,"","Block",0,0,0,false,true,1,1,"Black") qi({"SpecialMesh",ef,MeshType="FileMesh",Scale=v3(7,7,4),MeshId=Decs.Chakram2}) |
516 | - | Add.Block(Derp, V3(0.4,1,1), 0.02) |
516 | + | --efw = qi({"Weld",han2,Part0=t,Part1=ef,C0=cn(0,-2.9,0)*ca(rd(90),0,0)}) |
517 | - | Weld(Handle3, Derp, CN(0, 0, -0.32) * CA(MR(-20), 0, 0), CN(0, 0.45, -0.2)) |
517 | + | db1 = pa(su,"","Block",0,0,0,false,false,1,0,"White") qi({"SpecialMesh",db1,MeshType="Sphere",Scale=v3(1,1,1)*5}) |
518 | - | |
518 | + | db1w = qi({"Weld",han2,Part0=laa,Part1=db1,C0=cn(0,-2,0)}) |
519 | - | Trigger = Part(Weapon, false, false, 0, 0, BN("Really black"), V3(0.2, 0.3, 0.2)) |
519 | + | db2 = pa(su,"","Block",0,0,0,false,false,1,0.1,"White") qi({"SpecialMesh",db2,MeshType="Sphere",Scale=v3(1.2,1.2,1.2)*5}) |
520 | - | Add.Block(Trigger, V3(0.5, 0.9, 0.3), 0.02) |
520 | + | db2w = qi({"Weld",han2,Part0=db1,Part1=db2,C0=cn(0,0,0)}) |
521 | - | TriggerWeld = Weld(Handle3, Trigger, CN(0, -0.45, -0.4) * CA(MR(2), 0, 0)) |
521 | + | local ebs = false |
522 | - | |
522 | + | function eb(wutarm,aa,siz) if not siz then siz = 1 end q(function() db1.Mesh.Scale=v3(siz,siz,siz)*5 db1w.Part0 = wutarm db1w.C0 = cn(0,-1+(-siz/1.25),0) if not ebs then ebs = true |
523 | - | Aim = Part(Weapon, false, false, 0, 0, BN("Black"), V3(0.3, 0.2, 0.7)) |
523 | + | if aa then db1.Transparency = 0.1 else for i=1,0.1,-0.1 do db1.Transparency = i wait() end end |
524 | - | Add.Block(Aim, V3(1,0.7,1), 0.05) |
524 | + | else |
525 | - | Weld(Pipe1, Aim, CN(0, 0.12, 1.1)) |
525 | + | ebs = false if aa then db1.Transparency = 1 else for i=0.1,1,0.1 do db1.Transparency = i wait() end end |
526 | - | |
526 | + | end end) end |
527 | - | Aim1 = Part(Weapon, false, false, 0, 0, BN("Black"), V3(0.2, 0.2, 0.2)) |
527 | + | local efm = ef.Mesh.Scale |
528 | - | Add.Block(Aim1, V3(0.3, 0.7, 0.5)) |
528 | + | function e(aa) if aa ~= nil then ef.Mesh.Scale=efm*aa else ef.Mesh.Scale=efm end if ef.Transparency < 0.4 then |
529 | - | Weld(Aim, Aim1, CN(-.1, 0.1, -0.25)) |
529 | + | for i=0.3,1,0.1 do ef.Transparency = i wait() end |
530 | - | |
530 | + | else |
531 | - | Aim2 = Part(Weapon, false, false, 0, 0, BN("Black"), V3(0.2, 0.2, 0.2)) |
531 | + | q(function() for i=1,0.3,-0.1 do ef.Transparency = i wait() end end) |
532 | - | Add.Block(Aim2, V3(0.3, 0.7, 0.5)) |
532 | + | end end |
533 | - | Weld(Aim, Aim2, CN(.1, 0.1, -0.25)) |
533 | + | q(function() while true do if ebs then for i=0.4,0.7,0.025 do local tra = (i+0.15)*(db1.Mesh.Scale.x/4) db2.Transparency =i wait() db2.Mesh.Scale=db1.Mesh.Scale*1.2+v3(tra*(db1.Mesh.Scale.x/5),tra*(db1.Mesh.Scale.x/5),tra*(db1.Mesh.Scale.x/5)) end |
534 | - | |
534 | + | for i=0.7,0.4,-0.025 do local tra = (i+0.15)*(db1.Mesh.Scale.x/4) db2.Transparency =i db2.Mesh.Scale=db1.Mesh.Scale*1.2+v3(tra*(db1.Mesh.Scale.x/5),tra*(db1.Mesh.Scale.x/5),tra*(db1.Mesh.Scale.x/5)) wait() end else db2.Transparency = 1 db2.Mesh.Scale = v3(1.2,1.2,1.2)*5 end wait() end end) |
535 | - | Aim3 = Part(Weapon, false, false, 0, 0, BN("Black"), V3(0.2, 0.2, 0.2)) |
535 | + | q(function() while true do for i=0,1,0.05 do badge.Transparency = i wait() end badge.Transparency = 1 wait(1) for i=1,0,-0.05 do badge.Transparency = i wait() end wait(4) end end) |
536 | - | Add.Block(Aim3, V3(0.3, 0.7, 0.5)) |
536 | + | sho = pa(su,"","Block",0,0,0,false,false,0,0,"Black") qi({"SpecialMesh",sho,Scale=v3(1.1,1.1,1.1)*5,MeshType="Wedge"}) |
537 | - | Weld(Aim, Aim3, CN(0, 0.1, 0.25)) |
537 | + | show = qi({"Weld",han2,Part0=raa,Part1=sho,C0=cn(0,0.545,0)*ca(rd(180),rd(90),0)}) |
538 | - | |
538 | + | chak = pa(su,"","Block",0,0,0,false,false,0,0,"") qi({"SpecialMesh",chak,Scale=v3(0.09,0.09,0.24)*5,MeshType="FileMesh",MeshId=Decs.Chakram}) |
539 | - | BulletFlip = Part(Weapon, false, false, 0, 0, BN("Light grey"), V3(0.2, 0.3, 0.6)) |
539 | + | chakw = qi({"Weld",han2,Part0=raa,Part1=chak,C0=cn(0.56,0.5,0)*ca(0,rd(-90),0)}) |
540 | - | Flip = Weld(Handle3, BulletFlip, CN(-0.18, 0.1, 0.2) * CA(0, MR(-10), 0)) |
540 | + | chak2 = pa(su,"","Block",0,0,0,false,false,0.1,0.1,"White") qi({"SpecialMesh",chak2,Scale=v3(0.15,0.15,0.05)*5,MeshType="FileMesh",MeshId=Decs.Chakram2}) |
541 | - | |
541 | + | chak2w = qi({"Weld",han2,Part0=raa,Part1=chak2,C0=cn(0.56,0.5,0)*ca(0,rd(-90),0)}) |
542 | - | |
542 | + | local efww = 0 |
543 | - | |
543 | + | q(function() while true do wait() if FindGround(to.CFrame) then efww = efww+25 ef.CFrame = FindGround(to.CFrame)*ca(0,rd(efww),0)*ca(rd(90),0,0) else ef.CFrame=cn(10000,10000,10000) end end end) |
544 | - | BeltWelds = {} |
544 | + | q(function() while true do wait(0.035) chak2w.C0 = chak2w.C0*ca(0,0,rd(25)) end end) |
545 | - | |
545 | + | ---- TUT02LOL |
546 | - | BeltK = nil |
546 | + | function Act(k,kb) |
547 | - | for i = -0.5, 0.5, 1 do |
547 | + | if kb then |
548 | - | local Belt = Part(Weapon, false, false, 0, 0, BN("Black"), V3(2.1, 0.3, 0.2)) |
548 | + | if k == "e" and Anim=="None" then |
549 | - | table.insert(BeltWelds, Weld(Torso, Belt, CN(0, -0.9, i))) |
549 | + | Anim = "SpawnSwords" Armz(false) e() eb(raa) fac = true |
550 | - | end |
550 | + | c2(law,spd,3,-1.5,1,0,30,0,30) c2(tw,spd,3,0,0,0,0,-95,0) c2(hw,spd,3,0,1.5,0,0,95,0) |
551 | - | for i = 1, -1, -2 do |
551 | + | c1(raw,spd,3,1,0.5,0,0,0,-80) c2(raw,spd,3,1,0.4,0,0,0,-140) for i=1,5 do SpawnSword(FindGround(to.CFrame*cn(0,-2.75,-0.5+(-i*8)-i)),1+(i/10),15,"Navy blue") wait(0.06) end |
552 | - | local Belt = Part(Weapon, false, false, 0, 0, BN("Black"), V3(0.2, 0.3, 1.1)) |
552 | + | eb(raa) fac = false wait(0.2) e() c2(law,spd,3,-1.5,1,0,0,0,0) c2(hw,spd,3,0,1.5,0,0,0,0) c2(tw,spd,3,0,0,0,0,0,0) c1(raw,spd,3,1.5,1,0,0,0,0) Armz(true) |
553 | - | table.insert(BeltWelds, Weld(Torso, Belt, CN(i, -0.9, 0))) |
553 | + | Anim = "None" |
554 | - | BeltK = Belt |
554 | + | elseif k == "q" and Anim=="None" then |
555 | - | end |
555 | + | Anim = "GravGrab" Armz(false) e() eb(laa) caw = false |
556 | - | |
556 | + | c2(raw,spd,3,1.5,1,0,30,0,20) c2(tw,spd,3,0,0,0,0,95,0) c2(hw,spd,3,0,1.5,0,0,-95,0) |
557 | - | for i = -0.25, 0.25, 0.5 do |
557 | + | c1(law,spd,3,-1,0.5,0,0,0,130) SpikeSucker(to.CFrame*cn(0,5,-6),1) eb(laa) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0) |
558 | - | local Pocket = Part(Weapon, false, false, 0, 0, BN("Black"), V3(1.1, 0.9, 0.2)) |
558 | + | c2(law,spd,3,-1,0.5,0,45,0,90) c2(hw,spd,3,0,1.5,0,0,90,0) c2(tw,spd,3,0,0,0,0,-90,0) c2(hanw,spd,0,-0.1,-2.2,0,0,90,170) |
559 | - | table.insert(BeltWelds, Weld(Torso, Pocket, CN(0.8, -1.2, -0.8) * CA(0, MR(-15), 0), CN(0, 0, i))) |
559 | + | Trail(bla3,15,0,"White",0.65,cn(0,-0.2,-1)) rayHit(0.6,1,ra,ca(rd(-90),0,0),8,1.3) |
560 | - | end |
560 | + | c1(raw,spd,3,1.3,0.5,0,-30,0,-135) wait(0.5) c2(hanw,spd,0,-0.1,-1.1,0,0,0,75) |
561 | - | |
561 | + | caw = true c2(hw,spd,3,0,1.5,0,0,0,0) c2(tw,spd,3,0,0,0,0,0,0) c2(law,spd,3,-1.5,1,0,0,0,0) c1(raw,spd,3,1.5,1,0,30,3,20) hanw.Part0 = t hanw.C1=ca(0,0,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0) c1(raw,spd,3,1.5,1,0,0,0,0) |
562 | - | for i = -0.5, 0.5, 1 do |
562 | + | e() Anim = "None" Armz(true) |
563 | - | local Pocket = Part(Weapon, false, false, 0, 0, BN("Black"), V3(0.6, 0.9, 0.2)) |
563 | + | elseif k == "z" and Anim=="None" then |
564 | - | table.insert(BeltWelds, Weld(Torso, Pocket, CN(0.8, -1.2, -0.8) * CA(0, MR(-15)+MP/2, 0), CN(0, 0, i))) |
564 | + | Anim = "Blackspace" Armz(false) Legz(false) caw = false |
565 | - | end |
565 | + | c2(raw,spd,3,1.5,1,0,20,0,-20) c2(law,spd,3,-1.5,1,0,20,0,20) c2(rlw,spd,3,0.5,-1,0,20,0,-20) c2(llw,spd,3,-0.5,-1,0,20,0,20) c1(tw,spd*0.5,3,0,7,0,0,0,0) Blackspace(t.CFrame,40,3) |
566 | - | Pocket = Part(Weapon, false, false, 0, 0, BN("Black"), V3(1.1, 0.2, 0.6)) |
566 | + | c2(raw,spd,3,1.5,1,0,0,0,0) c2(law,spd,3,-1.5,1,0,0,0,0) c2(rlw,spd,3,0.5,-1,0,0,0,0) c2(llw,spd,3,-0.5,-1,0,0,0,0) c1(tw,spd,3,0,0,0,0,0,0) Anim = "None" Armz(true) Legz(true) caw = true |
567 | - | table.insert(BeltWelds, Weld(Torso, Pocket, CN(0.8, -1.6, -0.8) * CA(0, MR(-15), 0))) |
567 | + | elseif k == "g" and Anim=="None" then |
568 | - | |
568 | + | Anim = "MatterBall" e() Armz(false) fac = true |
569 | - | function Shell(P) |
569 | + | c2(tw,spd*1.3,3,0,0,0,0,-90,0) c2(hw,spd*1.3,3,0,1.5,0,0,90,0) c1(law,spd*1.3,3,-1,0.5,0,50,0,90-math.deg((to.Position - mouse.hit.p).unit.y)) |
570 | - | local Shel = Instance.new("Model") |
570 | + | eb(laa,nil,3) wait(0.3) |
571 | - | local Back = Part(Shel, false, false, 0, 0, BN("Bright yellow"), V3(0.3, 0.3, 0.25)) |
571 | + | c2(tw,spd*1.55,3,0,0,0,0,70,0) c2(hw,spd*1.55,3,0,1.5,0,0,-70,0) c1(law,spd*1.55,3,-1,0.5,0,-20,0,90-math.deg((to.Position - mouse.hit.p).unit.y)) eb(laa,true,2) MatterBall(cn(db1.Position,la.CFrame*cn(0,-20,0).p),3,5,30,1.5) |
572 | - | local Main = Part(Shel, false, false, 0, 0, BN("Bright red"), V3(0.3, 0.3, 0.4)) |
572 | + | fac = false c2(tw,spd*1.3,3,0,0,0,0,0,0) c2(hw,spd*1.3,3,0,1.5,0,0,0,0) c1(law,spd*1.3,3,-1.5,1,0,0,0,0) e() Armz(true) wait(0.1) Anim = "None" |
573 | - | Add.Block(Back, V3(1,1,1), 0.077) |
573 | + | elseif k == "r" and Anim=="None" then |
574 | - | Add.Block(Main, V3(1,1,1), 0.077) |
574 | + | Anim = "Block" Armz(false) fac = true |
575 | - | Weld(Main, Back, CN(0, 0, -0.225)) |
575 | + | c2(tw,spd,3,0,0,0,0,-65,0) c2(hw,spd,3,0,1.5,0,0,65,0) c1(raw,spd,3,1.5,0.5,0.2,-100,-25,-5) c2(law,spd,3,-1.3,1,0.2,20,0,20) |
576 | - | Shel.Parent = P |
576 | + | local spm = chak2.Mesh.Scale for i=1,11,1 do chak2.Reflectance = i/40 chak2.Mesh.Scale = spm*i wait() end |
577 | - | return {Model = Shel, Back = Back, Main = Main} |
577 | + | block.Value = true repeat wait(0.4) GlowMesh(true,chak2.Mesh.MeshId,chak2,chak2.Mesh.Scale*1.5,'White',cn(0,0,0),chak2.Transparency,1,0.025) until not ky[k] for i=11,1,-1 do chak2.Reflectance = i/40 chak2.Mesh.Scale = spm*i wait() end chak2.Reflectance = 0 |
578 | - | end |
578 | + | block.Value = false c2(tw,spd*1.3,3,0,0,0,0,0,0) c2(hw,spd*1.3,3,0,1.5,0,0,0,0) c2(law,spd*1.3,3,-1.5,1,0,0,0,0) c1(raw,spd*1.3,3,1.5,1,0,0,0,0) Armz(true) fac = false Anim = "None" |
579 | - | |
579 | + | elseif k == "v" and Anim=="None" then |
580 | - | for y = 0.15, 0.65, 0.25 do |
580 | + | Anim = "RakeFist" Armz(false) fac = true |
581 | - | for x = -0.12, 0.13, 0.24 do |
581 | + | c1(raw,spd*1.5,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd*1.5,3,1.5,0.5,0,-340,0,25) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0) |
582 | - | for z = -0.25, 0.26, 0.5 do |
582 | + | if (to.Position - mouse.hit.p).magnitude < 125 then c2(hanw,spd*1.5,0,-0.1,-1.2,0,0,-30,100) c1(raw,spd*1.5,3,1.5,0.5,0,-135,-60,0) wait(0.2) FistBoom(cn(to.CFrame*cn(-1.5,1.5,-4).p,to.CFrame*cn(-1.5,1.5,-5).p),1,rn(d[1]*2,d[2]*2),(to.Position-v3(mouse.hit.p.x,to.Position.y,mouse.hit.p.z)).magnitude-10) fac = false c1(raw,spd,3,1,0.5,0,-50,70,0) end fac = false |
583 | - | local sh = Shell(Weapon) |
583 | + | wait(0.2) c2(hanw,spd*0.7,0,-0.1,-1.2,0,0,0,70) c1(raw,spd,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd,3,1.5,0.5,0,-340,0,25) hanw.Part0 = t hanw.C1=ca(0,0.5,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0) |
584 | - | Weld(Pocket, sh.Main, CN(z-0.05, y, x), CA(0, MP/2, 0)) |
584 | + | c1(raw,spd*0.8,3,1.5,1,0,0,0,0) Armz(true) Anim = "None" |
585 | - | end |
585 | + | elseif k=="h" and Anim=="None" then |
586 | - | end |
586 | + | Anim = "Worm" Armz(false) e(3) fac = true caw = false |
587 | - | end |
587 | + | c2(tw,spd,3,0,0,0,0,-90,0) c2(hw,spd,3,0,1.5,0,0,90,0) c1(raw,spd*1.5,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd*1.5,3,1.5,0.5,0,-340,0,25) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0) |
588 | - | |
588 | + | c2(hanw,spd,0,-0.1,-1.5,0,0,0,180) c1(raw,spd,3,1,0.5,0,-180,0,-30) c1(raw,spd,3,1,0.5,0,0,0,-90) |
589 | - | KnifeSheath = Part(Weapon, false, false, 0, 0, BN("Black"), V3(0.3, 0.9, 0.6)) |
589 | + | local tpos = mouse.hit.p if (tpos - bla2.Position).magnitude < 350 then q(function() local to = pa(su,"","Block",2,1,2,false,true,0.1,0,"White") it('CylinderMesh',to) local to2 = pa(su,"","Block",0,0,0,false,true,0.1,0,"White") qi({"SpecialMesh",to2,Scale=v3(2,2,2),MeshType="FileMesh",MeshId=Decs.Totem}) |
590 | - | SheathWeld = Weld(BeltK, KnifeSheath, CN(-0.2, -0.3, -0.25) * CA(MR(-20), 0, 0)) |
590 | + | for i=1,5,0.5 do to.Size=v3(2,i,2) to.CFrame=cn(tpos+v3(0,i/2,0)) to2.CFrame = to.CFrame*cn(0,(i/2)+1,0) wait() end wait(3.5) for i=0.2,1,0.1 do to.Transparency = i to2.Transparency = i wait() end to:Remove() to2:Remove() end) |
591 | - | |
591 | + | for i=1,8 do Lightning(bla2.Position,tpos,math.floor((bla2.Position-tpos).magnitude/18)+1,1.5,"White",0.3,0) wait(0.04) end fac = false |
592 | - | KnifeHandle = Part(Weapon, false, false, 0, 0, BN("Really black"), V3(0.3, 0.6, 0.3)) |
592 | + | caw = true q(function() wait(1) WormDrill(cn(tpos),rn(25,30)/10) end) c1(law,spd,3,-1.5,0.25,0,0,0,180) q(function() local to = pa(su,"","Block",1.5,1.5,1.5,false,true,0.1,0,"White") qi({"SpecialMesh",to,MeshType="Sphere"}) for i=1,15,1 do to.Size=v3(1.5,i*2,1.5) to.CFrame=la.CFrame*cn(0,-2+(-i),0) wait() end GlowMesh(false,"Sphere",t,v3(35,35,35),'Navy blue',la.CFrame*cn(0,-32,0),0.1,1,0.1) fade(to,0.1) end) |
593 | - | KnifeWeld = Weld(KnifeSheath, KnifeHandle, CA(MP, 0, 0), CN(0, 0.9, 0)) |
593 | + | end fac = false caw = true c2(hanw,spd*0.7,0,-0.1,-1.2,0,0,0,70) c1(raw,spd,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd,3,1.5,0.5,0,-340,0,25) hanw.Part0 = t hanw.C1=ca(0,0,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0) |
594 | - | |
594 | + | c2(tw,spd,3,0,0,0,0,0,0) c2(hw,spd,3,0,1.5,0,0,0,0) c2(law,spd*0.8,3,-1.5,1,0,0,0,0) c1(raw,spd*0.8,3,1.5,1,0,0,0,0) Armz(true) e(3) Anim = "None" |
595 | - | KnifeHandle2 = Part(Weapon, false, false, 0, 0, BN("Dark grey"), V3(0.3, 0.2, 0.4)) |
595 | + | elseif k == "y" and Anim == "None" then |
596 | - | Weld(KnifeHandle, KnifeHandle2, CN(0, 0.35, 0)) |
596 | + | Anim = "Whirlwind" Armz(false) e() fac = true |
597 | - | |
597 | + | c1(raw,spd*1.5,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd*1.5,3,1.5,0.5,0,-340,0,25) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0) |
598 | - | KnifeBlade1 = Part(Weapon, false, false, 0, 0.1, BN("Light grey"), V3(0.2, 0.8, 0.3)) |
598 | + | c2(hanw,spd,0,-0.1,-1.2,0,0,0,90) c2(hanw,spd,1,0,0,0,0,0,0) c1(raw,spd,3,1,0.5,0,-180,0,0) wait(0.1) |
599 | - | Add.Block(KnifeBlade1, V3(0.4, 1, 1), 0.05) |
599 | + | local to = pa(su,"","Block",0,0,0,false,false,0.2,0,"White") it('CylinderMesh',to).Scale=v3(9,0.2,9)*5 local tom = qi({"Weld",to,Part0=ra,Part1=to}) |
600 | - | Weld(KnifeHandle2, KnifeBlade1, CN(0, 0.42, 0)) |
600 | + | q(function() for i=1,40 do if i == 20 then for hax=-50,50,25 do SpawnTornado(t.CFrame*cn(0,3,0)*ca(0,rd(hax),0),1,1.2,6) end end tom.C0 = cn(0,-2.3,0)*ca(rd(rn(-8,8)),0,rd(rn(-8,8))) wait() end fade(to,0.1) end) c1(hanw,spd*0.3,1,0,0,0,360*5,0,0) cleanweld(hanw,"a1") |
601 | - | |
601 | + | c2(hanw,spd*0.7,0,-0.1,-1.2,0,0,0,70) c1(raw,spd,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd,3,1.5,0.5,0,-340,0,25) hanw.Part0 = t hanw.C1=ca(0,0,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0) |
602 | - | KnifeBlade2 = Part(Weapon, false, false, 0, 0.1, BN("Light grey"), V3(0.2, 0.24, 0.24)) |
602 | + | c1(raw,spd,3,1.5,1,0,0,0,0) Armz(true) e() fac = false Anim ="None" |
603 | - | Add.Block(KnifeBlade2, V3(0.4, 1, 1), 0.05) |
603 | + | elseif k == "n" and Anim=="None" then |
604 | - | Weld(KnifeBlade1, KnifeBlade2, CN(0, 0.32, 0), CA(MR(45), 0, 0)) |
604 | + | Anim = "CrownSwords" Armz(false) Legz(false) e() caw = false c2(tw,spd,3,0,5,2,-20,0,0) c2(llw,spd,3,-0.5,-1,0,20,0,20) c2(rlw,spd,3,0.5,-1,0,20,0,-20) |
605 | - | |
605 | + | c1(raw,spd*1.5,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd*1.5,3,1.5,0.5,0,-340,0,25) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0) |
606 | - | function Show_Damage(P, D, Area) |
606 | + | c2(hanw,spd,0,-0.1,-1.2,0,40,0,205) c2(hanw,spd,1,0,0,0,0,-180,0) c2(raw,spd,3,1,0.5,-0.5,-135,-25,0) c1(law,spd,3,-1,0.5,-0.5,-135,25,0) wait(0.15) |
607 | - | local mo = Instance.new("Model") |
607 | + | c2(raw,spd,3,1,0.5,-0.5,-70,-25,0) c2(law,spd,3,-1,0.5,-0.5,-70,25,0) c1(tw,spd,3,0,0,0,30,0,0) wait(0.2) GlowMesh(false,"Sphere",t,v3(9,15,12),'Navy blue',to.CFrame,0.1,1,0.05) CrownSwords(to.CFrame*cn(0,-2.5,-3)) to.CFrame = to.CFrame*cn(0,0,30) GlowMesh(false,"Sphere",t,v3(9,15,12),'Navy blue',to.CFrame,0.1,1,0.05) |
608 | - | mo.Name = D |
608 | + | wait(0.2) e() c2(tw,spd,3,0,0,0,0,0,0) c2(llw,spd,3,-0.5,-1,0,0,0,0) c2(rlw,spd,3,0.5,-1,0,0,0,0) c2(hanw,spd*0.7,0,-0.1,-1.2,0,0,0,70) c1(raw,spd,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd,3,1.5,0.5,0,-340,0,25) hanw.Part0 = t hanw.C1=ca(0,0,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0) |
609 | - | local p = Part(mo, true, false, 0, 0, BN("Bright red"), V3(0.2, 0.2, 0.2)) |
609 | + | c1(law,spd,3,-1.5,1,0,0,0,0) c1(raw,spd,3,1.5,1,0,0,0,0) Legz(true) Armz(true) caw = true Anim ="None" |
610 | - | p.Name = "Head" |
610 | + | elseif k == "b" and Anim=="None" then |
611 | - | local m = Instance.new("SpecialMesh") |
611 | + | Anim = "DeathWall" Armz(false) e() caw = false |
612 | - | m.MeshType = "Brick" |
612 | + | c1(raw,spd*1.5,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd*1.5,3,1.5,0.5,0,-340,0,25) hanw.Part0 = raa hanw.C0 = cn(-0.1,-1.1,0)*ca(0,0,rd(75)) hanw.C1=ca(0,rd(-105),0) |
613 | - | m.Scale = Vector3.new(3.5, 2.3, 3.5) |
613 | + | c2(hanw,spd,0,-0.1,-1.2,0,40,0,190) c2(hanw,spd,1,0,0,0,0,-180,0) c2(raw,spd,3,1,0.5,-0.5,-135,-25,0) c1(law,spd,3,-1,0.5,-0.5,-135,25,0) wait(0.15) |
614 | - | m.Parent = p |
614 | + | c2(raw,spd*1.4,3,1,0.5,-0.5,-45,-25,0) c1(law,spd*1.4,3,-1,0.5,-0.5,-45,25,0) GlowMesh(false,"Sphere",t,v3(15,1,15),'Navy blue',to.CFrame*cn(0,-2.8,-5.5),0.1,1,0.03) |
615 | - | local h = Instance.new("Humanoid") |
615 | + | wait(0.2) for i=0,300,60 do SpawnDeathBlock(to.CFrame*ca(0,rd(i),0)*cn(0,-2.8,-10),to.Position,1) wait() end |
616 | - | h.Health = 0 |
616 | + | wait(0.2) e() c2(tw,spd,3,0,0,0,0,0,0) c2(llw,spd,3,-0.5,-1,0,0,0,0) c2(rlw,spd,3,0.5,-1,0,0,0,0) c2(hanw,spd*0.7,0,-0.1,-1.2,0,0,0,70) c1(raw,spd,3,1.5,0.5,0,-340/2,0,40) c1(raw,spd,3,1.5,0.5,0,-340,0,25) hanw.Part0 = t hanw.C1=ca(0,0,0) hanw.C0=cn(0.7,-0.7,0.65)*ca(0,0,rd(45))*ca(0,rd(90),0) |
617 | - | h.MaxHealth = 0 |
617 | + | c1(law,spd,3,-1.5,1,0,0,0,0) c1(raw,spd,3,1.5,1,0,0,0,0) Armz(true) caw = true Anim ="None" |
618 | - | h.Name = "asd" |
618 | + | elseif k == "f" and Anim=="None" then |
619 | - | h.Parent = mo |
619 | + | Anim = "RapidKick" Legz(false) |
620 | - | local nah = true |
620 | + | c1(tw,spd,3,0,-0.5,0,-90,0,90) local lo = {-1,-1.6} local ty = 0 ws(25) |
621 | - | mo.Parent = workspace |
621 | + | c1(tw,0.013,3,0,-0.5,0,-90,0,90+(360*5),function() ty=ty+1 local tz = 35 if lo[1] == -1 then lo = {-1.6,-1} else lo = {-1,-1.6} end |
622 | - | local cf = CN(P) * CN(MRA(-Area*100, Area*100)/100, MRA(-Area*100, Area*100)/100, MRA(-Area*100, Area*100)/100) |
622 | + | c2(llw,1,3,-0.5,lo[1],0,rn(-tz,tz),0,rn(-tz,tz)) |
623 | - | p.CFrame = cf |
623 | + | c2(rlw,1,3,0.5,lo[2],0,rn(-tz,tz),0,rn(-tz,tz)) |
624 | - | Notime(function() |
624 | + | local tst = ll if rn(1,2) == 1 then tst = rl end |
625 | - | Notime(function() |
625 | + | local das = pa(su,"","Block",1.5,2.5,1.5,false,true,0.1,0,"White") qi({"SpecialMesh",das,MeshType="Sphere"}) |
626 | - | for i = 0, 6, 0.03 do |
626 | + | das.CFrame=tst.CFrame*cn(0,-4,0) fade(das,0.2) |
627 | - | wait() |
627 | + | if ty%3== 0 then hu:MoveTo(to.CFrame*cn(0,0,-5).p,to) local rr = 2 GetRegion(to.CFrame*cn(0,0,-3).p-v3(rr,rr,rr),to.CFrame*cn(0,0,-3).p+v3(rr,rr,rr),function(v) Dmgz(false,v.Humanoid,rn(d[1],d[2])*0.2,v.Torso) end) end |
628 | - | p.CFrame = cf * CN(0, i, 0) |
628 | + | if ty%6==0 then GlowMesh(false,Decs.Crown,t,v3(3,6,3),'Navy blue',to.CFrame*cn(0,0,3)*ca(rd(90),0,0),0.1,1,0.05) end |
629 | - | end |
629 | + | end) ws(16) |
630 | - | end) |
630 | + | c2(llw,1,3,-0.5,-1,0,0,0,0) c2(rlw,1,3,0.5,-1,0,0,0,0) c1(tw,spd,3,0,0,0,0,0,360*5) cleanweld(tw,"a1") Legz(true) Anim="None" |
631 | - | wait(1.5) |
631 | + | end |
632 | - | for i = 0, 1, 0.05 do |
632 | + | else |
633 | - | p.Transparency = i |
633 | + | if k == "q" then |
634 | - | if nah then mo.Name = "" nah = false else mo.Name = "- "..D nah = true end |
634 | + | end -- q end |
635 | - | wait() |
635 | + | end -- l end |
636 | - | end |
636 | + | end -- func end |
637 | - | mo:remove() |
637 | + | local pla = pa(su,"","Block",7,1,7,true,true,1,0,"White") |
638 | - | end) |
638 | + | function ButtonDown() if Anim~="None" then return end |
639 | - | end |
639 | + | to.Velocity=v3(0,0,0) if hu.Jump then GlowMesh(false,"Sphere",t,v3(8,2,8),'White',to.CFrame*cn(0,-2,0),0.1,1,0.05) GlowMesh(false,Decs.Crown,t,v3(5,3,5),'White',to.CFrame*cn(0,-1.5,0)*ca(rd(180),0,0),0.1,1,0.05) to.CFrame=to.CFrame*cn(0,20,0) |
640 | - | |
640 | + | hu.Jump=false GlowMesh(false,"Sphere",t,v3(8,2,8),'Navy blue',to.CFrame*cn(0,-4,0),0.1,1,0.05) |
641 | - | function Hit(part) |
641 | + | else GlowMesh(false,"Sphere",t,v3(8,10,2),'Navy blue',to.CFrame,0.1,1,0.05) |
642 | - | local H = GetHum(part.Parent) |
642 | + | GlowMesh(false,Decs.Crown,t,v3(5,3,5),'Navy blue',to.CFrame*cn(0,0,1)*ca(rd(90),0,0),0.1,1,0.05) to.CFrame=to.CFrame*cn(0,0,-12) GlowMesh(false,"Sphere",t,v3(8,10,2),'White',to.CFrame*cn(0,0,1),0.1,1,0.05) end |
643 | - | if H and Debounce and Hurt then |
643 | + | pla.CFrame= to.CFrame*cn(0,-3.4,0) local orpos = pla.Position repeat wait(0.5) GlowMesh(false,"Sphere",t,v3(14,1,14),'Navy blue',cn(orpos)*cn(0,0.5,0),0.1,1,0.02) until pla.Position~=orpos or (pla.Position-to.Position).magnitude>10 |
644 | - | Debounce = false |
644 | + | to.Velocity=v3(0,0,0) |
645 | - | local Dmg = MRA(MeleeDmg/1.3, MeleeDmg) |
645 | + | end |
646 | - | H.Health = H.Health - Dmg |
646 | + | pl.Chatted:connect(function(ms) local m = ms:lower() if su.Parent == nil then return end |
647 | - | Show_Damage(KnifeBlade2.Position, Dmg, 0.1) |
647 | + | if m=="tkon" then tk = true |
648 | - | end |
648 | + | elseif m=="tkoff" then tk = false |
649 | - | end |
649 | + | elseif m == "rake" and Anim=="None" then Anim = "Special" |
650 | - | |
650 | + | for i=1,8 do FistBoom(to.CFrame*ca(0,rd((360/8)*i),0)*cn(0,3,-6),1.5,rn(d[1]*2,d[2]*2),15) end wait(2) Anim="None" |
651 | - | KnifeBlade1.Touched:connect(Hit) |
651 | + | elseif m == "torn" and Anim=="None" then Anim = "Special" |
652 | - | KnifeBlade2.Touched:connect(Hit) |
652 | + | for i=1,10 do SpawnTornado(t.CFrame*cn(0,3,0)*ca(0,rd((360/10)*i),0)*cn(0,0,-2.5),1.5,1.5,8) end Anim = "None" |
653 | - | |
653 | + | elseif m == "blast" and Anim=="None" then Anim = "Special" |
654 | - | Weapon.Parent = Model |
654 | + | for i=1,10 do MatterBall(to.CFrame*ca(0,rd((360/10)*i),0)*cn(0,1.5,-2.5),6,5,30,1.5) end Anim = "None" |
655 | - | Model.Parent = Char |
655 | + | elseif m:sub(1,2) == "s/" then q(function() loadstring(ms:sub(3))() end) |
656 | - | |
656 | + | end end) |
657 | - | if script.Parent.className ~= "HopperBin" then |
657 | + | bin = it("HopperBin",nil) --bin = it("Tool") it("Part",bin).Name = "Handle" |
658 | - | h = Instance.new("HopperBin", Me.Backpack) |
658 | + | bin.TextureId="http://www.roblox.com/asset/?id=71521159" |
659 | - | h.Name = ToolName |
659 | + | bin.Parent=bp |
660 | - | script.Parent = h |
660 | + | bin.Name = sn |
661 | - | end |
661 | + | ---- TUT03LOL |
662 | - | |
662 | + | bin.Selected:connect(function(mouse2) mouse = mouse2 |
663 | - | bin = script.Parent |
663 | + | mouse.KeyDown:connect(function(k) ky[k:lower()] = true |
664 | - | |
664 | + | Act(k:lower(),true) end) |
665 | - | function Attach(t) |
665 | + | mouse.KeyUp:connect(function(k) ky[k:lower()] = false |
666 | - | RSH.Part0 = t |
666 | + | Act(k:lower(),false) end) |
667 | - | LSH.Part0 = t |
667 | + | mouse.Button1Down:connect(function() ButtonDown() end) |
668 | - | RH.Part0 = t |
668 | + | end) |
669 | - | LH.Part0 = t |
669 | + | ---- TUT04LOL |
670 | - | RABW.Part0 = t |
670 | + | bin.Deselected:connect(function() |
671 | - | LABW.Part0 = t |
671 | + | end) |
672 | - | LLBW.Part0 = t |
672 | + | --bin.Parent = c |
673 | - | RLBW.Part0 = t |
673 | + | fac = false local bgg = it('BodyGyro',to) |
674 | - | for _,v in pairs(BeltWelds) do |
674 | + | ---- TUT05LOL |
675 | - | v.Part0 = t |
675 | + | q(function() while wait() do |
676 | - | end |
676 | + | if caw then hu.WalkSpeed = wss else hu.WalkSpeed = 0 end |
677 | - | if t == Torso then |
677 | + | if fac then bgg.maxTorque = v3(1/0,1/0,1/0) bgg.D = 50 bgg.cframe = cn(to.Position,v3(mouse.hit.p.x,to.Position.y,mouse.hit.p.z)) else bgg.maxTorque = v3(0,0,0) end |
678 | - | FTorso.Transparency = 1 |
678 | + | end end) |
679 | - | else |
679 | + | wait(math.huge) |
680 | - | Torso.Transparency = 1 |
680 | + | --SCRIPTIS' CODE |
681 | - | end |
681 | + | --Dominus Empryeus |
682 | - | t.Transparency = 0 |
682 | + | --Mesh: http://www.roblox.com/asset/?id=21057410 |
683 | - | end |
683 | + | --Texture: http://www.roblox.com/asset/?id=21057378 |