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.Neon,0,0.19999998807907,"Toothpaste","Handle",Vector3.new(0.237522021, 0.237521961, 1.90017581)) | |
703 | HandleWeld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),CFrame.new(0.00356292725, 1.14132118, -0.188839912, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037)) | |
704 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
705 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000274658203, -2.49396038, 0.23774457, -1.00000358, -0.00025753997, -0.00019489511, 0.000194905093, -3.76809076e-005, -1.00000358, 0.000257531909, -1, 3.77307297e-005)) | |
706 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
707 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
708 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-7.62939453e-005, -1.06887531, -4.8160553e-005, -1.00000358, -0.000257541367, -0.000255930499, -0.000255940482, 3.76586795e-005, 1.0000037, -0.000257530977, 1, -3.7724225e-005)) | |
709 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
710 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
711 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000335693359, -0.000241756439, -2.49396706, -1.00000393, -0.000341686624, -0.000225411786, -0.000341677136, 1.00000024, -4.03386584e-005, 0.000225425756, -4.02620026e-005, -1.0000037)) | |
712 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
713 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
714 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000473022461, 2.96902084, -0.237581491, -1.0000037, -0.000196505294, -0.000255923573, -0.000255919207, -2.3374756e-005, 1.0000037, -0.0001965103, 1, 2.33250576e-005)) | |
715 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
716 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
717 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(0.000373840332, 0.237349272, 9.14462948, -1.00000358, -0.000255381834, -0.000139096752, 0.000255384628, -1, -2.50091507e-005, -0.00013909064, -2.50440789e-005, 1.00000358)) | |
718 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
719 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
720 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000480651855, -0.000255346298, -2.96901798, -1.0000037, -0.000298528757, -0.000268572127, -0.000298517407, 1.00000024, -4.03300073e-005, 0.000268584408, -4.02501937e-005, -1.0000037)) | |
721 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
722 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
723 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000267028809, -2.96899986, 0.237756968, -1.00000358, -0.00025753997, -0.00019489511, 0.000194905093, -3.76809076e-005, -1.00000358, 0.000257531909, -1, 3.77307297e-005)) | |
724 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
725 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
726 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000129699707, 0.237582207, 2.73147392, -1.00000358, -0.000255381834, -0.000139096752, 0.000255384628, -1, -2.50091507e-005, -0.00013909064, -2.50440789e-005, 1.00000358)) | |
727 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
728 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
729 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(4.57763672e-005, 2.25646687, 4.83989716e-005, -1.00000358, -0.000257541367, -0.000255930499, -0.000255940482, 3.76586795e-005, 1.0000037, -0.000257530977, 1, -3.7724225e-005)) | |
730 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
731 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
732 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(0.000160217285, -2.25646687, 8.91685486e-005, -1.00000381, -0.000318574312, -0.000194898428, 0.000194930093, -9.87161911e-005, -1.00000358, 0.000318554608, -1.00000024, 9.87781386e-005)) | |
733 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
734 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
735 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000221252441, 6.07967377e-005, 2.4939661, -1.00000381, -0.000298538391, -0.000182252843, 0.000298542378, -1.00000024, -2.4998335e-005, -0.000182245596, -2.50521498e-005, 1.00000358)) | |
736 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
737 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.712566018, 0.950087845, 0.237521976)) | |
738 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(0, -0.118883848, 1.7814312, 1.0000037, 0.000212217914, 0.00026858499, -0.000212183018, 1, -0.000126619299, -0.000268612115, 0.000126562343, 1.0000037)) | |
739 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
740 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000137329102, 1.06887531, -1.40666962e-005, -1.00000381, -0.000318574312, -0.000194898428, 0.000194930093, -9.87161911e-005, -1.00000358, 0.000318554608, -1.00000024, 9.87781386e-005)) | |
741 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
742 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
743 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(0.000282287598, 0.237331152, 9.61972427, -1.00000358, -0.000255381834, -0.000139096752, 0.000255384628, -1, -2.50091507e-005, -0.00013909064, -2.50440789e-005, 1.00000358)) | |
744 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
745 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
746 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(0.000122070313, -0.237676382, -2.25645542, -1.00000393, -0.000341695006, -0.00022541458, -0.000341666047, 1.00000024, -0.000126642291, 0.000225458032, -0.000126565312, -1.0000037)) | |
747 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
748 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
749 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.00032043457, 2.49397469, -0.237598419, -1.00000358, -0.000196505745, -0.000194888184, -0.000194883833, -2.33543979e-005, 1.00000358, -0.000196509354, 1, 2.33166975e-005)) | |
750 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
751 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
752 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(0.000160217285, 0.237331152, 2.25647068, -1.00000358, -0.000212241648, -0.00018226188, 0.00021224533, -1, -2.50163685e-005, -0.00018225683, -2.50544617e-005, 1.00000358)) | |
753 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
754 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 5.46300602)) | |
755 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(0.000671386719, -0.237869501, 6.29435349, 1.0000037, 0.000212216066, 0.000268573756, -0.000212204337, 1, -4.03105623e-005, -0.000268582575, 4.02539263e-005, 1.0000037)) | |
756 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
757 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(1.52587891e-005, 0.000101566315, -1.30639076, 1.0000037, 0.00025536833, 0.000225418888, -0.000255339051, 1, -0.000126622836, -0.000225451484, 0.000126565326, 1.0000037)) | |
758 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.475043952)) | |
759 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-1.78143024, -0.475196838, 0.118642569, 0.000352418923, -0.000136582181, -1.0000037, -1.00000381, -0.000212222454, -0.000352389703, -0.0002121734, 1, -0.000136656949)) | |
760 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
761 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.475043952)) | |
762 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(1.78146553, -0.475036621, 0.356306076, -0.000245111209, 9.34722775e-005, 1.0000037, -1.0000037, -0.000169049774, -0.000245095143, 0.000169025807, -1, 9.35135176e-005)) | |
763 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
764 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
765 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-5.34057617e-005, -0.237425208, -1.06889343, 1.0000037, 0.000255377672, 0.000225418917, 0.000255343592, -1, 0.000147793966, 0.000225456941, -0.000147736369, -1.0000037)) | |
766 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
767 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
768 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.00025177002, -3.44404984, 0.237771511, -1.00000358, -0.00025753997, -0.00019489511, 0.000194905093, -3.76809076e-005, -1.00000358, 0.000257531909, -1, 3.77307297e-005)) | |
769 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
770 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
771 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(1.78147221, -0.237487793, 0.712545872, -0.000245091942, 5.0310864e-005, 1.0000037, -1.0000037, -0.00021220796, -0.000245080999, 0.000212194718, -1, 5.03625597e-005)) | |
772 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
773 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
774 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000511169434, 3.44407082, -0.237567425, -1.0000037, -0.000196505294, -0.000255923573, -0.000255919207, -2.3374756e-005, 1.0000037, -0.0001965103, 1, 2.33250576e-005)) | |
775 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
776 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
777 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(7.62939453e-006, -0.47503686, 1.78143883, -1.0000037, -0.000212228333, -0.000268577482, 0.000212210987, -1, 6.12893928e-005, -0.000268590753, 6.12326694e-005, 1.0000037)) | |
778 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
779 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000114440918, -9.38215256, 0.237928867, -1.00000358, -0.00025753997, -0.00019489511, 0.000194905093, -3.76809076e-005, -1.00000358, 0.000257531909, -1, 3.77307297e-005)) | |
780 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
781 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.475044042)) | |
782 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(5.34057617e-005, -0.237433195, -1.18763828, 1.0000037, 0.00025536833, 0.000225418888, -0.000255339051, 1, -0.000126622836, -0.000225451484, 0.000126565326, 1.0000037)) | |
783 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
784 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(0.000114440918, -0.71269536, 1.7814045, 1.0000037, 0.000169062929, 0.000311746437, -0.000169022416, 1, -0.000126610641, -0.00031176809, 0.000126558007, 1.0000037)) | |
785 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
786 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(1.78144741, -0.237419128, 0.475049376, -0.000331274932, 5.02683724e-005, 1.0000037, 1.00000381, 0.0002122226, 0.000331264047, -0.000212205035, 1, -5.0338338e-005)) | |
787 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
788 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 1.42513192)) | |
789 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(2.28881836e-005, -0.237521172, -6.67572021e-006, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037)) | |
790 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
791 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-1.78144646, -0.237701416, 0.474970222, 0.000352459319, -9.34207492e-005, -1.00000381, -1.0000037, -0.000255377876, -0.000352435105, -0.000255344203, 1, -9.35105927e-005)) | |
792 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
793 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
794 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(4.57763672e-005, -1.0688467, -4.41074371e-005, 1.00000358, 0.000257545529, 0.000316972379, 0.000316998106, -9.86715895e-005, -1.0000037, -0.000257513515, 1, -9.87530802e-005)) | |
795 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
796 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.712565839, 0.237521976)) | |
797 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(0, -0.237625122, 1.54391098, 1.0000037, 0.000212217914, 0.00026858499, -0.000212183018, 1, -0.000126619299, -0.000268612115, 0.000126562343, 1.0000037)) | |
798 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
799 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-1.52587891e-005, 1.06886196, 4.9829483e-005, 1.00000358, 0.000257542299, 0.000255937048, -0.000255962746, 9.86938103e-005, 1.0000037, 0.000257516309, -1, 9.87595777e-005)) | |
800 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
801 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
802 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(0.000114440918, -0.237661123, 2.01896191, 1.0000037, 0.000169062929, 0.000311746437, -0.000169022416, 1, -0.000126610641, -0.00031176809, 0.000126558007, 1.0000037)) | |
803 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
804 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-1.78141499, -0.237548828, 0.712627172, 0.000265971787, -9.34521813e-005, -1.0000037, 1.00000358, 0.000255371677, 0.000265947572, 0.000255346094, -1, 9.35199205e-005)) | |
805 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
806 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
807 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000717163086, 9.38216305, -0.237362385, -1.0000037, -0.000196505294, -0.000255923573, -0.000255919207, -2.3374756e-005, 1.0000037, -0.0001965103, 1, 2.33250576e-005)) | |
808 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
809 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.475043923, 0.237521976)) | |
810 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(1.52587891e-005, -0.118854046, 1.30638027, 1.0000037, 0.000212217914, 0.00026858499, -0.000212183018, 1, -0.000126619299, -0.000268612115, 0.000126562343, 1.0000037)) | |
811 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
812 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(0, 1.30637836, 0.475101233, 1.0000037, 0.000196507142, 0.000255940366, -0.000255959982, 9.86955565e-005, 1.0000037, 0.00019648092, -1, 9.87457024e-005)) | |
813 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
814 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.475043952)) | |
815 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(1.78146648, -0.474914551, 0.118762016, -0.000331274932, 5.02683724e-005, 1.0000037, 1.00000381, 0.0002122226, 0.000331264047, -0.000212205035, 1, -5.0338338e-005)) | |
816 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
817 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.475043952)) | |
818 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-7.62939453e-006, 0.23740983, 1.42517662, 1.0000037, 0.000212217914, 0.00026858499, -0.000212183018, 1, -0.000126619299, -0.000268612115, 0.000126562343, 1.0000037)) | |
819 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
820 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000213623047, -0.237773657, -3.20652294, -1.00000381, -0.000298526342, -0.00018225376, -0.000298518426, 1.00000024, -4.03278536e-005, 0.000182266042, -4.02738115e-005, -1.00000358)) | |
821 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
822 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
823 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.00025177002, 2.73149014, -6.27040863e-005, -1.00000358, -0.000257540931, -0.000194888591, -0.000194882858, -2.33542669e-005, 1.00000358, -0.000257544743, 1, 2.33046667e-005)) | |
824 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
825 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
826 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(3.05175781e-005, -0.237580061, 0.831332207, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037)) | |
827 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
828 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
829 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(0, 0.237597227, -0.831331253, 1.0000037, 0.000255377672, 0.000225418917, 0.000255343592, -1, 0.000147793966, 0.000225456941, -0.000147736369, -1.0000037)) | |
830 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
831 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.475044042, 0.261274159, 0.237522006)) | |
832 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(0.118864059, 0.000343322754, -1.40266609, 0.000232745078, -1, 3.81679929e-005, 1.00000358, 0.0002327533, 0.000194892811, -0.00019490195, 3.8123002e-005, 1.00000358)) | |
833 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
834 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.475043952)) | |
835 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-1.78142262, -0.47504425, 0.356337547, 0.000265971787, -9.34521813e-005, -1.0000037, 1.00000358, 0.000255371677, 0.000265947572, 0.000255346094, -1, 9.35199205e-005)) | |
836 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
837 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
838 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000122070313, 0.237564325, 3.2065382, -1.00000358, -0.000255381834, -0.000139096752, 0.000255384628, -1, -2.50091507e-005, -0.00013909064, -2.50440789e-005, 1.00000358)) | |
839 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
840 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
841 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000282287598, -2.73148441, 0.000229597092, -1.00000381, -0.000318575214, -0.000194893772, 0.000194905995, -3.7681024e-005, -1.00000358, 0.000318567356, -1.00000024, 3.77427423e-005)) | |
842 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
843 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
844 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(3.05175781e-005, -0.237946749, -9.1446209, -1.00000381, -0.000298526342, -0.00018225376, -0.000298518426, 1.00000024, -4.03278536e-005, 0.000182266042, -4.02738115e-005, -1.00000358)) | |
845 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
846 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
847 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(1.52587891e-005, -0.237601042, 1.06884861, 1.0000037, 0.000212217914, 0.00026858499, -0.000212183018, 1, -0.000126619299, -0.000268612115, 0.000126562343, 1.0000037)) | |
848 | Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Hitbox",Vector3.new(0.237522021, 0.237521961, 5.93804932)) | |
849 | Hitboxweld=weld(m,Handle,Hitbox,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(0.000411987305, -0.00035738945, 6.29435825, 1.0000037, 0.000255372986, 0.000225414231, -0.000255363178, 1, -4.03191989e-005, -0.000225424825, 4.02619953e-005, 1.0000037)) | |
850 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
851 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.00032043457, 4.36306e-005, 2.96901703, -1.0000037, -0.000255382474, -0.000225409574, 0.000255387393, -1, -2.50070079e-005, -0.000225403448, -2.50639805e-005, 1.00000358)) | |
852 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
853 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
854 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.00025177002, 3.20654964, -4.55379486e-005, -1.00000358, -0.000257540931, -0.000194888591, -0.000194882858, -2.33542669e-005, 1.00000358, -0.000257544743, 1, 2.33046667e-005)) | |
855 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
856 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.475044042, 0.237521961, 0.475043952)) | |
857 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(0.11869216, 0, -1.42515659, 0.000232732127, -1, 9.92033893e-005, 1.0000037, 0.000232758335, 0.000255929743, -0.000255953055, 9.91439592e-005, 1.0000037)) | |
858 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
859 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
860 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000228881836, -0.237525463, -2.73149204, -1.00000358, -0.000212210027, -0.000182245145, -0.000212217506, 1, 4.58215218e-005, 0.000182235701, 4.58595241e-005, -1.00000358)) | |
861 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
862 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
863 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000129699707, -0.2374897, 0.831339836, -1.0000037, -0.000298530562, -0.000268579635, -0.000298496045, 1.00000024, -0.000126638784, 0.000268617674, -0.000126558632, -1.0000037)) | |
864 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
865 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
866 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000137329102, 0.237544298, -0.831316948, -1.0000037, -0.000255382445, -0.000225418888, 0.000255367864, -1, 6.1298022e-005, -0.000225434836, 6.12407457e-005, 1.0000037)) | |
867 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
868 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.30000001192093,0.19999998807907,"Toothpaste","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
869 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(0.000282287598, -0.00018119812, 9.38218307, -1.00000358, -0.000255381834, -0.000139096752, 0.000255384628, -1, -2.50091507e-005, -0.00013909064, -2.50440789e-005, 1.00000358)) | |
870 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
871 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
872 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(-0.000267028809, -3.20654964, 0.000241756439, -1.00000381, -0.000318575214, -0.000194893772, 0.000194905995, -3.7681024e-005, -1.00000358, 0.000318567356, -1.00000024, 3.77427423e-005)) | |
873 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
874 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.30000001192093,0,"Institutional white","Part",Vector3.new(0.237522021, 0.237521961, 0.237521976)) | |
875 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1.0000037, 0.000212211395, 0.000268580334, -0.000212176499, 1, -0.000126614119, -0.000268607429, 0.000126557148, 1.0000037),CFrame.new(9.91821289e-005, -0.000140190125, 2.01896191, 1.00000358, 0.000255379127, 0.00031174015, -0.000255338964, 1, -0.000126630141, -0.000311772805, 0.000126550585, 1.0000037)) | |
876 | ||
877 | HandleSheath=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","HandleSheath",Vector3.new(0.27382499, 0.522756696, 7.71688461)) | |
878 | HandleSheathweld=weld(m,Character["Torso"],HandleSheath,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.655022621, 0.881320953, 0.26348114, 0.000490999897, 0.000594999874, -0.999999762, -0.18843396, 0.982085764, 0.000491819985, 0.982085705, 0.188433647, 0.000594322104)) | |
879 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(0.248931795, 0.497863561, 0.248931751)) | |
880 | Partweld=weld(m,HandleSheath,Part,CFrame.new(0, 0, 0, 0.000490999897, 0.000594999874, -0.999999762, -0.18843396, 0.982085764, 0.000491819985, 0.982085705, 0.188433647, 0.000594322104),CFrame.new(-3.23623657, 0.0121183395, -0.0123138428, -0.98207438, -0.188493073, -0.000608000206, -0.188493386, 0.98207432, 0.000528000004, 0.000497577072, 0.00063313928, -0.999999762)) | |
881 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.21657069, 0.261378407, 3.84599495)) | |
882 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(5.47650003, 0.497863561, 0.248931751)) | |
883 | Partweld=weld(m,HandleSheath,Part,CFrame.new(0, 0, 0, 0.000490999897, 0.000594999874, -0.999999762, -0.18843396, 0.982085764, 0.000491819985, 0.982085705, 0.188433647, 0.000594322104),CFrame.new(-0.373420715, 0.0123081207, -0.0122480392, -0.98207438, -0.188493073, -0.000608000206, -0.188493386, 0.98207432, 0.000528000004, 0.000497577072, 0.00063313928, -0.999999762)) | |
884 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(3.21619892, 0.159316391, 3.84599495)) | |
885 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.27382499, 0.522756696, 0.510310233)) | |
886 | Partweld=weld(m,HandleSheath,Part,CFrame.new(0, 0, 0, 0.000490999897, 0.000594999874, -0.999999762, -0.18843396, 0.982085764, 0.000491819985, 0.982085705, 0.188433647, 0.000594322104),CFrame.new(6.29425049e-005, -0.000170707703, 4.11382294, -0.000462999888, -0.000546999858, 0.999999762, 0.18836692, -0.982098639, -0.000449994026, 0.982098579, 0.188366652, 0.000557748135)) | |
887 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
888 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Toothpaste","Part",Vector3.new(0.248931795, 0.497863561, 0.248931751)) | |
889 | Partweld=weld(m,HandleSheath,Part,CFrame.new(0, 0, 0, 0.000490999897, 0.000594999874, -0.999999762, -0.18843396, 0.982085764, 0.000491819985, 0.982085705, 0.188433647, 0.000594322104),CFrame.new(2.48940277, 0.0126237869, -0.0125102997, -0.98207438, -0.188493073, -0.000608000206, -0.188493386, 0.98207432, 0.000528000004, 0.000497577072, 0.00063313928, -0.999999762)) | |
890 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.21657069, 0.261378407, 3.84599495)) | |
891 | ||
892 | HandleCannon=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","HandleCannon",Vector3.new(0.380853504, 0.465487719, 0.299818367)) | |
893 | HandleCannonweld=weld(m,Character["Left Arm"],HandleCannon,CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),CFrame.new(-0.0349960327, 0.00903892517, -1.38847697, -0.99999994, 0.000457996561, -9.09982045e-005, 9.10133022e-005, 3.37350612e-005, -0.999999881, -0.000457993418, -1.00000012, -3.30279108e-005)) | |
894 | mesh("SpecialMesh",HandleCannon,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(1.13240445, 1.10278249, 5.35903311)) | |
895 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.299818367, 0.846341252, 0.507804573)) | |
896 | Partweld=weld(m,HandleCannon,Part,CFrame.new(0, 0, 0, -0.99999994, 0.000457996561, -9.09982045e-005, 9.10133022e-005, 3.37350612e-005, -0.999999881, -0.000457993418, -1.00000012, -3.30279108e-005),CFrame.new(0.546882629, 0.41355896, -0.00118350983, 0.865929723, 0.500165999, -4.80155359e-005, 0.50016588, -0.865929902, 2.83071313e-005, -2.74212107e-005, -4.7741989e-005, -0.999999881)) | |
897 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.846853971, 1, 1)) | |
898 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.299818367, 0.846341252, 0.423170537)) | |
899 | Partweld=weld(m,HandleCannon,Part,CFrame.new(0, 0, 0, -0.99999994, 0.000457996561, -9.09982045e-005, 9.10133022e-005, 3.37350612e-005, -0.999999881, -0.000457993418, -1.00000012, -3.30279108e-005),CFrame.new(0.57966423, 0.432435989, -0.00188446045, -0.000144000034, 0.499983549, -0.866035163, 0.000182999996, -0.866035104, -0.499982744, -1, -0.000230482023, 3.32121745e-005)) | |
900 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.846853971, 1, 1)) | |
901 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.299818367, 0.846341252, 0.338536382)) | |
902 | Partweld=weld(m,HandleCannon,Part,CFrame.new(0, 0, 0, -0.99999994, 0.000457996561, -9.09982045e-005, 9.10133022e-005, 3.37350612e-005, -0.999999881, -0.000457993418, -1.00000012, -3.30279108e-005),CFrame.new(-0.57763195, 0.431354523, -0.0142745972, 8.40085704e-005, -0.49997887, -0.86603713, 0.000198996524, -0.866037726, 0.499979317, -1, -0.00021434098, 2.67395135e-005)) | |
903 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.846853971, 1, 1)) | |
904 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.299818367, 0.299818367, 0.423170626)) | |
905 | Partweld=weld(m,HandleCannon,Part,CFrame.new(0, 0, 0, -0.99999994, 0.000457996561, -9.09982045e-005, 9.10133022e-005, 3.37350612e-005, -0.999999881, -0.000457993418, -1.00000012, -3.30279108e-005),CFrame.new(1.6304903, -0.621986389, 0.153175354, 0.000259000633, -1.00000024, 5.10206301e-005, -4.29957763e-005, -5.03085794e-005, -0.999999881, 1.00000012, 0.00025899848, -4.30089131e-005)) | |
906 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.282284617, 0.282284617, 1)) | |
907 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.299818367, 2.28512096, 0.761707008)) | |
908 | Partweld=weld(m,HandleCannon,Part,CFrame.new(0, 0, 0, -0.99999994, 0.000457996561, -9.09982045e-005, 9.10133022e-005, 3.37350612e-005, -0.999999881, -0.000457993418, -1.00000012, -3.30279108e-005),CFrame.new(-0.528982162, 1.24835825, -0.00759887695, 3.09952957e-005, 2.72388133e-005, 0.999999881, 0.000214000916, -1.00000024, 2.79849282e-005, 1, 0.000214000072, -3.10011965e-005)) | |
909 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.564569294, 1, 1)) | |
910 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.299818367, 0.846341252, 0.592438817)) | |
911 | Partweld=weld(m,HandleCannon,Part,CFrame.new(0, 0, 0, -0.99999994, 0.000457996561, -9.09982045e-005, 9.10133022e-005, 3.37350612e-005, -0.999999881, -0.000457993418, -1.00000012, -3.30279108e-005),CFrame.new(-0.494949341, 0.383617401, 0.0411663055, 0.866149008, -0.49978596, -9.87100066e-007, -0.49978587, -0.866149127, 5.12359038e-005, -2.64841146e-005, -4.31224107e-005, -0.999999881)) | |
912 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.846853971, 1, 1)) | |
913 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.299818367, 2.2851212, 0.761707008)) | |
914 | Partweld=weld(m,HandleCannon,Part,CFrame.new(0, 0, 0, -0.99999994, 0.000457996561, -9.09982045e-005, 9.10133022e-005, 3.37350612e-005, -0.999999881, -0.000457993418, -1.00000012, -3.30279108e-005),CFrame.new(0.486633301, 1.24845505, 0.000785827637, 3.09952957e-005, 2.72388133e-005, 0.999999881, 0.000214000916, -1.00000024, 2.79849282e-005, 1, 0.000214000072, -3.10011965e-005)) | |
915 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.564569294, 1, 1)) | |
916 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.30000001192093,"Toothpaste","Part",Vector3.new(1.18487751, 0.592438877, 1.20804858)) | |
917 | Partweld=weld(m,HandleCannon,Part,CFrame.new(0, 0, 0, -0.99999994, 0.000457996561, -9.09982045e-005, 9.10133022e-005, 3.37350612e-005, -0.999999881, -0.000457993418, -1.00000012, -3.30279108e-005),CFrame.new(0.000869750977, 1.24849939, 0.0211935043, 1.00000012, 0.000259000721, -3.2994576e-005, 0.00025900203, -1.00000012, 4.09772474e-005, -3.29840368e-005, -4.02628866e-005, -0.999999821)) | |
918 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.299818367, 0.299818367, 0.423170626)) | |
919 | Partweld=weld(m,HandleCannon,Part,CFrame.new(0, 0, 0, -0.99999994, 0.000457996561, -9.09982045e-005, 9.10133022e-005, 3.37350612e-005, -0.999999881, -0.000457993418, -1.00000012, -3.30279108e-005),CFrame.new(1.46092153, -0.622012138, 0.15750885, 0.000259000633, -1.00000024, 5.10206301e-005, -4.29957763e-005, -5.03085794e-005, -0.999999881, 1.00000012, 0.00025899848, -4.30089131e-005)) | |
920 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.282284617, 0.282284617, 1)) | |
921 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.18487751, 0.846341312, 1.20804846)) | |
922 | Partweld=weld(m,HandleCannon,Part,CFrame.new(0, 0, 0, -0.99999994, 0.000457996561, -9.09982045e-005, 9.10133022e-005, 3.37350612e-005, -0.999999881, -0.000457993418, -1.00000012, -3.30279108e-005),CFrame.new(0.000877380371, 1.96789289, 0.0212240219, 1.00000012, 0.000259000721, -3.2994576e-005, 0.00025900203, -1.00000012, 4.09772474e-005, -3.29840368e-005, -4.02628866e-005, -0.999999821)) | |
923 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.20000000298023,0.5,"Toothpaste","Part",Vector3.new(1.18487751, 0.423170626, 1.0156095)) | |
924 | Partweld=weld(m,HandleCannon,Part,CFrame.new(0, 0, 0, -0.99999994, 0.000457996561, -9.09982045e-005, 9.10133022e-005, 3.37350612e-005, -0.999999881, -0.000457993418, -1.00000012, -3.30279108e-005),CFrame.new(0.0209197998, -0.105600953, -0.0211791992, 1.00000012, 0.000259000721, -3.2994576e-005, 0.00025900203, -1.00000012, 4.09772474e-005, -3.29840368e-005, -4.02628866e-005, -0.999999821)) | |
925 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
926 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.18487751, 0.846341312, 1.20804846)) | |
927 | Partweld=weld(m,HandleCannon,Part,CFrame.new(0, 0, 0, -0.99999994, 0.000457996561, -9.09982045e-005, 9.10133022e-005, 3.37350612e-005, -0.999999881, -0.000457993418, -1.00000012, -3.30279108e-005),CFrame.new(0.000930786133, 0.529093742, 0.0211801529, 1.00000012, 0.000259000721, -3.2994576e-005, 0.00025900203, -1.00000012, 4.09772474e-005, -3.29840368e-005, -4.02628866e-005, -0.999999821)) | |
928 | ||
929 | function MagniDamage(Hit,Part,magni,mindam,maxdam,knock,Type) | |
930 | for _,c in pairs(workspace:children()) do | |
931 | local hum=c:findFirstChild("Humanoid") | |
932 | if hum~=nil then | |
933 | local head=c:findFirstChild("Torso") | |
934 | if head~=nil then | |
935 | local targ=head.Position-Part.Position | |
936 | local mag=targ.magnitude | |
937 | if mag<=magni and c.Name~=Player.Name then | |
938 | Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3) | |
939 | end | |
940 | end | |
941 | end | |
942 | end | |
943 | end | |
944 | ||
945 | function magicring(brickcolor,cframe,x1,y1,z1,x3,y3,z3) | |
946 | local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",Vector3.new(0.5,0.5,0.5)) | |
947 | prt.Anchored=true | |
948 | prt.CFrame=cframe | |
949 | prt.Touched:connect(function(hit) end) | |
950 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1)) | |
951 | local ref = Instance.new("Part",workspace) | |
952 | ref.Anchored = true | |
953 | ref.Size = Vector3.new(5,5,5) | |
954 | ref.CFrame = Torso.CFrame*CFrame.new(-5,0,0) | |
955 | ref.CanCollide = false | |
956 | ref.Transparency = 1 | |
957 | MagniDamage(prt,ref,10,5,10,0,"Knockdown") | |
958 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
959 | for i=0,1,0.03 do | |
960 | wait() | |
961 | Part.CFrame=Part.CFrame | |
962 | Part.Transparency=i | |
963 | Mesh.Scale=Mesh.Scale+Vector3.new(x3,y3,z3) | |
964 | end | |
965 | Part.Parent=nil | |
966 | ref.Parent = nil | |
967 | end),prt,msh) | |
968 | end | |
969 | ||
970 | function attackone() | |
971 | attack = true | |
972 | for i = 0,1,0.1 do | |
973 | swait() | |
974 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
975 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.3) | |
976 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(10)),.3) | |
977 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3) | |
978 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
979 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
980 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
981 | end | |
982 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(5,10),"Normal",RootPart,.2,1) end) | |
983 | so("http://roblox.com/asset/?id=199150686",Hitbox,1,1) | |
984 | for i = 0,1,0.1 do | |
985 | swait() | |
986 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
987 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
988 | local h = 5 | |
989 | 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) | |
990 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
991 | 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) | |
992 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
993 | scfr = blcf | |
994 | elseif not scfr then | |
995 | scfr = blcf | |
996 | end | |
997 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
998 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.3) | |
999 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(-130)),.3) | |
1000 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-20)),.3) | |
1001 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1002 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1003 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3) | |
1004 | end | |
1005 | for i = 0,1,0.1 do | |
1006 | swait() | |
1007 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
1008 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3) | |
1009 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(50)),.3) | |
1010 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)),.3) | |
1011 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1012 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1013 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1014 | end | |
1015 | so("http://roblox.com/asset/?id=199146359",Hitbox,1,1) | |
1016 | for i = 0,1,0.1 do | |
1017 | swait() | |
1018 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1019 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1020 | local h = 5 | |
1021 | 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) | |
1022 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1023 | 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) | |
1024 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1025 | scfr = blcf | |
1026 | elseif not scfr then | |
1027 | scfr = blcf | |
1028 | end | |
1029 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3) | |
1030 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3) | |
1031 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(130)),.3) | |
1032 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)),.3) | |
1033 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1034 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1035 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.3) | |
1036 | end | |
1037 | attack = false | |
1038 | con:disconnect() | |
1039 | scfr = nil | |
1040 | end | |
1041 | ||
1042 | function attacktwo() | |
1043 | attack = true | |
1044 | for i = 0,1,0.1 do | |
1045 | swait() | |
1046 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
1047 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3) | |
1048 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(-90)),.3) | |
1049 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3) | |
1050 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1051 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1052 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1053 | end | |
1054 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(5,10),"Normal",RootPart,.2,1) end) | |
1055 | so("http://roblox.com/asset/?id=199150686",Hitbox,1,1) | |
1056 | for i = 0,1,0.1 do | |
1057 | swait() | |
1058 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1059 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.3) | |
1060 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-190), math.rad(-90)),.3) | |
1061 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.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,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3) | |
1065 | end | |
1066 | for i = 0,1,0.1 do | |
1067 | swait() | |
1068 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
1069 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3) | |
1070 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),.3) | |
1071 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3) | |
1072 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1073 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1074 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1075 | end | |
1076 | so("http://roblox.com/asset/?id=199150686",Hitbox,1,.9) | |
1077 | for i = 0,1,0.1 do | |
1078 | swait() | |
1079 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1080 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1081 | local h = 5 | |
1082 | 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) | |
1083 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1084 | 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) | |
1085 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1086 | scfr = blcf | |
1087 | elseif not scfr then | |
1088 | scfr = blcf | |
1089 | end | |
1090 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
1091 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.3) | |
1092 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(90)),.3) | |
1093 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3) | |
1094 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1095 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1096 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1097 | end | |
1098 | for i = 0,1,0.1 do | |
1099 | swait() | |
1100 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1101 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
1102 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(0)),.3) | |
1103 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3) | |
1104 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1105 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1106 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1107 | end | |
1108 | so("http://roblox.com/asset/?id=199146359",Hitbox,1,.9) | |
1109 | for i = 0,1,0.1 do | |
1110 | swait() | |
1111 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1112 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1113 | local h = 5 | |
1114 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
1115 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1116 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
1117 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1118 | scfr = blcf | |
1119 | elseif not scfr then | |
1120 | scfr = blcf | |
1121 | end | |
1122 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
1123 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-20)),.3) | |
1124 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)),.3) | |
1125 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-30)),.3) | |
1126 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1127 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1128 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1129 | end | |
1130 | attack = false | |
1131 | con:disconnect() | |
1132 | scfr = nil | |
1133 | end | |
1134 | ||
1135 | function Spin() | |
1136 | attack=true | |
1137 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(5,10),"Normal",RootPart,.2,1) end) | |
1138 | for i=0,1,0.1 do | |
1139 | swait() | |
1140 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
1141 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3) | |
1142 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(120)),.3) | |
1143 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)),.3) | |
1144 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1145 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1146 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
1147 | end | |
1148 | Humanoid.Jump = true | |
1149 | for i=0,1,1 do | |
1150 | so("http://roblox.com/asset/?id=234365573",Torso,1,1) | |
1151 | swait() | |
1152 | for i=0,1,0.1 do | |
1153 | swait() | |
1154 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1155 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1156 | local h = 5 | |
1157 | 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) | |
1158 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1159 | 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) | |
1160 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1161 | scfr = blcf | |
1162 | elseif not scfr then | |
1163 | scfr = blcf | |
1164 | end | |
1165 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2)*euler(0,-1.2,6*i),.3) | |
1166 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3) | |
1167 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(80)),.3) | |
1168 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-70)),.3) | |
1169 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(-10)),.3) | |
1170 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(10)),.3) | |
1171 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,-1,-1)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3) | |
1172 | end | |
1173 | end | |
1174 | attack=false | |
1175 | con:disconnect() | |
1176 | scfr = nil | |
1177 | end | |
1178 | ||
1179 | function StunTarget() | |
1180 | attack = true | |
1181 | for i = 0,1,0.05 do | |
1182 | swait() | |
1183 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),.3) | |
1184 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.3) | |
1185 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(10)),.3) | |
1186 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-90)),.3) | |
1187 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1188 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3) | |
1189 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
1190 | end | |
1191 | so("http://roblox.com/asset/?id=228343249",Torso,1,1) | |
1192 | for i = 1,2 do | |
1193 | 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) | |
1194 | 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) | |
1195 | end | |
1196 | attack = false | |
1197 | end | |
1198 | ||
1199 | mouse.Button1Down:connect(function() | |
1200 | if attack == false and attacktype == 1 then | |
1201 | attacktype = 2 | |
1202 | attackone() | |
1203 | elseif attack == false and attacktype == 2 then | |
1204 | attacktype = 1 | |
1205 | attacktwo() | |
1206 | end | |
1207 | end) | |
1208 | ||
1209 | mouse.KeyDown:connect(function(k) | |
1210 | k=k:lower() | |
1211 | if attack == false and k == 'q' then | |
1212 | Spin() | |
1213 | elseif attack == false and k == 'e' then | |
1214 | StunTarget() | |
1215 | end | |
1216 | end) | |
1217 | ||
1218 | ||
1219 | local sine = 0 | |
1220 | local change = 1 | |
1221 | local val = 0 | |
1222 | ||
1223 | while true do | |
1224 | swait() | |
1225 | sine = sine + change | |
1226 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
1227 | local velderp=RootPart.Velocity.y | |
1228 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
1229 | if equipped==true or equipped==false then | |
1230 | if attack==false then | |
1231 | idle=idle+1 | |
1232 | else | |
1233 | idle=0 | |
1234 | end | |
1235 | if idle>=500 then | |
1236 | if attack==false then | |
1237 | --Sheath() | |
1238 | end | |
1239 | end | |
1240 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
1241 | if attack==false then | |
1242 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1243 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
1244 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)),.2) | |
1245 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)),.2) | |
1246 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.2) | |
1247 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20)),.2) | |
1248 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
1249 | end | |
1250 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
1251 | Anim="Fall" | |
1252 | if attack==false then | |
1253 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1254 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
1255 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(40)),.2) | |
1256 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)),.2) | |
1257 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.2) | |
1258 | LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(10)),.2) | |
1259 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
1260 | end | |
1261 | elseif torvel<1 and hitfloor~=nil then | |
1262 | Anim="Idle" | |
1263 | if attack==false then | |
1264 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-40)),.2) | |
1265 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(40)),.2) | |
1266 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(10)),.2) | |
1267 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),.2) | |
1268 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.2) | |
1269 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.2) | |
1270 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
1271 | end | |
1272 | elseif torvel>2 and hitfloor~=nil then | |
1273 | Anim="Walk" | |
1274 | if attack==false then | |
1275 | change=3 | |
1276 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2) | |
1277 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
1278 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(10)),.2) | |
1279 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-15)),.2) | |
1280 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10)),.2) | |
1281 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10)),.2) | |
1282 | HandleWeld.C0=clerp(HandleWeld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
1283 | end | |
1284 | end | |
1285 | end | |
1286 | if #Effects>0 then | |
1287 | for e=1,#Effects do | |
1288 | if Effects[e]~=nil then | |
1289 | local Thing=Effects[e] | |
1290 | if Thing~=nil then | |
1291 | local Part=Thing[1] | |
1292 | local Mode=Thing[2] | |
1293 | local Delay=Thing[3] | |
1294 | local IncX=Thing[4] | |
1295 | local IncY=Thing[5] | |
1296 | local IncZ=Thing[6] | |
1297 | if Thing[1].Transparency<=1 then | |
1298 | if Thing[2]=="Block1" then | |
1299 | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1300 | Mesh=Thing[1].Mesh | |
1301 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1302 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1303 | elseif Thing[2]=="Cylinder" then | |
1304 | Mesh=Thing[1].Mesh | |
1305 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1306 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1307 | elseif Thing[2]=="Blood" then | |
1308 | Mesh=Thing[7] | |
1309 | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) | |
1310 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1311 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1312 | elseif Thing[2]=="Elec" then | |
1313 | Mesh=Thing[1].Mesh | |
1314 | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) | |
1315 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1316 | elseif Thing[2]=="Disappear" then | |
1317 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1318 | end | |
1319 | else | |
1320 | Part.Parent=nil | |
1321 | table.remove(Effects,e) | |
1322 | end | |
1323 | end | |
1324 | end | |
1325 | end | |
1326 | end | |
1327 | end |