SHOW:
|
|
- or go back to the newest paste.
1 | ---EDIT by naser2018---- | |
2 | - | Brickcolor = "New Yeller" |
2 | + | Brickcolor = "Teal" |
3 | ||
4 | r = 0 | |
5 | g = 0 | |
6 | b = 0 | |
7 | ||
8 | Ply = game.Players.LocalPlayer | |
9 | Char = Ply.Character | |
10 | Tor = Char.Torso | |
11 | He = Char.Head | |
12 | Ne = Tor.Neck | |
13 | Hu = Char.Humanoid | |
14 | LA = Char["Left Arm"] | |
15 | LL = Char["Left Leg"] | |
16 | RA = Char["Right Arm"] | |
17 | RL = Char["Right Leg"] | |
18 | LS = Tor["Left Shoulder"] | |
19 | RS = Tor["Right Shoulder"] | |
20 | LH = Tor["Left Hip"] | |
21 | RH = Tor["Right Hip"] | |
22 | Combo = 1 | |
23 | Effects = { } | |
24 | ||
25 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
26 | RP = Char.HumanoidRootPart | |
27 | RJ = RP.RootJoint | |
28 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
29 | LHCF = CFrame.Angles(0, math.rad(-90), 0) | |
30 | RHCF = CFrame.Angles(0, math.rad(90), 0) | |
31 | attack = false | |
32 | equipped = false | |
33 | local Anim = "Idle" | |
34 | cam = workspace.CurrentCamera | |
35 | local RbxUtility = LoadLibrary("RbxUtility") | |
36 | local Create = RbxUtility.Create | |
37 | local m = Create("Model"){ | |
38 | Parent = Char, | |
39 | Name = "WeaponModel", | |
40 | } | |
41 | ||
42 | RS.Parent = nil | |
43 | LS.Parent = nil | |
44 | ||
45 | RW = Create("Weld"){ | |
46 | Name = "Right Shoulder", | |
47 | Part0 = Tor , | |
48 | C0 = CFrame.new(1.5, 0.5, 0), | |
49 | C1 = CFrame.new(0, 0.5, 0), | |
50 | Part1 = RA , | |
51 | Parent = Tor , | |
52 | } | |
53 | ||
54 | LW = Create("Weld"){ | |
55 | Name = "Left Shoulder", | |
56 | Part0 = Tor , | |
57 | C0 = CFrame.new(-1.5, 0.5, 0), | |
58 | C1 = CFrame.new(0, 0.5, 0) , | |
59 | Part1 = LA , | |
60 | Parent = Tor , | |
61 | } | |
62 | ||
63 | ||
64 | ||
65 | mouse = Ply:GetMouse() | |
66 | if Brickcolor == "" then | |
67 | choiceofcolor = BrickColor.new(Color3.fromRGB(r,g,b)) | |
68 | else | |
69 | choiceofcolor = BrickColor.new(Brickcolor) | |
70 | end | |
71 | ||
72 | ||
73 | tclr = choiceofcolor.Name | |
74 | tlcr3 = choiceofcolor.Color | |
75 | function swait(num) | |
76 | if num == 0 or num == nil then | |
77 | game:service'RunService'.Heartbeat:wait() | |
78 | else | |
79 | for i = 0, num do | |
80 | game:service'RunService'.Heartbeat:wait() | |
81 | end | |
82 | end | |
83 | end | |
84 | ||
85 | function RemoveOutlines(part) | |
86 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
87 | end | |
88 | ||
89 | function CreatePart(FF, Par, Mat, Ref, Tra, BC, Nam, Siz) | |
90 | local Part = Create("Part"){ | |
91 | formFactor = FF, | |
92 | Parent = Par, | |
93 | Reflectance = Ref, | |
94 | Transparency = Tra, | |
95 | CanCollide = false, | |
96 | Locked = true, | |
97 | BrickColor = BrickColor.new(tostring(BC)), | |
98 | Name = Nam, | |
99 | Size = Siz, | |
100 | Position = Tor.Position, | |
101 | Material = Mat, | |
102 | } | |
103 | RemoveOutlines(Part) | |
104 | return Part | |
105 | end | |
106 | ||
107 | function CreateMesh(Ms, Par, MType, MId, OS, Sca) | |
108 | local Msh = Create(Ms){ | |
109 | Parent = Par, | |
110 | Offset = OS, | |
111 | Scale = Sca, | |
112 | } | |
113 | if Ms == "SpecialMesh" then | |
114 | Msh.MeshType = MType | |
115 | Msh.MeshId = MId | |
116 | end | |
117 | return Msh | |
118 | end | |
119 | ||
120 | function CreateWeld(Par, PartA, PartB, CA, CB) | |
121 | local Weld = Create("Weld"){ | |
122 | Parent = Par, | |
123 | Part0 = PartA, | |
124 | Part1 = PartB, | |
125 | C0 = CA, | |
126 | C1 = CB, | |
127 | } | |
128 | return Weld | |
129 | end | |
130 | ||
131 | local function CFrameFromTopBack(at, top, back) | |
132 | local right = top:Cross(back) | |
133 | return CFrame.new(at.x, at.y, at.z, | |
134 | right.x, top.x, back.x, | |
135 | right.y, top.y, back.y, | |
136 | right.z, top.z, back.z) | |
137 | end | |
138 | ||
139 | function Triangle(a, b, c) | |
140 | local edg1 = (c - a):Dot((b - a).unit) | |
141 | local edg2 = (a - b):Dot((c - b).unit) | |
142 | local edg3 = (b - c):Dot((a - c).unit) | |
143 | if edg1 <= (b - a).magnitude and edg1 >= 0 then | |
144 | a, b, c = a, b, c | |
145 | elseif edg2 <= (c - b).magnitude and edg2 >= 0 then | |
146 | a, b, c = b, c, a | |
147 | elseif edg3 <= (a - c).magnitude and edg3 >= 0 then | |
148 | a, b, c = c, a, b | |
149 | else | |
150 | assert(false, "unreachable") | |
151 | end | |
152 | ||
153 | local len1 = (c - a):Dot((b - a).unit) | |
154 | local len2 = (b - a).magnitude - len1 | |
155 | local width = (a + (b - a).unit * len1 - c).magnitude | |
156 | ||
157 | local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit) | |
158 | ||
159 | local list = {} | |
160 | ||
161 | local Color = BrickColor.new(tclr) | |
162 | ||
163 | if len1 > 0.01 then | |
164 | local w1 = Create('WedgePart', m){ | |
165 | Material = "SmoothPlastic", | |
166 | FormFactor = 'Custom', | |
167 | BrickColor = Color, | |
168 | Transparency = 0, | |
169 | Reflectance = 0, | |
170 | Material = "Neon", | |
171 | CanCollide = false, | |
172 | Anchored = true, | |
173 | Parent = workspace, | |
174 | Transparency = 0.3, | |
175 | } | |
176 | game:GetService("Debris"):AddItem(w1, 5) | |
177 | RemoveOutlines(w1) | |
178 | local sz = Vector3.new(0.2, width, len1) | |
179 | w1.Size = sz | |
180 | local sp = Create("SpecialMesh"){ | |
181 | Parent = w1, | |
182 | MeshType = "Wedge", | |
183 | Scale = Vector3.new(0, 1, 1) * sz / w1.Size, | |
184 | } | |
185 | w1:BreakJoints() | |
186 | table.insert(Effects, { | |
187 | w1, | |
188 | "Elec", | |
189 | .05, | |
190 | 0.03, | |
191 | 0.03, | |
192 | 0.03, | |
193 | sp | |
194 | }) | |
195 | w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2) | |
196 | table.insert(list, w1) | |
197 | end | |
198 | if len2 > 0.01 then | |
199 | local w2 = Create('WedgePart', m){ | |
200 | Material = "SmoothPlastic", | |
201 | FormFactor = 'Custom', | |
202 | BrickColor = Color, | |
203 | Transparency = 0, | |
204 | Reflectance = 0, | |
205 | Material = "Neon", | |
206 | CanCollide = false, | |
207 | Anchored = true, | |
208 | Parent = workspace, | |
209 | Transparency = 0.3, | |
210 | } | |
211 | game:GetService("Debris"):AddItem(w2, 5) | |
212 | RemoveOutlines(w2) | |
213 | local sz = Vector3.new(0.2, width, len2) | |
214 | w2.Size = sz | |
215 | local sp = Create("SpecialMesh"){ | |
216 | Parent = w2, | |
217 | MeshType = "Wedge", | |
218 | Scale = Vector3.new(0, 1, 1) * sz / w2.Size, | |
219 | } | |
220 | w2:BreakJoints() | |
221 | table.insert(Effects, { | |
222 | w2, | |
223 | "Elec", | |
224 | .05, | |
225 | 0.03, | |
226 | 0.03, | |
227 | 0.03, | |
228 | sp | |
229 | }) | |
230 | w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2) | |
231 | table.insert(list, w2) | |
232 | end | |
233 | return unpack(list) | |
234 | end | |
235 | ||
236 | function CreateSound(id, par, vol, pit) | |
237 | coroutine.resume(coroutine.create(function() | |
238 | local sou = Create("Sound"){ | |
239 | Parent = par or workspace, | |
240 | Volume = vol, | |
241 | Pitch = pit or 1, | |
242 | SoundId = id, | |
243 | } | |
244 | wait() | |
245 | sou:play() | |
246 | wait(6) | |
247 | sou:remove() | |
248 | end)) | |
249 | end | |
250 | ||
251 | function clerp(a,b,t) | |
252 | return a:lerp(b,t) | |
253 | end | |
254 | ||
255 | function rayCast(Pos, Dir, Max, Ignore) | |
256 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
257 | end | |
258 | ||
259 | function Damage(hit, damage, cooldown, Color1, Color3, HSound, HPitch) | |
260 | for i, v in pairs(hit:GetChildren()) do | |
261 | if v:IsA("Humanoid") and hit.Name ~= Char.Name then | |
262 | local find = v:FindFirstChild("Hitz") | |
263 | if not find then | |
264 | if v.Parent:findFirstChild("Head") then | |
265 | local BillG = Create("BillboardGui"){ | |
266 | Parent = v.Parent.Head, | |
267 | Size = UDim2.new(1, 0, 1, 0), | |
268 | Adornee = v.Parent.Head, | |
269 | StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)), | |
270 | } | |
271 | local TL = Create("TextLabel"){ | |
272 | Parent = BillG, | |
273 | Size = UDim2.new(3, 3, 3, 3), | |
274 | BackgroundTransparency = 1, | |
275 | Text = tostring(damage).."-", | |
276 | TextColor3 = tclr.Color, | |
277 | TextStrokeColor3 = tclr3, | |
278 | TextStrokeTransparency = 0, | |
279 | TextXAlignment = Enum.TextXAlignment.Center, | |
280 | TextYAlignment = Enum.TextYAlignment.Center, | |
281 | FontSize = Enum.FontSize.Size18, | |
282 | Font = "ArialBold", | |
283 | } | |
284 | coroutine.resume(coroutine.create(function() | |
285 | wait(1) | |
286 | for i = 0, 1, .1 do | |
287 | wait(.1) | |
288 | BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0) | |
289 | end | |
290 | BillG:Destroy() | |
291 | end)) | |
292 | end | |
293 | v.Health = v.Health - damage | |
294 | local bool = Create("BoolValue"){ | |
295 | Parent = v, | |
296 | Name = 'Hitz', | |
297 | } | |
298 | if HSound ~= nil and HPitch ~= nil then | |
299 | CreateSound(HSound, Hitbox, .7, HPitch) | |
300 | end | |
301 | game:GetService("Debris"):AddItem(bool, cooldown) | |
302 | end | |
303 | end | |
304 | end | |
305 | end | |
306 | ||
307 | function MagnitudeDamage(Part, magni, mindam, maxdam) | |
308 | for _, c in pairs(workspace:children()) do | |
309 | local hum = c:findFirstChild("Humanoid") | |
310 | if hum ~= nil then | |
311 | local head = c:findFirstChild("Torso") | |
312 | if head ~= nil then | |
313 | local targ = head.Position - Part.Position | |
314 | local mag = targ.magnitude | |
315 | if mag <= magni and c.Name ~= Ply.Name then | |
316 | Damage(head.Parent, math.random(mindam,maxdam), 0, BrickColor.new("Really black"), Color, "rbxassetid://199149186", 1) | |
317 | end | |
318 | end | |
319 | end | |
320 | end | |
321 | end | |
322 | ||
323 | Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Institutional white","Handle",Vector3.new(0.320322663, 1.67788064, 0.320322633)) | |
324 | Handleweld=CreateWeld(m,Char["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.999474049, 0.0714797974, -0.0598907471, 2.08635171e-007, 0.999999642, 5.06639481e-007, 9.82107395e-007, 5.06639424e-007, -0.999999762, -1, 2.08635541e-007, -9.82107167e-007)) | |
325 | CreateMesh("CylinderMesh",Handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
326 | FakeHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Institutional white","FakeHandle",Vector3.new(0.320322663, 0.76267302, 0.320322633)) | |
327 | FakeHandleweld=CreateWeld(m,Handle,FakeHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -0.0640640259, 0, 0.999999523, 2.27373675e-013, -1.56513745e-013, 2.27373675e-013, 0.999999523, -3.41060513e-013, -1.56513745e-013, -3.41060513e-013, 1)) | |
328 | CreateMesh("CylinderMesh",FakeHandle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
329 | Hitbox=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.20000000298023,1,"Institutional white","Hitbox",Vector3.new(1.22027707, 5.03364182, 0.311295122)) | |
330 | Hitboxweld=CreateWeld(m,FakeHandle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000420093536, -4.26976395, -9.15527344e-005, 0.999993086, 2.0861313e-007, 2.95250463e-010, -1.34110024e-007, 0.999999464, -6.10795155e-007, -2.95284353e-010, 6.10810616e-007, 0.999993324)) | |
331 | CreateMesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.539000034)) | |
332 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.311295122, 0.311295122, 0.311295122)) | |
333 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000122070313, 1.21924973, 0.152131081, -3.86040366e-010, 8.94308414e-008, -0.999993324, -4.47037678e-008, -0.999999344, -8.94422101e-008, -0.999992967, 1.63915843e-007, 3.86170623e-010)) | |
334 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.979999959, 0.48999998, 0.980000138)) | |
335 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,tclr,"Part",Vector3.new(0.311295122, 0.311295122, 0.320322663)) | |
336 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.23667526, -0.423137665, -9.15527344e-005, 0.258321792, -0.966057897, 1.15320972e-007, 0.966051817, 0.258323461, -4.03209441e-007, 3.59733548e-007, 2.15578552e-007, 0.999993324)) | |
337 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.0833000019, 0.48999998, 1)) | |
338 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,tclr,"Part",Vector3.new(0.311295122, 3.96589971, 0.311295122)) | |
339 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000137329102, 3.73589706, 0.533314228, 3.5017747e-006, -1.93722258e-007, -0.999993324, -4.47038246e-008, -0.999999344, 1.93708388e-007, -0.999992967, 1.6391931e-007, -3.50177561e-006)) | |
340 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.144060016, 1, 0.48999998)) | |
341 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.311295122, 0.311295122, 0.457603842)) | |
342 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.57763672e-005, -1.67745972, 0.532254219, -4.17616519e-007, -2.07146968e-006, 0.999993324, -9.98377686e-007, 0.999999285, 2.07146832e-006, -0.999992907, -1.14738555e-006, -4.17618963e-007)) | |
343 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.979999959, 0.48999998, 1)) | |
344 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.311295122, 0.311295122, 0.311295122)) | |
345 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000137329102, 1.44800949, 0.609675884, 3.87875232e-010, 1.04333651e-007, -0.999993324, -4.47037678e-008, -0.999999344, -1.04344906e-007, -0.999992967, 1.63915843e-007, -3.87581994e-010)) | |
346 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.979999959, 0.979999959, 0.979999959)) | |
347 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","Part",Vector3.new(0.311295122, 0.320322663, 0.311295122)) | |
348 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.457419395, 0.000122070313, -1.37178421, 0.999992847, 8.94037839e-008, 2.01299697e-013, 5.09102417e-013, 8.94365257e-008, -0.999993324, -1.3411011e-007, 0.999999285, 8.94478944e-008)) | |
349 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.980000138, 1, 0.9799999)) | |
350 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.20000000298023,0,"Institutional white","Part",Vector3.new(0.311295122, 0.76267302, 0.311295122)) | |
351 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000122070313, -6.10015106, 0.152092457, 3.50177106e-006, 3.57717454e-007, 0.999993324, -2.98022712e-007, 0.999999225, -3.57702561e-007, -0.999993086, -2.98023508e-007, 3.50177265e-006)) | |
352 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.539000034, 1, 0.980000138)) | |
353 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,tclr,"Part",Vector3.new(0.311295122, 0.610138357, 0.311295122)) | |
354 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000198364258, -6.02388, 0.0757293701, 3.48687126e-006, 4.02472551e-007, 0.999993324, -2.98022712e-007, 0.999999225, -4.02457204e-007, -0.999993086, -2.98023508e-007, 3.4868724e-006)) | |
355 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.588000059, 1, 0.48999998)) | |
356 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.311295122, 0.915207684, 0.457603842)) | |
357 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000122070313, -6.1764183, 0.228407383, 3.50177061e-006, 2.53364874e-007, 0.999993324, -2.98022741e-007, 0.999999225, -2.53350777e-007, -0.999993086, -2.98023508e-007, 3.50177265e-006)) | |
358 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.48999998, 1, 1)) | |
359 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.610138535, 0.311295122, 0.457603782)) | |
360 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.457419395, 0.000122070313, -1.37178421, 0.999992847, 8.94037839e-008, 2.01299697e-013, 4.69571972e-013, 2.23559823e-007, -0.999993324, -1.34110138e-007, 0.999999285, 2.23570339e-007)) | |
361 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.979999959, 1)) | |
362 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,tclr,"Part",Vector3.new(0.610138357, 0.457603842, 0.311295122)) | |
363 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.456438541, -1.37244415, 3.05175781e-005, -0.999999464, -1.042674e-007, -4.16111179e-005, -1.04307645e-007, 0.999999464, -9.59837166e-007, 4.16110997e-005, -9.59829663e-007, -1)) | |
364 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.459129214, 0.436248958, 2.17361784)) | |
365 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,tclr,"Part",Vector3.new(0.311295122, 1.06774235, 0.610138357)) | |
366 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000122070313, -6.25266266, 0.304620266, 3.50177197e-006, 2.53351118e-007, 0.999993324, -2.98022741e-007, 0.999999225, -2.53336339e-007, -0.999993086, -2.98023508e-007, 3.50177334e-006)) | |
367 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.144060016, 1, 1)) | |
368 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,tclr,"Part",Vector3.new(0.311295122, 0.311295122, 0.320322663)) | |
369 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.424539566, -1.38871384, -9.15527344e-005, 0.96578759, 0.259309262, -2.27494468e-008, -0.259307534, 0.965793788, -4.58008401e-007, -9.67946789e-008, 4.48255491e-007, 0.999993324)) | |
370 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.166600004, 0.979999959, 1)) | |
371 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.311295122, 0.311295122, 0.311295122)) | |
372 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.24385071e-005, -1.14368057, -9.15527344e-005, 0.999992847, 8.94037839e-008, 3.87475524e-010, -1.34110081e-007, 0.999999285, -8.92358685e-008, -3.87674892e-010, 8.92481467e-008, 0.999993324)) | |
373 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.979999959, 0.979999959, 0.9799999)) | |
374 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,tclr,"Part",Vector3.new(0.311295122, 0.457603842, 0.311295122)) | |
375 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.609939575, -4.57763672e-005, 0.999992847, 8.94037839e-008, 3.87475524e-010, -1.3411011e-007, 0.999999285, -1.48636445e-008, -3.87722465e-010, 1.48756953e-008, 0.999993324)) | |
376 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.979999959, 1, 0.9799999)) | |
377 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.320322663, 0.311295122, 0.320322633)) | |
378 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 0.999999523, 2.27373675e-013, -1.56513745e-013, 2.27373675e-013, 0.999999523, -3.41060513e-013, -1.56513745e-013, -3.41060513e-013, 1)) | |
379 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.48999998, 1)) | |
380 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.311295122, 0.311295122, 0.311295122)) | |
381 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000122070313, 1.21924973, 0.152831078, -9.86952599e-013, 2.08606821e-007, 0.999993324, 2.98022769e-007, -0.999999225, 2.08594088e-007, 0.999993086, 2.98020097e-007, 6.90400319e-013)) | |
382 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.979999959, 0.48999998, 0.980000138)) | |
383 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.37281144, 0.311295122, 0.311295122)) | |
384 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81209564, 0.00182151794, -0.0913543701, 0.000406563195, 0.999999523, -2.06946106e-006, 0.999999642, -0.000406607898, -1.196214e-005, -1.1962974e-005, -2.06459526e-006, -1)) | |
385 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.277613044, 0.219649822, 0.0854192749)) | |
386 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,tclr,"Part",Vector3.new(0.311295122, 0.311295122, 0.320322663)) | |
387 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.41072845, -0.00551557541, -9.15527344e-005, 7.7485987e-007, -0.999999344, 1.19366177e-007, 0.999993086, 9.08967877e-007, -3.72535112e-007, 3.72534714e-007, 1.19379479e-007, 0.999993324)) | |
388 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.171499997, 0.342999965, 1)) | |
389 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.20000000298023,0,"Institutional white","Part",Vector3.new(0.610138357, 3.96589971, 0.311295122)) | |
390 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000420093536, -3.73590088, -9.15527344e-005, 0.999993086, 2.0861313e-007, 2.95250463e-010, -1.34110024e-007, 0.999999464, -6.10795155e-007, -2.95284353e-010, 6.10810616e-007, 0.999993324)) | |
391 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.539000034)) | |
392 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,tclr,"Part",Vector3.new(0.311295122, 0.311295122, 0.320322663)) | |
393 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.23654175, -0.423635483, -9.15527344e-005, 0.258325994, 0.966056764, -1.42299825e-007, -0.966050863, 0.258327663, -4.10633703e-007, -3.59935655e-007, 2.43561431e-007, 0.999993324)) | |
394 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.0833000019, 0.48999998, 1)) | |
395 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,tclr,"Part",Vector3.new(0.311295122, 0.311295122, 0.320322663)) | |
396 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.425010681, -1.38858414, -9.15527344e-005, 0.965785801, -0.259315699, 2.35243647e-008, 0.25931409, 0.965792, -4.58000841e-007, 9.60470743e-008, 4.48448759e-007, 0.999993324)) | |
397 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.166600004, 0.979999959, 1)) | |
398 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,tclr,"Part",Vector3.new(0.311295122, 0.610138357, 0.311295122)) | |
399 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000183105469, -6.02386475, 0.0767188072, -3.41193322e-006, 4.62101866e-007, -0.999993324, 4.4703711e-008, 0.999999344, 4.62110393e-007, 0.999992967, -1.63912489e-007, -3.41193504e-006)) | |
400 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.588000059, 1, 0.48999998)) | |
401 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.37281144, 0.311295122, 0.311295122)) | |
402 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81209564, 0.00182151794, -0.0913543701, 0.000406563195, 0.999999523, -2.06946106e-006, 0.999999642, -0.000406607898, -1.196214e-005, -1.1962974e-005, -2.06459526e-006, -1)) | |
403 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.12812914, 0.219649822, 0.175414681)) | |
404 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.20000000298023,0,"Institutional white","Part",Vector3.new(0.311295122, 0.76267302, 0.311295122)) | |
405 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000137329102, -6.10015106, 0.152894497, -3.41193277e-006, 3.57729903e-007, -0.999993324, 4.4703711e-008, 0.999999344, 3.57739054e-007, 0.999992967, -1.63912489e-007, -3.41193413e-006)) | |
406 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.539000034, 1, 0.980000138)) | |
407 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.915207684, 4.11843443, 0.311295122)) | |
408 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000294208527, -3.65963364, -0.000122070313, 0.999993086, 2.0861313e-007, 2.95605734e-010, -1.34110167e-007, 0.999999464, -1.49060497e-008, -2.9573563e-010, 1.49183279e-008, 0.999993324)) | |
409 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.48999998)) | |
410 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.320322663, 0.311295122, 0.320322633)) | |
411 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.28746033e-005, -0.914936066, -4.57763672e-005, 0.999992847, 8.94037839e-008, 3.87475524e-010, -1.3411011e-007, 0.999999285, -1.48636445e-008, -3.87722465e-010, 1.48756953e-008, 0.999993324)) | |
412 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.48999998, 1)) | |
413 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,tclr,"Part",Vector3.new(0.311295122, 3.81336522, 0.311295122)) | |
414 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00030374527, -3.81218719, -9.15527344e-005, 0.999993086, 2.0861313e-007, 2.95932584e-010, -1.3411011e-007, 0.999999464, -2.3839732e-007, -2.96005193e-010, 2.38410735e-007, 0.999993324)) | |
415 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.980000138, 1, 0.58799994)) | |
416 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.311295122, 0.457603961, 0.311295122)) | |
417 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-006, 0.000225067139, -9.15527344e-005, 0.999992847, 8.94037839e-008, 3.87475524e-010, -1.34110081e-007, 0.999999285, -4.46653985e-008, -3.87680721e-010, 4.4677563e-008, 0.999993324)) | |
418 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.979999959, 1, 0.9799999)) | |
419 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.320322663, 0.311295122, 0.320322633)) | |
420 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.23977661e-005, -0.304897308, -4.57763672e-005, 0.999992847, 8.94037839e-008, 3.87475524e-010, -1.3411011e-007, 0.999999285, -1.48636445e-008, -3.87722465e-010, 1.48756953e-008, 0.999993324)) | |
421 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.48999998, 1)) | |
422 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.37281144, 0.311295122, 0.311295122)) | |
423 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81209564, 0.00182342529, 0.091506958, 0.000406563195, 0.999999523, -2.06946106e-006, 0.999999642, -0.000406607898, -1.196214e-005, -1.1962974e-005, -2.06459526e-006, -1)) | |
424 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.600088, 0.155585289, 0.0854192749)) | |
425 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(1.37281144, 0.311295122, 0.311295122)) | |
426 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81209564, 0.00182342529, 0.091506958, 0.000406563195, 0.999999523, -2.06946106e-006, 0.999999642, -0.000406607898, -1.196214e-005, -1.1962974e-005, -2.06459526e-006, -1)) | |
427 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.600088, 0.0991474912, 0.151009142)) | |
428 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,tclr,"Part",Vector3.new(0.311295122, 0.457603842, 0.311295122)) | |
429 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, 0.610328674, -9.15527344e-005, 0.999992847, 8.94037839e-008, 3.87475524e-010, -1.3411011e-007, 0.999999285, -2.97645784e-008, -3.87786858e-010, 2.97766292e-008, 0.999993324)) | |
430 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.979999959, 1, 0.9799999)) | |
431 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.37281144, 0.311295122, 0.311295122)) | |
432 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81209564, 0.00182151794, -0.0913543701, 0.000406563195, 0.999999523, -2.06946106e-006, 0.999999642, -0.000406607898, -1.196214e-005, -1.1962974e-005, -2.06459526e-006, -1)) | |
433 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.600088, 0.155585289, 0.0854192749)) | |
434 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,tclr,"Part",Vector3.new(0.311295122, 1.06774235, 0.610138357)) | |
435 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000122070313, -6.25266266, 0.305475712, -3.53157384e-006, 2.53391647e-007, -0.999993324, 4.47037678e-008, 0.999999344, 2.53401481e-007, 0.999992967, -1.63912375e-007, -3.53157475e-006)) | |
436 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.144060016, 1, 1)) | |
437 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.610138357, 0.311295122, 0.311295122)) | |
438 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000116825104, -1.67740631, -4.57763672e-005, 0.999993086, 2.0861313e-007, 2.95605734e-010, -1.34110195e-007, 0.999999464, 2.08220342e-007, -2.95693636e-010, -2.08209428e-007, 0.999993324)) | |
439 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.49000001, 0.9799999)) | |
440 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.37281144, 0.311295122, 0.311295122)) | |
441 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81209564, 0.00182342529, 0.091506958, 0.000406563195, 0.999999523, -2.06946106e-006, 0.999999642, -0.000406607898, -1.196214e-005, -1.1962974e-005, -2.06459526e-006, -1)) | |
442 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.277613044, 0.219649822, 0.0854192749)) | |
443 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(1.37281144, 0.311295122, 0.311295122)) | |
444 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81209564, 0.00182151794, -0.0913543701, 0.000406563195, 0.999999523, -2.06946106e-006, 0.999999642, -0.000406607898, -1.196214e-005, -1.1962974e-005, -2.06459526e-006, -1)) | |
445 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.600088, 0.0991474912, 0.151009142)) | |
446 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.610138357, 0.311295122, 0.457603782)) | |
447 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.457349777, 0.000122070313, -1.37178421, 0.999992847, 8.94037839e-008, -1.96604235e-013, 1.57148329e-014, 1.93753465e-007, -0.999993324, -1.34110138e-007, 0.999999285, 1.93764151e-007)) | |
448 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.979999959, 1)) | |
449 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,tclr,"Part",Vector3.new(0.610138357, 0.457603842, 0.311295122)) | |
450 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.456629276, -1.37243652, 6.10351563e-005, -0.999999464, -1.042674e-007, -4.16111179e-005, -1.04307645e-007, 0.999999464, -9.59837166e-007, 4.16110997e-005, -9.59829663e-007, -1)) | |
451 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.459129214, 0.436248958, 2.17361784)) | |
452 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,tclr,"Part",Vector3.new(0.311295122, 3.96589971, 0.311295122)) | |
453 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000122070313, 3.73587799, 0.534302235, -3.53157475e-006, -2.53369365e-007, 0.999993324, 2.98022826e-007, -0.999999225, -2.5337863e-007, 0.999993086, 2.9801663e-007, 3.53157589e-006)) | |
454 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.144060016, 1, 0.48999998)) | |
455 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.311295122, 0.915207684, 0.457603842)) | |
456 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000122070313, -6.1764183, 0.229121208, -3.41193254e-006, 2.53392898e-007, -0.999993324, 4.47037678e-008, 0.999999344, 2.53402845e-007, 0.999992967, -1.63912489e-007, -3.4119339e-006)) | |
457 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.48999998, 1, 1)) | |
458 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","Part",Vector3.new(0.311295122, 0.311295122, 0.311295122)) | |
459 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000304698944, -1.82930374, -9.15527344e-005, 0.999993086, 2.0861313e-007, 2.95264674e-010, -1.34110081e-007, 0.999999464, -3.57568979e-007, -2.95355018e-010, 3.57583076e-007, 0.999993324)) | |
460 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.980000138, 0.48999998, 0.58799994)) | |
461 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.320322663, 0.311295122, 0.320322633)) | |
462 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.23977661e-005, 0.305324554, -9.15527344e-005, 0.999992847, 8.94037839e-008, 3.87475524e-010, -1.3411011e-007, 0.999999285, -2.97645784e-008, -3.87786858e-010, 2.97766292e-008, 0.999993324)) | |
463 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.48999998, 1)) | |
464 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.311295122, 0.311295122, 0.311295122)) | |
465 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.15527344e-005, 1.44799423, 0.610420704, 3.41184159e-006, -7.45392299e-008, 0.999993324, 2.98022826e-007, -0.999999225, -7.4551906e-008, 0.999993086, 2.98023451e-007, -3.41184318e-006)) | |
466 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.979999959, 0.979999959, 0.979999959)) | |
467 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.37281144, 0.311295122, 0.311295122)) | |
468 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81209564, 0.00182342529, 0.091506958, 0.000406563195, 0.999999523, -2.06946106e-006, 0.999999642, -0.000406607898, -1.196214e-005, -1.1962974e-005, -2.06459526e-006, -1)) | |
469 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.12812914, 0.219649822, 0.175414681)) | |
470 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.915207684, 0.311295122, 0.311295122)) | |
471 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000138759613, -1.44802856, -0.000122070313, 0.999992847, 8.94037839e-008, 3.8724815e-010, -1.34110053e-007, 0.999999285, -1.93666892e-007, -3.87585686e-010, 1.9368008e-007, 0.999993324)) | |
472 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.979999959, 0.9799999)) | |
473 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.311295122, 0.311295122, 0.457603842)) | |
474 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000122070313, -1.67734528, 0.532927036, -2.99408885e-006, 2.20594939e-006, -0.999993324, -6.10947552e-007, 0.999999166, 2.20594984e-006, 0.999993145, 6.85453131e-007, -2.99408862e-006)) | |
475 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.979999959, 0.48999998, 1)) | |
476 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.320322663, 0.311295122, 0.320322633)) | |
477 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-007, 0.915397644, -9.15527344e-005, 0.999992847, 8.94037839e-008, 3.87475524e-010, -1.3411011e-007, 0.999999285, -2.97645784e-008, -3.87786858e-010, 2.97766292e-008, 0.999993324)) | |
478 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.48999998, 1)) | |
479 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","Part",Vector3.new(0.311295122, 0.320322663, 0.311295122)) | |
480 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.45767498, 0.000122070313, -1.37178421, 0.999992847, 8.94037839e-008, 2.01299697e-013, 4.17176927e-013, 7.45334887e-008, -0.999993324, -1.3411011e-007, 0.999999285, 7.45446869e-008)) | |
481 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.980000138, 1, 0.9799999)) | |
482 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.311295122, 0.311295122, 0.311295122)) | |
483 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.14848328e-005, 1.06746292, -4.57763672e-005, 0.999992847, 8.94037839e-008, 3.87475524e-010, -1.3411011e-007, 0.999999285, -1.48636445e-008, -3.87722465e-010, 1.48756953e-008, 0.999993324)) | |
484 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.979999959, 0.48999998, 0.9799999)) | |
485 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.311295122, 0.311295122, 0.311295122)) | |
486 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.57763672e-005, 1.21999741, 0.228783607, 3.44213481e-006, 2.68377903e-007, 0.999993324, -2.98022741e-007, 0.999999225, -2.68363578e-007, -0.999993086, -2.98023451e-007, 3.44213686e-006)) | |
487 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.979999959, 0.48999998, 0.48999998)) | |
488 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.311295122, 0.457603842, 0.311295122)) | |
489 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.14848328e-005, 1.37253189, -4.57763672e-005, 0.999992847, 8.94037839e-008, 3.87475524e-010, -1.34110081e-007, 0.999999285, -7.44655608e-008, -3.8769582e-010, 7.44779527e-008, 0.999993324)) | |
490 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.979999959, 1, 0.9799999)) | |
491 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.311295122, 0.311295122, 0.311295122)) | |
492 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.57763672e-005, 1.21999741, 0.228775501, -3.41191981e-006, 3.57804822e-007, -0.999993324, 4.4703711e-008, 0.999999344, 3.5781386e-007, 0.999992967, -1.63912489e-007, -3.41192117e-006)) | |
493 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.979999959, 0.48999998, 0.48999998)) | |
494 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","Part",Vector3.new(0.610138357, 0.457603842, 0.311295122)) | |
495 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000115871429, 1.37241745, 4.57763672e-005, -0.999999464, -1.042674e-007, -4.16111179e-005, -1.04307645e-007, 0.999999464, -9.59837166e-007, 4.16110997e-005, -9.59829663e-007, -1)) | |
496 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.373709828, 0.364557743, 2.17361784)) | |
497 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.311295122, 0.311295122, 0.311295122)) | |
498 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.44883347, 0.228752613, -1.04306352e-007, 2.98211376e-008, -0.999993324, 1.3411011e-007, -0.999999285, -2.98328473e-008, -0.999992847, -8.94038408e-008, 1.04306622e-007)) | |
499 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.979999959, 0.979999959, 0.48999998)) | |
500 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,tclr,"Part",Vector3.new(0.311295122, 0.320322663, 0.311295122)) | |
501 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00018453598, 7.62939453e-005, 1.37253189, 0.999992847, 8.94037839e-008, 2.58143116e-013, 4.50900385e-013, 3.726106e-007, -0.999993324, -1.34110195e-007, 0.999999285, 3.7262015e-007)) | |
502 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.980000138, 1, 0.9799999)) | |
503 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.311295122, 0.311295122, 0.311295122)) | |
504 | Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.44882584, 0.228737831, -6.13660078e-012, -8.94369236e-008, 0.999993324, 1.3411011e-007, -0.999999285, -8.94483492e-008, 0.999992847, 8.94037839e-008, 5.94248522e-012)) | |
505 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.979999959, 0.979999959, 0.48999998)) | |
506 | ShotgunHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","ShotgunHandle",Vector3.new(0.274405897, 0.205804482, 0.411608905)) | |
507 | ShotgunHandleweld=CreateWeld(m,Char["Left Arm"],ShotgunHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.935044765, -0.0157318115, 0.265125275, -2.65166643e-012, -0.999999523, -2.23517418e-007, 1, -2.65166556e-012, -6.50521303e-019, 5.41119453e-023, -2.23517389e-007, 0.999999642)) | |
508 | Barrel=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Barrel",Vector3.new(0.411608934, 0.200000003, 0.343007416)) | |
509 | Barrelweld=CreateWeld(m,ShotgunHandle,Barrel,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.54535675, -2.64179325, -0.000228881836, -7.04824706e-005, -1.86838183e-016, -0.999999464, 0.999999464, 2.65166535e-012, -7.04824706e-005, 2.65166643e-012, -1, -5.41138134e-023)) | |
510 | CreateMesh("CylinderMesh",Barrel,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.360157818, 1)) | |
511 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.205804482, 0.200000003, 0.343007416)) | |
512 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.373851776, -2.6417737, -0.000228881836, -7.04824706e-005, -1.86838183e-016, -0.999999464, 0.999999464, 2.65166535e-012, -7.04824706e-005, 2.65166643e-012, -1, -5.41138134e-023)) | |
513 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.360157818, 1)) | |
514 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
515 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.36594534, -0.857486725, -0.000274658203, -0.999999642, -2.65166578e-012, 7.06910869e-005, -7.06910869e-005, -1.87391362e-016, -0.999999642, 2.65166643e-012, -1, -5.41138134e-023)) | |
516 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.343007356, 0.343007445, 0.343007445)) | |
517 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.205804482, 0.200000003, 0.343007416)) | |
518 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.648262024, -2.64179325, -0.000228881836, -7.04824706e-005, -1.86838183e-016, -0.999999464, 0.999999464, 2.65166535e-012, -7.04824706e-005, 2.65166643e-012, -1, -5.41138134e-023)) | |
519 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.360157818, 1)) | |
520 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.343007416, 2.05804467, 0.343007416)) | |
521 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.377281189, -1.64534235, -0.000228881836, -7.04824706e-005, -1.86838183e-016, -0.999999464, 0.999999464, 2.65166535e-012, -7.04824706e-005, 2.65166643e-012, -1, -5.41138134e-023)) | |
522 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
523 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.480210334, 0.686014831, 0.343007416)) | |
524 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.651687622, -0.273382664, -0.000198364258, -7.04824706e-005, -1.86838183e-016, -0.999999464, 0.999999464, 2.65166535e-012, -7.04824706e-005, 2.65166643e-012, -1, -5.41138134e-023)) | |
525 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
526 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(0.200000003, 0.205804601, 0.200000003)) | |
527 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.754508972, -2.16281223, -0.105438232, 4.02331182e-007, 1.12467571e-018, -0.999999106, 0.99999702, 2.65165884e-012, 2.08615674e-007, 2.65166079e-012, -0.999997854, -5.41118318e-023)) | |
528 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.68601501, 1, 0.686014891)) | |
529 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.411603868, 0.200000003, 0.411603898)) | |
530 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.272898197, 0.205749512, 0.480178833, 0.999999642, 2.98028588e-008, -7.06910869e-005, -2.98028482e-008, 1, 2.10409446e-012, 7.06910869e-005, 1.07548546e-015, 0.999999642)) | |
531 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.343003303, 1)) | |
532 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(0.200000003, 0.205804601, 0.200000003)) | |
533 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.754508972, -1.06519508, 0.100372314, 4.02331182e-007, 1.12467571e-018, -0.999999106, 0.99999702, 2.65165884e-012, 2.08615674e-007, 2.65166079e-012, -0.999997854, -5.41118318e-023)) | |
534 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.68601501, 1, 0.686014891)) | |
535 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,tclr,"Part",Vector3.new(0.411608875, 0.200000003, 0.274405926)) | |
536 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.272881031, 0.207458496, 0.480178833, 0.999999642, 2.98028588e-008, -7.06910869e-005, -2.98028482e-008, 1, 2.10409446e-012, 7.06910869e-005, 1.07562829e-015, 0.999999642)) | |
537 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.360157818, 1)) | |
538 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(0.200000003, 0.205804601, 0.200000003)) | |
539 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.754508972, -1.06519508, -0.105438232, 4.02331182e-007, 1.12467571e-018, -0.999999106, 0.99999702, 2.65165884e-012, 2.08615674e-007, 2.65166079e-012, -0.999997854, -5.41118318e-023)) | |
540 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.68601501, 1, 0.686014891)) | |
541 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(0.411608964, 0.205804601, 0.346437484)) | |
542 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.342899323, -1.06519222, -0.000823974609, 4.02331182e-007, 1.12467571e-018, -0.999999106, 0.99999702, 2.65165884e-012, 2.08615674e-007, 2.65166079e-012, -0.999997854, -5.41118318e-023)) | |
543 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
544 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(0.200000003, 0.205804601, 0.200000003)) | |
545 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.754508972, -2.16281223, 0.100372314, 4.02331182e-007, 1.12467571e-018, -0.999999106, 0.99999702, 2.65165884e-012, 2.08615674e-007, 2.65166079e-012, -0.999997854, -5.41118318e-023)) | |
546 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.68601501, 1, 0.686014891)) | |
547 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.346437484, 0.205804482)) | |
548 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.478748322, -0.00122070313, 0.102870941, 0.999999642, -1.08415606e-018, -7.06910869e-005, -8.67319759e-019, 1, -1.87299419e-016, 7.06910869e-005, 1.87391349e-016, 0.999999642)) | |
549 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.686014831, 1, 1)) | |
550 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.411608875, 0.205804482, 0.343007416)) | |
551 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, 0, 0.171504974, 0.999999285, -1.51788294e-018, 0, -1.51788294e-018, 1, -5.77734993e-020, 0, -5.77734993e-020, 0.999999285)) | |
552 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
553 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
554 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.65212965, -0.85749054, -0.0690460205, -0.999999642, -2.65166578e-012, 7.06910869e-005, -7.06910869e-005, -1.87391362e-016, -0.999999642, 2.65166643e-012, -1, -5.41138134e-023)) | |
555 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.343007356, 0.343007445, 0.343007445)) | |
556 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.343007416, 2.05804467, 0.343007416)) | |
557 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.648254395, -1.64535713, -0.000228881836, -7.04824706e-005, -1.86838183e-016, -0.999999464, 0.999999464, 2.65166535e-012, -7.04824706e-005, 2.65166643e-012, -1, -5.41138134e-023)) | |
558 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
559 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.686014771, 0.480210334, 0.343007416)) | |
560 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.27342844, -0.445884705, -0.000259399414, -0.999999642, -2.65166578e-012, 7.06910869e-005, -7.06910869e-005, -1.87391362e-016, -0.999999642, 2.65166643e-012, -1, -5.41119453e-023)) | |
561 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
562 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.651693344, -0.85749054, 0.0681915283, -0.999999642, -2.65166578e-012, 7.06910869e-005, -7.06910869e-005, -1.87391362e-016, -0.999999642, 2.65166643e-012, -1, -5.41138134e-023)) | |
563 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.343007356, 0.343007445, 0.343007445)) | |
564 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.891819119, 0.411608845, 0.343007416)) | |
565 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.113838196, -0.423885345, 0.000503540039, -0.865529597, -2.29509619e-012, 0.50085628, -0.50085628, -1.32810386e-012, -0.865529597, 2.65166643e-012, -1, -5.41119453e-023)) | |
566 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.783638, 0.200000003, 0.205804422)) | |
567 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.50810814, -0.754581451, -0.000137329102, -0.999999642, -2.65166578e-012, 7.06910869e-005, -7.06910869e-005, -1.87391362e-016, -0.999999642, 2.65166643e-012, -1, -5.41138134e-023)) | |
568 | CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.68601495, 1)) | |
569 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,tclr,"Part",Vector3.new(0.411608875, 0.200000003, 0.274405926)) | |
570 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.273527622, -0.209014893, 0.480205536, 0.999999344, 2.98028588e-008, -0.000141352371, -2.98028411e-008, 1, 4.21351756e-012, 0.000141352371, 1.26303582e-015, 0.999999344)) | |
571 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.37730819, 1)) | |
572 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(0.274405956, 0.891819477, 0.346437484)) | |
573 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548706055, -1.61399889, -0.000823974609, 4.02331182e-007, 1.12467571e-018, -0.999999106, 0.99999702, 2.65165884e-012, 2.08615674e-007, 2.65166079e-012, -0.999997854, -5.41118318e-023)) | |
574 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(0.411608934, 0.205804601, 0.346437484)) | |
575 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548706055, -2.16281366, -0.000823974609, 4.02331182e-007, 1.12467571e-018, -0.999999106, 0.99999702, 2.65165884e-012, 2.08615674e-007, 2.65166079e-012, -0.999997854, -5.41118318e-023)) | |
576 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.411602557, 0.200000003, 0.411602587)) | |
577 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.273536205, -0.205581665, 0.480205536, 0.999999344, 2.98028588e-008, -0.000141352371, -2.98028411e-008, 1, 4.21351756e-012, 0.000141352371, 1.26288293e-015, 0.999999344)) | |
578 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.3430022, 1)) | |
579 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(0.411608934, 0.205804601, 0.346437484)) | |
580 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548706055, -1.06519127, -0.000823974609, 4.02331182e-007, 1.12467571e-018, -0.999999106, 0.99999702, 2.65165884e-012, 2.08615674e-007, 2.65166079e-012, -0.999997854, -5.41118318e-023)) | |
581 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(0.200000003, 1.02902222, 0.205804482)) | |
582 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.229156494, -0.201507568, 0.480171204, -0.258818954, 0.965925455, -6.5301144e-008, -0.96592468, -0.258819073, -7.28488203e-009, -4.47033983e-008, 9.78950112e-008, 0.999998987)) | |
583 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0517941117, 0.753587306, 0.148865223)) | |
584 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(0.200000003, 1.02902222, 0.200000003)) | |
585 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.295913696, 0.0476303101, 0.119953156, -0.183012679, 0.965925515, 0.18301259, -0.683011949, -0.258819044, 0.683012009, 0.707105875, 1.14738882e-007, 0.707106292)) | |
586 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0517941117, 0.753587306, 0.148865223)) | |
587 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.30342817, 0.205804482, 0.343007416)) | |
588 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.26771879, -0.171478271, -0.000198364258, -0.999999642, -2.65166578e-012, 7.06910869e-005, -7.06910869e-005, -1.87391362e-016, -0.999999642, 2.65166643e-012, -1, -5.41119453e-023)) | |
589 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(0.200000003, 1.02902222, 0.200000003)) | |
590 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.109359741, -0.655639648, 0.510620117, 0.183012411, 0.965925574, 0.183012441, -0.68301183, 0.258818775, -0.683012307, -0.707106233, 5.37700018e-008, 0.707106113)) | |
591 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0517941117, 0.753450096, 0.148796618)) | |
592 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(0.200000003, 1.02902222, 0.200000003)) | |
593 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.297683716, 0.0471572876, 0.119953156, 0.183012515, 0.965925515, -0.183012411, -0.683012307, 0.258818865, 0.68301183, 0.707105637, 7.80294496e-009, 0.707106352)) | |
594 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0517941117, 0.753587306, 0.148865223)) | |
595 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(0.411608964, 0.205804601, 0.346437484)) | |
596 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.342903137, -2.16281414, -0.000823974609, 4.02331182e-007, 1.12467571e-018, -0.999999106, 0.99999702, 2.65165884e-012, 2.08615674e-007, 2.65166079e-012, -0.999997854, -5.41118318e-023)) | |
597 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
598 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.343007386, 0.343007356, 0.343007416)) | |
599 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0353784561, -0.651687622, 0.00016784668, -0.999999344, -2.65166491e-012, 7.00652381e-005, -7.00652381e-005, -1.85731826e-016, -0.999999344, 2.65166643e-012, -1, -5.4111939e-023)) | |
600 | CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
601 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.274405956, 0.205804482, 0.343007416)) | |
602 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.478794575, -0.102890015, -0.000198364258, -0.999999642, -2.65166578e-012, 7.06910869e-005, -7.06910869e-005, -1.87391362e-016, -0.999999642, 2.65166643e-012, -1, -5.41119453e-023)) | |
603 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.82321763, 0.343007356, 0.343007416)) | |
604 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0818824768, -0.459415436, -7.62939453e-005, -0.865718424, -2.29559687e-012, 0.500530124, -0.500530124, -1.32723899e-012, -0.865718424, 2.65166643e-012, -1, -5.41119453e-023)) | |
605 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(0.200000003, 1.02902222, 0.200000003)) | |
606 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.10760498, -0.655174255, 0.510620117, -0.18301256, 0.965925455, -0.183012798, -0.683011591, -0.258819133, -0.683012605, -0.707106292, -2.35276794e-008, 0.707105815)) | |
607 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0517941117, 0.753587306, 0.148865223)) | |
608 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,tclr,"Part",Vector3.new(0.200000003, 1.02902222, 0.205804482)) | |
609 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.230926514, -0.201982498, 0.480171204, 0.258818656, 0.965925574, 8.02022342e-008, -0.965924799, 0.258818835, -5.28825353e-007, -4.47034608e-007, 4.54816842e-008, 0.999999046)) | |
610 | CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0517941117, 0.753587306, 0.148865223)) | |
611 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.09762359, 0.343007356, 0.343007416)) | |
612 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.10375023, -0.155986786, 0.00102233887, -0.999999166, -2.65155259e-012, 0.000461965625, -0.000468551938, 5.56010587e-014, -0.999994993, 2.65157514e-012, -0.999996066, -4.26325438e-014)) | |
613 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.617413342, 1.09762371, 0.343007416)) | |
614 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.293060303, 1.10386992, 0.00102233887, -0.00047101063, 1.29604875e-014, -0.999999285, 0.999999285, 2.65161482e-012, -0.00047101063, 2.65160962e-012, -1, -1.42093589e-014)) | |
615 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
616 | Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.480210334, 0.823217809, 0.343007416)) | |
617 | Partweld=CreateWeld(m,ShotgunHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.594764709, 0.147701263, 0.00117492676, -0.499999762, -1.32583267e-012, -0.866024554, 0.866024554, 2.29640851e-012, -0.499999762, 2.65166643e-012, -1, -6.73411617e-023)) | |
618 | CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
619 | Wedge=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.343007326, 0.205804482, 0.343007416)) | |
620 | Wedgeweld=CreateWeld(m,ShotgunHandle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00016784668, 0.171470642, 2.0906744, -1.553847e-012, -1, -5.96497784e-008, 7.06910869e-005, -5.96498282e-008, 0.999999642, -0.999999642, -2.65166578e-012, 7.06910869e-005)) | |
621 | CreateMesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
622 | Wedge=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.343007326, 0.274405897, 1.09762394)) | |
623 | Wedgeweld=CreateWeld(m,ShotgunHandle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00102233887, -0.153308868, -1.10388994, 2.34347741e-012, -0.999999285, -5.96529546e-008, 5.28991086e-006, -5.96529972e-008, 0.99999851, -0.999999583, -2.65160051e-012, 4.23192796e-006)) | |
624 | CreateMesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
625 | ||
626 | local PE1 = Create("ParticleEmitter"){ | |
627 | Parent = Hitbox, | |
628 | Color = ColorSequence.new(tlcr3, Color3.new (0, 0, 0)), | |
629 | Transparency = NumberSequence.new(.5), | |
630 | Size = NumberSequence.new(0.3), | |
631 | Texture = "rbxassetid://263433152", | |
632 | Lifetime = NumberRange.new(1.8), | |
633 | Rate = 25, | |
634 | VelocitySpread = 180, | |
635 | Rotation = NumberRange.new(100), | |
636 | Speed = NumberRange.new(2), | |
637 | LightEmission = 0.5, | |
638 | LockedToPart = true | |
639 | } | |
640 | ||
641 | local PE1 = Create("ParticleEmitter"){ | |
642 | Parent = Barrel, | |
643 | Color = ColorSequence.new(BrickColor.new(tclr).Color), | |
644 | Transparency = NumberSequence.new(0), | |
645 | Size = NumberSequence.new(.5), | |
646 | Texture = "rbxassetid://257430870", | |
647 | Lifetime = NumberRange.new(.1), | |
648 | Rate = 100, | |
649 | VelocitySpread = 180, | |
650 | Rotation = NumberRange.new(0), | |
651 | Speed = NumberRange.new(0), | |
652 | LightEmission = .6, | |
653 | LockedToPart = true, | |
654 | Enabled = false | |
655 | } | |
656 | ||
657 | local PE2 = PE1:Clone() | |
658 | PE2.Size = NumberSequence.new(.7) | |
659 | PE2.LightEmission = 1 | |
660 | PE2.Texture = "rbxassetid://87729590" | |
661 | ||
662 | local Lite = Create("PointLight"){ | |
663 | Parent = Barrel, | |
664 | Color = BrickColor.new(tclr).Color, | |
665 | Shadows = true, | |
666 | Range = 10, | |
667 | Brightness = 0.5, | |
668 | Enabled = false | |
669 | } | |
670 | ||
671 | function FirstAttack() | |
672 | attack = true | |
673 | for i = 0,1,0.2 do | |
674 | wait() | |
675 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
676 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(3), math.rad(0), math.rad(30)), .3) | |
677 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 1, 0) * CFrame.Angles(math.rad(170), math.rad(0), math.rad(20)), .3) | |
678 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.4, -.5) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(20)), .3) | |
679 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-3), math.rad(30), math.rad(0)), .3) | |
680 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-3), math.rad(30), math.rad(0)), .3) | |
681 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(-30)), .3) | |
682 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
683 | end | |
684 | CreateSound("rbxassetid://154965962",Hitbox,.5,1) | |
685 | local HitDeb = Hitbox.Touched:connect(function(hit) | |
686 | Damage(hit.Parent, math.random(30,50), 0.1, BrickColor.new("Really black"), BrickColor.new(tclr), "rbxassetid://154965973", 1) | |
687 | end) | |
688 | for i = 0,1,0.1 do | |
689 | wait() | |
690 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), .3) | |
691 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-40)), .3) | |
692 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, -.5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-20)), .5) | |
693 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-40)), .5) | |
694 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-3), math.rad(-40), math.rad(0)), .5) | |
695 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-3), math.rad(-40), math.rad(0)), .5) | |
696 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(35)), .4) | |
697 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
698 | end | |
699 | attack = false | |
700 | HitDeb:disconnect() | |
701 | end | |
702 | ||
703 | function SecondAttack() | |
704 | attack = true | |
705 | for i = 0,1,0.2 do | |
706 | wait() | |
707 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(80)), .3) | |
708 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(3), math.rad(0), math.rad(-80)), .3) | |
709 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * CFrame.Angles(math.rad(0), math.rad(130), math.rad(40)), .3) | |
710 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-30)), .3) | |
711 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-3), math.rad(-80), math.rad(0)), .3) | |
712 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-3), math.rad(-80), math.rad(0)), .3) | |
713 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), .3) | |
714 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
715 | end | |
716 | CreateSound("rbxassetid://154965962",Hitbox,.5,1.1) | |
717 | local HitDeb = Hitbox.Touched:connect(function(hit) | |
718 | Damage(hit.Parent, math.random(30,50), 0.1, BrickColor.new("Really black"), BrickColor.new(tclr), "rbxassetid://154965973", 1) | |
719 | end) | |
720 | for i = 0,1,0.1 do | |
721 | wait() | |
722 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-50)), .3) | |
723 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(3), math.rad(0), math.rad(50)), .3) | |
724 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(130)), .5) | |
725 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(-70)), .4) | |
726 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-3), math.rad(50), math.rad(0)), .3) | |
727 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-3), math.rad(50), math.rad(0)), .3) | |
728 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), .3) | |
729 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
730 | end | |
731 | attack = false | |
732 | HitDeb:disconnect() | |
733 | end | |
734 | ||
735 | function ThirdAttack() | |
736 | attack = true | |
737 | for i = 0,1,0.2 do | |
738 | wait() | |
739 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-80)), .3) | |
740 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(3), math.rad(0), math.rad(80)), .3) | |
741 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.5) * CFrame.Angles(math.rad(120), math.rad(-50), math.rad(0)), .3) | |
742 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-70)), .3) | |
743 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -.5) * RHCF * CFrame.Angles(math.rad(-3), math.rad(80), math.rad(0)), .3) | |
744 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, .5) * LHCF * CFrame.Angles(math.rad(-3), math.rad(80), math.rad(0)), .3) | |
745 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(.7, .6, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(-80)), .3) | |
746 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
747 | end | |
748 | CreateSound("rbxassetid://154965962",Hitbox,.5,1) | |
749 | local HitDeb = Hitbox.Touched:connect(function(hit) | |
750 | Damage(hit.Parent, math.random(30,50), 0.1, BrickColor.new("Really black"), BrickColor.new(tclr), "rbxassetid://154965973", 1) | |
751 | end) | |
752 | for i = 0,1,0.1 do | |
753 | wait() | |
754 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), .3) | |
755 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(3), math.rad(0), math.rad(-60)), .3) | |
756 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -1) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(-70)), .5) | |
757 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-50)), .3) | |
758 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, .5) * RHCF * CFrame.Angles(math.rad(-3), math.rad(-60), math.rad(0)), .3) | |
759 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -.5) * LHCF * CFrame.Angles(math.rad(-3), math.rad(-60), math.rad(0)), .3) | |
760 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), .3) | |
761 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
762 | end | |
763 | attack = false | |
764 | HitDeb:disconnect() | |
765 | end | |
766 | ||
767 | function FourthAttack() | |
768 | attack = true | |
769 | for i = 0,1,0.2 do | |
770 | wait() | |
771 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), .3) | |
772 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(3), math.rad(0), math.rad(-60)), .3) | |
773 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -.5) * CFrame.Angles(math.rad(0), math.rad(130), math.rad(100)), .3) | |
774 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-50)), .3) | |
775 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, .5) * RHCF * CFrame.Angles(math.rad(-3), math.rad(-60), math.rad(0)), .3) | |
776 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -.5) * LHCF * CFrame.Angles(math.rad(-3), math.rad(-60), math.rad(0)), .3) | |
777 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), .3) | |
778 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
779 | end | |
780 | CreateSound("rbxassetid://154965962",Hitbox,.5,.9) | |
781 | local HitDeb = Hitbox.Touched:connect(function(hit) | |
782 | Damage(hit.Parent, math.random(30,50), 0.1, BrickColor.new("Really black"), BrickColor.new(tclr), "rbxassetid://154965973", 1) | |
783 | end) | |
784 | for i = 0,1,0.1 do | |
785 | wait() | |
786 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-80)), .3) | |
787 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(10), math.rad(0), math.rad(80)), .3) | |
788 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(50)), .5) | |
789 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-80)), .3) | |
790 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -.5) * RHCF * CFrame.Angles(math.rad(-3), math.rad(80), math.rad(0)), .3) | |
791 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, .5) * LHCF * CFrame.Angles(math.rad(-3), math.rad(80), math.rad(0)), .3) | |
792 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), .3) | |
793 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
794 | end | |
795 | attack = false | |
796 | HitDeb:disconnect() | |
797 | end | |
798 | ||
799 | function ContAttack() | |
800 | attack = true | |
801 | local HitDeb = Hitbox.Touched:connect(function(hit) | |
802 | Damage(hit.Parent, math.random(10,30), 0.1, BrickColor.new("Really black"), BrickColor.new(tclr), "rbxassetid://154965973", 1) | |
803 | end) | |
804 | for i = 1,4 do | |
805 | for i = 0,1,0.3 do | |
806 | wait() | |
807 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-80)), .3) | |
808 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(3), math.rad(0), math.rad(80)), .3) | |
809 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.5) * CFrame.Angles(math.rad(120), math.rad(-50), math.rad(0)), .3) | |
810 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-70)), .3) | |
811 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -.5) * RHCF * CFrame.Angles(math.rad(-3), math.rad(80), math.rad(0)), .3) | |
812 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, .5) * LHCF * CFrame.Angles(math.rad(-3), math.rad(80), math.rad(0)), .3) | |
813 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(.7, .6, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(-80)), .3) | |
814 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
815 | end | |
816 | CreateSound("rbxassetid://154965962",Hitbox,.5,1) | |
817 | for i = 0,1,0.2 do | |
818 | wait() | |
819 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), .3) | |
820 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(3), math.rad(0), math.rad(-60)), .3) | |
821 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -1) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(-70)), .5) | |
822 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-50)), .3) | |
823 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, .5) * RHCF * CFrame.Angles(math.rad(-3), math.rad(-60), math.rad(0)), .3) | |
824 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -.5) * LHCF * CFrame.Angles(math.rad(-3), math.rad(-60), math.rad(0)), .3) | |
825 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), .3) | |
826 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
827 | end | |
828 | for i = 0,1,0.3 do | |
829 | wait() | |
830 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), .3) | |
831 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(3), math.rad(0), math.rad(-60)), .3) | |
832 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -.5) * CFrame.Angles(math.rad(0), math.rad(130), math.rad(100)), .3) | |
833 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-50)), .3) | |
834 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, .5) * RHCF * CFrame.Angles(math.rad(-3), math.rad(-60), math.rad(0)), .3) | |
835 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -.5) * LHCF * CFrame.Angles(math.rad(-3), math.rad(-60), math.rad(0)), .3) | |
836 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), .3) | |
837 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
838 | end | |
839 | CreateSound("rbxassetid://154965962",Hitbox,.5,.9) | |
840 | for i = 0,1,0.2 do | |
841 | wait() | |
842 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-80)), .3) | |
843 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(3), math.rad(0), math.rad(80)), .3) | |
844 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(70)), .5) | |
845 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-80)), .3) | |
846 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -.5) * RHCF * CFrame.Angles(math.rad(-3), math.rad(80), math.rad(0)), .3) | |
847 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, .5) * LHCF * CFrame.Angles(math.rad(-3), math.rad(80), math.rad(0)), .3) | |
848 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), .3) | |
849 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
850 | end | |
851 | end | |
852 | attack = false | |
853 | HitDeb:disconnect() | |
854 | end | |
855 | ||
856 | function Spin() | |
857 | attack = true | |
858 | for i = 0,1,0.1 do | |
859 | wait() | |
860 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(70)), .3) | |
861 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(5), math.rad(-70)), .3) | |
862 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -.5) * CFrame.Angles(math.rad(0), math.rad(120), math.rad(100)), .3) | |
863 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), .3) | |
864 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, .4) * RHCF * CFrame.Angles(math.rad(-3), math.rad(-50), math.rad(-10)), .3) | |
865 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -.4) * LHCF * CFrame.Angles(math.rad(-3), math.rad(-50), math.rad(10)), .3) | |
866 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), .3) | |
867 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
868 | end | |
869 | local HitDeb = Hitbox.Touched:connect(function(hit) | |
870 | Damage(hit.Parent, math.random(20,30), 0, BrickColor.new("Really black"), BrickColor.new(tclr), "rbxassetid://154965973", 1) | |
871 | end) | |
872 | for i = 1,2 do | |
873 | CreateSound("rbxassetid://154965962",Hitbox,.5,.95) | |
874 | for i = 0,1,0.2 do | |
875 | wait() | |
876 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(6), math.rad(0), -6*i), .43) | |
877 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), .3) | |
878 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(90)), .3) | |
879 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(-70)), .3) | |
880 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, .4) * RHCF * CFrame.Angles(math.rad(-3), math.rad(-50), math.rad(-10)), .3) | |
881 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -.4) * LHCF * CFrame.Angles(math.rad(-3), math.rad(-50), math.rad(10)), .3) | |
882 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), .3) | |
883 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
884 | end | |
885 | end | |
886 | for i = 0,1,0.1 do | |
887 | wait() | |
888 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-70)), .3) | |
889 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(70)), .3) | |
890 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.5) * CFrame.Angles(math.rad(0), math.rad(-120), math.rad(-100)), .3) | |
891 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), .3) | |
892 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -.4) * RHCF * CFrame.Angles(math.rad(-3), math.rad(50), math.rad(5)), .3) | |
893 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, .4) * LHCF * CFrame.Angles(math.rad(-3), math.rad(50), math.rad(-5)), .3) | |
894 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), .3) | |
895 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
896 | end | |
897 | for i = 1,2 do | |
898 | CreateSound("rbxassetid://154965962",Hitbox,.5,1) | |
899 | for i = 0,1,0.2 do | |
900 | wait() | |
901 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(6), math.rad(0), 6*i), .43) | |
902 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-50)), .3) | |
903 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-150), math.rad(-90)), .3) | |
904 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(-70)), .3) | |
905 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -.4) * RHCF * CFrame.Angles(math.rad(-3), math.rad(50), math.rad(-10)), .3) | |
906 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, .4) * LHCF * CFrame.Angles(math.rad(-3), math.rad(50), math.rad(10)), .3) | |
907 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), .3) | |
908 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
909 | end | |
910 | end | |
911 | attack = false | |
912 | HitDeb:disconnect() | |
913 | end | |
914 | ||
915 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
916 | local prt = CreatePart(3, Char, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2)) | |
917 | prt.Anchored = true | |
918 | prt.CFrame = cframe | |
919 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
920 | game:GetService("Debris"):AddItem(prt, 2) | |
921 | Effects[#Effects + 1] = { | |
922 | prt, | |
923 | "Cylinder", | |
924 | delay, | |
925 | x3, | |
926 | y3, | |
927 | z3 | |
928 | } --part, type, delay | |
929 | end | |
930 | ||
931 | function Shoot(asd, spread1, spread2) | |
932 | local MainPos = asd.Position | |
933 | local MainPos2 = mouse.Hit.p | |
934 | local spread = Vector3.new((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - mouse.Hit.p).magnitude / 100 | |
935 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2 + spread) | |
936 | num = 30 | |
937 | coroutine.resume(coroutine.create(function(Spreaded) | |
938 | repeat | |
939 | wait() | |
940 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, 10, RP.Parent) | |
941 | local TheHit = mouse.Hit.p | |
942 | local mag = (MainPos - pos).magnitude | |
943 | CylinderEffect(BrickColor.new(tclr), CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, mag * 5, 3, .5, 0, 1.5, 0.1) | |
944 | MainPos = MainPos + (MouseLook.lookVector * 10) | |
945 | num = num - 1 | |
946 | if hit ~= nil then | |
947 | num = 0 | |
948 | local ref = CreatePart(3, workspace, "Neon", 0, 1, BrickColor.new(tclr), "Reference", Vector3.new()) | |
949 | ref.Anchored = true | |
950 | ref.CFrame = CFrame.new(pos) | |
951 | MagnitudeDamage(ref, 5, 5, 10) | |
952 | game:GetService("Debris"):AddItem(ref, 1) | |
953 | end | |
954 | until num <= 0 | |
955 | end)) | |
956 | end | |
957 | ||
958 | gyro = Instance.new("BodyGyro") | |
959 | gyro.Parent = nil | |
960 | gyro.P = 1e7 | |
961 | gyro.D = 1e3 | |
962 | gyro.MaxTorque = Vector3.new(0,1e7,0) | |
963 | ||
964 | local shoot = false | |
965 | local gun = false | |
966 | function Aim() | |
967 | attack = true | |
968 | gun = true | |
969 | gyro.Parent = RP | |
970 | for i = 0, 1, 0.2 do | |
971 | swait() | |
972 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .5) | |
973 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), .5) | |
974 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
975 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.5) | |
976 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -.2) * RHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .3) | |
977 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, .2) * LHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .3) | |
978 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(.7, .6, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(-80)), .3) | |
979 | end | |
980 | local offset = nil | |
981 | while gun == true do | |
982 | wait() | |
983 | local gunpos = Vector3.new(mouse.Hit.p.x, He.Position.Y, mouse.Hit.p.z) | |
984 | offset = (Tor.Position.y - mouse.Hit.p.y) / 60 | |
985 | local mag = (Tor.Position - mouse.Hit.p).magnitude / 80 | |
986 | offset = offset / mag | |
987 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.fromEulerAnglesXYZ(0, 0, 1.57), .3) | |
988 | LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(offset, 0, 0), .5) | |
989 | end | |
990 | if shoot == true then | |
991 | PE1.Enabled,PE2.Enabled = true,true | |
992 | Lite.Enabled = true | |
993 | for i = 1,2 do | |
994 | for i = 1,5 do | |
995 | Shoot(Barrel, 1, 3) | |
996 | end | |
997 | CreateSound("rbxassetid://212032538", Barrel, .5, .8) | |
998 | CreateSound("rbxassetid://168413145", Barrel, .7, 1) | |
999 | Shoot(Barrel, 0, 0) | |
1000 | for i = 0, 1, 0.2 do | |
1001 | swait() | |
1002 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .3) | |
1003 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(85)), .3) | |
1004 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(20)), 0.3) | |
1005 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(-50), math.rad(-90)), 0.5) | |
1006 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -.2) * RHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .3) | |
1007 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, .2) * LHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .3) | |
1008 | end | |
1009 | for i = 0, 1, 0.1 do | |
1010 | swait() | |
1011 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .3) | |
1012 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(85)), .3) | |
1013 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(20)), 0.3) | |
1014 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.5) | |
1015 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -.2) * RHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .3) | |
1016 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, .2) * LHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .3) | |
1017 | end | |
1018 | end | |
1019 | Lite.Enabled = false | |
1020 | PE1.Enabled,PE2.Enabled = false,false | |
1021 | end | |
1022 | gyro.Parent = nil | |
1023 | shoot = false | |
1024 | attack = false | |
1025 | end | |
1026 | ||
1027 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1028 | local prt = CreatePart("Custom", workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1029 | prt.Anchored = true | |
1030 | prt.CFrame = cframe | |
1031 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1032 | game:GetService("Debris"):AddItem(prt, 5) | |
1033 | table.insert(Effects, { | |
1034 | prt, | |
1035 | "Cylinder", | |
1036 | delay, | |
1037 | x3, | |
1038 | y3, | |
1039 | z3, | |
1040 | msh | |
1041 | }) | |
1042 | end | |
1043 | ||
1044 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1045 | local prt = CreatePart("Custom", workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1046 | prt.Anchored = true | |
1047 | prt.CFrame = cframe | |
1048 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1049 | game:GetService("Debris"):AddItem(prt, 5) | |
1050 | table.insert(Effects, { | |
1051 | prt, | |
1052 | "Block1", | |
1053 | delay, | |
1054 | x3, | |
1055 | y3, | |
1056 | z3, | |
1057 | msh | |
1058 | }) | |
1059 | end | |
1060 | ||
1061 | ||
1062 | function GroundWave() | |
1063 | attack = true | |
1064 | --[[ for i = 1,2 do | |
1065 | CreateSound("rbxassetid://154965962",Hitbox,.5,.95) | |
1066 | for i = 0,1,0.2 do | |
1067 | wait() | |
1068 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60)), .3) | |
1069 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(60)), .3) | |
1070 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(30)), .3) | |
1071 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-80)), .3) | |
1072 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -.4) * RHCF * CFrame.Angles(math.rad(-3), math.rad(50), math.rad(0)), .3) | |
1073 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, .4) * LHCF * CFrame.Angles(math.rad(-3), math.rad(50), math.rad(0)), .3) | |
1074 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(50), math.rad(50), 6*i), .6) | |
1075 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
1076 | end | |
1077 | end]]-- | |
1078 | for i = 0,1,0.1 do | |
1079 | wait() | |
1080 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(70)), .3) | |
1081 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-70)), .3) | |
1082 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(70)), .3) | |
1083 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-50)), .3) | |
1084 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .3) | |
1085 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .3) | |
1086 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(50)), .3) | |
1087 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
1088 | end | |
1089 | Hu.WalkSpeed = 0 | |
1090 | coroutine.resume(coroutine.create(function() | |
1091 | local CF = RP.CFrame | |
1092 | local numb = -5 | |
1093 | local BaseCF = CF | |
1094 | for i = 1, 10 do | |
1095 | BaseCF = CF * CFrame.new(0, -2, numb) | |
1096 | local baseprt = CreatePart(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Part1", Vector3.new(1, 1, 1)) | |
1097 | baseprt.Anchored = true | |
1098 | baseprt.CFrame = BaseCF | |
1099 | game:GetService("Debris"):AddItem(baseprt, .5) | |
1100 | local c = game.Workspace:GetChildren() | |
1101 | for i = 1, #c do | |
1102 | local hum = c[i]:findFirstChild("Humanoid") | |
1103 | if hum ~= nil and hum.Health ~= 0 then | |
1104 | local head = c[i]:findFirstChild("Head") | |
1105 | if head ~= nil then | |
1106 | local targ = head.Position - baseprt.Position | |
1107 | local mag = targ.magnitude | |
1108 | if mag <= 7 and c[i].Name ~= Ply.Name then | |
1109 | MagnitudeDamage(head, 20, 20, 30) | |
1110 | end | |
1111 | end | |
1112 | end | |
1113 | end | |
1114 | CreateSound("http://www.roblox.com/asset/?id=278596476",baseprt,.7,0.7) | |
1115 | CreateSound("http://www.roblox.com/asset/?id=199145264",baseprt,.6,1.3) | |
1116 | CreateSound("http://www.roblox.com/asset/?id=168413145",baseprt,.7,1.2) | |
1117 | BlockEffect(BrickColor.new("Really black"), BaseCF, 0.5, 0.5, 0.5, 2, 2, 2, 0.05) | |
1118 | WaveEffect(BrickColor.new(tclr), BaseCF, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.05) | |
1119 | numb = numb - 3 | |
1120 | wait(0.15) | |
1121 | end | |
1122 | end)) | |
1123 | for i = 0,1,0.02 do | |
1124 | wait() | |
1125 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), .3) | |
1126 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(-10), math.rad(-90)), .3) | |
1127 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(10), math.rad(90)), .5) | |
1128 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0) * CFrame.Angles(math.rad(5), math.rad(-30), math.rad(-60)), .3) | |
1129 | RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.3) * RHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .3) | |
1130 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(50)), .3) | |
1131 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(190)), .5) | |
1132 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
1133 | end | |
1134 | attack = false | |
1135 | Hu.WalkSpeed = 16 | |
1136 | end | |
1137 | ||
1138 | mouse.Button1Down:connect(function() | |
1139 | if attack == false and Combo == 1 then | |
1140 | Combo = 2 | |
1141 | FirstAttack() | |
1142 | elseif attack == false and Combo == 2 then | |
1143 | Combo = 3 | |
1144 | SecondAttack() | |
1145 | elseif attack == false and Combo == 3 then | |
1146 | Combo = 4 | |
1147 | ThirdAttack() | |
1148 | elseif attack == false and Combo == 4 then | |
1149 | Combo = 1 | |
1150 | FourthAttack() | |
1151 | end | |
1152 | if gun == true then | |
1153 | shoot = true | |
1154 | gun = false | |
1155 | end | |
1156 | end) | |
1157 | ||
1158 | mouse.KeyDown:connect(function(k) | |
1159 | k = k:lower() | |
1160 | if k == "q" and attack == false then | |
1161 | ContAttack() | |
1162 | elseif k == "e" and attack == false then | |
1163 | Spin() | |
1164 | elseif attack == false and k == 'f' then | |
1165 | Aim() | |
1166 | elseif attack == false and k == 'r' then | |
1167 | GroundWave() | |
1168 | end | |
1169 | end) | |
1170 | ||
1171 | local sine = 0 | |
1172 | local change = 1 | |
1173 | local val = 0 | |
1174 | local donum = 0 | |
1175 | ||
1176 | while true do | |
1177 | swait() | |
1178 | gyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p -RP.CFrame.p).unit * 100) | |
1179 | sine = sine + change | |
1180 | local torvel = (RP.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1181 | local velderp = RP.Velocity.y | |
1182 | hitfloor, posfloor = rayCast(RP.Position, (CFrame.new(RP.Position, RP.Position - Vector3.new(0, 1, 0))).lookVector, 4, Char) | |
1183 | if equipped == true or equipped == false then | |
1184 | if RP.Velocity.y > 1 and hitfloor == nil then | |
1185 | Anim = "Jump" | |
1186 | if attack == false then | |
1187 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1188 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .3) | |
1189 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(20)), .3) | |
1190 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)), .3) | |
1191 | RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.5) * RHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), .3) | |
1192 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(30)), .3) | |
1193 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(.7, .6, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(-80)), .3) | |
1194 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
1195 | LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .5) | |
1196 | end | |
1197 | elseif RP.Velocity.y < -1 and hitfloor == nil then | |
1198 | Anim = "Fall" | |
1199 | if attack == false then | |
1200 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1201 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3) | |
1202 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(150), math.rad(0), math.rad(10)), .3) | |
1203 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(-30)), .3) | |
1204 | RH.C0 = clerp(RH.C0, CFrame.new(1, -.7, -.2) * RHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(10)), .3) | |
1205 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(10)), .3) | |
1206 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(.7, .6, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(-80)), .3) | |
1207 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
1208 | LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .5) | |
1209 | end | |
1210 | elseif torvel < 1 and hitfloor ~= nil then | |
1211 | Anim = "Idle" | |
1212 | if attack == false then | |
1213 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3) | |
1214 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(30)), .3) | |
1215 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(20)), .3) | |
1216 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.4, 0) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(-10)), .3) | |
1217 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -.2) * RHCF * CFrame.Angles(math.rad(-3), math.rad(30), math.rad(0)), .3) | |
1218 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, .2) * LHCF * CFrame.Angles(math.rad(-3), math.rad(30), math.rad(0)), .3) | |
1219 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(.7, .6, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(-80)), .3) | |
1220 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), .3) | |
1221 | LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .5) | |
1222 | end | |
1223 | elseif torvel > 2 and hitfloor ~= nil then | |
1224 | Anim = "Walk" | |
1225 | if attack == false then | |
1226 | RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3) | |
1227 | Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .3) | |
1228 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(20)), .3) | |
1229 | LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.4, 0) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-10)), .3) | |
1230 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(0)), .3) | |
1231 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-4), math.rad(0), math.rad(0)), .3) | |
1232 | FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), .3) | |
1233 | ShotgunHandleweld.C0 = clerp(ShotgunHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3) | |
1234 | LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .5) | |
1235 | end | |
1236 | end | |
1237 | end | |
1238 | if #Effects > 0 then | |
1239 | for e = 1, #Effects do | |
1240 | if Effects[e] ~= nil then | |
1241 | local Thing = Effects[e] | |
1242 | if Thing ~= nil then | |
1243 | local Part = Thing[1] | |
1244 | local Mode = Thing[2] | |
1245 | local Delay = Thing[3] | |
1246 | local IncX = Thing[4] | |
1247 | local IncY = Thing[5] | |
1248 | local IncZ = Thing[6] | |
1249 | if Thing[1].Transparency <= 1 then | |
1250 | if Thing[2] == "Block1" then | |
1251 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1252 | Mesh = Thing[1].Mesh | |
1253 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1254 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1255 | elseif Thing[2] == "Cylinder" then | |
1256 | Mesh = Thing[1].Mesh | |
1257 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1258 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1259 | elseif Thing[2] == "Blood" then | |
1260 | Mesh = Thing[7] | |
1261 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0) | |
1262 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1263 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1264 | elseif Thing[2] == "Elec" then | |
1265 | Mesh = Thing[1].Mesh | |
1266 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1267 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1268 | elseif Thing[2] == "Disappear" then | |
1269 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1270 | end | |
1271 | else | |
1272 | Part.Parent = nil | |
1273 | table.remove(Effects, e) | |
1274 | end | |
1275 | end | |
1276 | end | |
1277 | end | |
1278 | end | |
1279 | end |