SHOW:
|
|
- or go back to the newest paste.
1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
3 | local Player,game,owner = owner,game | |
4 | local RealPlayer = Player | |
5 | do | |
6 | print("FE Compatibility code V2 by Mokiros") | |
7 | local RealPlayer = RealPlayer | |
8 | script.Parent = RealPlayer.Character | |
9 | ||
10 | --Fake event to make stuff like Mouse.KeyDown work | |
11 | local Disconnect_Function = function(this) | |
12 | this[1].Functions[this[2]] = nil | |
13 | end | |
14 | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}} | |
15 | local FakeEvent_Metatable = {__index={ | |
16 | Connect = function(this,f) | |
17 | local i = tostring(math.random(0,10000)) | |
18 | while this.Functions[i] do | |
19 | i = tostring(math.random(0,10000)) | |
20 | end | |
21 | this.Functions[i] = f | |
22 | return setmetatable({this,i},Disconnect_Metatable) | |
23 | end | |
24 | }} | |
25 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
26 | local function fakeEvent() | |
27 | return setmetatable({Functions={}},FakeEvent_Metatable) | |
28 | end | |
29 | ||
30 | --Creating fake input objects with fake variables | |
31 | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()} | |
32 | FakeMouse.keyUp = FakeMouse.KeyUp | |
33 | FakeMouse.keyDown = FakeMouse.KeyDown | |
34 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
35 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
36 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
37 | end} | |
38 | --Merged 2 functions into one by checking amount of arguments | |
39 | CAS.UnbindAction = CAS.BindAction | |
40 | ||
41 | --This function will trigger the events that have been :Connect()'ed | |
42 | local function TriggerEvent(self,ev,...) | |
43 | for _,f in pairs(self[ev].Functions) do | |
44 | f(...) | |
45 | end | |
46 | end | |
47 | FakeMouse.TriggerEvent = TriggerEvent | |
48 | UIS.TriggerEvent = TriggerEvent | |
49 | ||
50 | --Client communication | |
51 | local Event = Instance.new("RemoteEvent") | |
52 | Event.Name = "UserInput_Event" | |
53 | Event.OnServerEvent:Connect(function(plr,io) | |
54 | if plr~=RealPlayer then return end | |
55 | FakeMouse.Target = io.Target | |
56 | FakeMouse.Hit = io.Hit | |
57 | if not io.isMouse then | |
58 | local b = io.UserInputState == Enum.UserInputState.Begin | |
59 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
60 | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") | |
61 | end | |
62 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
63 | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") | |
64 | end | |
65 | for _,t in pairs(CAS.Actions) do | |
66 | for _,k in pairs(t.Keys) do | |
67 | if k==io.KeyCode then | |
68 | t.Function(t.Name,io.UserInputState,io) | |
69 | end | |
70 | end | |
71 | end | |
72 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
73 | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) | |
74 | end | |
75 | end) | |
76 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event") | |
77 | local Mouse = owner:GetMouse() | |
78 | local UIS = game:GetService("UserInputService") | |
79 | local input = function(io,RobloxHandled) | |
80 | if RobloxHandled then return end | |
81 | --Since InputObject is a client-side instance, we create and pass table instead | |
82 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
83 | end | |
84 | UIS.InputBegan:Connect(input) | |
85 | UIS.InputEnded:Connect(input) | |
86 | ||
87 | local h,t | |
88 | --Give the server mouse data every second frame, but only if the values changed | |
89 | --If player is not moving their mouse, client won't fire events | |
90 | local HB = game:GetService("RunService").Heartbeat | |
91 | while true do | |
92 | if h~=Mouse.Hit or t~=Mouse.Target then | |
93 | h,t=Mouse.Hit,Mouse.Target | |
94 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
95 | end | |
96 | --Wait 2 frames | |
97 | for i=1,2 do | |
98 | HB:Wait() | |
99 | end | |
100 | end]==],script) | |
101 | ||
102 | ----Sandboxed game object that allows the usage of client-side methods and services | |
103 | --Real game object | |
104 | local RealGame = game | |
105 | ||
106 | --Metatable for fake service | |
107 | local FakeService_Metatable = { | |
108 | __index = function(self,k) | |
109 | local s = rawget(self,"_RealService") | |
110 | if s then | |
111 | return typeof(s[k])=="function" | |
112 | and function(_,...)return s[k](s,...)end or s[k] | |
113 | end | |
114 | end, | |
115 | __newindex = function(self,k,v) | |
116 | local s = rawget(self,"_RealService") | |
117 | if s then s[k]=v end | |
118 | end | |
119 | } | |
120 | local function FakeService(t,RealService) | |
121 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
122 | return setmetatable(t,FakeService_Metatable) | |
123 | end | |
124 | ||
125 | --Fake game object | |
126 | local FakeGame = { | |
127 | GetService = function(self,s) | |
128 | return rawget(self,s) or RealGame:GetService(s) | |
129 | end, | |
130 | Players = FakeService({ | |
131 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player) | |
132 | },"Players"), | |
133 | UserInputService = FakeService(UIS,"UserInputService"), | |
134 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
135 | RunService = FakeService({ | |
136 | _btrs = {}, | |
137 | RenderStepped = RealGame:GetService("RunService").Heartbeat, | |
138 | BindToRenderStep = function(self,name,_,fun) | |
139 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
140 | end, | |
141 | UnbindFromRenderStep = function(self,name) | |
142 | self._btrs[name]:Disconnect() | |
143 | end, | |
144 | },"RunService") | |
145 | } | |
146 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
147 | FakeGame.service = FakeGame.GetService | |
148 | FakeService(FakeGame,game) | |
149 | --Changing owner to fake player object to support owner:GetMouse() | |
150 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
151 | end | |
152 | ||
153 | Player=game:GetService("Players").LocalPlayer | |
154 | Character=Player.Character | |
155 | PlayerGui=Player.PlayerGui | |
156 | Backpack=Player.Backpack | |
157 | Torso=Character.Torso | |
158 | Head=Character.Head | |
159 | Humanoid=Character.Humanoid | |
160 | m=Instance.new('Model',Character) | |
161 | LeftArm=Character["Left Arm"] | |
162 | LeftLeg=Character["Left Leg"] | |
163 | RightArm=Character["Right Arm"] | |
164 | RightLeg=Character["Right Leg"] | |
165 | LS=Torso["Left Shoulder"] | |
166 | LH=Torso["Left Hip"] | |
167 | RS=Torso["Right Shoulder"] | |
168 | RH=Torso["Right Hip"] | |
169 | Face = Head.face | |
170 | Neck=Torso.Neck | |
171 | it=Instance.new | |
172 | attacktype=1 | |
173 | vt=Vector3.new | |
174 | cf=CFrame.new | |
175 | euler=CFrame.fromEulerAnglesXYZ | |
176 | angles=CFrame.Angles | |
177 | cloaked=false | |
178 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
179 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
180 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
181 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
182 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
183 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
184 | RootPart=Character.HumanoidRootPart | |
185 | RootJoint=RootPart.RootJoint | |
186 | RootCF=euler(-1.57,0,3.14) | |
187 | attack = false | |
188 | attackdebounce = false | |
189 | deb=false | |
190 | equipped=true | |
191 | hand=false | |
192 | MMouse=nil | |
193 | combo=0 | |
194 | mana=0 | |
195 | trispeed=.2 | |
196 | attackmode='none' | |
197 | local idle=0 | |
198 | local Anim="Idle" | |
199 | local Effects={} | |
200 | local gun=false | |
201 | local shoot=false | |
202 | player=nil | |
203 | mana=0 | |
204 | ||
205 | mouse=Player:GetMouse() | |
206 | --save shoulders | |
207 | RSH, LSH=nil, nil | |
208 | --welds | |
209 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
210 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
211 | LH=Torso["Left Hip"] | |
212 | RH=Torso["Right Hip"] | |
213 | TorsoColor=Torso.BrickColor | |
214 | function NoOutline(Part) | |
215 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
216 | end | |
217 | player=Player | |
218 | ch=Character | |
219 | RSH=ch.Torso["Right Shoulder"] | |
220 | LSH=ch.Torso["Left Shoulder"] | |
221 | -- | |
222 | RSH.Parent=nil | |
223 | LSH.Parent=nil | |
224 | -- | |
225 | RW.Name="Right Shoulder" | |
226 | RW.Part0=ch.Torso | |
227 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
228 | RW.C1=cf(0, 0.5, 0) | |
229 | RW.Part1=ch["Right Arm"] | |
230 | RW.Parent=ch.Torso | |
231 | -- | |
232 | LW.Name="Left Shoulder" | |
233 | LW.Part0=ch.Torso | |
234 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
235 | LW.C1=cf(0, 0.5, 0) | |
236 | LW.Part1=ch["Left Arm"] | |
237 | LW.Parent=ch.Torso | |
238 | ||
239 | Player=game:GetService('Players').LocalPlayer | |
240 | Character=Player.Character | |
241 | Mouse=Player:GetMouse() | |
242 | m=Instance.new('Model',Character) | |
243 | ||
244 | ||
245 | local function weldBetween(a, b) | |
246 | local weldd = Instance.new("ManualWeld") | |
247 | weldd.Part0 = a | |
248 | weldd.Part1 = b | |
249 | weldd.C0 = CFrame.new() | |
250 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
251 | weldd.Parent = a | |
252 | return weldd | |
253 | end | |
254 | ||
255 | function swait(num) | |
256 | if num==0 or num==nil then | |
257 | game:service'RunService'.Stepped:wait(0) | |
258 | else | |
259 | for i=0,num do | |
260 | game:service'RunService'.Stepped:wait(0) | |
261 | end | |
262 | end | |
263 | end | |
264 | ||
265 | function nooutline(part) | |
266 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
267 | end | |
268 | ||
269 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
270 | local fp=it("Part") | |
271 | fp.formFactor=formfactor | |
272 | fp.Parent=parent | |
273 | fp.Reflectance=reflectance | |
274 | fp.Transparency=transparency | |
275 | fp.CanCollide=false | |
276 | fp.Locked=true | |
277 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
278 | fp.Name=name | |
279 | fp.Size=size | |
280 | fp.Position=Character.Torso.Position | |
281 | nooutline(fp) | |
282 | fp.Material=material | |
283 | fp:BreakJoints() | |
284 | return fp | |
285 | end | |
286 | ||
287 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
288 | local mesh=it(Mesh) | |
289 | mesh.Parent=part | |
290 | if Mesh=="SpecialMesh" then | |
291 | mesh.MeshType=meshtype | |
292 | mesh.MeshId=meshid | |
293 | end | |
294 | mesh.Offset=offset | |
295 | mesh.Scale=scale | |
296 | return mesh | |
297 | end | |
298 | ||
299 | function weld(parent,part0,part1,c0,c1) | |
300 | local weld=it("Weld") | |
301 | weld.Parent=parent | |
302 | weld.Part0=part0 | |
303 | weld.Part1=part1 | |
304 | weld.C0=c0 | |
305 | weld.C1=c1 | |
306 | return weld | |
307 | end | |
308 | ||
309 | ||
310 | local function CFrameFromTopBack(at, top, back) | |
311 | local right = top:Cross(back) | |
312 | return CFrame.new(at.x, at.y, at.z, | |
313 | right.x, top.x, back.x, | |
314 | right.y, top.y, back.y, | |
315 | right.z, top.z, back.z) | |
316 | end | |
317 | ||
318 | function Triangle(a, b, c) | |
319 | local edg1 = (c-a):Dot((b-a).unit) | |
320 | local edg2 = (a-b):Dot((c-b).unit) | |
321 | local edg3 = (b-c):Dot((a-c).unit) | |
322 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
323 | a, b, c = a, b, c | |
324 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
325 | a, b, c = b, c, a | |
326 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
327 | a, b, c = c, a, b | |
328 | else | |
329 | assert(false, "unreachable") | |
330 | end | |
331 | ||
332 | local len1 = (c-a):Dot((b-a).unit) | |
333 | local len2 = (b-a).magnitude - len1 | |
334 | local width = (a + (b-a).unit*len1 - c).magnitude | |
335 | ||
336 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
337 | ||
338 | local list = {} | |
339 | ||
340 | if len1 > 0.01 then | |
341 | local w1 = Instance.new('WedgePart', m) | |
342 | game:GetService("Debris"):AddItem(w1,5) | |
343 | w1.Material = "SmoothPlastic" | |
344 | w1.FormFactor = 'Custom' | |
345 | w1.BrickColor = BrickColor.new("Really red") | |
346 | w1.Transparency = 0 | |
347 | w1.Reflectance = 0 | |
348 | w1.Material = "SmoothPlastic" | |
349 | w1.CanCollide = false | |
350 | NoOutline(w1) | |
351 | local sz = Vector3.new(0.2, width, len1) | |
352 | w1.Size = sz | |
353 | local sp = Instance.new("SpecialMesh",w1) | |
354 | sp.MeshType = "Wedge" | |
355 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
356 | w1:BreakJoints() | |
357 | w1.Anchored = true | |
358 | w1.Parent = workspace | |
359 | w1.Transparency = 0.7 | |
360 | table.insert(Effects,{w1,"Disappear",.01}) | |
361 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
362 | table.insert(list,w1) | |
363 | end | |
364 | ||
365 | if len2 > 0.01 then | |
366 | local w2 = Instance.new('WedgePart', m) | |
367 | game:GetService("Debris"):AddItem(w2,5) | |
368 | w2.Material = "SmoothPlastic" | |
369 | w2.FormFactor = 'Custom' | |
370 | w2.BrickColor = BrickColor.new("Really red") | |
371 | w2.Transparency = 0 | |
372 | w2.Reflectance = 0 | |
373 | w2.Material = "SmoothPlastic" | |
374 | w2.CanCollide = false | |
375 | NoOutline(w2) | |
376 | local sz = Vector3.new(0.2, width, len2) | |
377 | w2.Size = sz | |
378 | local sp = Instance.new("SpecialMesh",w2) | |
379 | sp.MeshType = "Wedge" | |
380 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
381 | w2:BreakJoints() | |
382 | w2.Anchored = true | |
383 | w2.Parent = workspace | |
384 | w2.Transparency = 0.7 | |
385 | table.insert(Effects,{w2,"Disappear",.01}) | |
386 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
387 | table.insert(list,w2) | |
388 | end | |
389 | return unpack(list) | |
390 | end | |
391 | ||
392 | ||
393 | so = function(id,par,vol,pit) | |
394 | coroutine.resume(coroutine.create(function() | |
395 | local sou = Instance.new("Sound",par or workspace) | |
396 | sou.Volume=vol | |
397 | sou.Pitch=pit or 1 | |
398 | sou.SoundId=id | |
399 | swait() | |
400 | sou:play() | |
401 | game:GetService("Debris"):AddItem(sou,6) | |
402 | end)) | |
403 | end | |
404 | ||
405 | function clerp(a,b,t) | |
406 | local qa = {QuaternionFromCFrame(a)} | |
407 | local qb = {QuaternionFromCFrame(b)} | |
408 | local ax, ay, az = a.x, a.y, a.z | |
409 | local bx, by, bz = b.x, b.y, b.z | |
410 | local _t = 1-t | |
411 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
412 | end | |
413 | ||
414 | function QuaternionFromCFrame(cf) | |
415 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
416 | local trace = m00 + m11 + m22 | |
417 | if trace > 0 then | |
418 | local s = math.sqrt(1 + trace) | |
419 | local recip = 0.5/s | |
420 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
421 | else | |
422 | local i = 0 | |
423 | if m11 > m00 then | |
424 | i = 1 | |
425 | end | |
426 | if m22 > (i == 0 and m00 or m11) then | |
427 | i = 2 | |
428 | end | |
429 | if i == 0 then | |
430 | local s = math.sqrt(m00-m11-m22+1) | |
431 | local recip = 0.5/s | |
432 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
433 | elseif i == 1 then | |
434 | local s = math.sqrt(m11-m22-m00+1) | |
435 | local recip = 0.5/s | |
436 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
437 | elseif i == 2 then | |
438 | local s = math.sqrt(m22-m00-m11+1) | |
439 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
440 | end | |
441 | end | |
442 | end | |
443 | ||
444 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
445 | local xs, ys, zs = x + x, y + y, z + z | |
446 | local wx, wy, wz = w*xs, w*ys, w*zs | |
447 | local xx = x*xs | |
448 | local xy = x*ys | |
449 | local xz = x*zs | |
450 | local yy = y*ys | |
451 | local yz = y*zs | |
452 | local zz = z*zs | |
453 | 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)) | |
454 | end | |
455 | ||
456 | function QuaternionSlerp(a, b, t) | |
457 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
458 | local startInterp, finishInterp; | |
459 | if cosTheta >= 0.0001 then | |
460 | if (1 - cosTheta) > 0.0001 then | |
461 | local theta = math.acos(cosTheta) | |
462 | local invSinTheta = 1/math.sin(theta) | |
463 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
464 | finishInterp = math.sin(t*theta)*invSinTheta | |
465 | else | |
466 | startInterp = 1-t | |
467 | finishInterp = t | |
468 | end | |
469 | else | |
470 | if (1+cosTheta) > 0.0001 then | |
471 | local theta = math.acos(-cosTheta) | |
472 | local invSinTheta = 1/math.sin(theta) | |
473 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
474 | finishInterp = math.sin(t*theta)*invSinTheta | |
475 | else | |
476 | startInterp = t-1 | |
477 | finishInterp = t | |
478 | end | |
479 | end | |
480 | 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 | |
481 | end | |
482 | ||
483 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
484 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
485 | end | |
486 | ||
487 | local function CFrameFromTopBack(at, top, back) | |
488 | local right = top:Cross(back) | |
489 | return CFrame.new(at.x, at.y, at.z, | |
490 | right.x, top.x, back.x, | |
491 | right.y, top.y, back.y, | |
492 | right.z, top.z, back.z) | |
493 | end | |
494 | ||
495 | --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
496 | ||
497 | ||
498 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
499 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
500 | end | |
501 | ||
502 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
503 | if hit.Parent==nil then | |
504 | return | |
505 | end | |
506 | h=hit.Parent:FindFirstChild("Humanoid") | |
507 | for _,v in pairs(hit.Parent:children()) do | |
508 | if v:IsA("Humanoid") then | |
509 | h=v | |
510 | end | |
511 | end | |
512 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
513 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
514 | end | |
515 | if hit.Parent.className=="Hat" then | |
516 | hit=hit.Parent.Parent:findFirstChild("Head") | |
517 | end | |
518 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
519 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
520 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
521 | return | |
522 | end]] | |
523 | -- hs(hit,1.2) | |
524 | c=Instance.new("ObjectValue") | |
525 | c.Name="creator" | |
526 | c.Value=game:service("Players").LocalPlayer | |
527 | c.Parent=h | |
528 | game:GetService("Debris"):AddItem(c,.5) | |
529 | Damage=math.random(minim,maxim) | |
530 | -- h:TakeDamage(Damage) | |
531 | blocked=false | |
532 | block=hit.Parent:findFirstChild("Block") | |
533 | if block~=nil then | |
534 | print(block.className) | |
535 | if block.className=="NumberValue" then | |
536 | if block.Value>0 then | |
537 | blocked=true | |
538 | if decreaseblock==nil then | |
539 | block.Value=block.Value-1 | |
540 | end | |
541 | end | |
542 | end | |
543 | if block.className=="IntValue" then | |
544 | if block.Value>0 then | |
545 | blocked=true | |
546 | if decreaseblock~=nil then | |
547 | block.Value=block.Value-1 | |
548 | end | |
549 | end | |
550 | end | |
551 | end | |
552 | if blocked==false then | |
553 | -- h:TakeDamage(Damage) | |
554 | h.Health=h.Health-Damage | |
555 | showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red")) | |
556 | else | |
557 | h.Health=h.Health-(Damage/2) | |
558 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) | |
559 | end | |
560 | if Type=="Knockdown" then | |
561 | hum=hit.Parent.Humanoid | |
562 | hum.PlatformStand=true | |
563 | coroutine.resume(coroutine.create(function(HHumanoid) | |
564 | swait(1) | |
565 | HHumanoid.PlatformStand=false | |
566 | end),hum) | |
567 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
568 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
569 | local bodvol=Instance.new("BodyVelocity") | |
570 | bodvol.velocity=angle*knockback | |
571 | bodvol.P=5000 | |
572 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
573 | bodvol.Parent=hit | |
574 | rl=Instance.new("BodyAngularVelocity") | |
575 | rl.P=3000 | |
576 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
577 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
578 | rl.Parent=hit | |
579 | game:GetService("Debris"):AddItem(bodvol,.5) | |
580 | game:GetService("Debris"):AddItem(rl,.5) | |
581 | elseif Type=="Normal" then | |
582 | vp=Instance.new("BodyVelocity") | |
583 | vp.P=500 | |
584 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
585 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
586 | if KnockbackType==1 then | |
587 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
588 | elseif KnockbackType==2 then | |
589 | vp.velocity=Property.CFrame.lookVector*knockback | |
590 | end | |
591 | if knockback>0 then | |
592 | vp.Parent=hit.Parent.Torso | |
593 | end | |
594 | game:GetService("Debris"):AddItem(vp,.5) | |
595 | elseif Type=="Up" then | |
596 | local bodyVelocity=Instance.new("BodyVelocity") | |
597 | bodyVelocity.velocity=vt(0,60,0) | |
598 | bodyVelocity.P=5000 | |
599 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
600 | bodyVelocity.Parent=hit | |
601 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
602 | rl=Instance.new("BodyAngularVelocity") | |
603 | rl.P=3000 | |
604 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
605 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
606 | rl.Parent=hit | |
607 | game:GetService("Debris"):AddItem(rl,.5) | |
608 | elseif Type=="Snare" then | |
609 | bp=Instance.new("BodyPosition") | |
610 | bp.P=2000 | |
611 | bp.D=100 | |
612 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
613 | bp.position=hit.Parent.Torso.Position | |
614 | bp.Parent=hit.Parent.Torso | |
615 | game:GetService("Debris"):AddItem(bp,1) | |
616 | elseif Type=="Target" then | |
617 | if Targetting==false then | |
618 | ZTarget=hit.Parent.Torso | |
619 | coroutine.resume(coroutine.create(function(Part) | |
620 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
621 | swait(5) | |
622 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
623 | end),ZTarget) | |
624 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
625 | targetgui=Instance.new("BillboardGui") | |
626 | targetgui.Parent=ZTarget | |
627 | targetgui.Size=UDim2.new(10,100,10,100) | |
628 | targ=Instance.new("ImageLabel") | |
629 | targ.Parent=targetgui | |
630 | targ.BackgroundTransparency=1 | |
631 | targ.Image="rbxassetid://4834067" | |
632 | targ.Size=UDim2.new(1,0,1,0) | |
633 | cam.CameraType="Scriptable" | |
634 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
635 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
636 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
637 | Targetting=true | |
638 | RocketTarget=ZTarget | |
639 | for i=1,Property do | |
640 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
641 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
642 | swait() | |
643 | end | |
644 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
645 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
646 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
647 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
648 | end | |
649 | Targetting=false | |
650 | RocketTarget=nil | |
651 | targetgui.Parent=nil | |
652 | cam.CameraType="Custom" | |
653 | end | |
654 | end | |
655 | debounce=Instance.new("BoolValue") | |
656 | debounce.Name="DebounceHit" | |
657 | debounce.Parent=hit.Parent | |
658 | debounce.Value=true | |
659 | game:GetService("Debris"):AddItem(debounce,Delay) | |
660 | c=Instance.new("ObjectValue") | |
661 | c.Name="creator" | |
662 | c.Value=Player | |
663 | c.Parent=h | |
664 | game:GetService("Debris"):AddItem(c,.5) | |
665 | CRIT=false | |
666 | hitDeb=true | |
667 | AttackPos=6 | |
668 | end | |
669 | end | |
670 | ||
671 | showDamage=function(Char,Dealt,du,Color) | |
672 | m=Instance.new("Model") | |
673 | m.Name=tostring(Dealt) | |
674 | h=Instance.new("Humanoid") | |
675 | h.Health=0 | |
676 | h.MaxHealth=0 | |
677 | h.Parent=m | |
678 | c=Instance.new("Part") | |
679 | c.Transparency=0 | |
680 | c.BrickColor=Color | |
681 | c.Name="Head" | |
682 | c.TopSurface=0 | |
683 | c.BottomSurface=0 | |
684 | c.formFactor="Plate" | |
685 | c.Size=Vector3.new(1,.4,1) | |
686 | ms=Instance.new("CylinderMesh") | |
687 | ms.Scale=Vector3.new(.8,.8,.8) | |
688 | if CRIT==true then | |
689 | ms.Scale=Vector3.new(1,1.25,1) | |
690 | end | |
691 | ms.Parent=c | |
692 | c.Reflectance=0 | |
693 | Instance.new("BodyGyro").Parent=c | |
694 | c.Parent=m | |
695 | if Char:findFirstChild("Head")~=nil then | |
696 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
697 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
698 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
699 | end | |
700 | f=Instance.new("BodyPosition") | |
701 | f.P=2000 | |
702 | f.D=100 | |
703 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
704 | f.position=c.Position+Vector3.new(0,3,0) | |
705 | f.Parent=c | |
706 | game:GetService("Debris"):AddItem(m,.5+du) | |
707 | c.CanCollide=false | |
708 | m.Parent=workspace | |
709 | c.CanCollide=false | |
710 | end | |
711 | ||
712 | Player=game:GetService('Players').LocalPlayer | |
713 | Character=Player.Character | |
714 | Mouse=Player:GetMouse() | |
715 | m=Instance.new('Model',Character) | |
716 | it=Instance.new | |
717 | function nooutline(part) | |
718 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
719 | end | |
720 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
721 | local fp=it("Part") | |
722 | fp.formFactor=formfactor | |
723 | fp.Parent=parent | |
724 | fp.Reflectance=reflectance | |
725 | fp.Transparency=transparency | |
726 | fp.CanCollide=false | |
727 | fp.Locked=true | |
728 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
729 | fp.Name=name | |
730 | fp.Size=size | |
731 | fp.Position=Character.Torso.Position | |
732 | nooutline(fp) | |
733 | fp.Material=material | |
734 | fp:BreakJoints() | |
735 | return fp | |
736 | end | |
737 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
738 | local mesh=it(Mesh) | |
739 | mesh.Parent=part | |
740 | if Mesh=="SpecialMesh" then | |
741 | mesh.MeshType=meshtype | |
742 | mesh.MeshId=meshid | |
743 | end | |
744 | mesh.Offset=offset | |
745 | mesh.Scale=scale | |
746 | return mesh | |
747 | end | |
748 | function weld(parent,part0,part1,c0,c1) | |
749 | local weld=it("Weld") | |
750 | weld.Parent=parent | |
751 | weld.Part0=part0 | |
752 | weld.Part1=part1 | |
753 | weld.C0=c0 | |
754 | weld.C1=c1 | |
755 | return weld | |
756 | end | |
757 | ||
758 | Player=game:GetService('Players').LocalPlayer | |
759 | Character=Player.Character | |
760 | Mouse=Player:GetMouse() | |
761 | m=Instance.new('Model',Character) | |
762 | it=Instance.new | |
763 | function nooutline(part) | |
764 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
765 | end | |
766 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
767 | local fp=it("Part") | |
768 | fp.formFactor=formfactor | |
769 | fp.Parent=parent | |
770 | fp.Reflectance=reflectance | |
771 | fp.Transparency=transparency | |
772 | fp.CanCollide=false | |
773 | fp.Locked=true | |
774 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
775 | fp.Name=name | |
776 | fp.Size=size | |
777 | fp.Position=Character.Torso.Position | |
778 | nooutline(fp) | |
779 | fp.Material=material | |
780 | fp:BreakJoints() | |
781 | return fp | |
782 | end | |
783 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
784 | local mesh=it(Mesh) | |
785 | mesh.Parent=part | |
786 | if Mesh=="SpecialMesh" then | |
787 | mesh.MeshType=meshtype | |
788 | mesh.MeshId=meshid | |
789 | end | |
790 | mesh.Offset=offset | |
791 | mesh.Scale=scale | |
792 | return mesh | |
793 | end | |
794 | function weld(parent,part0,part1,c0,c1) | |
795 | local weld=it("Weld") | |
796 | weld.Parent=parent | |
797 | weld.Part0=part0 | |
798 | weld.Part1=part1 | |
799 | weld.C0=c0 | |
800 | weld.C1=c1 | |
801 | return weld | |
802 | end | |
803 | ||
804 | Player=game:GetService('Players').LocalPlayer | |
805 | Character=Player.Character | |
806 | Mouse=Player:GetMouse() | |
807 | m=Instance.new('Model',Character) | |
808 | it=Instance.new | |
809 | function nooutline(part) | |
810 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
811 | end | |
812 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
813 | local fp=it("Part") | |
814 | fp.formFactor=formfactor | |
815 | fp.Parent=parent | |
816 | fp.Reflectance=reflectance | |
817 | fp.Transparency=transparency | |
818 | fp.CanCollide=false | |
819 | fp.Locked=true | |
820 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
821 | fp.Name=name | |
822 | fp.Size=size | |
823 | fp.Position=Character.Torso.Position | |
824 | nooutline(fp) | |
825 | fp.Material=material | |
826 | fp:BreakJoints() | |
827 | return fp | |
828 | end | |
829 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
830 | local mesh=it(Mesh) | |
831 | mesh.Parent=part | |
832 | if Mesh=="SpecialMesh" then | |
833 | mesh.MeshType=meshtype | |
834 | mesh.MeshId=meshid | |
835 | end | |
836 | mesh.Offset=offset | |
837 | mesh.Scale=scale | |
838 | return mesh | |
839 | end | |
840 | function weld(parent,part0,part1,c0,c1) | |
841 | local weld=it("Weld") | |
842 | weld.Parent=parent | |
843 | weld.Part0=part0 | |
844 | weld.Part1=part1 | |
845 | weld.C0=c0 | |
846 | weld.C1=c1 | |
847 | return weld | |
848 | end | |
849 | ||
850 | Player=game:GetService('Players').LocalPlayer | |
851 | Character=Player.Character | |
852 | Mouse=Player:GetMouse() | |
853 | m=Instance.new('Model',Character) | |
854 | it=Instance.new | |
855 | function nooutline(part) | |
856 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
857 | end | |
858 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
859 | local fp=it("Part") | |
860 | fp.formFactor=formfactor | |
861 | fp.Parent=parent | |
862 | fp.Reflectance=reflectance | |
863 | fp.Transparency=transparency | |
864 | fp.CanCollide=false | |
865 | fp.Locked=true | |
866 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
867 | fp.Name=name | |
868 | fp.Size=size | |
869 | fp.Position=Character.Torso.Position | |
870 | nooutline(fp) | |
871 | fp.Material=material | |
872 | fp:BreakJoints() | |
873 | return fp | |
874 | end | |
875 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
876 | local mesh=it(Mesh) | |
877 | mesh.Parent=part | |
878 | if Mesh=="SpecialMesh" then | |
879 | mesh.MeshType=meshtype | |
880 | mesh.MeshId=meshid | |
881 | end | |
882 | mesh.Offset=offset | |
883 | mesh.Scale=scale | |
884 | return mesh | |
885 | end | |
886 | function weld(parent,part0,part1,c0,c1) | |
887 | local weld=it("Weld") | |
888 | weld.Parent=parent | |
889 | weld.Part0=part0 | |
890 | weld.Part1=part1 | |
891 | weld.C0=c0 | |
892 | weld.C1=c1 | |
893 | return weld | |
894 | end | |
895 | ||
896 | Player=game:GetService('Players').LocalPlayer | |
897 | Character=Player.Character | |
898 | Mouse=Player:GetMouse() | |
899 | m=Instance.new('Model',Character) | |
900 | it=Instance.new | |
901 | function nooutline(part) | |
902 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
903 | end | |
904 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
905 | local fp=it("Part") | |
906 | fp.formFactor=formfactor | |
907 | fp.Parent=parent | |
908 | fp.Reflectance=reflectance | |
909 | fp.Transparency=transparency | |
910 | fp.CanCollide=false | |
911 | fp.Locked=true | |
912 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
913 | fp.Name=name | |
914 | fp.Size=size | |
915 | fp.Position=Character.Torso.Position | |
916 | nooutline(fp) | |
917 | fp.Material=material | |
918 | fp:BreakJoints() | |
919 | return fp | |
920 | end | |
921 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
922 | local mesh=it(Mesh) | |
923 | mesh.Parent=part | |
924 | if Mesh=="SpecialMesh" then | |
925 | mesh.MeshType=meshtype | |
926 | mesh.MeshId=meshid | |
927 | end | |
928 | mesh.Offset=offset | |
929 | mesh.Scale=scale | |
930 | return mesh | |
931 | end | |
932 | function weld(parent,part0,part1,c0,c1) | |
933 | local weld=it("Weld") | |
934 | weld.Parent=parent | |
935 | weld.Part0=part0 | |
936 | weld.Part1=part1 | |
937 | weld.C0=c0 | |
938 | weld.C1=c1 | |
939 | return weld | |
940 | end | |
941 | ||
942 | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.39999938, 13.7999973, 0.399999976)) | |
943 | 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.0048122406, -6.40232849, 1.03116059, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289)) | |
944 | mesh("CylinderMesh",Handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
945 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.39999938, 0.80000025, 4.20000219)) | |
946 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000183105469, -9.09996033, 2.7000494, 1, -1.19209076e-007, 4.47013271e-008, 4.49016397e-008, 0.00168089767, -0.999998569, 1.19133766e-007, 0.999998569, 0.00168089778)) | |
947 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1, 0.200000271, 4.59999943)) | |
948 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.59981537, -0.319915771, 2.48973823, 1.63094505e-009, -0.00167454977, 0.999998569, 1, -1.19209083e-007, -1.83056925e-009, 1.19211975e-007, 0.999998569, 0.00167454977)) | |
949 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.400000036, 0.200000271, 4.00000048)) | |
950 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(9.30006409, 0.310112, 2.78980875, 2.04899884e-008, -0.00160901435, 0.999998689, 1, -1.19209126e-007, -2.06818243e-008, 1.19242245e-007, 0.999998689, 0.00160901435)) | |
951 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1, 0.200000271, 4.60000038)) | |
952 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.60009003, 0.310125351, 2.48941946, 5.51521886e-008, -0.00159262656, 0.999998808, 1, -1.78814503e-007, -5.54370416e-008, 1.78902582e-007, 0.999998808, 0.00159262656)) | |
953 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.39999938, 0.200000271, 0.400000036)) | |
954 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.00018119812, -2.2995882, -6.70053864, 1, -1.19209076e-007, -2.38424491e-007, -1.1956142e-007, -0.999998927, -0.00147830346, -2.3824802e-007, 0.00147830346, -0.999998927)) | |
955 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
956 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.39999938, 1.39999998, 0.600001216)) | |
957 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.00016784668, -7.99960327, 1.49982166, 1, -1.19209076e-007, 4.47013271e-008, 4.49034943e-008, 0.00169644796, -0.999998569, 1.1913307e-007, 0.999998569, 0.00169644807)) | |
958 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.400000036, 0.200000271, 4.00000048)) | |
959 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(9.29983521, -0.319908142, 2.79043484, -2.11861551e-008, -0.00168578397, 0.999998569, 1, -1.19209076e-007, 2.09852242e-008, 1.19173528e-007, 0.999998569, 0.00168578397)) | |
960 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
961 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.79997253, -0.349954605, 0.990463495, 1.07072758e-007, -0.00169718312, 0.999998569, 1, -1.19209126e-007, -1.07275234e-007, 1.19391018e-007, 0.999998569, 0.00169718324)) | |
962 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
963 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.670000017, 0.200000003, 1.19999981)) | |
964 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(5.26336288, 0.310119629, 5.93222046, -5.96040408e-008, -0.70810169, 0.706110597, 1, -1.21502552e-007, -3.74334022e-008, 1.12300903e-007, 0.706110597, 0.70810169)) | |
965 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 0.220000014, 0.799999952)) | |
966 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.80014038, -0.31993103, 0.989957035, 6.97039013e-008, -0.00164350378, 0.999998689, 1, -1.19209126e-007, -6.98999116e-008, 1.19323843e-007, 0.999998689, 0.00164350378)) | |
967 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
968 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.220000014, 2.60000014)) | |
969 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.79997253, -0.31993103, 2.49022627, 4.06004794e-008, -0.00169145432, 0.999998569, 1, -1.19209126e-007, -4.08021741e-008, 1.19277971e-007, 0.999998569, 0.00169145432)) | |
970 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
971 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.80001068, 0.340049744, 0.990428209, 4.40637784e-008, -0.00169488578, 0.999998569, 1, -1.49011811e-007, -4.43164012e-008, 1.49086716e-007, 0.999998569, 0.00169488578)) | |
972 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
973 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.39999938, 0.400000036, 0.400000006)) | |
974 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000152587891, -6.70035553, 2.00017023, 1, -1.19209076e-007, 4.47013271e-008, 4.48878374e-008, 0.00156501064, -0.999998808, 1.19138974e-007, 0.999998808, 0.00156501064)) | |
975 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.39999938, 1.60000014, 4.00000191)) | |
976 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.00016784668, -7.89893341, 4.39826918, 1, -1.19209076e-007, 4.47013271e-008, 4.49000481e-008, 0.00166750455, -0.999998689, 1.19134377e-007, 0.999998689, 0.00166750455)) | |
977 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.400000274, 0.400000036)) | |
978 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.310112, 7.90003204, -4.58929634, 1, 2.84616067e-006, -7.45070793e-007, 7.49569381e-007, -0.00158089248, 0.999998808, 2.84497946e-006, -0.999998808, -0.00158089248)) | |
979 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
980 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.220000014, 0.999999821)) | |
981 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(3.58646393, -0.319763184, 9.33159637, -1.63910798e-007, -0.70812124, 0.706090868, 1, -1.80042989e-007, 5.15776932e-008, 9.06034572e-008, 0.706090927, 0.708121181)) | |
982 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.220000014, 0.999999821)) | |
983 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(3.58652115, 0.310195923, 9.33126068, -1.63910798e-007, -0.70812124, 0.706090868, 1, -1.80042989e-007, 5.15776932e-008, 9.06034572e-008, 0.706090927, 0.708121181)) | |
984 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.799999356, 0.600000262, 0.599999964)) | |
985 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(7.62939453e-005, -0.299938679, -7.40008545, 1, -5.96036465e-008, 1.4898605e-008, -5.95790759e-008, -0.999998689, -0.00164388563, 1.49965658e-008, 0.00164388563, -0.999998689)) | |
986 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
987 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.670000017, 0.200000003, 1.19999981)) | |
988 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(5.26215744, -0.319839478, 5.93211365, -5.96040337e-008, -0.708129704, 0.706082463, 1, -8.2250601e-008, 1.92603378e-009, 5.67118228e-008, 0.706082463, 0.708129704)) | |
989 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.379999876, 4.44999886, 1.39999998)) | |
990 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-2.86102295e-005, -6.05581665, 9.78747559, -1, 1.78814503e-007, -4.47013306e-008, -1.84294734e-007, -0.966237664, 0.257652611, 2.87991475e-009, 0.257652611, 0.966237605)) | |
991 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
992 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.600000024, 0.200000271, 0.599999964)) | |
993 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.61552429, 0.320259094, -0.297967553, -1.84659328e-008, -3.39928299e-008, 1, 1, -1.19209076e-007, 1.84659292e-008, 1.19209076e-007, 1, 3.39928334e-008)) | |
994 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
995 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.600000024, 0.200000271, 0.599999964)) | |
996 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.61553192, -0.309753418, -0.297967553, -1.84659328e-008, -3.39928299e-008, 1, 1, -1.19209076e-007, 1.84659292e-008, 1.19209076e-007, 1, 3.39928334e-008)) | |
997 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
998 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.409999728, 4.00000095, 0.330000013)) | |
999 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.00499916077, -4.83165169, 10.0465012, -1, 1.78814503e-007, -8.94054182e-008, -1.98313487e-007, -0.943822086, 0.33045423, -2.52927972e-008, 0.33045423, 0.943822086)) | |
1000 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1001 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.220000014, 2.60000014)) | |
1002 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.80001068, 0.310049057, 2.49015784, 5.47156347e-008, -0.00167805818, 0.999998569, 1, -1.49011811e-007, -5.49657635e-008, 1.4910384e-007, 0.999998569, 0.0016780583)) | |
1003 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.39999938, 1.80000019, 0.600001216)) | |
1004 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000183105469, -7.79891205, 2.09967065, 1, -1.19209076e-007, 4.47013271e-008, 4.49037572e-008, 0.00169865007, -0.999998569, 1.1913297e-007, 0.999998569, 0.00169865007)) | |
1005 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.799999356, 2.00000048, 1.19999993)) | |
1006 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(5.34057617e-005, -8.7000885, -4.86373901e-005, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289)) | |
1007 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.400000274, 0.400000036)) | |
1008 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.319801331, 7.89910126, -4.58908844, 1, 2.84616067e-006, -7.45070793e-007, 7.49658e-007, -0.00161204918, 0.999998689, 2.84495559e-006, -0.999998689, -0.00161204918)) | |
1009 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1010 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.400000274, 0.409999907)) | |
1011 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.329921722, 7.89820099, 6.19515657, -1, -5.81154893e-007, -2.93556536e-006, -2.93463631e-006, -0.00159285218, 0.999998808, -5.85830151e-007, 0.999998808, 0.00159285218)) | |
1012 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1013 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000033, 0.200000003, 0.400000006)) | |
1014 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.01046753, 0.350257874, 5.18440056, -1.16208916e-007, -0.00116245728, 0.999999404, 1, -1.49011811e-007, 1.16035764e-007, 1.48876836e-007, 0.999999404, 0.00116245728)) | |
1015 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1016 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.400000274, 0.409999907)) | |
1017 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.310253143, 7.89775848, 6.19417667, -1, -5.81154893e-007, -2.93556536e-006, -2.93464905e-006, -0.0015708321, 0.999998808, -5.8576552e-007, 0.999998808, 0.0015708321)) | |
1018 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1019 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.400000036, 1.62000012)) | |
1020 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.319927216, -9.30068207, 5.59171581, 1, -2.6822255e-007, 7.00361113e-007, 7.00755379e-007, 0.00147273287, -0.999998927, 2.67190842e-007, 0.999998927, 0.00147273298)) | |
1021 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1022 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.4000001, 1.22000003)) | |
1023 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.310224533, -8.39997101, 5.39148617, 1, -2.6822255e-007, 7.00361113e-007, 7.00779196e-007, 0.0015618616, -0.999998808, 2.67128371e-007, 0.999998808, 0.0015618616)) | |
1024 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.400000036, 1.62000012)) | |
1025 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.310092926, -9.30047607, 5.59133577, 1, -2.6822255e-007, 7.00361113e-007, 7.00781584e-007, 0.0015708236, -0.999998808, 2.67122118e-007, 0.999998808, 0.0015708236)) | |
1026 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1027 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000033, 0.200000003, 0.400000006)) | |
1028 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.00996399, 0.340263367, 5.58438683, -7.12149699e-008, -0.00116247579, 0.999999404, 1, -1.49011782e-007, 7.10417893e-008, 1.48929118e-007, 0.999999404, 0.00116247579)) | |
1029 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1030 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.4000001, 1.22000003)) | |
1031 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.319879532, -8.40018463, 5.39162922, 1, -2.6822255e-007, 7.00361113e-007, 7.00766748e-007, 0.00151529128, -0.999998927, 2.67161028e-007, 0.999998927, 0.00151529128)) | |
1032 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.670000017, 0.200000003, 0.599999845)) | |
1033 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(7.60210419, -0.309745789, -0.0262105465, 4.40637713e-008, -0.00107338815, 0.999999404, 1, -1.19209105e-007, -4.41917543e-008, 1.1925647e-007, 0.999999404, 0.00107338815)) | |
1034 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.39999938, 0.200019345, 0.600000024)) | |
1035 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000244140625, -2.40885925, -0.0768338442, 1, -1.49011782e-007, 1.19208131e-007, 1.1940115e-007, 0.00129606796, -0.999999166, 1.48857154e-007, 0.999999166, 0.00129606796)) | |
1036 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.379999906, 7.79999733, 0.800000012)) | |
1037 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.00018119812, -6.90127945, 10.9409103, -1, 2.38419915e-007, -5.96027014e-008, -2.36358872e-007, -0.866616547, 0.498974591, 6.73128042e-008, 0.498974621, 0.866616607)) | |
1038 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1039 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.39999938, 3.60000086, 1.39999986)) | |
1040 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-7.62939453e-005, -3.00021267, 10.1993179, -1, 1.78814503e-007, -4.47013306e-008, -1.78743079e-007, -0.999998808, -0.00159316196, -4.49861588e-008, -0.00159316196, 0.999998808)) | |
1041 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1042 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.410000145, 0.800000012, 7.41999722)) | |
1043 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.00538063049, 10.1888885, 6.88093567, -1, -9.55176984e-006, 6.25857228e-006, 5.75701051e-007, 0.505192995, 0.863006473, -1.14050263e-005, 0.863006473, -0.505192995)) | |
1044 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1045 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.409999877, 0.800000012, 4.42000008)) | |
1046 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.00535774231, 8.73274994, 6.06542397, -1, -1.08034828e-005, 3.5465257e-006, 5.6521867e-007, 0.264285922, 0.964444458, -1.13566548e-005, 0.964444399, -0.264285892)) | |
1047 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1048 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.670000017, 0.200000003, 0.599999845)) | |
1049 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(7.62210083, 0.310256958, -0.0261899233, 6.71427998e-008, -0.00107328093, 0.999999404, 1, -1.1920914e-007, -6.72707898e-008, 1.19281268e-007, 0.999999404, 0.00107328082)) | |
1050 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.39999938, 6.20002079, 0.200000003)) | |
1051 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000244140625, -3.80190277, 0.122788072, 1, -1.19209076e-007, 4.47013271e-008, 4.48775985e-008, 0.00147906633, -0.999998927, 1.19142832e-007, 0.999998927, 0.00147906633)) | |
1052 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1, 0.400000006)) | |
1053 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.329883575, -8.59844971, 6.20097303, 1, -2.6822255e-007, 7.00361113e-007, 7.00766861e-007, 0.00151565345, -0.999998927, 2.67160772e-007, 0.999998927, 0.00151565345)) | |
1054 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000033, 0.200000003, 0.400000006)) | |
1055 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.00995636, -0.329696655, 5.58438635, -2.65702909e-008, -0.00116240955, 0.999999404, 1, -1.19209076e-007, 2.64317368e-008, 1.19178281e-007, 0.999999404, 0.00116240955)) | |
1056 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1057 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
1058 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.41021729, 0.340257645, 5.3848424, -6.07377402e-008, -0.0011624021, 0.999999404, 1, -1.49011782e-007, 6.05645667e-008, 1.48941297e-007, 0.999999404, 0.0011624021)) | |
1059 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1060 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000033, 0.200000003, 0.400000006)) | |
1061 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.40995026, -0.329879761, 5.38500214, 1.32141196e-008, -0.00116239127, 0.999999404, 1, -1.19209112e-007, -1.33526949e-008, 1.19224552e-007, 0.999999404, 0.00116239127)) | |
1062 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1063 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1, 0.400000006)) | |
1064 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.310100555, -8.58777618, 6.20157337, 1, -2.6822255e-007, 7.00361113e-007, 7.00768169e-007, 0.00152056233, -0.999998927, 2.67157333e-007, 0.999998927, 0.00152056233)) | |
1065 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1, 0.400000006)) | |
1066 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.329891205, -8.60809326, 6.20138168, 1, -2.6822255e-007, 7.00361113e-007, 7.00766861e-007, 0.00151576323, -0.999998927, 2.67160686e-007, 0.999998927, 0.00151576323)) | |
1067 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000033, 0.200000003, 0.400000006)) | |
1068 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.01044464, -0.329711914, 5.18439245, -3.97250446e-008, -0.00116242282, 0.999999404, 1, -1.19209027e-007, 3.95864994e-008, 1.19162934e-007, 0.999999404, 0.00116242282)) | |
1069 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1070 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.449999839, 0.400000036, 1.62000012)) | |
1071 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.0149345398, -9.30037689, 5.59038067, 1, -2.6822255e-007, 7.00361113e-007, 7.00780447e-007, 0.00156656664, -0.999998808, 2.67125102e-007, 0.999998808, 0.00156656664)) | |
1072 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1073 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.799999356, 0.600000262, 0.599999964)) | |
1074 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-5.34057617e-005, -0.300057292, -7.40003967, -1, 5.96036465e-008, -2.97999652e-008, 5.95545799e-008, 0.999998689, 0.00164382579, 2.98979046e-008, 0.00164382579, -0.999998689)) | |
1075 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1076 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.400000274, 0.600000024)) | |
1077 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.319915771, -9.29981232, -0.490157127, -1, 2.38419972e-007, 7.89774788e-007, -7.89374269e-007, 0.00167544454, -0.999998569, -2.39742832e-007, -0.999998569, -0.00167544466)) | |
1078 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1079 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.39999938, 0.80000025, 0.599999964)) | |
1080 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(9.91821289e-005, -6.90019989, 1.50059986, 1, -1.19209076e-007, 4.47013271e-008, 4.4898453e-008, 0.00165412505, -0.999998689, 1.19134981e-007, 0.999998689, 0.00165412517)) | |
1081 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.799999356, 0.400000274, 0.799999952)) | |
1082 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(6.86645508e-005, 6.1750412e-005, -7.30003357, 1, -1.19209076e-007, 4.47013271e-008, -1.19135436e-007, -0.999998689, -0.00164388528, 4.48972344e-008, 0.00164388528, -0.999998689)) | |
1083 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.400000274, 0.600000024)) | |
1084 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.310134888, -9.30013275, -0.489312172, -1, 1.7881456e-007, 8.34478897e-007, -8.34196783e-007, 0.00157221942, -0.999998808, -1.80126335e-007, -0.999998808, -0.00157221942)) | |
1085 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1086 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 0.230000019, 0.799999952)) | |
1087 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.80010223, 0.31505394, 0.98993659, 1.01164737e-007, -0.00164465304, 0.999998689, 1, -1.19209147e-007, -1.01360932e-007, 1.19375699e-007, 0.999998689, 0.00164465304)) | |
1088 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1089 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.799999356, 0.80000025, 0.399999976)) | |
1090 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(5.34057617e-005, 5.73396683e-005, -7.50003052, 1, -5.96036465e-008, 1.4898605e-008, -5.95790759e-008, -0.999998689, -0.00164388563, 1.49965658e-008, 0.00164388563, -0.999998689)) | |
1091 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.39999938, 2.40000057, 0.599999964)) | |
1092 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(7.62939453e-005, -7.70002747, 0.900098503, 1, -1.19209076e-007, 4.47013271e-008, 4.490321e-008, 0.00169407704, -0.999998569, 1.19133176e-007, 0.999998569, 0.00169407704)) | |
1093 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1.20000005, 0.200000271, 3.60000038)) | |
1094 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(6.64672661, -0.319740295, 6.71153259, -1.49010674e-007, -0.965943158, 0.258754343, 1, -1.37425829e-007, 6.28593853e-008, -2.51590695e-008, 0.258754343, 0.965943217)) | |
1095 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.39999938, 0.400021255, 0.400000006)) | |
1096 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000175476074, 1.89885712, 0.0156496763, 1, -5.96036465e-008, 1.4898605e-008, 1.49867816e-008, 0.00147968298, -0.999998927, 5.95815379e-008, 0.999998927, 0.00147968309)) | |
1097 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.39999938, 12.200017, 0.200000003)) | |
1098 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000259399414, -1.20265961, -0.277392983, 1, -5.96036465e-008, 1.4898605e-008, 1.49865258e-008, 0.00147536665, -0.999998927, 5.95816019e-008, 0.999998927, 0.00147536665)) | |
1099 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
1100 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.40220642, -0.339752197, -1.96429634, -6.7053584e-008, -0.258818865, 0.965925932, 1, -1.20999317e-007, 3.69973279e-008, 1.07300764e-007, 0.965925872, 0.258818835)) | |
1101 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1102 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1.20000005, 0.200000271, 3.60000038)) | |
1103 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(6.64637566, 0.320261002, 6.71100616, -4.47039312e-008, -0.965927541, 0.258812845, 1, -3.71759228e-008, 3.39808679e-008, -2.32014479e-008, 0.258812845, 0.965927541)) | |
1104 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.400000006, 0.400021255, 0.400000036)) | |
1105 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000144958496, 7.89817047, 0.00817203522, 1, -1.19209076e-007, 4.47013271e-008, 4.48658213e-008, 0.00138024637, -0.999999046, 1.19147266e-007, 0.999999046, 0.00138024637)) | |
1106 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.39999938, 0.200019345, 0.600000024)) | |
1107 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000267028809, -0.808837891, -0.0789266825, 1, -1.49011782e-007, 1.19208131e-007, 1.19401165e-007, 0.00129613746, -0.999999166, 1.4885714e-007, 0.999999166, 0.00129613746)) | |
1108 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.600000024, 0.200000271, 4.5999999)) | |
1109 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.4032135, -0.309745789, -0.264072418, -3.72516631e-008, -0.258819014, 0.965925872, 1, -1.20990833e-007, 6.14636386e-009, 1.15277373e-007, 0.965925872, 0.258818984)) | |
1110 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.39999938, 0.200019345, 0.600000024)) | |
1111 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.00025177002, -4.00882721, -0.074775219, 1, -1.49011782e-007, 1.19208131e-007, 1.19401165e-007, 0.00129615236, -0.999999166, 1.48857154e-007, 0.999999166, 0.00129615236)) | |
1112 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.200000003, 0.400000036, 3.89000034)) | |
1113 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.130329132, 3.28823376, -5.64214325, 1, -9.53684548e-007, 4.64922141e-006, -5.19986472e-008, -0.981745541, -0.190198928, 4.74574244e-006, 0.190198958, -0.981745601)) | |
1114 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1115 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.00000024, 1.19999993)) | |
1116 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.3203125, -5.2211442, -6.02006531, -1, 1.19209076e-007, -4.47013271e-008, 1.19207854e-007, 1, 2.74369886e-005, 4.4704592e-008, 2.74369886e-005, -1)) | |
1117 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1118 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000029, 0.640000463, 3.82000041)) | |
1119 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.60221863, 0.00025177002, -0.674562454, -3.72516631e-008, -0.258819014, 0.965925872, 1, -1.20990833e-007, 6.14636386e-009, 1.15277373e-007, 0.965925872, 0.258818984)) | |
1120 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000041, 2.00000024, 0.400000751)) | |
1121 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.00805044174, -9.8965683, 0.0198116302, -1.78812996e-007, -1, -2.60661e-005, 9.18402918e-008, -2.60661e-005, 1, -1, 1.78810609e-007, 9.1844953e-008)) | |
1122 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1033714",Vector3.new(0, 0, 0),Vector3.new(0.486000061, 2.70200038, 0.234000027)) | |
1123 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 1.00000024, 1.19999993)) | |
1124 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.319747925, -5.23132992, -6.02177429, -1, 1.19209076e-007, -4.47013271e-008, 1.19205289e-007, 1, 8.46573894e-005, 4.47114168e-008, 8.46573894e-005, -1)) | |
1125 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1126 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.400000006, 0.800021231, 0.800000012)) | |
1127 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000129699707, 7.29879761, 0.00948095322, 1, -1.19209076e-007, 4.47013271e-008, 4.48690756e-008, 0.0014075588, -0.999999046, 1.19146044e-007, 0.999999046, 0.00140755891)) | |
1128 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 0.200000271, 0.799999952)) | |
1129 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.40219879, -0.329719543, -1.96434212, -1.04305997e-007, -0.258814603, 0.965927064, 1, -1.49004592e-007, 6.80604515e-008, 1.26312528e-007, 0.965927064, 0.258814603)) | |
1130 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1131 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.400000006, 0.800021231, 1.20000005)) | |
1132 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.000144958496, 8.49656677, 0.00763309002, 1, -1.19209076e-007, 4.47013271e-008, 4.48658888e-008, 0.0013808267, -0.999999046, 1.19147238e-007, 0.999999046, 0.0013808267)) | |
1133 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.439999968, 0.849999964, 3.90000057)) | |
1134 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(-0.000289916992, -3.91264629, -5.64580536, -1, 1.19209076e-007, -4.47013271e-008, 1.08530877e-007, 0.98174566, 0.190198451, 6.65587194e-008, 0.190198481, -0.98174572)) | |
1135 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1136 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
1137 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.40220642, 0.350257874, -1.9643116, -6.7053584e-008, -0.258818865, 0.965925932, 1, -1.20999317e-007, 3.69973279e-008, 1.07300764e-007, 0.965925872, 0.258818835)) | |
1138 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1139 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.600000024, 0.200000271, 4.5999999)) | |
1140 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.40222931, 0.320251465, -0.264352798, -3.72516631e-008, -0.258819014, 0.965925872, 1, -1.20990833e-007, 6.14636386e-009, 1.15277373e-007, 0.965925872, 0.258818984)) | |
1141 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 0.200000271, 0.799999952)) | |
1142 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(8.40221405, 0.340270996, -1.96434784, -1.11756485e-007, -0.258814663, 0.965927064, 1, -1.50931754e-007, 7.52573754e-008, 1.26311349e-007, 0.965927064, 0.258814663)) | |
1143 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
1144 | Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Dark stone grey","Hitbox",Vector3.new(0.39999938, 3.00000024, 11.4000025)) | |
1145 | Hitboxweld=weld(m,Handle,Hitbox,CFrame.new(0, 0, 0, 1, -1.19209076e-007, 4.47013271e-008, 4.48972415e-008, 0.00164393289, -0.999998689, 1.19135436e-007, 0.999998689, 0.00164393289),CFrame.new(0.00016784668, -8.39911652, 2.29857397, 1, -1.19209076e-007, 4.47013271e-008, 4.49000481e-008, 0.00166750455, -0.999998689, 1.19134377e-007, 0.999998689, 0.00166750455)) | |
1146 | ||
1147 | function attackone() | |
1148 | attack=true | |
1149 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10000000,10000000,math.random(10,20),"Knockdown",RootPart,.2,1) end) | |
1150 | for i=0,1,0.1 do | |
1151 | swait() | |
1152 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(80)),.3) | |
1153 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(10),math.rad(-70)),.3) | |
1154 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.3) | |
1155 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(-70), math.rad(0)), 0.3) | |
1156 | RH.C0=clerp(RH.C0,cf(1,-1,0.2)*angles(math.rad(0),math.rad(40),math.rad(20)),.3) | |
1157 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1158 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) | |
1159 | end | |
1160 | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.6) | |
1161 | so("http://roblox.com/asset/?id=231917871",Hitbox,1,0.8) | |
1162 | for i=0,1,0.1 do | |
1163 | swait() | |
1164 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1165 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1166 | local h = 5 | |
1167 | 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) | |
1168 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1169 | 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) | |
1170 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1171 | scfr = blcf | |
1172 | elseif not scfr then | |
1173 | scfr = blcf | |
1174 | end | |
1175 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-80)),.3) | |
1176 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(5),math.rad(70)),.3) | |
1177 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.5) * angles(math.rad(0), math.rad(-70), math.rad(90)), 0.3) | |
1178 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(70), math.rad(-70), math.rad(0)), 0.3) | |
1179 | RH.C0=clerp(RH.C0,cf(1,-1,0.2)*angles(math.rad(0),math.rad(40),math.rad(20)),.3) | |
1180 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1181 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) | |
1182 | end | |
1183 | attack=false | |
1184 | con1:disconnect() | |
1185 | end | |
1186 | ||
1187 | function attacktwo() | |
1188 | attack=true | |
1189 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10000000,10000000,math.random(10,20),"Knockdown",RootPart,.2,1) end) | |
1190 | for i=0,1,0.1 do | |
1191 | swait() | |
1192 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(90)),.2) | |
1193 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-80)),.3) | |
1194 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.1) | |
1195 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(70), math.rad(-70), math.rad(0)), 0.3) | |
1196 | ||
1197 | end | |
1198 | ||
1199 | for i=0,1,1 do | |
1200 | swait() | |
1201 | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.7) | |
1202 | so("http://www.roblox.com/asset/?id=234365573",Hitbox,1,0.7) | |
1203 | for i=0,1,0.1 do | |
1204 | swait() | |
1205 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1206 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1207 | local h = 5 | |
1208 | 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) | |
1209 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1210 | 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) | |
1211 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1212 | scfr = blcf | |
1213 | elseif not scfr then | |
1214 | scfr = blcf | |
1215 | end | |
1216 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-50)),.3) | |
1217 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-10),math.rad(110)),.1) | |
1218 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3) | |
1219 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3) | |
1220 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,-6*i),.3) | |
1221 | end | |
1222 | end | |
1223 | con1:disconnect() | |
1224 | attack=false | |
1225 | end | |
1226 | ||
1227 | function attackthree() | |
1228 | attack=true | |
1229 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10000000,10000000,math.random(10,20),"Knockdown",RootPart,.2,1) end) | |
1230 | for i=0,1,0.1 do | |
1231 | swait() | |
1232 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(00)),.3) | |
1233 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(00)),.3) | |
1234 | RW.C0=clerp(RW.C0,cf(1,0.8,-1)*angles(math.rad(150),math.rad(0),math.rad(-50)),.3) | |
1235 | LW.C0=clerp(LW.C0,cf(-1,0.8,-1)*angles(math.rad(150),math.rad(0),math.rad(50)),.3) | |
1236 | RH.C0=clerp(RH.C0,cf(1,-1,.2)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
1237 | LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
1238 | handleweld.C0=clerp(handleweld.C0,cf(-1,0,-.2)*angles(math.rad(-20),math.rad(-20),math.rad(50)),.3) | |
1239 | end | |
1240 | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.4) | |
1241 | so("http://www.roblox.com/asset/?id=234365549",Hitbox,1,0.6) | |
1242 | for i=0,1,.1 do | |
1243 | swait() | |
1244 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1245 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1246 | local h = 5 | |
1247 | 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) | |
1248 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1249 | 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) | |
1250 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1251 | scfr = blcf | |
1252 | elseif not scfr then | |
1253 | scfr = blcf | |
1254 | end | |
1255 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
1256 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(00)),.3) | |
1257 | RW.C0=clerp(RW.C0,cf(1,0.2,-.5)*angles(math.rad(10),math.rad(0),math.rad(-50)),.3) | |
1258 | LW.C0=clerp(LW.C0,cf(-1,0.2,-.5)*angles(math.rad(10),math.rad(0),math.rad(50)),.3) | |
1259 | RH.C0=clerp(RH.C0,cf(1,-1,.2)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
1260 | LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
1261 | handleweld.C0=clerp(handleweld.C0,cf(-1,0,-.2)*angles(math.rad(-20),math.rad(-20),math.rad(50)),.3) | |
1262 | end | |
1263 | attack=false | |
1264 | con1:disconnect() | |
1265 | end | |
1266 | ||
1267 | function CrimsonMoon() | |
1268 | attack=true | |
1269 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10000000,10000000,math.random(10,20),"Knockdown",RootPart,.2,1) end) | |
1270 | for i=0,1,0.1 do | |
1271 | swait() | |
1272 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(120),math.rad(80)),.3) | |
1273 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(-10)),.3) | |
1274 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(-5),math.rad(0)),.3) | |
1275 | end | |
1276 | for i=0,1,0.15 do | |
1277 | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.5) | |
1278 | so("http://roblox.com/asset/?id=28144425",Torso,1,0.8) | |
1279 | swait() | |
1280 | for i=0,1,0.1 do | |
1281 | swait() | |
1282 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1283 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1284 | local h = 5 | |
1285 | 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) | |
1286 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1287 | 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) | |
1288 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1289 | scfr = blcf | |
1290 | elseif not scfr then | |
1291 | scfr = blcf | |
1292 | end | |
1293 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(-40),math.rad(90)),.3) | |
1294 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-60)),.3) | |
1295 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(0,-1.5,-6*i),.3) | |
1296 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(-5),math.rad(0)),.3) | |
1297 | end | |
1298 | end | |
1299 | attack=false | |
1300 | con1:disconnect() | |
1301 | end | |
1302 | ||
1303 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
1304 | local prt=part("Custom",workspace,"SmoothPlastic",0,0,"Really red","Effect",vt(0.5,0.5,0.5)) | |
1305 | prt.Anchored=true | |
1306 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1307 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
1308 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
1309 | CF=Part.CFrame | |
1310 | Numbb=0 | |
1311 | randnumb=math.random()-math.random() | |
1312 | for i=0,1,0.05 do | |
1313 | wait() | |
1314 | CF=CF*cf(0,1,0) | |
1315 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
1316 | Part.CFrame=CF*euler(Numbb,0,0) | |
1317 | Part.Transparency=i | |
1318 | Numbb=Numbb+randnumb | |
1319 | end | |
1320 | Part.Parent=nil | |
1321 | end),prt,CF,Numbb,randnumb) | |
1322 | end | |
1323 | ||
1324 | function Execution() --HEUAHUEHAUEHAUHUEAHUAEHUAHEUAHEUH | |
1325 | attack=true | |
1326 | con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,999999999,999999999,math.random(10,20),"Knockdown",RootPart,.2,1) end) | |
1327 | Humanoid.WalkSpeed = 0 | |
1328 | for i=0,1,0.03 do | |
1329 | swait() | |
1330 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.1) | |
1331 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.1) | |
1332 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(120)),.1) | |
1333 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(0), math.rad(0)), 0.1) | |
1334 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.1) | |
1335 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.2) | |
1336 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(0),math.rad(10),math.rad(0)),.1) | |
1337 | end | |
1338 | so("http://roblox.com/asset/?id=92597369",Hitbox,1,0.5) | |
1339 | so("http://roblox.com/asset/?id=28144425",Torso,1,0.5) | |
1340 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
1341 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
1342 | if hum12 and not hum12:IsDescendantOf(Character) then | |
1343 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,0.8) | |
1344 | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1345 | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1346 | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1347 | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1348 | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1349 | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1350 | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1351 | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1352 | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1353 | BreakEffect(BrickColor.new("Really red"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1354 | hitconasdf:disconnect() | |
1355 | end | |
1356 | end) | |
1357 | for i=0,1,0.03 do | |
1358 | swait() | |
1359 | local blcf = Hitbox.CFrame*CFrame.new(0,.5,0) | |
1360 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1361 | local h = 5 | |
1362 | 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) | |
1363 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1364 | 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) | |
1365 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1366 | scfr = blcf | |
1367 | elseif not scfr then | |
1368 | scfr = blcf | |
1369 | end | |
1370 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
1371 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(60)),.2) | |
1372 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-20),math.rad(70)),.2) | |
1373 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2) | |
1374 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.2) | |
1375 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.2) | |
1376 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(0),math.rad(10),math.rad(0)),.2) | |
1377 | end | |
1378 | attack=false | |
1379 | con1:disconnect() | |
1380 | Humanoid.WalkSpeed= 16 | |
1381 | pcall(function() | |
1382 | hitconasdf:disconnect() | |
1383 | end) | |
1384 | end | |
1385 | ||
1386 | mouse.Button1Down:connect(function() | |
1387 | if attack==false then | |
1388 | if attacktype==1 then | |
1389 | attack=true | |
1390 | attacktype=2 | |
1391 | attackone() | |
1392 | elseif attacktype==2 then | |
1393 | attack=true | |
1394 | attacktype=3 | |
1395 | attacktwo() | |
1396 | elseif attacktype==3 then | |
1397 | attack=true | |
1398 | attacktype=1 | |
1399 | attackthree() | |
1400 | end | |
1401 | end | |
1402 | end) | |
1403 | ||
1404 | mouse.KeyDown:connect(function(k) | |
1405 | k=k:lower() | |
1406 | if k=='q' then | |
1407 | if attack==false then | |
1408 | CrimsonMoon() | |
1409 | end | |
1410 | elseif k=='e' then | |
1411 | if attack==false then | |
1412 | Execution() | |
1413 | end | |
1414 | end | |
1415 | end) | |
1416 | ||
1417 | ||
1418 | local sine = 0 | |
1419 | local change = 1 | |
1420 | local val = 0 | |
1421 | ||
1422 | while true do | |
1423 | swait() | |
1424 | sine = sine + change | |
1425 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
1426 | local velderp=RootPart.Velocity.y | |
1427 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
1428 | if equipped==true or equipped==false then | |
1429 | if attack==false then | |
1430 | idle=idle+1 | |
1431 | else | |
1432 | idle=0 | |
1433 | end | |
1434 | if idle>=500 then | |
1435 | if attack==false then | |
1436 | --Sheath() | |
1437 | end | |
1438 | end | |
1439 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
1440 | Anim="Jump" | |
1441 | if attack==false then | |
1442 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1443 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
1444 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), 0.3) | |
1445 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) | |
1446 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) | |
1447 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1448 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(10),math.rad(0)),.3) | |
1449 | end | |
1450 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
1451 | Anim="Fall" | |
1452 | if attack==false then | |
1453 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
1454 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1455 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3) | |
1456 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3) | |
1457 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3) | |
1458 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1459 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(10),math.rad(0)),.3) | |
1460 | end | |
1461 | elseif torvel<1 and hitfloor~=nil then | |
1462 | Anim="Idle" | |
1463 | if attack==false then | |
1464 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(60)),.3) | |
1465 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(5),math.rad(-50)),.3) | |
1466 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(70), math.rad(100), math.rad(0)), 0.3) | |
1467 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(-70), math.rad(0)), 0.3) | |
1468 | RH.C0=clerp(RH.C0,cf(1,-1,0.2)*angles(math.rad(0),math.rad(40),math.rad(20)),.3) | |
1469 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3) | |
1470 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) | |
1471 | end | |
1472 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
1473 | Anim="Walk" | |
1474 | if attack==false then | |
1475 | change=3 | |
1476 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(60)),.3) | |
1477 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(10),math.rad(-50)),.3) | |
1478 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(70), math.rad(100), math.rad(0)), 0.3) | |
1479 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(-70), math.rad(0)), 0.3) | |
1480 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.3) | |
1481 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(0)),.3) | |
1482 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) | |
1483 | end | |
1484 | elseif torvel>=22 and hitfloor~=nil then | |
1485 | Anim="Run" | |
1486 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(60)),.3) | |
1487 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(10),math.rad(-50)),.3) | |
1488 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(70), math.rad(100), math.rad(0)), 0.3) | |
1489 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(-70), math.rad(0)), 0.3) | |
1490 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(20)),.3) | |
1491 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(0)),.3) | |
1492 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-5),math.rad(0)),.3) | |
1493 | end | |
1494 | end | |
1495 | end |