SHOW:
|
|
- or go back to the newest paste.
1 | - | me = game.Players.YOURNAME |
1 | + | --------------------------- |
2 | - | char = me.Character |
2 | + | local MaxMana = 5000000 -- Max Mana You Can Get |
3 | - | Selected = false |
3 | + | local Mana = 5000000 -- Mana You Start With |
4 | - | Able = true |
4 | + | local ManaGain = 40000 -- How Much Mana You Gain Per Second |
5 | - | Arrow = nil |
5 | + | --------------------------- |
6 | - | ArrowOn = false |
6 | + | repeat game:GetService('RunService').Stepped:wait() until game:GetService('Players').LocalPlayer.Character |
7 | - | Hurt = false |
7 | + | ----190470714 |
8 | - | Deb = true |
8 | + | ---- |
9 | - | Reloading = false |
9 | + | sit = true |
10 | - | Shooting = false |
10 | + | cn = CFrame.new |
11 | - | Slashing = false |
11 | + | v3 = Vector3.new |
12 | - | necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
12 | + | c3 = Color3.new |
13 | - | EffectOn = false |
13 | + | bn = BrickColor.new |
14 | - | Accuracy = 1 |
14 | + | ca2 = CFrame.Angles |
15 | - | SelAnim = false |
15 | + | ca = function(x,y,z) return ca2(math.rad(x),math.rad(y),math.rad(z)) end |
16 | - | DMG = 100 |
16 | + | ud2 = UDim2.new |
17 | - | |
17 | + | ---- |
18 | - | LapaCol = "Really red" |
18 | + | ---- |
19 | - | HandCol = "Really red" |
19 | + | local Player = game:GetService('Players').LocalPlayer |
20 | - | MiddleCol = "Really red" |
20 | + | local Char = Player.Character |
21 | - | ViiniCol = "Really red" |
21 | + | local Human = Char.Humanoid |
22 | - | |
22 | + | local Mouse = Player:GetMouse() |
23 | - | Icon = "http://www.roblox.com/asset/?id=51902588" |
23 | + | |
24 | - | |
24 | + | ---- |
25 | - | Keys = { |
25 | + | Human.WalkSpeed = 0 |
26 | - | e = false, |
26 | + | print ('Loading...') |
27 | - | } |
27 | + | wait(0) |
28 | - | |
28 | + | ---- |
29 | - | ModelName = "Epic Bow" |
29 | + | ---- |
30 | - | |
30 | + | local mananum=0 |
31 | - | CA = CFrame.Angles |
31 | + | la = Char['Left Arm'] |
32 | - | CN = CFrame.new |
32 | + | ra = Char['Right Arm'] |
33 | - | MR = math.rad |
33 | + | ll = Char['Left Leg'] |
34 | - | MP = math.pi |
34 | + | rl = Char['Right Leg'] |
35 | - | MRA = math.random |
35 | + | tr = Char['Torso'] |
36 | - | MH = math.huge |
36 | + | hd = Char['Head'] |
37 | - | |
37 | + | rp = Char['HumanoidRootPart'] |
38 | - | UD = UDim2.new |
38 | + | ---- |
39 | - | C3 = Color3.new |
39 | + | ---- |
40 | - | |
40 | + | ram = tr['Right Shoulder'] |
41 | - | MaximumPower = 200 |
41 | + | lam = tr['Left Shoulder'] |
42 | - | MaxSpecial = 100 |
42 | + | llm = tr['Left Hip'] |
43 | - | Special = MaxSpecial |
43 | + | rlm = tr['Right Hip'] |
44 | - | |
44 | + | hm = tr['Neck'] |
45 | - | Sounds = { |
45 | + | rj = rp['RootJoint'] |
46 | - | Slash = {"rbxasset://sounds//swordslash.wav", 1.2, 1}, |
46 | + | ---- |
47 | - | Shoot = {"http://www.roblox.com/asset/?id=16211041", 2, 1}, |
47 | + | ---- |
48 | - | Stick = {"http://www.roblox.com/asset/?id=2767090", 15, 1}, |
48 | + | InputService = game:GetService('UserInputService') |
49 | - | Hit = {"http://www.roblox.com/asset/?id=10209590", 0.9, 1}, |
49 | + | RunService = game:GetService('RunService') |
50 | - | Block = {"rbxasset://sounds\\metal.ogg", 1.4, 1}, |
50 | + | ---- |
51 | - | } |
51 | + | ---- |
52 | - | |
52 | + | it=Instance.new |
53 | - | function RC(Pos, Dir, Max, Ignore) |
53 | + | Torso=Char.Torso |
54 | - | return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999)), Ignore) |
54 | + | local fengui=it("GuiMain") |
55 | - | end |
55 | + | fengui.Parent=Player.PlayerGui |
56 | - | |
56 | + | fengui.Name="WeaponGUI" |
57 | - | function RayC(Start, En, MaxDist, Ignore) |
57 | + | local fenframe=it("Frame") |
58 | - | return RC(Start, (En - Start), MaxDist, Ignore) |
58 | + | fenframe.Parent=fengui |
59 | - | end |
59 | + | fenframe.BackgroundColor3=Color3.new(255,255,255) |
60 | - | |
60 | + | fenframe.BackgroundTransparency=1 |
61 | - | function DetectSurface(pos, part) |
61 | + | fenframe.BorderColor3=Color3.new(17,17,17) |
62 | - | local surface = nil |
62 | + | fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0) |
63 | - | local pospos = part.CFrame |
63 | + | fenframe.Position=UDim2.new(0.4,0,0.1,0) |
64 | - | local pos2 = pospos:pointToObjectSpace(pos) |
64 | + | local fenbarmana1=it("TextLabel") |
65 | - | local siz = part.Size |
65 | + | fenbarmana1.Parent=fenframe |
66 | - | local shaep = part.Shape |
66 | + | fenbarmana1.Text=" " |
67 | - | if shaep == Enum.PartType.Ball or shaep == Enum.PartType.Cylinder then |
67 | + | fenbarmana1.BackgroundTransparency=0 |
68 | - | surface = {"Anything", CN(pospos.p, pos)*CN(0, 0, -(pospos.p - pos).magnitude)*CA(MR(-90), 0, 0)} |
68 | + | fenbarmana1.BackgroundColor3=Color3.new(0,0,0) |
69 | - | else |
69 | + | fenbarmana1.SizeConstraint="RelativeXY" |
70 | - | if pos2.Y > ((siz.Y/2)-0.04) then |
70 | + | fenbarmana1.TextXAlignment="Center" |
71 | - | surface = {"Top", CA(0, 0, 0)} |
71 | + | fenbarmana1.TextYAlignment="Center" |
72 | - | elseif pos2.Y < -((siz.Y/2)-0.04) then |
72 | + | fenbarmana1.Position=UDim2.new(0,0,0,0) |
73 | - | surface = {"Bottom", CA(-MP, 0, 0)} |
73 | + | fenbarmana1.Size=UDim2.new(4,0,0.2,0) |
74 | - | elseif pos2.X > ((siz.X/2)-0.04) then |
74 | + | local fenbarmana2=it("TextLabel") |
75 | - | surface = {"Right", CA(0, 0, MR(-90))} |
75 | + | fenbarmana2.Parent=fenframe |
76 | - | elseif pos2.X < -((siz.X/2)-0.04) then |
76 | + | fenbarmana2.Text=" " |
77 | - | surface = {"Left", CA(0, 0, MR(90))} |
77 | + | fenbarmana2.BackgroundTransparency=0 |
78 | - | elseif pos2.Z > ((siz.Z/2)-0.04) then |
78 | + | fenbarmana2.BackgroundColor3=Torso.Color |
79 | - | surface = {"Back", CA(MR(90), 0, 0)} |
79 | + | fenbarmana2.SizeConstraint="RelativeXY" |
80 | - | elseif pos2.Z < -((siz.Z/2)-0.04) then |
80 | + | fenbarmana2.TextXAlignment="Center" |
81 | - | surface = {"Front", CA(MR(-90), 0, 0)} |
81 | + | fenbarmana2.TextYAlignment="Center" |
82 | - | end |
82 | + | fenbarmana2.Position=UDim2.new(0,0,0,0) |
83 | - | end |
83 | + | fenbarmana2.Size=UDim2.new(4*Mana/MaxMana,0,0.2,0) |
84 | - | return surface |
84 | + | local fenbarmana3=it("TextLabel") |
85 | - | end |
85 | + | fenbarmana3.Parent=fenframe |
86 | - | |
86 | + | fenbarmana3.Text=" " |
87 | - | function Compute(pos1, pos2) |
87 | + | fenbarmana3.BackgroundTransparency=0 |
88 | - | local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z) |
88 | + | fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3) |
89 | - | return CN(pos1, pos3) |
89 | + | fenbarmana3.SizeConstraint="RelativeXY" |
90 | - | end |
90 | + | fenbarmana3.TextXAlignment="Center" |
91 | - | |
91 | + | fenbarmana3.TextYAlignment="Center" |
92 | - | function Notime(func, tiem) |
92 | + | fenbarmana3.Position=UDim2.new(0,0,0,0) |
93 | - | if tiem then wait(tiem) end |
93 | + | fenbarmana3.Size=UDim2.new(0,0,0.2,0) |
94 | - | coroutine.resume(coroutine.create(function() func() end)) |
94 | + | local fenbarmana4=it("TextLabel") |
95 | - | end |
95 | + | fenbarmana4.Parent=fenframe |
96 | - | |
96 | + | fenbarmana4.Text="Energy("..Mana..")" |
97 | - | function waitChild(p, n) |
97 | + | fenbarmana4.BackgroundTransparency=1 |
98 | - | local child = p:findFirstChild(n) |
98 | + | fenbarmana4.BackgroundColor3=Color3.new(0,0,0) |
99 | - | if child then return child end |
99 | + | fenbarmana4.SizeConstraint="RelativeXY" |
100 | - | while true do |
100 | + | fenbarmana4.TextXAlignment="Center" |
101 | - | child = p.ChildAdded:wait() |
101 | + | fenbarmana4.TextYAlignment="Center" |
102 | - | if child.Name == n then return child end |
102 | + | fenbarmana4.Position=UDim2.new(0,0,-0.3,0) |
103 | - | end |
103 | + | fenbarmana4.Size=UDim2.new(4,0,0.2,0) |
104 | - | end |
104 | + | fenbarmana4.FontSize="Size9" |
105 | - | |
105 | + | fenbarmana4.TextStrokeTransparency=0 |
106 | - | function getHumanoid(c) |
106 | + | fenbarmana4.TextColor=BrickColor.new("White") |
107 | - | for _,v in pairs(c:children()) do |
107 | + | |
108 | - | if v:IsA("Humanoid") and c ~= char then if v.Health > 0 then return v end end |
108 | + | LastMade = nil |
109 | - | end |
109 | + | |
110 | - | end |
110 | + | xNew=function(Table) |
111 | - | |
111 | + | local Obj=Instance.new(Table[1]) |
112 | - | function SE(part, pos) |
112 | + | for Ind,Val in pairs(Table) do |
113 | - | EffectOn = true |
113 | + | if Ind~=1 and Ind~=2 then |
114 | - | local lastP = (part.CFrame * pos).p |
114 | + | Obj[Ind] = Val |
115 | - | Notime(function() |
115 | + | end |
116 | - | while EffectOn do |
116 | + | end |
117 | - | wait() |
117 | + | Obj.Parent=Table[2] |
118 | - | local posnow = (part.CFrame * pos).p |
118 | + | LastMade= Obj |
119 | - | local eff = Part(workspace, true, false, 0, 0, "White", 0.2, 1, 0.2) |
119 | + | return Obj |
120 | - | local magn = (lastP - posnow).magnitude |
120 | + | end |
121 | - | local cf = CN(lastP, posnow) * CA(MR(-90), 0, 0) |
121 | + | |
122 | - | local mes2 = Instance.new("SpecialMesh",eff) |
122 | + | xPart=function(tab) |
123 | - | mes2.Scale = Vector3.new(0.6, magn, 0.6) |
123 | + | local v=Instance.new(tab.type or "Part") |
124 | - | eff.CFrame = cf * CN(0, magn/2, 0) |
124 | + | if tab.type~="CornerWedgePart" then v.formFactor="Custom" end |
125 | - | Notime(function() |
125 | + | v.CanCollide=false |
126 | - | for i = 0, 1, 0.1 do |
126 | + | v.TopSurface=10 v.BottomSurface=10 v.RightSurface=10 v.LeftSurface=10 v.FrontSurface=10 v.BackSurface=10 |
127 | - | wait() |
127 | + | v.Size=v3(tab[2],tab[3],tab[4]) |
128 | - | eff.Transparency = i |
128 | + | if tab.co then v.BrickColor=bn(tab.co) end |
129 | - | eff.Reflectance = 0.15*i |
129 | + | if tab.tr then v.Transparency=tab.tr end |
130 | - | mes2.Scale = Vector3.new(0.6-0.6*i, magn, 0.6-0.6*i) |
130 | + | if tab.rf then v.Reflectance=tab.rf end |
131 | - | end |
131 | + | if tab.cf then v.CFrame=tab.cf end |
132 | - | eff:remove() |
132 | + | if tab.an then v.Anchored=tab.an end |
133 | - | end) |
133 | + | if tab.mt then v.Material=tab.mt end |
134 | - | lastP = posnow |
134 | + | if tab.ca then v.CanCollide=tab.ca end |
135 | - | end |
135 | + | v.Parent=tab[1] |
136 | - | end) |
136 | + | LastMade= v |
137 | - | end |
137 | + | return v |
138 | - | |
138 | + | end |
139 | - | function EE() |
139 | + | |
140 | - | EffectOn = false |
140 | + | xWeld = function(a,b,between,type) |
141 | - | end |
141 | + | local Weld = xNew{type or 'Weld',a,Part0 = a,Part1 = b, C0 = cn()} |
142 | - | |
142 | + | if between then |
143 | - | torso = waitChild(char, "Torso") |
143 | + | Weld.C1 = b.CFrame:inverse() * a.CFrame |
144 | - | Rarm = waitChild(char, "Right Arm") |
144 | + | else |
145 | - | Larm = waitChild(char, "Left Arm") |
145 | + | Weld.C1 = cn() |
146 | - | Rleg = waitChild(char, "Right Leg") |
146 | + | end |
147 | - | Lleg = waitChild(char, "Left Leg") |
147 | + | return Weld |
148 | - | Hum = waitChild(char, "Humanoid") |
148 | + | end |
149 | - | neck = waitChild(torso, "Neck") |
149 | + | |
150 | - | |
150 | + | function xSound(id,parent,pitch) |
151 | - | function EditGui(obj, parent, size, position, bgcolor, bordercolor, transparency, text, textcolor, auto) |
151 | + | local s = xNew{'Sound', PlayOnRemove = true, SoundId = 'http://roblox.com/asset/?id='..id,Pitch = pitch} |
152 | - | obj.Size = size |
152 | + | s.Parent = parent |
153 | - | obj.Position = position |
153 | + | s:Destroy() |
154 | - | obj.BackgroundColor3 = bgcolor |
154 | + | if id == 190470714 then |
155 | - | obj.BorderColor3 = bordercolor |
155 | + | s.Looped = true |
156 | - | obj.BackgroundTransparency = transparency |
156 | + | s.Name = "Music" |
157 | - | if obj:IsA("TextLabel") or obj:IsA("TextButton") then |
157 | + | end |
158 | - | obj.Text = text |
158 | + | end |
159 | - | obj.TextColor3 = textcolor |
159 | + | |
160 | - | end |
160 | + | ---- |
161 | - | if obj:IsA("ImageButton") or obj:IsA("TextButton") then |
161 | + | xSound(190470714,workspace,1.5) |
162 | - | obj.AutoButtonColor = auto |
162 | + | ---- |
163 | - | obj.MouseButton1Down:connect(function() |
163 | + | do local function QuaternionFromCFrame(cf) local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() local trace = m00 + m11 + m22 if trace > 0 then local s = math.sqrt(1 + trace) local recip = 0.5/s return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 else local i = 0 if m11 > m00 then i = 1 end if m22 > (i == 0 and m00 or m11) then i = 2 end if i == 0 then local s = math.sqrt(m00-m11-m22+1) local recip = 0.5/s return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip elseif i == 1 then local s = math.sqrt(m11-m22-m00+1) local recip = 0.5/s return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip elseif i == 2 then local s = math.sqrt(m22-m00-m11+1) local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip end end end local function QuaternionToCFrame(px, py, pz, x, y, z, w) local xs, ys, zs = x + x, y + y, z + z local wx, wy, wz = w*xs, w*ys, w*zs local xx = x*xs local xy = x*ys local xz = x*zs local yy = y*ys local yz = y*zs local zz = z*zs return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) end local function QuaternionSlerp(a, b, t) local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] local startInterp, finishInterp if cosTheta >= 0.0001 then if (1 - cosTheta) > 0.0001 then local theta = math.acos(cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((1-t)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = 1-t finishInterp = t end else if (1+cosTheta) > 0.0001 then local theta = math.acos(-cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((t-1)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = t-1 finishInterp = t end end return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp end function clerp(a,b,t) local qa = {QuaternionFromCFrame(a)} local qb = {QuaternionFromCFrame(b)} local ax, ay, az = a.x, a.y, a.z local bx, by, bz = b.x, b.y, b.z local _t = 1-t return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) end end |
164 | - | RemoveOptions() |
164 | + | function xlerp(weld,to,tim) |
165 | - | end) |
165 | + | if weld.C1 ~= to then |
166 | - | end |
166 | + | --weld.C1 = clerp(weld.C1,to,tim) |
167 | - | obj.Parent = parent |
167 | + | weld.C1 = weld.C1:lerp(to,tim) |
168 | - | end |
168 | + | end |
169 | - | |
169 | + | end |
170 | - | Gui = waitChild(me, "PlayerGui") |
170 | + | function lerp(a,b,c)return a+(b-a)*c end |
171 | - | |
171 | + | ---- |
172 | - | for _,v in pairs(Gui:children()) do |
172 | + | ---- |
173 | - | if v.Name == "Power" then v:remove() end |
173 | + | if Char:findFirstChild("Health") then |
174 | - | end |
174 | + | Char.Health:Destroy() |
175 | - | |
175 | + | end |
176 | - | Sc = Instance.new("ScreenGui", Gui) |
176 | + | wait(0) |
177 | - | Sc.Name = "Power" |
177 | + | ---- |
178 | - | |
178 | + | --hd.Mesh.Scale = Vector3.new(hd.Mesh.Scale.X * 3,hd.Mesh.Scale.Y * 3,hd.Mesh.Scale.Z * 3) |
179 | - | Main = Instance.new("TextLabel") |
179 | + | ra.Size = ra.Size * 4.5 |
180 | - | Main.Visible = false |
180 | + | la.Size = la.Size * 4.5 |
181 | - | EditGui(Main, Sc, UD(0, 200, 0, 65), UD(0.5, -100, 0, 120), C3(0.06, 0.06, 0.1), C3(), 0.5, "Power", C3(1, 1, 0)) |
181 | + | ll.Size = ll.Size * 4.5 |
182 | - | Main.TextYAlignment = "Top" |
182 | + | rl.Size = rl.Size * 4.5 |
183 | - | Main.FontSize = "Size36" |
183 | + | tr.Size = tr.Size * 4.5 |
184 | - | Main.Font = "ArialBold" |
184 | + | hd.Size = hd.Size * 4.5 |
185 | - | Main.TextTransparency = 0.5 |
185 | + | rp.Size = rp.Size * 4.5 |
186 | - | |
186 | + | -- |
187 | - | BarBack = Instance.new("Frame") |
187 | + | local tw = xWeld(rp,tr) |
188 | - | EditGui(BarBack, Main, UD(1, -10, 0, 25), UD(0, 5, 1, -30), C3(0, 0, 0), C3(), 0.5) |
188 | + | tw.C1 = cn(0,0,0) |
189 | - | |
189 | + | local law = xWeld(tr,la) |
190 | - | Bar = Instance.new("ImageLabel") |
190 | + | law.C0 = cn(-6.5,.7,0) |
191 | - | EditGui(Bar, BarBack, UD(0, 0, 1, 0), UD(0, 0, 0, 0), C3(1, 0.7, 0), C3(), 0.5) |
191 | + | law.C1 = cn(0,.7,0) |
192 | - | Bar.Image = "http://www.roblox.com/asset/?id=48965808" |
192 | + | local raw = xWeld(tr,ra) |
193 | - | |
193 | + | raw.C0 = cn(6.5,.7,0) |
194 | - | Spec = Instance.new("Frame") |
194 | + | raw.C1 = cn(0,.7,0) |
195 | - | EditGui(Spec, Sc, UD(0, 250, 0, 22), UD(0.04, 0, 0, 5), C3(1, 0.75, 0.1), C3(), 0) |
195 | + | local llw = xWeld(tr,ll) |
196 | - | |
196 | + | llw.C0 = cn(-2.5,-6,0) |
197 | - | SpecialBack = Instance.new("Frame") |
197 | + | llw.C1 = cn(0,3.5,0) |
198 | - | EditGui(SpecialBack, Spec, UD(1, -10, 1, -6), UD(0, 5, 0, 3), C3(0.35, 0.1, 0.15), C3(), 0) |
198 | + | local rlw = xWeld(tr,rl) |
199 | - | |
199 | + | rlw.C0 = cn(2.5,-6,0) |
200 | - | SpecialBar = Instance.new("ImageLabel") |
200 | + | rlw.C1 = cn(0,3.5,0) |
201 | - | EditGui(SpecialBar, SpecialBack, UD(Special/MaxSpecial, 0, 1, 0), UD(0, 0, 0, 0), C3(0.1, 0.65, 0.2), C3(), 0) |
201 | + | local hw = xWeld(tr,hd) |
202 | - | SpecialBar.Image = "http://www.roblox.com/asset/?id=48965808" |
202 | + | hw.C1 = cn(0,-6.5,0) |
203 | - | |
203 | + | ras = raw.C1 |
204 | - | for i = 1, 3, 1 do |
204 | + | las = law.C1 |
205 | - | local p = Instance.new("Frame") |
205 | + | lls = llw.C1 |
206 | - | EditGui(p, SpecialBack, UD(0, 1, 1, 0), UD(i/4, 0, 0, 0), C3(0.1, 0.2, 1), C3(), 0) |
206 | + | rls = rlw.C1 |
207 | - | p.BorderSizePixel = 0 |
207 | + | ts = tw.C1 |
208 | - | end |
208 | + | hs = hw.C1 |
209 | - | |
209 | + | ----- |
210 | - | SpecialText = Instance.new("TextLabel") |
210 | + | for _,Part in pairs(Char:GetChildren()) do |
211 | - | EditGui(SpecialText, SpecialBack, UD(1, 0, 1, 0), UD(0, 0, 0, 0), C3(), C3(), 1, "S P E C I A L", C3(1,1,1)) |
211 | + | if Part:IsA('BasePart') then |
212 | - | SpecialText.Font = "ArialBold" |
212 | + | Part.CustomPhysicalProperties = PhysicalProperties.new(0, .3, .5) |
213 | - | SpecialText.FontSize = "Size14" |
213 | + | end |
214 | - | |
214 | + | end |
215 | - | function Play(Sound) |
215 | + | -------------------------------------------------------- |
216 | - | local s = Instance.new("Sound") |
216 | + | -------------------------------------------------------- |
217 | - | s.SoundId = Sound[1] |
217 | + | -----------------------CONSTANTS------------------------ |
218 | - | s.Pitch = Sound[2] |
218 | + | -------------------------------------------------------- |
219 | - | s.Volume = Sound[3] |
219 | + | -------------------------------------------------------- |
220 | - | s.Parent = torso |
220 | + | REGEN_SPEED = 5 |
221 | - | s.PlayOnRemove = true |
221 | + | WEAPON_NAME = 'Grandark' |
222 | - | game.Debris:AddItem(s, 0.0001) |
222 | + | ---------------------------------------------------- |
223 | - | end |
223 | + | ---------------------------------------------------- |
224 | - | |
224 | + | -----------------------MODEL------------------------ |
225 | - | RSH = waitChild(torso, "Right Shoulder") |
225 | + | ---------------------------------------------------- |
226 | - | LSH = waitChild(torso, "Left Shoulder") |
226 | + | ---------------------------------------------------- |
227 | - | RH = waitChild(torso, "Right Hip") |
227 | + | local Handle |
228 | - | LH = waitChild(torso, "Left Hip") |
228 | + | local Blade |
229 | - | |
229 | + | local haw |
230 | - | for i,v in pairs(char:children()) do if v.Name == ModelName then v:remove() end end |
230 | + | Pack = Instance.new('Model', Char) |
231 | - | |
231 | + | Pack.Name = WEAPON_NAME |
232 | - | function Part(P, Anch, Coll, Tran, Ref, Col, X, Y, Z) |
232 | + | do |
233 | - | local p = Instance.new("Part") |
233 | + | Handle = xPart{Pack,0.54285717, 4.96428585, 1.02857149} Handle.BrickColor = BrickColor.new('Really black') Handle.Material = Enum.Material.Plastic haw = xWeld(ra,Handle) LastMade.C1 = ca(90,0,180)*cn(0,3,0) LastMade.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
234 | - | p.TopSurface = 0 |
234 | + | |
235 | - | p.BottomSurface = 0 |
235 | + | end |
236 | - | p.Transparency = Tran |
236 | + | has = haw.C1 |
237 | - | p.Reflectance = Ref |
237 | + | |
238 | - | p.CanCollide = Coll |
238 | + | for _,v in pairs(Pack:GetChildren()) do |
239 | - | p.Anchored = Anch |
239 | + | v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0) |
240 | - | p.BrickColor = BrickColor.new(Col) |
240 | + | end |
241 | - | p.formFactor = "Custom" |
241 | + | -------------------------------------------------------- |
242 | - | p.Size = Vector3.new(X,Y,Z) |
242 | + | -------------------------------------------------------- |
243 | - | p.Parent = P |
243 | + | -----------------------VARIABLES------------------------ |
244 | - | p.Locked = true |
244 | + | -------------------------------------------------------- |
245 | - | p:BreakJoints() |
245 | + | -------------------------------------------------------- |
246 | - | return p |
246 | + | State = 'Idle' |
247 | - | end |
247 | + | FallTime = 0 |
248 | - | |
248 | + | Walk = 0 |
249 | - | function Weld(P0, P1, X, Y, Z, A, B, C) |
249 | + | WalkReverse = false |
250 | - | local w = Instance.new("Weld") |
250 | + | StompDB = false |
251 | - | w.Part0 = P0 |
251 | + | JumpDB = false |
252 | - | w.Part1 = P1 |
252 | + | -- |
253 | - | w.C1 = CN(X, Y, Z) * CA(A, B, C) |
253 | + | function NewHitbox(Radius,Position) |
254 | - | w.Parent = P0 |
254 | + | local Returning = {} |
255 | - | return w |
255 | + | for _,v in pairs(workspace:GetChildren()) do |
256 | - | end |
256 | + | if v~=Char and v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') then |
257 | - | |
257 | + | local Mag = (v.Torso.Position - Position).magnitude |
258 | - | Mo = Instance.new("Model") |
258 | + | if Mag < Radius then |
259 | - | Mo.Name = ModelName |
259 | + | table.insert(Returning,v) |
260 | - | |
260 | + | end |
261 | - | FTorso = Part(Mo, false, false, 1, 0, torso.BrickColor.Name, torso.Size.X, torso.Size.Y, torso.Size.Z) |
261 | + | end |
262 | - | FWeld = Weld(torso, FTorso, 0, 0, 0, 0, 0, 0) |
262 | + | end |
263 | - | |
263 | + | return Returning |
264 | - | RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1) |
264 | + | end |
265 | - | LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1) |
265 | + | -- |
266 | - | RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1) |
266 | + | function UpdateState() |
267 | - | LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1) |
267 | + | if (rp.Velocity*v3(1, 0, 1)).magnitude > 5 then |
268 | - | |
268 | + | if State == 'Idle' then State = 'Walking' end |
269 | - | RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0) |
269 | + | else |
270 | - | LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0) |
270 | + | if State == 'Walking' then State = 'Idle' end |
271 | - | RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0) |
271 | + | end |
272 | - | LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0) |
272 | + | if WalkReverse then |
273 | - | |
273 | + | Walk = Walk - .5 |
274 | - | function Atch(p) |
274 | + | else |
275 | - | RABW.Part0 = p |
275 | + | Walk = Walk + .5 |
276 | - | LABW.Part0 = p |
276 | + | end |
277 | - | RLBW.Part0 = p |
277 | + | if Walk >= 10 then |
278 | - | LLBW.Part0 = p |
278 | + | WalkReverse = true |
279 | - | RSH.Part0 = p |
279 | + | elseif Walk <= -10 then |
280 | - | LSH.Part0 = p |
280 | + | WalkReverse = false |
281 | - | RH.Part0 = p |
281 | + | end |
282 | - | LH.Part0 = p |
282 | + | end |
283 | - | end |
283 | + | -- |
284 | - | |
284 | + | function JumpExplode() |
285 | - | RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0) |
285 | + | local Hit = NewHitbox(35,Char.Torso.Position) |
286 | - | LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0) |
286 | + | for _,v in pairs(Hit) do |
287 | - | RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0) |
287 | + | v.Humanoid.MaxHealth = 100 |
288 | - | LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0) |
288 | + | v.Humanoid.Health = v.Humanoid.Health - 1000000000 |
289 | - | |
289 | + | if sit then |
290 | - | HB = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1) |
290 | + | v.Humanoid.Sit = true |
291 | - | HBW = Weld(Larm, HB, 0, 1, 0, 0, 0, 0) |
291 | + | end |
292 | - | HW = Weld(HB, nil, 0, 0, 0, MR(90), 0, 0) |
292 | + | end |
293 | - | |
293 | + | xSound('2233908',tr,1) |
294 | - | AB = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1) |
294 | + | coroutine.wrap(function() |
295 | - | ABW = Weld(Rarm, AB, 0, 1, 0, 0, 0, 0) |
295 | + | local Explosion = xNew{'Part',Char,Anchored = true,CanCollide = false,FormFactor = 'Custom',BrickColor = bn('Earth green')} |
296 | - | AW = Weld(AB, nil, 0, 0, 0, 0, 0, 0) |
296 | + | local Mesh = xNew{'SpecialMesh', Explosion,MeshType = 'FileMesh', MeshId = 'http://www.roblox.com/asset/?id=20329976'} |
297 | - | |
297 | + | Explosion.CFrame = Char.Torso.CFrame * cn(0,-20,0) |
298 | - | TW = Weld(torso, nil, -0.7, 0, 0.5, 0, MP, 0) |
298 | + | Mesh.Scale = v3(1,7,1) |
299 | - | |
299 | + | repeat |
300 | - | Handle = Part(Mo, false, false, 0, 0, HandCol, 0.6, 1.2, 0.6) |
300 | + | Mesh.Scale = Mesh.Scale + v3(1,0,1) |
301 | - | Instance.new("SpecialMesh",Handle) |
301 | + | Explosion.Transparency = Explosion.Transparency + .025 |
302 | - | TW.Part1 = Handle |
302 | + | wait() |
303 | - | |
303 | + | until Explosion.Transparency >= 1 |
304 | - | for i = -0.6, 0.61, 1.2 do |
304 | + | Explosion:Destroy() |
305 | - | local p = Part(Mo, false, false, 0, 0, MiddleCol, 0.7, 0.2, 1.1) |
305 | + | end)() |
306 | - | Weld(Handle, p, 0, i, 0.15, 0, 0, 0) |
306 | + | end |
307 | - | Instance.new("BlockMesh", p) |
307 | + | -- |
308 | - | end |
308 | + | function Stomp() |
309 | - | |
309 | + | if State == 'Walking' or State == 'Idle' then |
310 | - | local UpPoint, DownPoint |
310 | + | if StompDB == false then |
311 | - | |
311 | + | StompDB = true |
312 | - | for i = -10, 95, 15 do |
312 | + | State = 'Attacking' |
313 | - | local p = Part(Mo, false, false, 0, 0, LapaCol, 0.69, 0.4, 0.2) |
313 | + | Human.WalkSpeed = 0 |
314 | - | local w = Weld(Handle, p, 0, 0, 1.4, 0, 0, 0) |
314 | + | -- |
315 | - | w.C0 = CN(0, 1.1, 0.75) * CA(MR(i), 0, 0) |
315 | + | xSound('138186576',Char.Head,1) |
316 | - | Instance.new("BlockMesh", p) |
316 | + | for _=0,1,.05 do |
317 | - | UpPoint = p |
317 | + | xlerp(tw,ts,.2) |
318 | - | end |
318 | + | xlerp(hw,hs*ca(40,0,0)*cn(0,-1,-1.5),.2) |
319 | - | |
319 | + | xlerp(rlw,rls*ca(20,0,0),.2) |
320 | - | for i = 10, -95, -15 do |
320 | + | xlerp(llw,lls*cn(0,-2,1.25),.2) |
321 | - | local p = Part(Mo, false, false, 0, 0, LapaCol, 0.69, 0.4, 0.2) |
321 | + | xlerp(raw,ras*ca(20,0,-20)*cn(-.5,-.5,0),.2) |
322 | - | local w = Weld(Handle, p, 0, 0, 1.4, 0, 0, 0) |
322 | + | xlerp(law,las*ca(20,0,0),.2) |
323 | - | w.C0 = CN(0, -1.1, 0.75) * CA(MR(i), 0, 0) |
323 | + | wait() |
324 | - | Instance.new("BlockMesh", p) |
324 | + | end |
325 | - | DownPoint = p |
325 | + | coroutine.wrap(function() |
326 | - | end |
326 | + | local Explosion = xNew{'Part',Char,Anchored = true,CanCollide = false,FormFactor = 'Custom',BrickColor = bn('Earth green')} |
327 | - | |
327 | + | local Mesh = xNew{'SpecialMesh', Explosion,MeshType = 'FileMesh', MeshId = 'http://www.roblox.com/asset/?id=3270017'} |
328 | - | StringUp = Part(Mo, false, false, 0, 0, "White", 0.2, 1, 0.2) |
328 | + | Explosion.CFrame = rp.CFrame * cn(0,-7,0)*ca(90,0,0) |
329 | - | StringDown = Part(Mo, false, false, 0, 0, "White", 0.2, 1, 0.2) |
329 | + | Mesh.Scale = v3(5,5,10) |
330 | - | |
330 | + | repeat |
331 | - | SUM = Instance.new("SpecialMesh", StringUp) |
331 | + | Mesh.Scale = Mesh.Scale + v3(2,2,.5) |
332 | - | SDM = Instance.new("SpecialMesh", StringDown) |
332 | + | Explosion.Transparency = Explosion.Transparency + .01 |
333 | - | SUM.Scale = Vector3.new(0.4, 2.4, 0.4) |
333 | + | wait() |
334 | - | SDM.Scale = Vector3.new(0.4, 2.4, 0.4) |
334 | + | until Explosion.Transparency >= 1 |
335 | - | |
335 | + | Explosion:Destroy() |
336 | - | ORSU = CN(0, -1.3, 0) * CA(MR(-85), 0, 0) |
336 | + | end)() |
337 | - | ORSD = CN(0, 1.3, 0) * CA(MR(85), 0, 0) |
337 | + | coroutine.wrap(function() |
338 | - | |
338 | + | local Already = {} |
339 | - | SUW = Weld(UpPoint, StringUp, 0, -1.3, 0, MR(-85), 0, 0) |
339 | + | for i=1,50,2 do |
340 | - | SDW = Weld(DownPoint, StringDown, 0, 1.3, 0, MR(85), 0, 0) |
340 | + | wait(.1) |
341 | - | SUW.C0 = CN(0, 0.15, 0) |
341 | + | local Hit = NewHitbox(i*2,Char.Torso.Position) |
342 | - | SDW.C0 = CN(0, -0.15, 0) |
342 | + | for _,v in pairs(Hit) do |
343 | - | SUW.C1 = ORSU |
343 | + | if not Already[v] then |
344 | - | SDW.C1 = ORSD |
344 | + | v.Humanoid.MaxHealth = 100 |
345 | - | |
345 | + | v.Humanoid.Health = v.Humanoid.Health - 300000000000 |
346 | - | Arrow = Part(Mo, false, false, 1, 0, "Brown", 0.4, 0.4, 4.4) |
346 | + | if sit then |
347 | - | local mesh = Instance.new("SpecialMesh",Arrow) |
347 | + | v.Humanoid.Sit = true |
348 | - | mesh.MeshId = "http://www.roblox.com/asset/?id=15887356" |
348 | + | end |
349 | - | mesh.TextureId = "http://www.roblox.com/asset/?id=15886781" |
349 | + | Already[v] = true |
350 | - | mesh.Scale = Vector3.new(1, 1, 2.1) |
350 | + | end |
351 | - | AW.Part1 = Arrow |
351 | + | end |
352 | - | |
352 | + | end |
353 | - | |
353 | + | end)() |
354 | - | Ring = Part(Mo, false, false, 0, 0, ViiniCol, 0.2, 0.2, 0.2) |
354 | + | --attack |
355 | - | RingM = Instance.new("SpecialMesh", Ring) |
355 | + | for _=0,1,.05 do |
356 | - | RingM.MeshId = "http://www.roblox.com/asset/?id=3270017" |
356 | + | xlerp(tw,ts,.3) |
357 | - | RingM.Scale = Vector3.new(0.6, 1, 21) |
357 | + | xlerp(hw,hs*ca(40,0,0)*cn(0,-1,-1.5),.3) |
358 | - | local www = Weld(FTorso, Ring, -0.9, -0.2, -0.8, MR(90), MR(90), MR(30)) |
358 | + | xlerp(rlw,rls*ca(20,0,0),.3) |
359 | - | www.C0 = CA(MR(-10), 0, 0) |
359 | + | xlerp(llw,lls*cn(0,0,1.25),.3) |
360 | - | |
360 | + | xlerp(raw,ras*ca(20,0,-20)*cn(-.5,-.5,0),.3) |
361 | - | Sp = Part(Mo, false, false, 0, 0, "Black", 1, 0.2, 1) |
361 | + | xlerp(law,las*ca(20,0,0),.3) |
362 | - | local S = Instance.new("SpecialMesh",Sp) |
362 | + | wait() |
363 | - | S.MeshType = "Sphere" |
363 | + | end |
364 | - | S.Scale = Vector3.new(0.65, 1, 1.05) |
364 | + | State = 'Idle' |
365 | - | Weld(Ring, Sp, 0, 1.7, 0, MR(-90), 0, 0) |
365 | + | Human.WalkSpeed = 50 |
366 | - | |
366 | + | coroutine.wrap(function() |
367 | - | function makeArrow(pos, ang) |
367 | + | wait(0) |
368 | - | local arrow = Part(Mo, false, false, 0, 0, "Brown", 0.2, 1, 0.2) |
368 | + | StompDB = false |
369 | - | local mesh = Instance.new("SpecialMesh",arrow) |
369 | + | end)() |
370 | - | mesh.MeshId = "http://www.roblox.com/asset/?id=15887356" |
370 | + | end |
371 | - | mesh.TextureId = "http://www.roblox.com/asset/?id=15886781" |
371 | + | end |
372 | - | mesh.Scale = Vector3.new(1, 1, 2.1) |
372 | + | end |
373 | - | Weld(Ring, arrow, pos.x, pos.y, pos.z, MP, 0, ang) |
373 | + | -- |
374 | - | end |
374 | + | function Charge() |
375 | - | |
375 | + | if State == 'Walking' or State == 'Idle' then |
376 | - | makeArrow(Vector3.new(0.15, 0.1, 0.55), 0.8) |
376 | + | State = 'Charge' |
377 | - | makeArrow(Vector3.new(-0.2, -0.1, 0.65), -0.4) |
377 | + | for _, controller in pairs(game:GetService("ControllerService"):GetChildren()) do |
378 | - | makeArrow(Vector3.new(-0.1, 0.1, 0.6), 1.8) |
378 | + | controller.Parent = workspace |
379 | - | makeArrow(Vector3.new(-0.1, -0.15, 0.7), 1.2) |
379 | + | end |
380 | - | makeArrow(Vector3.new(0, 0.3, 0.6), 0.28) |
380 | + | local function Exp() |
381 | - | makeArrow(Vector3.new(0, 0, 0.65), 0.34) |
381 | + | local Explosion = xNew{'Part',Char,Anchored = true,CanCollide = false,FormFactor = 'Custom',BrickColor = bn('White')} |
382 | - | makeArrow(Vector3.new(0.3, 0.1, 0.55), 1.9) |
382 | + | local Mesh = xNew{'SpecialMesh', Explosion,MeshType = 'FileMesh', MeshId = 'http://www.roblox.com/asset/?id=20329976'} |
383 | - | makeArrow(Vector3.new(-0.35, 0.1, 0.67), 1.9) |
383 | + | Explosion.CFrame = rp.CFrame * cn(0,0,-15)*ca(70,0,0) |
384 | - | |
384 | + | Mesh.Scale = v3(1,6,1) |
385 | - | Mo.Parent = char |
385 | + | repeat |
386 | - | |
386 | + | Char.Head.Velocity=Char.Head.CFrame.lookVector*100 |
387 | - | function Normal() |
387 | + | Mesh.Scale = Mesh.Scale + v3(1,.5,1) |
388 | - | FTorso.Transparency = 1 |
388 | + | Explosion.Transparency = Explosion.Transparency + .05 |
389 | - | FWeld.C0 = CN() |
389 | + | wait() |
390 | - | torso.Transparency = 0 |
390 | + | until Explosion.Transparency >= 1 |
391 | - | LAW.C0 = CA(0, 0, MR(30)) |
391 | + | Explosion:Destroy() |
392 | - | RAW.Part1 = nil |
392 | + | end |
393 | - | RAW.C0 = CN() |
393 | + | coroutine.wrap(function() |
394 | - | RAW.C1 = CN(0, 0.5, 0) |
394 | + | wait(0) |
395 | - | LAW.C1 = CN(0, 0.5, 0) |
395 | + | Human.WalkSpeed = 80 |
396 | - | LAW.Part1 = Larm |
396 | + | Char.Head.Velocity=Char.Head.CFrame.lookVector*200 |
397 | - | RABW.Part0 = torso |
397 | + | for _=1, 10 do |
398 | - | LABW.Part0 = torso |
398 | + | coroutine.wrap(Exp)() |
399 | - | RLBW.Part0 = torso |
399 | + | local Hit = NewHitbox(10,Char.Torso.Position) |
400 | - | LLBW.Part0 = torso |
400 | + | for _,v in pairs(Hit) do |
401 | - | RSH.Part0 = torso |
401 | + | v.Humanoid.MaxHealth = 100 |
402 | - | LSH.Part0 = torso |
402 | + | v.Humanoid.Health = v.Humanoid.Health - 100000000000 |
403 | - | RH.Part0 = torso |
403 | + | end |
404 | - | LH.Part0 = torso |
404 | + | wait(0) |
405 | - | AW.C0 = CN() |
405 | + | xSound('10730819',tr,.8) |
406 | - | HW.C0 = CA(MR(180), 0, MR(150)) |
406 | + | Char.Head.Velocity=Char.Head.CFrame.lookVector*100 |
407 | - | SUW.C0 = CN(0, 0.15, 0) |
407 | + | end |
408 | - | SDW.C0 = CN(0, -0.15, 0) |
408 | + | Human.WalkSpeed = 50 |
409 | - | SUW.C1 = ORSU |
409 | + | State = 'Idle' |
410 | - | SDW.C1 = ORSD |
410 | + | end)() |
411 | - | SUM.Scale = Vector3.new(0.4, 2.4, 0.4) |
411 | + | -- |
412 | - | SDM.Scale = Vector3.new(0.4, 2.4, 0.4) |
412 | + | for _=0,1,.05 do |
413 | - | end |
413 | + | Char.Head.Velocity=Char.Head.CFrame.lookVector*100 |
414 | - | |
414 | + | xlerp(tw,ts*ca(0,-90,0),.4) |
415 | - | if script.Parent.className ~= "HopperBin" then |
415 | + | xlerp(hw,hs*ca(0,90,0),.4) |
416 | - | h = Instance.new("HopperBin", me.Backpack) |
416 | + | xlerp(raw,ras*ca(-90,0,-90)*cn(0,-1,0),.4) |
417 | - | h.Name = "xBow" |
417 | + | xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.4) |
418 | - | script.Parent = h |
418 | + | xlerp(rlw,rls*ca(0,0,10)*cn(1,0,0),.4) |
419 | - | end |
419 | + | xlerp(llw,lls*ca(0,0,10)*cn(1,0,0),.4) |
420 | - | |
420 | + | wait() |
421 | - | bin = script.Parent |
421 | + | end |
422 | - | |
422 | + | -- |
423 | - | function ShowDmg(pos, dmg) |
423 | + | end |
424 | - | local col = "Bright red" |
424 | + | end |
425 | - | if dmg < 1 then |
425 | + | function Combo() |
426 | - | col = "Bright blue" |
426 | + | if State == 'Idle' or State == 'Walking' then |
427 | - | end |
427 | + | State = 'Attacking' |
428 | - | local m = Instance.new("Model") |
428 | + | Human.WalkSpeed = 3 |
429 | - | m.Name = dmg |
429 | + | for _=0,1,.2 do |
430 | - | local p = Part(m, false, false, 0, 0, col, 0.8, 0.3, 0.8) |
430 | + | xlerp(tw,ts*ca(0,20,0),.4) |
431 | - | p.Name = "Head" |
431 | + | xlerp(hw,hs*ca(0,30,0),.4) |
432 | - | p.CFrame = CFrame.new(pos) |
432 | + | xlerp(raw,ras*ca(0,180,-90)*cn(-1,-1,0),.4) |
433 | - | local bp = Instance.new("BodyPosition", p) |
433 | + | xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.4) |
434 | - | bp.position = pos + Vector3.new(0, 2.5, 0) |
434 | + | xlerp(rlw,rls*ca(20,0,0)*cn(0,0,-1),.4) |
435 | - | bp.P = 6500 |
435 | + | xlerp(llw,lls*cn(0,0,1.25),.4) |
436 | - | bp.maxForce = Vector3.new(MH, MH, MH) |
436 | + | wait() |
437 | - | local h = Instance.new("Humanoid",m) |
437 | + | end |
438 | - | h.MaxHealth = 0 |
438 | + | local Already = {} |
439 | - | h.Health = 0 |
439 | + | xSound('231731980',tr,1.3) |
440 | - | h.Name = "fffsaf" |
440 | + | for _=0,1,.1 do |
441 | - | m.Parent = workspace |
441 | + | xlerp(tw,ts*ca(0,-30,0),.4) |
442 | - | game.Debris:AddItem(m, 1.5) |
442 | + | xlerp(hw,hs*ca(0,-50,0),.4) |
443 | - | end |
443 | + | xlerp(raw,ras*ca(160,180,-130)*cn(2,-1,1),.4) |
444 | - | |
444 | + | xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.4) |
445 | - | function Dmg(hum, dmg, pos) |
445 | + | xlerp(rlw,rls*ca(20,0,0)*cn(0,0,-1),.4) |
446 | - | if hum.Health > 0 then |
446 | + | xlerp(llw,lls*cn(0,0,1.25),.4) |
447 | - | hum.Health = hum.Health - dmg |
447 | + | xlerp(haw,has*ca(40,0,0),.4) |
448 | - | ShowDmg(pos, dmg) |
448 | + | wait() |
449 | - | end |
449 | + | local Hit = NewHitbox(15,(Blade.CFrame).p) |
450 | - | end |
450 | + | for _,v in pairs(Hit) do |
451 | - | |
451 | + | if not Already[v] then |
452 | - | function ArrowT(hit) |
452 | + | v.Humanoid.MaxHealth = 100 |
453 | - | local h = getHumanoid(hit.Parent) |
453 | + | v.Humanoid.Health = v.Humanoid.Health - 300000000000 |
454 | - | if h and Deb and Hurt then |
454 | + | Already[v] = true |
455 | - | Deb = false |
455 | + | end |
456 | - | Dmg(h, MRA(3,15), Arrow.CFrame * CN(0, 0, 2.2).p) |
456 | + | end |
457 | - | end |
457 | + | end |
458 | - | end |
458 | + | ----Combo2 |
459 | - | |
459 | + | for _=0,1,.2 do |
460 | - | Arrow.Touched:connect(ArrowT) |
460 | + | xlerp(tw,ts*ca(0,-35,0),.4) |
461 | - | |
461 | + | xlerp(haw,has,.4) |
462 | - | function SelectAnim() |
462 | + | xlerp(hw,hs*ca(0,-30,0),.4) |
463 | - | LAW.Part1 = Larm |
463 | + | xlerp(raw,ras*ca(-120,0,-70)*cn(1,-1,0),.4) |
464 | - | SelAnim = true |
464 | + | xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.4) |
465 | - | for i = 0.2, 1, 0.2 do |
465 | + | xlerp(rlw,rls*ca(20,0,0)*cn(0,0,-1),.4) |
466 | - | LAW.C0 = CA(MR(-25*i), 0, MR(25*i)) * CN(0, 0.2*i, 0) |
466 | + | xlerp(llw,lls*cn(0,0,1.25),.4) |
467 | - | wait() |
467 | + | wait() |
468 | - | end |
468 | + | end |
469 | - | HW.C0 = CN(0.4, 0.3, 0) * CA(MR(110), MR(-100), MR(180)) |
469 | + | xSound('231731980',tr,1) |
470 | - | HW.Part1 = Handle |
470 | + | local Already = {} |
471 | - | TW.Part1 = nil |
471 | + | for _=0,1,.1 do |
472 | - | for i = 0.08, 1, 0.08 do |
472 | + | xlerp(tw,ts*ca(0,20,0),.4) |
473 | - | LAW.C0 = CA(MR(-25+25*i), 0, MR(25-55*i)) * CN(0, 0.2-0.2*i, 0) |
473 | + | xlerp(hw,hs*ca(0,30,0),.4) |
474 | - | HW.C0 = CN(0.4-0.4*i, 0.3-0.3*i, 0) * CA(MR(110+70*i), MR(-20+20*i), MR(180-30*i)) |
474 | + | xlerp(raw,ras*ca(30,0,-90)*cn(0,-1,0),.4) |
475 | - | wait() |
475 | + | xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.4) |
476 | - | end |
476 | + | xlerp(rlw,rls*ca(20,0,0)*cn(0,0,-1),.4) |
477 | - | SelAnim = false |
477 | + | xlerp(llw,lls*cn(0,0,1.25),.4) |
478 | - | HW.C0 = CA(MR(180), 0, MR(150)) |
478 | + | wait() |
479 | - | end |
479 | + | local Hit = NewHitbox(15,(Blade.CFrame).p) |
480 | - | |
480 | + | for _,v in pairs(Hit) do |
481 | - | function DeselectAnim() |
481 | + | if not Already[v] then |
482 | - | for i = 0.12, 1, 0.12 do |
482 | + | v.Humanoid.MaxHealth = 100 |
483 | - | LAW.C0 = CA(MR(-25*i), 0, MR(-30+55*i)) * CN(0, 0.2*i, 0) |
483 | + | v.Humanoid.Health = v.Humanoid.Health - 3000000000000 |
484 | - | HW.C0 = CN(0.4*i, 0.3*i, 0) * CA(MR(180-70*i), MR(-20*i), MR(150+30*i)) |
484 | + | Already[v] = true |
485 | - | if SelAnim or Selected then return end |
485 | + | end |
486 | - | wait() |
486 | + | end |
487 | - | end |
487 | + | end |
488 | - | HW.Part1 = nil |
488 | + | --Combo 3 |
489 | - | TW.Part1 = Handle |
489 | + | for _=0,1,.1 do |
490 | - | for i = 0.12, 1, 0.12 do |
490 | + | xlerp(tw,ts,.3) |
491 | - | LAW.C0 = CA(MR(-25+25*i), 0, MR(-30+55-25*i)) * CN(0, 0.2-0.2*i, 0) |
491 | + | xlerp(hw,hs,.3) |
492 | - | if SelAnim or Selected then return end |
492 | + | xlerp(haw,has,.3) |
493 | - | wait() |
493 | + | xlerp(raw,ras*ca(-140,0,0)*cn(0,-1.5,0),.3) |
494 | - | end |
494 | + | xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.3) |
495 | - | if Selected == false and SelAnim == false then |
495 | + | xlerp(rlw,rls*ca(20,0,0)*cn(0,0,-1),.3) |
496 | - | LAW.Part1 = nil |
496 | + | xlerp(llw,lls*cn(0,0,1.25),.4) |
497 | - | end |
497 | + | wait() |
498 | - | end |
498 | + | end |
499 | - | |
499 | + | xSound('231731980',tr,.8) |
500 | - | function Slash() |
500 | + | local Already = {} |
501 | - | RAW.Part1 = Rarm |
501 | + | for _=0,1,.1 do |
502 | - | Slashing = true |
502 | + | xlerp(tw,ts*ca(15,0,0)*cn(0,1.5,0),.4) |
503 | - | Play(Sounds.Slash) |
503 | + | xlerp(hw,hs,.4) |
504 | - | for i = 0.15, 1, 0.15 do |
504 | + | xlerp(raw,ras*ca(-20,0,0)*cn(0,0,0),.4) |
505 | - | RAW.C0 = CA(MR(180*i), MR(-20*i), MR(35*i)) |
505 | + | xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.4) |
506 | - | AW.C0 = CA(MR(35*i), 0, 0) * CN(0, 0, 0.7*i) |
506 | + | xlerp(haw,has*ca(20,0,0),.4) |
507 | - | wait() |
507 | + | wait() |
508 | - | end |
508 | + | local Hit = NewHitbox(10,(Blade.CFrame).p) |
509 | - | for i = 0.33, 1, 0.33 do |
509 | + | for _,v in pairs(Hit) do |
510 | - | RAW.C0 = CA(MR(180+10*i), MR(-20), MR(35+2*i)) |
510 | + | if not Already[v] then |
511 | - | AW.C0 = CA(MR(35+5*i), 0, 0) * CN(0, 0, 0.7+0.2*i) |
511 | + | v.Humanoid.MaxHealth = 100 |
512 | - | wait() |
512 | + | v.Humanoid.Health = v.Humanoid.Health - 300000000000 |
513 | - | end |
513 | + | Already[v] = true |
514 | - | local blockk = false |
514 | + | end |
515 | - | local hit, pos = RayC(torso.Position, torso.CFrame * CN(0, 0, -5).p, 3.2, char) |
515 | + | end |
516 | - | if hit ~= nil then |
516 | + | end |
517 | - | if getHumanoid(hit.Parent) == nil and hit.CanCollide == true then |
517 | + | wait(.2) |
518 | - | blockk = true |
518 | + | State = 'Idle' |
519 | - | end |
519 | + | Human.WalkSpeed = 50 |
520 | - | end |
520 | + | end |
521 | - | SE(Arrow, CN(0, 0, 2.2)) |
521 | + | end |
522 | - | if blockk == false then |
522 | + | -- |
523 | - | Hurt = true |
523 | + | function SwordSlam() |
524 | - | Deb = true |
524 | + | if State == 'Walking' or State == 'Idle' then |
525 | - | for i = 0.2, 1, 0.2 do |
525 | + | State = 'Attacking' |
526 | - | RAW.C0 = CA(MR(190-140*i), MR(-20-5*i), MR(37-87*i)) * CN(0, -1*i, 0) |
526 | + | Human.WalkSpeed = 0 |
527 | - | AW.C0 = CA(MR(40-25*i), MR(-20*i), 0) * CN(0, 0, 0.9+0.3*i) |
527 | + | for _=0,1,.05 do |
528 | - | wait() |
528 | + | xlerp(tw,ts,.2) |
529 | - | end |
529 | + | xlerp(hw,hs,.2) |
530 | - | EE() |
530 | + | xlerp(raw,ras*ca(-140,0,0)*cn(0,-1.5,0),.2) |
531 | - | Hurt = false |
531 | + | xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.2) |
532 | - | for i = 0.33, 1, 0.33 do |
532 | + | xlerp(rlw,rls*ca(20,0,0)*cn(0,0,-1),.2) |
533 | - | RAW.C0 = CA(MR(50-10*i), MR(-25), MR(-50-5*i)) * CN(0, -1, 0) |
533 | + | xlerp(llw,lls*cn(0,0,1.25),.2) |
534 | - | AW.C0 = CA(MR(15-20*i), MR(-20-1*i), 0) * CN(0, 0, 1.2*i) |
534 | + | wait() |
535 | - | wait() |
535 | + | end |
536 | - | end |
536 | + | coroutine.wrap(function() |
537 | - | for i = 0.25, 1, 0.25 do |
537 | + | wait() |
538 | - | RAW.C0 = CA(MR(40-10*i), MR(-25+25*i), MR(-55+35*i)) * CN(0, -1+1*i, 0) |
538 | + | xSound('10730819',tr,.5) |
539 | - | AW.C0 = CA(MR(-5+55*i), MR(-21+21*i), 0) * CN(0, 0, 1.2-1.2*i) |
539 | + | local Explosion = xNew{'Part',Char,Anchored = true,CanCollide = false,FormFactor = 'Custom',BrickColor = bn('dsasda')} |
540 | - | wait() |
540 | + | local Mesh = xNew{'SpecialMesh', Explosion,MeshType = 'FileMesh', MeshId = 'http://www.roblox.com/asset/?id=20329976'} |
541 | - | end |
541 | + | Explosion.CFrame = rp.CFrame * cn(0,-5,-20) |
542 | - | for i = 0.25, 1, 0.25 do |
542 | + | Mesh.Scale = v3(1,5,1) |
543 | - | RAW.C0 = CA(MR(30-30*i), 0, MR(-20+20*i)) |
543 | + | repeat |
544 | - | AW.C0 = CA(MR(50-50*i), 0, 0) |
544 | + | Mesh.Scale = Mesh.Scale + v3(1,1,1) |
545 | - | wait() |
545 | + | Explosion.Transparency = Explosion.Transparency + .025 |
546 | - | end |
546 | + | wait() |
547 | - | else |
547 | + | until Explosion.Transparency >= 1 |
548 | - | for i = 0.5, 1, 0.5 do |
548 | + | Explosion:Destroy() |
549 | - | RAW.C0 = CA(MR(190-50*i), MR(-20-5*i), MR(37-27*i)) * CN(0, -0.2*i, 0) |
549 | + | end)() |
550 | - | AW.C0 = CA(MR(40-5*i), MR(-5*i), 0) * CN(0, 0, 0.9+0.1*i) |
550 | + | for _=0,1,.15 do |
551 | - | wait() |
551 | + | xlerp(tw,ts*ca(15,0,0)*cn(0,1.5,0),.4) |
552 | - | end |
552 | + | xlerp(hw,hs,.4) |
553 | - | Play(Sounds.Block) |
553 | + | xlerp(raw,ras*ca(-20,0,0)*cn(0,0,0),.4) |
554 | - | for i = 0.25, 1, 0.25 do |
554 | + | xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.4) |
555 | - | RAW.C0 = CA(MR(140+60*i), MR(-25+25*i), MR(10+20*i)) * CN(0, -0.2-0.3*i, 0) |
555 | + | xlerp(haw,has*ca(20,0,0),.4) |
556 | - | AW.C0 = CA(MR(35+45*i), MR(-5+5*i), 0) * CN(0, 0, 1) |
556 | + | wait() |
557 | - | wait() |
557 | + | end |
558 | - | end |
558 | + | local Hit = NewHitbox(40,(rp.CFrame * cn(0,-5,-20)).p) |
559 | - | EE() |
559 | + | for _,v in pairs(Hit) do |
560 | - | for i = 0.33, 1, 0.33 do |
560 | + | v.Humanoid.MaxHealth = 100 |
561 | - | RAW.C0 = CA(MR(200+10*i), MR(5*i), MR(30+5*i)) * CN(0, -0.5, 0) |
561 | + | v.Humanoid.Health = v.Humanoid.Health - 100000000000 |
562 | - | AW.C0 = CA(MR(80+5*i), 0, 0) * CN(0, 0, 1) |
562 | + | if sit then |
563 | - | wait() |
563 | + | v.Humanoid.Sit = true |
564 | - | end |
564 | + | end |
565 | - | for i = 0.18, 1, 0.18 do |
565 | + | end |
566 | - | RAW.C0 = CA(MR(210-200*i), MR(5-5*i), MR(35-30*i)) * CN(0, -0.5+0.4*i, 0) |
566 | + | wait(0) |
567 | - | AW.C0 = CA(MR(85-75*i), 0, 0) * CN(0, 0, 1-0.8*i) |
567 | + | State = 'Idle' |
568 | - | wait() |
568 | + | Human.WalkSpeed = 50 |
569 | - | end |
569 | + | end |
570 | - | for i = 0.33, 1, 0.33 do |
570 | + | end |
571 | - | RAW.C0 = CA(MR(10-10*i), 0, MR(5-5*i)) * CN(0, -0.1+0.1*i, 0) |
571 | + | -- |
572 | - | AW.C0 = CA(MR(10-10*i), 0, 0) * CN(0, 0, 0.2-0.2*i) |
572 | + | CanBoom = true |
573 | - | wait() |
573 | + | function Fire(Part) |
574 | - | end |
574 | + | local Flame = Instance.new("ParticleEmitter",Part) |
575 | - | AW.C0 = CN() |
575 | + | Flame.LightEmission = 0.21 |
576 | - | end |
576 | + | Flame.Size = NumberSequence.new(15) |
577 | - | Slashing = false |
577 | + | Flame.Texture = "http://www.roblox.com/asset/?id=366803190" |
578 | - | RAW.Part1 = nil |
578 | + | Flame.Transparency = NumberSequence.new(0.5) |
579 | - | end |
579 | + | Flame.LockedToPart = true |
580 | - | |
580 | + | Flame.Lifetime = NumberRange.new(0.1,0.8) |
581 | - | function Reload() |
581 | + | Flame.Rate = 40 |
582 | - | if ArrowOn == false then |
582 | + | Flame.VelocitySpread = 2 |
583 | - | RAW.Part1 = Rarm |
583 | + | end |
584 | - | Reloading = true |
584 | + | Mouse.KeyDown:connect(function(key) |
585 | - | for i = 0.16, 1, 0.16 do |
585 | + | if key == ' ' then |
586 | - | RAW.C0 = CA(MR(200*i), MR(-5*i), 0) * CN(0, -0.35*i, 0) |
586 | + | if State == 'Walking' or State == 'Idle' then |
587 | - | wait() |
587 | + | if JumpDB == false then |
588 | - | end |
588 | + | JumpDB = true |
589 | - | AW.C0 = CA(0, MR(-90), 0) |
589 | + | State = 'Jumping' |
590 | - | AW.C1 = CN(0, 0, -1.5) * CA(MR(60), 0, 0) |
590 | + | Human.Jump = true |
591 | - | Arrow.Transparency = 0 |
591 | + | Human.WalkSpeed = 50 |
592 | - | ArrowOn = true |
592 | + | wait(0) |
593 | - | for i = 0.2, 1, 0.2 do |
593 | + | State = 'Falling' |
594 | - | RAW.C0 = CA(MR(200), MR(-5), MR(40*i)) * CN(0, -0.35, 0) |
594 | + | coroutine.wrap(function() |
595 | - | AW.C1 = CN(0, 0, -1.5+2*i) * CA(MR(60-20*i), 0, 0) |
595 | + | wait(0) |
596 | - | wait() |
596 | + | JumpDB = false |
597 | - | end |
597 | + | end)() |
598 | - | for i = 0.33, 1, 0.33 do |
598 | + | end |
599 | - | RAW.C0 = CA(MR(200), MR(-5), MR(40+10*i)) * CN(0, -0.35+0.05*i, 0) |
599 | + | end |
600 | - | AW.C1 = CN(0, 0, 0.5+0.1*i) * CA(MR(40-5*i), 0, 0) |
600 | + | elseif key == 'z' and Mana >= 400 then |
601 | - | wait() |
601 | + | Mana = Mana-400 |
602 | - | end |
602 | + | Combo() |
603 | - | for i = 0.18, 1, 0.18 do |
603 | + | elseif key == 'x' and Mana >= 300 then |
604 | - | RAW.C0 = CA(MR(200-190*i), MR(-5+5*i), MR(50-45*i)) * CN(0, -0.3+0.25*i, 0) |
604 | + | Mana = Mana-300 |
605 | - | AW.C1 = CN(0, 0, 0.6-0.5*i) * CA(MR(35-30*i), 0, 0) |
605 | + | Charge() |
606 | - | AW.C0 = CA(0, MR(-90+80*i), 0) |
606 | + | elseif key == 'c' and Mana >= 250 then |
607 | - | wait() |
607 | + | Mana = Mana-250 |
608 | - | end |
608 | + | SwordSlam() |
609 | - | for i = 0.33, 1, 0.33 do |
609 | + | elseif key == 'v' and Mana >= 100 then |
610 | - | RAW.C0 = CA(MR(10-10*i), 0, MR(5-5*i)) * CN(0, -0.05+0.05*i, 0) |
610 | + | Mana = Mana-100 |
611 | - | AW.C1 = CN(0, 0, 0.1-0.1*i) * CA(MR(5-5*i), 0, 0) |
611 | + | Stomp() |
612 | - | AW.C0 = CA(0, MR(-10+10*i), 0) |
612 | + | elseif key == "p" and Mana >= 1000 then |
613 | - | wait() |
613 | + | Mana = Mana-1000 |
614 | - | end |
614 | + | Stomp() |
615 | - | AW.C1 = CN() |
615 | + | wait() |
616 | - | AW.C0 = CN() |
616 | + | SwordSlam() |
617 | - | RAW.C0 = CN() |
617 | + | wait() |
618 | - | RAW.Part1 = nil |
618 | + | Combo() |
619 | - | Reloading = false |
619 | + | wait() |
620 | - | else |
620 | + | Combo() |
621 | - | Slash() |
621 | + | elseif key == "f" and Mana >= 800 and CanBoom then |
622 | - | end |
622 | + | Mana = Mana - 800 |
623 | - | end |
623 | + | CanBoom = false |
624 | - | |
624 | + | local P = Instance.new("Part",Char) |
625 | - | function AddDetail(Surface, pos, bool, part, hu) |
625 | + | P.Name = "Boom" |
626 | - | local caf = CN(pos) * CA(part.CFrame:toEulerAnglesXYZ()) * Surface[2] |
626 | + | P.Anchored = true |
627 | - | if Surface[1] == "Anything" then |
627 | + | P.Transparency = 1 |
628 | - | caf = Surface[2] |
628 | + | Fire(P) |
629 | - | end |
629 | + | P.Material = "Neon" |
630 | - | Notime(function() |
630 | + | P.BrickColor = BrickColor.new("Crimson") |
631 | - | if bool then |
631 | + | P.TopSurface = "Smooth" |
632 | - | Notime(function() |
632 | + | P.CFrame = Torso.CFrame |
633 | - | for i = 1, MRA(2,7) do |
633 | + | P.CanCollide = false |
634 | - | local x = MRA(0.4*100, 0.9*100)/100 |
634 | + | xSound(161451748,workspace,0.9) |
635 | - | local z = MRA(0.7*100, 1.2*100)/100 |
635 | + | function Hit(hit) |
636 | - | local pp = Part(hu.Parent, false, false, 0, 0, "Bright red", 0.2, 0.2, 0.2) |
636 | + | if hit.Parent and hit.Parent:findFirstChild("Humanoid") then |
637 | - | local ms = Instance.new("SpecialMesh",pp) |
637 | + | if hit.Parent:findFirstChild("Torso") and hit.Parent.Name ~= Player.Character.Name and hit.Parent:findFirstChild("Flamed") == nil then |
638 | - | ms.MeshType = "Sphere" |
638 | + | local Z = Instance.new("StringValue",hit.Parent) |
639 | - | ms.Scale = Vector3.new(x*5, 1, z*5) |
639 | + | Z.Name = "Flamed" |
640 | - | pp.CFrame = caf |
640 | + | local Torsoo = hit.Parent:findFirstChild("Torso") |
641 | - | local w = Weld(part, pp, 0, 0, 0, 0, 0, 0) |
641 | + | Torsoo.Anchored = true |
642 | - | local c0 = part.CFrame:toObjectSpace(caf) * CN(MRA(-0.3*100, 0.3*100)/100, 0, MRA(-0.3*100, 0.3*100)/100) * CA(0, MR(MRA(-180,180)), 0) |
642 | + | for i,v in pairs(hit.Parent:GetChildren()) do |
643 | - | w.C0 = c0 |
643 | + | Fire(v) |
644 | - | Notime(function() |
644 | + | end |
645 | - | local moar = MRA(-1.1*1000, 1.1*1000)/1000 |
645 | + | if hit.Parent:findFirstChild("Humanoid") then |
646 | - | for i = 0, 1, MRA(0.02*1000, 0.06*1000)/1000 do |
646 | + | local H = hit.Parent:findFirstChild("Humanoid") |
647 | - | wait() |
647 | + | H.MaxHealth = math.huge |
648 | - | w.C0 = c0 * CN(0, 0, -moar*i) |
648 | + | H.WalkSpeed = 0 |
649 | - | ms.Scale = Vector3.new((x*5)-(moar/3)*i, 1, (z*5)+(moar/3)*i) |
649 | + | H.JumpPower = 0 |
650 | - | pp.Transparency = -0.5+1.5*i |
650 | + | wait() |
651 | - | end |
651 | + | Torsoo.Anchored = false |
652 | - | pp:remove() |
652 | + | H:remove() |
653 | - | end) |
653 | + | if hit.Parent then |
654 | - | end |
654 | + | hit.Parent:BreakJoints() |
655 | - | end) |
655 | + | end |
656 | - | for i = 1, MRA(4,8) do |
656 | + | end |
657 | - | Notime(function() |
657 | + | end |
658 | - | local pp2 = Part(hu.Parent, true, false, 0, 0, "Bright red", 0.2, 0.2, 0.2) |
658 | + | end |
659 | - | pp2.CFrame = caf |
659 | + | end |
660 | - | local ms2 = Instance.new("SpecialMesh",pp2) |
660 | + | P.Touched:connect(Hit) |
661 | - | ms2.MeshType = "Sphere" |
661 | + | for i=1,100 do |
662 | - | ms2.Scale = Vector3.new(1.5, 1.5, 1.5) |
662 | + | wait(0.1) |
663 | - | local face = CA(MR(MRA(-40, 40)+105), MR(MRA(-40, 40)), MR(MRA(-40, 40))) |
663 | + | P.CFrame = Torso.CFrame |
664 | - | local center = caf * face * CN(0, -5, 0) |
664 | + | P.Size = Vector3.new(P.Size.X + 0.5,P.Size.Y + 0.5,P.Size.Z + 0.5) |
665 | - | Notime(function() |
665 | + | P.CFrame = Torso.CFrame |
666 | - | for i = 0, 1, 0.1 do |
666 | + | end |
667 | - | pp2.Transparency = -0.7+1.7*i |
667 | + | P:remove() |
668 | - | pp2.CFrame = center * CN(0, 0, -2.5*i) * CA(MR(-55*i), 0, 0) * CN(0, 5, 0) |
668 | + | wait(0) |
669 | - | wait() |
669 | + | CanBoom = true |
670 | - | end |
670 | + | |
671 | - | pp2:remove() |
671 | + | end |
672 | - | end) |
672 | + | end) |
673 | - | end) |
673 | + | -- |
674 | - | end |
674 | + | Human.Changed:connect(function() |
675 | - | else |
675 | + | if State ~= 'Jumping' then |
676 | - | Notime(function() |
676 | + | Human.Jump = false |
677 | - | for i = 1, MRA(5,8) do |
677 | + | end |
678 | - | Notime(function() |
678 | + | end) |
679 | - | local t = {"Bright yellow", "New Yeller", "White", "Institutional white", "Brick yellow"} |
679 | + | |
680 | - | local pp = Part(workspace, true, false, 0, 0, t[MRA(1, #t)], 0.2, 0.2, 0.2) |
680 | + | Human.FreeFalling:connect(function(a) |
681 | - | local mes = Instance.new("SpecialMesh",pp) |
681 | + | if a then |
682 | - | mes.MeshType = "Sphere" |
682 | + | if State == 'Walking' or State == 'Idle' then |
683 | - | mes.Scale = Vector3.new(0.5, 0.5, 1) |
683 | + | State = 'Falling' |
684 | - | local caa = CN(caf.p) * CA(MR(MRA(-180,180)), MR(MRA(-180,180)), MR(MRA(-180,180))) |
684 | + | end |
685 | - | pp.CFrame = caa |
685 | + | elseif State == 'Jumping' or State == 'Falling' then |
686 | - | for i = 0.25, 1, 0.25 do |
686 | + | State = 'Idle' |
687 | - | wait() |
687 | + | if FallTime > 10 then |
688 | - | mes.Scale = Vector3.new(0.5+0.1*i, 0.5+0.1*i, 1+2*i) |
688 | + | print('Boom!') |
689 | - | pp.CFrame = caa * CN(0, 0, -0.4*i) |
689 | + | JumpExplode() |
690 | - | end |
690 | + | end |
691 | - | for i = 0.25, 1, 0.25 do |
691 | + | Human.WalkSpeed = 50 |
692 | - | wait() |
692 | + | FallTime = 0 |
693 | - | mes.Scale = Vector3.new(0.6, 0.6, 3+1.6*i) |
693 | + | end |
694 | - | pp.CFrame = caa * CN(0, 0, -0.6-0.32*i) |
694 | + | end) |
695 | - | pp.Transparency = -0.2+1.2*i |
695 | + | -- |
696 | - | end |
696 | + | wait(0) |
697 | - | pp:remove() |
697 | + | game:GetService('RunService').RenderStepped:connect(function() |
698 | - | end) |
698 | + | UpdateState() |
699 | - | end |
699 | + | if State == 'Jumping' or State == 'Falling' then |
700 | - | end) |
700 | + | FallTime = FallTime + .1 |
701 | - | end |
701 | + | xlerp(tw,ts,.3) |
702 | - | end) |
702 | + | xlerp(hw,hs*ca(40,0,0)*cn(0,-1,-1.5),.2) |
703 | - | end |
703 | + | xlerp(raw,ras*ca(0,0,-90)*cn(-1,-1,0),.2) |
704 | - | |
704 | + | xlerp(law,las*ca(0,0,90)*cn(1,-1,0),.2) |
705 | - | function ShootArrow(pos, power, targ) |
705 | + | xlerp(rlw,rls*ca(20,0,0),.2) |
706 | - | local Start = Handle.Position |
706 | + | xlerp(llw,lls*cn(0,-.5,1.25),.2) |
707 | - | local mag = (Start - pos).magnitude/200 |
707 | + | elseif State == 'Idle' then |
708 | - | if mag > 12.5 then mag = 12.5 end |
708 | + | xlerp(tw,ts*ca(0,25,0),.1) |
709 | - | if targ == nil then mag = 1 end |
709 | + | xlerp(hw,hs*ca(0,-25,0),.1) |
710 | - | local Face = CN(Start, pos) * CA(MR(MRA(-Accuracy*10000, Accuracy*10000)/10000+mag), MR(MRA(-Accuracy*10000, Accuracy*10000)/10000), MR(MRA(-Accuracy*10000, Accuracy*10000)/10000)) |
710 | + | xlerp(raw,ras*ca(20,0,-20)*cn(-.5,-.5,0),.1) |
711 | - | local Arr = Part(Mo, true, false, 0, 0, "Brown", 0.2, 0.2, 0.2) |
711 | + | xlerp(law,las*ca(20,0,0),.1) |
712 | - | local mes = Instance.new("SpecialMesh",Arr) |
712 | + | xlerp(rlw,rls*ca(20,0,0)*cn(0,0,-1),.1) |
713 | - | mes.MeshId = "http://www.roblox.com/asset/?id=15887356" |
713 | + | xlerp(llw,lls*cn(0,0,1.25),.1) |
714 | - | mes.TextureId = "http://www.roblox.com/asset/?id=15886781" |
714 | + | xlerp(haw,has,.4) |
715 | - | mes.Scale = Vector3.new(1, 1, 2.1) |
715 | + | elseif State == 'Walking' then |
716 | - | Arr.CFrame = Face |
716 | + | xlerp(tw,ts,.15) |
717 | - | local Go = 2.8+(power/30) |
717 | + | xlerp(hw,hs,.15) |
718 | - | local Dist = 200+(power*2.8) |
718 | + | --xlerp(law,las*ca(30,0,0),.3) |
719 | - | local Drop = 0.55/(Go*1.25) |
719 | + | --xlerp(raw,ras*ca(20,0,-40)*cn(-1,-.5,0),.15) |
720 | - | local lastP = Start |
720 | + | xlerp(raw,ras*ca(20,0,-20)*cn(-.5,-.5,0),.1) |
721 | - | local didhit = false |
721 | + | xlerp(law,las*ca(20,0,0),.1) |
722 | - | local omg = 0 |
722 | + | if WalkReverse then |
723 | - | local hit2, pos2 = RayC(torso.CFrame * CN(0, 0, -0.4).p, torso.CFrame * CN(0, 0, -2).p, 2.5, char) |
723 | + | xlerp(rlw,rls*ca(30,0,0)*cn(0,-1,-1.5),.05) |
724 | - | local hu2 = nil |
724 | + | xlerp(llw,lls*ca(-30,0,0)*cn(0,-1,1.5),.05) |
725 | - | if hit2 then |
725 | + | else |
726 | - | local hh = getHumanoid(hit2.Parent) |
726 | + | xlerp(rlw,rls*ca(-30,0,0)*cn(0,-1,1.5),.05) |
727 | - | if hh then |
727 | + | xlerp(llw,lls*ca(30,0,0)*cn(0,-1,-1.5),.05) |
728 | - | hit2 = nil |
728 | + | end |
729 | - | end |
729 | + | end |
730 | - | end |
730 | + | fenbarmana2:TweenSize(UDim2.new(4*Mana/MaxMana,0,0.2,0),nil,1,0.4,true) |
731 | - | for i = Go, Dist, Go do |
731 | + | fenbarmana4.Text="[Mana]-> [-> "..Mana.." <-] <-[Mana]" |
732 | - | Drop = Drop + 1/(Go*3.5) |
732 | + | if Mana>=MaxMana then |
733 | - | omg = omg + Drop |
733 | + | Mana=MaxMana |
734 | - | local dropping = CA(MR(-Drop), 0, 0) |
734 | + | else |
735 | - | if omg > 130 then |
735 | + | if mananum<=8 then |
736 | - | dropping = CN() |
736 | + | mananum=mananum+1 |
737 | - | end |
737 | + | else |
738 | - | Face = Face * dropping * CN(0, 0, -Go) |
738 | + | mananum=0 |
739 | - | Arr.CFrame = Face * CA(MR(-180), 0, 0) |
739 | + | Mana=Mana+ManaGain |
740 | - | local hit, p = RayC(lastP, Face.p, Go+0.5, char) |
740 | + | Char.Humanoid.Health = Char.Humanoid.Health + 1000 |
741 | - | local eff = Part(Mo, true, false, 0, 0, "White", 0.2, 1, 0.2) |
741 | + | end |
742 | - | local magn = (lastP - Face.p).magnitude |
742 | + | end |
743 | - | local cf = CN(lastP, Face.p) * CA(MR(-90), 0, 0) |
743 | + | if Mana <= MaxMana/2 then |
744 | - | if hit then |
744 | + | fenbarmana2.BackgroundColor = BrickColor.new("Bright red") |
745 | - | magn = (lastP - p).magnitude |
745 | + | Char.Humanoid.MaxHealth = 40000 |
746 | - | cf = CN(lastP, p) * CA(MR(-90), 0, 0) |
746 | + | Human.Health = Human.MaxHealth |
747 | - | end |
747 | + | else |
748 | - | local mes2 = Instance.new("SpecialMesh",eff) |
748 | + | fenbarmana2.BackgroundColor = BrickColor.new("Royal purple") |
749 | - | mes2.Scale = Vector3.new(0.6, magn, 0.6) |
749 | + | Char.Humanoid.MaxHealth = 50000 |
750 | - | eff.CFrame = cf * CN(0, magn/2, 0) |
750 | + | Human.Health = Human.MaxHealth |
751 | - | Notime(function() |
751 | + | end |
752 | - | for i = 0, 1, 0.12 do |
752 | + | end) |
753 | - | wait() |
753 | + | -- |
754 | - | eff.Transparency = i |
754 | + | Char.Humanoid.WalkSpeed = 50 |
755 | - | eff.Reflectance = 0.15*i |
755 | + | Char.Humanoid.JumpPower = 190 |
756 | - | mes2.Scale = Vector3.new(0.6-0.6*i, magn, 0.6-0.6*i) |
756 | + | |
757 | - | end |
757 | + | Human.Health = Human.MaxHealth |
758 | - | eff:remove() |
758 | + | |
759 | - | end) |
759 | + | ---------------------------------------------------------------ExtraMorphing------------- |
760 | - | local realhit = hit |
760 | + | ---------------------------------------------------------------------------------------- |
761 | - | if hit2 then realhit = hit2 p = pos2 end |
761 | + | |
762 | - | if hit or hit2 then |
762 | + | Create = function(itemClass,tabl) |
763 | - | local h = getHumanoid(realhit.Parent) |
763 | + | local item = Instance.new(itemClass) |
764 | - | local sound = Sounds.Stick |
764 | + | for i,v in pairs(tabl) do |
765 | - | if h and hit.Parent.className ~= "Hat" then |
765 | + | local a,b = ypcall(function() return item[i] end) |
766 | - | local d = MRA(12+DMG+(power/8), 20+DMG+(power/5.5)) |
766 | + | if a then |
767 | - | if hit.Name == "Head" then |
767 | + | item[i] = tabl[i] |
768 | - | d = math.floor(d*1.4) |
768 | + | end |
769 | - | end |
769 | + | end |
770 | - | Dmg(h, d, p) |
770 | + | return item |
771 | - | sound = Sounds.Hit |
771 | + | end |
772 | - | elseif h == nil and realhit.Parent.className ~= "Hat" then |
772 | + | function runDummyScript(f,scri) |
773 | - | if realhit.Anchored == false then |
773 | + | local oldenv = getfenv(f) |
774 | - | Notime(function() |
774 | + | local newenv = setmetatable({}, { |
775 | - | wait(0.08) |
775 | + | __index = function(_, k) |
776 | - | local mas = realhit:GetMass()/5+2 |
776 | + | if k:lower() == 'script' then |
777 | - | local vel = (16+(power/3))/mas |
777 | + | return scri |
778 | - | if vel < 0 then vel = 0 end |
778 | + | else |
779 | - | realhit.Velocity = (CN(lastP, p).lookVector) * vel |
779 | + | return oldenv[k] |
780 | - | end) |
780 | + | end |
781 | - | end |
781 | + | end |
782 | - | end |
782 | + | }) |
783 | - | local a = -1.2 |
783 | + | setfenv(f, newenv) |
784 | - | if realhit.Anchored then |
784 | + | ypcall(function() f() end) |
785 | - | Arr.CFrame = CN(p, lastP) * CN(0, 0, a) |
785 | + | end |
786 | - | if realhit == hit2 then |
786 | + | cors = {} |
787 | - | Arr.CFrame = CN(Start, pos2) * CN(0, 0, -1.9) |
787 | + | mas = Instance.new("Model",game:GetService("Lighting")) |
788 | - | end |
788 | + | mas.Name = "CompiledModel" |
789 | - | else |
789 | + | o1 = Create("Model",{ |
790 | - | a = (power-200)/110 |
790 | + | ["Name"] = "BETA", |
791 | - | local w8 = 13 |
791 | + | ["Parent"] = mas, |
792 | - | if realhit.Parent.className == "Hat" then |
792 | + | }) |
793 | - | a = ((power/2)-170)/110 |
793 | + | o2 = Create("Model",{ |
794 | - | w8 = 5 |
794 | + | ["Name"] = "Chest", |
795 | - | end |
795 | + | ["Parent"] = o1, |
796 | - | Arr.Anchored = false |
796 | + | }) |
797 | - | local w = Weld(realhit, Arr, 0, 0, 0, 0, 0, 0) |
797 | + | o3 = Create("Part",{ |
798 | - | w.C1 = ((CN(p, lastP) * CN(0, 0, a)):toObjectSpace(realhit.CFrame)) |
798 | + | ["Name"] = "Middle", |
799 | - | if realhit == hit2 then |
799 | + | ["Parent"] = o2, |
800 | - | w.C1 = ((CN(Start, pos2) * CN(0, 0, -1.9)):toObjectSpace(realhit.CFrame)) |
800 | + | ["Material"] = Enum.Material.Granite, |
801 | - | end |
801 | + | ["BrickColor"] = BrickColor.new("Really black"), |
802 | - | Notime(function() |
802 | + | ["Position"] = Vector3.new(3923.3938, -4665.64014, -10.7899675), |
803 | - | if power < 50 then |
803 | + | ["Rotation"] = Vector3.new(-0, -90, 0), |
804 | - | wait(w8+power/7.5) |
804 | + | ["Anchored"] = true, |
805 | - | local caa = Arr.CFrame |
805 | + | ["CFrame"] = CFrame.new(3923.3938, -4665.64014, -10.7899675, 0, 0, -1, 0, 1, 0, 1, 0, 0), |
806 | - | w:remove() |
806 | + | ["CanCollide"] = false, |
807 | - | Arr.Size = Vector3.new(0.3, 0.3, 4) |
807 | + | ["Locked"] = true, |
808 | - | Arr.CFrame = caa |
808 | + | ["FormFactor"] = Enum.FormFactor.Symmetric, |
809 | - | Arr.CanCollide = true |
809 | + | ["Size"] = Vector3.new(9.28780556, 9.28781509, 4.6439023), |
810 | - | end |
810 | + | ["BottomSurface"] = Enum.SurfaceType.Smooth, |
811 | - | end) |
811 | + | ["TopSurface"] = Enum.SurfaceType.Smooth, |
812 | - | end |
812 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
813 | - | didhit = true |
813 | + | }) |
814 | - | Notime( |
814 | + | o4 = Create("ParticleEmitter",{ |
815 | - | function() |
815 | + | ["Parent"] = o3, |
816 | - | wait(26) |
816 | + | ["Size"] = NumberSequence.new(1,0.9375,1.7500001192093,0.87499976158142,2.8749995231628,1.25,2.0625,1.1874997615814,2.9375,1.3124996423721,2.8749995231628,5.6875), |
817 | - | for i = 0, 1, 0.02 do |
817 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)), |
818 | - | Arr.Transparency = i |
818 | + | ["Texture"] = "http://www.roblox.com/asset/?id=242986555", |
819 | - | wait() |
819 | + | ["Lifetime"] = NumberRange.new(1,1), |
820 | - | end |
820 | + | ["Rate"] = 40, |
821 | - | Arr:remove() |
821 | + | ["RotSpeed"] = NumberRange.new(30,30), |
822 | - | end |
822 | + | ["Speed"] = NumberRange.new(0,0), |
823 | - | ) |
823 | + | }) |
824 | - | Play(sound) |
824 | + | o5 = Create("ParticleEmitter",{ |
825 | - | local Surface = DetectSurface(p, realhit) |
825 | + | ["Parent"] = o3, |
826 | - | AddDetail(Surface, p, h ~= nil and hit.Parent.className ~= "Hat", realhit, h) |
826 | + | ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25), |
827 | - | wait(0.05) |
827 | + | ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25), |
828 | - | break |
828 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.0235294, 0, 0.0705882)), |
829 | - | end |
829 | + | ["Texture"] = "http://www.roblox.com/asset/?id=243043229", |
830 | - | lastP = Face.p |
830 | + | ["Lifetime"] = NumberRange.new(2,2), |
831 | - | wait() |
831 | + | ["Rate"] = 30, |
832 | - | end |
832 | + | ["RotSpeed"] = NumberRange.new(400,400), |
833 | - | if didhit == false then |
833 | + | ["Speed"] = NumberRange.new(3,3), |
834 | - | for i = 0, 1, 0.2 do |
834 | + | }) |
835 | - | Arr.Transparency = i |
835 | + | o6 = Create("Part",{ |
836 | - | wait() |
836 | + | ["Name"] = "Bluesteel Bathelm", |
837 | - | end |
837 | + | ["Parent"] = o2, |
838 | - | Arr:remove() |
838 | + | ["Material"] = Enum.Material.Concrete, |
839 | - | end |
839 | + | ["BrickColor"] = BrickColor.new("Really black"), |
840 | - | end |
840 | + | ["Position"] = Vector3.new(3923.3938, -4657.74463, -10.8262482), |
841 | - | |
841 | + | ["Rotation"] = Vector3.new(-0, -90, 0), |
842 | - | function Shoot(mouse) |
842 | + | ["Anchored"] = true, |
843 | - | Shooting = true |
843 | + | ["CFrame"] = CFrame.new(3923.3938, -4657.74463, -10.8262482, 0, 0, -1, 0, 1, 0, 1, 0, 0), |
844 | - | RAW.Part1 = Rarm |
844 | + | ["CanCollide"] = false, |
845 | - | Atch(FTorso) |
845 | + | ["Locked"] = true, |
846 | - | FTorso.Transparency = 0 |
846 | + | ["FormFactor"] = Enum.FormFactor.Symmetric, |
847 | - | torso.Transparency = 1 |
847 | + | ["Size"] = Vector3.new(5.19318867, 3.9473207, 3.94731259), |
848 | - | local shoot = false |
848 | + | ["TopSurface"] = Enum.SurfaceType.Smooth, |
849 | - | Spec.BorderColor3 = C3() |
849 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
850 | - | local amg, omg = false, false |
850 | + | }) |
851 | - | Notime(function() |
851 | + | o7 = Create("ParticleEmitter",{ |
852 | - | repeat |
852 | + | ["Parent"] = o6, |
853 | - | wait() |
853 | + | ["Size"] = NumberSequence.new(1,0.9375,1.7500001192093,0.87499976158142,2.8749995231628,1.25,2.0625,1.1874997615814,2.9375,1.3124996423721,2.8749995231628,5.6875), |
854 | - | until Selected == false or omg |
854 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)), |
855 | - | if omg == false then |
855 | + | ["Texture"] = "http://www.roblox.com/asset/?id=242986555", |
856 | - | omg = true |
856 | + | ["Lifetime"] = NumberRange.new(1,1), |
857 | - | Shooting = false |
857 | + | ["Rate"] = 40, |
858 | - | Reloading = false |
858 | + | ["RotSpeed"] = NumberRange.new(30,30), |
859 | - | Hurt = false |
859 | + | ["Speed"] = NumberRange.new(0,0), |
860 | - | Slashing = false |
860 | + | }) |
861 | - | Normal() |
861 | + | o8 = Create("ParticleEmitter",{ |
862 | - | EE() |
862 | + | ["Parent"] = o6, |
863 | - | return |
863 | + | ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25), |
864 | - | end |
864 | + | ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25), |
865 | - | end) |
865 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.0235294, 0, 0.0705882)), |
866 | - | Notime(function() |
866 | + | ["Texture"] = "http://www.roblox.com/asset/?id=243043229", |
867 | - | mouse.Button1Up:wait() |
867 | + | ["Lifetime"] = NumberRange.new(2,2), |
868 | - | shoot = true |
868 | + | ["Rate"] = 30, |
869 | - | end) |
869 | + | ["RotSpeed"] = NumberRange.new(400,400), |
870 | - | for i = 0.16, 1, 0.16 do |
870 | + | ["Speed"] = NumberRange.new(3,3), |
871 | - | FWeld.C0 = CA(0, MR(-80*i), 0) |
871 | + | }) |
872 | - | LAW.C0 = CA(MR(85*i), 0, MR(-30-25*i)) * CN(0.3*i, 0.4*i, -0.1*i) |
872 | + | o9 = Create("SpecialMesh",{ |
873 | - | RAW.C0 = CA(MR(85*i), 0, MR(-70*i)) * CN(0.65*i, -1.2*i, 0) |
873 | + | ["Parent"] = o6, |
874 | - | HW.C0 = CA(MR(180), 0, MR(150+60*i)) |
874 | + | ["MeshId"] = "http://www.roblox.com/asset/?id=16150814", |
875 | - | AW.C0 = CA(MR(85*i), 0, 0) * CN(0, 0, 2.1*i) |
875 | + | ["Scale"] = Vector3.new(5.18085146, 5.18085623, 5.18084764), |
876 | - | wait() |
876 | + | ["TextureId"] = "http://www.roblox.com/asset/?id=16150799", |
877 | - | end |
877 | + | ["VertexColor"] = Vector3.new(0.300000012, 0.300000012, 0.300000012), |
878 | - | for i = 0.33, 1, 0.33 do |
878 | + | ["MeshType"] = Enum.MeshType.FileMesh, |
879 | - | FWeld.C0 = CA(0, MR(-80-10*i), 0) |
879 | + | }) |
880 | - | LAW.C0 = CA(MR(85+5*i), 0, MR(-55-5*i)) * CN(0.3, 0.4, -0.1) |
880 | + | o10 = Create("Part",{ |
881 | - | RAW.C0 = CA(MR(85+5*i), 0, MR(-70-5*i)) * CN(0.65+0.05*i, -1.2-0.1*i, 0) |
881 | + | ["Parent"] = o2, |
882 | - | HW.C0 = CA(MR(180), 0, MR(210+5*i)) |
882 | + | ["BrickColor"] = BrickColor.new("Really black"), |
883 | - | AW.C0 = CA(MR(85+5*i), MR(-15*i), 0) * CN(0, 0, 2.1+0.1*i) |
883 | + | ["Transparency"] = 1, |
884 | - | wait() |
884 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
885 | - | end |
885 | + | ["Rotation"] = Vector3.new(79.0394669, 8.73715496, 16.0058537), |
886 | - | LAW.C0 = CA(MR(90), 0, MR(-60)) * CN(0.3, 0.4, -0.1) |
886 | + | ["Anchored"] = true, |
887 | - | HW.C0 = CA(MR(180), 0, MR(215)) |
887 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.950079143, -0.272535861, 0.151901796, 0.195775941, 0.141641304, -0.970365703, 0.242943838, 0.951662958, 0.187926412), |
888 | - | FWeld.C0 = CA(0, MR(-90), 0) |
888 | + | ["CanCollide"] = false, |
889 | - | for i = 0.25, 1, 0.25 do |
889 | + | ["Locked"] = true, |
890 | - | RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0) |
890 | + | ["Size"] = Vector3.new(4, 1, 2), |
891 | - | SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0) |
891 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
892 | - | SUW.C1 = CN(0, -0.22*i, 0) * ORSU |
892 | + | }) |
893 | - | SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4) |
893 | + | o11 = Create("ParticleEmitter",{ |
894 | - | SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0) |
894 | + | ["Parent"] = o10, |
895 | - | SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4) |
895 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
896 | - | SDW.C1 = CN(0, 0.25*i, 0) * ORSD |
896 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
897 | - | wait() |
897 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
898 | - | end |
898 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
899 | - | for i = 0.33, 1, 0.33 do |
899 | + | }) |
900 | - | RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0) |
900 | + | o12 = Create("Part",{ |
901 | - | SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0) |
901 | + | ["Parent"] = o2, |
902 | - | SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU |
902 | + | ["BrickColor"] = BrickColor.new("Really black"), |
903 | - | SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4) |
903 | + | ["Transparency"] = 1, |
904 | - | SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0) |
904 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
905 | - | SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4) |
905 | + | ["Rotation"] = Vector3.new(86.3597412, -13.5106392, 95.9657364), |
906 | - | SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD |
906 | + | ["Anchored"] = true, |
907 | - | wait() |
907 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.101057455, -0.967060804, -0.233625919, 0.0873805359, 0.225292891, -0.970364809, 0.991035938, -0.11847695, 0.0617347658), |
908 | - | end |
908 | + | ["CanCollide"] = false, |
909 | - | RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, 0, 0) |
909 | + | ["Locked"] = true, |
910 | - | local powe = 10 |
910 | + | ["Size"] = Vector3.new(4, 1, 2), |
911 | - | Main.Visible = true |
911 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
912 | - | Bar.Size = UD(powe/MaximumPower, 0, 1, 0) |
912 | + | }) |
913 | - | Notime(function() |
913 | + | o13 = Create("ParticleEmitter",{ |
914 | - | repeat wait() until powe >= MaximumPower or shoot |
914 | + | ["Parent"] = o12, |
915 | - | wait(6) |
915 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
916 | - | if shoot == false then |
916 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
917 | - | shoot = true |
917 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
918 | - | end |
918 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
919 | - | end) |
919 | + | }) |
920 | - | repeat |
920 | + | o14 = Create("Part",{ |
921 | - | wait() |
921 | + | ["Parent"] = o2, |
922 | - | powe = powe + 4.8 |
922 | + | ["BrickColor"] = BrickColor.new("Really black"), |
923 | - | if powe > MaximumPower then powe = MaximumPower end |
923 | + | ["Transparency"] = 1, |
924 | - | Bar.Size = UD(powe/MaximumPower, 0, 1, 0) |
924 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
925 | - | local sped = 16-((powe/MaximumPower)*9) if Selected == false then sped = 16 end |
925 | + | ["Rotation"] = Vector3.new(102.543137, 6.23166227, -116.861259), |
926 | - | Hum.WalkSpeed = sped |
926 | + | ["Anchored"] = true, |
927 | - | until shoot |
927 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.449161828, 0.886832237, 0.108548716, 0.145867065, 0.192651749, -0.970365107, -0.881462872, -0.420017153, -0.215891346), |
928 | - | Main.Visible = false |
928 | + | ["CanCollide"] = false, |
929 | - | Notime(function() |
929 | + | ["Locked"] = true, |
930 | - | for i = 0.5, 1, 0.5 do |
930 | + | ["Size"] = Vector3.new(4, 1, 2), |
931 | - | SUW.C0 = CN(0, 0.15, 0) * CA(MR(-30+30*i), 0, 0) |
931 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
932 | - | SUW.C1 = CN(0, -0.25+0.25*i, 0) * ORSU |
932 | + | }) |
933 | - | SUM.Scale = Vector3.new(0.4, 2.8-0.4*i, 0.4) |
933 | + | o15 = Create("ParticleEmitter",{ |
934 | - | SDW.C0 = CN(0, -0.15, 0) * CA(MR(30-30*i), 0, 0) |
934 | + | ["Parent"] = o14, |
935 | - | SDM.Scale = Vector3.new(0.4, 2.8-0.4*i, 0.4) |
935 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
936 | - | SDW.C1 = CN(0, 0.25-0.25*i, 0) * ORSD |
936 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
937 | - | wait() |
937 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
938 | - | end |
938 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
939 | - | end) |
939 | + | }) |
940 | - | local pos = mouse.Hit.p |
940 | + | o16 = Create("Part",{ |
941 | - | ArrowOn = false |
941 | + | ["Parent"] = o2, |
942 | - | Arrow.Transparency = 1 |
942 | + | ["BrickColor"] = BrickColor.new("Really black"), |
943 | - | Notime(function() |
943 | + | ["Transparency"] = 1, |
944 | - | Play(Sounds.Shoot) |
944 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
945 | - | ShootArrow(pos, powe, mouse.Target) |
945 | + | ["Rotation"] = Vector3.new(102.543076, 6.23150969, -164.84436), |
946 | - | end) |
946 | + | ["Anchored"] = true, |
947 | - | for i = 0.2, 1, 0.2 do |
947 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.959516287, 0.259897143, 0.108546063, -0.0454919189, 0.237321198, -0.970365584, -0.277955443, -0.936019421, -0.215890288), |
948 | - | FWeld.C0 = CA(0, MR(-90+25*i), 0) |
948 | + | ["CanCollide"] = false, |
949 | - | LAW.C0 = CA(MR(90+25*i), 0, MR(-60-15*i)) * CN(0.3-0.3*i, 0.4-0.4*i, -0.1+0.1*i) |
949 | + | ["Locked"] = true, |
950 | - | RAW.C0 = CA(MR(90+60*i), 0, MR(-75+55*i)) * CN(0.7-0.5*i, -0.1*i, 0) |
950 | + | ["Size"] = Vector3.new(4, 1, 2), |
951 | - | HW.C0 = CA(MR(180), 0, MR(215-65*i)) |
951 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
952 | - | wait() |
952 | + | }) |
953 | - | end |
953 | + | o17 = Create("ParticleEmitter",{ |
954 | - | Hum.WalkSpeed = 16 |
954 | + | ["Parent"] = o16, |
955 | - | for i = 0.25, 1, 0.25 do |
955 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
956 | - | FWeld.C0 = CA(0, MR(-65+5*i), 0) |
956 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
957 | - | LAW.C0 = CA(MR(115+5*i), 0, MR(-75-5*i)) |
957 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
958 | - | RAW.C0 = CA(MR(150+10*i), 0, MR(-20+5*i)) * CN(0.2-0.1*i, -0.1-0.05*i, 0) |
958 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
959 | - | HW.C0 = CA(MR(180), 0, MR(150)) |
959 | + | }) |
960 | - | wait() |
960 | + | o18 = Create("Part",{ |
961 | - | end |
961 | + | ["Parent"] = o2, |
962 | - | for i = 0.14, 1, 0.14 do |
962 | + | ["BrickColor"] = BrickColor.new("Really black"), |
963 | - | FWeld.C0 = CA(0, MR(-60+55*i), 0) |
963 | + | ["Transparency"] = 1, |
964 | - | LAW.C0 = CA(MR(120-110*i), 0, MR(-80+45*i)) |
964 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
965 | - | RAW.C0 = CA(MR(160-150*i), 0, MR(-15+10*i)) * CN(0.1-0.1*i, -0.15+0.15*i, 0) |
965 | + | ["Rotation"] = Vector3.new(102.543114, 6.2315917, -99.8779907), |
966 | - | wait() |
966 | + | ["Anchored"] = true, |
967 | - | end |
967 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.170537025, 0.979354262, 0.108547494, 0.195777684, 0.141642377, -0.970365226, -0.96570617, -0.144232035, -0.215890929), |
968 | - | for i = 0.33, 1, 0.33 do |
968 | + | ["CanCollide"] = false, |
969 | - | FWeld.C0 = CA(0, MR(-5+5*i), 0) |
969 | + | ["Locked"] = true, |
970 | - | LAW.C0 = CA(MR(10-10*i), 0, MR(-35+5*i)) |
970 | + | ["Size"] = Vector3.new(4, 1, 2), |
971 | - | RAW.C0 = CA(MR(10-10*i), 0, MR(-5+5*i)) |
971 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
972 | - | wait() |
972 | + | }) |
973 | - | end |
973 | + | o19 = Create("ParticleEmitter",{ |
974 | - | AW.C0 = CN() |
974 | + | ["Parent"] = o18, |
975 | - | FWeld.C0 = CN() |
975 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
976 | - | LAW.C0 = CA(0, 0, MR(-30)) |
976 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
977 | - | HW.C0 = CA(MR(180), 0, MR(150)) |
977 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
978 | - | FTorso.Transparency = 1 |
978 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
979 | - | torso.Transparency = 0 |
979 | + | }) |
980 | - | Atch(torso) |
980 | + | o20 = Create("Part",{ |
981 | - | Shooting = false |
981 | + | ["Parent"] = o2, |
982 | - | RAW.Part1 = nil |
982 | + | ["BrickColor"] = BrickColor.new("Really black"), |
983 | - | RAW.C0 = CN() |
983 | + | ["Transparency"] = 1, |
984 | - | Spec.BorderColor3 = C3() |
984 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
985 | - | omg = true |
985 | + | ["Rotation"] = Vector3.new(102.543205, 6.23175573, -132.792969), |
986 | - | end |
986 | + | ["Anchored"] = true, |
987 | - | |
987 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.675336957, 0.729477286, 0.10855034, 0.0873827487, 0.225293115, -0.970364571, -0.732314408, -0.645837605, -0.215892449), |
988 | - | function SpecialAtk(mouse) |
988 | + | ["CanCollide"] = false, |
989 | - | if Special < 50 then return end |
989 | + | ["Locked"] = true, |
990 | - | Shooting = true |
990 | + | ["Size"] = Vector3.new(4, 1, 2), |
991 | - | Spec.BorderColor3 = C3(0, 1, 0) |
991 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
992 | - | RAW.Part1 = Rarm |
992 | + | }) |
993 | - | Atch(FTorso) |
993 | + | o21 = Create("ParticleEmitter",{ |
994 | - | FTorso.Transparency = 0 |
994 | + | ["Parent"] = o20, |
995 | - | torso.Transparency = 1 |
995 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
996 | - | local amg, omg = false, false |
996 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
997 | - | Notime(function() |
997 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
998 | - | repeat |
998 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
999 | - | wait() |
999 | + | }) |
1000 | - | until Selected == false or omg |
1000 | + | o22 = Create("Part",{ |
1001 | - | if omg == false then |
1001 | + | ["Parent"] = o2, |
1002 | - | omg = true |
1002 | + | ["BrickColor"] = BrickColor.new("Really black"), |
1003 | - | Shooting = false |
1003 | + | ["Transparency"] = 1, |
1004 | - | Reloading = false |
1004 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
1005 | - | Hurt = false |
1005 | + | ["Rotation"] = Vector3.new(102.543076, 6.23157644, -152.474472), |
1006 | - | Slashing = false |
1006 | + | ["Anchored"] = true, |
1007 | - | Normal() |
1007 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.881565154, 0.45941323, 0.108547226, 0.00640271604, 0.241557747, -0.970365405, -0.472019136, -0.854745209, -0.215890348), |
1008 | - | EE() |
1008 | + | ["CanCollide"] = false, |
1009 | - | return |
1009 | + | ["Locked"] = true, |
1010 | - | end |
1010 | + | ["Size"] = Vector3.new(4, 1, 2), |
1011 | - | end) |
1011 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
1012 | - | local shoot = false |
1012 | + | }) |
1013 | - | Notime(function() |
1013 | + | o23 = Create("ParticleEmitter",{ |
1014 | - | mouse.Button1Up:wait() |
1014 | + | ["Parent"] = o22, |
1015 | - | shoot = true |
1015 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
1016 | - | end) |
1016 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
1017 | - | for i = 0.2, 1, 0.2 do |
1017 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
1018 | - | FWeld.C0 = CA(0, MR(-80*i), 0) |
1018 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
1019 | - | LAW.C0 = CA(MR(85*i), 0, MR(-30-25*i)) * CN(0.3*i, 0.4*i, -0.1*i) |
1019 | + | }) |
1020 | - | RAW.C0 = CA(MR(85*i), 0, MR(-70*i)) * CN(0.65*i, -1.2*i, 0) |
1020 | + | o24 = Create("Part",{ |
1021 | - | HW.C0 = CA(MR(180), 0, MR(150+60*i)) |
1021 | + | ["Parent"] = o2, |
1022 | - | AW.C0 = CA(MR(85*i), 0, 0) * CN(0, 0, 2.1*i) |
1022 | + | ["BrickColor"] = BrickColor.new("Really black"), |
1023 | - | wait() |
1023 | + | ["Transparency"] = 1, |
1024 | - | end |
1024 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
1025 | - | for i = 0.5, 1, 0.5 do |
1025 | + | ["Rotation"] = Vector3.new(93.5509491, 13.533741, -115.702736), |
1026 | - | FWeld.C0 = CA(0, MR(-80-10*i), 0) |
1026 | + | ["Anchored"] = true, |
1027 | - | LAW.C0 = CA(MR(85+5*i), 0, MR(-55-5*i)) * CN(0.3, 0.4, -0.1) |
1027 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.421659291, 0.876036167, 0.234017938, -0.045491308, 0.237320334, -0.970365763, -0.905612469, -0.41980958, -0.060216248), |
1028 | - | RAW.C0 = CA(MR(85+5*i), 0, MR(-70-5*i)) * CN(0.65+0.05*i, -1.2-0.1*i, 0) |
1028 | + | ["CanCollide"] = false, |
1029 | - | HW.C0 = CA(MR(180), 0, MR(210+5*i)) |
1029 | + | ["Locked"] = true, |
1030 | - | AW.C0 = CA(MR(85+5*i), MR(-15*i), 0) * CN(0, 0, 2.1+0.1*i) |
1030 | + | ["Size"] = Vector3.new(4, 1, 2), |
1031 | - | wait() |
1031 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
1032 | - | end |
1032 | + | }) |
1033 | - | LAW.C0 = CA(MR(90), 0, MR(-60)) * CN(0.3, 0.4, 0) |
1033 | + | o25 = Create("ParticleEmitter",{ |
1034 | - | HW.C0 = CA(MR(180), 0, MR(215)) |
1034 | + | ["Parent"] = o24, |
1035 | - | FWeld.C0 = CA(0, MR(-90), 0) |
1035 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
1036 | - | AW.C0 = CA(MR(90), MR(-15), 0) * CN(0, 0, 2.2) |
1036 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
1037 | - | for i = 0.33, 1, 0.33 do |
1037 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
1038 | - | RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0) |
1038 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
1039 | - | SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0) |
1039 | + | }) |
1040 | - | SUW.C1 = CN(0, -0.22*i, 0) * ORSU |
1040 | + | o26 = Create("Part",{ |
1041 | - | SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4) |
1041 | + | ["Parent"] = o2, |
1042 | - | SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0) |
1042 | + | ["BrickColor"] = BrickColor.new("Really black"), |
1043 | - | SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4) |
1043 | + | ["Transparency"] = 1, |
1044 | - | SDW.C1 = CN(0, 0.25*i, 0) * ORSD |
1044 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
1045 | - | wait() |
1045 | + | ["Rotation"] = Vector3.new(93.5508499, 13.5340061, -83.6512985), |
1046 | - | end |
1046 | + | ["Anchored"] = true, |
1047 | - | for i = 0.5, 1, 0.5 do |
1047 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.107508615, 0.966268897, 0.234022439, 0.087382853, 0.225292057, -0.970364869, -0.990356684, 0.124772049, -0.0602144599), |
1048 | - | RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0) |
1048 | + | ["CanCollide"] = false, |
1049 | - | SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0) |
1049 | + | ["Locked"] = true, |
1050 | - | SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU |
1050 | + | ["Size"] = Vector3.new(4, 1, 2), |
1051 | - | SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4) |
1051 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
1052 | - | SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0) |
1052 | + | }) |
1053 | - | SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4) |
1053 | + | o27 = Create("ParticleEmitter",{ |
1054 | - | SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD |
1054 | + | ["Parent"] = o26, |
1055 | - | wait() |
1055 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
1056 | - | end |
1056 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
1057 | - | RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, 0, 0) |
1057 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
1058 | - | local powe = 0 |
1058 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
1059 | - | Main.Visible = true |
1059 | + | }) |
1060 | - | Bar.Size = UD(powe/MaximumPower, 0, 1, 0) |
1060 | + | o28 = Create("Part",{ |
1061 | - | Notime(function() |
1061 | + | ["Parent"] = o2, |
1062 | - | repeat wait() until powe >= MaximumPower or shoot |
1062 | + | ["BrickColor"] = BrickColor.new("Really black"), |
1063 | - | if shoot == false then |
1063 | + | ["Transparency"] = 1, |
1064 | - | shoot = true |
1064 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
1065 | - | end |
1065 | + | ["Rotation"] = Vector3.new(93.5508728, 13.5338879, -67.7195816), |
1066 | - | end) |
1066 | + | ["Anchored"] = true, |
1067 | - | repeat |
1067 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.368611872, 0.899644494, 0.234020427, 0.145866781, 0.192650631, -0.970365226, -0.918067813, 0.391823798, -0.0602149367), |
1068 | - | wait() |
1068 | + | ["CanCollide"] = false, |
1069 | - | powe = powe + 5 |
1069 | + | ["Locked"] = true, |
1070 | - | if powe > MaximumPower then powe = MaximumPower end |
1070 | + | ["Size"] = Vector3.new(4, 1, 2), |
1071 | - | Bar.Size = UD(powe/MaximumPower, 0, 1, 0) |
1071 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
1072 | - | local sped = 16-((powe/MaximumPower)*9) if Selected == false then sped = 16 end |
1072 | + | }) |
1073 | - | Hum.WalkSpeed = sped |
1073 | + | o29 = Create("ParticleEmitter",{ |
1074 | - | until shoot |
1074 | + | ["Parent"] = o28, |
1075 | - | Special = Special - 50 |
1075 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
1076 | - | Main.Visible = false |
1076 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
1077 | - | local pos = mouse.Hit.p |
1077 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
1078 | - | Notime(function() |
1078 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
1079 | - | Play(Sounds.Shoot) |
1079 | + | }) |
1080 | - | ShootArrow(pos, powe/1.2, mouse.Target) |
1080 | + | o30 = Create("Part",{ |
1081 | - | end) |
1081 | + | ["Parent"] = o2, |
1082 | - | SUW.C0 = CN(0, 0.15, 0) * CA(0, 0, 0) |
1082 | + | ["BrickColor"] = BrickColor.new("Really black"), |
1083 | - | SUW.C1 = CN(0, 0, 0) * ORSU |
1083 | + | ["Transparency"] = 1, |
1084 | - | SUM.Scale = Vector3.new(0.4, 2.4, 0.4) |
1084 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
1085 | - | SDW.C0 = CN(0, -0.15, 0) * CA(0, 0, 0) |
1085 | + | ["Rotation"] = Vector3.new(93.5509109, 13.5338335, -50.7363472), |
1086 | - | SDM.Scale = Vector3.new(0.4, 2.4, 0.4) |
1086 | + | ["Anchored"] = true, |
1087 | - | SDW.C1 = CN(0, 0, 0) * ORSD |
1087 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.615315795, 0.752742767, 0.234019518, 0.195777208, 0.141641498, -0.970365524, -0.763582349, 0.642896652, -0.0602156073), |
1088 | - | for i = 0.33, 1, 0.33 do |
1088 | + | ["CanCollide"] = false, |
1089 | - | RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3*i, 0) |
1089 | + | ["Locked"] = true, |
1090 | - | wait() |
1090 | + | ["Size"] = Vector3.new(4, 1, 2), |
1091 | - | end |
1091 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
1092 | - | for i = 0.33, 1, 0.33 do |
1092 | + | }) |
1093 | - | RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -1.3+1.2*i, 0) |
1093 | + | o31 = Create("ParticleEmitter",{ |
1094 | - | SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26*i), 0, 0) |
1094 | + | ["Parent"] = o30, |
1095 | - | SUW.C1 = CN(0, -0.22*i, 0) * ORSU |
1095 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
1096 | - | SUM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4) |
1096 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
1097 | - | SDW.C0 = CN(0, -0.15, 0) * CA(MR(26*i), 0, 0) |
1097 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
1098 | - | SDM.Scale = Vector3.new(0.4, 2.4+0.3*i, 0.4) |
1098 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
1099 | - | SDW.C1 = CN(0, 0.25*i, 0) * ORSD |
1099 | + | }) |
1100 | - | wait() |
1100 | + | o32 = Create("Part",{ |
1101 | - | end |
1101 | + | ["Parent"] = o2, |
1102 | - | for i = 0.5, 1, 0.5 do |
1102 | + | ["BrickColor"] = BrickColor.new("Really black"), |
1103 | - | RAW.C0 = CA(MR(90), 0, MR(-75)) * CN(0.7, -0.1+0.1*i, 0) |
1103 | + | ["Transparency"] = 1, |
1104 | - | SUW.C0 = CN(0, 0.15, 0) * CA(MR(-26-4*i), 0, 0) |
1104 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
1105 | - | SUW.C1 = CN(0, -0.22-0.03*i, 0) * ORSU |
1105 | + | ["Rotation"] = Vector3.new(93.5509033, 13.5337915, -103.332832), |
1106 | - | SUM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4) |
1106 | + | ["Anchored"] = true, |
1107 | - | SDW.C0 = CN(0, -0.15, 0) * CA(MR(26+4*i), 0, 0) |
1107 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.224203944, 0.946027577, 0.234018788, 0.00640313327, 0.241556808, -0.970365584, -0.974521399, -0.216061294, -0.0602154732), |
1108 | - | SDM.Scale = Vector3.new(0.4, 2.7+0.1*i, 0.4) |
1108 | + | ["CanCollide"] = false, |
1109 | - | SDW.C1 = CN(0, 0.22+0.04*i, 0) * ORSD |
1109 | + | ["Locked"] = true, |
1110 | - | wait() |
1110 | + | ["Size"] = Vector3.new(4, 1, 2), |
1111 | - | end |
1111 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
1112 | - | Notime(function() |
1112 | + | }) |
1113 | - | Arrow.Transparency = 1 |
1113 | + | o33 = Create("ParticleEmitter",{ |
1114 | - | ArrowOn = false |
1114 | + | ["Parent"] = o32, |
1115 | - | Play(Sounds.Shoot) |
1115 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
1116 | - | ShootArrow(pos, powe/1.2, mouse.Target) |
1116 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
1117 | - | end) |
1117 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
1118 | - | Notime(function() |
1118 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
1119 | - | for i = 0.5, 1, 0.5 do |
1119 | + | }) |
1120 | - | SUW.C0 = CN(0, 0.15, 0) * CA(MR(-30+30*i), 0, 0) |
1120 | + | o34 = Create("Part",{ |
1121 | - | SUW.C1 = CN(0, -0.25+0.25*i, 0) * ORSU |
1121 | + | ["Parent"] = o2, |
1122 | - | SUM.Scale = Vector3.new(0.4, 2.9-0.5*i, 0.4) |
1122 | + | ["BrickColor"] = BrickColor.new("Really black"), |
1123 | - | SDW.C0 = CN(0, -0.15, 0) * CA(MR(30-30*i), 0, 0) |
1123 | + | ["Transparency"] = 1, |
1124 | - | SDM.Scale = Vector3.new(0.4, 2.9-0.5*i, 0.4) |
1124 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
1125 | - | SDW.C1 = CN(0, 0.25-0.25*i, 0) * ORSD |
1125 | + | ["Rotation"] = Vector3.new(87.5872192, 13.7778225, -25.8519192), |
1126 | - | wait() |
1126 | + | ["Anchored"] = true, |
1127 | - | end |
1127 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.874030232, 0.42350024, 0.238157541, 0.195776746, 0.14164117, -0.970365703, -0.444682926, 0.894754469, 0.0408871919), |
1128 | - | end) |
1128 | + | ["CanCollide"] = false, |
1129 | - | for i = 0.25, 1, 0.25 do |
1129 | + | ["Locked"] = true, |
1130 | - | FWeld.C0 = CA(0, MR(-90+25*i), 0) |
1130 | + | ["Size"] = Vector3.new(4, 1, 2), |
1131 | - | LAW.C0 = CA(MR(90+25*i), 0, MR(-60-15*i)) * CN(0.3-0.3*i, 0.4-0.4*i, -0.1+0.1*i) |
1131 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
1132 | - | RAW.C0 = CA(MR(90+60*i), 0, MR(-75+55*i)) * CN(0.7-0.5*i, -0.1*i, 0) |
1132 | + | }) |
1133 | - | HW.C0 = CA(MR(180), 0, MR(215-65*i)) |
1133 | + | o35 = Create("ParticleEmitter",{ |
1134 | - | wait() |
1134 | + | ["Parent"] = o34, |
1135 | - | end |
1135 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
1136 | - | Hum.WalkSpeed = 16 |
1136 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
1137 | - | for i = 0.33, 1, 0.33 do |
1137 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
1138 | - | FWeld.C0 = CA(0, MR(-65+5*i), 0) |
1138 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
1139 | - | LAW.C0 = CA(MR(115+5*i), 0, MR(-75-5*i)) |
1139 | + | }) |
1140 | - | RAW.C0 = CA(MR(150+10*i), 0, MR(-20+5*i)) * CN(0.2-0.1*i, -0.1-0.05*i, 0) |
1140 | + | o36 = Create("Part",{ |
1141 | - | HW.C0 = CA(MR(180), 0, MR(150)) |
1141 | + | ["Parent"] = o2, |
1142 | - | wait() |
1142 | + | ["BrickColor"] = BrickColor.new("Really black"), |
1143 | - | end |
1143 | + | ["Transparency"] = 1, |
1144 | - | for i = 0.16, 1, 0.16 do |
1144 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
1145 | - | FWeld.C0 = CA(0, MR(-60+55*i), 0) |
1145 | + | ["Rotation"] = Vector3.new(87.5871582, 13.7778587, -42.8351593), |
1146 | - | LAW.C0 = CA(MR(120-110*i), 0, MR(-80+45*i)) |
1146 | + | ["Anchored"] = true, |
1147 | - | RAW.C0 = CA(MR(160-150*i), 0, MR(-15+10*i)) * CN(0.1-0.1*i, -0.15+0.15*i, 0) |
1147 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.712212801, 0.660328567, 0.238158152, 0.145866409, 0.192650288, -0.970365465, -0.686641216, 0.725845814, 0.0408882648), |
1148 | - | wait() |
1148 | + | ["CanCollide"] = false, |
1149 | - | end |
1149 | + | ["Locked"] = true, |
1150 | - | for i = 0.5, 1, 0.5 do |
1150 | + | ["Size"] = Vector3.new(4, 1, 2), |
1151 | - | FWeld.C0 = CA(0, MR(-5+5*i), 0) |
1151 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
1152 | - | LAW.C0 = CA(MR(10-10*i), 0, MR(-35+5*i)) |
1152 | + | }) |
1153 | - | RAW.C0 = CA(MR(10-10*i), 0, MR(-5+5*i)) |
1153 | + | o37 = Create("ParticleEmitter",{ |
1154 | - | wait() |
1154 | + | ["Parent"] = o36, |
1155 | - | end |
1155 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
1156 | - | Spec.BorderColor3 = C3() |
1156 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
1157 | - | AW.C0 = CN() |
1157 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
1158 | - | FWeld.C0 = CN() |
1158 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
1159 | - | LAW.C0 = CA(0, 0, MR(-30)) |
1159 | + | }) |
1160 | - | HW.C0 = CA(MR(180), 0, MR(150)) |
1160 | + | o38 = Create("Part",{ |
1161 | - | FTorso.Transparency = 1 |
1161 | + | ["Parent"] = o2, |
1162 | - | torso.Transparency = 0 |
1162 | + | ["BrickColor"] = BrickColor.new("Really black"), |
1163 | - | Atch(torso) |
1163 | + | ["Transparency"] = 1, |
1164 | - | Shooting = false |
1164 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
1165 | - | RAW.Part1 = nil |
1165 | + | ["Rotation"] = Vector3.new(87.5872955, 13.7777548, -90.8183365), |
1166 | - | RAW.C0 = CN() |
1166 | + | ["Anchored"] = true, |
1167 | - | omg = false |
1167 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.0138711762, 0.971127868, 0.238156393, -0.0454913229, 0.237319738, -0.970365882, -0.998868525, -0.0242941976, 0.0408859849), |
1168 | - | end |
1168 | + | ["CanCollide"] = false, |
1169 | - | |
1169 | + | ["Locked"] = true, |
1170 | - | function Sel(mouse) |
1170 | + | ["Size"] = Vector3.new(4, 1, 2), |
1171 | - | mouse.Icon = Icon |
1171 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
1172 | - | SelectAnim() |
1172 | + | }) |
1173 | - | Selected = true |
1173 | + | o39 = Create("ParticleEmitter",{ |
1174 | - | mouse.KeyDown:connect(function(key) |
1174 | + | ["Parent"] = o38, |
1175 | - | key = key:lower() |
1175 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
1176 | - | if Reloading == false and Slashing == false and Shooting == false then |
1176 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
1177 | - | if key == "f" then |
1177 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
1178 | - | Reload() |
1178 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
1179 | - | end |
1179 | + | }) |
1180 | - | end |
1180 | + | o40 = Create("Part",{ |
1181 | - | if Shooting == false then |
1181 | + | ["Parent"] = o2, |
1182 | - | if key == "e" then |
1182 | + | ["BrickColor"] = BrickColor.new("Really black"), |
1183 | - | Keys.e = true |
1183 | + | ["Transparency"] = 1, |
1184 | - | local k |
1184 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
1185 | - | Spec.BorderColor3 = C3(1, 1, 0.4) |
1185 | + | ["Rotation"] = Vector3.new(87.5872269, 13.7777824, -78.4484177), |
1186 | - | repeat |
1186 | + | ["Anchored"] = true, |
1187 | - | wait() |
1187 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.194488198, 0.951554537, 0.23815687, 0.00640301406, 0.241556317, -0.970365763, -0.980884075, 0.190249637, 0.0408870727), |
1188 | - | k = mouse.KeyUp:wait() |
1188 | + | ["CanCollide"] = false, |
1189 | - | until k == "e" |
1189 | + | ["Locked"] = true, |
1190 | - | Keys.e = false |
1190 | + | ["Size"] = Vector3.new(4, 1, 2), |
1191 | - | if Shooting == false then |
1191 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
1192 | - | Spec.BorderColor3 = C3() |
1192 | + | }) |
1193 | - | end |
1193 | + | o41 = Create("ParticleEmitter",{ |
1194 | - | end |
1194 | + | ["Parent"] = o40, |
1195 | - | end |
1195 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
1196 | - | end) |
1196 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
1197 | - | mouse.Button1Down:connect(function() |
1197 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
1198 | - | if Reloading == false and Slashing == false and Shooting == false then |
1198 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
1199 | - | if ArrowOn == false then |
1199 | + | }) |
1200 | - | local yesh = true |
1200 | + | o42 = Create("Part",{ |
1201 | - | Notime(function() |
1201 | + | ["Parent"] = o2, |
1202 | - | mouse.Button1Up:wait() |
1202 | + | ["BrickColor"] = BrickColor.new("Really black"), |
1203 | - | yesh = false |
1203 | + | ["Transparency"] = 1, |
1204 | - | end) |
1204 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
1205 | - | local ah = Keys.e |
1205 | + | ["Rotation"] = Vector3.new(87.5870895, 13.7779512, -58.7668457), |
1206 | - | Reload() |
1206 | + | ["Anchored"] = true, |
1207 | - | if yesh then |
1207 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.503602087, 0.830460906, 0.238159731, 0.0873826072, 0.22529155, -0.970364928, -0.859505475, 0.509488642, 0.0408894569), |
1208 | - | local mm = Special >= 50 |
1208 | + | ["CanCollide"] = false, |
1209 | - | if ah and mm or Keys.e and mm then |
1209 | + | ["Locked"] = true, |
1210 | - | SpecialAtk(mouse) |
1210 | + | ["Size"] = Vector3.new(4, 1, 2), |
1211 | - | else |
1211 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
1212 | - | Shoot(mouse) |
1212 | + | }) |
1213 | - | end |
1213 | + | o43 = Create("ParticleEmitter",{ |
1214 | - | end |
1214 | + | ["Parent"] = o42, |
1215 | - | else |
1215 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
1216 | - | local mm = Special >= 50 |
1216 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
1217 | - | if Keys.e and mm then |
1217 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
1218 | - | SpecialAtk(mouse) |
1218 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
1219 | - | else |
1219 | + | }) |
1220 | - | Shoot(mouse) |
1220 | + | o44 = Create("Part",{ |
1221 | - | end |
1221 | + | ["Parent"] = o2, |
1222 | - | end |
1222 | + | ["BrickColor"] = BrickColor.new("Really black"), |
1223 | - | end |
1223 | + | ["Transparency"] = 1, |
1224 | - | end) |
1224 | + | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), |
1225 | - | end |
1225 | + | ["Rotation"] = Vector3.new(86.3596802, -13.5104132, 76.2841797), |
1226 | - | |
1226 | + | ["Anchored"] = true, |
1227 | - | function Desel(mouse) |
1227 | + | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.230545193, -0.944600403, -0.233622074, 0.00640067458, 0.241556659, -0.970365644, 0.973040581, 0.222217858, 0.0617358685), |
1228 | - | Selected = false |
1228 | + | ["CanCollide"] = false, |
1229 | - | Main.Visible = false |
1229 | + | ["Locked"] = true, |
1230 | - | Hum.WalkSpeed = 50 |
1230 | + | ["Size"] = Vector3.new(4, 1, 2), |
1231 | - | DeselectAnim() |
1231 | + | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), |
1232 | - | end |
1232 | + | }) |
1233 | - | |
1233 | + | o45 = Create("ParticleEmitter",{ |
1234 | - | bin.Deselected:connect(Desel) |
1234 | + | ["Parent"] = o44, |
1235 | - | bin.Selected:connect(Sel) |
1235 | + | ["Size"] = NumberSequence.new(2.5,2.5), |
1236 | - | |
1236 | + | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), |
1237 | - | while Mo.Parent == char do |
1237 | + | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", |
1238 | - | wait() |
1238 | + | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), |
1239 | - | Special = Special + 0.07 |
1239 | + | }) |
1240 | - | if Special > MaxSpecial then Special = MaxSpecial end |
1240 | + | o46 = Create("Part",{ |
1241 | - | SpecialBar.Size = UDim2.new(Special/MaxSpecial, 0, 1, 0) |
1241 | + | ["Parent"] = o2, |
1242 | ["BrickColor"] = BrickColor.new("Really black"), | |
1243 | ["Transparency"] = 1, | |
1244 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1245 | ["Rotation"] = Vector3.new(86.3597107, -13.5105181, 111.897423), | |
1246 | ["Anchored"] = true, | |
1247 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.36262551, -0.902176857, -0.233623862, 0.1458648, 0.192652062, -0.970365405, 0.920449078, -0.385956615, 0.0617353171), | |
1248 | ["CanCollide"] = false, | |
1249 | ["Locked"] = true, | |
1250 | ["Size"] = Vector3.new(4, 1, 2), | |
1251 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1252 | }) | |
1253 | o47 = Create("ParticleEmitter",{ | |
1254 | ["Parent"] = o46, | |
1255 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1256 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1257 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1258 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1259 | }) | |
1260 | o48 = Create("Part",{ | |
1261 | ["Parent"] = o2, | |
1262 | ["BrickColor"] = BrickColor.new("Really black"), | |
1263 | ["Transparency"] = 1, | |
1264 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1265 | ["Rotation"] = Vector3.new(86.3596725, -13.5104551, 128.880707), | |
1266 | ["Anchored"] = true, | |
1267 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.61033088, -0.756912768, -0.233622789, 0.195775732, 0.141643152, -0.970365465, 0.767573178, -0.637981534, 0.0617359728), | |
1268 | ["CanCollide"] = false, | |
1269 | ["Locked"] = true, | |
1270 | ["Size"] = Vector3.new(4, 1, 2), | |
1271 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1272 | }) | |
1273 | o49 = Create("ParticleEmitter",{ | |
1274 | ["Parent"] = o48, | |
1275 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1276 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1277 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1278 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1279 | }) | |
1280 | o50 = Create("Part",{ | |
1281 | ["Parent"] = o2, | |
1282 | ["BrickColor"] = BrickColor.new("Really black"), | |
1283 | ["Transparency"] = 1, | |
1284 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1285 | ["Rotation"] = Vector3.new(86.3596344, -13.5103664, 63.9142685), | |
1286 | ["Anchored"] = true, | |
1287 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.427547663, -0.873283744, -0.233621284, -0.0454937071, 0.237319678, -0.970365882, 0.902847409, 0.425505877, 0.0617365986), | |
1288 | ["CanCollide"] = false, | |
1289 | ["Locked"] = true, | |
1290 | ["Size"] = Vector3.new(4, 1, 2), | |
1291 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1292 | }) | |
1293 | o51 = Create("ParticleEmitter",{ | |
1294 | ["Parent"] = o50, | |
1295 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1296 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1297 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1298 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1299 | }) | |
1300 | o52 = Create("Part",{ | |
1301 | ["Parent"] = o2, | |
1302 | ["BrickColor"] = BrickColor.new("Really black"), | |
1303 | ["Transparency"] = 1, | |
1304 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1305 | ["Rotation"] = Vector3.new(102.621109, -6.0702033, -168.148773), | |
1306 | ["Anchored"] = true, | |
1307 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.973196864, 0.204219759, -0.105746955, 0.145866275, 0.192652568, -0.970364988, -0.177795321, -0.959780931, -0.217277646), | |
1308 | ["CanCollide"] = false, | |
1309 | ["Locked"] = true, | |
1310 | ["Size"] = Vector3.new(4, 1, 2), | |
1311 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1312 | }) | |
1313 | o53 = Create("ParticleEmitter",{ | |
1314 | ["Parent"] = o52, | |
1315 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1316 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1317 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1318 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1319 | }) | |
1320 | o54 = Create("Part",{ | |
1321 | ["Parent"] = o2, | |
1322 | ["BrickColor"] = BrickColor.new("Really black"), | |
1323 | ["Transparency"] = 1, | |
1324 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1325 | ["Rotation"] = Vector3.new(102.620941, -6.07024574, 143.868088), | |
1326 | ["Anchored"] = true, | |
1327 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.80313319, -0.586340189, -0.105747685, -0.0454930514, 0.237321064, -0.970365524, 0.594060361, -0.774521887, -0.217274785), | |
1328 | ["CanCollide"] = false, | |
1329 | ["Locked"] = true, | |
1330 | ["Size"] = Vector3.new(4, 1, 2), | |
1331 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1332 | }) | |
1333 | o55 = Create("ParticleEmitter",{ | |
1334 | ["Parent"] = o54, | |
1335 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1336 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1337 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1338 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1339 | }) | |
1340 | o56 = Create("Part",{ | |
1341 | ["Parent"] = o2, | |
1342 | ["BrickColor"] = BrickColor.new("Really black"), | |
1343 | ["Transparency"] = 1, | |
1344 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1345 | ["Rotation"] = Vector3.new(102.620995, -6.07021284, 156.237991), | |
1346 | ["Anchored"] = true, | |
1347 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.910095572, -0.40067938, -0.105747119, 0.00640164688, 0.241557866, -0.970365405, 0.414349347, -0.883802176, -0.217275634), | |
1348 | ["CanCollide"] = false, | |
1349 | ["Locked"] = true, | |
1350 | ["Size"] = Vector3.new(4, 1, 2), | |
1351 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1352 | }) | |
1353 | o57 = Create("ParticleEmitter",{ | |
1354 | ["Parent"] = o56, | |
1355 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1356 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1357 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1358 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1359 | }) | |
1360 | o58 = Create("Part",{ | |
1361 | ["Parent"] = o2, | |
1362 | ["BrickColor"] = BrickColor.new("Really black"), | |
1363 | ["Transparency"] = 1, | |
1364 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1365 | ["Rotation"] = Vector3.new(102.621033, -6.07022762, -151.165482), | |
1366 | ["Anchored"] = true, | |
1367 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.871104538, 0.479577303, -0.105747372, 0.195777193, 0.141643211, -0.970365286, -0.450386614, -0.865992486, -0.21727632), | |
1368 | ["CanCollide"] = false, | |
1369 | ["Locked"] = true, | |
1370 | ["Size"] = Vector3.new(4, 1, 2), | |
1371 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1372 | }) | |
1373 | o59 = Create("ParticleEmitter",{ | |
1374 | ["Parent"] = o58, | |
1375 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1376 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1377 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1378 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1379 | }) | |
1380 | o60 = Create("Part",{ | |
1381 | ["Parent"] = o2, | |
1382 | ["BrickColor"] = BrickColor.new("Really black"), | |
1383 | ["Transparency"] = 1, | |
1384 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1385 | ["Rotation"] = Vector3.new(102.621223, -6.07019854, 175.919556), | |
1386 | ["Anchored"] = true, | |
1387 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.991872668, -0.0707581863, -0.105746865, 0.0873818323, 0.225293636, -0.970364571, 0.0924853384, -0.971718192, -0.217279553), | |
1388 | ["CanCollide"] = false, | |
1389 | ["Locked"] = true, | |
1390 | ["Size"] = Vector3.new(4, 1, 2), | |
1391 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1392 | }) | |
1393 | o61 = Create("ParticleEmitter",{ | |
1394 | ["Parent"] = o60, | |
1395 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1396 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1397 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1398 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1399 | }) | |
1400 | o62 = Create("Part",{ | |
1401 | ["Parent"] = o2, | |
1402 | ["BrickColor"] = BrickColor.new("Really black"), | |
1403 | ["Transparency"] = 1, | |
1404 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1405 | ["Rotation"] = Vector3.new(76.1906204, -2.22199559, 30.1629696), | |
1406 | ["Anchored"] = true, | |
1407 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.863949716, -0.50208348, -0.0387714207, 0.0873808563, 0.22529152, -0.970365107, 0.495939046, 0.834958911, 0.238513038), | |
1408 | ["CanCollide"] = false, | |
1409 | ["Locked"] = true, | |
1410 | ["Size"] = Vector3.new(4, 1, 2), | |
1411 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1412 | }) | |
1413 | o63 = Create("ParticleEmitter",{ | |
1414 | ["Parent"] = o62, | |
1415 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1416 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1417 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1418 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1419 | }) | |
1420 | o64 = Create("Part",{ | |
1421 | ["Parent"] = o2, | |
1422 | ["BrickColor"] = BrickColor.new("Really black"), | |
1423 | ["Transparency"] = 1, | |
1424 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1425 | ["Rotation"] = Vector3.new(76.1907578, -2.22186089, 63.077919), | |
1426 | ["Anchored"] = true, | |
1427 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.452438056, -0.890953004, -0.0387690663, 0.19577527, 0.141642034, -0.970365763, 0.87004137, 0.431440324, 0.238510787), | |
1428 | ["CanCollide"] = false, | |
1429 | ["Locked"] = true, | |
1430 | ["Size"] = Vector3.new(4, 1, 2), | |
1431 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1432 | }) | |
1433 | o65 = Create("ParticleEmitter",{ | |
1434 | ["Parent"] = o64, | |
1435 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1436 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1437 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1438 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1439 | }) | |
1440 | o66 = Create("Part",{ | |
1441 | ["Parent"] = o2, | |
1442 | ["BrickColor"] = BrickColor.new("Really black"), | |
1443 | ["Transparency"] = 1, | |
1444 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1445 | ["Rotation"] = Vector3.new(76.190712, -2.22191787, 46.0946541), | |
1446 | ["Anchored"] = true, | |
1447 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.692947745, -0.719944835, -0.0387700647, 0.145864815, 0.192650661, -0.970365703, 0.706078768, 0.666757405, 0.238511443), | |
1448 | ["CanCollide"] = false, | |
1449 | ["Locked"] = true, | |
1450 | ["Size"] = Vector3.new(4, 1, 2), | |
1451 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1452 | }) | |
1453 | o67 = Create("ParticleEmitter",{ | |
1454 | ["Parent"] = o66, | |
1455 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1456 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1457 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1458 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1459 | }) | |
1460 | o68 = Create("Part",{ | |
1461 | ["Parent"] = o2, | |
1462 | ["BrickColor"] = BrickColor.new("Really black"), | |
1463 | ["Transparency"] = 1, | |
1464 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1465 | ["Rotation"] = Vector3.new(76.1908188, -2.22179508, -1.88847733), | |
1466 | ["Anchored"] = true, | |
1467 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.998705685, 0.032929413, -0.0387679189, -0.0454927385, 0.237318829, -0.970366061, -0.0227532424, 0.970873654, 0.2385097), | |
1468 | ["CanCollide"] = false, | |
1469 | ["Locked"] = true, | |
1470 | ["Size"] = Vector3.new(4, 1, 2), | |
1471 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1472 | }) | |
1473 | o69 = Create("ParticleEmitter",{ | |
1474 | ["Parent"] = o68, | |
1475 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1476 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1477 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1478 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1479 | }) | |
1480 | o70 = Create("Part",{ | |
1481 | ["Parent"] = o2, | |
1482 | ["BrickColor"] = BrickColor.new("Really black"), | |
1483 | ["Transparency"] = 1, | |
1484 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1485 | ["Rotation"] = Vector3.new(76.1907883, -2.22185564, 10.4814234), | |
1486 | ["Anchored"] = true, | |
1487 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.982574821, -0.181779981, -0.0387689769, 0.00640141964, 0.241555661, -0.970365882, 0.185757935, 0.953208923, 0.238510132), | |
1488 | ["CanCollide"] = false, | |
1489 | ["Locked"] = true, | |
1490 | ["Size"] = Vector3.new(4, 1, 2), | |
1491 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1492 | }) | |
1493 | o71 = Create("ParticleEmitter",{ | |
1494 | ["Parent"] = o70, | |
1495 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1496 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1497 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1498 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1499 | }) | |
1500 | o72 = Create("Part",{ | |
1501 | ["Parent"] = o2, | |
1502 | ["BrickColor"] = BrickColor.new("Really black"), | |
1503 | ["Transparency"] = 1, | |
1504 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1505 | ["Rotation"] = Vector3.new(79.039566, 8.73714828, -48.9605522), | |
1506 | ["Anchored"] = true, | |
1507 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.648959339, 0.745505035, 0.151901692, -0.0454917476, 0.237319022, -0.97036618, -0.75946182, 0.622817814, 0.187924758), | |
1508 | ["CanCollide"] = false, | |
1509 | ["Locked"] = true, | |
1510 | ["Size"] = Vector3.new(4, 1, 2), | |
1511 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1512 | }) | |
1513 | o73 = Create("ParticleEmitter",{ | |
1514 | ["Parent"] = o72, | |
1515 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1516 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1517 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1518 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1519 | }) | |
1520 | o74 = Create("Part",{ | |
1521 | ["Parent"] = o2, | |
1522 | ["BrickColor"] = BrickColor.new("Really black"), | |
1523 | ["Transparency"] = 1, | |
1524 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1525 | ["Rotation"] = Vector3.new(79.0392761, 8.73716068, -16.9090633), | |
1526 | ["Anchored"] = true, | |
1527 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.945665002, 0.287478387, 0.151901901, 0.0873818249, 0.225291193, -0.970365167, -0.313181132, 0.930913687, 0.187929645), | |
1528 | ["CanCollide"] = false, | |
1529 | ["Locked"] = true, | |
1530 | ["Size"] = Vector3.new(4, 1, 2), | |
1531 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1532 | }) | |
1533 | o75 = Create("ParticleEmitter",{ | |
1534 | ["Parent"] = o74, | |
1535 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1536 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1537 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1538 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1539 | }) | |
1540 | o76 = Create("Part",{ | |
1541 | ["Parent"] = o2, | |
1542 | ["BrickColor"] = BrickColor.new("Really black"), | |
1543 | ["Transparency"] = 1, | |
1544 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1545 | ["Rotation"] = Vector3.new(79.039505, 8.73712921, -36.5906372), | |
1546 | ["Anchored"] = true, | |
1547 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.793597758, 0.589176536, 0.151901364, 0.00640243944, 0.241555661, -0.970365882, -0.608409464, 0.771052539, 0.18792586), | |
1548 | ["CanCollide"] = false, | |
1549 | ["Locked"] = true, | |
1550 | ["Size"] = Vector3.new(4, 1, 2), | |
1551 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1552 | }) | |
1553 | o77 = Create("ParticleEmitter",{ | |
1554 | ["Parent"] = o76, | |
1555 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1556 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1557 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1558 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1559 | }) | |
1560 | o78 = Create("Part",{ | |
1561 | ["Parent"] = o2, | |
1562 | ["BrickColor"] = BrickColor.new("Really black"), | |
1563 | ["Transparency"] = 1, | |
1564 | ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521), | |
1565 | ["Rotation"] = Vector3.new(79.0393982, 8.7371397, -0.977389395), | |
1566 | ["Anchored"] = true, | |
1567 | ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.988252044, 0.0168598946, 0.151901543, 0.145865604, 0.19265008, -0.970365644, -0.0456241071, 0.981122792, 0.187927589), | |
1568 | ["CanCollide"] = false, | |
1569 | ["Locked"] = true, | |
1570 | ["Size"] = Vector3.new(4, 1, 2), | |
1571 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1572 | }) | |
1573 | o79 = Create("ParticleEmitter",{ | |
1574 | ["Parent"] = o78, | |
1575 | ["Size"] = NumberSequence.new(2.5,2.5), | |
1576 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.137255, 0, 0)), | |
1577 | ["Texture"] = "rbxasset://textures/particles/explosion01_implosion_main.dds", | |
1578 | ["Acceleration"] = Vector3.new(0, -1.29999995, 0), | |
1579 | }) | |
1580 | o80 = Create("Model",{ | |
1581 | ["Name"] = "Arm1", | |
1582 | ["Parent"] = o1, | |
1583 | }) | |
1584 | o81 = Create("Part",{ | |
1585 | ["Name"] = "Middle", | |
1586 | ["Parent"] = o80, | |
1587 | ["Material"] = Enum.Material.Granite, | |
1588 | ["BrickColor"] = BrickColor.new("Really black"), | |
1589 | ["Position"] = Vector3.new(3923.3938, -4665.64014, -17.7558212), | |
1590 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
1591 | ["Anchored"] = true, | |
1592 | ["CFrame"] = CFrame.new(3923.3938, -4665.64014, -17.7558212, 0, 0, -1, 0, 1, 0, 1, 0, 0), | |
1593 | ["CanCollide"] = false, | |
1594 | ["Locked"] = true, | |
1595 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1596 | ["Size"] = Vector3.new(4.64390278, 9.28781509, 4.6439023), | |
1597 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1598 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1599 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1600 | }) | |
1601 | o82 = Create("ParticleEmitter",{ | |
1602 | ["Parent"] = o81, | |
1603 | ["Size"] = NumberSequence.new(1,0.9375,1.7500001192093,0.87499976158142,2.8749995231628,1.25,2.0625,1.1874997615814,2.9375,1.3124996423721,2.8749995231628,5.6875), | |
1604 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)), | |
1605 | ["Texture"] = "http://www.roblox.com/asset/?id=242986555", | |
1606 | ["Lifetime"] = NumberRange.new(1,1), | |
1607 | ["Rate"] = 40, | |
1608 | ["RotSpeed"] = NumberRange.new(30,30), | |
1609 | ["Speed"] = NumberRange.new(0,0), | |
1610 | }) | |
1611 | o83 = Create("ParticleEmitter",{ | |
1612 | ["Parent"] = o81, | |
1613 | ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25), | |
1614 | ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25), | |
1615 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.0235294, 0, 0.0705882)), | |
1616 | ["Texture"] = "http://www.roblox.com/asset/?id=243043229", | |
1617 | ["Lifetime"] = NumberRange.new(2,2), | |
1618 | ["Rate"] = 30, | |
1619 | ["RotSpeed"] = NumberRange.new(400,400), | |
1620 | ["Speed"] = NumberRange.new(3,3), | |
1621 | }) | |
1622 | o84 = Create("Model",{ | |
1623 | ["Name"] = "Arm2", | |
1624 | ["Parent"] = o1, | |
1625 | }) | |
1626 | o85 = Create("Part",{ | |
1627 | ["Name"] = "Middle", | |
1628 | ["Parent"] = o84, | |
1629 | ["Material"] = Enum.Material.Granite, | |
1630 | ["BrickColor"] = BrickColor.new("Really black"), | |
1631 | ["Position"] = Vector3.new(3923.3938, -4665.64014, -3.8241148), | |
1632 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
1633 | ["Anchored"] = true, | |
1634 | ["CFrame"] = CFrame.new(3923.3938, -4665.64014, -3.8241148, 0, 0, -1, 0, 1, 0, 1, 0, 0), | |
1635 | ["CanCollide"] = false, | |
1636 | ["Locked"] = true, | |
1637 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1638 | ["Size"] = Vector3.new(4.64390278, 9.28781509, 4.6439023), | |
1639 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1640 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1641 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1642 | }) | |
1643 | o86 = Create("ParticleEmitter",{ | |
1644 | ["Parent"] = o85, | |
1645 | ["Size"] = NumberSequence.new(1,0.9375,1.7500001192093,0.87499976158142,2.8749995231628,1.25,2.0625,1.1874997615814,2.9375,1.3124996423721,2.8749995231628,5.6875), | |
1646 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)), | |
1647 | ["Texture"] = "http://www.roblox.com/asset/?id=242986555", | |
1648 | ["Lifetime"] = NumberRange.new(1,1), | |
1649 | ["Rate"] = 40, | |
1650 | ["RotSpeed"] = NumberRange.new(30,30), | |
1651 | ["Speed"] = NumberRange.new(0,0), | |
1652 | }) | |
1653 | o87 = Create("ParticleEmitter",{ | |
1654 | ["Parent"] = o85, | |
1655 | ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25), | |
1656 | ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25), | |
1657 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.0235294, 0, 0.0705882)), | |
1658 | ["Texture"] = "http://www.roblox.com/asset/?id=243043229", | |
1659 | ["Lifetime"] = NumberRange.new(2,2), | |
1660 | ["Rate"] = 30, | |
1661 | ["RotSpeed"] = NumberRange.new(400,400), | |
1662 | ["Speed"] = NumberRange.new(3,3), | |
1663 | }) | |
1664 | o88 = Create("Part",{ | |
1665 | ["Parent"] = o84, | |
1666 | ["Material"] = Enum.Material.Granite, | |
1667 | ["BrickColor"] = BrickColor.new("Really black"), | |
1668 | ["Position"] = Vector3.new(3935.67017, -4667.5542, -3.13911486), | |
1669 | ["Rotation"] = Vector3.new(90, -82.368454, 90.0000076), | |
1670 | ["Anchored"] = true, | |
1671 | ["CFrame"] = CFrame.new(3935.67017, -4667.5542, -3.13911486, -1.44198635e-008, -0.132802665, -0.991142571, 1.18167613e-007, 0.991142571, -0.132802665, 1, -1.19035953e-007, 1.40083323e-009), | |
1672 | ["CanCollide"] = false, | |
1673 | ["Locked"] = true, | |
1674 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1675 | ["Size"] = Vector3.new(1.47390282, 1.33999991, 36.1239014), | |
1676 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1677 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1678 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1679 | }) | |
1680 | o89 = Create("ParticleEmitter",{ | |
1681 | ["Parent"] = o88, | |
1682 | ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25), | |
1683 | ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25), | |
1684 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.0235294, 0, 0.0705882)), | |
1685 | ["Texture"] = "http://www.roblox.com/asset/?id=243043229", | |
1686 | ["Lifetime"] = NumberRange.new(2,2), | |
1687 | ["Rate"] = 30, | |
1688 | ["RotSpeed"] = NumberRange.new(400,400), | |
1689 | ["Speed"] = NumberRange.new(3,3), | |
1690 | }) | |
1691 | o90 = Create("Part",{ | |
1692 | ["Parent"] = o84, | |
1693 | ["Material"] = Enum.Material.Neon, | |
1694 | ["BrickColor"] = BrickColor.new("Institutional white"), | |
1695 | ["Position"] = Vector3.new(3947.09888, -4665.76025, -3.20606613), | |
1696 | ["Rotation"] = Vector3.new(90, -82.368454, 90.0000076), | |
1697 | ["Anchored"] = true, | |
1698 | ["CFrame"] = CFrame.new(3947.09888, -4665.76025, -3.20606613, -1.44198635e-008, -0.132802665, -0.991142571, 1.18167613e-007, 0.991142571, -0.132802665, 1, -1.19035953e-007, 1.40083323e-009), | |
1699 | ["CanCollide"] = false, | |
1700 | ["Locked"] = true, | |
1701 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1702 | ["Size"] = Vector3.new(0.200000003, 7.81999969, 31.2939014), | |
1703 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1704 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1705 | ["Color"] = Color3.new(0.972549, 0.972549, 0.972549), | |
1706 | }) | |
1707 | o91 = Create("ParticleEmitter",{ | |
1708 | ["Parent"] = o90, | |
1709 | ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25), | |
1710 | ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25), | |
1711 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.0235294, 0, 0.0705882)), | |
1712 | ["Texture"] = "http://www.roblox.com/asset/?id=243043229", | |
1713 | ["Lifetime"] = NumberRange.new(2,2), | |
1714 | ["Rate"] = 30, | |
1715 | ["RotSpeed"] = NumberRange.new(400,400), | |
1716 | ["Speed"] = NumberRange.new(3,3), | |
1717 | }) | |
1718 | o92 = Create("Part",{ | |
1719 | ["Parent"] = o84, | |
1720 | ["Material"] = Enum.Material.Neon, | |
1721 | ["BrickColor"] = BrickColor.new("Institutional white"), | |
1722 | ["Position"] = Vector3.new(3963.30298, -4662.56982, -3.20606613), | |
1723 | ["Rotation"] = Vector3.new(-90.000061, -44.0050316, -90.0000305), | |
1724 | ["Anchored"] = true, | |
1725 | ["CFrame"] = CFrame.new(3963.30298, -4662.56982, -3.20606613, -4.02258507e-007, 0.719278812, -0.69472152, 6.60829357e-007, 0.69472152, 0.719278812, 1, -1.69756362e-007, -7.54778171e-007), | |
1726 | ["CanCollide"] = false, | |
1727 | ["Locked"] = true, | |
1728 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1729 | ["Size"] = Vector3.new(0.200000003, 7.81999969, 7.0639019), | |
1730 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1731 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1732 | ["Color"] = Color3.new(0.972549, 0.972549, 0.972549), | |
1733 | }) | |
1734 | o93 = Create("ParticleEmitter",{ | |
1735 | ["Parent"] = o92, | |
1736 | ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25), | |
1737 | ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25), | |
1738 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.0235294, 0, 0.0705882)), | |
1739 | ["Texture"] = "http://www.roblox.com/asset/?id=243043229", | |
1740 | ["Lifetime"] = NumberRange.new(2,2), | |
1741 | ["Rate"] = 30, | |
1742 | ["RotSpeed"] = NumberRange.new(400,400), | |
1743 | ["Speed"] = NumberRange.new(3,3), | |
1744 | }) | |
1745 | o94 = Create("Model",{ | |
1746 | ["Name"] = "Leg1", | |
1747 | ["Parent"] = o1, | |
1748 | }) | |
1749 | o95 = Create("Part",{ | |
1750 | ["Name"] = "Middle", | |
1751 | ["Parent"] = o94, | |
1752 | ["Material"] = Enum.Material.Granite, | |
1753 | ["BrickColor"] = BrickColor.new("Really black"), | |
1754 | ["Position"] = Vector3.new(3923.3938, -4674.92725, -13.1119194), | |
1755 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
1756 | ["Anchored"] = true, | |
1757 | ["CFrame"] = CFrame.new(3923.3938, -4674.92725, -13.1119194, 0, 0, -1, 0, 1, 0, 1, 0, 0), | |
1758 | ["CanCollide"] = false, | |
1759 | ["Locked"] = true, | |
1760 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1761 | ["Size"] = Vector3.new(4.64390278, 9.28781509, 4.6439023), | |
1762 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1763 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1764 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1765 | }) | |
1766 | o96 = Create("ParticleEmitter",{ | |
1767 | ["Parent"] = o95, | |
1768 | ["Size"] = NumberSequence.new(1,0.9375,1.7500001192093,0.87499976158142,2.8749995231628,1.25,2.0625,1.1874997615814,2.9375,1.3124996423721,2.8749995231628,5.6875), | |
1769 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)), | |
1770 | ["Texture"] = "http://www.roblox.com/asset/?id=242986555", | |
1771 | ["Lifetime"] = NumberRange.new(1,1), | |
1772 | ["Rate"] = 40, | |
1773 | ["RotSpeed"] = NumberRange.new(30,30), | |
1774 | ["Speed"] = NumberRange.new(0,0), | |
1775 | }) | |
1776 | o97 = Create("ParticleEmitter",{ | |
1777 | ["Parent"] = o95, | |
1778 | ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25), | |
1779 | ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25), | |
1780 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.0235294, 0, 0.0705882)), | |
1781 | ["Texture"] = "http://www.roblox.com/asset/?id=243043229", | |
1782 | ["Lifetime"] = NumberRange.new(2,2), | |
1783 | ["Rate"] = 30, | |
1784 | ["RotSpeed"] = NumberRange.new(400,400), | |
1785 | ["Speed"] = NumberRange.new(3,3), | |
1786 | }) | |
1787 | o98 = Create("Model",{ | |
1788 | ["Name"] = "Leg2", | |
1789 | ["Parent"] = o1, | |
1790 | }) | |
1791 | o99 = Create("Part",{ | |
1792 | ["Name"] = "Middle", | |
1793 | ["Parent"] = o98, | |
1794 | ["Material"] = Enum.Material.Granite, | |
1795 | ["BrickColor"] = BrickColor.new("Really black"), | |
1796 | ["Position"] = Vector3.new(3923.3938, -4674.92725, -8.46801567), | |
1797 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
1798 | ["Anchored"] = true, | |
1799 | ["CFrame"] = CFrame.new(3923.3938, -4674.92725, -8.46801567, 0, 0, -1, 0, 1, 0, 1, 0, 0), | |
1800 | ["CanCollide"] = false, | |
1801 | ["Locked"] = true, | |
1802 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1803 | ["Size"] = Vector3.new(4.64390278, 9.28781509, 4.6439023), | |
1804 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1805 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1806 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1807 | }) | |
1808 | o100 = Create("ParticleEmitter",{ | |
1809 | ["Parent"] = o99, | |
1810 | ["Size"] = NumberSequence.new(1,0.9375,1.7500001192093,0.87499976158142,2.8749995231628,1.25,2.0625,1.1874997615814,2.9375,1.3124996423721,2.8749995231628,5.6875), | |
1811 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)), | |
1812 | ["Texture"] = "http://www.roblox.com/asset/?id=242986555", | |
1813 | ["Lifetime"] = NumberRange.new(1,1), | |
1814 | ["Rate"] = 40, | |
1815 | ["RotSpeed"] = NumberRange.new(30,30), | |
1816 | ["Speed"] = NumberRange.new(0,0), | |
1817 | }) | |
1818 | o101 = Create("ParticleEmitter",{ | |
1819 | ["Parent"] = o99, | |
1820 | ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25), | |
1821 | ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25), | |
1822 | ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.0235294, 0, 0.0705882)), | |
1823 | ["Texture"] = "http://www.roblox.com/asset/?id=243043229", | |
1824 | ["Lifetime"] = NumberRange.new(2,2), | |
1825 | ["Rate"] = 30, | |
1826 | ["RotSpeed"] = NumberRange.new(400,400), | |
1827 | ["Speed"] = NumberRange.new(3,3), | |
1828 | }) | |
1829 | o102 = Create("Part",{ | |
1830 | ["Name"] = "Head", | |
1831 | ["Parent"] = o1, | |
1832 | ["BrickColor"] = BrickColor.new("Really red"), | |
1833 | ["Position"] = Vector3.new(3930.82446, -4678.17822, -1.96655464), | |
1834 | ["Rotation"] = Vector3.new(0, 90, 0), | |
1835 | ["Anchored"] = true, | |
1836 | ["CFrame"] = CFrame.new(3930.82446, -4678.17822, -1.96655464, 0, 0, 1, 0, 1, -0, -1, 0, 0), | |
1837 | ["CanCollide"] = false, | |
1838 | ["Locked"] = true, | |
1839 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1840 | ["Size"] = Vector3.new(0.928780496, 0.928781509, 0.928780496), | |
1841 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1842 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1843 | ["Color"] = Color3.new(1, 0, 0), | |
1844 | }) | |
1845 | o103 = Create("Script",{ | |
1846 | ["Name"] = "Arm1", | |
1847 | ["Parent"] = o102, | |
1848 | }) | |
1849 | table.insert(cors,coroutine.create(function() | |
1850 | wait() | |
1851 | runDummyScript(function() | |
1852 | function onTouched(hit) | |
1853 | if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Arm1") == nil then | |
1854 | local g = script.Parent.Parent.Arm1:clone() | |
1855 | g.Parent = hit.Parent | |
1856 | local C = g:GetChildren() | |
1857 | for i=1, #C do | |
1858 | if C[i].className == "Part" then | |
1859 | local W = Instance.new("Weld") | |
1860 | W.Part0 = g.Middle | |
1861 | W.Part1 = C[i] | |
1862 | local CJ = CFrame.new(g.Middle.Position) | |
1863 | local C0 = g.Middle.CFrame:inverse()*CJ | |
1864 | local C1 = C[i].CFrame:inverse()*CJ | |
1865 | W.C0 = C0 | |
1866 | W.C1 = C1 | |
1867 | W.Parent = g.Middle | |
1868 | end | |
1869 | local Y = Instance.new("Weld") | |
1870 | Y.Part0 = hit.Parent["Left Arm"] | |
1871 | Y.Part1 = g.Middle | |
1872 | Y.C0 = CFrame.new(0, 0, 0) | |
1873 | Y.Parent = Y.Part0 | |
1874 | end | |
1875 | ||
1876 | local h = g:GetChildren() | |
1877 | for i = 1, # h do | |
1878 | if h[i].className == "Part" then | |
1879 | h[i].Anchored = false | |
1880 | h[i].CanCollide = false | |
1881 | end | |
1882 | end | |
1883 | ||
1884 | end | |
1885 | ||
1886 | end | |
1887 | ||
1888 | script.Parent.Touched:connect(onTouched) | |
1889 | end,o103) | |
1890 | end)) | |
1891 | o104 = Create("Script",{ | |
1892 | ["Name"] = "Leg1", | |
1893 | ["Parent"] = o102, | |
1894 | }) | |
1895 | table.insert(cors,coroutine.create(function() | |
1896 | wait() | |
1897 | runDummyScript(function() | |
1898 | function onTouched(hit) | |
1899 | if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Leg1") == nil then | |
1900 | local g = script.Parent.Parent.Leg1:clone() | |
1901 | g.Parent = hit.Parent | |
1902 | local C = g:GetChildren() | |
1903 | for i=1, #C do | |
1904 | if C[i].className == "Part" then | |
1905 | local W = Instance.new("Weld") | |
1906 | W.Part0 = g.Middle | |
1907 | W.Part1 = C[i] | |
1908 | local CJ = CFrame.new(g.Middle.Position) | |
1909 | local C0 = g.Middle.CFrame:inverse()*CJ | |
1910 | local C1 = C[i].CFrame:inverse()*CJ | |
1911 | W.C0 = C0 | |
1912 | W.C1 = C1 | |
1913 | W.Parent = g.Middle | |
1914 | end | |
1915 | local Y = Instance.new("Weld") | |
1916 | Y.Part0 = hit.Parent["Left Leg"] | |
1917 | Y.Part1 = g.Middle | |
1918 | Y.C0 = CFrame.new(0, 0, 0) | |
1919 | Y.Parent = Y.Part0 | |
1920 | end | |
1921 | ||
1922 | local h = g:GetChildren() | |
1923 | for i = 1, # h do | |
1924 | if h[i].className == "Part" then | |
1925 | h[i].Anchored = false | |
1926 | h[i].CanCollide = false | |
1927 | end | |
1928 | end | |
1929 | ||
1930 | end | |
1931 | ||
1932 | end | |
1933 | ||
1934 | script.Parent.Touched:connect(onTouched) | |
1935 | end,o104) | |
1936 | end)) | |
1937 | o105 = Create("Script",{ | |
1938 | ["Name"] = "HatRemover", | |
1939 | ["Parent"] = o102, | |
1940 | }) | |
1941 | table.insert(cors,coroutine.create(function() | |
1942 | wait() | |
1943 | runDummyScript(function() | |
1944 | function onTouched(hit) | |
1945 | local d = hit.Parent:GetChildren() | |
1946 | for i=1, #d do | |
1947 | if (d[i].className == "Hat") then | |
1948 | d[i]:remove() | |
1949 | end | |
1950 | end | |
1951 | end | |
1952 | ||
1953 | script.Parent.Touched:connect(onTouched) | |
1954 | end,o105) | |
1955 | end)) | |
1956 | o106 = Create("Script",{ | |
1957 | ["Name"] = "ChangeShirt/Pants", | |
1958 | ["Parent"] = o102, | |
1959 | }) | |
1960 | table.insert(cors,coroutine.create(function() | |
1961 | wait() | |
1962 | runDummyScript(function() | |
1963 | --theRal | |
1964 | ||
1965 | worker = false | |
1966 | part = script.Parent | |
1967 | ||
1968 | function onTouch(hit) | |
1969 | local human = hit.Parent:FindFirstChild("Humanoid") | |
1970 | if (human ~= nil) and (worker == false) then | |
1971 | print ("Success") | |
1972 | worker = true | |
1973 | wait(.1) | |
1974 | local pant = hit.Parent:GetChildren() | |
1975 | for i=1,#pant do | |
1976 | if (pant[i].className == "Pants") then | |
1977 | pant[i].PantsTemplate = "" | |
1978 | end | |
1979 | end | |
1980 | local shirt = hit.Parent:GetChildren() | |
1981 | for i=1,#shirt do | |
1982 | if (shirt[i].className == "Shirt") then | |
1983 | shirt[i].ShirtTemplate = "" | |
1984 | wait(1) | |
1985 | worker = false | |
1986 | end | |
1987 | end | |
1988 | end | |
1989 | end | |
1990 | ||
1991 | script.Parent.Touched:connect(onTouch) | |
1992 | end,o106) | |
1993 | end)) | |
1994 | o107 = Create("Script",{ | |
1995 | ["Parent"] = o102, | |
1996 | }) | |
1997 | table.insert(cors,coroutine.create(function() | |
1998 | wait() | |
1999 | runDummyScript(function() | |
2000 | function onTouch(part) | |
2001 | local human = part.Parent:findFirstChild("Humanoid") | |
2002 | if human ~= nil then | |
2003 | part.Parent:findFirstChild("Head").BrickColor = BrickColor.new(125) | |
2004 | part.Parent:findFirstChild("Head").Transparency = 0 | |
2005 | part.Parent:findFirstChild("Torso").BrickColor = BrickColor.new(1) | |
2006 | part.Parent:findFirstChild("Torso").Transparency = 1 | |
2007 | part.Parent:findFirstChild("Left Arm").BrickColor = BrickColor.new(1) | |
2008 | part.Parent:findFirstChild("Left Arm").Transparency = 1 | |
2009 | part.Parent:findFirstChild("Right Arm").BrickColor = BrickColor.new(1) | |
2010 | part.Parent:findFirstChild("Right Arm").Transparency = 1 | |
2011 | part.Parent:findFirstChild("Left Leg").BrickColor = BrickColor.new(1) | |
2012 | part.Parent:findFirstChild("Left Leg").CanCollide = true | |
2013 | part.Parent:findFirstChild("Left Leg").Transparency = 1 | |
2014 | part.Parent:findFirstChild("Right Leg").BrickColor = BrickColor.new(1) | |
2015 | part.Parent:findFirstChild("Right Leg").CanCollide = true | |
2016 | part.Parent:findFirstChild("Right Leg").Transparency = 1 | |
2017 | end | |
2018 | end | |
2019 | script.Parent.Touched:connect(onTouch) | |
2020 | ||
2021 | --COLORS | |
2022 | ||
2023 | --1 = white | |
2024 | --208 = Light stone grey | |
2025 | --194 = Medium stone grey | |
2026 | --199 = Dark stone grey | |
2027 | --26 = Black | |
2028 | --21 = Bright red | |
2029 | --24 = Bright yellow | |
2030 | --226 = Cool yellow | |
2031 | --23 = Bright blue | |
2032 | --107 = Bright bluish green | |
2033 | --102 = Medium blue | |
2034 | --11 = Pastel blue | |
2035 | --45 = Light blue | |
2036 | --135 = Sand blue | |
2037 | --106 = Bright orange | |
2038 | --105 = Br. yellowish orange | |
2039 | --141 = Earth green | |
2040 | --28 = Dark green | |
2041 | --37 = Bright green | |
2042 | --119 = Br. yellowish green | |
2043 | --29 = Medium green | |
2044 | --151 = Sand green | |
2045 | --38 = Dark orange | |
2046 | --192 = Reddish brown | |
2047 | --104 = Bright violet | |
2048 | --9 = Light reddish violet | |
2049 | --101 = Medium red | |
2050 | --5 = Brick Yellow | |
2051 | --153 = Sand red | |
2052 | --217 = Brown | |
2053 | --18 = Nougat | |
2054 | --125 = Light orange | |
2055 | ||
2056 | ||
2057 | end,o107) | |
2058 | end)) | |
2059 | o108 = Create("Script",{ | |
2060 | ["Name"] = "WalkSpeed Script", | |
2061 | ["Parent"] = o102, | |
2062 | }) | |
2063 | table.insert(cors,coroutine.create(function() | |
2064 | wait() | |
2065 | runDummyScript(function() | |
2066 | local debounce = false | |
2067 | ||
2068 | function onTouch(part) | |
2069 | ||
2070 | local human = part.Parent:findFirstChild("Humanoid") | |
2071 | if (human ~= nil) and debounce == false then | |
2072 | ||
2073 | debounce = true | |
2074 | ||
2075 | human.WalkSpeed = 16-- or whatever number | |
2076 | ||
2077 | wait(2) | |
2078 | debounce = false | |
2079 | end | |
2080 | end | |
2081 | ||
2082 | ||
2083 | script.Parent.Touched:connect(onTouch) | |
2084 | ||
2085 | end,o108) | |
2086 | end)) | |
2087 | o109 = Create("Script",{ | |
2088 | ["Name"] = "Leg2", | |
2089 | ["Parent"] = o102, | |
2090 | }) | |
2091 | table.insert(cors,coroutine.create(function() | |
2092 | wait() | |
2093 | runDummyScript(function() | |
2094 | function onTouched(hit) | |
2095 | if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Leg2") == nil then | |
2096 | local g = script.Parent.Parent.Leg2:clone() | |
2097 | g.Parent = hit.Parent | |
2098 | local C = g:GetChildren() | |
2099 | for i=1, #C do | |
2100 | if C[i].className == "Part" then | |
2101 | local W = Instance.new("Weld") | |
2102 | W.Part0 = g.Middle | |
2103 | W.Part1 = C[i] | |
2104 | local CJ = CFrame.new(g.Middle.Position) | |
2105 | local C0 = g.Middle.CFrame:inverse()*CJ | |
2106 | local C1 = C[i].CFrame:inverse()*CJ | |
2107 | W.C0 = C0 | |
2108 | W.C1 = C1 | |
2109 | W.Parent = g.Middle | |
2110 | end | |
2111 | local Y = Instance.new("Weld") | |
2112 | Y.Part0 = hit.Parent["Right Leg"] | |
2113 | Y.Part1 = g.Middle | |
2114 | Y.C0 = CFrame.new(0, 0, 0) | |
2115 | Y.Parent = Y.Part0 | |
2116 | end | |
2117 | ||
2118 | local h = g:GetChildren() | |
2119 | for i = 1, # h do | |
2120 | if h[i].className == "Part" then | |
2121 | h[i].Anchored = false | |
2122 | h[i].CanCollide = false | |
2123 | end | |
2124 | end | |
2125 | ||
2126 | end | |
2127 | ||
2128 | end | |
2129 | ||
2130 | script.Parent.Touched:connect(onTouched) | |
2131 | end,o109) | |
2132 | end)) | |
2133 | o110 = Create("Script",{ | |
2134 | ["Name"] = "Arm2", | |
2135 | ["Parent"] = o102, | |
2136 | }) | |
2137 | table.insert(cors,coroutine.create(function() | |
2138 | wait() | |
2139 | runDummyScript(function() | |
2140 | function onTouched(hit) | |
2141 | if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Arm2") == nil then | |
2142 | local g = script.Parent.Parent.Arm2:clone() | |
2143 | g.Parent = hit.Parent | |
2144 | local C = g:GetChildren() | |
2145 | for i=1, #C do | |
2146 | if C[i].className == "Part" then | |
2147 | local W = Instance.new("Weld") | |
2148 | W.Part0 = g.Middle | |
2149 | W.Part1 = C[i] | |
2150 | local CJ = CFrame.new(g.Middle.Position) | |
2151 | local C0 = g.Middle.CFrame:inverse()*CJ | |
2152 | local C1 = C[i].CFrame:inverse()*CJ | |
2153 | W.C0 = C0 | |
2154 | W.C1 = C1 | |
2155 | W.Parent = g.Middle | |
2156 | end | |
2157 | local Y = Instance.new("Weld") | |
2158 | Y.Part0 = hit.Parent["Right Arm"] | |
2159 | Y.Part1 = g.Middle | |
2160 | Y.C0 = CFrame.new(0, 0, 0) | |
2161 | Y.Parent = Y.Part0 | |
2162 | end | |
2163 | ||
2164 | local h = g:GetChildren() | |
2165 | for i = 1, # h do | |
2166 | if h[i].className == "Part" then | |
2167 | h[i].Anchored = false | |
2168 | h[i].CanCollide = false | |
2169 | end | |
2170 | end | |
2171 | ||
2172 | end | |
2173 | ||
2174 | end | |
2175 | ||
2176 | script.Parent.Touched:connect(onTouched) | |
2177 | end,o110) | |
2178 | end)) | |
2179 | o111 = Create("Script",{ | |
2180 | ["Name"] = "Torso", | |
2181 | ["Parent"] = o102, | |
2182 | }) | |
2183 | table.insert(cors,coroutine.create(function() | |
2184 | wait() | |
2185 | runDummyScript(function() | |
2186 | function onTouched(hit) | |
2187 | if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Chest") == nil then | |
2188 | local g = script.Parent.Parent.Chest:clone() | |
2189 | g.Parent = hit.Parent | |
2190 | local C = g:GetChildren() | |
2191 | for i=1, #C do | |
2192 | if C[i].className == "Part" then | |
2193 | local W = Instance.new("Weld") | |
2194 | W.Part0 = g.Middle | |
2195 | W.Part1 = C[i] | |
2196 | local CJ = CFrame.new(g.Middle.Position) | |
2197 | local C0 = g.Middle.CFrame:inverse()*CJ | |
2198 | local C1 = C[i].CFrame:inverse()*CJ | |
2199 | W.C0 = C0 | |
2200 | W.C1 = C1 | |
2201 | W.Parent = g.Middle | |
2202 | end | |
2203 | local Y = Instance.new("Weld") | |
2204 | Y.Part0 = hit.Parent.Torso | |
2205 | Y.Part1 = g.Middle | |
2206 | Y.C0 = CFrame.new(0, 0, 0) | |
2207 | Y.Parent = Y.Part0 | |
2208 | end | |
2209 | ||
2210 | local h = g:GetChildren() | |
2211 | for i = 1, # h do | |
2212 | if h[i].className == "Part" then | |
2213 | h[i].Anchored = false | |
2214 | h[i].CanCollide = false | |
2215 | end | |
2216 | end | |
2217 | ||
2218 | end | |
2219 | end | |
2220 | ||
2221 | script.Parent.Touched:connect(onTouched) | |
2222 | ||
2223 | end,o111) | |
2224 | end)) | |
2225 | o112 = Create("Script",{ | |
2226 | ["Name"] = "Cframe", | |
2227 | ["Parent"] = o102, | |
2228 | }) | |
2229 | table.insert(cors,coroutine.create(function() | |
2230 | wait() | |
2231 | runDummyScript(function() | |
2232 | ||
2233 | wait(2) | |
2234 | ||
2235 | local p = script.Parent | |
2236 | local me = game.Players.LocalPlayer.Character | |
2237 | ||
2238 | ||
2239 | p.Shape = "Ball" | |
2240 | ||
2241 | game:GetService('RunService').Stepped:connect(function() | |
2242 | p.CFrame = me.Torso.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
2243 | end) | |
2244 | ||
2245 | wait(0.5) | |
2246 | ||
2247 | me.Head.Transparency = 1 | |
2248 | ||
2249 | p:Remove() | |
2250 | end,o112) | |
2251 | end)) | |
2252 | mas.Parent = workspace | |
2253 | mas:MakeJoints() | |
2254 | local mas1 = mas:GetChildren() | |
2255 | for i=1,#mas1 do | |
2256 | mas1[i].Parent = workspace | |
2257 | ypcall(function() mas1[i]:MakeJoints() end) | |
2258 | end | |
2259 | mas:Destroy() | |
2260 | for i=1,#cors do | |
2261 | coroutine.resume(cors[i]) | |
2262 | end |