SHOW:
|
|
- or go back to the newest paste.
1 | local Global = (getgenv and getgenv()) or shared | |
2 | Global.GelatekReanimateConfig = { | |
3 | - | Character=Player.Character |
3 | + | -- [[ Rig Settings ]] -- |
4 | - | PlayerGui=Player.PlayerGui |
4 | + | ["AnimationsDisabled"] = false, |
5 | - | Backpack=Player.Backpack |
5 | + | ["R15ToR6"] = true, |
6 | ["DontBreakHairWelds"] = false, | |
7 | ["PermanentDeath"] = false, | |
8 | ["Headless"] = false, | |
9 | ["TeleportBackWhenVoided"] = false, | |
10 | ||
11 | -- [[ Reanimation Settings ]] -- | |
12 | ["AlignReanimate"] = false, | |
13 | ["FullForceAlign"] = true, | |
14 | ["FasterHeartbeat"] = true, | |
15 | ["DynamicalVelocity"] = false, | |
16 | ["DisableTweaks"] = false, | |
17 | ||
18 | -- [[ Optimization ]] -- | |
19 | ["OptimizeGame"] = false, | |
20 | ||
21 | -- [[ Miscellacious ]] -- | |
22 | ["LoadLibrary"] = false, | |
23 | ["DetailedCredits"] = false, | |
24 | ||
25 | -- [[ Flinging Methods ]] -- | |
26 | ["TorsoFling"] = true, | |
27 | ["BulletEnabled"] = false, | |
28 | ["BulletConfig"] = { | |
29 | ["RunAfterReanimate"] = false, | |
30 | ["LockBulletOnTorso"] = false | |
31 | } | |
32 | } | |
33 | loadstring(game:HttpGet("https://raw.githubusercontent.com/Gelatekussy/GelatekReanimate/main/Main.lua"))() | |
34 | wait(8) | |
35 | lol = getcustomasset or getsynasset | |
36 | getgenv().LoadLibrary = function(lib) return loadstring(game:HttpGet("https://raw.githubusercontent.com/Roblox/Core-Scripts/master/CoreScriptsRoot/Libraries/" .. lib .. ".lua"))() end | |
37 | ||
38 | Player=game:GetService("Players").LocalPlayer | |
39 | Character=game.Players.LocalPlayer.Character | |
40 | PlayerGui=game.Players.LocalPlayer.PlayerGui | |
41 | Backpack=game.Players.LocalPlayer.Backpack | |
42 | Torso=Character.Torso | |
43 | Head=Character.Head | |
44 | Humanoid=Character.Humanoid | |
45 | m=Instance.new('Model',Character) | |
46 | LeftArm=Character["Left Arm"] | |
47 | LeftLeg=Character["Left Leg"] | |
48 | RightArm=Character["Right Arm"] | |
49 | RightLeg=Character["Right Leg"] | |
50 | LS=Torso["Left Shoulder"] | |
51 | LH=Torso["Left Hip"] | |
52 | RS=Torso["Right Shoulder"] | |
53 | RH=Torso["Right Hip"] | |
54 | Face = Head.face | |
55 | Neck=Torso.Neck | |
56 | it=Instance.new | |
57 | attacktype=1 | |
58 | vt=Vector3.new | |
59 | cf=CFrame.new | |
60 | euler=CFrame.fromEulerAnglesXYZ | |
61 | angles=CFrame.Angles | |
62 | cloaked=false | |
63 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
64 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
65 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
66 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
67 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
68 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
69 | RootPart=Character.HumanoidRootPart | |
70 | RootJoint=RootPart.RootJoint | |
71 | RootCF=euler(-1.57,0,3.14) | |
72 | attack = false | |
73 | attackdebounce = false | |
74 | deb=false | |
75 | equipped=true | |
76 | hand=false | |
77 | MMouse=nil | |
78 | combo=0 | |
79 | mana=0 | |
80 | trispeed=.2 | |
81 | attackmode='none' | |
82 | local idle=0 | |
83 | local Anim="Idle" | |
84 | local Effects={} | |
85 | local gun=false | |
86 | local shoot=false | |
87 | player=nil | |
88 | mana=0 | |
89 | local CurrentMode = "Unsheathed" | |
90 | ||
91 | mouse=Player:GetMouse() | |
92 | --save shoulders | |
93 | RSH, LSH=nil, nil | |
94 | --welds | |
95 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
96 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
97 | LH=Torso["Left Hip"] | |
98 | RH=Torso["Right Hip"] | |
99 | TorsoColor=Torso.BrickColor | |
100 | function NoOutline(Part) | |
101 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
102 | end | |
103 | player=Player | |
104 | ch=Character | |
105 | RSH=ch.Torso["Right Shoulder"] | |
106 | LSH=ch.Torso["Left Shoulder"] | |
107 | -- | |
108 | RSH.Parent=nil | |
109 | LSH.Parent=nil | |
110 | -- | |
111 | RW.Name="Right Shoulder" | |
112 | RW.Part0=ch.Torso | |
113 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
114 | RW.C1=cf(0, 0.5, 0) | |
115 | RW.Part1=ch["Right Arm"] | |
116 | RW.Parent=ch.Torso | |
117 | -- | |
118 | LW.Name="Left Shoulder" | |
119 | LW.Part0=ch.Torso | |
120 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
121 | LW.C1=cf(0, 0.5, 0) | |
122 | LW.Part1=ch["Left Arm"] | |
123 | LW.Parent=ch.Torso | |
124 | ||
125 | local function weldBetween(a, b) | |
126 | local weldd = Instance.new("ManualWeld") | |
127 | weldd.Part0 = a | |
128 | weldd.Part1 = b | |
129 | weldd.C0 = CFrame.new() | |
130 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
131 | weldd.Parent = a | |
132 | return weldd | |
133 | end | |
134 | ||
135 | function nooutline(part) | |
136 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
137 | end | |
138 | ||
139 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
140 | local fp=it("Part") | |
141 | fp.formFactor=formfactor | |
142 | fp.Parent=parent | |
143 | fp.Reflectance=reflectance | |
144 | fp.Transparency=transparency | |
145 | fp.CanCollide=false | |
146 | fp.Locked=true | |
147 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
148 | fp.Name=name | |
149 | fp.Size=size | |
150 | fp.Position=Character.Torso.Position | |
151 | nooutline(fp) | |
152 | fp.Material=material | |
153 | fp:BreakJoints() | |
154 | return fp | |
155 | end | |
156 | ||
157 | function swait(num) | |
158 | if num==0 or num==nil then | |
159 | game:service'RunService'.Heartbeat:wait(0) | |
160 | else | |
161 | for i=0,num do | |
162 | game:service'RunService'.Heartbeat:wait(0) | |
163 | end | |
164 | end | |
165 | end | |
166 | ||
167 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
168 | local mesh=it(Mesh) | |
169 | mesh.Parent=part | |
170 | if Mesh=="SpecialMesh" then | |
171 | mesh.MeshType=meshtype | |
172 | mesh.MeshId=meshid | |
173 | end | |
174 | mesh.Offset=offset | |
175 | mesh.Scale=scale | |
176 | return mesh | |
177 | end | |
178 | ||
179 | function weld(parent,part0,part1,c0,c1) | |
180 | local weld=it("Weld") | |
181 | weld.Parent=parent | |
182 | weld.Part0=part0 | |
183 | weld.Part1=part1 | |
184 | weld.C0=c0 | |
185 | weld.C1=c1 | |
186 | return weld | |
187 | end | |
188 | ||
189 | ||
190 | local function CFrameFromTopBack(at, top, back) | |
191 | local right = top:Cross(back) | |
192 | return CFrame.new(at.x, at.y, at.z, | |
193 | right.x, top.x, back.x, | |
194 | right.y, top.y, back.y, | |
195 | right.z, top.z, back.z) | |
196 | end | |
197 | ||
198 | function Triangle(a, b, c) | |
199 | local edg1 = (c-a):Dot((b-a).unit) | |
200 | local edg2 = (a-b):Dot((c-b).unit) | |
201 | local edg3 = (b-c):Dot((a-c).unit) | |
202 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
203 | a, b, c = a, b, c | |
204 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
205 | a, b, c = b, c, a | |
206 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
207 | a, b, c = c, a, b | |
208 | else | |
209 | assert(false, "unreachable") | |
210 | end | |
211 | ||
212 | local len1 = (c-a):Dot((b-a).unit) | |
213 | local len2 = (b-a).magnitude - len1 | |
214 | local width = (a + (b-a).unit*len1 - c).magnitude | |
215 | ||
216 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
217 | ||
218 | local list = {} | |
219 | ||
220 | if len1 > 0.01 then | |
221 | local w1 = Instance.new('WedgePart', m) | |
222 | game:GetService("Debris"):AddItem(w1,5) | |
223 | w1.Material = "SmoothPlastic" | |
224 | w1.FormFactor = 'Custom' | |
225 | w1.BrickColor = BrickColor.new("Cyan") | |
226 | w1.Transparency = 0 | |
227 | w1.Reflectance = 0 | |
228 | w1.Material = "Neon" | |
229 | w1.CanCollide = false | |
230 | NoOutline(w1) | |
231 | local sz = Vector3.new(0.2, width, len1) | |
232 | w1.Size = sz | |
233 | local sp = Instance.new("SpecialMesh",w1) | |
234 | sp.MeshType = "Wedge" | |
235 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
236 | w1:BreakJoints() | |
237 | w1.Anchored = true | |
238 | w1.Parent = workspace | |
239 | w1.Transparency = 0.3 | |
240 | table.insert(Effects,{w1,"Disappear",.03}) | |
241 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
242 | table.insert(list,w1) | |
243 | end | |
244 | if len2 > 0.01 then | |
245 | local w2 = Instance.new('WedgePart', m) | |
246 | game:GetService("Debris"):AddItem(w2,5) | |
247 | w2.Material = "SmoothPlastic" | |
248 | w2.FormFactor = 'Custom' | |
249 | w2.BrickColor = BrickColor.new("Cyan") | |
250 | w2.Transparency = 0 | |
251 | w2.Reflectance = 0 | |
252 | w2.Material = "Neon" | |
253 | w2.CanCollide = false | |
254 | NoOutline(w2) | |
255 | local sz = Vector3.new(0.2, width, len2) | |
256 | w2.Size = sz | |
257 | local sp = Instance.new("SpecialMesh",w2) | |
258 | sp.MeshType = "Wedge" | |
259 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
260 | w2:BreakJoints() | |
261 | w2.Anchored = true | |
262 | w2.Parent = workspace | |
263 | w2.Transparency = 0.3 | |
264 | table.insert(Effects,{w2,"Disappear",.03}) | |
265 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
266 | table.insert(list,w2) | |
267 | end | |
268 | return unpack(list) | |
269 | end | |
270 | ||
271 | ||
272 | so = function(id,par,vol,pit) | |
273 | coroutine.resume(coroutine.create(function() | |
274 | local sou = Instance.new("Sound",par or workspace) | |
275 | sou.Volume=vol | |
276 | sou.Pitch=pit or 1 | |
277 | sou.SoundId=id | |
278 | swait() | |
279 | sou:play() | |
280 | game:GetService("Debris"):AddItem(sou,6) | |
281 | end)) | |
282 | end | |
283 | ||
284 | function clerp(a,b,t) | |
285 | local qa = {QuaternionFromCFrame(a)} | |
286 | local qb = {QuaternionFromCFrame(b)} | |
287 | local ax, ay, az = a.x, a.y, a.z | |
288 | local bx, by, bz = b.x, b.y, b.z | |
289 | local _t = 1-t | |
290 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
291 | end | |
292 | ||
293 | function QuaternionFromCFrame(cf) | |
294 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
295 | local trace = m00 + m11 + m22 | |
296 | if trace > 0 then | |
297 | local s = math.sqrt(1 + trace) | |
298 | local recip = 0.5/s | |
299 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
300 | else | |
301 | local i = 0 | |
302 | if m11 > m00 then | |
303 | i = 1 | |
304 | end | |
305 | if m22 > (i == 0 and m00 or m11) then | |
306 | i = 2 | |
307 | end | |
308 | if i == 0 then | |
309 | local s = math.sqrt(m00-m11-m22+1) | |
310 | local recip = 0.5/s | |
311 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
312 | elseif i == 1 then | |
313 | local s = math.sqrt(m11-m22-m00+1) | |
314 | local recip = 0.5/s | |
315 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
316 | elseif i == 2 then | |
317 | local s = math.sqrt(m22-m00-m11+1) | |
318 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
319 | end | |
320 | end | |
321 | end | |
322 | ||
323 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
324 | local xs, ys, zs = x + x, y + y, z + z | |
325 | local wx, wy, wz = w*xs, w*ys, w*zs | |
326 | local xx = x*xs | |
327 | local xy = x*ys | |
328 | local xz = x*zs | |
329 | local yy = y*ys | |
330 | local yz = y*zs | |
331 | local zz = z*zs | |
332 | 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)) | |
333 | end | |
334 | ||
335 | function QuaternionSlerp(a, b, t) | |
336 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
337 | local startInterp, finishInterp; | |
338 | if cosTheta >= 0.0001 then | |
339 | if (1 - cosTheta) > 0.0001 then | |
340 | local theta = math.acos(cosTheta) | |
341 | local invSinTheta = 1/math.sin(theta) | |
342 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
343 | finishInterp = math.sin(t*theta)*invSinTheta | |
344 | else | |
345 | startInterp = 1-t | |
346 | finishInterp = t | |
347 | end | |
348 | else | |
349 | if (1+cosTheta) > 0.0001 then | |
350 | local theta = math.acos(-cosTheta) | |
351 | local invSinTheta = 1/math.sin(theta) | |
352 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
353 | finishInterp = math.sin(t*theta)*invSinTheta | |
354 | else | |
355 | startInterp = t-1 | |
356 | finishInterp = t | |
357 | end | |
358 | end | |
359 | 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 | |
360 | end | |
361 | ||
362 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
363 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
364 | end | |
365 | ||
366 | Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
367 | if hit.Parent==nil then | |
368 | return | |
369 | end | |
370 | local h=hit.Parent:FindFirstChild("Humanoid") | |
371 | for _,v in pairs(hit.Parent:children()) do | |
372 | if v:IsA("Humanoid") then | |
373 | h=v | |
374 | end | |
375 | end | |
376 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
377 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
378 | end | |
379 | if hit.Parent.className=="Hat" then | |
380 | hit=hit.Parent.Parent:findFirstChild("Head") | |
381 | end | |
382 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
383 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
384 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
385 | return | |
386 | end]] | |
387 | -- hs(hit,1.2) | |
388 | local c=Instance.new("ObjectValue") | |
389 | c.Name="creator" | |
390 | c.Value=game:service("Players").LocalPlayer | |
391 | c.Parent=h | |
392 | game:GetService("Debris"):AddItem(c,.5) | |
393 | local Damage=math.huge | |
394 | -- h:TakeDamage(Damage) | |
395 | local blocked=false | |
396 | local block=hit.Parent:findFirstChild("Block") | |
397 | if block~=nil then | |
398 | print(block.className) | |
399 | if block.className=="NumberValue" then | |
400 | if block.Value>0 then | |
401 | blocked=true | |
402 | if decreaseblock==nil then | |
403 | block.Value=block.Value-1 | |
404 | end | |
405 | end | |
406 | end | |
407 | if block.className=="IntValue" then | |
408 | if block.Value>0 then | |
409 | blocked=true | |
410 | if decreaseblock~=nil then | |
411 | block.Value=block.Value-1 | |
412 | end | |
413 | end | |
414 | end | |
415 | end | |
416 | if blocked==false then | |
417 | -- h:TakeDamage(Damage) | |
418 | h.Health=h.Health-Damage | |
419 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color) | |
420 | else | |
421 | h.Health=h.Health-(Damage/2) | |
422 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Royal purple").Color) | |
423 | end | |
424 | if Type=="Knockdown" then | |
425 | local hum=hit.Parent.Humanoid | |
426 | hum.PlatformStand=true | |
427 | coroutine.resume(coroutine.create(function(HHumanoid) | |
428 | swait(1) | |
429 | HHumanoid.PlatformStand=false | |
430 | end),hum) | |
431 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
432 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
433 | local bodvol=Instance.new("BodyVelocity") | |
434 | bodvol.velocity=angle*knockback | |
435 | bodvol.P=5000 | |
436 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
437 | bodvol.Parent=hit | |
438 | local rl=Instance.new("BodyAngularVelocity") | |
439 | rl.P=3000 | |
440 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
441 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
442 | rl.Parent=hit | |
443 | game:GetService("Debris"):AddItem(bodvol,.5) | |
444 | game:GetService("Debris"):AddItem(rl,.5) | |
445 | elseif Type=="Normal" then | |
446 | local vp=Instance.new("BodyVelocity") | |
447 | vp.P=500 | |
448 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
449 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
450 | if KnockbackType==1 then | |
451 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
452 | elseif KnockbackType==2 then | |
453 | vp.velocity=Property.CFrame.lookVector*knockback | |
454 | end | |
455 | if knockback>0 then | |
456 | vp.Parent=hit.Parent.Torso | |
457 | end | |
458 | game:GetService("Debris"):AddItem(vp,.5) | |
459 | elseif Type=="Up" then | |
460 | local bodyVelocity=Instance.new("BodyVelocity") | |
461 | bodyVelocity.velocity=vt(0,60,0) | |
462 | bodyVelocity.P=5000 | |
463 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
464 | bodyVelocity.Parent=hit | |
465 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
466 | local rl=Instance.new("BodyAngularVelocity") | |
467 | rl.P=3000 | |
468 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
469 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
470 | rl.Parent=hit | |
471 | game:GetService("Debris"):AddItem(rl,.5) | |
472 | elseif Type=="Snare" then | |
473 | local bp=Instance.new("BodyPosition") | |
474 | bp.P=2000 | |
475 | bp.D=100 | |
476 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
477 | bp.position=hit.Parent.Torso.Position | |
478 | bp.Parent=hit.Parent.Torso | |
479 | game:GetService("Debris"):AddItem(bp,1) | |
480 | elseif Type=="Target" then | |
481 | local Targetting = false | |
482 | if Targetting==false then | |
483 | ZTarget=hit.Parent.Torso | |
484 | coroutine.resume(coroutine.create(function(Part) | |
485 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
486 | swait(5) | |
487 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
488 | end),ZTarget) | |
489 | local TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
490 | local targetgui=Instance.new("BillboardGui") | |
491 | targetgui.Parent=ZTarget | |
492 | targetgui.Size=UDim2.new(10,100,10,100) | |
493 | local targ=Instance.new("ImageLabel") | |
494 | targ.Parent=targetgui | |
495 | targ.BackgroundTransparency=1 | |
496 | targ.Image="rbxassetid://4834067" | |
497 | targ.Size=UDim2.new(1,0,1,0) | |
498 | cam.CameraType="Scriptable" | |
499 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
500 | local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
501 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
502 | Targetting=true | |
503 | RocketTarget=ZTarget | |
504 | for i=1,Property do | |
505 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
506 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
507 | swait() | |
508 | end | |
509 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
510 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
511 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
512 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
513 | end | |
514 | Targetting=false | |
515 | RocketTarget=nil | |
516 | targetgui.Parent=nil | |
517 | cam.CameraType="Custom" | |
518 | end | |
519 | end | |
520 | local debounce=Instance.new("BoolValue") | |
521 | debounce.Name="DebounceHit" | |
522 | debounce.Parent=hit.Parent | |
523 | debounce.Value=true | |
524 | game:GetService("Debris"):AddItem(debounce,Delay) | |
525 | c=Instance.new("ObjectValue") | |
526 | c.Name="creator" | |
527 | c.Value=Player | |
528 | c.Parent=h | |
529 | game:GetService("Debris"):AddItem(c,.5) | |
530 | end | |
531 | end | |
532 | ||
533 | ||
534 | function ShowDamage(Pos, Text, Time, Color) | |
535 | local Rate = (1 / 30) | |
536 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
537 | local Text = (Text or "") | |
538 | local Time = (Time or 2) | |
539 | local Color = (Color or Color3.new(1, 0, 0)) | |
540 | local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0)) | |
541 | EffectPart.Anchored = true | |
542 | local BillboardGui = Instance.new("BillboardGui") | |
543 | BillboardGui.Size = UDim2.new(3, 0, 3, 0) | |
544 | BillboardGui.Adornee = EffectPart | |
545 | local TextLabel = Instance.new("TextLabel") | |
546 | TextLabel.BackgroundTransparency = 1 | |
547 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
548 | TextLabel.Text = Text | |
549 | TextLabel.TextColor3 = Color | |
550 | TextLabel.TextScaled = true | |
551 | TextLabel.Font = Enum.Font.ArialBold | |
552 | TextLabel.Parent = BillboardGui | |
553 | BillboardGui.Parent = EffectPart | |
554 | game.Debris:AddItem(EffectPart, (Time + 0.1)) | |
555 | EffectPart.Parent = game:GetService("Workspace") | |
556 | Delay(0, function() | |
557 | local Frames = (Time / Rate) | |
558 | for Frame = 1, Frames do | |
559 | wait(Rate) | |
560 | local Percent = (Frame / Frames) | |
561 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
562 | TextLabel.TextTransparency = Percent | |
563 | end | |
564 | if EffectPart and EffectPart.Parent then | |
565 | EffectPart:Destroy() | |
566 | end | |
567 | end) | |
568 | end | |
569 | ||
570 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Handle",Vector3.new(0.34799999, 2.78399992, 0.34799999)) | |
571 | handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00324273, 0.013961792, -0.00828075409, -1.38366803e-013, -0.999999881, 4.25688995e-009, 2.4656245e-007, -4.25688951e-009, -1, 1, -1.373172e-013, 2.4656245e-007)) | |
572 | mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
573 | Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Cyan","Hitbox",Vector3.new(1.04400003, 6.35600042, 0.600000024)) | |
574 | Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000308990479, -5.48094559, -2.00271606e-005, 1, 6.10120843e-011, -1.08637464e-014, -6.10120843e-011, 1, 7.57154339e-011, 1.08637574e-014, -7.57154339e-011, 1)) | |
575 | mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983)) | |
576 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
577 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.00242900848, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -4.25688862e-009, -1.37317173e-013, -4.25688862e-009, 0.999999702, -2.46562365e-007)) | |
578 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
579 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
580 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007)) | |
581 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
582 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036)) | |
583 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000484466553, -0.232157588, -1.08489037, -1.6391111e-007, -2.91180186e-007, -0.999989986, -0.999989986, 2.34624395e-007, 1.63911025e-007, 2.34622007e-007, 1, -2.91177315e-007)) | |
584 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1)) | |
585 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
586 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007)) | |
587 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
588 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.812000036, 0.591600001)) | |
589 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000144004822, -7.46494102, -8.79764557e-005, 4.47029542e-008, 2.42425131e-007, 0.999980867, -2.50834205e-007, 1, -2.42420526e-007, -0.999980867, -2.5083898e-007, 4.47030146e-008)) | |
590 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1)) | |
591 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
592 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
593 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939)) | |
594 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
595 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007)) | |
596 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
597 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
598 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.232713461, -1.89698601, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
599 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
600 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999)) | |
601 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.174778461, -1.66498375, 9.53674316e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1)) | |
602 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1)) | |
603 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(1.04400003, 4.75600052, 0.200000003)) | |
604 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000287055969, -4.68094635, -3.14712524e-005, 0.999985695, 6.10369533e-011, -1.79689095e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689129e-014, -7.57438556e-011, 0.999985695)) | |
605 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983)) | |
606 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
607 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
608 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961)) | |
609 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003)) | |
610 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642)) | |
611 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.798079908, 0.843320072, 0.58927989)) | |
612 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
613 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007)) | |
614 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
615 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
616 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007)) | |
617 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
618 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
619 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007)) | |
620 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
621 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
622 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007)) | |
623 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
624 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
625 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00553905964, -0.620464325, 0.00238800049, 0.999994755, 4.21545732e-009, 1.69303116e-013, -4.2154511e-009, 1, -2.46550314e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755)) | |
626 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
627 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
628 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007)) | |
629 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
630 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.812000036, 0.200000003, 0.579999983)) | |
631 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013)) | |
632 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.526639998, 1)) | |
633 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999)) | |
634 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.294445038, 1.4429245, 0.00253105164, 0.965925753, -0.258819014, 6.3815186e-008, 0.258819014, 0.965925753, -2.38160979e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
635 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
636 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
637 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007)) | |
638 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
639 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
640 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
641 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876)) | |
642 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
643 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007)) | |
644 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
645 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
646 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28609848, -1.26961899, 0.00253105164, 0.707106709, -0.707106769, 1.74346084e-007, 0.707106769, 0.707106709, -1.74345857e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
647 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
648 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007)) | |
649 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
650 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
651 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007)) | |
652 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
653 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
654 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
655 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
656 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
657 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
658 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
659 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
660 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007)) | |
661 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
662 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.200000003, 0.34799999)) | |
663 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000606894493, -1.54850197, -4.76837158e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1)) | |
664 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
665 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
666 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
667 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
668 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
669 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.23126626, -1.89697075, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
670 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000222, 1, 1)) | |
671 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
672 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.859739304, -1.87621498, 0.00253105164, 0.70710659, 0.70710659, -1.74345828e-007, -0.70710659, 0.70710659, -1.74346027e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
673 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
674 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58202362, 0.00305497646, 0.00253105164, 1.91577065e-008, -1, 2.46562593e-007, 0.999994159, 1.91577474e-008, -8.742213e-008, 4.37109904e-008, 2.46561086e-007, 0.999994159)) | |
675 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
676 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
677 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013)) | |
678 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
679 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.44659999, 0.69599998, 0.371199995)) | |
680 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555098057, -1.02645874, 0.00238800049, 0.999994278, 4.2154551e-009, 1.69303035e-013, -4.21544888e-009, 0.999999523, -2.46550201e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755)) | |
681 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
682 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
683 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.0024292469, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -6.38615347e-008, -1.22620908e-013, -6.38615347e-008, 0.999999702, -2.46562365e-007)) | |
684 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
685 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.200000003, 0.463999987, 0.34799999)) | |
686 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000650644302, -1.8385067, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
687 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
688 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.200000003, 4.75600052, 0.200000003)) | |
689 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000156164169, -4.68094444, -0.000274658203, 0.999971211, 5.13775689e-011, -1.44165397e-014, -5.13864507e-011, 1, 6.64499566e-011, 8.34828473e-015, -6.64783784e-011, 0.999971211)) | |
690 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000401, 1, 0.69599992)) | |
691 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
692 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007)) | |
693 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
694 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
695 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
696 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961)) | |
697 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
698 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
699 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
700 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
701 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
702 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
703 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.200000003, 0.231999993, 0.200000003)) | |
704 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000268936157, -7.1749382, -0.000166773796, -2.98020346e-008, 2.42384317e-007, 0.999980867, -2.50883971e-007, 1, -2.42379713e-007, -0.999980867, -2.50888746e-007, -2.98019742e-008)) | |
705 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.698320508, 1.00999999, 0.590207934)) | |
706 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.44659999, 1.15999997, 0.371199995)) | |
707 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00572288036, 0.249307632, 0.00253105164, 0.999997973, 4.25688151e-009, 1.37316929e-013, -4.25688196e-009, 0.999998093, -2.46561967e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881)) | |
708 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
709 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
710 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00575697422, 1.22929001, 0.00253105164, 1, 4.25689928e-009, 1.49599246e-013, -4.25689928e-009, 1, -2.46565691e-007, -1.50648848e-013, 2.46565691e-007, 1)) | |
711 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
712 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
713 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007)) | |
714 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
715 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.579999983, 0.34799999)) | |
716 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.347447634, -1.78050041, 0.000102043152, 0.999989986, 6.10373974e-011, -1.79689739e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999989986)) | |
717 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
718 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
719 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007)) | |
720 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
721 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
722 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
723 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876)) | |
724 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999)) | |
725 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.872640967, -2.18717003, 0.00248718262, 1, 4.25688995e-009, 1.37317214e-013, -4.25688995e-009, 1, -2.4656245e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
726 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
727 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007)) | |
728 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
729 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
730 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
731 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
732 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1.50800002, 1.04400003)) | |
733 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.53131104e-005, -7.8129406, 0.00018453598, 4.47029258e-008, 2.42408902e-007, 0.999980867, -2.50858221e-007, 1, -2.42404298e-007, -0.999980867, -2.50863025e-007, 4.47029933e-008)) | |
734 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.581159949, 1, 1)) | |
735 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
736 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000666975975, -2.18694496, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
737 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
738 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007)) | |
739 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
740 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999)) | |
741 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.173270226, -1.66498375, 0.0001039505, 0.999997854, 6.10373974e-011, -1.7969128e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79691145e-014, -7.57154339e-011, 0.999997854)) | |
742 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1)) | |
743 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
744 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008)) | |
745 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
746 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
747 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.863862991, -1.87209129, 0.00253105164, 0.70710659, -0.70710659, 1.74346027e-007, 0.70710659, 0.70710659, -1.74345828e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
748 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
749 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013)) | |
750 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
751 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
752 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007)) | |
753 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
754 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.580000043, 4.75600052, 0.200000003)) | |
755 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0001963377, -4.68094635, -9.53674316e-005, 0.999990404, 6.10373974e-011, -1.79689874e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57154339e-011, 0.999990404)) | |
756 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.638000011)) | |
757 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
758 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28197098, -1.27374649, 0.00253105164, 0.707106709, 0.707106769, -1.74345885e-007, -0.707106769, 0.707106709, -1.74346056e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
759 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
760 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.116648793, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
761 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
762 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
763 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008)) | |
764 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
765 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
766 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563848019, -0.388711929, 0.00253295898, 0.99999404, 4.25686464e-009, 1.37316401e-013, -4.25686508e-009, 0.999994159, -2.46561001e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881)) | |
767 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
768 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799999, 0.34799999, 0.200000003)) | |
769 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642)) | |
770 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.595080018, 0.683239937)) | |
771 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
772 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
773 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961)) | |
774 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.231999993, 0.34799999)) | |
775 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.347726822, -1.60689163, -9.05990601e-005, 0.99999994, 6.59379218e-011, -1.80878482e-014, -6.59667876e-011, 1, -5.95150595e-011, 2.41627922e-014, 5.94866378e-011, 0.99999994)) | |
776 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1)) | |
777 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
778 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007)) | |
779 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
780 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999)) | |
781 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.870689273, -2.18681908, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
782 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036)) | |
783 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000425338745, -0.231835961, -1.08489037, -4.08055101e-009, 2.02203083e-007, 0.99999994, 0.99999994, 2.42933169e-007, 4.08050749e-009, -2.42933169e-007, 1, -2.02203097e-007)) | |
784 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1)) | |
785 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.812000036, 0.200000003, 0.812000036)) | |
786 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013)) | |
787 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.444280028, 1)) | |
788 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
789 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
790 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939)) | |
791 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
792 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563395023, 0.887273788, 0.00253295898, 0.999990106, 4.25684776e-009, 1.37315859e-013, -4.25684821e-009, 0.999990225, -2.46560035e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881)) | |
793 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
794 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
795 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.348541379, -1.89650154, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
796 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
797 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003)) | |
798 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642)) | |
799 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.835199952, 0.808520079, 0.58927989)) | |
800 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
801 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555217266, -1.43245697, 0.00238800049, 0.999993682, 4.21545243e-009, 1.69302926e-013, -4.21544666e-009, 0.999998927, -2.46550059e-007, -1.77448618e-013, 2.46551593e-007, 0.999994755)) | |
802 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
803 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
804 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.115347862, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
805 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
806 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
807 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
808 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961)) | |
809 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999)) | |
810 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300365448, 1.44133759, 0.00253105164, 0.965925753, 0.258819014, -6.3814916e-008, -0.258819014, 0.965925753, -2.38161064e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
811 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
812 | ||
813 | local Lite = it("PointLight",Torso) | |
814 | Lite.Color = Color3.new(255, 255, 0) | |
815 | Lite.Range = 8 | |
816 | Lite.Brightness = 10 | |
817 | Lite.Shadows = true | |
818 | ||
819 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
820 | local prt=part("Custom",workspace,"Neon",0,0,"Cyan","Effect",vt(0.5,0.5,0.5)) | |
821 | prt.Anchored=true | |
822 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
823 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
824 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
825 | CF=Part.CFrame | |
826 | Numbb=0 | |
827 | randnumb=math.random()-math.random() | |
828 | for i=0,1,0.05 do | |
829 | wait() | |
830 | CF=CF*cf(0,1,0) | |
831 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
832 | Part.CFrame=CF*euler(Numbb,0,0) | |
833 | Part.Transparency=i | |
834 | Numbb=Numbb+randnumb | |
835 | end | |
836 | Part.Parent=nil | |
837 | end),prt) | |
838 | end | |
839 | --BreakEffect(BrickColor.new("Cyan"),Hitbox.CFrame,0.5,math.random(5,20),0.5) | |
840 | ||
841 | function attackone() | |
842 | attack=true | |
843 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
844 | for i=0,1,0.1 do | |
845 | swait() | |
846 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3) | |
847 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3) | |
848 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
849 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
850 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3) | |
851 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
852 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
853 | end | |
854 | so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1) | |
855 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1) | |
856 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
857 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
858 | if hum12 and not hum12:IsDescendantOf(Character) then | |
859 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
860 | for i = 1,10 do | |
861 | BreakEffect(BrickColor.new("Cyan"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
862 | end | |
863 | hitconasdf:disconnect() | |
864 | end | |
865 | end) | |
866 | for i=0,1,0.1 do | |
867 | swait() | |
868 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
869 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
870 | local h = 5 | |
871 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
872 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
873 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
874 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
875 | scfr = blcf | |
876 | elseif not scfr then | |
877 | scfr = blcf | |
878 | end | |
879 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3) | |
880 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3) | |
881 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
882 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
883 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3) | |
884 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
885 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
886 | end | |
887 | attack=false | |
888 | con:disconnect() | |
889 | scfr = nil | |
890 | pcall(function() | |
891 | hitconasdf:disconnect() | |
892 | end) | |
893 | end | |
894 | ||
895 | function attacktwo() | |
896 | attack=true | |
897 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
898 | for i=0,1,0.1 do | |
899 | swait() | |
900 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3) | |
901 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3) | |
902 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
903 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
904 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3) | |
905 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
906 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
907 | end | |
908 | so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9) | |
909 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9) | |
910 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
911 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
912 | if hum12 and not hum12:IsDescendantOf(Character) then | |
913 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
914 | for i = 1,10 do | |
915 | BreakEffect(BrickColor.new("Cyan"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
916 | end | |
917 | hitconasdf:disconnect() | |
918 | end | |
919 | end) | |
920 | for i=0,1,0.1 do | |
921 | swait() | |
922 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
923 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
924 | local h = 5 | |
925 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
926 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
927 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
928 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
929 | scfr = blcf | |
930 | elseif not scfr then | |
931 | scfr = blcf | |
932 | end | |
933 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3) | |
934 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3) | |
935 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
936 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
937 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3) | |
938 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
939 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
940 | end | |
941 | attack=false | |
942 | con:disconnect() | |
943 | scfr = nil | |
944 | pcall(function() | |
945 | hitconasdf:disconnect() | |
946 | end) | |
947 | end | |
948 | ||
949 | function Stab() | |
950 | attack=true | |
951 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
952 | for i=0,1,0.1 do | |
953 | swait() | |
954 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
955 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(60)),.3) | |
956 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(90)),.3) | |
957 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-90)),.3) | |
958 | LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
959 | RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
960 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
961 | end | |
962 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
963 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
964 | if hum12 and not hum12:IsDescendantOf(Character) then | |
965 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
966 | for i = 1,10 do | |
967 | BreakEffect(BrickColor.new("Cyan"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
968 | end | |
969 | hitconasdf:disconnect() | |
970 | end | |
971 | end) | |
972 | so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9) | |
973 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9) | |
974 | for i=0,1,0.1 do | |
975 | swait() | |
976 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
977 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
978 | local h = 5 | |
979 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
980 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
981 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
982 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
983 | scfr = blcf | |
984 | elseif not scfr then | |
985 | scfr = blcf | |
986 | end | |
987 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
988 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-80)),.4) | |
989 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
990 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.4) | |
991 | LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4) | |
992 | RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4) | |
993 | handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4) | |
994 | end | |
995 | con:disconnect() | |
996 | attack=false | |
997 | scfr = nil | |
998 | pcall(function() | |
999 | hitconasdf:disconnect() | |
1000 | end) | |
1001 | end | |
1002 | ||
1003 | function Spin() | |
1004 | attack=true | |
1005 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
1006 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
1007 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
1008 | if hum12 and not hum12:IsDescendantOf(Character) then | |
1009 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
1010 | for i = 1,10 do | |
1011 | BreakEffect(BrickColor.new("Cyan"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1012 | end | |
1013 | hitconasdf:disconnect() | |
1014 | end | |
1015 | end) | |
1016 | for i=0,1,1 do | |
1017 | so("http://roblox.com/asset/?id=154965962",Hitbox,1,1) | |
1018 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1) | |
1019 | swait() | |
1020 | for i=0,1,0.1 do | |
1021 | swait() | |
1022 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
1023 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1024 | local h = 5 | |
1025 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
1026 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1027 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
1028 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1029 | scfr = blcf | |
1030 | elseif not scfr then | |
1031 | scfr = blcf | |
1032 | end | |
1033 | RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3) | |
1034 | LW.C0=clerp(LW.C0,cf(-1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(50)),.3) | |
1035 | LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3) | |
1036 | RH.C0=clerp(RH.C0,cf(1,-.5,-1)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3) | |
1037 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(6*i,0,0),.5) | |
1038 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),1) | |
1039 | end | |
1040 | end | |
1041 | attack=false | |
1042 | con:disconnect() | |
1043 | scfr = nil | |
1044 | pcall(function() | |
1045 | hitconasdf:disconnect() | |
1046 | end) | |
1047 | end | |
1048 | ||
1049 | function ContAttack() | |
1050 | attack=true | |
1051 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
1052 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
1053 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
1054 | if hum12 and not hum12:IsDescendantOf(Character) then | |
1055 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
1056 | for i = 1,10 do | |
1057 | BreakEffect(BrickColor.new("Cyan"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1058 | end | |
1059 | hitconasdf:disconnect() | |
1060 | end | |
1061 | end) | |
1062 | for i=1,4 do | |
1063 | swait() | |
1064 | for i=0,1,0.2 do | |
1065 | swait() | |
1066 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3) | |
1067 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3) | |
1068 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1069 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1070 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3) | |
1071 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
1072 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
1073 | end | |
1074 | so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1) | |
1075 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1) | |
1076 | for i=0,1,0.2 do | |
1077 | swait() | |
1078 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
1079 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1080 | local h = 5 | |
1081 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
1082 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1083 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
1084 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1085 | scfr = blcf | |
1086 | elseif not scfr then | |
1087 | scfr = blcf | |
1088 | end | |
1089 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3) | |
1090 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3) | |
1091 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1092 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1093 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3) | |
1094 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1095 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
1096 | end | |
1097 | for i=0,1,0.2 do | |
1098 | swait() | |
1099 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3) | |
1100 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3) | |
1101 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1102 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1103 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3) | |
1104 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
1105 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
1106 | end | |
1107 | so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9) | |
1108 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9) | |
1109 | for i=0,1,0.2 do | |
1110 | swait() | |
1111 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
1112 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1113 | local h = 5 | |
1114 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
1115 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1116 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
1117 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1118 | scfr = blcf | |
1119 | elseif not scfr then | |
1120 | scfr = blcf | |
1121 | end | |
1122 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3) | |
1123 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3) | |
1124 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1125 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1126 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3) | |
1127 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
1128 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
1129 | end | |
1130 | end | |
1131 | attack=false | |
1132 | con:disconnect() | |
1133 | scfr = nil | |
1134 | pcall(function() | |
1135 | hitconasdf:disconnect() | |
1136 | end) | |
1137 | end | |
1138 | ||
1139 | ||
1140 | function Sheathe() | |
1141 | attack = true | |
1142 | so("http://www.roblox.com/asset/?id=273797222",Hitbox,1,.9) | |
1143 | CurrentMode = "Sheathed" | |
1144 | for i = 0,1,0.1 do | |
1145 | swait() | |
1146 | handleweld.Part0 = Torso | |
1147 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1148 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3) | |
1149 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3) | |
1150 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3) | |
1151 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1152 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1153 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
1154 | end | |
1155 | attack = false | |
1156 | end | |
1157 | ||
1158 | function Unsheathe() | |
1159 | attack = true | |
1160 | CurrentMode = "Unsheathed" | |
1161 | so("http://www.roblox.com/asset/?id=239169404",Hitbox,1,.9) | |
1162 | for i = 0,1,0.1 do | |
1163 | swait() | |
1164 | handleweld.Part0 = RightArm | |
1165 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
1166 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
1167 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(200),math.rad(0),math.rad(0)),.3) | |
1168 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(-30),math.rad(-30)),.3) | |
1169 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1170 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1171 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3) | |
1172 | end | |
1173 | scfr = nil | |
1174 | attack = false | |
1175 | end | |
1176 | ||
1177 | local Sit = false | |
1178 | ||
1179 | mouse.Button1Down:connect(function() | |
1180 | if attack==false then | |
1181 | if attacktype==1 and CurrentMode == "Unsheathed" then | |
1182 | attack=true | |
1183 | attacktype=2 | |
1184 | attackone() | |
1185 | elseif attacktype==2 and CurrentMode == "Unsheathed" then | |
1186 | attack=true | |
1187 | attacktype=1 | |
1188 | attacktwo() | |
1189 | end | |
1190 | end | |
1191 | end) | |
1192 | ||
1193 | ||
1194 | mouse.KeyDown:connect(function(k) | |
1195 | k=k:lower() | |
1196 | if k=='q' then | |
1197 | if attack==false and CurrentMode == "Unsheathed" then | |
1198 | Stab() | |
1199 | end | |
1200 | elseif k=='e' then | |
1201 | if attack==false and CurrentMode == "Unsheathed" then | |
1202 | Spin() | |
1203 | end | |
1204 | elseif k=='r' then | |
1205 | if attack==false and CurrentMode == "Unsheathed" then | |
1206 | ContAttack() | |
1207 | end | |
1208 | elseif k=='f' then | |
1209 | if attack==false and CurrentMode == "Unsheathed" then | |
1210 | Sheathe() | |
1211 | elseif k=='f' then | |
1212 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
1213 | Unsheathe() | |
1214 | end | |
1215 | end | |
1216 | elseif k=='t' then | |
1217 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
1218 | Sit = true | |
1219 | Humanoid.WalkSpeed = 0 | |
1220 | elseif k=='t' then | |
1221 | if attack==false and Sit == true and CurrentMode == "Sheathed" then | |
1222 | Sit = false | |
1223 | Humanoid.WalkSpeed = 16 | |
1224 | end | |
1225 | end | |
1226 | ||
1227 | end | |
1228 | end) | |
1229 | ||
1230 | ||
1231 | local sine = 0 | |
1232 | local change = 1 | |
1233 | local val = 0 | |
1234 | ||
1235 | while true do | |
1236 | swait() | |
1237 | sine = sine + change | |
1238 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
1239 | local velderp=RootPart.Velocity.y | |
1240 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
1241 | if equipped==true or equipped==false then | |
1242 | if attack==false then | |
1243 | idle=idle+1 | |
1244 | else | |
1245 | idle=0 | |
1246 | end | |
1247 | if idle>=500 then | |
1248 | if attack==false then | |
1249 | end | |
1250 | end | |
1251 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
1252 | Anim="Jump" | |
1253 | if attack==false and Sit == false and CurrentMode == "Unsheathed" then | |
1254 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1255 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
1256 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(50),math.rad(0),math.rad(30)),.3) | |
1257 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1258 | LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1259 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3) | |
1260 | end | |
1261 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
1262 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
1263 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1264 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(30)),.3) | |
1265 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3) | |
1266 | LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1267 | RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1268 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
1269 | end | |
1270 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
1271 | Anim="Fall" | |
1272 | if attack==false and Sit == false and CurrentMode == "Unsheathed" then | |
1273 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1274 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1275 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3) | |
1276 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1277 | LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1278 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3) | |
1279 | end | |
1280 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
1281 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1282 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
1283 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(50)),.3) | |
1284 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-50)),.3) | |
1285 | LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1286 | RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1287 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
1288 | end | |
1289 | elseif torvel<1 and hitfloor~=nil then | |
1290 | Anim="Idle" | |
1291 | if attack==false and Sit == false and CurrentMode == "Unsheathed" then | |
1292 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3) | |
1293 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(40)),.3) | |
1294 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(40),math.rad(0),math.rad(20)),.3) | |
1295 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3) | |
1296 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1297 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1298 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3) | |
1299 | end | |
1300 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
1301 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1302 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3) | |
1303 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(5)),.3) | |
1304 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-5)),.3) | |
1305 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1306 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1307 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
1308 | end | |
1309 | if attack==false and Sit == true and CurrentMode == "Sheathed" then | |
1310 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
1311 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1312 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(0),math.rad(5)),.3) | |
1313 | LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(30)),.3) | |
1314 | LH.C0=clerp(LH.C0,cf(-1,.7,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1315 | RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(70))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1316 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
1317 | end | |
1318 | elseif torvel>2 and hitfloor~=nil then | |
1319 | Anim="Walk" | |
1320 | if attack==false and Sit == false and CurrentMode == "Unsheathed" then | |
1321 | change=3 | |
1322 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
1323 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
1324 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3) | |
1325 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30),math.rad(5),math.rad(-10)),.3) | |
1326 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1327 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1328 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(15),math.rad(-10),math.rad(0)),.3) | |
1329 | end | |
1330 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
1331 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1332 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1333 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(30*math.cos(sine/10)),math.rad(0),math.rad(5)),.3) | |
1334 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30*math.cos(sine/10)),math.rad(0),math.rad(-5)),.3) | |
1335 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
1336 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
1337 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
1338 | end | |
1339 | end | |
1340 | end | |
1341 | if #Effects>0 then | |
1342 | for e=1,#Effects do | |
1343 | if Effects[e]~=nil then | |
1344 | local Thing=Effects[e] | |
1345 | if Thing~=nil then | |
1346 | local Part=Thing[1] | |
1347 | local Mode=Thing[2] | |
1348 | local Delay=Thing[3] | |
1349 | local IncX=Thing[4] | |
1350 | local IncY=Thing[5] | |
1351 | local IncZ=Thing[6] | |
1352 | if Thing[1].Transparency<=1 then | |
1353 | if Thing[2]=="Block1" then | |
1354 | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1355 | Mesh=Thing[1].Mesh | |
1356 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1357 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1358 | elseif Thing[2]=="Cylinder" then | |
1359 | Mesh=Thing[1].Mesh | |
1360 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1361 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1362 | elseif Thing[2]=="Blood" then | |
1363 | Mesh=Thing[7] | |
1364 | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) | |
1365 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1366 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1367 | elseif Thing[2]=="Elec" then | |
1368 | Mesh=Thing[1].Mesh | |
1369 | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) | |
1370 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1371 | elseif Thing[2]=="Disappear" then | |
1372 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1373 | end | |
1374 | else | |
1375 | Part.Parent=nil | |
1376 | table.remove(Effects,e) | |
1377 | end | |
1378 | end | |
1379 | end | |
1380 | end | |
1381 | end | |
1382 | end |