SHOW:
|
|
- or go back to the newest paste.
1 | --{{Blackedit God v1}}-- | |
2 | --{{Script edited by Strazos.}}-- | |
3 | --{{Script trashed by L0rd_Huvian}}-- | |
4 | ||
5 | - | Player=game:GetService("Players").LocalPlayer |
5 | + | -- This script has been converted to FE by iPxter |
6 | ||
7 | ||
8 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
9 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
10 | do | |
11 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
12 | script.Parent = Player.Character | |
13 | ||
14 | --RemoteEvent for communicating | |
15 | local Event = Instance.new("RemoteEvent") | |
16 | Event.Name = "UserInput_Event" | |
17 | ||
18 | --Fake event to make stuff like Mouse.KeyDown work | |
19 | local function fakeEvent() | |
20 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
21 | t.connect = t.Connect | |
22 | return t | |
23 | end | |
24 | ||
25 | --Creating fake input objects with fake variables | |
26 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
27 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
28 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
29 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
30 | end} | |
31 | --Merged 2 functions into one by checking amount of arguments | |
32 | CAS.UnbindAction = CAS.BindAction | |
33 | ||
34 | --This function will trigger the events that have been :Connect()'ed | |
35 | local function te(self,ev,...) | |
36 | local t = m[ev] | |
37 | if t and t._fakeEvent and t.Function then | |
38 | t.Function(...) | |
39 | end | |
40 | end | |
41 | m.TrigEvent = te | |
42 | UIS.TrigEvent = te | |
43 | ||
44 | Event.OnServerEvent:Connect(function(plr,io) | |
45 | if plr~=Player then return end | |
46 | if io.isMouse then | |
47 | m.Target = io.Target | |
48 | m.Hit = io.Hit | |
49 | else | |
50 | local b = io.UserInputState == Enum.UserInputState.Begin | |
51 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
52 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
53 | end | |
54 | for _,t in pairs(CAS.Actions) do | |
55 | for _,k in pairs(t.Keys) do | |
56 | if k==io.KeyCode then | |
57 | - | plr = game.Players.LocalPlayer |
57 | + | t.Function(t.Name,io.UserInputState,io) |
58 | end | |
59 | end | |
60 | - | Mouse = Player:GetMouse() |
60 | + | end |
61 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
62 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
63 | end | |
64 | end) | |
65 | Event.Parent = NLS([==[ | |
66 | local Player = game:GetService("Players").LocalPlayer | |
67 | local Event = script:WaitForChild("UserInput_Event") | |
68 | ||
69 | local UIS = game:GetService("UserInputService") | |
70 | local input = function(io,a) | |
71 | if a then return end | |
72 | --Since InputObject is a client-side instance, we create and pass table instead | |
73 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
74 | end | |
75 | UIS.InputBegan:Connect(input) | |
76 | UIS.InputEnded:Connect(input) | |
77 | ||
78 | local Mouse = Player:GetMouse() | |
79 | local h,t | |
80 | --Give the server mouse data 30 times every second, but only if the values changed | |
81 | --If player is not moving their mouse, client won't fire events | |
82 | while wait(1/30) do | |
83 | if h~=Mouse.Hit or t~=Mouse.Target then | |
84 | h,t=Mouse.Hit,Mouse.Target | |
85 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
86 | end | |
87 | end]==],Player.Character) | |
88 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
89 | end | |
90 | ||
91 | Player= owner | |
92 | Character=Player.Character | |
93 | PlayerGui=Player.PlayerGui | |
94 | Backpack=Player.Backpack | |
95 | Torso=Character.Torso | |
96 | Head=Character.Head | |
97 | Humanoid=Character.Humanoid | |
98 | m=Instance.new('Model',Character) | |
99 | LeftArm=Character["Left Arm"] | |
100 | LeftLeg=Character["Left Leg"] | |
101 | RightArm=Character["Right Arm"] | |
102 | RightLeg=Character["Right Leg"] | |
103 | LS=Torso["Left Shoulder"] | |
104 | LH=Torso["Left Hip"] | |
105 | RS=Torso["Right Shoulder"] | |
106 | RH=Torso["Right Hip"] | |
107 | Face = Head.face | |
108 | Neck=Torso.Neck | |
109 | it=Instance.new | |
110 | attacktype=1 | |
111 | vt=Vector3.new | |
112 | cf=CFrame.new | |
113 | euler=CFrame.fromEulerAnglesXYZ | |
114 | angles=CFrame.Angles | |
115 | cloaked=false | |
116 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
117 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
118 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
119 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
120 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
121 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
122 | RootPart=Character.HumanoidRootPart | |
123 | RootJoint=RootPart.RootJoint | |
124 | RootCF=euler(-1.57,0,3.14) | |
125 | attack = false | |
126 | attackdebounce = false | |
127 | deb=false | |
128 | equipped=true | |
129 | hand=false | |
130 | MMouse=nil | |
131 | combo=0 | |
132 | mana=0 | |
133 | trispeed=.2 | |
134 | attackmode='none' | |
135 | local idle=0 | |
136 | local Anim="Idle" | |
137 | local Effects={} | |
138 | local gun=false | |
139 | local shoot=false | |
140 | - | mouse=Player:GetMouse() |
140 | + | |
141 | mana=0 | |
142 | local CurrentMode = "Unsheathed" | |
143 | plr = owner | |
144 | asdasd = plr.Name | |
145 | ws = game.Workspace[asdasd] | |
146 | for i,v in pairs(Character:children()) do | |
147 | if v:IsA("Hat") then | |
148 | v:Destroy() | |
149 | end | |
150 | end | |
151 | --NFSBOYLOL EDIT | |
152 | Player.CanLoadCharacterAppearance = true | |
153 | Character.Humanoid.MaxHealth = math.huge | |
154 | Character.Humanoid.JumpPower = 100 | |
155 | Character.Humanoid.WalkSpeed = (8) | |
156 | ||
157 | ||
158 | --FUNCTIONS AND HUMANOID STATS | |
159 | Character.Shirt:Remove() | |
160 | Character.Pants:Remove() | |
161 | Character.Humanoid.NameDisplayDistance = 0 | |
162 | Character.Humanoid.HealthDisplayDistance = 0 | |
163 | Character.Head.BrickColor = BrickColor.new(255,255,255) | |
164 | Character.Head.face.Texture = "http://www.roblox.com/asset/?id=362505169" | |
165 | Character.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=152339208" | |
166 | Character.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=152680171" | |
167 | Character.Head.Mesh.Scale = Vector3.new(1,1,1) | |
168 | Character.Head.Mesh.VertexColor = Vector3.new(0.7,0.7,0.7) | |
169 | Character.Head.Material = "Neon" | |
170 | Character.Torso.BrickColor = BrickColor.new("Really black") | |
171 | Character.Head.BrickColor = BrickColor.new("Really black") | |
172 | Character["Right Arm"].BrickColor = BrickColor.new("Really black") | |
173 | Character["Left Arm"].BrickColor = BrickColor.new("Really black") | |
174 | Character["Right Leg"].BrickColor = BrickColor.new("Really black") | |
175 | Character["Left Leg"].BrickColor = BrickColor.new("Really black") | |
176 | Character.Torso.Transparency = .8 | |
177 | Character.Head.Transparency = .8 | |
178 | Character["Right Arm"].Transparency = .8 | |
179 | Character["Left Arm"].Transparency = .8 | |
180 | Character["Right Leg"].Transparency = .8 | |
181 | Character["Left Leg"].Transparency = .8 | |
182 | shirt = Instance.new("Shirt", Character) | |
183 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=238148028" | |
184 | ||
185 | pants = Instance.new("Pants", Character) | |
186 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=465384175" | |
187 | --SHIRT AND PANTS | |
188 | game.Workspace.Base.Material = "Neon" | |
189 | game.Workspace.Base.BrickColor = BrickColor.new("Really black") | |
190 | game.Lighting.TimeOfDay = "00:00:00" | |
191 | ||
192 | --BASEPLATE | |
193 | local particleemitter = Instance.new("ParticleEmitter", ws.Torso) | |
194 | particleemitter.VelocitySpread = 180 | |
195 | particleemitter.Lifetime = NumberRange.new(0.2) | |
196 | particleemitter.Speed = NumberRange.new(2) | |
197 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2), NumberSequenceKeypoint.new(1, 10)}) | |
198 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
199 | particleemitter.Rate = 100 | |
200 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
201 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
202 | particleemitter.LightEmission = 0 | |
203 | particleemitter.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(0,0,0)) --Color here | |
204 | ||
205 | local firee = Instance.new("Fire") | |
206 | firee.Parent = ws.Torso | |
207 | firee.Size = ("3") | |
208 | firee.Color = Color3.new(5,1,1) | |
209 | firee.SecondaryColor = Color3.new(5,1,1) | |
210 | --PARTICLES+FIRE | |
211 | music = Instance.new("Sound", Character) | |
212 | music.SoundId ="http://www.roblox.com/asset/?id=292715599" | |
213 | music.Volume = 1 | |
214 | music.Pitch = .5 | |
215 | music.Looped = true | |
216 | wait(0.1) | |
217 | music:Play() | |
218 | --MUSIC | |
219 | ||
220 | ||
221 | ||
222 | ||
223 | ||
224 | --NFSBOYLOL EDIT | |
225 | --save shoulders | |
226 | RSH, LSH=nil, nil | |
227 | --welds | |
228 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
229 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
230 | LH=Torso["Left Hip"] | |
231 | RH=Torso["Right Hip"] | |
232 | TorsoColor=Torso.BrickColor | |
233 | function NoOutline(Part) | |
234 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
235 | end | |
236 | player=Player | |
237 | ch=Character | |
238 | RSH=ch.Torso["Right Shoulder"] | |
239 | LSH=ch.Torso["Left Shoulder"] | |
240 | -- | |
241 | RSH.Parent=nil | |
242 | LSH.Parent=nil | |
243 | -- | |
244 | RW.Name="Right Shoulder" | |
245 | RW.Part0=ch.Torso | |
246 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
247 | RW.C1=cf(0, 0.5, 0) | |
248 | RW.Part1=ch["Right Arm"] | |
249 | RW.Parent=ch.Torso | |
250 | -- | |
251 | LW.Name="Left Shoulder" | |
252 | LW.Part0=ch.Torso | |
253 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
254 | LW.C1=cf(0, 0.5, 0) | |
255 | LW.Part1=ch["Left Arm"] | |
256 | LW.Parent=ch.Torso | |
257 | ||
258 | local function weldBetween(a, b) | |
259 | local weldd = Instance.new("ManualWeld") | |
260 | weldd.Part0 = a | |
261 | weldd.Part1 = b | |
262 | weldd.C0 = CFrame.new() | |
263 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
264 | weldd.Parent = a | |
265 | return weldd | |
266 | end | |
267 | ||
268 | function nooutline(part) | |
269 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
270 | end | |
271 | ||
272 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
273 | local fp=it("Part") | |
274 | fp.formFactor=formfactor | |
275 | fp.Parent=parent | |
276 | fp.Reflectance=reflectance | |
277 | fp.Transparency=transparency | |
278 | fp.CanCollide=false | |
279 | fp.Locked=true | |
280 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
281 | fp.Name=name | |
282 | fp.Size=size | |
283 | fp.Position=Character.Torso.Position | |
284 | nooutline(fp) | |
285 | fp.Material=material | |
286 | fp:BreakJoints() | |
287 | return fp | |
288 | end | |
289 | ||
290 | function swait(num) | |
291 | if num==0 or num==nil then | |
292 | game:service'RunService'.Heartbeat:wait(0) | |
293 | else | |
294 | for i=0,num do | |
295 | game:service'RunService'.Heartbeat:wait(0) | |
296 | end | |
297 | end | |
298 | end | |
299 | ||
300 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
301 | local mesh=it(Mesh) | |
302 | mesh.Parent=part | |
303 | if Mesh=="SpecialMesh" then | |
304 | mesh.MeshType=meshtype | |
305 | mesh.MeshId=meshid | |
306 | end | |
307 | mesh.Offset=offset | |
308 | mesh.Scale=scale | |
309 | return mesh | |
310 | end | |
311 | ||
312 | function weld(parent,part0,part1,c0,c1) | |
313 | local weld=it("Weld") | |
314 | weld.Parent=parent | |
315 | weld.Part0=part0 | |
316 | weld.Part1=part1 | |
317 | weld.C0=c0 | |
318 | weld.C1=c1 | |
319 | return weld | |
320 | end | |
321 | ||
322 | ||
323 | local function CFrameFromTopBack(at, top, back) | |
324 | local right = top:Cross(back) | |
325 | return CFrame.new(at.x, at.y, at.z, | |
326 | right.x, top.x, back.x, | |
327 | right.y, top.y, back.y, | |
328 | right.z, top.z, back.z) | |
329 | end | |
330 | ||
331 | function Triangle(a, b, c) | |
332 | local edg1 = (c-a):Dot((b-a).unit) | |
333 | local edg2 = (a-b):Dot((c-b).unit) | |
334 | local edg3 = (b-c):Dot((a-c).unit) | |
335 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
336 | a, b, c = a, b, c | |
337 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
338 | a, b, c = b, c, a | |
339 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
340 | a, b, c = c, a, b | |
341 | else | |
342 | assert(false, "unreachable") | |
343 | end | |
344 | ||
345 | local len1 = (c-a):Dot((b-a).unit) | |
346 | local len2 = (b-a).magnitude - len1 | |
347 | local width = (a + (b-a).unit*len1 - c).magnitude | |
348 | ||
349 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
350 | ||
351 | local list = {} | |
352 | ||
353 | if len1 > 0.01 then | |
354 | local w1 = Instance.new('WedgePart', m) | |
355 | game:GetService("Debris"):AddItem(w1,5) | |
356 | w1.Material = "SmoothPlastic" | |
357 | w1.FormFactor = 'Custom' | |
358 | w1.BrickColor = BrickColor.new("Gold") | |
359 | w1.Transparency = 0 | |
360 | w1.Reflectance = 1 | |
361 | w1.Material = "SmoothPlastic" | |
362 | w1.CanCollide = false | |
363 | NoOutline(w1) | |
364 | local sz = Vector3.new(0.2, width, len1) | |
365 | w1.Size = sz | |
366 | local sp = Instance.new("SpecialMesh",w1) | |
367 | sp.MeshType = "Wedge" | |
368 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
369 | w1:BreakJoints() | |
370 | w1.Anchored = true | |
371 | w1.Parent = workspace | |
372 | w1.Transparency = 0.3 | |
373 | table.insert(Effects,{w1,"Disappear",.03}) | |
374 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
375 | table.insert(list,w1) | |
376 | end | |
377 | if len2 > 0.01 then | |
378 | local w2 = Instance.new('WedgePart', m) | |
379 | game:GetService("Debris"):AddItem(w2,5) | |
380 | w2.Material = "SmoothPlastic" | |
381 | w2.FormFactor = 'Custom' | |
382 | w2.BrickColor = BrickColor.new("Gold") | |
383 | w2.Transparency = 0 | |
384 | w2.Reflectance = 1 | |
385 | w2.Material = "SmoothPlastic" | |
386 | w2.CanCollide = false | |
387 | NoOutline(w2) | |
388 | local sz = Vector3.new(0.2, width, len2) | |
389 | w2.Size = sz | |
390 | local sp = Instance.new("SpecialMesh",w2) | |
391 | sp.MeshType = "Wedge" | |
392 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
393 | w2:BreakJoints() | |
394 | w2.Anchored = true | |
395 | w2.Parent = workspace | |
396 | w2.Transparency = 0.3 | |
397 | table.insert(Effects,{w2,"Disappear",.03}) | |
398 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
399 | table.insert(list,w2) | |
400 | end | |
401 | return unpack(list) | |
402 | end | |
403 | ||
404 | ||
405 | so = function(id,par,vol,pit) | |
406 | coroutine.resume(coroutine.create(function() | |
407 | local sou = Instance.new("Sound",par or workspace) | |
408 | sou.Volume=vol | |
409 | sou.Pitch=pit or 1 | |
410 | sou.SoundId=id | |
411 | swait() | |
412 | sou:play() | |
413 | game:GetService("Debris"):AddItem(sou,6) | |
414 | end)) | |
415 | end | |
416 | ||
417 | function clerp(a,b,t) | |
418 | local qa = {QuaternionFromCFrame(a)} | |
419 | local qb = {QuaternionFromCFrame(b)} | |
420 | local ax, ay, az = a.x, a.y, a.z | |
421 | local bx, by, bz = b.x, b.y, b.z | |
422 | local _t = 1-t | |
423 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
424 | end | |
425 | ||
426 | function QuaternionFromCFrame(cf) | |
427 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
428 | local trace = m00 + m11 + m22 | |
429 | if trace > 0 then | |
430 | local s = math.sqrt(1 + trace) | |
431 | local recip = 0.5/s | |
432 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
433 | else | |
434 | local i = 0 | |
435 | if m11 > m00 then | |
436 | i = 1 | |
437 | end | |
438 | if m22 > (i == 0 and m00 or m11) then | |
439 | i = 2 | |
440 | end | |
441 | if i == 0 then | |
442 | local s = math.sqrt(m00-m11-m22+1) | |
443 | local recip = 0.5/s | |
444 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
445 | elseif i == 1 then | |
446 | local s = math.sqrt(m11-m22-m00+1) | |
447 | local recip = 0.5/s | |
448 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
449 | elseif i == 2 then | |
450 | local s = math.sqrt(m22-m00-m11+1) | |
451 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
452 | end | |
453 | end | |
454 | end | |
455 | ||
456 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
457 | local xs, ys, zs = x + x, y + y, z + z | |
458 | local wx, wy, wz = w*xs, w*ys, w*zs | |
459 | local xx = x*xs | |
460 | local xy = x*ys | |
461 | local xz = x*zs | |
462 | local yy = y*ys | |
463 | local yz = y*zs | |
464 | local zz = z*zs | |
465 | 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)) | |
466 | end | |
467 | ||
468 | function QuaternionSlerp(a, b, t) | |
469 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
470 | local startInterp, finishInterp; | |
471 | if cosTheta >= 0.0001 then | |
472 | if (1 - cosTheta) > 0.0001 then | |
473 | local theta = math.acos(cosTheta) | |
474 | local invSinTheta = 1/math.sin(theta) | |
475 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
476 | finishInterp = math.sin(t*theta)*invSinTheta | |
477 | else | |
478 | startInterp = 1-t | |
479 | finishInterp = t | |
480 | end | |
481 | else | |
482 | if (1+cosTheta) > 0.0001 then | |
483 | local theta = math.acos(-cosTheta) | |
484 | local invSinTheta = 1/math.sin(theta) | |
485 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
486 | finishInterp = math.sin(t*theta)*invSinTheta | |
487 | else | |
488 | startInterp = t-1 | |
489 | finishInterp = t | |
490 | end | |
491 | end | |
492 | 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 | |
493 | end | |
494 | ||
495 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
496 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
497 | end | |
498 | ||
499 | Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
500 | if hit.Parent==nil then | |
501 | return | |
502 | end | |
503 | local h=hit.Parent:FindFirstChild("Humanoid") | |
504 | for _,v in pairs(hit.Parent:children()) do | |
505 | if v:IsA("Humanoid") then | |
506 | v.Parent.Torso.Neck:Remove() | |
507 | h=v | |
508 | end | |
509 | end | |
510 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
511 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
512 | end | |
513 | if hit.Parent.className=="Hat" then | |
514 | hit=hit.Parent.Parent:findFirstChild("Head") | |
515 | end | |
516 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
517 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
518 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
519 | return | |
520 | end]] | |
521 | -- hs(hit,1.2) | |
522 | local c=Instance.new("ObjectValue") | |
523 | c.Name="creator" | |
524 | c.Value=game:service("Players").LocalPlayer | |
525 | c.Parent=h | |
526 | game:GetService("Debris"):AddItem(c,.5) | |
527 | local Damage=math.huge | |
528 | -- h:TakeDamage(Damage) | |
529 | local blocked=false | |
530 | local block=hit.Parent:findFirstChild("Block") | |
531 | if block~=nil then | |
532 | print(block.className) | |
533 | if block.className=="NumberValue" then | |
534 | if block.Value>0 then | |
535 | blocked=true | |
536 | if decreaseblock==nil then | |
537 | block.Value=block.Value-1 | |
538 | end | |
539 | end | |
540 | end | |
541 | if block.className=="IntValue" then | |
542 | if block.Value>0 then | |
543 | blocked=true | |
544 | if decreaseblock~=nil then | |
545 | block.Value=block.Value-1 | |
546 | end | |
547 | end | |
548 | end | |
549 | end | |
550 | if blocked==false then | |
551 | -- h:TakeDamage(Damage) | |
552 | h.Health=h.Health-Damage | |
553 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color) | |
554 | else | |
555 | h.Health=h.Health-(Damage/2) | |
556 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color) | |
557 | end | |
558 | if Type=="Knockdown" then | |
559 | local hum=hit.Parent.Humanoid | |
560 | hum.PlatformStand=true | |
561 | coroutine.resume(coroutine.create(function(HHumanoid) | |
562 | swait(1) | |
563 | HHumanoid.PlatformStand=false | |
564 | end),hum) | |
565 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
566 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
567 | local bodvol=Instance.new("BodyVelocity") | |
568 | bodvol.velocity=angle*knockback | |
569 | bodvol.P=5000 | |
570 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
571 | bodvol.Parent=hit | |
572 | local rl=Instance.new("BodyAngularVelocity") | |
573 | rl.P=3000 | |
574 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
575 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
576 | rl.Parent=hit | |
577 | game:GetService("Debris"):AddItem(bodvol,.5) | |
578 | game:GetService("Debris"):AddItem(rl,.5) | |
579 | elseif Type=="Normal" then | |
580 | local vp=Instance.new("BodyVelocity") | |
581 | vp.P=500 | |
582 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
583 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
584 | if KnockbackType==1 then | |
585 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
586 | elseif KnockbackType==2 then | |
587 | vp.velocity=Property.CFrame.lookVector*knockback | |
588 | end | |
589 | if knockback>0 then | |
590 | vp.Parent=hit.Parent.Torso | |
591 | end | |
592 | game:GetService("Debris"):AddItem(vp,.5) | |
593 | elseif Type=="Up" then | |
594 | local bodyVelocity=Instance.new("BodyVelocity") | |
595 | bodyVelocity.velocity=vt(0,60,0) | |
596 | bodyVelocity.P=5000 | |
597 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
598 | bodyVelocity.Parent=hit | |
599 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
600 | local rl=Instance.new("BodyAngularVelocity") | |
601 | rl.P=3000 | |
602 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
603 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
604 | rl.Parent=hit | |
605 | game:GetService("Debris"):AddItem(rl,.5) | |
606 | elseif Type=="Snare" then | |
607 | local bp=Instance.new("BodyPosition") | |
608 | bp.P=2000 | |
609 | bp.D=100 | |
610 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
611 | bp.position=hit.Parent.Torso.Position | |
612 | bp.Parent=hit.Parent.Torso | |
613 | game:GetService("Debris"):AddItem(bp,1) | |
614 | elseif Type=="Target" then | |
615 | local Targetting = false | |
616 | if Targetting==false then | |
617 | ZTarget=hit.Parent.Torso | |
618 | coroutine.resume(coroutine.create(function(Part) | |
619 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
620 | swait(5) | |
621 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
622 | end),ZTarget) | |
623 | local TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
624 | local targetgui=Instance.new("BillboardGui") | |
625 | targetgui.Parent=ZTarget | |
626 | targetgui.Size=UDim2.new(10,100,10,100) | |
627 | local targ=Instance.new("ImageLabel") | |
628 | targ.Parent=targetgui | |
629 | targ.BackgroundTransparency=1 | |
630 | targ.Image="rbxassetid://4834067" | |
631 | targ.Size=UDim2.new(1,0,1,0) | |
632 | cam.CameraType="Scriptable" | |
633 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
634 | local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
635 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
636 | Targetting=true | |
637 | RocketTarget=ZTarget | |
638 | for i=1,Property do | |
639 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
640 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
641 | swait() | |
642 | end | |
643 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
644 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
645 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
646 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
647 | end | |
648 | Targetting=false | |
649 | RocketTarget=nil | |
650 | targetgui.Parent=nil | |
651 | cam.CameraType="Custom" | |
652 | end | |
653 | end | |
654 | local debounce=Instance.new("BoolValue") | |
655 | debounce.Name="DebounceHit" | |
656 | debounce.Parent=hit.Parent | |
657 | debounce.Value=true | |
658 | game:GetService("Debris"):AddItem(debounce,Delay) | |
659 | c=Instance.new("ObjectValue") | |
660 | c.Name="creator" | |
661 | c.Value=Player | |
662 | c.Parent=h | |
663 | game:GetService("Debris"):AddItem(c,.5) | |
664 | end | |
665 | end | |
666 | ||
667 | ||
668 | function ShowDamage(Pos, Text, Time, Color) | |
669 | local Rate = (1 / 30) | |
670 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
671 | local Text = (Text or "") | |
672 | local Time = (Time or 2) | |
673 | local Color = (Color or Color3.new(1, 0, 0)) | |
674 | local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0)) | |
675 | EffectPart.Anchored = true | |
676 | local BillboardGui = Instance.new("BillboardGui") | |
677 | BillboardGui.Size = UDim2.new(3, 0, 3, 0) | |
678 | BillboardGui.Adornee = EffectPart | |
679 | local TextLabel = Instance.new("TextLabel") | |
680 | TextLabel.BackgroundTransparency = 1 | |
681 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
682 | TextLabel.Text = Text | |
683 | TextLabel.TextColor3 = Color | |
684 | TextLabel.TextScaled = true | |
685 | TextLabel.Font = Enum.Font.ArialBold | |
686 | TextLabel.Parent = BillboardGui | |
687 | BillboardGui.Parent = EffectPart | |
688 | game.Debris:AddItem(EffectPart, (Time + 0.1)) | |
689 | EffectPart.Parent = game:GetService("Workspace") | |
690 | Delay(0, function() | |
691 | local Frames = (Time / Rate) | |
692 | for Frame = 1, Frames do | |
693 | wait(Rate) | |
694 | local Percent = (Frame / Frames) | |
695 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
696 | TextLabel.TextTransparency = Percent | |
697 | end | |
698 | if EffectPart and EffectPart.Parent then | |
699 | EffectPart:Destroy() | |
700 | end | |
701 | end) | |
702 | end | |
703 | ||
704 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.34799999, 2.78399992, 0.34799999)) | |
705 | handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00324273, 0.013961792, -0.00828075409, -1.38366803e-013, -0.999999881, 4.25688995e-009, 2.4656245e-007, -4.25688951e-009, -1, 1, -1.373172e-013, 2.4656245e-007)) | |
706 | mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
707 | Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"Really black","Hitbox",Vector3.new(1.04400003, 6.35600042, 0.600000024)) | |
708 | Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000308990479, -5.48094559, -2.00271606e-005, 1, 6.10120843e-011, -1.08637464e-014, -6.10120843e-011, 1, 7.57154339e-011, 1.08637574e-014, -7.57154339e-011, 1)) | |
709 | mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983)) | |
710 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
711 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.00242900848, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -4.25688862e-009, -1.37317173e-013, -4.25688862e-009, 0.999999702, -2.46562365e-007)) | |
712 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
713 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
714 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007)) | |
715 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
716 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036)) | |
717 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000484466553, -0.232157588, -1.08489037, -1.6391111e-007, -2.91180186e-007, -0.999989986, -0.999989986, 2.34624395e-007, 1.63911025e-007, 2.34622007e-007, 1, -2.91177315e-007)) | |
718 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1)) | |
719 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
720 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007)) | |
721 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
722 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.812000036, 0.591600001)) | |
723 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000144004822, -7.46494102, -8.79764557e-005, 4.47029542e-008, 2.42425131e-007, 0.999980867, -2.50834205e-007, 1, -2.42420526e-007, -0.999980867, -2.5083898e-007, 4.47030146e-008)) | |
724 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1)) | |
725 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
726 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
727 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939)) | |
728 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
729 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007)) | |
730 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
731 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
732 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.232713461, -1.89698601, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
733 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
734 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999)) | |
735 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.174778461, -1.66498375, 9.53674316e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1)) | |
736 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1)) | |
737 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 4.75600052, 0.200000003)) | |
738 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000287055969, -4.68094635, -3.14712524e-005, 0.999985695, 6.10369533e-011, -1.79689095e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689129e-014, -7.57438556e-011, 0.999985695)) | |
739 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983)) | |
740 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
741 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
742 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961)) | |
743 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003)) | |
744 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642)) | |
745 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.798079908, 0.843320072, 0.58927989)) | |
746 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
747 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007)) | |
748 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
749 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
750 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007)) | |
751 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
752 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
753 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007)) | |
754 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
755 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
756 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007)) | |
757 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
758 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
759 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00553905964, -0.620464325, 0.00238800049, 0.999994755, 4.21545732e-009, 1.69303116e-013, -4.2154511e-009, 1, -2.46550314e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755)) | |
760 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
761 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
762 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007)) | |
763 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
764 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.812000036, 0.200000003, 0.579999983)) | |
765 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013)) | |
766 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.526639998, 1)) | |
767 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999)) | |
768 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.294445038, 1.4429245, 0.00253105164, 0.965925753, -0.258819014, 6.3815186e-008, 0.258819014, 0.965925753, -2.38160979e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
769 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
770 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
771 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007)) | |
772 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
773 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
774 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
775 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876)) | |
776 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
777 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007)) | |
778 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
779 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
780 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28609848, -1.26961899, 0.00253105164, 0.707106709, -0.707106769, 1.74346084e-007, 0.707106769, 0.707106709, -1.74345857e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
781 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
782 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007)) | |
783 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
784 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
785 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007)) | |
786 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
787 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
788 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
789 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
790 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
791 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
792 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
793 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
794 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007)) | |
795 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
796 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.200000003, 0.34799999)) | |
797 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000606894493, -1.54850197, -4.76837158e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1)) | |
798 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
799 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
800 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
801 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
802 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
803 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.23126626, -1.89697075, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
804 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000222, 1, 1)) | |
805 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
806 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.859739304, -1.87621498, 0.00253105164, 0.70710659, 0.70710659, -1.74345828e-007, -0.70710659, 0.70710659, -1.74346027e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
807 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
808 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58202362, 0.00305497646, 0.00253105164, 1.91577065e-008, -1, 2.46562593e-007, 0.999994159, 1.91577474e-008, -8.742213e-008, 4.37109904e-008, 2.46561086e-007, 0.999994159)) | |
809 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
810 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
811 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013)) | |
812 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
813 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.44659999, 0.69599998, 0.371199995)) | |
814 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555098057, -1.02645874, 0.00238800049, 0.999994278, 4.2154551e-009, 1.69303035e-013, -4.21544888e-009, 0.999999523, -2.46550201e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755)) | |
815 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
816 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
817 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.0024292469, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -6.38615347e-008, -1.22620908e-013, -6.38615347e-008, 0.999999702, -2.46562365e-007)) | |
818 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
819 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.463999987, 0.34799999)) | |
820 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000650644302, -1.8385067, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
821 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
822 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 4.75600052, 0.200000003)) | |
823 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000156164169, -4.68094444, -0.000274658203, 0.999971211, 5.13775689e-011, -1.44165397e-014, -5.13864507e-011, 1, 6.64499566e-011, 8.34828473e-015, -6.64783784e-011, 0.999971211)) | |
824 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000401, 1, 0.69599992)) | |
825 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
826 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007)) | |
827 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
828 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
829 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
830 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961)) | |
831 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
832 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
833 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
834 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
835 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
836 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
837 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.231999993, 0.200000003)) | |
838 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000268936157, -7.1749382, -0.000166773796, -2.98020346e-008, 2.42384317e-007, 0.999980867, -2.50883971e-007, 1, -2.42379713e-007, -0.999980867, -2.50888746e-007, -2.98019742e-008)) | |
839 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.698320508, 1.00999999, 0.590207934)) | |
840 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.44659999, 1.15999997, 0.371199995)) | |
841 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00572288036, 0.249307632, 0.00253105164, 0.999997973, 4.25688151e-009, 1.37316929e-013, -4.25688196e-009, 0.999998093, -2.46561967e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881)) | |
842 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
843 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
844 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00575697422, 1.22929001, 0.00253105164, 1, 4.25689928e-009, 1.49599246e-013, -4.25689928e-009, 1, -2.46565691e-007, -1.50648848e-013, 2.46565691e-007, 1)) | |
845 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
846 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
847 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007)) | |
848 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
849 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.579999983, 0.34799999)) | |
850 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.347447634, -1.78050041, 0.000102043152, 0.999989986, 6.10373974e-011, -1.79689739e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999989986)) | |
851 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
852 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
853 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007)) | |
854 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
855 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
856 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
857 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876)) | |
858 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999)) | |
859 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.872640967, -2.18717003, 0.00248718262, 1, 4.25688995e-009, 1.37317214e-013, -4.25688995e-009, 1, -2.4656245e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
860 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
861 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007)) | |
862 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
863 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
864 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
865 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
866 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.50800002, 1.04400003)) | |
867 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.53131104e-005, -7.8129406, 0.00018453598, 4.47029258e-008, 2.42408902e-007, 0.999980867, -2.50858221e-007, 1, -2.42404298e-007, -0.999980867, -2.50863025e-007, 4.47029933e-008)) | |
868 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.581159949, 1, 1)) | |
869 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
870 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000666975975, -2.18694496, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
871 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
872 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007)) | |
873 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
874 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999)) | |
875 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.173270226, -1.66498375, 0.0001039505, 0.999997854, 6.10373974e-011, -1.7969128e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79691145e-014, -7.57154339e-011, 0.999997854)) | |
876 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1)) | |
877 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
878 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008)) | |
879 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
880 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
881 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.863862991, -1.87209129, 0.00253105164, 0.70710659, -0.70710659, 1.74346027e-007, 0.70710659, 0.70710659, -1.74345828e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
882 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
883 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013)) | |
884 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
885 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
886 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007)) | |
887 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
888 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.580000043, 4.75600052, 0.200000003)) | |
889 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0001963377, -4.68094635, -9.53674316e-005, 0.999990404, 6.10373974e-011, -1.79689874e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57154339e-011, 0.999990404)) | |
890 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.638000011)) | |
891 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
892 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28197098, -1.27374649, 0.00253105164, 0.707106709, 0.707106769, -1.74345885e-007, -0.707106769, 0.707106709, -1.74346056e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
893 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
894 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.116648793, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
895 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
896 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
897 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008)) | |
898 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
899 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
900 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563848019, -0.388711929, 0.00253295898, 0.99999404, 4.25686464e-009, 1.37316401e-013, -4.25686508e-009, 0.999994159, -2.46561001e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881)) | |
901 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
902 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Crimson","Part",Vector3.new(0.34799999, 0.34799999, 0.200000003)) | |
903 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642)) | |
904 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.595080018, 0.683239937)) | |
905 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
906 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
907 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961)) | |
908 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.231999993, 0.34799999)) | |
909 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.347726822, -1.60689163, -9.05990601e-005, 0.99999994, 6.59379218e-011, -1.80878482e-014, -6.59667876e-011, 1, -5.95150595e-011, 2.41627922e-014, 5.94866378e-011, 0.99999994)) | |
910 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1)) | |
911 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
912 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007)) | |
913 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
914 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999)) | |
915 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.870689273, -2.18681908, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
916 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036)) | |
917 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000425338745, -0.231835961, -1.08489037, -4.08055101e-009, 2.02203083e-007, 0.99999994, 0.99999994, 2.42933169e-007, 4.08050749e-009, -2.42933169e-007, 1, -2.02203097e-007)) | |
918 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1)) | |
919 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.812000036, 0.200000003, 0.812000036)) | |
920 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013)) | |
921 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.444280028, 1)) | |
922 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
923 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
924 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939)) | |
925 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
926 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563395023, 0.887273788, 0.00253295898, 0.999990106, 4.25684776e-009, 1.37315859e-013, -4.25684821e-009, 0.999990225, -2.46560035e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881)) | |
927 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
928 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
929 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.348541379, -1.89650154, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
930 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
931 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003)) | |
932 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642)) | |
933 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.835199952, 0.808520079, 0.58927989)) | |
934 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
935 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555217266, -1.43245697, 0.00238800049, 0.999993682, 4.21545243e-009, 1.69302926e-013, -4.21544666e-009, 0.999998927, -2.46550059e-007, -1.77448618e-013, 2.46551593e-007, 0.999994755)) | |
936 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
937 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
938 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.115347862, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
939 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
940 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
941 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
942 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961)) | |
943 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999)) | |
944 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300365448, 1.44133759, 0.00253105164, 0.965925753, 0.258819014, -6.3814916e-008, -0.258819014, 0.965925753, -2.38161064e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
945 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
946 | ||
947 | local Lite = it("PointLight",Torso) | |
948 | Lite.Color = Color3.new(20, 0 , 0) | |
949 | Lite.Range = 8 | |
950 | Lite.Brightness = 10 | |
951 | Lite.Shadows = true | |
952 | ||
953 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
954 | local prt=part("Custom",workspace,"SmoothPlastic",0,0,"Gold","Effect",vt(0.5,0.5,0.5)) | |
955 | prt.Anchored=true | |
956 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
957 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
958 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
959 | CF=Part.CFrame | |
960 | Numbb=0 | |
961 | randnumb=math.random()-math.random() | |
962 | for i=0,1,0.05 do | |
963 | wait() | |
964 | CF=CF*cf(0,1,0) | |
965 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
966 | Part.CFrame=CF*euler(Numbb,0,0) | |
967 | Part.Transparency=i | |
968 | Numbb=Numbb+randnumb | |
969 | end | |
970 | Part.Parent=nil | |
971 | end),prt) | |
972 | end | |
973 | --BreakEffect(BrickColor.new("Gold"),Hitbox.CFrame,0.5,math.random(5,20),0.5) | |
974 | ||
975 | function attackone() | |
976 | attack=true | |
977 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
978 | for i=0,1,0.1 do | |
979 | swait() | |
980 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3) | |
981 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3) | |
982 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
983 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
984 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3) | |
985 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
986 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
987 | end | |
988 | so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1) | |
989 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1) | |
990 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
991 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
992 | if hum12 and not hum12:IsDescendantOf(Character) then | |
993 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
994 | for i = 1,10 do | |
995 | BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
996 | end | |
997 | hitconasdf:disconnect() | |
998 | end | |
999 | end) | |
1000 | for i=0,1,0.1 do | |
1001 | swait() | |
1002 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
1003 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1004 | local h = 5 | |
1005 | 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) | |
1006 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1007 | 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) | |
1008 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1009 | scfr = blcf | |
1010 | elseif not scfr then | |
1011 | scfr = blcf | |
1012 | end | |
1013 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3) | |
1014 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3) | |
1015 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1016 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1017 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3) | |
1018 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1019 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
1020 | end | |
1021 | attack=false | |
1022 | con:disconnect() | |
1023 | scfr = nil | |
1024 | pcall(function() | |
1025 | hitconasdf:disconnect() | |
1026 | end) | |
1027 | end | |
1028 | ||
1029 | function attacktwo() | |
1030 | attack=true | |
1031 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
1032 | for i=0,1,0.1 do | |
1033 | swait() | |
1034 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3) | |
1035 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3) | |
1036 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1037 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1038 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3) | |
1039 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
1040 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
1041 | end | |
1042 | so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9) | |
1043 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9) | |
1044 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
1045 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
1046 | if hum12 and not hum12:IsDescendantOf(Character) then | |
1047 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
1048 | for i = 1,10 do | |
1049 | BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1050 | end | |
1051 | hitconasdf:disconnect() | |
1052 | end | |
1053 | end) | |
1054 | for i=0,1,0.1 do | |
1055 | swait() | |
1056 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
1057 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1058 | local h = 5 | |
1059 | 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) | |
1060 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1061 | 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) | |
1062 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1063 | scfr = blcf | |
1064 | elseif not scfr then | |
1065 | scfr = blcf | |
1066 | end | |
1067 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3) | |
1068 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3) | |
1069 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1070 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1071 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3) | |
1072 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
1073 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
1074 | end | |
1075 | attack=false | |
1076 | con:disconnect() | |
1077 | scfr = nil | |
1078 | pcall(function() | |
1079 | hitconasdf:disconnect() | |
1080 | end) | |
1081 | end | |
1082 | ||
1083 | function Stab() | |
1084 | attack=true | |
1085 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
1086 | for i=0,1,0.1 do | |
1087 | swait() | |
1088 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
1089 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(60)),.3) | |
1090 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(90)),.3) | |
1091 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-90)),.3) | |
1092 | LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1093 | RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1094 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
1095 | end | |
1096 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
1097 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
1098 | if hum12 and not hum12:IsDescendantOf(Character) then | |
1099 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
1100 | for i = 1,10 do | |
1101 | BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1102 | end | |
1103 | hitconasdf:disconnect() | |
1104 | end | |
1105 | end) | |
1106 | so("http://www.roblox.com/asset/?id=444667824",Hitbox,1,.9) | |
1107 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9) | |
1108 | for i=0,1,0.1 do | |
1109 | swait() | |
1110 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
1111 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1112 | local h = 5 | |
1113 | 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) | |
1114 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1115 | 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) | |
1116 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1117 | scfr = blcf | |
1118 | elseif not scfr then | |
1119 | scfr = blcf | |
1120 | end | |
1121 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
1122 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-80)),.4) | |
1123 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
1124 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.4) | |
1125 | LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4) | |
1126 | RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4) | |
1127 | handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4) | |
1128 | end | |
1129 | con:disconnect() | |
1130 | attack=false | |
1131 | scfr = nil | |
1132 | pcall(function() | |
1133 | hitconasdf:disconnect() | |
1134 | end) | |
1135 | end | |
1136 | ||
1137 | function Spin() | |
1138 | attack=true | |
1139 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
1140 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
1141 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
1142 | if hum12 and not hum12:IsDescendantOf(Character) then | |
1143 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
1144 | for i = 1,10 do | |
1145 | BreakEffect(BrickColor.new("Really black"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1146 | end | |
1147 | hitconasdf:disconnect() | |
1148 | end | |
1149 | end) | |
1150 | for i=0,1,1 do | |
1151 | so("http://roblox.com/asset/?id=154965962",Hitbox,1,1) | |
1152 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1) | |
1153 | swait() | |
1154 | for i=0,1,0.1 do | |
1155 | swait() | |
1156 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
1157 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1158 | local h = 5 | |
1159 | 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) | |
1160 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1161 | 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) | |
1162 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1163 | scfr = blcf | |
1164 | elseif not scfr then | |
1165 | scfr = blcf | |
1166 | end | |
1167 | RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3) | |
1168 | LW.C0=clerp(LW.C0,cf(-1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(50)),.3) | |
1169 | LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3) | |
1170 | RH.C0=clerp(RH.C0,cf(1,-.5,-1)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3) | |
1171 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(6*i,0,0),.5) | |
1172 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),1) | |
1173 | end | |
1174 | end | |
1175 | attack=false | |
1176 | con:disconnect() | |
1177 | scfr = nil | |
1178 | pcall(function() | |
1179 | hitconasdf:disconnect() | |
1180 | end) | |
1181 | end | |
1182 | ||
1183 | function ContAttack() | |
1184 | attack=true | |
1185 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
1186 | hitconasdf = Hitbox.Touched:connect(function(hit) | |
1187 | local hum12 = hit.Parent:FindFirstChild("Humanoid") | |
1188 | if hum12 and not hum12:IsDescendantOf(Character) then | |
1189 | so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
1190 | for i = 1,10 do | |
1191 | BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5) | |
1192 | end | |
1193 | hitconasdf:disconnect() | |
1194 | end | |
1195 | end) | |
1196 | for i=1,4 do | |
1197 | swait() | |
1198 | for i=0,1,0.2 do | |
1199 | swait() | |
1200 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3) | |
1201 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3) | |
1202 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1203 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1204 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3) | |
1205 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
1206 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
1207 | end | |
1208 | so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1) | |
1209 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1) | |
1210 | for i=0,1,0.2 do | |
1211 | swait() | |
1212 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
1213 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1214 | local h = 5 | |
1215 | 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) | |
1216 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1217 | 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) | |
1218 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1219 | scfr = blcf | |
1220 | elseif not scfr then | |
1221 | scfr = blcf | |
1222 | end | |
1223 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3) | |
1224 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3) | |
1225 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1226 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1227 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3) | |
1228 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1229 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
1230 | end | |
1231 | for i=0,1,0.2 do | |
1232 | swait() | |
1233 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3) | |
1234 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3) | |
1235 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1236 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1237 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3) | |
1238 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
1239 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
1240 | end | |
1241 | so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9) | |
1242 | so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9) | |
1243 | for i=0,1,0.2 do | |
1244 | swait() | |
1245 | local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
1246 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
1247 | local h = 5 | |
1248 | 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) | |
1249 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1250 | 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) | |
1251 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
1252 | scfr = blcf | |
1253 | elseif not scfr then | |
1254 | scfr = blcf | |
1255 | end | |
1256 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3) | |
1257 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3) | |
1258 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1259 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1260 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3) | |
1261 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
1262 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
1263 | end | |
1264 | end | |
1265 | attack=false | |
1266 | con:disconnect() | |
1267 | scfr = nil | |
1268 | pcall(function() | |
1269 | hitconasdf:disconnect() | |
1270 | end) | |
1271 | end | |
1272 | ||
1273 | ||
1274 | function Sheathe() | |
1275 | attack = true | |
1276 | so("http://www.roblox.com/asset/?id=552647102",Hitbox,1,.9) | |
1277 | CurrentMode = "Sheathed" | |
1278 | for i = 0,1,0.1 do | |
1279 | swait() | |
1280 | handleweld.Part0 = Torso | |
1281 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1282 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3) | |
1283 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3) | |
1284 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3) | |
1285 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1286 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1287 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
1288 | end | |
1289 | attack = false | |
1290 | end | |
1291 | ||
1292 | function Unsheathe() | |
1293 | attack = true | |
1294 | CurrentMode = "Unsheathed" | |
1295 | so("http://www.roblox.com/asset/?id=552647102",Hitbox,1,.9) | |
1296 | for i = 0,1,0.1 do | |
1297 | swait() | |
1298 | handleweld.Part0 = RightArm | |
1299 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
1300 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
1301 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(200),math.rad(0),math.rad(0)),.3) | |
1302 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(-30),math.rad(-30)),.3) | |
1303 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1304 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1305 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3) | |
1306 | end | |
1307 | scfr = nil | |
1308 | attack = false | |
1309 | end | |
1310 | ||
1311 | local Sit = false | |
1312 | ||
1313 | mouse.Button1Down:connect(function() | |
1314 | if attack==false then | |
1315 | if attacktype==1 and CurrentMode == "Unsheathed" then | |
1316 | attack=true | |
1317 | attacktype=2 | |
1318 | attackone() | |
1319 | elseif attacktype==2 and CurrentMode == "Unsheathed" then | |
1320 | attack=true | |
1321 | attacktype=1 | |
1322 | attacktwo() | |
1323 | end | |
1324 | end | |
1325 | end) | |
1326 | ||
1327 | ||
1328 | mouse.KeyDown:connect(function(k) | |
1329 | k=k:lower() | |
1330 | if k=='q' then | |
1331 | if attack==false and CurrentMode == "Unsheathed" then | |
1332 | Stab() | |
1333 | end | |
1334 | elseif k=='e' then | |
1335 | if attack==false and CurrentMode == "Unsheathed" then | |
1336 | Spin() | |
1337 | end | |
1338 | elseif k=='r' then | |
1339 | if attack==false and CurrentMode == "Unsheathed" then | |
1340 | ContAttack() | |
1341 | end | |
1342 | elseif k=='f' then | |
1343 | if attack==false and CurrentMode == "Unsheathed" then | |
1344 | Sheathe() | |
1345 | elseif k=='f' then | |
1346 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
1347 | Unsheathe() | |
1348 | end | |
1349 | end | |
1350 | elseif k=='t' then | |
1351 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
1352 | Sit = true | |
1353 | Humanoid.WalkSpeed = 0 | |
1354 | elseif k=='t' then | |
1355 | if attack==false and Sit == true and CurrentMode == "Sheathed" then | |
1356 | Sit = false | |
1357 | Humanoid.WalkSpeed = 16 | |
1358 | end | |
1359 | end | |
1360 | ||
1361 | end | |
1362 | end) | |
1363 | ||
1364 | ||
1365 | ||
1366 | ||
1367 | ||
1368 | ||
1369 | ||
1370 | ||
1371 | ||
1372 | ||
1373 | ||
1374 | ||
1375 | ||
1376 | ||
1377 | ||
1378 | --cape | |
1379 | p = game.Players.LocalPlayer | |
1380 | char = p.Character | |
1381 | hum = char.Humanoid | |
1382 | root=char.HumanoidRootPart | |
1383 | torso = char.Torso | |
1384 | local player = game.Players.LocalPlayer | |
1385 | lig = Instance.new("PointLight",player.Character.Torso) | |
1386 | lig.Color=Color3.new(0,0,0) | |
1387 | m=player:GetMouse() | |
1388 | bb = Instance.new("BillboardGui",player.Character.Head) | |
1389 | bb.Enabled = true | |
1390 | function newRay(start,face,range,wat) | |
1391 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
1392 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
1393 | return rey,hit,pos | |
1394 | end | |
1395 | aa1={} | |
1396 | torso=game.Players.LocalPlayer.Character.Torso | |
1397 | ||
1398 | local WorldUp = Vector3.new(0,1,0) | |
1399 | function look2(Vec1,Vec2) | |
1400 | local Orig = Vec1 | |
1401 | Vec1 = Vec1+Vector3.new(0,1,0) | |
1402 | Vec2 = Vec2+Vector3.new(0,1,0) | |
1403 | local Forward = (Vec2-Vec1).unit | |
1404 | local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit | |
1405 | local Right = Up:Cross(Forward).unit | |
1406 | Forward = -Forward | |
1407 | Right = -Right | |
1408 | return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z) | |
1409 | end | |
1410 | ||
1411 | function look(CFr,Vec2) | |
1412 | local A = Vector3.new(0,0,0) | |
1413 | local B = CFr:inverse()*Vec2 | |
1414 | local CF = look2(A,Vector3.new(A.X,B.Y,B.Z)) | |
1415 | if B.Z > 0 then | |
1416 | CF = CFr*(CF*CFrame.Angles(0,0,math.pi)) | |
1417 | elseif B.Z == 0 then | |
1418 | if B.Y > 0 then | |
1419 | CF = CFr*CFrame.Angles(math.pi/2,0,0) | |
1420 | elseif B.Y < 0 then | |
1421 | CF = CFr*CFrame.Angles(-math.pi/2,0,0) | |
1422 | else | |
1423 | CF = CFr | |
1424 | end | |
1425 | end | |
1426 | local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components() | |
1427 | local Up = Vector3.new(X,Y,Z) | |
1428 | local Forward = (Vec2-CFr.p).unit | |
1429 | local Right = Up:Cross(Forward) | |
1430 | Forward = -Forward | |
1431 | Right = -Right | |
1432 | return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z) | |
1433 | end | |
1434 | ||
1435 | function simulate(j,d,m,r,t) | |
1436 | local joint = j | |
1437 | for i,v in ipairs(t) do | |
1438 | if v[1]:FindFirstChild("Weld") then | |
1439 | local stiff = m.CFrame.lookVector*0.03 | |
1440 | if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end | |
1441 | local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit | |
1442 | local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude | |
1443 | local pos = joint.p+(dir*(d*0.5)) | |
1444 | --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end | |
1445 | local inv = v[1].Weld.Part0.CFrame | |
1446 | local rel1 = inv:inverse()*pos | |
1447 | local rel2 = inv:inverse()*(pos-(dir*dis)) | |
1448 | local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z) | |
1449 | v[1].Weld.C0 = cf | |
1450 | v[2] = inv*cf | |
1451 | --v[1].CFrame = cf | |
1452 | end | |
1453 | end | |
1454 | end | |
1455 | for i=1,8 do | |
1456 | local p = Instance.new("Part",char) | |
1457 | p.Anchored = false | |
1458 | p.BrickColor = BrickColor.new("Really black") | |
1459 | p.CanCollide = false | |
1460 | p.FormFactor="Custom" | |
1461 | p.Transparency= .9 | |
1462 | p.Material = "Neon" | |
1463 | p.TopSurface = "SmoothNoOutlines" | |
1464 | p.BottomSurface = "SmoothNoOutlines" | |
1465 | p.RightSurface = "SmoothNoOutlines" | |
1466 | p.LeftSurface = "SmoothNoOutlines" | |
1467 | p.FrontSurface = "SmoothNoOutlines" | |
1468 | p.BackSurface = "SmoothNoOutlines" | |
1469 | ||
1470 | p.Size=Vector3.new(2,.2,0.2) | |
1471 | p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them | |
1472 | mesh = Instance.new("BlockMesh",p) | |
1473 | mesh.Scale = Vector3.new(1,1,4) | |
1474 | local w = Instance.new("Motor6D",p) | |
1475 | w.Part0 = aa1[i-1] and aa1[i-1][1] or torso | |
1476 | w.Part1 = p | |
1477 | w.Name = "Weld" | |
1478 | --table.insert(aa1,p) | |
1479 | aa1[i] = {p,p.CFrame} | |
1480 | ||
1481 | end | |
1482 | game:service"RunService".Stepped:connect(function() | |
1483 | simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1) | |
1484 | end) | |
1485 | ||
1486 | ||
1487 | ||
1488 | ||
1489 | ------------------------------------------- | |
1490 | ||
1491 | ||
1492 | ||
1493 | ||
1494 | ||
1495 | ||
1496 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1497 | local mesh=it(Mesh) | |
1498 | mesh.Parent=part | |
1499 | if Mesh=="SpecialMesh" then | |
1500 | mesh.MeshType=meshtype | |
1501 | mesh.MeshId=meshid | |
1502 | end | |
1503 | mesh.Offset=offset | |
1504 | mesh.Scale=scale | |
1505 | return mesh | |
1506 | end | |
1507 | ||
1508 | function weld(parent,part0,part1,c0,c1) | |
1509 | local weld=it("Weld") | |
1510 | weld.Parent=parent | |
1511 | weld.Part0=part0 | |
1512 | weld.Part1=part1 | |
1513 | weld.C0=c0 | |
1514 | weld.C1=c1 | |
1515 | return weld | |
1516 | end | |
1517 | ||
1518 | ||
1519 | ||
1520 | ||
1521 | ||
1522 | ||
1523 | ||
1524 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1525 | ||
1526 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt()) | |
1527 | ||
1528 | prt.Anchored=true | |
1529 | ||
1530 | prt.CFrame=cframe | |
1531 | ||
1532 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1533 | ||
1534 | game:GetService("Debris"):AddItem(prt,2) | |
1535 | ||
1536 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1537 | ||
1538 | for i=0,1,delay do | |
1539 | ||
1540 | wait() | |
1541 | ||
1542 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1543 | ||
1544 | Part.Transparency=i | |
1545 | ||
1546 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1547 | ||
1548 | end | |
1549 | ||
1550 | Part.Parent=nil | |
1551 | ||
1552 | end),prt,msh) | |
1553 | ||
1554 | end | |
1555 | ||
1556 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1557 | ||
1558 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt()) | |
1559 | ||
1560 | prt.Anchored=true | |
1561 | ||
1562 | prt.CFrame=cframe | |
1563 | ||
1564 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
1565 | ||
1566 | game:GetService("Debris"):AddItem(prt,2) | |
1567 | ||
1568 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1569 | ||
1570 | local wld=nil | |
1571 | ||
1572 | for i=0,1,delay do | |
1573 | ||
1574 | wait() | |
1575 | ||
1576 | Part.CFrame=Part.CFrame | |
1577 | ||
1578 | Part.Transparency=i | |
1579 | ||
1580 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1581 | ||
1582 | end | |
1583 | ||
1584 | Part.Parent=nil | |
1585 | ||
1586 | end),prt,msh) | |
1587 | ||
1588 | end | |
1589 | ||
1590 | function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1591 | ||
1592 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1593 | ||
1594 | prt.Anchored=true | |
1595 | ||
1596 | prt.CFrame=cframe | |
1597 | ||
1598 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1)) | |
1599 | ||
1600 | game:GetService("Debris"):AddItem(prt,5) | |
1601 | ||
1602 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1603 | ||
1604 | for i=0,1,delay do | |
1605 | ||
1606 | wait() | |
1607 | ||
1608 | Part.CFrame=Part.CFrame | |
1609 | ||
1610 | Part.Transparency=i | |
1611 | ||
1612 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1613 | ||
1614 | end | |
1615 | ||
1616 | Part.Parent=nil | |
1617 | ||
1618 | end),prt,msh) | |
1619 | ||
1620 | end | |
1621 | ||
1622 | function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1623 | ||
1624 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2)) | |
1625 | ||
1626 | prt.Anchored=true | |
1627 | ||
1628 | prt.CFrame=cframe | |
1629 | ||
1630 | msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1)) | |
1631 | ||
1632 | game:GetService("Debris"):AddItem(prt,5) | |
1633 | ||
1634 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1635 | ||
1636 | for i=0,1,delay do | |
1637 | ||
1638 | wait() | |
1639 | ||
1640 | Part.CFrame=Part.CFrame | |
1641 | ||
1642 | Part.Transparency=i | |
1643 | ||
1644 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1645 | ||
1646 | end | |
1647 | ||
1648 | Part.Parent=nil | |
1649 | ||
1650 | end),prt,msh) | |
1651 | ||
1652 | end | |
1653 | ||
1654 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
1655 | ||
1656 | local fp=it("Part") | |
1657 | ||
1658 | fp.formFactor=formfactor | |
1659 | ||
1660 | fp.Parent=parent | |
1661 | ||
1662 | fp.Reflectance=reflectance | |
1663 | ||
1664 | fp.Transparency=transparency | |
1665 | ||
1666 | fp.CanCollide=false | |
1667 | ||
1668 | fp.Locked=true | |
1669 | ||
1670 | fp.BrickColor=brickcolor | |
1671 | ||
1672 | fp.Name=name | |
1673 | ||
1674 | fp.Size=size | |
1675 | ||
1676 | NoOutline(fp) | |
1677 | ||
1678 | fp.Material="Neon" | |
1679 | ||
1680 | fp:BreakJoints() | |
1681 | ||
1682 | return fp | |
1683 | ||
1684 | end | |
1685 | ||
1686 | function weld(parent,part0,part1,c0) | |
1687 | ||
1688 | local weld=it("Weld") | |
1689 | ||
1690 | weld.Parent=parent | |
1691 | ||
1692 | weld.Part0=part0 | |
1693 | ||
1694 | weld.Part1=part1 | |
1695 | ||
1696 | weld.C0=c0 | |
1697 | ||
1698 | return weld | |
1699 | ||
1700 | end | |
1701 | ||
1702 | ||
1703 | ||
1704 | ||
1705 | ||
1706 | deeznuts = true | |
1707 | function Nocturn() | |
1708 | if deeznuts==true then | |
1709 | deeznuts=false | |
1710 | local n=2 | |
1711 | --[[for i=0,1,0.1 do | |
1712 | wait() | |
1713 | Neck.C0=cf(0,1,0)*euler(-0.2+0.6*i*n,0,0) | |
1714 | RW.C0=cf(1.5,0.5,0)*euler(3.14*i*n,0,0.3-0.9*i*n) | |
1715 | RW.C1=cf(0,0.5,0)*euler(0,0,0) | |
1716 | LW.C0=cf(-1.5,0.5,0)*euler(3.14*i*n,0,-0.3+0.9*i*n) | |
1717 | LW.C1=cf(0,0.5,0)*euler(0,0,0) | |
1718 | n=n-0.1 | |
1719 | end]] | |
1720 | local orb=part(3,Character,0,1,BrickColor.new("Really black"),"Orb",vt()) | |
1721 | local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15)) | |
1722 | local owld=weld(orb,orb,Torso,cf(0,-10,0)) | |
1723 | so("http://roblox.com/asset/?id=233091161",orb,1,0.6) | |
1724 | so("http://roblox.com/asset/?id=2233091183",orb,1,1) | |
1725 | for i=1,0.3,-0.01 do | |
1726 | wait() | |
1727 | orb.Transparency=i | |
1728 | omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5) | |
1729 | MagicBlock(BrickColor.new("Really black"),orb.CFrame,15,15,15,2,2,2,0.1) | |
1730 | local ef=part(3,workspace,0,0,BrickColor.new("Really black"),"Effect",vt()) | |
1731 | ef.Anchored=true | |
1732 | local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2)) | |
1733 | local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0) | |
1734 | ef.CFrame=orb.CFrame*ceef | |
1735 | game:GetService("Debris"):AddItem(ef,2) | |
1736 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1737 | for i=0,1,0.1 do | |
1738 | wait() | |
1739 | Part.Transparency=i | |
1740 | Part.CFrame=Part.CFrame*cf(0,-1,0) | |
1741 | end | |
1742 | Part.Parent=nil | |
1743 | end),ef,emsh) | |
1744 | end | |
1745 | local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector | |
1746 | wait(.5) | |
1747 | orb.Parent=nil | |
1748 | local hit,pos = rayCast(orb.Position,Pos,999,Character) | |
1749 | local mag=(orb.Position-pos).magnitude | |
1750 | MagicCircle(BrickColor.new("Really black"),cf(pos),15,15,15,8,8,8,0.02) | |
1751 | MagicBlock(BrickColor.new("Really black"),cf(pos),15,15,15,8,8,8,0.02) | |
1752 | MagicCylinder(BrickColor.new("Really black"),CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01) | |
1753 | for i=1,2 do | |
1754 | MagicRing(BrickColor.new("Really black"),cf(pos)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),3,3,3,1,1,1,0.04) | |
1755 | end | |
1756 | for i=1,5 do | |
1757 | tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0) | |
1758 | MagicRing(BrickColor.new("Really black"),tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01) | |
1759 | end | |
1760 | for i=0,5 do | |
1761 | tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0) | |
1762 | MagicRing(BrickColor.new("Really black"),tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01) | |
1763 | end | |
1764 | local ref=part(3,workspace,0,1,BrickColor.new("Really black"),"Effect",vt()) | |
1765 | ref.CFrame=cf(pos) | |
1766 | so("http://roblox.com/asset/?id=231917813",Torso,1,0.7) | |
1767 | so("http://roblox.com/asset/?id=231917813",Torso,1,0.7) | |
1768 | so("http://www.roblox.com/Asset?ID=231917813",Torso,1,1) | |
1769 | so("http://roblox.com/asset/?id=231917813",ref,1,0.7) | |
1770 | so("http://roblox.com/asset/?id=231917813",ref,1,0.7) | |
1771 | so("http://www.roblox.com/Asset?ID=231917813",ref,1,1) | |
1772 | coroutine.resume(coroutine.create(function(Part) | |
1773 | Part.Parent=nil | |
1774 | end),ref) | |
1775 | if hit~=nil then | |
1776 | local Damagefunc= hit.Parent:FindFirstChild("Humanoid") | |
1777 | for _,v in pairs(hit.Parent:children()) do | |
1778 | if v:IsA("Humanoid") then | |
1779 | v.Parent.Torso.Neck:Remove() | |
1780 | h=v | |
1781 | end | |
1782 | end | |
1783 | end | |
1784 | local n=2 | |
1785 | --[[for i=0,1,0.1 do | |
1786 | wait() | |
1787 | Neck.C0=cf(0,1,0)*euler(0.4-0.6*i*n,0,0) | |
1788 | RW.C0=cf(1.5,0.5,0)*euler(3.14-3.14*i*n,0,-0.6+0.9*i*n) | |
1789 | RW.C1=cf(0,0.5,0)*euler(0,0,0) | |
1790 | LW.C0=cf(-1.5,0.5,0)*euler(3.14-3.14*i*n,0,0.6-0.9*i*n) | |
1791 | LW.C1=cf(0,0.5,0)*euler(0,0,0) | |
1792 | n=n-0.1 | |
1793 | end]] | |
1794 | deeznuts=true | |
1795 | end | |
1796 | end | |
1797 | ||
1798 | ||
1799 | ||
1800 | ||
1801 | mouse.KeyDown:connect(function(k) | |
1802 | k=k:lower() | |
1803 | if k=='g' then | |
1804 | if attack==false then | |
1805 | Nocturn() | |
1806 | end | |
1807 | end | |
1808 | end) | |
1809 | ||
1810 | ||
1811 | ||
1812 | ||
1813 | ||
1814 | ------------------------------------------- | |
1815 | ||
1816 | ||
1817 | ||
1818 | ||
1819 | ||
1820 | ||
1821 | ||
1822 | ||
1823 | ||
1824 | ||
1825 | ||
1826 | ||
1827 | local sine = 0 | |
1828 | local change = 1 | |
1829 | local val = 0 | |
1830 | ||
1831 | while true do | |
1832 | swait() | |
1833 | sine = sine + change | |
1834 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
1835 | local velderp=RootPart.Velocity.y | |
1836 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
1837 | if equipped==true or equipped==false then | |
1838 | if attack==false then | |
1839 | idle=idle+1 | |
1840 | else | |
1841 | idle=0 | |
1842 | end | |
1843 | if idle>=500 then | |
1844 | if attack==false then | |
1845 | end | |
1846 | end | |
1847 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
1848 | Anim="Jump" | |
1849 | if attack==false and Sit == false and CurrentMode == "Unsheathed" then | |
1850 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1851 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
1852 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(50),math.rad(0),math.rad(30)),.3) | |
1853 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1854 | LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1855 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3) | |
1856 | end | |
1857 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
1858 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
1859 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1860 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(30)),.3) | |
1861 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3) | |
1862 | LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1863 | RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1864 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
1865 | end | |
1866 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
1867 | Anim="Fall" | |
1868 | if attack==false and Sit == false and CurrentMode == "Unsheathed" then | |
1869 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1870 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1871 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3) | |
1872 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1873 | LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1874 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3) | |
1875 | end | |
1876 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
1877 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1878 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
1879 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(50)),.3) | |
1880 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-50)),.3) | |
1881 | LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1882 | RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1883 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
1884 | end | |
1885 | elseif torvel<1 and hitfloor~=nil then | |
1886 | Anim="Idle" | |
1887 | if attack==false and Sit == false and CurrentMode == "Unsheathed" then | |
1888 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3) | |
1889 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(40)),.3) | |
1890 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(40),math.rad(0),math.rad(20)),.3) | |
1891 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3) | |
1892 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1893 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1894 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3) | |
1895 | end | |
1896 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
1897 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1898 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3) | |
1899 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(5)),.3) | |
1900 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-5)),.3) | |
1901 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1902 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1903 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
1904 | end | |
1905 | if attack==false and Sit == true and CurrentMode == "Sheathed" then | |
1906 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
1907 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1908 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(0),math.rad(5)),.3) | |
1909 | LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(30)),.3) | |
1910 | LH.C0=clerp(LH.C0,cf(-1,.7,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1911 | RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(70))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1912 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
1913 | end | |
1914 | elseif torvel>2 and hitfloor~=nil then | |
1915 | Anim="Walk" | |
1916 | if attack==false and Sit == false and CurrentMode == "Unsheathed" then | |
1917 | change=3 | |
1918 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
1919 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
1920 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3) | |
1921 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30),math.rad(5),math.rad(-10)),.3) | |
1922 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1923 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1924 | handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(15),math.rad(-10),math.rad(0)),.3) | |
1925 | end | |
1926 | if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
1927 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1928 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1929 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(30*math.cos(sine/10)),math.rad(0),math.rad(5)),.3) | |
1930 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30*math.cos(sine/10)),math.rad(0),math.rad(-5)),.3) | |
1931 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
1932 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
1933 | handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
1934 | end | |
1935 | end | |
1936 | end | |
1937 | if #Effects>0 then | |
1938 | for e=1,#Effects do | |
1939 | if Effects[e]~=nil then | |
1940 | local Thing=Effects[e] | |
1941 | if Thing~=nil then | |
1942 | local Part=Thing[1] | |
1943 | local Mode=Thing[2] | |
1944 | local Delay=Thing[3] | |
1945 | local IncX=Thing[4] | |
1946 | local IncY=Thing[5] | |
1947 | local IncZ=Thing[6] | |
1948 | if Thing[1].Transparency<=1 then | |
1949 | if Thing[2]=="Block1" then | |
1950 | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1951 | Mesh=Thing[1].Mesh | |
1952 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1953 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1954 | elseif Thing[2]=="Cylinder" then | |
1955 | Mesh=Thing[1].Mesh | |
1956 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1957 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1958 | elseif Thing[2]=="Blood" then | |
1959 | Mesh=Thing[7] | |
1960 | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) | |
1961 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1962 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1963 | elseif Thing[2]=="Elec" then | |
1964 | Mesh=Thing[1].Mesh | |
1965 | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) | |
1966 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1967 | elseif Thing[2]=="Disappear" then | |
1968 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1969 | end | |
1970 | else | |
1971 | Part.Parent=nil | |
1972 | table.remove(Effects,e) | |
1973 | end | |
1974 | end | |
1975 | end | |
1976 | end | |
1977 | end | |
1978 | end |