SHOW:
|
|
- or go back to the newest paste.
1 | - | Player=game:GetService("Players").LocalPlayer |
1 | + | Player=game:GetService("Webor8").LocalPlayer |
2 | Character=Player.Character | |
3 | PlayerGui=Player.PlayerGui | |
4 | Backpack=Player.Backpack | |
5 | Torso=Character.Torso | |
6 | Head=Character.Head | |
7 | Humanoid=Character.Humanoid | |
8 | m=Instance.new('Model',Character) | |
9 | LeftArm=Character["Left Arm"] | |
10 | LeftLeg=Character["Left Leg"] | |
11 | RightArm=Character["Right Arm"] | |
12 | RightLeg=Character["Right Leg"] | |
13 | LS=Torso["Left Shoulder"] | |
14 | LH=Torso["Left Hip"] | |
15 | RS=Torso["Right Shoulder"] | |
16 | RH=Torso["Right Hip"] | |
17 | Face = Head.face | |
18 | Neck=Torso.Neck | |
19 | it=Instance.new | |
20 | attacktype=1 | |
21 | vt=Vector3.new | |
22 | cf=CFrame.new | |
23 | euler=CFrame.fromEulerAnglesXYZ | |
24 | angles=CFrame.Angles | |
25 | cloaked=false | |
26 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
27 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
28 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
29 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
30 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
31 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
32 | RootPart=Character.HumanoidRootPart | |
33 | RootJoint=RootPart.RootJoint | |
34 | RootCF=euler(-1.57,0,3.14) | |
35 | attack = false | |
36 | attackdebounce = false | |
37 | deb=false | |
38 | equipped=true | |
39 | hand=false | |
40 | MMouse=nil | |
41 | combo=0 | |
42 | mana=0 | |
43 | trispeed=.2 | |
44 | attackmode='none' | |
45 | local idle=0 | |
46 | local Anim="Idle" | |
47 | local Effects={} | |
48 | local gun=false | |
49 | local shoot=false | |
50 | player=nil | |
51 | mana=0 | |
52 | cam = workspace.CurrentCamera | |
53 | ZTarget = nil | |
54 | RocketTarget = nil | |
55 | local Targetting = false | |
56 | ||
57 | mouse=Player:GetMouse() | |
58 | --save shoulders | |
59 | RSH, LSH=nil, nil | |
60 | --welds | |
61 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
62 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
63 | LH=Torso["Left Hip"] | |
64 | RH=Torso["Right Hip"] | |
65 | TorsoColor=Torso.BrickColor | |
66 | function NoOutline(Part) | |
67 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
68 | end | |
69 | player=Player | |
70 | ch=Character | |
71 | RSH=ch.Torso["Right Shoulder"] | |
72 | LSH=ch.Torso["Left Shoulder"] | |
73 | -- | |
74 | RSH.Parent=nil | |
75 | LSH.Parent=nil | |
76 | -- | |
77 | RW.Name="Right Shoulder" | |
78 | RW.Part0=ch.Torso | |
79 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
80 | RW.C1=cf(0, 0.5, 0) | |
81 | RW.Part1=ch["Right Arm"] | |
82 | RW.Parent=ch.Torso | |
83 | -- | |
84 | LW.Name="Left Shoulder" | |
85 | LW.Part0=ch.Torso | |
86 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
87 | LW.C1=cf(0, 0.5, 0) | |
88 | LW.Part1=ch["Left Arm"] | |
89 | LW.Parent=ch.Torso | |
90 | ||
91 | function swait(num) | |
92 | if num==0 or num==nil then | |
93 | game:service'RunService'.Heartbeat:wait(0) | |
94 | else | |
95 | for i=0,num do | |
96 | game:service'RunService'.Heartbeat:wait(0) | |
97 | end | |
98 | end | |
99 | end | |
100 | ||
101 | function nooutline(part) | |
102 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
103 | end | |
104 | ||
105 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
106 | local fp=it("Part") | |
107 | fp.formFactor=formfactor | |
108 | fp.Parent=parent | |
109 | fp.Reflectance=reflectance | |
110 | fp.Transparency=transparency | |
111 | fp.CanCollide=false | |
112 | fp.Locked=true | |
113 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
114 | fp.Name=name | |
115 | fp.Size=size | |
116 | fp.Position=Character.Torso.Position | |
117 | nooutline(fp) | |
118 | fp.Material=material | |
119 | fp:BreakJoints() | |
120 | return fp | |
121 | end | |
122 | ||
123 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
124 | local mesh=it(Mesh) | |
125 | mesh.Parent=part | |
126 | if Mesh=="SpecialMesh" then | |
127 | mesh.MeshType=meshtype | |
128 | mesh.MeshId=meshid | |
129 | end | |
130 | mesh.Offset=offset | |
131 | mesh.Scale=scale | |
132 | return mesh | |
133 | end | |
134 | ||
135 | function weld(parent,part0,part1,c0,c1) | |
136 | local weld=it("Weld") | |
137 | weld.Parent=parent | |
138 | weld.Part0=part0 | |
139 | weld.Part1=part1 | |
140 | weld.C0=c0 | |
141 | weld.C1=c1 | |
142 | return weld | |
143 | end | |
144 | ||
145 | ||
146 | local function CFrameFromTopBack(at, top, back) | |
147 | local right = top:Cross(back) | |
148 | return CFrame.new(at.x, at.y, at.z, | |
149 | right.x, top.x, back.x, | |
150 | right.y, top.y, back.y, | |
151 | right.z, top.z, back.z) | |
152 | end | |
153 | ||
154 | function Triangle(a, b, c) | |
155 | local edg1 = (c-a):Dot((b-a).unit) | |
156 | local edg2 = (a-b):Dot((c-b).unit) | |
157 | local edg3 = (b-c):Dot((a-c).unit) | |
158 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
159 | a, b, c = a, b, c | |
160 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
161 | a, b, c = b, c, a | |
162 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
163 | a, b, c = c, a, b | |
164 | else | |
165 | assert(false, "unreachable") | |
166 | end | |
167 | ||
168 | local len1 = (c-a):Dot((b-a).unit) | |
169 | local len2 = (b-a).magnitude - len1 | |
170 | local width = (a + (b-a).unit*len1 - c).magnitude | |
171 | ||
172 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
173 | ||
174 | local list = {} | |
175 | ||
176 | local TrailColor = ("Dark grey") | |
177 | ||
178 | if len1 > 0.01 then | |
179 | local w1 = Instance.new('WedgePart', m) | |
180 | game:GetService("Debris"):AddItem(w1,5) | |
181 | w1.Material = "SmoothPlastic" | |
182 | w1.FormFactor = 'Custom' | |
183 | w1.BrickColor = BrickColor.new(TrailColor) | |
184 | w1.Transparency = 0 | |
185 | w1.Reflectance = 0 | |
186 | w1.Material = "SmoothPlastic" | |
187 | w1.CanCollide = false | |
188 | NoOutline(w1) | |
189 | local sz = Vector3.new(0.2, width, len1) | |
190 | w1.Size = sz | |
191 | local sp = Instance.new("SpecialMesh",w1) | |
192 | sp.MeshType = "Wedge" | |
193 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
194 | w1:BreakJoints() | |
195 | w1.Anchored = true | |
196 | w1.Parent = workspace | |
197 | w1.Transparency = 0.7 | |
198 | table.insert(Effects,{w1,"Disappear",.01}) | |
199 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
200 | table.insert(list,w1) | |
201 | end | |
202 | ||
203 | if len2 > 0.01 then | |
204 | local w2 = Instance.new('WedgePart', m) | |
205 | game:GetService("Debris"):AddItem(w2,5) | |
206 | w2.Material = "SmoothPlastic" | |
207 | w2.FormFactor = 'Custom' | |
208 | w2.BrickColor = BrickColor.new(TrailColor) | |
209 | w2.Transparency = 0 | |
210 | w2.Reflectance = 0 | |
211 | w2.Material = "SmoothPlastic" | |
212 | w2.CanCollide = false | |
213 | NoOutline(w2) | |
214 | local sz = Vector3.new(0.2, width, len2) | |
215 | w2.Size = sz | |
216 | local sp = Instance.new("SpecialMesh",w2) | |
217 | sp.MeshType = "Wedge" | |
218 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
219 | w2:BreakJoints() | |
220 | w2.Anchored = true | |
221 | w2.Parent = workspace | |
222 | w2.Transparency = 0.7 | |
223 | table.insert(Effects,{w2,"Disappear",.01}) | |
224 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
225 | table.insert(list,w2) | |
226 | end | |
227 | return unpack(list) | |
228 | end | |
229 | ||
230 | ||
231 | so = function(id,par,vol,pit) | |
232 | coroutine.resume(coroutine.create(function() | |
233 | local sou = Instance.new("Sound",par or workspace) | |
234 | sou.Volume=vol | |
235 | sou.Pitch=pit or 1 | |
236 | sou.SoundId=id | |
237 | swait() | |
238 | sou:play() | |
239 | game:GetService("Debris"):AddItem(sou,6) | |
240 | end)) | |
241 | end | |
242 | ||
243 | function clerp(a,b,t) | |
244 | local qa = {QuaternionFromCFrame(a)} | |
245 | local qb = {QuaternionFromCFrame(b)} | |
246 | local ax, ay, az = a.x, a.y, a.z | |
247 | local bx, by, bz = b.x, b.y, b.z | |
248 | local _t = 1-t | |
249 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
250 | end | |
251 | ||
252 | function QuaternionFromCFrame(cf) | |
253 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
254 | local trace = m00 + m11 + m22 | |
255 | if trace > 0 then | |
256 | local s = math.sqrt(1 + trace) | |
257 | local recip = 0.5/s | |
258 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
259 | else | |
260 | local i = 0 | |
261 | if m11 > m00 then | |
262 | i = 1 | |
263 | end | |
264 | if m22 > (i == 0 and m00 or m11) then | |
265 | i = 2 | |
266 | end | |
267 | if i == 0 then | |
268 | local s = math.sqrt(m00-m11-m22+1) | |
269 | local recip = 0.5/s | |
270 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
271 | elseif i == 1 then | |
272 | local s = math.sqrt(m11-m22-m00+1) | |
273 | local recip = 0.5/s | |
274 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
275 | elseif i == 2 then | |
276 | local s = math.sqrt(m22-m00-m11+1) | |
277 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
278 | end | |
279 | end | |
280 | end | |
281 | ||
282 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
283 | local xs, ys, zs = x + x, y + y, z + z | |
284 | local wx, wy, wz = w*xs, w*ys, w*zs | |
285 | local xx = x*xs | |
286 | local xy = x*ys | |
287 | local xz = x*zs | |
288 | local yy = y*ys | |
289 | local yz = y*zs | |
290 | local zz = z*zs | |
291 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
292 | end | |
293 | ||
294 | function QuaternionSlerp(a, b, t) | |
295 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
296 | local startInterp, finishInterp; | |
297 | if cosTheta >= 0.0001 then | |
298 | if (1 - cosTheta) > 0.0001 then | |
299 | local theta = math.acos(cosTheta) | |
300 | local invSinTheta = 1/math.sin(theta) | |
301 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
302 | finishInterp = math.sin(t*theta)*invSinTheta | |
303 | else | |
304 | startInterp = 1-t | |
305 | finishInterp = t | |
306 | end | |
307 | else | |
308 | if (1+cosTheta) > 0.0001 then | |
309 | local theta = math.acos(-cosTheta) | |
310 | local invSinTheta = 1/math.sin(theta) | |
311 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
312 | finishInterp = math.sin(t*theta)*invSinTheta | |
313 | else | |
314 | startInterp = t-1 | |
315 | finishInterp = t | |
316 | end | |
317 | end | |
318 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
319 | end | |
320 | ||
321 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
322 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
323 | end | |
324 | ||
325 | Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
326 | if hit.Parent==nil then | |
327 | return | |
328 | end | |
329 | local h=hit.Parent:FindFirstChild("Humanoid") | |
330 | for _,v in pairs(hit.Parent:children()) do | |
331 | if v:IsA("Humanoid") then | |
332 | h=v | |
333 | end | |
334 | end | |
335 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
336 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
337 | end | |
338 | if hit.Parent.className=="Hat" then | |
339 | hit=hit.Parent.Parent:findFirstChild("Head") | |
340 | end | |
341 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
342 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
343 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
344 | return | |
345 | end]] | |
346 | -- hs(hit,1.2) | |
347 | local c=Instance.new("ObjectValue") | |
348 | c.Name="creator" | |
349 | c.Value=game:service("Players").LocalPlayer | |
350 | c.Parent=h | |
351 | game:GetService("Debris"):AddItem(c,.5) | |
352 | local Damage=math.random(minim,maxim) | |
353 | -- h:TakeDamage(Damage) | |
354 | local blocked=false | |
355 | local block=hit.Parent:findFirstChild("Block") | |
356 | if block~=nil then | |
357 | print(block.className) | |
358 | if block.className=="NumberValue" then | |
359 | if block.Value>0 then | |
360 | blocked=true | |
361 | if decreaseblock==nil then | |
362 | block.Value=block.Value-1 | |
363 | end | |
364 | end | |
365 | end | |
366 | if block.className=="IntValue" then | |
367 | if block.Value>0 then | |
368 | blocked=true | |
369 | if decreaseblock~=nil then | |
370 | block.Value=block.Value-1 | |
371 | end | |
372 | end | |
373 | end | |
374 | end | |
375 | if blocked==false then | |
376 | -- h:TakeDamage(Damage) | |
377 | h.Health=h.Health-Damage | |
378 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color) | |
379 | else | |
380 | h.Health=h.Health-(Damage/2) | |
381 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color) | |
382 | end | |
383 | if Type=="Knockdown" then | |
384 | local hum=hit.Parent.Humanoid | |
385 | hum.PlatformStand=true | |
386 | coroutine.resume(coroutine.create(function(HHumanoid) | |
387 | swait(1) | |
388 | HHumanoid.PlatformStand=false | |
389 | end),hum) | |
390 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
391 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
392 | local bodvol=Instance.new("BodyVelocity") | |
393 | bodvol.velocity=angle*knockback | |
394 | bodvol.P=5000 | |
395 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
396 | bodvol.Parent=hit | |
397 | local rl=Instance.new("BodyAngularVelocity") | |
398 | rl.P=3000 | |
399 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
400 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
401 | rl.Parent=hit | |
402 | game:GetService("Debris"):AddItem(bodvol,.5) | |
403 | game:GetService("Debris"):AddItem(rl,.5) | |
404 | elseif Type=="Normal" then | |
405 | local vp=Instance.new("BodyVelocity") | |
406 | vp.P=500 | |
407 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
408 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
409 | if KnockbackType==1 then | |
410 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
411 | elseif KnockbackType==2 then | |
412 | vp.velocity=Property.CFrame.lookVector*knockback | |
413 | end | |
414 | if knockback>0 then | |
415 | vp.Parent=hit.Parent.Torso | |
416 | end | |
417 | game:GetService("Debris"):AddItem(vp,.5) | |
418 | elseif Type=="Up" then | |
419 | local bodyVelocity=Instance.new("BodyVelocity") | |
420 | bodyVelocity.velocity=vt(0,60,0) | |
421 | bodyVelocity.P=5000 | |
422 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
423 | bodyVelocity.Parent=hit | |
424 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
425 | local rl=Instance.new("BodyAngularVelocity") | |
426 | rl.P=3000 | |
427 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
428 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
429 | rl.Parent=hit | |
430 | game:GetService("Debris"):AddItem(rl,.5) | |
431 | elseif Type=="Snare" then | |
432 | local bp=Instance.new("BodyPosition") | |
433 | bp.P=2000 | |
434 | bp.D=100 | |
435 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
436 | bp.position=hit.Parent.Torso.Position | |
437 | bp.Parent=hit.Parent.Torso | |
438 | game:GetService("Debris"):AddItem(bp,1) | |
439 | elseif Type=="Target" then | |
440 | local Targetting = false | |
441 | if Targetting==false then | |
442 | ZTarget=hit.Parent.Torso | |
443 | coroutine.resume(coroutine.create(function(Part) | |
444 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
445 | swait(5) | |
446 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
447 | end),ZTarget) | |
448 | local TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
449 | local targetgui=Instance.new("BillboardGui") | |
450 | targetgui.Parent=ZTarget | |
451 | targetgui.Size=UDim2.new(10,100,10,100) | |
452 | local targ=Instance.new("ImageLabel") | |
453 | targ.Parent=targetgui | |
454 | targ.BackgroundTransparency=1 | |
455 | targ.Image="rbxassetid://4834067" | |
456 | targ.Size=UDim2.new(1,0,1,0) | |
457 | cam.CameraType="Scriptable" | |
458 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
459 | local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
460 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
461 | Targetting=true | |
462 | RocketTarget=ZTarget | |
463 | for i=1,Property do | |
464 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
465 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
466 | swait() | |
467 | end | |
468 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
469 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
470 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
471 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
472 | end | |
473 | Targetting=false | |
474 | RocketTarget=nil | |
475 | targetgui.Parent=nil | |
476 | cam.CameraType="Custom" | |
477 | end | |
478 | end | |
479 | local debounce=Instance.new("BoolValue") | |
480 | debounce.Name="DebounceHit" | |
481 | debounce.Parent=hit.Parent | |
482 | debounce.Value=true | |
483 | game:GetService("Debris"):AddItem(debounce,Delay) | |
484 | c=Instance.new("ObjectValue") | |
485 | c.Name="creator" | |
486 | c.Value=Player | |
487 | c.Parent=h | |
488 | game:GetService("Debris"):AddItem(c,.5) | |
489 | end | |
490 | end | |
491 | ||
492 | Damagefunc2=function(Part,hit,Damage,Knockback) | |
493 | if attackdebounce == false then | |
494 | -- attackdebounce = true | |
495 | coroutine.resume(coroutine.create(function() | |
496 | wait(0.1) | |
497 | attackdebounce = false | |
498 | end)) | |
499 | if hit.Parent==nil then | |
500 | return | |
501 | end | |
502 | local blocked=false | |
503 | local h=hit.Parent:FindFirstChild("Humanoid") | |
504 | if h~=nil and hit.Parent:FindFirstChild("Torso")~=nil then | |
505 | Damage=Damage | |
506 | local c=it("ObjectValue") | |
507 | c.Name="creator" | |
508 | c.Value=game.Players.LocalPlayer | |
509 | c.Parent=h | |
510 | game:GetService("Debris"):AddItem(c,.5) | |
511 | -- print(c.Value) | |
512 | --[[ if math.random(0,99)+math.random()<=7.8 then | |
513 | CRIT=true | |
514 | Damage=Damage*2 | |
515 | s=it("Sound") | |
516 | s.SoundId="http://www.roblox.com/asset/?id=2801263" | |
517 | s.Volume=1 | |
518 | s.Pitch=2 | |
519 | s.Parent=hit | |
520 | s.PlayOnRemove=true | |
521 | s.Parent=nil | |
522 | ||
523 | end]] | |
524 | Damage=Damage+math.random(0,10) | |
525 | -- Blood(hit.CFrame*cf(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2)) | |
526 | blocked=false | |
527 | local block=hit.Parent:findFirstChild("Block") | |
528 | if block~=nil then | |
529 | print("herp") | |
530 | if block.Value>0 then | |
531 | blocked=true | |
532 | block.Value=block.Value-3 | |
533 | print(block.Value) | |
534 | end | |
535 | end | |
536 | if blocked==false then | |
537 | -- h:TakeDamage(Damage) | |
538 | h.Health=h.Health-Damage | |
539 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("New Yeller").Color) | |
540 | else | |
541 | h:TakeDamage(1) | |
542 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("New Yeller").Color) | |
543 | end | |
544 | --if blocked==false then | |
545 | local angle = (hit.Position-(Torso.Position+Vector3.new(0,0,0))).unit | |
546 | print(angle) | |
547 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
548 | local rl=Instance.new("BodyAngularVelocity") | |
549 | rl.P=3000 | |
550 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
551 | rl.angularvelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
552 | rl.Parent=hit | |
553 | coroutine.resume(coroutine.create(function(vel) | |
554 | wait(0.5) | |
555 | vel:Remove() | |
556 | end),rl) | |
557 | --end | |
558 | local bodyVelocity=Instance.new("BodyVelocity") | |
559 | bodyVelocity.velocity=angle*40+Vector3.new(0,0,0) | |
560 | bodyVelocity.P=5000 | |
561 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
562 | bodyVelocity.Parent=hit | |
563 | coroutine.resume(coroutine.create(function(Vel) | |
564 | wait(0.2) | |
565 | Vel:Remove() | |
566 | end),bodyVelocity) | |
567 | c=it("ObjectValue") | |
568 | c.Name="creator" | |
569 | c.Value=Player | |
570 | c.Parent=h | |
571 | game:GetService("Debris"):AddItem(c,.5) | |
572 | end | |
573 | end | |
574 | end | |
575 | ||
576 | function ShowDamage(Pos, Text, Time, Color) | |
577 | local Rate = (1 / 30) | |
578 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
579 | local Text = (Text or "") | |
580 | local Time = (Time or 2) | |
581 | local Color = (Color or Color3.new(1, 0, 0)) | |
582 | local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0)) | |
583 | EffectPart.Anchored = true | |
584 | local BillboardGui = Instance.new("BillboardGui") | |
585 | BillboardGui.Size = UDim2.new(3, 0, 3, 0) | |
586 | BillboardGui.Adornee = EffectPart | |
587 | local TextLabel = Instance.new("TextLabel") | |
588 | TextLabel.BackgroundTransparency = 1 | |
589 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
590 | TextLabel.Text = Text | |
591 | TextLabel.TextColor3 = Color | |
592 | TextLabel.TextScaled = true | |
593 | TextLabel.Font = Enum.Font.ArialBold | |
594 | TextLabel.Parent = BillboardGui | |
595 | BillboardGui.Parent = EffectPart | |
596 | game.Debris:AddItem(EffectPart, (Time + 0.1)) | |
597 | EffectPart.Parent = game:GetService("Workspace") | |
598 | Delay(0, function() | |
599 | local Frames = (Time / Rate) | |
600 | for Frame = 1, Frames do | |
601 | wait(Rate) | |
602 | local Percent = (Frame / Frames) | |
603 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
604 | TextLabel.TextTransparency = Percent | |
605 | end | |
606 | if EffectPart and EffectPart.Parent then | |
607 | EffectPart:Destroy() | |
608 | end | |
609 | end) | |
610 | end | |
611 | ||
612 | --example: local con = HitboxB.Touched:connect(function(hit) Damagefunc(Hitbox,hit,Dmg,Dmg,math.random(Knockback,Knockback),"Normal",RootPart,.2,1) end) | |
613 | ||
614 | HandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HandleA",Vector3.new(1, 1, 0.800000072)) | |
615 | HandleAweld=weld(m,Character["Right Arm"],HandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.52587891e-005, 0, -9.05990601e-006, -5.05673892e-010, -9.23196908e-010, 0.999993324, 0.999993324, -1.47900669e-008, 5.04537023e-010, 1.46751713e-008, 0.999992251, 9.21580978e-010)) | |
616 | Barrel1A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel1A",Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
617 | Barrel1Aweld=weld(m,HandleA,Barrel1A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699571609, -1.90000951, -0.2003479, 7.91768434e-006, 0.999986649, 1.00914167e-005, 5.66241306e-006, 1.00914676e-005, -1, -0.999986649, 7.91774346e-006, -5.66240578e-006)) | |
618 | Barrel2A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel2A",Vector3.new(0.400000006, 0.200000003, 0.400000006)) | |
619 | Barrel2Aweld=weld(m,HandleA,Barrel2A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.69956398, -1.90001082, 0.0996513367, 7.91767434e-006, 0.999986649, 1.00916686e-005, 5.66189283e-006, 1.00917196e-005, -1, -0.999986649, 7.91773255e-006, -5.6618851e-006)) | |
620 | Barrel3A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel3A",Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
621 | Barrel3Aweld=weld(m,HandleA,Barrel3A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699560165, -1.90001285, 0.39963913, 7.91766342e-006, 0.999986649, 1.00919206e-005, 5.6613726e-006, 1.00919715e-005, -1, -0.999986649, 7.91772163e-006, -5.66136487e-006)) | |
622 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036)) | |
623 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200450897, -2.29999614, 0.699605942, 0.999986649, 2.01113654e-010, 4.28733493e-010, -4.34172753e-010, -5.51018218e-008, 1, 2.03384726e-010, -0.999986649, -5.48661063e-008)) | |
624 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
625 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.210000008, 0.800000012)) | |
626 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.099697113, 1.70499849, 0.699567795, 0.999986649, 3.20816929e-010, 7.34710071e-011, -7.69249109e-011, -5.26488186e-008, 1, 3.22863347e-010, -0.999986649, -5.24188479e-008)) | |
627 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1)) | |
628 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003)) | |
629 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994491577, 0.699581146, 0.699999809, -0.999993324, -5.04537023e-010, -9.21580978e-010, 5.05673892e-010, -0.999993324, -1.46751713e-008, -9.23204069e-010, -1.47901815e-008, 1)) | |
630 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943)) | |
631 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.599999964)) | |
632 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699541092, -0.600000381, -0.199619293, 1.87184355e-006, -0.999986649, 1.07918208e-006, -3.12210403e-007, -1.078938e-006, -1, 0.999986649, 1.87184094e-006, -3.12219839e-007)) | |
633 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
634 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.400000006, 0.800000072)) | |
635 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100307465, -0.699611664, -0.599999905, 0.999986649, -5.68162184e-012, -1.03317355e-011, 3.40788509e-012, 0.999986649, -5.81779958e-010, 7.07311987e-012, 3.51557006e-010, 1)) | |
636 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012)) | |
637 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399723053, 1.70499837, 0.699588776, 0.999979973, 3.28089528e-010, -3.71732811e-010, 3.66905506e-010, -5.37965974e-008, 1, 3.32864347e-010, -0.999979973, -5.34519344e-008)) | |
638 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1)) | |
639 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.39999986, 0.400000036)) | |
640 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0995674133, 0.899999619, 0.699586868, 0.999986649, 1.66285097e-010, 3.84224985e-010, -3.87478327e-010, -5.54243442e-008, 1, 1.68558861e-010, -0.999986649, -5.51948673e-008)) | |
641 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
642 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036)) | |
643 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399646759, 1.6999985, 0.699571609, 0.999979973, 1.84390309e-010, 3.75398046e-011, -4.23643343e-011, -5.66705758e-008, 1, 1.88255633e-010, -0.999979973, -5.63259412e-008)) | |
644 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
645 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.39999986, 0.400000036)) | |
646 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399570465, 0.899999619, 0.699586868, 0.999986649, 1.90463506e-010, 4.11560452e-010, -4.14813461e-010, -5.52680746e-008, 1, 1.92737243e-010, -0.999986649, -5.50385977e-008)) | |
647 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
648 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.400000006, 0.400000066)) | |
649 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0996818542, -0.699586868, 4.76837158e-007, 0.999986649, 1.94817495e-011, 5.78722625e-011, -2.17554863e-011, 0.999986649, -1.31851685e-009, -6.112999e-011, 1.08828324e-009, 1)) | |
650 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024)) | |
651 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410079956, -0.700000763, -0.000110626221, 0.999986649, 3.13225945e-010, 5.58399271e-010, -5.638357e-010, -5.12430809e-008, 1, 3.15497045e-010, -0.999986649, -5.1007305e-008)) | |
652 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.99999988, 0.400000036)) | |
653 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399532318, -1.19999957, 0.699613571, 0.999986649, 1.96598182e-010, 4.09048739e-010, -4.12301748e-010, -5.60532456e-008, 1, 1.98871919e-010, -0.999986649, -5.58237794e-008)) | |
654 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
655 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008)) | |
656 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000102996826, -0.700000763, -0.405073166, 0.999986649, 2.9397576e-010, 4.77100359e-010, -4.82539675e-010, -5.1360427e-008, 1, 2.9624686e-010, -0.999986649, -5.11246618e-008)) | |
657 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003)) | |
658 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994491577, 0.699581146, -1.69999957, -0.999993324, -5.04537023e-010, -9.21580978e-010, 5.05673892e-010, -0.999993324, -1.46751713e-008, -9.23204069e-010, -1.47901815e-008, 1)) | |
659 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943)) | |
660 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
661 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699573517, -0.900001526, 0.400360107, 2.85113401e-006, -0.999986649, 1.24874362e-006, -2.03818695e-006, -1.24850249e-006, -1, 0.999986649, 2.85112901e-006, -2.03822106e-006)) | |
662 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
663 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036)) | |
664 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200325012, 1.69999766, 0.699609756, 0.999986649, 6.62784883e-010, -1.45084575e-008, 1.45049066e-008, -5.6450606e-008, 1, 6.65740574e-010, -0.999986649, -5.62205251e-008)) | |
665 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
666 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012)) | |
667 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200233459, 1.70499849, 0.69960022, 0.999986649, 3.14450521e-010, 3.71330522e-010, -3.74782427e-010, -5.33727729e-008, 1, 3.1649694e-010, -0.999986649, -5.31428022e-008)) | |
668 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1)) | |
669 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036)) | |
670 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0996131897, 1.69999862, 0.699584961, 0.999986649, 1.77117737e-010, 1.78062898e-010, -1.8151608e-010, -5.61730893e-008, 1, 1.79164156e-010, -0.999986649, -5.59431363e-008)) | |
671 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
672 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008)) | |
673 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28881836e-005, -0.700000763, 0.404912949, 0.999986649, 2.92983943e-010, 4.96789276e-010, -5.02226261e-010, -5.34053335e-008, 1, 2.95255043e-010, -0.999986649, -5.31695932e-008)) | |
674 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008)) | |
675 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000316619873, 0.699999809, 0.404588699, 0.999986649, 1.1153159e-010, 2.77556311e-010, -2.80811041e-010, -4.94035142e-008, 1, 1.13805299e-010, -0.999986649, -4.91739556e-008)) | |
676 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003)) | |
677 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994491577, 0.699581146, 1.49999833, -0.999993324, -5.04537023e-010, -9.21580978e-010, 5.05673892e-010, -0.999993324, -1.46751713e-008, -9.23204069e-010, -1.47901815e-008, 1)) | |
678 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943)) | |
679 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 1.80000019)) | |
680 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400295258, -0.699577332, -0.0999999046, 0.999986649, 2.07385775e-011, 6.28357366e-011, -2.30123143e-011, 0.999986649, -7.07412795e-010, -6.60934085e-011, 4.77189843e-010, 1)) | |
681 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.39999986, 0.400000036)) | |
682 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200366974, 0.900000572, 0.699565887, 0.999986649, 1.9678098e-010, 4.23990953e-010, -4.27243796e-010, -5.48795889e-008, 1, 1.99054717e-010, -0.999986649, -5.46501049e-008)) | |
683 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
684 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003)) | |
685 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994491577, 0.699581146, 1.09999835, -0.999993324, -5.04537023e-010, -9.21580978e-010, 5.05673892e-010, -0.999993324, -1.46751713e-008, -9.23204069e-010, -1.47901815e-008, 1)) | |
686 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 3.8599999)) | |
687 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036)) | |
688 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.39957428, -2.29999614, 0.699617386, 0.999986649, 2.06792028e-010, 4.21613855e-010, -4.27053171e-010, -5.59482594e-008, 1, 2.09063072e-010, -0.999986649, -5.5712551e-008)) | |
689 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
690 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024)) | |
691 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409893036, -0.700000763, -9.53674316e-005, 0.999986649, 3.06400627e-010, 5.35766098e-010, -5.41204637e-010, -5.17249639e-008, 1, 3.08671699e-010, -0.999986649, -5.14891987e-008)) | |
692 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008)) | |
693 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000228881836, 0.69989109, -0.405414581, 0.999986649, 9.22598942e-011, 2.078413e-010, -2.13284224e-010, -5.09687972e-008, 1, 9.45309664e-011, -0.999986649, -5.07330284e-008)) | |
694 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024)) | |
695 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409645081, 0.699999809, -0.000415802002, 0.999986649, 1.09286219e-010, 2.74369194e-010, -2.77624035e-010, -4.96409172e-008, 1, 1.11559956e-010, -0.999986649, -4.94113586e-008)) | |
696 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024)) | |
697 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409934998, 0.70000124, -2.0980835e-005, 0.999986649, 3.69289765e-010, 6.34756692e-010, -6.37979558e-010, -4.70661625e-008, 1, 3.71549347e-010, -0.999986649, -4.68323584e-008)) | |
698 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.59999967, 0.400000036)) | |
699 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0994720459, -1.00000167, 0.699565887, 0.999986649, 1.63843272e-010, 3.70188213e-010, -3.73441722e-010, -5.61400029e-008, 1, 1.66117037e-010, -0.999986649, -5.59105366e-008)) | |
700 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
701 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.200000003)) | |
702 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699556351, -2.19999361, 0.400417328, -1.13278213e-006, 0.999986649, -1.23997575e-006, 3.2160392e-007, 1.23972927e-006, 1, 0.999986649, 1.13277952e-006, -3.21612873e-007)) | |
703 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
704 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 0.80000025)) | |
705 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400325775, -0.699573517, -1.40000105, 0.999986649, 3.54179464e-011, 8.36694047e-011, -3.76917386e-011, 0.999986649, 3.27542438e-010, -8.69266326e-011, -5.57753843e-010, 1)) | |
706 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976)) | |
707 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.69952774, -0.600001335, 0.299598694, 1.08607458e-006, -0.999986649, 1.22987899e-006, 2.51857699e-007, 1.22963252e-006, 1, -0.999986649, -1.08607196e-006, 2.51865629e-007)) | |
708 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
709 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003)) | |
710 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994491577, 0.699581146, -1.10000062, -0.999993324, -5.04537023e-010, -9.21580978e-010, 5.05673892e-010, -0.999993324, -1.46751713e-008, -9.23204069e-010, -1.47901815e-008, 1)) | |
711 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943)) | |
712 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.19999969, 0.400000006)) | |
713 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200454712, -1.59999967, 0.699554443, 0.999986649, 1.63983938e-010, 3.76599196e-010, -3.82038789e-010, -5.52081758e-008, 1, 1.6625501e-010, -0.999986649, -5.49724604e-008)) | |
714 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
715 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036)) | |
716 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.09948349, -1.89999557, 0.699590683, 0.999986649, 1.69683823e-010, 3.82608611e-010, -3.88048149e-010, -5.55553079e-008, 1, 1.71975129e-010, -0.999986649, -5.53195072e-008)) | |
717 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
718 | ||
719 | HandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HandleB",Vector3.new(1, 1, 0.800000072)) | |
720 | HandleBweld=weld(m,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.34057617e-005, 0.000112533569, -8.82148743e-006, -5.13637077e-010, -9.34523126e-010, 0.999993324, 0.999993324, -1.55961271e-008, 5.12500209e-010, 1.54810991e-008, 0.999992251, 9.32938282e-010)) | |
721 | Barrel4A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel4A",Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
722 | Barrel4Aweld=weld(m,HandleB,Barrel4A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700273514, -1.89999568, -0.200382233, 7.9176798e-006, 0.999986649, 1.00922007e-005, 5.66249946e-006, 1.00922507e-005, -1, -0.999986649, 7.91774073e-006, -5.66249219e-006)) | |
723 | Barrel5A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel5A",Vector3.new(0.400000006, 0.200000003, 0.400000006)) | |
724 | Barrel5Aweld=weld(m,HandleB,Barrel5A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700338364, -1.89999771, 0.0996551514, 7.91767525e-006, 0.999986649, 1.00922598e-005, 5.662278e-006, 1.00923098e-005, -1, -0.999986649, 7.91773527e-006, -5.66227072e-006)) | |
725 | Barrel6A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel6A",Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
726 | Barrel6Aweld=weld(m,HandleB,Barrel6A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700332642, -1.89999914, 0.399604797, 7.91767798e-006, 0.999986649, 1.00922207e-005, 5.66242488e-006, 1.00922707e-005, -1, -0.999986649, 7.917738e-006, -5.66241761e-006)) | |
727 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036)) | |
728 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.39950943, -2.3000021, -0.700250626, 0.999986649, 2.24909646e-010, 4.70967154e-010, -4.74188411e-010, -5.56574378e-008, 1, 2.27183439e-010, -0.999986649, -5.54278046e-008)) | |
729 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
730 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012)) | |
731 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200298309, 1.70499992, -0.70026207, 0.999986649, 3.25459687e-010, 6.09574891e-010, -6.1279426e-010, -5.37770717e-008, 1, 3.27733451e-010, -0.999986649, -5.35474207e-008)) | |
732 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1)) | |
733 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.210000008, 0.800000012)) | |
734 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0996704102, 1.70499897, -0.700256348, 0.999986649, 3.25459326e-010, 6.09557238e-010, -6.12776663e-010, -5.28618074e-008, 1, 3.27733063e-010, -0.999986649, -5.26321386e-008)) | |
735 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1)) | |
736 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003)) | |
737 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, -1.70000124, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1)) | |
738 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943)) | |
739 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003)) | |
740 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, 0.699999332, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1)) | |
741 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943)) | |
742 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008)) | |
743 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000354766846, 0.699999332, 0.404693604, 0.999986649, 1.1949472e-010, 2.8891356e-010, -2.92137314e-010, -5.02095787e-008, 1, 1.21768429e-010, -0.999986649, -4.9979878e-008)) | |
744 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036)) | |
745 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0994300842, -1.89999723, -0.700302124, 0.999986649, 1.81069548e-010, 4.05318112e-010, -4.08540202e-010, -5.60037847e-008, 1, 1.83343313e-010, -0.999986649, -5.57741586e-008)) | |
746 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
747 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008)) | |
748 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00016784668, -0.700058937, 0.404985428, 0.999986649, 5.06481115e-007, -8.88550039e-006, 8.88538398e-006, -1.53480414e-005, 1, 5.06347078e-007, -0.999986649, -1.53480123e-005)) | |
749 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024)) | |
750 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410140991, -0.700058937, -2.86102295e-005, 0.999986649, 5.06480035e-007, -8.88562045e-006, 8.88550676e-006, -1.53479523e-005, 1, 5.06345941e-007, -0.999986649, -1.53479305e-005)) | |
751 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024)) | |
752 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409835815, -0.700058699, -2.47955322e-005, 0.999986649, 5.06473384e-007, -8.88574777e-006, 8.88563409e-006, -1.53484561e-005, 1, 5.0633929e-007, -0.999986649, -1.53484343e-005)) | |
753 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036)) | |
754 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200374603, 1.69999969, -0.700273514, 0.999986649, 1.95510885e-010, 4.26103208e-010, -4.29325075e-010, -5.68092915e-008, 1, 1.9778465e-010, -0.999986649, -5.65796761e-008)) | |
755 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
756 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.39999986, 0.400000036)) | |
757 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0995597839, 0.899998665, -0.700296402, 0.999986649, 1.82185933e-010, 4.06940814e-010, -4.10131984e-010, -5.61190348e-008, 1, 1.84459698e-010, -0.999986649, -5.58892772e-008)) | |
758 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
759 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 0.80000025)) | |
760 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400348663, 0.700309753, -1.39999938, 0.999986649, 4.33706404e-011, 9.50293177e-011, -4.56443772e-011, 0.999986649, 2.17802665e-010, -9.82245951e-011, -4.48304505e-010, 1)) | |
761 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.599999964)) | |
762 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700330734, -0.600002289, -0.199569702, 1.87184696e-006, -0.999986649, 1.0768357e-006, -3.12246243e-007, -1.0765915e-006, -1, 0.999986649, 1.87184435e-006, -3.12255651e-007)) | |
763 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
764 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.39999986, 0.400000036)) | |
765 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399551392, 0.900000334, -0.700281143, 0.999986649, 2.12532297e-010, 4.46642945e-010, -4.4986459e-010, -5.53439889e-008, 1, 2.14806062e-010, -0.999986649, -5.51143557e-008)) | |
766 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
767 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003)) | |
768 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, 1.49999881, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1)) | |
769 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943)) | |
770 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003)) | |
771 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, -1.10000229, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1)) | |
772 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943)) | |
773 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.19999969, 0.400000006)) | |
774 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200496674, -1.60000134, -0.700332642, 0.999986649, 1.74215392e-010, 3.95577848e-010, -3.98800049e-010, -5.57730289e-008, 1, 1.76489184e-010, -0.999986649, -5.55433957e-008)) | |
775 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
776 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.39999986, 0.400000036)) | |
777 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200405121, 0.900000334, -0.700304031, 0.999986649, 2.04794931e-010, 4.35489422e-010, -4.38711178e-010, -5.59133824e-008, 1, 2.07068696e-010, -0.999986649, -5.56837598e-008)) | |
778 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
779 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976)) | |
780 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700307846, -0.600000143, 0.299545288, 1.0860814e-006, -0.999986649, 1.22885763e-006, 2.51865401e-007, 1.22861104e-006, 1, -0.999986649, -1.08607878e-006, 2.51873274e-007)) | |
781 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
782 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.400000006, 0.400000066)) | |
783 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0996398926, 0.70029068, -2.14576721e-006, 0.999986649, 3.7787995e-011, 9.27144472e-011, -4.00617317e-011, 0.999986649, 1.00676356e-009, -9.59097246e-011, -1.23725208e-009, 1)) | |
784 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036)) | |
785 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200492859, -2.30000019, -0.700273514, 0.999986649, 2.13633666e-010, 4.54880855e-010, -4.58102278e-010, -5.5424934e-008, 1, 2.15907459e-010, -0.999986649, -5.51953008e-008)) | |
786 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
787 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.99999988, 0.400000036)) | |
788 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399505615, -1.20000219, -0.700250626, 0.999986649, 2.20402863e-010, 4.64567773e-010, -4.67789085e-010, -5.56560096e-008, 1, 2.22676655e-010, -0.999986649, -5.54263728e-008)) | |
789 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
790 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012)) | |
791 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399719238, 1.70499969, -0.700256348, 0.999986649, 3.29966443e-010, 6.15962115e-010, -6.19181484e-010, -5.33209956e-008, 1, 3.3224018e-010, -0.999986649, -5.3091334e-008)) | |
792 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1)) | |
793 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003)) | |
794 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, 1.09999871, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1)) | |
795 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 3.8599999)) | |
796 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 1.80000019)) | |
797 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400318146, 0.700298309, -0.100000381, 0.999986649, 2.87218582e-011, 7.42863548e-011, -3.0995595e-011, 0.999986649, 3.27936789e-010, -7.74819098e-011, -5.58436852e-010, 1)) | |
798 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.400000006, 0.800000072)) | |
799 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100364685, 0.700286865, -0.600000858, 0.999986649, 2.75119372e-011, 7.16121606e-011, -2.97856739e-011, 0.999986649, 4.25513846e-010, -7.48077711e-011, -6.56010357e-010, 1)) | |
800 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
801 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700284958, -0.900002718, 0.400382996, 2.85113333e-006, -0.999986649, 1.24790631e-006, -2.03824266e-006, -1.24766507e-006, -1, 0.999986649, 2.85112856e-006, -2.03827699e-006)) | |
802 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
803 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024)) | |
804 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409973145, 0.700000763, 8.39233398e-005, 0.999986649, 3.77252896e-010, 6.4611394e-010, -6.49305831e-010, -4.78722271e-008, 1, 3.79512477e-010, -0.999986649, -4.76382809e-008)) | |
805 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008)) | |
806 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000339508057, 0.699999332, -0.405292511, 0.999986649, 1.17249405e-010, 2.85726331e-010, -2.88950197e-010, -5.04469853e-008, 1, 1.19523141e-010, -0.999986649, -5.0217281e-008)) | |
807 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024)) | |
808 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409610748, 0.699999332, -0.000310897827, 0.999986649, 1.17249349e-010, 2.85726443e-010, -2.88950308e-010, -5.04469853e-008, 1, 1.19523086e-010, -0.999986649, -5.0217281e-008)) | |
809 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008)) | |
810 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000164031982, -0.700058937, -0.405000687, 0.999986649, 5.06467813e-007, -8.88587419e-006, 8.88576051e-006, -1.53488418e-005, 1, 5.0633372e-007, -0.999986649, -1.53488199e-005)) | |
811 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.59999967, 0.400000036)) | |
812 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0994300842, -1.00000286, -0.700296402, 0.999986649, 1.7766863e-010, 4.00603883e-010, -4.03795108e-010, -5.63463871e-008, 1, 1.79942367e-010, -0.999986649, -5.61166367e-008)) | |
813 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
814 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.200000003)) | |
815 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.70032692, -2.19999671, 0.400455475, -1.13279009e-006, 0.999986649, -1.23916982e-006, 3.2159258e-007, 1.23892323e-006, 1, 0.999986649, 1.13278747e-006, -3.21601505e-007)) | |
816 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
817 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036)) | |
818 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0995979309, 1.69999874, -0.700267792, 0.999986649, 1.93360383e-010, 4.22906765e-010, -4.26128688e-010, -5.61221967e-008, 1, 1.9563412e-010, -0.999986649, -5.58925741e-008)) | |
819 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
820 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036)) | |
821 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399623871, 1.69999945, -0.70026207, 0.999986649, 1.97764305e-010, 4.29296765e-010, -4.32518632e-010, -5.65812428e-008, 1, 2.00038042e-010, -0.999986649, -5.63516203e-008)) | |
822 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
823 | ||
824 | BackHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BackHandle",Vector3.new(0.800000012, 0.600000024, 1.20000005)) | |
825 | BackHandleweld=weld(m,Character["Torso"],BackHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000143051147, 0.799930573, 0.20047307, 0.999993324, -1.62740506e-008, 2.05381559e-010, 2.06515763e-010, 6.19668095e-010, -0.999993324, 1.61529243e-008, 0.999992371, 6.15865525e-010)) | |
826 | JointConnectorA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","JointConnectorA",Vector3.new(0.600000024, 0.400000066, 0.800000012)) | |
827 | JointConnectorAweld=weld(m,BackHandle,JointConnectorA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.86645508e-005, -0.797990799, -0.199465752, -1.34834088e-011, -0.999986649, -8.9196428e-012, 0.999986649, -1.12150289e-011, -9.5399777e-010, 7.12287118e-010, -1.33471012e-012, 0.999969482)) | |
828 | mesh("CylinderMesh",JointConnectorA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
829 | JointConnectorB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","JointConnectorB",Vector3.new(0.600000024, 0.400000066, 0.800000012)) | |
830 | JointConnectorBweld=weld(m,BackHandle,JointConnectorB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.95910645e-005, 0.80194664, -0.199468851, -1.46291035e-011, -0.999986649, -5.74146286e-012, 0.999986649, -1.23607374e-011, -5.9252514e-010, 3.50306451e-010, 1.86239912e-012, 0.999984741)) | |
831 | mesh("CylinderMesh",JointConnectorB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
832 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.600000024, 0.200000003)) | |
833 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.47955322e-005, -8.01086426e-005, 0.699928761, 0.999986649, 1.23872718e-011, -5.78133594e-008, 1.01188918e-011, -0.999986649, 1.65803482e-011, -5.75726382e-008, -2.4165725e-011, -0.999969482)) | |
834 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
835 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.200000003, 0.600000024)) | |
836 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.05718994e-005, 0.199935913, 0.899125814, 0.999986649, 6.78561374e-012, -5.93669185e-008, 4.51723381e-012, -0.999986649, 2.27040609e-014, -5.91262115e-008, -7.60785879e-012, -0.999969482)) | |
837 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
838 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012)) | |
839 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, 0.500015259, -0.199979782, -3.37949113e-012, -0.999979973, 5.4230509e-012, 0.999979973, 1.14908083e-014, -1.20904176e-010, -2.39820608e-010, 1.46018753e-011, 0.999969482)) | |
840 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
841 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.01999998, 0.600000024, 0.210000008)) | |
842 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-006, 0.300014019, 0.394981384, 0.999986649, 1.15046861e-014, -1.90425431e-012, -2.39820608e-010, 1.46018753e-011, 0.999969482, -2.25686136e-012, -0.999986649, 7.01660952e-012)) | |
843 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 0.410000086)) | |
844 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.90501976, 0.100106955, 0.904968262, 0.999982357, 1.14569465e-012, -1.22765798e-010, -1.18957288e-010, 1.83945081e-011, 0.999965191, -1.12268528e-012, -0.999986649, 1.08093534e-011)) | |
845 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.210000008, 0.200000003, 0.810000062)) | |
846 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.905035019, 0.500083685, 1.30494308, 0.999986649, 2.27988461e-012, -2.43625564e-010, 1.90603111e-012, 2.21874186e-011, 0.999969482, 1.15185639e-014, -0.999986649, 1.46020418e-011)) | |
847 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
848 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000018, 0.410000086)) | |
849 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.904981613, 0.100171328, 0.904911041, 0.999986589, 3.41407458e-012, -3.64481778e-010, 1.22762245e-010, 2.5980329e-011, 0.999969423, 1.14569465e-012, -0.999986649, 1.83948967e-011)) | |
850 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.210000008, 0.600000024, 0.200000003)) | |
851 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.904953003, 0.300099134, 1.20991135, 0.999986649, 3.41407458e-012, -3.64483554e-010, 1.22764021e-010, 2.5980329e-011, 0.999969482, 1.14569465e-012, -0.999986649, 1.83948967e-011)) | |
852 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 0.810000062)) | |
853 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.904973984, 0.300121784, 1.30490875, 0.999986649, 3.41407458e-012, -3.64483554e-010, 1.22764021e-010, 2.5980329e-011, 0.999969482, 1.14569465e-012, -0.999986649, 1.83948967e-011)) | |
854 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
855 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.210000008, 0.200000003, 0.810000062)) | |
856 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.904973984, 0.100127697, 1.30490875, 0.999986649, 3.41407458e-012, -3.64483554e-010, 1.22764021e-010, 2.5980329e-011, 0.999969482, 1.14569465e-012, -0.999986649, 1.83948967e-011)) | |
857 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
858 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 0.810000062)) | |
859 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.904958725, 0.300130844, 1.30488205, 0.999986649, 4.54826454e-012, -4.85337992e-010, 2.43620235e-010, 2.97732949e-011, 0.999969482, 2.27989849e-012, -0.999986649, 2.21878071e-011)) | |
860 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
861 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.210000008, 0.600000024, 0.200000003)) | |
862 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.904930115, 0.300135851, 1.2098465, 0.999986649, 5.68245451e-012, -6.06190653e-010, 3.64476449e-010, 3.35663164e-011, 0.999969482, 3.41407458e-012, -0.999986649, 2.59807731e-011)) | |
863 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.210000008, 0.200000018, 0.410000086)) | |
864 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.904924393, 0.300127745, 0.904846191, 0.999986649, 5.68245451e-012, -6.06190653e-010, 3.64476449e-010, 3.35663164e-011, 0.999969482, 3.41407458e-012, -0.999986649, 2.59807731e-011)) | |
865 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.210000008, 0.600000024, 0.200000003)) | |
866 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.904916763, 0.300007582, 0.599971771, 0.999979496, 1.14568077e-012, -1.22764021e-010, -1.18957288e-010, 1.83944526e-011, 0.99996233, -1.12268528e-012, -0.999986649, 1.08093534e-011)) | |
867 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.210000008, 0.200000003, 0.810000062)) | |
868 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.904888153, 0.50006032, 1.3048172, 0.999986649, 6.81664447e-012, -7.27041538e-010, 4.8532911e-010, 3.73593934e-011, 0.999969482, 4.54827842e-012, -0.999986649, 2.97737945e-011)) | |
869 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
870 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000018, 0.410000086)) | |
871 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.904928207, 0.500139236, 0.904846191, 0.999986649, 5.68245451e-012, -6.06190653e-010, 3.64476449e-010, 3.35663164e-011, 0.999969482, 3.41407458e-012, -0.999986649, 2.59807731e-011)) | |
872 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 0.410000086)) | |
873 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.904945374, 0.50014782, 0.904872894, 0.999986649, 4.54826454e-012, -4.85339768e-010, 2.43622011e-010, 2.97732949e-011, 0.999969482, 2.27989849e-012, -0.999986649, 2.21878071e-011)) | |
874 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.210000008, 0.200000003, 0.410000086)) | |
875 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.904937744, 0.300155163, 0.904872894, 0.999986649, 4.54826454e-012, -4.85339768e-010, 2.43622011e-010, 2.97732949e-011, 0.999969482, 2.27989849e-012, -0.999986649, 2.21878071e-011)) | |
876 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012)) | |
877 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28881836e-005, -0.299953461, 0.199994802, -1.12268528e-012, -0.999986649, 1.08093534e-011, 0.999978065, 1.14568077e-012, -1.22764021e-010, -1.18957288e-010, 1.83944526e-011, 0.999960899)) | |
878 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
879 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.210000008, 0.600000024, 0.200000003)) | |
880 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.905002594, 0.299999952, 0.599971771, 0.999982357, 1.14569465e-012, -1.22765798e-010, -1.18957288e-010, 1.83945081e-011, 0.999965191, -1.12268528e-012, -0.999986649, 1.08093534e-011)) | |
881 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.210000008, 0.200000003, 0.810000062)) | |
882 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.904874802, 0.100106001, 1.30477905, 0.999986649, 7.95083444e-012, -8.47890647e-010, 6.06181771e-010, 4.11525813e-011, 0.999969482, 5.68245451e-012, -0.999986649, 3.35668715e-011)) | |
883 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
884 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.600000024, 0.200000003)) | |
885 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-006, -3.81469727e-005, 0.700012445, -0.999986649, -2.26865748e-012, -2.95600895e-008, 2.77555756e-016, -0.999986649, 9.21701604e-012, -2.98023206e-008, 1.68021708e-011, 0.999969482)) | |
886 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
887 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.600000024)) | |
888 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.701107025, -1.20487595, 0.300156593, 0.999986649, 4.54826454e-012, -4.85339768e-010, -2.27989849e-012, 0.999986649, -2.21878071e-011, 2.43622011e-010, 2.97732949e-011, 0.999969482)) | |
889 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012)) | |
890 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-005, -0.499929428, -0.199991226, -2.24531505e-012, -0.999979973, 9.21596133e-012, 0.999979973, 1.14568077e-012, -2.41730191e-010, -1.18957288e-010, 1.83946192e-011, 0.999969482)) | |
891 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
892 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.600000024)) | |
893 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699016571, -1.20474625, 0.29998374, 0.999986649, 9.0850244e-012, -9.68737979e-010, -6.81665835e-012, 0.999986649, -3.73600595e-011, 7.27029104e-010, 4.49458248e-011, 0.999969482)) | |
894 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.210000008, 0.200000003)) | |
895 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.499229431, -1.20484924, 0.299696445, 0.999986589, 5.68245451e-012, -6.0619243e-010, -3.41407458e-012, 0.999986649, -1.83948967e-011, 3.64476449e-010, 2.5980329e-011, 0.999969423)) | |
896 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.210000008, 0.200000003)) | |
897 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000780105591, -1.20481873, 0.299640179, 0.999986649, 6.81664447e-012, -7.27043314e-010, -4.54827842e-012, 0.999986649, -1.46020418e-011, 4.85330887e-010, 2.21874186e-011, 0.999969482)) | |
898 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.210000008, 0.200000003)) | |
899 | Partweld=weld(m,BackHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.500785828, -1.20478821, 0.299716949, 0.999986589, 7.95083444e-012, -8.47890647e-010, -5.68245451e-012, 0.999986649, -1.08092979e-011, 6.06181771e-010, 1.83945637e-011, 0.999969423)) | |
900 | ||
901 | JointHandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","JointHandleA",Vector3.new(0.600000024, 0.400000066, 0.800000012)) | |
902 | JointHandleAweld=weld(m,JointConnectorA,JointHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.95910645e-005, -5.91278076e-005, -9.53674316e-007, 0.999986649, 1.01844921e-011, 6.03297412e-011, -1.24528582e-011, 0.999986649, 2.30521913e-009, -6.79519219e-011, -2.54792187e-009, 1)) | |
903 | mesh("CylinderMesh",JointHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
904 | GunConnectorA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mid gray","GunConnectorA",Vector3.new(0.600000024, 0.200000003, 0.800000012)) | |
905 | GunConnectorAweld=weld(m,JointHandleA,GunConnectorA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.53674316e-005, -1.10033035, -0.600126028, 0.999986649, -5.74137266e-011, -4.820222e-011, 5.51453327e-011, 0.999986649, -2.96968938e-009, 4.05803169e-011, 2.72697953e-009, 1)) | |
906 | mesh("CylinderMesh",GunConnectorA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
907 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012)) | |
908 | Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000270843506, 0.701763153, 0.601624489, 0.999986649, 2.62356498e-010, 1.72325603e-008, 2.64626931e-010, -0.999986649, -1.20365556e-007, 1.72399481e-008, 1.20606614e-007, -1)) | |
909 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
910 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012)) | |
911 | Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000247955322, 0.501737595, 0.601624966, 0.999986649, 2.5675484e-010, 1.72236128e-008, 2.5902322e-010, -0.999986649, -3.20770077e-010, 1.72309988e-008, 5.63439961e-010, -1)) | |
912 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
913 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012)) | |
914 | Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000305175781, -0.901706696, -0.601625204, 0.999986649, -3.76128156e-011, 1.66311658e-008, 3.53444635e-011, 0.999986649, -4.45636417e-010, -1.66385625e-008, 2.02958539e-010, 1)) | |
915 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
916 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.600000024, 1.19999993)) | |
917 | Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301893234, 1.90734863e-005, -0.200528145, -3.0438152e-011, 0.999986649, 1.30145672e-010, -0.999986649, -2.81697998e-011, -3.97587518e-012, -1.15972232e-011, -3.72825326e-010, 1)) | |
918 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003)) | |
919 | Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301876068, 1.52587891e-005, 0.49947238, -3.15723281e-011, 0.999986649, 2.5146818e-010, -0.999986649, -2.9303962e-011, -2.42461606e-012, -1.00464637e-011, -4.9414961e-010, 1)) | |
920 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003)) | |
921 | Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301876068, 1.52587891e-005, -0.900527954, -3.15723281e-011, 0.999986649, 2.5146818e-010, -0.999986649, -2.9303962e-011, -2.42461606e-012, -1.00464637e-011, -4.9414961e-010, 1)) | |
922 | ||
923 | JointHandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","JointHandleB",Vector3.new(0.600000024, 0.400000066, 0.800000012)) | |
924 | JointHandleBweld=weld(m,JointConnectorB,JointHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-005, -2.86102295e-005, -9.53674316e-007, 0.999986649, 7.93920485e-012, 4.95208874e-011, -1.02075709e-011, 0.999986649, 2.06251638e-009, -5.71430681e-011, -2.3052209e-009, 1)) | |
925 | mesh("CylinderMesh",JointHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
926 | GunConnectorB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mid gray","GunConnectorB",Vector3.new(0.600000024, 0.200000003, 0.800000012)) | |
927 | GunConnectorBweld=weld(m,JointHandleB,GunConnectorB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.2479248e-005, 1.09965706, -0.600126028, 0.999986649, -6.42187553e-011, -7.10619341e-011, 6.19503615e-011, 0.999986649, -3.69769282e-009, 6.34394759e-011, 3.4549652e-009, 1)) | |
928 | mesh("CylinderMesh",GunConnectorB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
929 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012)) | |
930 | Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.90734863e-005, 0.699949265, -0.600000381, 0.999986649, -5.30060024e-011, -6.93863855e-011, 5.07376224e-011, 0.999986649, -3.23638005e-009, 6.17638718e-011, 2.99365954e-009, 1)) | |
931 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
932 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000063, 0.800000012)) | |
933 | Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 0.899938583, -0.600000381, 0.999986649, -5.2982993e-011, -6.49554854e-011, 5.07146408e-011, 0.999986649, -3.23178284e-009, 5.73329162e-011, 2.98905789e-009, 1)) | |
934 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
935 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012)) | |
936 | Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.7220459e-005, 0.49993515, -0.600000381, 0.999986649, -3.48823748e-011, -1.28634325e-011, 3.26140087e-011, 0.999986649, -1.29975941e-009, 5.24147392e-012, 1.05705666e-009, 1)) | |
937 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
938 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.600000024, 1.19999993)) | |
939 | Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298002243, 2.28881836e-005, -0.200527906, -2.9303962e-011, 0.999986649, 8.83737528e-012, -0.999986649, -2.7035596e-011, -1.70308212e-013, -7.79232234e-012, -2.51525911e-010, 1)) | |
940 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003)) | |
941 | Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298007965, 2.28881836e-005, 0.499472857, -3.15723281e-011, 0.999986649, 8.81961171e-012, -0.999986649, -2.9303962e-011, 5.19134735e-012, -2.4307778e-012, -2.51514365e-010, 1)) | |
942 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003)) | |
943 | Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298036575, 1.90734863e-005, -0.900527716, -2.47674659e-011, 0.999986649, 2.51393573e-010, -0.999986649, -2.24990998e-011, -2.43050025e-012, -1.00525144e-011, -4.94083885e-010, 1)) | |
944 | ||
945 | GunHandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","GunHandleA",Vector3.new(0.600000024, 0.200000003, 0.800000012)) | |
946 | GunHandleAweld=weld(m,GunConnectorA,GunHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000495910645, -0.00170707703, -0.00163197517, 0.999986649, 4.22736013e-011, 1.67127983e-008, -4.45420784e-011, 0.999986649, 6.05984596e-009, -1.67201968e-008, -6.30252028e-009, 1)) | |
947 | mesh("CylinderMesh",GunHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
948 | Barrel1B=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel1B",Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
949 | Barrel1Bweld=weld(m,GunHandleA,Barrel1B,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299650192, -6.30939817, -0.0999298096, 7.04892182e-006, 0.999986649, 8.64386311e-006, -5.5855362e-006, -8.64395406e-006, 1, 0.999986649, -7.04897229e-006, 5.58554302e-006)) | |
950 | Barrel2B=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel2B",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
951 | Barrel2Bweld=weld(m,GunHandleA,Barrel2B,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299751282, -6.30939913, 0.110038757, 7.04892091e-006, 0.999986649, 8.64386493e-006, -5.58553575e-006, -8.64395315e-006, 1, 0.999986649, -7.04897093e-006, 5.58554211e-006)) | |
952 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 4, 0.400000036)) | |
953 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999755859, -3.99940777, 0.299608231, 0.999986649, 1.87717064e-011, 6.78319623e-011, -7.50084439e-011, -3.61608059e-008, 1, 2.10400725e-011, -0.999986649, -3.59122794e-008)) | |
954 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
955 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.800000072, 0.200000003, 0.800000012)) | |
956 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299999237, -1.09940839, 0.299634933, 0.999986649, 2.82321666e-011, 7.93853872e-011, -8.65618688e-011, -3.57268064e-008, 1, 3.05005743e-011, -0.999986649, -3.5439804e-008)) | |
957 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
958 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.410000026, 0.200000003, 0.420000017)) | |
959 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.103290558, -5.0994072, 0.299604416, 0.999986649, 2.4718419e-010, 1.99356975e-009, -2.00068051e-009, -5.15729184e-008, 1, 2.49452597e-010, -0.999986649, -5.13267508e-008)) | |
960 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
961 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.800000072, 0.200000003, 0.800000012)) | |
962 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299999237, -1.69940782, 0.299634933, 0.999986649, 2.82321805e-011, 7.93853872e-011, -8.65618688e-011, -3.57193741e-008, 1, 3.05005604e-011, -0.999986649, -3.54472363e-008)) | |
963 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
964 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976)) | |
965 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.29961586, -0.200057983, 3.79895067, 2.13912638e-011, -0.999986649, -6.56187495e-008, -0.999986649, -1.91228977e-011, -5.76907411e-011, 6.48689991e-011, 6.58733015e-008, -1)) | |
966 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
967 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 2.60000014, 0.400000006)) | |
968 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.10005188, -2.29933381, 0.299648285, 0.999986649, 2.75553191e-011, 7.10276282e-011, -7.82041099e-011, -3.55043284e-008, 1, 2.98236852e-011, -0.999986649, -3.52535992e-008)) | |
969 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.410000026, 0.400000006, 0.420000017)) | |
970 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.105106354, -5.79940701, 0.299518585, 0.999986649, 3.70316972e-011, 1.00063957e-010, -1.07240439e-010, -3.55386618e-008, 1, 3.93000354e-011, -0.999986649, -3.52837048e-008)) | |
971 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
972 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.599999964)) | |
973 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.2996521, -0.299938202, 2.49895358, 5.95576388e-008, 0.999986649, -3.29861848e-007, 0.999986649, -5.95598699e-008, 1.04771942e-007, 1.04777698e-007, -3.29583315e-007, -1)) | |
974 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
975 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.200000033)) | |
976 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.10004425, -6.09940624, 0.299728394, 0.999986649, 4.31236297e-011, 1.27535316e-010, -1.34711797e-010, -3.54994683e-008, 1, 4.53919818e-011, -0.999986649, -3.52445113e-008)) | |
977 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
978 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 4, 0.200000033)) | |
979 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100036621, -3.99940777, 0.299730301, 0.999986649, 4.15442264e-011, 1.24748212e-010, -1.31924693e-010, -3.54412393e-008, 1, 4.38125786e-011, -0.999986649, -3.51862823e-008)) | |
980 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
981 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.600000024, 0.599999964)) | |
982 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299654007, -6.10351563e-005, 1.30104566, -1.30056219e-006, 0.999986649, -1.09659254e-006, -0.999986351, -1.30056003e-006, -2.5342942e-007, -2.53433171e-007, 1.09625705e-006, 0.999999702)) | |
983 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
984 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.599999964)) | |
985 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299655914, -0.399936676, 1.30104542, 1.31132742e-006, -0.999986529, 1.10181782e-006, 0.999986172, 1.35602795e-006, 2.03000127e-007, -2.03004603e-007, 1.10145118e-006, 0.999999702)) | |
986 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
987 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000072, 0.400000095, 0.800000012)) | |
988 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299999237, -1.39940763, 0.299631119, 0.999986649, 2.93663704e-011, 8.29771807e-011, -9.01501096e-011, -3.58695225e-008, 1, 3.16347365e-011, -0.999986649, -3.55525174e-008)) | |
989 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
990 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976)) | |
991 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299638748, 4.57763672e-005, 3.79895139, 5.95718248e-008, 0.999977767, -3.29568849e-007, 0.999977767, -5.9575239e-008, 1.0476812e-007, 1.04775012e-007, -3.29288326e-007, -1)) | |
992 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
993 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.400000095)) | |
994 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299846649, -0.299566269, -1.99945617, 0.999986649, 1.37982542e-011, 5.55164803e-011, -1.60665647e-011, 0.999986649, 5.41747536e-009, -6.26894092e-011, -5.6728342e-009, 1)) | |
995 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.200000003, 0.800000012)) | |
996 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.09998703, -6.09940815, 0.299606323, 0.999986649, 2.55307581e-011, 8.1385565e-011, -8.85584939e-011, -3.59121159e-008, 1, 2.77990686e-011, -0.999986649, -3.56571626e-008)) | |
997 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
998 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.410000026, 0.200000003, 0.420000017)) | |
999 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.105091095, -4.0994091, 0.299537659, 0.999977767, 3.94622668e-011, 1.05954356e-010, -1.15194965e-010, -3.5688295e-008, 1, 4.29140057e-011, -0.999977767, -3.54158836e-008)) | |
1000 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1001 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.400000006, 2)) | |
1002 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999565125, -0.299642563, 0.000543832779, 0.999986649, 2.77870227e-011, 7.3027806e-011, -3.00553471e-011, 0.999986649, 5.58665203e-009, -8.02007349e-011, -5.83997073e-009, 1)) | |
1003 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006)) | |
1004 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299556732, -2.59933615, -0.69916153, 1.6257079e-010, -0.999993324, -1.67127823e-009, 4.52045246e-009, -1.79694659e-009, 1, -0.999993324, -1.61436628e-010, 4.52407178e-009)) | |
1005 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9944765",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 0.440000027, 1)) | |
1006 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.420000017, 0.399999857, 0.240000039)) | |
1007 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0899353027, -5.79940748, 0.299671173, 0.999986649, 4.13125367e-011, 1.22746258e-010, -1.29922739e-010, -3.55472736e-008, 1, 4.35809028e-011, -0.999986649, -3.5296388e-008)) | |
1008 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1009 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.420000017, 0.200000003, 0.240000039)) | |
1010 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0899467468, -4.09941006, 0.299654007, 0.999986649, 3.59194202e-011, 1.14781074e-010, -1.21957555e-010, -3.60487249e-008, 1, 3.81877863e-011, -0.999986649, -3.579785e-008)) | |
1011 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1012 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.420000017, 0.200000003, 0.240000039)) | |
1013 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0910987854, -5.0994072, 0.299730301, 0.999986649, 2.46745208e-010, 2.0127402e-009, -2.01985095e-009, -5.18812868e-008, 1, 2.49013615e-010, -0.999986649, -5.1637155e-008)) | |
1014 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1015 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 2.60000014, 0.400000006)) | |
1016 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.499950409, -1.29932857, 0.299531937, 0.999986649, 1.50425006e-010, 1.78168413e-009, -1.78883752e-009, -5.6819303e-008, 1, 1.52693469e-010, -0.999986649, -5.65730751e-008)) | |
1017 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
1018 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299625397, -0.400112152, 2.69894886, 1.28948019e-010, -0.999986649, -4.97068584e-007, -0.999986649, -1.26930494e-010, 5.04395871e-007, -5.04382001e-007, 4.97311134e-007, -1)) | |
1019 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1020 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000036, 0.599999964)) | |
1021 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.299612045, -0.50005722, 0.301045656, -1.25586371e-006, 0.999986649, -1.09769735e-006, -0.999986649, -1.25586166e-006, -2.53439595e-007, -2.53444767e-007, 1.09743087e-006, 1)) | |
1022 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1023 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 2.5999999, 0.400000036)) | |
1024 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699977875, -1.29938722, 0.299581528, 0.999986649, 3.30914324e-011, 9.33244593e-011, -1.00529363e-010, -3.58384717e-008, 1, 3.53800877e-011, -0.999986649, -3.55875578e-008)) | |
1025 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1026 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000036, 0.399999857, 0.400000036)) | |
1027 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699893951, -2.59933877, 0.2995224, 0.999986649, 3.47104429e-011, 1.21461952e-010, -1.28638433e-010, -3.68895847e-008, 1, 3.69788089e-011, -0.999986649, -3.66408948e-008)) | |
1028 | mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1029 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012)) | |
1030 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999526978, -6.10440731, 0.299612045, 0.999986649, 4.19847213e-011, 1.15514709e-010, -1.22691191e-010, -3.73906026e-008, 1, 4.42530734e-011, -0.999986649, -3.71397419e-008)) | |
1031 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1032 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.210000008, 0.200000033)) | |
1033 | Partweld=weld(m,GunHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100048065, -6.10440731, 0.29970932, 0.999986649, 3.88416105e-011, 1.19168675e-010, -1.26345157e-010, -3.58849448e-008, 1, 4.11099904e-011, -0.999986649, -3.56340664e-008)) | |
1034 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.620000005)) | |
1035 | ||
1036 | GunHandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","GunHandleB",Vector3.new(0.600000024, 0.200000003, 0.800000012)) | |
1037 | GunHandleBweld=weld(m,GunConnectorB,GunHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.19616699e-005, -7.62939453e-006, -1.66893005e-006, 0.999986649, 1.24759092e-011, 7.23904825e-011, -1.47443169e-011, 0.999986649, 2.54799559e-009, -8.00138289e-011, -2.79077916e-009, 1)) | |
1038 | mesh("CylinderMesh",GunHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1039 | Barrel3B=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel3B",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1040 | Barrel3Bweld=weld(m,GunHandleB,Barrel3B,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298568726, -6.3110342, 0.109573364, 7.04887543e-006, 0.999986649, 8.64993217e-006, -5.60172384e-006, -8.65001311e-006, 1, 0.999986649, -7.04892591e-006, 5.60173248e-006)) | |
1041 | Barrel4B=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel4B",Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
1042 | Barrel4Bweld=weld(m,GunHandleB,Barrel4B,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298635483, -6.31103134, -0.10042572, 7.04887498e-006, 0.999986649, 8.64966933e-006, -5.60180706e-006, -8.64975755e-006, 1, 0.999986649, -7.04892545e-006, 5.60181343e-006)) | |
1043 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006)) | |
1044 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300489426, -2.59933567, -0.699710846, 2.66085681e-010, -0.999993324, -1.69247603e-008, -3.04048804e-008, -1.70460215e-008, 1, -0.999993324, -2.64950978e-010, -3.04012708e-008)) | |
1045 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9944765",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 0.440000027, 1)) | |
1046 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012)) | |
1047 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100124359, -6.10440683, -0.300443649, 0.999986649, 1.39920048e-010, 3.49109297e-010, -3.54513918e-010, -5.19872998e-008, 1, 1.42181072e-010, -0.999986649, -5.17518686e-008)) | |
1048 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1049 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000072, 0.400000095, 0.800000012)) | |
1050 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300243378, -1.39940548, -0.300363541, 0.999986649, 1.51865548e-010, 3.62255059e-010, -3.67659569e-010, -4.92494365e-008, 1, 1.54126545e-010, -0.999986649, -4.90139769e-008)) | |
1051 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1052 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 2.5999999, 0.400000036)) | |
1053 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699794769, -1.299366, -0.300420761, 0.999986649, 1.22327856e-010, 3.10851983e-010, -3.16283805e-010, -4.91525753e-008, 1, 1.24598942e-010, -0.999986649, -4.89167107e-008)) | |
1054 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1055 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.200000033)) | |
1056 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0998840332, -6.09941149, -0.300338745, 0.999986649, 1.75362419e-010, -3.21161819e-010, 3.15980297e-010, -5.09166682e-008, 1, 1.77860865e-010, -0.999986649, -5.06810736e-008)) | |
1057 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1058 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976)) | |
1059 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300373077, -0.000152587891, 3.79894924, 5.94459806e-008, 0.999993324, -3.15209547e-007, 0.999993324, -5.94470819e-008, 1.05053815e-007, 1.05056905e-007, -3.15086055e-007, -1)) | |
1060 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1061 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 4, 0.200000033)) | |
1062 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0998573303, -3.99940681, -0.300294876, 0.999986649, 1.62245842e-010, 4.01816996e-010, -4.09433931e-010, -5.10763698e-008, 1, 1.64514263e-010, -0.999986649, -5.08343021e-008)) | |
1063 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1064 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.400000036, 0.399999857, 0.400000036)) | |
1065 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699703217, -2.5993371, -0.300477982, 0.999986649, 1.59587107e-010, 3.70679432e-010, -3.7608372e-010, -5.124447e-008, 1, 1.61855473e-010, -0.999986649, -5.10089535e-008)) | |
1066 | mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1067 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.600000024, 0.599999964)) | |
1068 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300346375, 7.62939453e-005, 1.30104756, -1.25599331e-006, 0.999986649, -1.08324866e-006, -0.999986649, -1.25599138e-006, -2.53723101e-007, -2.53726483e-007, 1.08299741e-006, 1)) | |
1069 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1070 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.420000017, 0.200000003, 0.240000039)) | |
1071 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0897331238, -4.09940767, -0.300321579, 0.999986649, 1.75541956e-010, 4.23136887e-010, -4.28540536e-010, -4.99766983e-008, 1, 1.77802967e-010, -0.999986649, -4.97412458e-008)) | |
1072 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1073 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003)) | |
1074 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300380707, -0.399925232, 2.69894695, 2.54958943e-010, -0.999986649, -5.11322526e-007, -0.999986649, -2.52948495e-010, 5.04145078e-007, -5.0413297e-007, 5.11551889e-007, -1)) | |
1075 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1076 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.420000017, 0.200000003, 0.240000039)) | |
1077 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0896949768, -5.09941053, -0.300304413, 0.999986649, 2.16437007e-010, 5.04708164e-010, -5.10111731e-010, -4.76247095e-008, 1, 2.18473767e-010, -0.999986649, -4.74842494e-008)) | |
1078 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1079 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 2.60000014, 0.400000006)) | |
1080 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.499893188, -1.29933453, -0.30043602, 0.999986649, 1.24942667e-010, 3.0064895e-010, -3.06080966e-010, -4.97747621e-008, 1, 1.2721374e-010, -0.999986649, -4.95389116e-008)) | |
1081 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.410000026, 0.200000003, 0.420000017)) | |
1082 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.105361938, -5.09940863, -0.300439835, 0.999986649, 2.19144619e-010, 4.92763108e-010, -4.98166786e-010, -4.75694506e-008, 1, 2.21181351e-010, -0.999986649, -4.74289905e-008)) | |
1083 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1084 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000036, 0.599999964)) | |
1085 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300424576, -0.499774933, 0.301050901, -1.16660328e-006, 0.999986649, -1.08499785e-006, -0.999986649, -1.16660124e-006, -2.5373717e-007, -2.53740467e-007, 1.08474649e-006, 1)) | |
1086 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1087 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.800000072, 0.200000003, 0.800000012)) | |
1088 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.30022049, -1.09940672, -0.300344467, 0.999986649, 1.32488548e-010, 3.23731736e-010, -3.29136274e-010, -4.74834252e-008, 1, 1.34745423e-010, -0.999986649, -4.72433328e-008)) | |
1089 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1090 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.410000026, 0.200000003, 0.420000017)) | |
1091 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.105297089, -4.09940767, -0.30047226, 0.999993324, 1.69849676e-010, 3.96380623e-010, -4.0018916e-010, -4.98077881e-008, 1, 1.70983894e-010, -0.999993324, -4.96867543e-008)) | |
1092 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1093 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.400000006, 2)) | |
1094 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100025177, 0.300323486, 0.000544548035, 0.999986649, 1.76003934e-011, 4.28246882e-011, -1.9868801e-011, 0.999986649, 1.89625915e-009, -5.04464248e-011, -2.13898055e-009, 1)) | |
1095 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.420000017, 0.399999857, 0.240000039)) | |
1096 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0897445679, -5.79940653, -0.300327301, 0.999986649, 1.55701896e-010, 3.90041111e-010, -3.97658184e-010, -5.18663867e-008, 1, 1.5797029e-010, -0.999986649, -5.16243261e-008)) | |
1097 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1098 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976)) | |
1099 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300367355, -0.199840546, 3.79894853, 1.59872254e-010, -0.999986649, -7.96914179e-008, -0.999986649, -1.57611257e-010, -3.62458841e-010, 3.67863295e-010, 7.99264726e-008, -1)) | |
1100 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1101 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 2.60000014, 0.400000006)) | |
1102 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0998916626, -2.29933071, -0.300395966, 0.999986649, 1.41108e-010, 3.18053445e-010, -3.23485155e-010, -5.00977677e-008, 1, 1.43379086e-010, -0.999986649, -4.98619173e-008)) | |
1103 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.400000095)) | |
1104 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300045013, 0.300441742, -1.99945283, 0.999986649, 1.41472348e-010, 3.41166845e-010, -1.43733345e-010, 0.999986649, 1.990154e-008, -3.46571577e-010, -2.0137394e-008, 1)) | |
1105 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.200000003, 0.800000012)) | |
1106 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100158691, -6.09941149, -0.300437927, 0.999986649, 1.56263169e-010, -7.46887552e-011, 6.95088431e-011, -5.0951229e-008, 1, 1.58761615e-010, -0.999986649, -5.07156344e-008)) | |
1107 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1108 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.410000026, 0.400000006, 0.420000017)) | |
1109 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.105251312, -5.79940557, -0.300508499, 0.999986649, 1.52321961e-010, 3.68549413e-010, -3.76166764e-010, -5.18612779e-008, 1, 1.54590341e-010, -0.999986649, -5.16192173e-008)) | |
1110 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1111 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.599999964)) | |
1112 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300346375, -0.400138855, 1.30104756, 1.31146123e-006, -0.999986529, 1.0877593e-006, 0.999986172, 1.35616187e-006, 2.03296949e-007, -2.03299621e-007, 1.08741017e-006, 0.999999702)) | |
1113 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1114 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 4, 0.400000036)) | |
1115 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.10011673, -3.99940634, -0.300430298, 0.999986649, 1.33827005e-010, 3.36718153e-010, -3.44335921e-010, -5.2595162e-008, 1, 1.36095413e-010, -0.999986649, -5.23531156e-008)) | |
1116 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1117 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.800000072, 0.200000003, 0.800000012)) | |
1118 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300197601, -1.69940472, -0.300382614, 0.999986649, 1.56137825e-010, 3.67033265e-010, -3.72437692e-010, -5.02825515e-008, 1, 1.58399002e-010, -0.999986649, -4.98551174e-008)) | |
1119 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1120 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.599999964)) | |
1121 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300363541, -0.300140381, 2.49895048, 5.94261316e-008, 0.999986649, -3.15601568e-007, 0.999986649, -5.9428352e-008, 1.05065951e-007, 1.05069944e-007, -3.15336081e-007, -1)) | |
1122 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1123 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.210000008, 0.200000033)) | |
1124 | Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0998954773, -6.10440683, -0.300350189, 0.999986649, 1.26621949e-010, 3.31786959e-010, -3.39404865e-010, -5.15411713e-008, 1, 1.28890357e-010, -0.999986649, -5.12991107e-008)) | |
1125 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.620000005)) | |
1126 | ||
1127 | function MagniDamage(Hit,Part,magni,mindam,maxdam,knock,Type) | |
1128 | for _,c in pairs(workspace:children()) do | |
1129 | local hum=c:findFirstChild("Humanoid") | |
1130 | if hum~=nil then | |
1131 | local head=c:findFirstChild("Torso") | |
1132 | if head~=nil then | |
1133 | local targ=head.Position-Part.Position | |
1134 | local mag=targ.magnitude | |
1135 | if mag<=magni and c.Name~=Player.Name then | |
1136 | Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3) | |
1137 | end | |
1138 | end | |
1139 | end | |
1140 | end | |
1141 | end | |
1142 | ||
1143 | function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1144 | local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2)) | |
1145 | prt.Anchored=true | |
1146 | prt.CFrame=cframe | |
1147 | msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1)) | |
1148 | game:GetService("Debris"):AddItem(prt,2) | |
1149 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1150 | for i=0,1,delay do | |
1151 | swait() | |
1152 | Part.CFrame=Part.CFrame | |
1153 | Part.Transparency=i | |
1154 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1155 | end | |
1156 | Part.Parent=nil | |
1157 | end),prt,msh) | |
1158 | end | |
1159 | ||
1160 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1161 | local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1162 | prt.Anchored=true | |
1163 | prt.CFrame=cframe | |
1164 | prt.CanCollide = false | |
1165 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
1166 | game:GetService("Debris"):AddItem(prt,2) | |
1167 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1168 | for i=0,1,delay do | |
1169 | swait() | |
1170 | Part.CFrame=Part.CFrame | |
1171 | Part.Transparency=i | |
1172 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1173 | end | |
1174 | Part.Parent=nil | |
1175 | end),prt,msh) | |
1176 | end | |
1177 | ||
1178 | function LaserBarrage(Prt,Parent) | |
1179 | attack=true | |
1180 | --so("BeamLockon",Prt,1,1) | |
1181 | local efprt=part(3,Parent,"SmoothPlastic",0,0.5,BrickColor.new("New Yeller"),"Effect",vt(0.2,0.2,0.2)) | |
1182 | efprt.Anchored=true | |
1183 | local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1)) | |
1184 | local spread=vt((math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7)*(Prt.Position-mouse.Hit.p).magnitude/100 | |
1185 | --spread=vt(0,0,0) | |
1186 | coroutine.resume(coroutine.create(function(Part,Mesh,Spreaded) | |
1187 | game:GetService("Debris"):AddItem(Part,6) | |
1188 | local TheHit=mouse.Hit.p | |
1189 | local MouseLook=cf((Prt.Position+TheHit)/2,TheHit+Spreaded) | |
1190 | local hit,pos = rayCast(Prt.Position,MouseLook.lookVector,1000,Parent) | |
1191 | so("Elec",Prt,0.2,1) | |
1192 | local tefprt=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Black"),"Effect",vt(0.2,0.2,0.2)) | |
1193 | tefprt.CFrame=cf(pos) | |
1194 | MagicCircle(BrickColor.new("New Yeller"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.04) | |
1195 | so("Elec",tefprt,0.3,1) | |
1196 | game:GetService("Debris"):AddItem(tefprt,3) | |
1197 | Part.CFrame=CFrame.new((Prt.Position+pos)/2,pos)*angles(1.57,0,0) | |
1198 | if(hit.Parent:findFirstChild("Humanoid")~= nil)then | |
1199 | if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then | |
1200 | hit.Parent.Humanoid:TakeDamage(15) | |
1201 | MagniDamage(efprt,hit,20,10,20,30,"Normal") | |
1202 | end | |
1203 | end | |
1204 | local mag=(Prt.Position-pos).magnitude | |
1205 | MagicCylinder(BrickColor.new("New Yeller"),Part.CFrame,1,mag*5,1,0.5,0,0.5,0.05) | |
1206 | Part.Parent=nil | |
1207 | end),efprt,efmsh,spread) | |
1208 | end | |
1209 | ||
1210 | function attackone() | |
1211 | attack = true | |
1212 | for i = 0,1,0.1 do | |
1213 | swait() | |
1214 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3) | |
1215 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3) | |
1216 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.3) | |
1217 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-20)), 0.3) | |
1218 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1219 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1220 | JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1221 | JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1222 | GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1223 | GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1224 | end | |
1225 | so("http://roblox.com/asset/?id=268192025",Barrel2A,1,1) | |
1226 | so("http://roblox.com/asset/?id=268191996",Barrel2A,1,1) | |
1227 | so("http://roblox.com/asset/?id=268191976",Barrel2A,1,1) | |
1228 | ShootCannon(Barrel2A) | |
1229 | ShootCannon(Barrel1A) | |
1230 | ShootCannon(Barrel3A) | |
1231 | for i = 0,1,0.1 do | |
1232 | swait() | |
1233 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3) | |
1234 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-3),math.rad(3),math.rad(-50)),.3) | |
1235 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(130)), 0.3) | |
1236 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-50)), 0.3) | |
1237 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1238 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1239 | JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1240 | JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1241 | GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1242 | GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1243 | end | |
1244 | attack = false | |
1245 | end | |
1246 | ||
1247 | function attacktwo() | |
1248 | attack = true | |
1249 | for i = 0,1,0.1 do | |
1250 | swait() | |
1251 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3) | |
1252 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),.3) | |
1253 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3) | |
1254 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.3) | |
1255 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0)),.3) | |
1256 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1257 | JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1258 | JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1259 | GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1260 | GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1261 | end | |
1262 | so("http://roblox.com/asset/?id=268192025",Barrel5A,1,1) | |
1263 | so("http://roblox.com/asset/?id=268191996",Barrel5A,1,1) | |
1264 | so("http://roblox.com/asset/?id=268191976",Barrel5A,1,1) | |
1265 | ShootCannon(Barrel5A) | |
1266 | ShootCannon(Barrel4A) | |
1267 | ShootCannon(Barrel6A) | |
1268 | for i = 0,1,0.1 do | |
1269 | swait() | |
1270 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3) | |
1271 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),.3) | |
1272 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3) | |
1273 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(-60), math.rad(-50)), 0.3) | |
1274 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0)),.3) | |
1275 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1276 | JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1277 | JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1278 | GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1279 | GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1280 | end | |
1281 | attack = false | |
1282 | end | |
1283 | ||
1284 | local Effects={} | |
1285 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1286 | local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt()) | |
1287 | prt.Anchored=true | |
1288 | prt.CFrame=cframe | |
1289 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1290 | game:GetService("Debris"):AddItem(prt,5) | |
1291 | table.insert(Effects,{prt,"Block1",delay,x3,y3,z3}) --part, type, delay | |
1292 | end | |
1293 | ||
1294 | function MagicCylinder2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1295 | local prt=part(3,Character,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2)) | |
1296 | prt.Anchored=true | |
1297 | prt.CFrame=cframe | |
1298 | msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1299 | game:GetService("Debris"):AddItem(prt,5) | |
1300 | --table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3}) | |
1301 | Effects[#Effects+1]={prt,"Cylinder",delay,x3,y3,z3} --part, type, delay | |
1302 | --[[coroutine.resume(coroutine.create(function(Part,Mesh) | |
1303 | for i=0,1,delay do | |
1304 | wait() | |
1305 | Part.CFrame=Part.CFrame | |
1306 | Part.Transparency=i | |
1307 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1308 | end | |
1309 | Part.Parent=nil | |
1310 | end),prt,msh)]] | |
1311 | end | |
1312 | ||
1313 | RocketTarget = RootPart | |
1314 | function ShootCannon(asd) | |
1315 | so("rbxassetid://263623156",asd,.5,1) | |
1316 | so("rbxassetid://263610152",asd,.5,1) | |
1317 | so("rbxassetid://263623139",asd,.5,1) | |
1318 | local MainPos=asd.Position | |
1319 | local MainPos2=mouse.Hit.p | |
1320 | local MouseLook=cf((MainPos+MainPos2)/2,MainPos2) | |
1321 | --[[local mag=(MainPos-pos).magnitude | |
1322 | MagicCylinder(BrickColor.new("Bright blue"),CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,0.5,0,0.5,0.05)]] | |
1323 | num=30 | |
1324 | coroutine.resume(coroutine.create(function() | |
1325 | repeat | |
1326 | wait() | |
1327 | local hit,pos = rayCast(MainPos,MouseLook.lookVector,10,RocketTarget.Parent) | |
1328 | local mag=(MainPos-pos).magnitude | |
1329 | MagicCylinder2(BrickColor.new("New Yeller"),CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),3,mag*5,3,1.5,0,1.5,0.1) | |
1330 | MainPos=MainPos+(MouseLook.lookVector*10) | |
1331 | num=num-1 | |
1332 | if hit~=nil then | |
1333 | num=0 | |
1334 | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("New Yeller"),"Reference",vt()) | |
1335 | ref.Anchored=true | |
1336 | ref.CFrame=cf(pos) | |
1337 | MagniDamage(ref,hit,1,30,50,1,"Normal") | |
1338 | so("rbxassetid://263610039",ref,1,1) | |
1339 | so("rbxassetid://263610111",ref,1,1) | |
1340 | MagicBlock(BrickColor.new("New Yeller"),cf(pos),20,20,20,5,5,5,0.05) | |
1341 | game:GetService("Debris"):AddItem(ref,1) | |
1342 | MagniDamage(ref,ref,15,10,20,10,"Normal") | |
1343 | end | |
1344 | until num<=0 | |
1345 | end)) | |
1346 | end | |
1347 | ||
1348 | function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1349 | local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1350 | prt.Anchored=true | |
1351 | prt.CFrame=cframe | |
1352 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1)) | |
1353 | game:GetService("Debris"):AddItem(prt,2) | |
1354 | coroutine.resume(coroutine.create(function(Part,Mesh,num) | |
1355 | for i=0,1,delay do | |
1356 | swait() | |
1357 | Part.Transparency=i | |
1358 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1359 | end | |
1360 | Part.Parent=nil | |
1361 | end),prt,msh,(math.random(0,1)+math.random())/5) | |
1362 | end | |
1363 | ||
1364 | deeznuts = true | |
1365 | ||
1366 | function BeamBlast() | |
1367 | if deeznuts==true then | |
1368 | deeznuts=false | |
1369 | attack = true | |
1370 | local n=2 | |
1371 | for i = 0,1,0.05 do | |
1372 | swait() | |
1373 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-.5)* angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1374 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1375 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(100)), 0.3) | |
1376 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(0), math.rad(-30), math.rad(-100)), 0.3) | |
1377 | RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1378 | LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1379 | JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-80),math.rad(0)),.3) | |
1380 | JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-80),math.rad(0)),.3) | |
1381 | GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1382 | GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1383 | end | |
1384 | local orb=part(3,Character,"SmoothPlastic",0,1,BrickColor.new("New Yeller"),"Orb",vt()) | |
1385 | local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15)) | |
1386 | local owld=weld(orb,orb,Torso,cf(0,-1.5,8),cf(0,0,0)) | |
1387 | so("http://roblox.com/asset/?id=169445572",orb,1,0.9) | |
1388 | so("http://roblox.com/asset/?id=169380495",orb,1,0.6) | |
1389 | so("http://roblox.com/asset/?id=203691346",orb,1,0.9) | |
1390 | for i=1,0.3,-0.01 do | |
1391 | wait() | |
1392 | orb.Transparency=i | |
1393 | omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5) | |
1394 | MagicBlock(BrickColor.new("Really black"),orb.CFrame,15,15,15,2,2,2,0.1) | |
1395 | local ef=part(3,workspace,"SmoothPlastic",0,0,BrickColor.new("New Yeller"),"Effect",vt()) | |
1396 | ef.Anchored=true | |
1397 | local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2)) | |
1398 | local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0) | |
1399 | ef.CFrame=orb.CFrame*ceef | |
1400 | game:GetService("Debris"):AddItem(ef,2) | |
1401 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1402 | for i=0,1,0.1 do | |
1403 | wait() | |
1404 | Part.Transparency=i | |
1405 | Part.CFrame=Part.CFrame*cf(0,-1,0) | |
1406 | end | |
1407 | Part.Parent=nil | |
1408 | end),ef,emsh) | |
1409 | end | |
1410 | local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector | |
1411 | wait(.5) | |
1412 | orb.Parent=nil | |
1413 | local hit,pos = rayCast(orb.Position,Pos,999,Character) | |
1414 | local mag=(orb.Position-pos).magnitude | |
1415 | MagicCircle(BrickColor.new("New Yeller"),cf(pos),15,15,15,8,8,8,0.02) | |
1416 | MagicBlock(BrickColor.new("New Yeller"),cf(pos),15,15,15,8,8,8,0.02) | |
1417 | MagicCylinder(BrickColor.new("New Yeller"),CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01) | |
1418 | for i=1,2 do | |
1419 | MagicRing(BrickColor.new("New Yeller"),cf(pos)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),3,3,3,1,1,1,0.04) | |
1420 | end | |
1421 | for i=1,5 do | |
1422 | local tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0) | |
1423 | MagicRing(BrickColor.new("Really black"),tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01) | |
1424 | end | |
1425 | for i=0,5 do | |
1426 | local tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0) | |
1427 | MagicRing(BrickColor.new("New Yeller"),tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01) | |
1428 | end | |
1429 | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt()) | |
1430 | ref.CFrame=cf(pos) | |
1431 | so("http://roblox.com/asset/?id=203691378",Torso,1,0.7) | |
1432 | so("http://roblox.com/asset/?id=169445602",Torso,1,0.7) | |
1433 | so("http://www.roblox.com/Asset?ID=203691282",Torso,1,.8) | |
1434 | coroutine.resume(coroutine.create(function(Part) | |
1435 | Part.Parent=nil | |
1436 | end),ref) | |
1437 | if hit~=nil then | |
1438 | MagniDamage(Part,hit,30,90,100,0,"Normal") | |
1439 | end | |
1440 | local n=2 | |
1441 | for i = 0,1,0.03 do | |
1442 | swait() | |
1443 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-.5)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
1444 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
1445 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(150)), 0.3) | |
1446 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(-150)), 0.3) | |
1447 | RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(-30))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1448 | LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1449 | JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-50),math.rad(0)),.3) | |
1450 | JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-50),math.rad(0)),.3) | |
1451 | GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1452 | GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1453 | end | |
1454 | deeznuts=true | |
1455 | end | |
1456 | attack = false | |
1457 | end | |
1458 | ||
1459 | ||
1460 | function QuadHailShot() | |
1461 | attack = true | |
1462 | Torso.Velocity=vt(0,200,0) | |
1463 | so("http://roblox.com/asset/?id=199145327",Torso,1,1) | |
1464 | for i = 0,1,0.1 do | |
1465 | swait() | |
1466 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(-6*i,math.rad(0),math.rad(0)),.3) | |
1467 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1468 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(0)), 0.3) | |
1469 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(150), math.rad(-0), math.rad(-0)), 0.3) | |
1470 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1471 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1472 | JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-80),math.rad(0)),.3) | |
1473 | JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-80),math.rad(0)),.3) | |
1474 | GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1475 | GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1476 | end | |
1477 | ShootCannon(Barrel2A) | |
1478 | ShootCannon(Barrel5A) | |
1479 | so("http://roblox.com/asset/?id=203691837",Torso,1,1) | |
1480 | so("http://roblox.com/asset/?id=203691653",Torso,1,1) | |
1481 | so("http://www.roblox.com/asset/?id=138083993",Torso,1,.8) | |
1482 | for i = 1,10 do | |
1483 | LaserBarrage(Barrel1B) | |
1484 | LaserBarrage(Barrel3B) | |
1485 | LaserBarrage(Barrel2B) | |
1486 | LaserBarrage(Barrel4B) | |
1487 | --LaserBarrage(Barrel3B) | |
1488 | --LaserBarrage(Barrel4B) | |
1489 | end | |
1490 | for i = 0,1,0.1 do | |
1491 | swait() | |
1492 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
1493 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1494 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
1495 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(90), math.rad(-0), math.rad(-0)), 0.3) | |
1496 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1497 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1498 | JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-10),math.rad(0)),.3) | |
1499 | JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-10),math.rad(0)),.3) | |
1500 | GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1501 | GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1502 | end | |
1503 | attack = false | |
1504 | end | |
1505 | ||
1506 | mouse.Button1Down:connect(function() | |
1507 | if attack == false and attacktype == 1 then | |
1508 | attacktype = 2 | |
1509 | attackone() | |
1510 | elseif attack == false and attacktype == 2 then | |
1511 | attacktype = 1 | |
1512 | attacktwo() | |
1513 | end | |
1514 | end) | |
1515 | ||
1516 | mouse.KeyDown:connect(function(k) | |
1517 | k=k:lower() | |
1518 | if attack == false and k == 'q' then | |
1519 | BeamBlast() | |
1520 | elseif attack == false and k == 'e' then | |
1521 | QuadHailShot() | |
1522 | end | |
1523 | end) | |
1524 | ||
1525 | ||
1526 | ||
1527 | ||
1528 | local sine = 0 | |
1529 | local change = 1 | |
1530 | local val = 0 | |
1531 | ||
1532 | while true do | |
1533 | swait() | |
1534 | sine = sine + change | |
1535 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
1536 | local velderp=RootPart.Velocity.y | |
1537 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
1538 | if equipped==true or equipped==false then | |
1539 | if attack==false then | |
1540 | idle=idle+1 | |
1541 | else | |
1542 | idle=0 | |
1543 | end | |
1544 | if idle>=500 then | |
1545 | if attack==false then | |
1546 | end | |
1547 | end | |
1548 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
1549 | Anim="Jump" | |
1550 | if attack==false then | |
1551 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1552 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1553 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(30)), 0.3) | |
1554 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-30)), 0.3) | |
1555 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1556 | LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1557 | JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1558 | JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1559 | GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1560 | GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1561 | end | |
1562 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
1563 | Anim="Fall" | |
1564 | if attack==false then | |
1565 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1566 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(30),math.rad(0),math.rad(0)),.3) | |
1567 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.3) | |
1568 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.3) | |
1569 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) | |
1570 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(20)),.3) | |
1571 | JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1572 | JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1573 | GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1574 | GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1575 | end | |
1576 | elseif torvel<1 and hitfloor~=nil then | |
1577 | Anim="Idle" | |
1578 | if attack==false then | |
1579 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-.3)* angles(math.rad(20),math.rad(0),math.rad(10)),.3) | |
1580 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-10)),.3) | |
1581 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3) | |
1582 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(20)), 0.3) | |
1583 | RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(80),math.rad(20)),.3) | |
1584 | LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(0),math.rad(-100),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1585 | JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1586 | JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1587 | GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1588 | GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1589 | end | |
1590 | elseif torvel>2 and hitfloor~=nil then | |
1591 | Anim="Walk" | |
1592 | if attack==false then | |
1593 | change=3 | |
1594 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(30),math.rad(0),math.rad(0)),.3) | |
1595 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1596 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(10)), 0.3) | |
1597 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.3) | |
1598 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
1599 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
1600 | JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1601 | JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3) | |
1602 | GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1603 | GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1604 | end | |
1605 | end | |
1606 | end | |
1607 | if #Effects>0 then | |
1608 | for e=1,#Effects do | |
1609 | if Effects[e]~=nil then | |
1610 | local Thing=Effects[e] | |
1611 | if Thing~=nil then | |
1612 | local Part=Thing[1] | |
1613 | local Mode=Thing[2] | |
1614 | local Delay=Thing[3] | |
1615 | local IncX=Thing[4] | |
1616 | local IncY=Thing[5] | |
1617 | local IncZ=Thing[6] | |
1618 | if Thing[1].Transparency<=1 then | |
1619 | if Thing[2]=="Block1" then | |
1620 | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1621 | Mesh=Thing[1].Mesh | |
1622 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1623 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1624 | elseif Thing[2]=="Cylinder" then | |
1625 | Mesh=Thing[1].Mesh | |
1626 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1627 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1628 | elseif Thing[2]=="Blood" then | |
1629 | Mesh=Thing[7] | |
1630 | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) | |
1631 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1632 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1633 | elseif Thing[2]=="Elec" then | |
1634 | Mesh=Thing[1].Mesh | |
1635 | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) | |
1636 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1637 | elseif Thing[2]=="Disappear" then | |
1638 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1639 | end | |
1640 | else | |
1641 | Part.Parent=nil | |
1642 | table.remove(Effects,e) | |
1643 | end | |
1644 | end | |
1645 | end | |
1646 | end | |
1647 | end | |
1648 | end |