SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end | |
2 | print("FE Compatibility: by WaverlyCole & Mokiros") | |
3 | InternalData = {} | |
4 | do | |
5 | script.Parent = owner.Character | |
6 | local Event = Instance.new("RemoteEvent") | |
7 | Event.Name = "UserInput" | |
8 | local function NewFakeEvent() | |
9 | local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect | |
10 | return Fake | |
11 | end | |
12 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
13 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
14 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
15 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
16 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
17 | local function TriggerEvent(self,Event,...) | |
18 | local Trigger = Mouse[Event] | |
19 | if Trigger and Trigger.fakeEvent and Trigger.Function then | |
20 | Trigger.Function(...) | |
21 | end | |
22 | end | |
23 | Mouse.TrigEvent = TriggerEvent | |
24 | UserInputService.TrigEvent = TriggerEvent | |
25 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
26 | if FiredBy.Name ~= owner.Name then end | |
27 | if Input.MouseEvent then | |
28 | Mouse.Target = Input.Target | |
29 | Mouse.Hit = Input.Hit | |
30 | else | |
31 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
32 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then | |
33 | return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") | |
34 | end | |
35 | for _,Action in pairs(ContextActionService.Actions) do | |
36 | for _,Key in pairs(Action.Keys) do | |
37 | if Key==Input.KeyCode then | |
38 | Action.Function(Action.Name,Input.UserInputState,Input) | |
39 | end | |
40 | end | |
41 | end | |
42 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
43 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
44 | end | |
45 | end) | |
46 | InternalData["Mouse"] = Mouse | |
47 | InternalData["ContextActionService"] = ContextActionService | |
48 | InternalData["UserInputService"] = UserInputService | |
49 | Event.Parent = NLS([[ | |
50 | local Player = owner | |
51 | local Event = script:WaitForChild("UserInput") | |
52 | local UserInputService = game:GetService("UserInputService") | |
53 | local Mouse = Player:GetMouse() | |
54 | local Input = function(Input,gameProcessedEvent) | |
55 | if gameProcessedEvent then return end | |
56 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
57 | end | |
58 | UserInputService.InputBegan:Connect(Input) | |
59 | UserInputService.InputEnded:Connect(Input) | |
60 | local Hit,Target | |
61 | while wait(1/30) do | |
62 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
63 | Hit,Target = Mouse.Hit,Mouse.Target | |
64 | Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
65 | end | |
66 | end | |
67 | ]],owner.Character) | |
68 | end | |
69 | RealGame = game;game = setmetatable({},{ | |
70 | __index = function (self,Index) | |
71 | local Sandbox = function (Thing) | |
72 | if Thing:IsA("Player") then | |
73 | local RealPlayer = Thing | |
74 | return setmetatable({},{ | |
75 | __index = function (self,Index) | |
76 | local Type = type(RealPlayer[Index]) | |
77 | if Type == "function" then | |
78 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
79 | return function (self) | |
80 | return InternalData["Mouse"] | |
81 | end | |
82 | end | |
83 | return function (self,...) | |
84 | return RealPlayer[Index](RealPlayer,...) | |
85 | end | |
86 | else | |
87 | if Index == "PlrObj" then | |
88 | return RealPlayer | |
89 | end | |
90 | return RealPlayer[Index] | |
91 | end | |
92 | end; | |
93 | __tostring = function(self) | |
94 | return RealPlayer.Name | |
95 | end | |
96 | }) | |
97 | end | |
98 | end | |
99 | if RealGame[Index] then | |
100 | local Type = type(RealGame[Index]) | |
101 | if Type == "function" then | |
102 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
103 | return function (self,Service) | |
104 | if Service:lower() == "players" then | |
105 | return setmetatable({},{ | |
106 | __index = function (self2,Index2) | |
107 | local RealService = RealGame:GetService(Service) | |
108 | local Type2 = type(Index2) | |
109 | if Type2 == "function" then | |
110 | return function (self,...) | |
111 | return RealService[Index2](RealService,...) | |
112 | end | |
113 | else | |
114 | if Index2:lower() == "localplayer" then | |
115 | return Sandbox(owner) | |
116 | end | |
117 | return RealService[Index2] | |
118 | end | |
119 | end; | |
120 | __tostring = function(self) | |
121 | return RealGame:GetService(Service).Name | |
122 | end | |
123 | }) | |
124 | elseif Service:lower() == "contextactionservice" then | |
125 | return InternalData["ContextActionService"] | |
126 | elseif Service:lower() == "contextactionservice" then | |
127 | return InternalData["UserInputService"] | |
128 | elseif Service:lower() == "runservice" then | |
129 | return setmetatable({},{ | |
130 | __index = function(self2,Index2) | |
131 | local RealService = RealGame:GetService(Service) | |
132 | local Type2 = type(Index2) | |
133 | if Type2 == "function" then | |
134 | return function (self,...) | |
135 | return RealService[Index2](RealService,...) | |
136 | end | |
137 | else | |
138 | if Index2:lower() == "bindtorenderstep" then | |
139 | return function (self,Name,Priority,Function) | |
140 | return RealGame:GetService("RunService").Stepped:Connect(Function) | |
141 | end | |
142 | end | |
143 | if Index2:lower() == "renderstepped" then | |
144 | return RealService["Stepped"] | |
145 | end | |
146 | return RealService[Index2] | |
147 | end | |
148 | end | |
149 | }) | |
150 | else | |
151 | return RealGame:GetService(Service) | |
152 | end | |
153 | end | |
154 | end | |
155 | return function (self,...) | |
156 | return RealGame[Index](RealGame,...) | |
157 | end | |
158 | else | |
159 | if game:GetService(Index) then | |
160 | return game:GetService(Index) | |
161 | end | |
162 | return RealGame[Index] | |
163 | end | |
164 | else | |
165 | return nil | |
166 | end | |
167 | end | |
168 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = {} | |
169 | print("Complete! Running...") | |
170 | ||
171 | ||
172 | --//Paste script below this line. | |
173 | ||
174 | Player=game:GetService("Players").LocalPlayer | |
175 | Character=Player.Character | |
176 | PlayerGui=Player.PlayerGui | |
177 | Backpack=Player.Backpack | |
178 | Torso=Character.Torso | |
179 | Head=Character.Head | |
180 | Humanoid=Character.Humanoid | |
181 | LeftArm=Character["Left Arm"] | |
182 | LeftLeg=Character["Left Leg"] | |
183 | RightArm=Character["Right Arm"] | |
184 | RightLeg=Character["Right Leg"] | |
185 | LS=Torso["Left Shoulder"] | |
186 | LH=Torso["Left Hip"] | |
187 | RS=Torso["Right Shoulder"] | |
188 | RH=Torso["Right Hip"] | |
189 | Face = Head.face | |
190 | Neck=Torso.Neck | |
191 | it=Instance.new | |
192 | attacktype=1 | |
193 | vt=Vector3.new | |
194 | cf=CFrame.new | |
195 | euler=CFrame.fromEulerAnglesXYZ | |
196 | angles=CFrame.Angles | |
197 | cloaked=false | |
198 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
199 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
200 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
201 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
202 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
203 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
204 | RootPart=Character.HumanoidRootPart | |
205 | RootJoint=RootPart.RootJoint | |
206 | RootCF=euler(-1.57,0,3.14) | |
207 | attack = false | |
208 | attackdebounce = false | |
209 | deb=false | |
210 | equipped=true | |
211 | hand=false | |
212 | MMouse=nil | |
213 | combo=0 | |
214 | mana=0 | |
215 | trispeed=.2 | |
216 | attackmode='none' | |
217 | local idle=0 | |
218 | local Anim="Idle" | |
219 | local Effects={} | |
220 | local gun=false | |
221 | local shoot=false | |
222 | player=nil | |
223 | mana=0 | |
224 | cam = workspace.CurrentCamera | |
225 | ZTarget = nil | |
226 | RocketTarget = nil | |
227 | local m = Instance.new("Model",Character) | |
228 | m.Name = "WeaponModel" | |
229 | ||
230 | mouse=Player:GetMouse() | |
231 | --save shoulders | |
232 | RSH, LSH=nil, nil | |
233 | --welds | |
234 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
235 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
236 | LH=Torso["Left Hip"] | |
237 | RH=Torso["Right Hip"] | |
238 | TorsoColor=Torso.BrickColor | |
239 | function NoOutline(Part) | |
240 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
241 | end | |
242 | player=Player | |
243 | ch=Character | |
244 | RSH=ch.Torso["Right Shoulder"] | |
245 | LSH=ch.Torso["Left Shoulder"] | |
246 | -- | |
247 | RSH.Parent=nil | |
248 | LSH.Parent=nil | |
249 | -- | |
250 | RW.Name="Right Shoulder" | |
251 | RW.Part0=ch.Torso | |
252 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
253 | RW.C1=cf(0, 0.5, 0) | |
254 | RW.Part1=ch["Right Arm"] | |
255 | RW.Parent=ch.Torso | |
256 | -- | |
257 | LW.Name="Left Shoulder" | |
258 | LW.Part0=ch.Torso | |
259 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
260 | LW.C1=cf(0, 0.5, 0) | |
261 | LW.Part1=ch["Left Arm"] | |
262 | LW.Parent=ch.Torso | |
263 | ||
264 | function swait(num) | |
265 | if num==0 or num==nil then | |
266 | game:service'RunService'.Stepped:wait(0) | |
267 | else | |
268 | for i=0,num do | |
269 | game:service'RunService'.Stepped:wait(0) | |
270 | end | |
271 | end | |
272 | end | |
273 | ||
274 | function nooutline(part) | |
275 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
276 | end | |
277 | ||
278 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
279 | local fp=it("Part") | |
280 | fp.formFactor=formfactor | |
281 | fp.Parent=parent | |
282 | fp.Reflectance=reflectance | |
283 | fp.Transparency=transparency | |
284 | fp.CanCollide=false | |
285 | fp.Locked=true | |
286 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
287 | fp.Name=name | |
288 | fp.Size=size | |
289 | fp.Position=Character.Torso.Position | |
290 | nooutline(fp) | |
291 | fp.Material=material | |
292 | fp:BreakJoints() | |
293 | return fp | |
294 | end | |
295 | ||
296 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
297 | local mesh=it(Mesh) | |
298 | mesh.Parent=part | |
299 | if Mesh=="SpecialMesh" then | |
300 | mesh.MeshType=meshtype | |
301 | mesh.MeshId=meshid | |
302 | end | |
303 | mesh.Offset=offset | |
304 | mesh.Scale=scale | |
305 | return mesh | |
306 | end | |
307 | ||
308 | function weld(parent,part0,part1,c0,c1) | |
309 | local weld=it("Weld") | |
310 | weld.Parent=parent | |
311 | weld.Part0=part0 | |
312 | weld.Part1=part1 | |
313 | weld.C0=c0 | |
314 | weld.C1=c1 | |
315 | return weld | |
316 | end | |
317 | ||
318 | ||
319 | local function CFrameFromTopBack(at, top, back) | |
320 | local right = top:Cross(back) | |
321 | return CFrame.new(at.x, at.y, at.z, | |
322 | right.x, top.x, back.x, | |
323 | right.y, top.y, back.y, | |
324 | right.z, top.z, back.z) | |
325 | end | |
326 | ||
327 | function Triangle(a, b, c) | |
328 | local edg1 = (c-a):Dot((b-a).unit) | |
329 | local edg2 = (a-b):Dot((c-b).unit) | |
330 | local edg3 = (b-c):Dot((a-c).unit) | |
331 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
332 | a, b, c = a, b, c | |
333 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
334 | a, b, c = b, c, a | |
335 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
336 | a, b, c = c, a, b | |
337 | else | |
338 | assert(false, "unreachable") | |
339 | end | |
340 | ||
341 | local len1 = (c-a):Dot((b-a).unit) | |
342 | local len2 = (b-a).magnitude - len1 | |
343 | local width = (a + (b-a).unit*len1 - c).magnitude | |
344 | ||
345 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
346 | ||
347 | local list = {} | |
348 | ||
349 | local TrailColor = ("Navy blue") | |
350 | ||
351 | if len1 > 0.01 then | |
352 | local w1 = Instance.new('WedgePart', m) | |
353 | game:GetService("Debris"):AddItem(w1,5) | |
354 | w1.Material = "SmoothPlastic" | |
355 | w1.FormFactor = 'Custom' | |
356 | w1.BrickColor = BrickColor.new(TrailColor) | |
357 | w1.Transparency = 0 | |
358 | w1.Reflectance = 0 | |
359 | w1.Material = "Neon" | |
360 | w1.CanCollide = false | |
361 | NoOutline(w1) | |
362 | local sz = Vector3.new(0.2, width, len1) | |
363 | w1.Size = sz | |
364 | local sp = Instance.new("SpecialMesh",w1) | |
365 | sp.MeshType = "Wedge" | |
366 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
367 | w1:BreakJoints() | |
368 | w1.Anchored = true | |
369 | w1.Parent = workspace | |
370 | w1.Transparency = 0.7 | |
371 | table.insert(Effects,{w1,"Disappear",.01}) | |
372 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
373 | table.insert(list,w1) | |
374 | end | |
375 | ||
376 | if len2 > 0.01 then | |
377 | local w2 = Instance.new('WedgePart', m) | |
378 | game:GetService("Debris"):AddItem(w2,5) | |
379 | w2.Material = "SmoothPlastic" | |
380 | w2.FormFactor = 'Custom' | |
381 | w2.BrickColor = BrickColor.new(TrailColor) | |
382 | w2.Transparency = 0 | |
383 | w2.Reflectance = 0 | |
384 | w2.Material = "Neon" | |
385 | w2.CanCollide = false | |
386 | NoOutline(w2) | |
387 | local sz = Vector3.new(0.2, width, len2) | |
388 | w2.Size = sz | |
389 | local sp = Instance.new("SpecialMesh",w2) | |
390 | sp.MeshType = "Wedge" | |
391 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
392 | w2:BreakJoints() | |
393 | w2.Anchored = true | |
394 | w2.Parent = workspace | |
395 | w2.Transparency = 0.7 | |
396 | table.insert(Effects,{w2,"Disappear",.01}) | |
397 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
398 | table.insert(list,w2) | |
399 | end | |
400 | return unpack(list) | |
401 | end | |
402 | ||
403 | ||
404 | so = function(id,par,vol,pit) | |
405 | coroutine.resume(coroutine.create(function() | |
406 | local sou = Instance.new("Sound",par or workspace) | |
407 | sou.Volume=vol | |
408 | sou.Pitch=pit or 1 | |
409 | sou.SoundId=id | |
410 | swait() | |
411 | sou:play() | |
412 | game:GetService("Debris"):AddItem(sou,6) | |
413 | end)) | |
414 | end | |
415 | ||
416 | function clerp(a,b,t) | |
417 | local qa = {QuaternionFromCFrame(a)} | |
418 | local qb = {QuaternionFromCFrame(b)} | |
419 | local ax, ay, az = a.x, a.y, a.z | |
420 | local bx, by, bz = b.x, b.y, b.z | |
421 | local _t = 1-t | |
422 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
423 | end | |
424 | ||
425 | function QuaternionFromCFrame(cf) | |
426 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
427 | local trace = m00 + m11 + m22 | |
428 | if trace > 0 then | |
429 | local s = math.sqrt(1 + trace) | |
430 | local recip = 0.5/s | |
431 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
432 | else | |
433 | local i = 0 | |
434 | if m11 > m00 then | |
435 | i = 1 | |
436 | end | |
437 | if m22 > (i == 0 and m00 or m11) then | |
438 | i = 2 | |
439 | end | |
440 | if i == 0 then | |
441 | local s = math.sqrt(m00-m11-m22+1) | |
442 | local recip = 0.5/s | |
443 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
444 | elseif i == 1 then | |
445 | local s = math.sqrt(m11-m22-m00+1) | |
446 | local recip = 0.5/s | |
447 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
448 | elseif i == 2 then | |
449 | local s = math.sqrt(m22-m00-m11+1) | |
450 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
451 | end | |
452 | end | |
453 | end | |
454 | ||
455 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
456 | local xs, ys, zs = x + x, y + y, z + z | |
457 | local wx, wy, wz = w*xs, w*ys, w*zs | |
458 | local xx = x*xs | |
459 | local xy = x*ys | |
460 | local xz = x*zs | |
461 | local yy = y*ys | |
462 | local yz = y*zs | |
463 | local zz = z*zs | |
464 | 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)) | |
465 | end | |
466 | ||
467 | function QuaternionSlerp(a, b, t) | |
468 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
469 | local startInterp, finishInterp; | |
470 | if cosTheta >= 0.0001 then | |
471 | if (1 - cosTheta) > 0.0001 then | |
472 | local theta = math.acos(cosTheta) | |
473 | local invSinTheta = 1/math.sin(theta) | |
474 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
475 | finishInterp = math.sin(t*theta)*invSinTheta | |
476 | else | |
477 | startInterp = 1-t | |
478 | finishInterp = t | |
479 | end | |
480 | else | |
481 | if (1+cosTheta) > 0.0001 then | |
482 | local theta = math.acos(-cosTheta) | |
483 | local invSinTheta = 1/math.sin(theta) | |
484 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
485 | finishInterp = math.sin(t*theta)*invSinTheta | |
486 | else | |
487 | startInterp = t-1 | |
488 | finishInterp = t | |
489 | end | |
490 | end | |
491 | 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 | |
492 | end | |
493 | ||
494 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
495 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
496 | end | |
497 | ||
498 | Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
499 | if hit.Parent==nil then | |
500 | return | |
501 | end | |
502 | local h=hit.Parent:FindFirstChild("Humanoid") | |
503 | for _,v in pairs(hit.Parent:children()) do | |
504 | if v:IsA("Humanoid") then | |
505 | h=v | |
506 | end | |
507 | end | |
508 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
509 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
510 | end | |
511 | if hit.Parent.className=="Hat" then | |
512 | hit=hit.Parent.Parent:findFirstChild("Head") | |
513 | end | |
514 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
515 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
516 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
517 | return | |
518 | end]] | |
519 | -- hs(hit,1.2) | |
520 | local c=Instance.new("ObjectValue") | |
521 | c.Name="creator" | |
522 | c.Value=game:service("Players").LocalPlayer | |
523 | c.Parent=h | |
524 | game:GetService("Debris"):AddItem(c,.5) | |
525 | local Damage=math.random(minim,maxim) | |
526 | -- h:TakeDamage(Damage) | |
527 | local blocked=false | |
528 | local block=hit.Parent:findFirstChild("Block") | |
529 | if block~=nil then | |
530 | print(block.className) | |
531 | if block.className=="NumberValue" then | |
532 | if block.Value>0 then | |
533 | blocked=true | |
534 | if decreaseblock==nil then | |
535 | block.Value=block.Value-1 | |
536 | end | |
537 | end | |
538 | end | |
539 | if block.className=="IntValue" then | |
540 | if block.Value>0 then | |
541 | blocked=true | |
542 | if decreaseblock~=nil then | |
543 | block.Value=block.Value-1 | |
544 | end | |
545 | end | |
546 | end | |
547 | end | |
548 | if blocked==false then | |
549 | -- h:TakeDamage(Damage) | |
550 | h.Health=h.Health-Damage | |
551 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color) | |
552 | else | |
553 | h.Health=h.Health-(Damage/2) | |
554 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color) | |
555 | end | |
556 | if Type=="Knockdown" then | |
557 | local hum=hit.Parent.Humanoid | |
558 | hum.PlatformStand=true | |
559 | coroutine.resume(coroutine.create(function(HHumanoid) | |
560 | swait(1) | |
561 | HHumanoid.PlatformStand=false | |
562 | end),hum) | |
563 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
564 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
565 | local bodvol=Instance.new("BodyVelocity") | |
566 | bodvol.velocity=angle*knockback | |
567 | bodvol.P=5000 | |
568 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
569 | bodvol.Parent=hit | |
570 | local rl=Instance.new("BodyAngularVelocity") | |
571 | rl.P=3000 | |
572 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
573 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
574 | rl.Parent=hit | |
575 | game:GetService("Debris"):AddItem(bodvol,.5) | |
576 | game:GetService("Debris"):AddItem(rl,.5) | |
577 | elseif Type=="Normal" then | |
578 | local vp=Instance.new("BodyVelocity") | |
579 | vp.P=500 | |
580 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
581 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
582 | if KnockbackType==1 then | |
583 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
584 | elseif KnockbackType==2 then | |
585 | vp.velocity=Property.CFrame.lookVector*knockback | |
586 | end | |
587 | if knockback>0 then | |
588 | vp.Parent=hit.Parent.Torso | |
589 | end | |
590 | game:GetService("Debris"):AddItem(vp,.5) | |
591 | elseif Type=="Up" then | |
592 | local bodyVelocity=Instance.new("BodyVelocity") | |
593 | bodyVelocity.velocity=vt(0,60,0) | |
594 | bodyVelocity.P=5000 | |
595 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
596 | bodyVelocity.Parent=hit | |
597 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
598 | local rl=Instance.new("BodyAngularVelocity") | |
599 | rl.P=3000 | |
600 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
601 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
602 | rl.Parent=hit | |
603 | game:GetService("Debris"):AddItem(rl,.5) | |
604 | elseif Type=="Snare" then | |
605 | local bp=Instance.new("BodyPosition") | |
606 | bp.P=2000 | |
607 | bp.D=100 | |
608 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
609 | bp.position=hit.Parent.Torso.Position | |
610 | bp.Parent=hit.Parent.Torso | |
611 | game:GetService("Debris"):AddItem(bp,1) | |
612 | elseif Type=="Target" then | |
613 | local Targetting = false | |
614 | if Targetting==false then | |
615 | ZTarget=hit.Parent.Torso | |
616 | coroutine.resume(coroutine.create(function(Part) | |
617 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
618 | swait(5) | |
619 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
620 | end),ZTarget) | |
621 | local TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
622 | local targetgui=Instance.new("BillboardGui") | |
623 | targetgui.Parent=ZTarget | |
624 | targetgui.Size=UDim2.new(10,100,10,100) | |
625 | local targ=Instance.new("ImageLabel") | |
626 | targ.Parent=targetgui | |
627 | targ.BackgroundTransparency=1 | |
628 | targ.Image="rbxassetid://4834067" | |
629 | targ.Size=UDim2.new(1,0,1,0) | |
630 | cam.CameraType="Scriptable" | |
631 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
632 | local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
633 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
634 | Targetting=true | |
635 | RocketTarget=ZTarget | |
636 | for i=1,Property do | |
637 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
638 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
639 | swait() | |
640 | end | |
641 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
642 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
643 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
644 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
645 | end | |
646 | Targetting=false | |
647 | RocketTarget=nil | |
648 | targetgui.Parent=nil | |
649 | cam.CameraType="Custom" | |
650 | end | |
651 | end | |
652 | local debounce=Instance.new("BoolValue") | |
653 | debounce.Name="DebounceHit" | |
654 | debounce.Parent=hit.Parent | |
655 | debounce.Value=true | |
656 | game:GetService("Debris"):AddItem(debounce,Delay) | |
657 | c=Instance.new("ObjectValue") | |
658 | c.Name="creator" | |
659 | c.Value=Player | |
660 | c.Parent=h | |
661 | game:GetService("Debris"):AddItem(c,.5) | |
662 | end | |
663 | end | |
664 | ||
665 | ||
666 | function ShowDamage(Pos, Text, Time, Color) | |
667 | local Rate = (1 / 30) | |
668 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
669 | local Text = (Text or "") | |
670 | local Time = (Time or 2) | |
671 | local Color = (Color or Color3.new(1, 0, 0)) | |
672 | local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0)) | |
673 | EffectPart.Anchored = true | |
674 | local BillboardGui = Instance.new("BillboardGui") | |
675 | BillboardGui.Size = UDim2.new(3, 0, 3, 0) | |
676 | BillboardGui.Adornee = EffectPart | |
677 | local TextLabel = Instance.new("TextLabel") | |
678 | TextLabel.BackgroundTransparency = 1 | |
679 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
680 | TextLabel.Text = Text | |
681 | TextLabel.TextColor3 = Color | |
682 | TextLabel.TextScaled = true | |
683 | TextLabel.Font = Enum.Font.ArialBold | |
684 | TextLabel.Parent = BillboardGui | |
685 | BillboardGui.Parent = EffectPart | |
686 | game.Debris:AddItem(EffectPart, (Time + 0.1)) | |
687 | EffectPart.Parent = game:GetService("Workspace") | |
688 | Delay(0, function() | |
689 | local Frames = (Time / Rate) | |
690 | for Frame = 1, Frames do | |
691 | wait(Rate) | |
692 | local Percent = (Frame / Frames) | |
693 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
694 | TextLabel.TextTransparency = Percent | |
695 | end | |
696 | if EffectPart and EffectPart.Parent then | |
697 | EffectPart:Destroy() | |
698 | end | |
699 | end) | |
700 | end | |
701 | ||
702 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Institutional white","Handle",Vector3.new(0.416514248, 1.4000001, 0.416514456)) | |
703 | handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.05613828, -0.0183410645, 0.000350952148, 1.87702778e-006, 0.999999523, 1.76214598e-012, 1.14752652e-012, 1.32871481e-012, -0.999993563, -0.999993443, 1.84723399e-006, -9.5567998e-013)) | |
704 | mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.694191515, 1)) | |
705 | Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Navy blue","Hitbox",Vector3.new(1.0941906, 5.3651495, 0.200000003)) | |
706 | Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, -4.55644989, 0.00016784668, 0.999999285, 4.60235669e-011, -1.72535329e-006, -4.68979022e-011, 0.999987125, 1.07980942e-012, 1.66581015e-006, -1.39247641e-012, 0.999986887)) | |
707 | mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.694190681)) | |
708 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456)) | |
709 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, 0.000577092171, 1.45775223, -1.76544672e-005, -6.57531132e-008, 0.999993443, -0.999999464, 1.02817339e-005, -1.76243502e-005, -1.02966969e-005, -0.999993443, -6.59328947e-008)) | |
710 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.272122681, 0.505371451, 0.201315284)) | |
711 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514248, 0.200000003, 0.416514456)) | |
712 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, -0.694141388, 0, 0.999999285, -4.3341795e-013, -2.97819724e-008, -4.3341795e-013, 0.999987125, -1.91842744e-013, -2.97819724e-008, -1.91842744e-013, 0.999986887)) | |
713 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.694191515, 1)) | |
714 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456)) | |
715 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000289916992, 1.03119278, 1.03037834, -1.92463904e-005, -7.25203245e-006, 0.999993443, -0.707113385, -0.70709455, -1.87159931e-005, 0.707098842, -0.707109213, 8.4597923e-006)) | |
716 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.283229738, 0.238801882, 0.201315284)) | |
717 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.416514248, 0.416515023, 0.416514456)) | |
718 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, -0.416484833, 0, 0.999999285, -4.3341795e-013, -2.97819724e-008, -4.3341795e-013, 0.999987125, -1.91842744e-013, -2.97819724e-008, -1.91842744e-013, 0.999986887)) | |
719 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
720 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456)) | |
721 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, -1.45775223, 0.000576972961, -1.94078439e-005, -7.46359137e-006, 0.999993443, 1.03413868e-005, 0.999993145, 7.46378964e-006, -0.999999166, 1.03562397e-005, -1.93776359e-005)) | |
722 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.272122681, 0.505371451, 0.201315284)) | |
723 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.416514248, 0.277676612, 0.416514456)) | |
724 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, -0.902637482, 0.000198364258, 0.999999285, -1.23285471e-009, -1.15901048e-006, 1.23199539e-009, 0.999987125, -1.96591137e-012, 1.09946052e-006, 1.65200525e-012, 0.999986887)) | |
725 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
726 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456)) | |
727 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, -1.45775223, 0.000577092171, -1.75918103e-005, 6.84275614e-009, 0.999993443, 1.02860358e-005, 0.999993563, -6.66296662e-009, -0.999999523, 1.0285974e-005, -1.75616969e-005)) | |
728 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.252685368, 0.505371451, 0.24018997)) | |
729 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.20000000298023,0,"Navy blue","Part",Vector3.new(0.416514367, 4.16514921, 0.200000003)) | |
730 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, -3.95612335, 0.000137329102, 0.999999285, 3.38785076e-011, -1.69563759e-006, -3.47526452e-011, 0.999987125, 5.6136931e-013, 1.636094e-006, -8.74058096e-013, 0.999986887)) | |
731 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.763609767)) | |
732 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 4.16514921, 0.200000003)) | |
733 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, -3.95633316, 0.000137329102, 0.999999285, 3.7068789e-011, -1.57651493e-006, -3.79429578e-011, 0.999987125, 1.16532055e-012, 1.5169702e-006, -1.47800847e-012, 0.999986887)) | |
734 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.833028972)) | |
735 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456)) | |
736 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, -1.03037643, 1.03119469, -1.9352392e-005, -7.44054114e-006, 0.999993443, -0.707098842, 0.707109272, -8.40144912e-006, -0.707113445, -0.70709461, -1.89242419e-005)) | |
737 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.283229738, 0.238801882, 0.201315284)) | |
738 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514248, 0.200000003, 0.416514456)) | |
739 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, -0.138824463, 0, 0.999999285, -4.3341795e-013, -2.97819724e-008, -4.3341795e-013, 0.999987125, -1.91842744e-013, -2.97819724e-008, -1.91842744e-013, 0.999986887)) | |
740 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.694191515, 1)) | |
741 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.416514367, 0.416514784, 0.971866965)) | |
742 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, 0.000551462173, 3.9567337, -1.76544672e-005, -6.57531132e-008, 0.999993443, -0.999999464, 1.02817339e-005, -1.76243502e-005, -1.02966969e-005, -0.999993443, -6.59328947e-008)) | |
743 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.252685368, 0.390135646, 1.46335411)) | |
744 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456)) | |
745 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000259399414, -1.31884766, -0.0006057024, -1.94158456e-005, -7.18334013e-006, 0.999993443, -1.02519798e-005, -0.999992967, -7.18353886e-006, 0.999999046, -1.03413386e-005, 1.93856376e-005)) | |
746 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.283229738, 0.431787163, 0.201315284)) | |
747 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514248, 0.200000003, 0.416514456)) | |
748 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, 0.694160461, 0, 0.999999285, -4.3341795e-013, -2.97819724e-008, -4.3341795e-013, 0.999987125, -1.91842744e-013, -2.97819724e-008, -1.91842744e-013, 0.999986887)) | |
749 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.694191515, 1)) | |
750 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456)) | |
751 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, 0.000551462173, 3.9567337, -1.76544672e-005, -6.57531132e-008, 0.999993443, -0.999999464, 1.02817339e-005, -1.76243502e-005, -1.02966969e-005, -0.999993443, -6.59328947e-008)) | |
752 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.280452967, 0.39568913, 0.630325258)) | |
753 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456)) | |
754 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, 0.000577092171, 1.45775223, -1.76544672e-005, -6.57531132e-008, 0.999993443, -0.999999464, 1.02817339e-005, -1.76243502e-005, -1.02966969e-005, -0.999993443, -6.59328947e-008)) | |
755 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.252685368, 0.505371451, 0.24018997)) | |
756 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456)) | |
757 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, -0.000605583191, 1.31885147, -1.89684615e-005, -7.36040192e-006, 0.999993443, 0.999998748, -1.01476244e-005, 1.89382463e-005, 1.00731659e-005, 0.999992669, 7.36059474e-006)) | |
758 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.297113568, 0.184654936, 0.399853855)) | |
759 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.20000000298023,0,"Navy blue","Part",Vector3.new(0.416514367, 0.416514784, 0.971866965)) | |
760 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, 0.000551462173, 3.9567337, -1.76544672e-005, -6.57531132e-008, 0.999993443, -0.999999464, 1.02817339e-005, -1.76243502e-005, -1.02966969e-005, -0.999993443, -6.59328947e-008)) | |
761 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.273511082, 0.337377071, 1.46335411)) | |
762 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514248, 0.200000003, 0.416514456)) | |
763 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, 0.138820648, 0, 0.999999285, -4.3341795e-013, -2.97819724e-008, -4.3341795e-013, 0.999987125, -1.91842744e-013, -2.97819724e-008, -1.91842744e-013, 0.999986887)) | |
764 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.694191515, 1)) | |
765 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.416514248, 0.416514963, 0.416514456)) | |
766 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, 0.416496277, 0, 0.999999285, -4.3341795e-013, -2.97819724e-008, -4.3341795e-013, 0.999987125, -1.91842744e-013, -2.97819724e-008, -1.91842744e-013, 0.999986887)) | |
767 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
768 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.694190562, 4.16514921, 0.200000003)) | |
769 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, -3.95645905, 0.00016784668, 0.999999285, 4.60235669e-011, -1.72535329e-006, -4.68979022e-011, 0.999987125, 1.07980942e-012, 1.66581015e-006, -1.39247641e-012, 0.999986887)) | |
770 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.694190681)) | |
771 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456)) | |
772 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000259399414, -1.31884766, -0.0006057024, -1.94158456e-005, -7.18334013e-006, 0.999993443, -1.02519798e-005, -0.999992967, -7.18353886e-006, 0.999999046, -1.03413386e-005, 1.93856376e-005)) | |
773 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.297113568, 0.201315522, 0.22630617)) | |
774 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.416514933, 0.277676314)) | |
775 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.5335356, 0.000442504883, 1.45762634, 0.999999285, -6.16546174e-008, 3.0441106e-007, -3.63979211e-007, -4.47085071e-008, 0.999986887, -6.16544824e-008, -0.999987125, -4.47081341e-008)) | |
776 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 1)) | |
777 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.416514248, 0.200000003, 0.416514456)) | |
778 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000615000725, 0.833026886, 0, 0.999999285, -4.33418167e-013, -2.97819724e-008, -4.33418167e-013, 0.999987125, -1.91842744e-013, -2.97817451e-008, -1.91842744e-013, 0.999986887)) | |
779 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.694191515, 1)) | |
780 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.416514933, 0.277676314)) | |
781 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.531595826, 0.000442504883, 1.45762634, 0.999999285, -6.16546174e-008, 3.0441106e-007, -3.63979211e-007, -4.47085071e-008, 0.999986887, -6.16544824e-008, -0.999987125, -4.47081341e-008)) | |
782 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 1)) | |
783 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.694190562, 0.833029866, 0.416514456)) | |
784 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000592112541, 1.3187561, -0.000228881836, -0.999999642, -1.32871492e-012, -1.84723422e-006, -1.76214598e-012, 0.999993563, 9.5567998e-013, 1.87702778e-006, 1.14752652e-012, -0.999993443)) | |
785 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.72195822, 0.708075464, 2.87394953)) | |
786 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.694190562, 0.833029866, 0.416514456)) | |
787 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000592112541, -1.45798492, -0.000228881836, -0.999999642, -1.32871492e-012, -1.84723422e-006, -1.76214598e-012, 0.999993563, 9.5567998e-013, 1.87702778e-006, 1.14752652e-012, -0.999993443)) | |
788 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.860796332, 0.791378319, 3.47095394)) | |
789 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.694190562, 0.833029866, 0.416514456)) | |
790 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000592112541, 1.3187561, -0.000228881836, -0.999999642, -1.32871492e-012, -1.84723422e-006, -1.76214598e-012, 0.999993563, 9.5567998e-013, 1.87702778e-006, 1.14752652e-012, -0.999993443)) | |
791 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.777493417, 0.805262208, 2.81841445)) | |
792 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.416514248, 0.200000003, 0.416514456)) | |
793 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, 0, 0, 0.999999285, -4.3341795e-013, -2.97819724e-008, -4.3341795e-013, 0.999987125, -1.91842744e-013, -2.97819724e-008, -1.91842744e-013, 0.999986887)) | |
794 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.694191515, 1)) | |
795 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.694190562, 0.833029866, 0.416514456)) | |
796 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000592112541, -1.45798492, -0.000228881836, -0.999999642, -1.32871492e-012, -1.84723422e-006, -1.76214598e-012, 0.999993563, 9.5567998e-013, 1.87702778e-006, 1.14752652e-012, -0.999993443)) | |
797 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.888563931, 0.846913636, 3.47095394)) | |
798 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514903, 0.200000003)) | |
799 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, -1.8045578, 0.531616807, 1.86565353e-006, 3.00202354e-012, -0.999986887, 1.23146959e-009, 0.999987125, 2.62061076e-012, 0.999999285, -1.2323218e-009, 1.80606696e-006)) | |
800 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
801 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
802 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.139251709, -1.88124084, 0.139439583, 2.08563165e-006, 2.04154253e-006, -0.999986887, -4.47091253e-008, -0.999987125, -2.04154207e-006, -0.999999106, 4.47126496e-008, -1.86213424e-006)) | |
803 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
804 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
805 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138305664, 1.24959183, 0.531638741, -2.40202917e-006, -6.47374876e-010, 0.999986887, -8.5167251e-009, -0.999987125, -6.47013942e-010, 0.999999285, -8.51749071e-009, 2.34243612e-006)) | |
806 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 0.694191515, 0.694190681)) | |
807 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
808 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.139251709, -1.88122559, 0.139439464, 2.47306866e-006, 2.04154298e-006, -0.999986887, -4.47106316e-008, -0.999987125, -2.04154253e-006, -0.999999106, 4.47149411e-008, -2.24956648e-006)) | |
809 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
810 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
811 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.139251709, -1.88124084, 0.138231158, -2.44327907e-006, 9.98428391e-007, 0.999986887, 1.34124434e-007, -0.999987125, 9.98428618e-007, 0.999999106, 1.34125216e-007, 2.21977734e-006)) | |
812 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
813 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
814 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000381469727, -1.88122559, 0.139450312, 3.33738035e-006, 2.83158215e-007, -0.999986887, -7.45189013e-008, -0.999987125, -2.831583e-007, -0.999999106, 7.45189865e-008, -3.11386771e-006)) | |
815 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
816 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
817 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.138305664, -0.809320569, -1.52706146, 2.19357685e-006, -1.31811859e-008, -0.999986887, -0.999999285, -4.34657004e-008, -2.1339863e-006, -4.34670788e-008, 0.999987125, -1.31816593e-008)) | |
818 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
819 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
820 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000503540039, -0.809320569, -1.52706146, 2.22339054e-006, -1.31811859e-008, -0.999986887, -0.999999285, -4.34651177e-008, -2.16379954e-006, -4.34664962e-008, 0.999987125, -1.31816593e-008)) | |
821 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
822 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
823 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.138366699, -0.554747701, 1.38837814, 2.32405114e-006, -6.39080383e-007, -0.999986768, -0.999993086, -3.58865634e-007, -2.27935357e-006, -4.63172427e-007, 0.999992907, -8.47690558e-007)) | |
824 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
825 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
826 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.139373779, -0.809320569, -1.52708435, 2.16376361e-006, -1.31811611e-008, -0.999986887, -0.999999285, -4.34667946e-008, -2.10417352e-006, -4.34681731e-008, 0.999987125, -1.31816309e-008)) | |
827 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
828 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
829 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, -0.554747701, 1.38838196, 2.29424859e-006, -1.29473938e-006, -0.999986768, -0.999993086, -1.94942373e-007, -2.24955124e-006, -2.99247716e-007, 0.999992907, -1.50334529e-006)) | |
830 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
831 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514903, 0.200000003)) | |
832 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.139282227, -1.8045578, 0.533523798, -1.76147296e-006, -3.09794616e-012, 0.999986887, 1.22528787e-009, 0.999987125, 2.71652232e-012, -0.999999285, 1.22614729e-009, -1.70188764e-006)) | |
833 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
834 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Wedge",Vector3.new(0.200000003, 1.11070645, 0.694190741)) | |
835 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000335693359, -6.59405136, -0.000592112541, 2.40226973e-006, -1.28490068e-012, -0.999986887, 1.24207178e-009, 0.999987125, -1.59473465e-012, 0.999999285, -1.24293043e-009, 2.342676e-006)) | |
836 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 1)) | |
837 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
838 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.139266968, -1.52720642, 0.417087913, 1.89191633e-006, 1.53486269e-006, -0.999986768, 2.68221385e-007, -0.999992907, -1.32623961e-006, -0.999993086, -1.63910158e-007, -1.84722228e-006)) | |
839 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
840 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
841 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138381958, -1.52720642, 0.415901303, -1.99622514e-006, 2.04153935e-006, 0.999986768, 4.47095587e-008, -0.999992907, 2.25013991e-006, 0.999993086, -5.95946332e-008, 1.95153007e-006)) | |
842 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
843 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
844 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000442504883, -1.52720642, 0.415933371, -1.99622536e-006, 2.83158755e-007, 0.999986768, 7.45203863e-008, -0.999992907, 4.91770265e-007, 0.999993086, -2.97872873e-008, 1.95153052e-006)) | |
845 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
846 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
847 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, -1.52720642, 0.417108774, 1.87701528e-006, 2.83121381e-007, -0.999986768, 1.3411227e-007, -0.999992907, -7.45059623e-008, -0.999993086, -2.98034593e-008, -1.832321e-006)) | |
848 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
849 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
850 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.139282227, -0.555932999, 1.38837814, -2.35764037e-006, -2.2180609e-007, 0.999986768, 0.999993086, -1.50227194e-007, 2.31294325e-006, 4.59184264e-008, 0.999992907, 1.31914391e-008)) | |
851 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
852 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
853 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.138397217, -1.52720642, 0.417087793, 2.24954783e-006, 1.53481187e-006, -0.999986768, 3.8743238e-007, -0.999992907, -1.32618845e-006, -0.999993086, -2.83120642e-007, -2.20485163e-006)) | |
854 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
855 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
856 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000381469727, -1.88124084, 0.13823092, -2.27936425e-006, 2.8315867e-007, 0.999986887, 7.4524543e-008, -0.999987125, 2.83158727e-007, 0.999999106, 7.45245003e-008, 2.05586457e-006)) | |
857 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
858 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
859 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138381958, -1.88122559, 0.138230681, -3.30758758e-006, 2.04154298e-006, 0.999986887, 4.4711939e-008, -0.999987125, 2.04154276e-006, 0.999999106, 4.47181385e-008, 3.08407539e-006)) | |
860 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
861 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
862 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138381958, -0.555933237, 1.38837814, -2.32782918e-006, -2.21806104e-007, 0.999986768, 0.999993086, -1.50227706e-007, 2.28313206e-006, 4.59189664e-008, 0.999992907, 1.31914248e-008)) | |
863 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
864 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
865 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.139282227, -0.554747581, 1.38838196, 2.7860026e-006, -2.21841574e-007, -0.999986768, -0.999993086, -1.50245711e-007, -2.74130252e-006, -2.54553385e-007, 0.999992907, -4.30454008e-007)) | |
866 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
867 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
868 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.139282227, -1.52721786, 0.415923357, -1.96642259e-006, 9.98427936e-007, 0.999986768, 1.34116647e-007, -0.999992907, 1.20703544e-006, 0.999993086, 2.98103267e-008, 1.92172752e-006)) | |
869 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
870 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
871 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000381469727, -1.88124084, 0.13823092, -2.27936425e-006, 2.8315867e-007, 0.999986887, 7.4524543e-008, -0.999987125, 2.83158727e-007, 0.999999106, 7.45245003e-008, 2.05586457e-006)) | |
872 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
873 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
874 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000442504883, -0.555933475, 1.38838196, -2.70038345e-006, -4.3042246e-007, 0.999986768, 0.999993086, -2.54535934e-007, 2.65568406e-006, 1.50226569e-007, 0.999992907, 2.21807127e-007)) | |
875 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
876 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
877 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000335693359, 1.80414963, 0.278218031, 6.87196416e-006, -3.6487404e-006, -0.999986887, -1.46187795e-005, -0.999987125, 3.64864036e-006, -0.999999285, 1.46185776e-005, -6.81236816e-006)) | |
878 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 0.694191515, 0.694190681)) | |
879 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
880 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000335693359, 1.80420685, 0.277124286, -6.72330088e-006, 3.02124909e-006, 0.999986887, -1.33900166e-005, -0.999987125, 3.02115996e-006, 0.999999285, -1.33898347e-005, 6.66369306e-006)) | |
881 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 0.694191515, 0.694190681)) | |
882 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.20000000298023,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.694191575, 0.416514456)) | |
883 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000335693359, -6.385952, -0.000623106956, 2.52171731e-006, -6.87521763e-013, -0.999986887, 1.240405e-009, 0.999987125, -9.97211536e-013, 0.999999285, -1.24126354e-009, 2.46212267e-006)) | |
884 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.763609767, 1, 1)) | |
885 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514903, 0.200000003)) | |
886 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.138381958, -1.8045311, 0.531616807, 1.86565364e-006, 3.00912897e-012, -0.999986887, 1.23146959e-009, 0.999987125, 2.62771619e-012, 0.999999285, -1.2323218e-009, 1.80606708e-006)) | |
887 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
888 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
889 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138381958, -1.88122559, 0.138230681, -2.89033301e-006, 2.04154185e-006, 0.999986887, 4.47129906e-008, -0.999987125, 2.04154139e-006, 0.999999106, 4.47183233e-008, 2.66682559e-006)) | |
890 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
891 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
892 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.138381958, -1.88122559, 0.139439583, 2.47306866e-006, 9.98429982e-007, -0.999986887, -1.34122885e-007, -0.999987125, -9.98429982e-007, -0.999999106, 1.34123553e-007, -2.24956648e-006)) | |
893 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
894 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
895 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138381958, -1.52720642, 0.415901303, -1.99622514e-006, 2.04153935e-006, 0.999986768, 4.47095587e-008, -0.999992907, 2.25013991e-006, 0.999993086, -5.95946332e-008, 1.95153007e-006)) | |
896 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
897 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514903, 0.200000003)) | |
898 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.139282227, -1.80462265, 0.531616807, 1.74643674e-006, 2.98781269e-012, -0.999986887, 1.23137012e-009, 0.999987125, 2.6063999e-012, 0.999999285, -1.23222943e-009, 1.68685165e-006)) | |
899 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
900 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.694191575, 0.200000003)) | |
901 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138305664, 1.24956894, 0.6704638, -2.46169611e-006, -6.48390952e-010, 0.999986887, -8.51392912e-009, -0.999987125, -6.48026466e-010, 0.999999285, -8.51469117e-009, 2.40210238e-006)) | |
902 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
903 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.694191575, 0.200000003)) | |
904 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000503540039, 1.2496109, 0.67046392, -2.52148266e-006, -6.47641329e-010, 0.999986887, -8.50918624e-009, -0.999987125, -6.47276843e-010, 0.999999285, -8.50995541e-009, 2.46188779e-006)) | |
905 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
906 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.200000003, 0.277676582, 0.200000003)) | |
907 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000335693359, -6.17771149, -0.000592112541, 2.78921061e-006, -1.21371468e-012, -0.999986887, 1.2474618e-009, 0.999987125, -1.52305284e-012, 0.999999285, -1.24832034e-009, 2.72961233e-006)) | |
908 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.833028793, 1, 0.694190681)) | |
909 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
910 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000381469727, -1.88124084, 0.139450431, 2.08563165e-006, 2.83160801e-007, -0.999986887, -7.45207913e-008, -0.999987125, -2.83160887e-007, -0.999999106, 7.45205213e-008, -1.86213424e-006)) | |
911 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
912 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.694191575, 0.200000003)) | |
913 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.139282227, 1.24953461, 0.67046392, -2.10415715e-006, -6.47310927e-010, 0.999986887, -8.51068549e-009, -0.999987125, -6.46946441e-010, 0.999999285, -8.5114511e-009, 2.04456774e-006)) | |
914 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
915 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
916 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.139282227, 1.24956894, 0.531616807, -2.0742898e-006, -6.4645117e-010, 0.999986887, -8.51314752e-009, -0.999987125, -6.46086684e-010, 0.999999285, -8.51391313e-009, 2.01470061e-006)) | |
917 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 0.694191515, 0.694190681)) | |
918 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
919 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000442504883, -1.52720642, 0.415933371, -1.99622536e-006, 2.83158755e-007, 0.999986768, 7.45203863e-008, -0.999992907, 4.91770265e-007, 0.999993086, -2.97872873e-008, 1.95153052e-006)) | |
920 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
921 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
922 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000503540039, 1.2496109, 0.531616807, -2.43205386e-006, -6.47012499e-010, 0.999986887, -8.51063575e-009, -0.999987125, -6.46651566e-010, 0.999999285, -8.51139781e-009, 2.37246036e-006)) | |
923 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 0.694191515, 0.694190681)) | |
924 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
925 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.138305664, 1.24954987, 0.53352356, 2.11587303e-006, -6.32865649e-010, -0.999986887, 8.54560156e-009, -0.999987125, 6.33265052e-010, -0.999999285, -8.54462634e-009, -2.05628339e-006)) | |
926 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 0.694191515, 0.694190681)) | |
927 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.694191575, 0.200000003)) | |
928 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.138381958, 1.24946213, 0.672370553, 1.89562525e-006, -6.37729314e-010, -0.999986887, 6.0633063e-009, -0.999987125, 6.38124165e-010, -0.999999285, -6.06236128e-009, -1.83603845e-006)) | |
929 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
930 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.694191575, 0.200000003)) | |
931 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 1.24946213, 0.672370553, 1.95524262e-006, -6.37736419e-010, -0.999986887, 6.06350525e-009, -0.999987125, 6.3813127e-010, -0.999999285, -6.06256023e-009, -1.89565515e-006)) | |
932 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
933 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514903, 0.200000003)) | |
934 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138381958, -1.80463409, 0.53352356, -1.58262162e-006, -3.13347265e-012, 0.999986887, 1.22538735e-009, 0.999987125, 2.75204946e-012, -0.999999285, 1.22624677e-009, -1.52303869e-006)) | |
935 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
936 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
937 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138381958, -0.811196804, -1.52706528, -2.07450216e-006, -1.31914533e-008, 0.999986887, 0.999999285, -4.59201956e-008, 2.01491321e-006, 4.59198546e-008, 0.999987125, 1.31911575e-008)) | |
938 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
939 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
940 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000442504883, -0.811196804, -1.52706528, -2.13412386e-006, -1.31914391e-008, 0.999986887, 0.999999285, -4.59191298e-008, 2.074534e-006, 4.59187888e-008, 0.999987125, 1.31911468e-008)) | |
941 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
942 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514903, 0.200000003)) | |
943 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000442504883, -1.80457306, 0.53352356, -1.70185444e-006, -3.1121568e-012, 0.999986887, 1.22531629e-009, 0.999987125, 2.73073317e-012, -0.999999285, 1.22616861e-009, -1.64226992e-006)) | |
944 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
945 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
946 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000503540039, 1.24959183, 0.53352356, 2.42881674e-006, -6.3343053e-010, -0.999986887, 8.54309334e-009, -0.999987125, 6.33833486e-010, -0.999999285, -8.54211812e-009, -2.36922324e-006)) | |
947 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 0.694191515, 0.694190681)) | |
948 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.694191575, 0.200000003)) | |
949 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.139282227, 1.24946213, 0.672370553, 1.92543371e-006, -6.37729314e-010, -0.999986887, 6.06340578e-009, -0.999987125, 6.38120612e-010, -0.999999285, -6.06246076e-009, -1.86584657e-006)) | |
950 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
951 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003)) | |
952 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.139282227, -0.811196804, -1.52706528, -2.1043129e-006, -1.31914355e-008, 0.999986887, 0.999999285, -4.59196663e-008, 2.04472349e-006, 4.59193217e-008, 0.999987125, 1.31911433e-008)) | |
953 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681)) | |
954 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
955 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.139282227, 1.24956894, 0.53352356, 2.42881697e-006, -6.3379646e-010, -0.999986887, 8.54917559e-009, -0.999987125, 6.34199415e-010, -0.999999285, -8.54820037e-009, -2.36922347e-006)) | |
956 | mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 0.694191515, 0.694190681)) | |
957 | ||
958 | function MagniDamage(Hit,Part,magni,mindam,maxdam,knock,Type) | |
959 | for _,c in pairs(workspace:children()) do | |
960 | local hum=c:findFirstChild("Humanoid") | |
961 | if hum~=nil then | |
962 | local head=c:findFirstChild("Torso") | |
963 | if head~=nil then | |
964 | local targ=head.Position-Part.Position | |
965 | local mag=targ.magnitude | |
966 | if mag<=magni and c.Name~=Player.Name then | |
967 | Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3) | |
968 | end | |
969 | end | |
970 | end | |
971 | end | |
972 | end | |
973 | ||
974 | function magicring(brickcolor,cframe,x1,y1,z1,x3,y3,z3) | |
975 | local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",Vector3.new(0.5,0.5,0.5)) | |
976 | prt.Anchored=true | |
977 | prt.CFrame=cframe | |
978 | prt.Touched:connect(function(hit) end) | |
979 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1)) | |
980 | local ref = Instance.new("Part",workspace) | |
981 | ref.Anchored = true | |
982 | ref.Size = Vector3.new(5,5,5) | |
983 | ref.CFrame = Torso.CFrame*CFrame.new(-5,0,0) | |
984 | ref.CanCollide = false | |
985 | ref.Transparency = 1 | |
986 | MagniDamage(prt,ref,10,5,10,0,"Knockdown") | |
987 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
988 | for i=0,1,0.03 do | |
989 | wait() | |
990 | Part.CFrame=Part.CFrame | |
991 | Part.Transparency=i | |
992 | Mesh.Scale=Mesh.Scale+Vector3.new(x3,y3,z3) | |
993 | end | |
994 | Part.Parent=nil | |
995 | ref.Parent = nil | |
996 | end),prt,msh) | |
997 | end | |
998 | ||
999 | function attackone() | |
1000 | attack = true | |
1001 | for i = 0,1,0.1 do | |
1002 | swait() | |
1003 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
1004 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.3) | |
1005 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(10)),.3) | |
1006 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3) | |
1007 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1008 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1009 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
1010 | end | |
1011 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(5,10),"Normal",RootPart,.2,1) end) | |
1012 | so("http://roblox.com/asset/?id=199150686",Hitbox,1,1) | |
1013 | for i = 0,1,0.1 do | |
1014 | swait() | |
1015 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1016 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1017 | local h = 5 | |
1018 | 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) | |
1019 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1020 | 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) | |
1021 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1022 | scfr = blcf | |
1023 | elseif not scfr then | |
1024 | scfr = blcf | |
1025 | end | |
1026 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1027 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.3) | |
1028 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(-130)),.3) | |
1029 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-20)),.3) | |
1030 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1031 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1032 | handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3) | |
1033 | end | |
1034 | for i = 0,1,0.1 do | |
1035 | swait() | |
1036 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
1037 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3) | |
1038 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(50)),.3) | |
1039 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)),.3) | |
1040 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1041 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1042 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1043 | end | |
1044 | so("http://roblox.com/asset/?id=199146359",Hitbox,1,1) | |
1045 | for i = 0,1,0.1 do | |
1046 | swait() | |
1047 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1048 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1049 | local h = 5 | |
1050 | 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) | |
1051 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1052 | 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) | |
1053 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1054 | scfr = blcf | |
1055 | elseif not scfr then | |
1056 | scfr = blcf | |
1057 | end | |
1058 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3) | |
1059 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3) | |
1060 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(130)),.3) | |
1061 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)),.3) | |
1062 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1063 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1064 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.3) | |
1065 | end | |
1066 | attack = false | |
1067 | con:disconnect() | |
1068 | scfr = nil | |
1069 | end | |
1070 | ||
1071 | function attacktwo() | |
1072 | attack = true | |
1073 | for i = 0,1,0.1 do | |
1074 | swait() | |
1075 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
1076 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3) | |
1077 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(-90)),.3) | |
1078 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3) | |
1079 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1080 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1081 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1082 | end | |
1083 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(5,10),"Normal",RootPart,.2,1) end) | |
1084 | so("http://roblox.com/asset/?id=199150686",Hitbox,1,1) | |
1085 | for i = 0,1,0.1 do | |
1086 | swait() | |
1087 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1088 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.3) | |
1089 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-190), math.rad(-90)),.3) | |
1090 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3) | |
1091 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1092 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1093 | handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3) | |
1094 | end | |
1095 | for i = 0,1,0.1 do | |
1096 | swait() | |
1097 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
1098 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3) | |
1099 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),.3) | |
1100 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3) | |
1101 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1102 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1103 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1104 | end | |
1105 | so("http://roblox.com/asset/?id=199150686",Hitbox,1,.9) | |
1106 | for i = 0,1,0.1 do | |
1107 | swait() | |
1108 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1109 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1110 | local h = 5 | |
1111 | 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) | |
1112 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1113 | 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) | |
1114 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1115 | scfr = blcf | |
1116 | elseif not scfr then | |
1117 | scfr = blcf | |
1118 | end | |
1119 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
1120 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.3) | |
1121 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(90)),.3) | |
1122 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3) | |
1123 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1124 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1125 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1126 | end | |
1127 | for i = 0,1,0.1 do | |
1128 | swait() | |
1129 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1130 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
1131 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(0)),.3) | |
1132 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3) | |
1133 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1134 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1135 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1136 | end | |
1137 | so("http://roblox.com/asset/?id=199146359",Hitbox,1,.9) | |
1138 | for i = 0,1,0.1 do | |
1139 | swait() | |
1140 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1141 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1142 | local h = 5 | |
1143 | 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) | |
1144 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1145 | 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) | |
1146 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1147 | scfr = blcf | |
1148 | elseif not scfr then | |
1149 | scfr = blcf | |
1150 | end | |
1151 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
1152 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-20)),.3) | |
1153 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)),.3) | |
1154 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-30)),.3) | |
1155 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1156 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1157 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1158 | end | |
1159 | attack = false | |
1160 | con:disconnect() | |
1161 | scfr = nil | |
1162 | end | |
1163 | ||
1164 | function Spin() | |
1165 | attack=true | |
1166 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(5,10),"Normal",RootPart,.2,1) end) | |
1167 | for i=0,1,0.1 do | |
1168 | swait() | |
1169 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
1170 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3) | |
1171 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(120)),.3) | |
1172 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)),.3) | |
1173 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1174 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1175 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
1176 | end | |
1177 | Humanoid.Jump = true | |
1178 | for i=0,1,1 do | |
1179 | so("http://roblox.com/asset/?id=234365573",Torso,1,1) | |
1180 | swait() | |
1181 | for i=0,1,0.1 do | |
1182 | swait() | |
1183 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1184 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1185 | local h = 5 | |
1186 | 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) | |
1187 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1188 | 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) | |
1189 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1190 | scfr = blcf | |
1191 | elseif not scfr then | |
1192 | scfr = blcf | |
1193 | end | |
1194 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2)*euler(0,-1.2,6*i),.3) | |
1195 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3) | |
1196 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(80)),.3) | |
1197 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-70)),.3) | |
1198 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(-10)),.3) | |
1199 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(10)),.3) | |
1200 | handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3) | |
1201 | end | |
1202 | end | |
1203 | attack=false | |
1204 | con:disconnect() | |
1205 | scfr = nil | |
1206 | end | |
1207 | ||
1208 | function StunTarget() | |
1209 | attack = true | |
1210 | for i = 0,1,0.05 do | |
1211 | swait() | |
1212 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),.3) | |
1213 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.3) | |
1214 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(10)),.3) | |
1215 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-90)),.3) | |
1216 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1217 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1218 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
1219 | end | |
1220 | so("http://roblox.com/asset/?id=228343249",Torso,1,1) | |
1221 | for i = 1,2 do | |
1222 | magicring(BrickColor.new("Navy blue"),Torso.CFrame*CFrame.new(-5,0,0)*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,0.1,1,1,0.05) | |
1223 | magicring(BrickColor.new("Navy blue"),Torso.CFrame*CFrame.new(-5,0,0)*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,0.1,1,1,0.05) | |
1224 | end | |
1225 | attack = false | |
1226 | end | |
1227 | ||
1228 | mouse.Button1Down:connect(function() | |
1229 | if attack == false and attacktype == 1 then | |
1230 | attacktype = 2 | |
1231 | attackone() | |
1232 | elseif attack == false and attacktype == 2 then | |
1233 | attacktype = 1 | |
1234 | attacktwo() | |
1235 | end | |
1236 | end) | |
1237 | ||
1238 | mouse.KeyDown:connect(function(k) | |
1239 | k=k:lower() | |
1240 | if attack == false and k == 'q' then | |
1241 | Spin() | |
1242 | elseif attack == false and k == 'e' then | |
1243 | StunTarget() | |
1244 | end | |
1245 | end) | |
1246 | ||
1247 | ||
1248 | local sine = 0 | |
1249 | local change = 1 | |
1250 | local val = 0 | |
1251 | ||
1252 | while true do | |
1253 | swait() | |
1254 | sine = sine + change | |
1255 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
1256 | local velderp=RootPart.Velocity.y | |
1257 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
1258 | if equipped==true or equipped==false then | |
1259 | if attack==false then | |
1260 | idle=idle+1 | |
1261 | else | |
1262 | idle=0 | |
1263 | end | |
1264 | if idle>=500 then | |
1265 | if attack==false then | |
1266 | --Sheath() | |
1267 | end | |
1268 | end | |
1269 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
1270 | if attack==false then | |
1271 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1272 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
1273 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)),.2) | |
1274 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)),.2) | |
1275 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.2) | |
1276 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20)),.2) | |
1277 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
1278 | end | |
1279 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
1280 | Anim="Fall" | |
1281 | if attack==false then | |
1282 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1283 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
1284 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(40)),.2) | |
1285 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)),.2) | |
1286 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.2) | |
1287 | LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(10)),.2) | |
1288 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
1289 | end | |
1290 | elseif torvel<1 and hitfloor~=nil then | |
1291 | Anim="Idle" | |
1292 | if attack==false then | |
1293 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-40)),.2) | |
1294 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(40)),.2) | |
1295 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(10)),.2) | |
1296 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),.2) | |
1297 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.2) | |
1298 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.2) | |
1299 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
1300 | end | |
1301 | elseif torvel>2 and hitfloor~=nil then | |
1302 | Anim="Walk" | |
1303 | if attack==false then | |
1304 | change=3 | |
1305 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2) | |
1306 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
1307 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(10)),.2) | |
1308 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-15)),.2) | |
1309 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10)),.2) | |
1310 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10)),.2) | |
1311 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
1312 | end | |
1313 | end | |
1314 | end | |
1315 | if #Effects>0 then | |
1316 | for e=1,#Effects do | |
1317 | if Effects[e]~=nil then | |
1318 | local Thing=Effects[e] | |
1319 | if Thing~=nil then | |
1320 | local Part=Thing[1] | |
1321 | local Mode=Thing[2] | |
1322 | local Delay=Thing[3] | |
1323 | local IncX=Thing[4] | |
1324 | local IncY=Thing[5] | |
1325 | local IncZ=Thing[6] | |
1326 | if Thing[1].Transparency<=1 then | |
1327 | if Thing[2]=="Block1" then | |
1328 | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1329 | Mesh=Thing[1].Mesh | |
1330 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1331 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1332 | elseif Thing[2]=="Cylinder" then | |
1333 | Mesh=Thing[1].Mesh | |
1334 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1335 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1336 | elseif Thing[2]=="Blood" then | |
1337 | Mesh=Thing[7] | |
1338 | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) | |
1339 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1340 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1341 | elseif Thing[2]=="Elec" then | |
1342 | Mesh=Thing[1].Mesh | |
1343 | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) | |
1344 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1345 | elseif Thing[2]=="Disappear" then | |
1346 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1347 | end | |
1348 | else | |
1349 | Part.Parent=nil | |
1350 | table.remove(Effects,e) | |
1351 | end | |
1352 | end | |
1353 | end | |
1354 | end | |
1355 | end | |
1356 | end |