SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | //Cross Sans | |
3 | //Model by GrimFaith (Asriel) | |
4 | //Scripting by Solavenge (Citrus) | |
5 | //THIS DOES NOT GO INTO ANY ARCHIVES OTHER THAN PHOENIX. | |
6 | ]] | |
7 | ||
8 | ||
9 | ||
10 | Player=game:GetService("Players").LocalPlayer | |
11 | Character=Player.Character | |
12 | PlayerGui=Player.PlayerGui | |
13 | Backpack=Player.Backpack | |
14 | Torso=Character.Torso | |
15 | Head=Character.Head | |
16 | Humanoid=Character.Humanoid | |
17 | LeftArm=Character["Left Arm"] | |
18 | LeftLeg=Character["Left Leg"] | |
19 | RightArm=Character["Right Arm"] | |
20 | RightLeg=Character["Right Leg"] | |
21 | LS=Torso["Left Shoulder"] | |
22 | LH=Torso["Left Hip"] | |
23 | RS=Torso["Right Shoulder"] | |
24 | RH=Torso["Right Hip"] | |
25 | Face = Head.face | |
26 | Neck=Torso.Neck | |
27 | it=Instance.new | |
28 | attacktype=1 | |
29 | vt=Vector3.new | |
30 | cf=CFrame.new | |
31 | euler=CFrame.fromEulerAnglesXYZ | |
32 | angles=CFrame.Angles | |
33 | cloaked=false | |
34 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
35 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
36 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
37 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
38 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
39 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
40 | RootPart=Character.HumanoidRootPart | |
41 | RootJoint=RootPart.RootJoint | |
42 | RootCF=euler(-1.57,0,3.14) | |
43 | attack = false | |
44 | attackdebounce = false | |
45 | deb=false | |
46 | equipped=true | |
47 | hand=false | |
48 | MMouse=nil | |
49 | combo=0 | |
50 | mana=0 | |
51 | trispeed=.2 | |
52 | attackmode='none' | |
53 | local idle=0 | |
54 | local Anim="Idle" | |
55 | local Effects={} | |
56 | local gun=false | |
57 | local shoot=false | |
58 | player=nil | |
59 | mana=0 | |
60 | cam = workspace.CurrentCamera | |
61 | ZTarget = nil | |
62 | RocketTarget = nil | |
63 | Pocketed = true | |
64 | Aggro = true | |
65 | PowerBrickColor = BrickColor.new("Really red") | |
66 | ||
67 | mouse=Player:GetMouse() | |
68 | --save shoulders | |
69 | RSH, LSH=nil, nil | |
70 | --welds | |
71 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
72 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
73 | LH=Torso["Left Hip"] | |
74 | RH=Torso["Right Hip"] | |
75 | TorsoColor=Torso.BrickColor | |
76 | function NoOutline(Part) | |
77 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
78 | end | |
79 | player=Player | |
80 | ch=Character | |
81 | RSH=ch.Torso["Right Shoulder"] | |
82 | LSH=ch.Torso["Left Shoulder"] | |
83 | -- | |
84 | RSH.Parent=nil | |
85 | LSH.Parent=nil | |
86 | -- | |
87 | RW.Name="Right Shoulder" | |
88 | RW.Part0=ch.Torso | |
89 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
90 | RW.C1=cf(0, 0.5, 0) | |
91 | RW.Part1=ch["Right Arm"] | |
92 | RW.Parent=ch.Torso | |
93 | -- | |
94 | LW.Name="Left Shoulder" | |
95 | LW.Part0=ch.Torso | |
96 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
97 | LW.C1=cf(0, 0.5, 0) | |
98 | LW.Part1=ch["Left Arm"] | |
99 | LW.Parent=ch.Torso | |
100 | ||
101 | ||
102 | function swait(num) | |
103 | if num == 0 or num == nil then | |
104 | game:service'RunService'.Heartbeat:wait(0) | |
105 | else | |
106 | for i = 0, num do | |
107 | game:service'RunService'.Heartbeat:wait(0) | |
108 | end | |
109 | end | |
110 | end | |
111 | ||
112 | so = function(id,par,vol,pit) | |
113 | coroutine.resume(coroutine.create(function() | |
114 | local sou = Instance.new("Sound",par or workspace) | |
115 | sou.Volume=vol | |
116 | sou.Pitch=pit or 1 | |
117 | sou.SoundId=id | |
118 | wait() | |
119 | sou:play() | |
120 | game:GetService("Debris"):AddItem(sou,6) | |
121 | end)) | |
122 | end | |
123 | ||
124 | function clerp(a,b,t) | |
125 | return a:lerp(b,t) | |
126 | end | |
127 | ||
128 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
129 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
130 | end | |
131 | ||
132 | local function weldBetween(a, b) | |
133 | local weldd = Instance.new("ManualWeld") | |
134 | weldd.Part0 = a | |
135 | weldd.Part1 = b | |
136 | weldd.C0 = CFrame.new() | |
137 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
138 | weldd.Parent = a | |
139 | return weldd | |
140 | end | |
141 | ||
142 | it=Instance.new | |
143 | ||
144 | function nooutline(part) | |
145 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
146 | end | |
147 | ||
148 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
149 | local fp=it("Part") | |
150 | fp.formFactor=formfactor | |
151 | fp.Parent=parent | |
152 | fp.Reflectance=reflectance | |
153 | fp.Transparency=transparency | |
154 | fp.CanCollide=false | |
155 | fp.Locked=true | |
156 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
157 | fp.Name=name | |
158 | fp.Size=size | |
159 | fp.Position=Character.Torso.Position | |
160 | nooutline(fp) | |
161 | fp.Material=material | |
162 | fp:BreakJoints() | |
163 | return fp | |
164 | end | |
165 | ||
166 | function mesh(Mesh,part,meshtype,meshid,offset,scale,meshtextureid) | |
167 | local mesh=it(Mesh) | |
168 | mesh.Parent=part | |
169 | if Mesh=="SpecialMesh" then | |
170 | mesh.MeshType=meshtype | |
171 | mesh.MeshId=meshid | |
172 | if meshtextureid then | |
173 | mesh.TextureId=meshtextureid | |
174 | end | |
175 | end | |
176 | mesh.Offset=offset | |
177 | mesh.Scale=scale | |
178 | return mesh | |
179 | end | |
180 | ||
181 | ||
182 | Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
183 | if hit.Parent == nil then | |
184 | return | |
185 | end | |
186 | local h = hit.Parent:FindFirstChild("Humanoid") | |
187 | for _, v in pairs(hit.Parent:children()) do | |
188 | if v:IsA("Humanoid") then | |
189 | h = v | |
190 | end | |
191 | end | |
192 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
193 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
194 | if hit.Parent.DebounceHit.Value == true then | |
195 | return | |
196 | end | |
197 | end | |
198 | if h.MaxHealth >= math.huge then | |
199 | hit:BreakJoints() | |
200 | end | |
201 | local c = Instance.new("ObjectValue") | |
202 | c.Name = "creator" | |
203 | c.Value = game:service("Players").LocalPlayer | |
204 | c.Parent = h | |
205 | ||
206 | game:GetService("Debris"):AddItem(c, .5) | |
207 | if HitSound ~= nil and HitPitch ~= nil then | |
208 | so(HitSound, hit, 1, HitPitch) | |
209 | end | |
210 | local Damage = math.random(minim, maxim) | |
211 | -- h:TakeDamage(Damage) | |
212 | local blocked = false | |
213 | local block = hit.Parent:findFirstChild("Block") | |
214 | if block ~= nil then | |
215 | if block.className == "IntValue" then | |
216 | if block.Value > 0 then | |
217 | blocked = true | |
218 | block.Value = block.Value - 1 | |
219 | print(block.Value) | |
220 | end | |
221 | end | |
222 | end | |
223 | if blocked == false then | |
224 | -- h:TakeDamage(Damage) | |
225 | h.Health = h.Health - Damage | |
226 | if Damage ~= 0 then | |
227 | Showdamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1, PowerBrickColor.Color) | |
228 | end | |
229 | else | |
230 | h.Health = h.Health - (Damage / 2) | |
231 | if Damage ~=0 then | |
232 | Showdamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1, PowerBrickColor.Color) | |
233 | end | |
234 | end | |
235 | if Type == "Knockdown" then | |
236 | local hum = hit.Parent.Humanoid | |
237 | hum.PlatformStand = true | |
238 | coroutine.resume(coroutine.create(function(HHumanoid) | |
239 | swait(1) | |
240 | HHumanoid.PlatformStand = false | |
241 | end), hum) | |
242 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
243 | local bodvol = Instance.new("BodyVelocity") | |
244 | bodvol.velocity = angle * knockback | |
245 | bodvol.P = 5000 | |
246 | bodvol.maxForce = Vector3.new(8e+003, 8e+003, 8e+003) | |
247 | bodvol.Parent = hit | |
248 | ||
249 | local rl = Instance.new("BodyAngularVelocity") | |
250 | rl.P = 3000 | |
251 | rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000 | |
252 | rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
253 | rl.Parent = hit | |
254 | ||
255 | game:GetService("Debris"):AddItem(bodvol, .5) | |
256 | game:GetService("Debris"):AddItem(rl, .5) | |
257 | elseif Type == "Plat" then | |
258 | local hum = hit.Parent.Humanoid | |
259 | hum.PlatformStand = true | |
260 | coroutine.resume(coroutine.create(function(HHumanoid) | |
261 | wait(0.8) | |
262 | HHumanoid.PlatformStand = false | |
263 | end), hum) | |
264 | ||
265 | local rl = Instance.new("BodyAngularVelocity") | |
266 | rl.P = 3000 | |
267 | rl.maxTorque = Vector3.new(100, 100, 100) * 500 | |
268 | rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
269 | rl.Parent = hit | |
270 | ||
271 | game:GetService("Debris"):AddItem(rl, .5) | |
272 | ||
273 | local vp = Instance.new("BodyVelocity") | |
274 | vp.P = 500 | |
275 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
276 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
277 | ||
278 | if knockback > 0 then | |
279 | vp.Parent = hit.Parent.Torso | |
280 | end | |
281 | game:GetService("Debris"):AddItem(vp, .5) | |
282 | ||
283 | elseif Type == "Normal" then | |
284 | local vp = Instance.new("BodyVelocity") | |
285 | vp.P = 500 | |
286 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
287 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
288 | ||
289 | if knockback > 0 then | |
290 | vp.Parent = hit.Parent.Torso | |
291 | end | |
292 | game:GetService("Debris"):AddItem(vp, .5) | |
293 | elseif Type == "Gravitate" then | |
294 | local tor = hit.Parent.Torso | |
295 | local bp = Instance.new("BodyPosition",tor) | |
296 | bp.P = 500 | |
297 | bp.maxForce = Vector3.new(4000, 1000, 4000) | |
298 | bp.Position = Character.Torso.Position | |
299 | game:GetService("Debris"):AddItem(bp, Delay) | |
300 | elseif Type == "Up" then | |
301 | local bodyVelocity = Instance.new("BodyVelocity") | |
302 | bodyVelocity.velocity = vt(0, 20, 0) | |
303 | bodyVelocity.P = 5000 | |
304 | bodyVelocity.maxForce = Vector3.new(8e+003, 8e+003, 8e+003) | |
305 | bodyVelocity.Parent = hit | |
306 | ||
307 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
308 | elseif Type == "Snare" then | |
309 | local bp = Instance.new("BodyPosition") | |
310 | bp.P = 2000 | |
311 | bp.D = 100 | |
312 | bp.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
313 | bp.position = hit.Parent.Torso.Position | |
314 | bp.Parent = hit.Parent.Torso | |
315 | game:GetService("Debris"):AddItem(bp, 1) | |
316 | ||
317 | elseif Type == "Freeze" then | |
318 | local BodPos = Instance.new("BodyPosition") | |
319 | BodPos.P = 50000 | |
320 | BodPos.D = 1000 | |
321 | BodPos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
322 | BodPos.position = hit.Parent.Torso.Position | |
323 | BodPos.Parent = hit.Parent.Torso | |
324 | ||
325 | local BodGy = Instance.new("BodyGyro") | |
326 | BodGy.maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge | |
327 | BodGy.P = 20e+003 | |
328 | BodGy.Parent = hit.Parent.Torso | |
329 | BodGy.cframe = hit.Parent.Torso.CFrame | |
330 | ||
331 | hit.Parent.Torso.Anchored = true | |
332 | coroutine.resume(coroutine.create(function(Part) | |
333 | swait(1.5) | |
334 | Part.Anchored = false | |
335 | end), hit.Parent.Torso) | |
336 | game:GetService("Debris"):AddItem(BodPos, 3) | |
337 | game:GetService("Debris"):AddItem(BodGy, 3) | |
338 | ||
339 | ||
340 | elseif Type=="Target" then | |
341 | if Targetting==false then | |
342 | ZTarget=hit.Parent.Torso | |
343 | coroutine.resume(coroutine.create(function(Part) | |
344 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
345 | swait(5) | |
346 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
347 | end),ZTarget) | |
348 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
349 | targetgui=Instance.new("BillboardGui") | |
350 | targetgui.Parent=ZTarget | |
351 | targetgui.Size=UDim2.new(10,100,10,100) | |
352 | targ=Instance.new("ImageLabel") | |
353 | targ.Parent=targetgui | |
354 | targ.BackgroundTransparency=1 | |
355 | targ.Image="rbxassetid://4834067" | |
356 | targ.Size=UDim2.new(1,0,1,0) | |
357 | cam.CameraType="Scriptable" | |
358 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
359 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
360 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
361 | Targetting=true | |
362 | RocketTarget=ZTarget | |
363 | for i=1,Property do | |
364 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
365 | swait() | |
366 | end | |
367 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
368 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
369 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
370 | end | |
371 | Targetting=false | |
372 | RocketTarget=nil | |
373 | targetgui.Parent=nil | |
374 | cam.CameraType="Custom" | |
375 | end | |
376 | end | |
377 | ||
378 | local debounce = Instance.new("BoolValue") | |
379 | debounce.Name = "DebounceHit" | |
380 | debounce.Parent = hit.Parent | |
381 | debounce.Value = true | |
382 | game:GetService("Debris"):AddItem(debounce, Delay) | |
383 | c = Instance.new("ObjectValue") | |
384 | c.Name = "creator" | |
385 | c.Value = Player | |
386 | c.Parent = h | |
387 | game:GetService("Debris"):AddItem(c, .5) | |
388 | end | |
389 | end | |
390 | ||
391 | function Showdamage(Pos, Text, Time, Color) | |
392 | local Rate = (1 / 30) | |
393 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
394 | local Text = (Text or "") | |
395 | local Time = (Time or 2) | |
396 | local Color = (Color or Color3.new(1, 0, 0)) | |
397 | local EffectPart = part("Custom", workspace, "Neon", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0)) | |
398 | EffectPart.Anchored = true | |
399 | local BillboardGui = Instance.new("BillboardGui") | |
400 | BillboardGui.Size = UDim2.new(3, 0, 3, 0) | |
401 | BillboardGui.Adornee = EffectPart | |
402 | BillboardGui.Parent = EffectPart | |
403 | ||
404 | local TextLabel = Instance.new("TextLabel") | |
405 | TextLabel.BackgroundTransparency = 1 | |
406 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
407 | TextLabel.Text = Text | |
408 | TextLabel.TextColor3 = Color | |
409 | TextLabel.TextScaled = true | |
410 | TextLabel.Font = Enum.Font.SourceSansBold | |
411 | TextLabel.Parent = BillboardGui | |
412 | TextLabel.TextStrokeTransparency = 0 | |
413 | TextLabel.TextTransparency = 0.2 | |
414 | ||
415 | ||
416 | game.Debris:AddItem(EffectPart, (Time + 0.1)) | |
417 | EffectPart.Parent = game:GetService("Workspace") | |
418 | delay(0, function() | |
419 | local Frames = (Time / Rate) | |
420 | for Frame = 1, Frames do | |
421 | wait(Rate) | |
422 | local Percent = (Frame / Frames) | |
423 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
424 | TextLabel.TextTransparency = Percent | |
425 | end | |
426 | if EffectPart and EffectPart.Parent then | |
427 | EffectPart:Destroy() | |
428 | end | |
429 | end) | |
430 | end | |
431 | ||
432 | function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2) | |
433 | local prt = part(3, workspace, "Neon", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
434 | prt.Anchored = true | |
435 | prt.CFrame = cframe | |
436 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1)) | |
437 | coroutine.resume(coroutine.create(function() | |
438 | for i = 0, 1, 0.05 do | |
439 | wait() | |
440 | prt.Transparency = i | |
441 | msh.Scale = msh.Scale + vt(x2, y2, z2) | |
442 | end | |
443 | prt.Parent = nil | |
444 | end)) | |
445 | end | |
446 | ||
447 | function weld(parent, part0, part1, c0, c1) | |
448 | local Weld = Instance.new("Weld") | |
449 | Weld.Parent = parent | |
450 | Weld.Part0 = part0 | |
451 | Weld.Part1 = part1 | |
452 | Weld.C0 = c0 | |
453 | Weld.C1 = c1 | |
454 | ||
455 | return Weld | |
456 | end | |
457 | ||
458 | ||
459 | ||
460 | function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type, SoundID, Pitch) | |
461 | for _, c in pairs(workspace:children()) do | |
462 | local hum = c:findFirstChild("Humanoid") | |
463 | if hum ~= nil then | |
464 | local head = c:findFirstChild("Torso") | |
465 | if head ~= nil then | |
466 | local targ = head.Position - Part.Position | |
467 | local mag = targ.magnitude | |
468 | if mag <= magni and c.Name ~= Player.Name then | |
469 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, .2, SoundID or 1, Pitch or 3) | |
470 | end | |
471 | end | |
472 | end | |
473 | end | |
474 | end | |
475 | ||
476 | function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, lifetime) | |
477 | local prt = part(3, workspace, "Neon", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
478 | prt.Anchored = true | |
479 | prt.CFrame = cframe | |
480 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
481 | game:GetService("Debris"):AddItem(prt, lifetime) | |
482 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
483 | for i = 0, 1, delay do | |
484 | swait() | |
485 | Part.CFrame = Part.CFrame | |
486 | Part.Transparency = i | |
487 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
488 | end | |
489 | Part.Parent = nil | |
490 | end), prt, msh) | |
491 | end | |
492 | ||
493 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
494 | local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt()) | |
495 | prt.Anchored=true | |
496 | prt.CFrame=cframe | |
497 | local msh = mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
498 | game:GetService("Debris"):AddItem(prt,2) | |
499 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
500 | for i=0,1,delay do | |
501 | swait() | |
502 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
503 | Part.Transparency=i | |
504 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
505 | end | |
506 | Part.Parent=nil | |
507 | end),prt,msh) | |
508 | end | |
509 | ||
510 | ||
511 | ||
512 | Player=game:GetService('Players').LocalPlayer | |
513 | Character=Player.Character | |
514 | Mouse=Player:GetMouse() | |
515 | m=Instance.new('Model',Character) | |
516 | ||
517 | for i,v in pairs(Character:GetChildren()) do | |
518 | if v:IsA("BasePart") then | |
519 | v.Transparency = 1 | |
520 | if v:findFirstChild("Mesh") then | |
521 | v.Mesh:Remove() | |
522 | end | |
523 | end | |
524 | end | |
525 | ||
526 | for i,v in pairs(Character:GetChildren()) do | |
527 | if v:IsA("Hat") then | |
528 | v:Remove() | |
529 | end | |
530 | end | |
531 | ||
532 | Character.Head.face:Remove() | |
533 | ||
534 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(1.10000002, 0.300000042, 1.30000007)) | |
535 | handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0567069054, -0.374963284, -0.0399932861, 1, -2.98022691e-008, 1.37788447e-010, 2.98023259e-008, 0.999998093, 2.36526621e-009, -1.37788447e-010, -2.36526176e-009, 1)) | |
536 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1, 0.700000048, 1)) | |
537 | handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0067152977, 0.0250287056, 0.0100021362, 1, -2.98022691e-008, 1.37788447e-010, 2.98023259e-008, 0.999998093, 2.36526621e-009, -1.37788447e-010, -2.36526176e-009, 1)) | |
538 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(1, 0.700000048, 1)) | |
539 | handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0067076683, 0.725027561, 0.0100021362, 1, -2.98022691e-008, 1.37788447e-010, 2.98023259e-008, 0.999998093, 2.36526621e-009, -1.37788447e-010, -2.36526176e-009, 1)) | |
540 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(1, 0.700000048, 1)) | |
541 | handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0067076683, -0.774960995, 0.0100021362, 1, -2.98022691e-008, 1.37788447e-010, 2.98023259e-008, 0.999998093, 2.36526621e-009, -1.37788447e-010, -2.36526176e-009, 1)) | |
542 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(1, 0.600000024, 1)) | |
543 | handleweld=weld(m,Character["Left Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0420660973, -0.839612484, 0.0100021362, 1, 8.94067966e-008, 0, -8.94069672e-008, 0.999998093, 0, 0, 0, 1)) | |
544 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(1.10000002, 0.300000042, 1.30000007)) | |
545 | handleweld=weld(m,Character["Left Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0079408288, -0.389612675, -0.0399932861, 1, 8.94067966e-008, 0, -8.94069672e-008, 0.999998093, 0, 0, 0, 1)) | |
546 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(1, 0.700000048, 1)) | |
547 | handleweld=weld(m,Character["Left Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0420544744, 0.710381031, 0.0100021362, 1, 8.94067966e-008, 0, -8.94069672e-008, 0.999998093, 0, 0, 0, 1)) | |
548 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1, 0.700000048, 1)) | |
549 | handleweld=weld(m,Character["Left Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0420659781, 0.0103850365, 0.0100021362, 1, 8.94067966e-008, 0, -8.94069672e-008, 0.999998093, 0, 0, 0, 1)) | |
550 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.4000001, 0.399999976, 0.399999976)) | |
551 | handleweld=weld(m,Character["Right Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0718898773, -0.0278244019, -0.197489738, -0.168531105, 0.970746934, 0.171009302, -0.0593937077, 0.163174376, -0.984807849, -0.983905315, -0.176127285, 0.0301563554)) | |
552 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
553 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Mid gray","Handle",Vector3.new(1.19999933, 0.600000024, 1.60000014)) | |
554 | handleweld=weld(m,Character["Right Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.999990821, 0.700016856, 0.410003662, 1, -2.43970271e-017, -5.56362636e-008, -1.36697535e-017, 0.999998093, 0, 5.56362636e-008, 0, 1)) | |
555 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=108884514",Vector3.new(1, 0, 0),Vector3.new(0.899999976, 0.899999976, 0.899999976)) | |
556 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.29999995, 0.300000012, 0.299999952)) | |
557 | handleweld=weld(m,Character["Right Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.328083873, -0.460006714, 0.131678104, -0.500000179, 0.86602366, 1.88850976e-007, -7.54979226e-008, 1.7447725e-007, -1, -0.866025329, -0.499999225, -2.18557012e-008)) | |
558 | mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
559 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.4000001, 0.399999976, 0.399999976)) | |
560 | handleweld=weld(m,Character["Right Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0826148987, -0.0158462524, 0.132510662, 0.173648342, 0.96984458, 0.171009302, -2.73063711e-006, 0.173647553, -0.984807789, -0.98480773, 0.171009451, 0.0301563144)) | |
561 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
562 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.29999995, 0.300000012, 0.299999952)) | |
563 | handleweld=weld(m,Character["Right Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.278078556, -0.460006714, -0.218289971, 0.500000417, 0.86602354, -6.0481824e-008, -1.13133467e-008, -6.33065369e-008, -1, -0.866025209, 0.499999464, -2.18557119e-008)) | |
564 | mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
565 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1, 1.29999995, 1)) | |
566 | handleweld=weld(m,Character["Right Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.24520874e-006, -0.349968076, 0.0100021362, 1, -8.8118653e-012, 1.37788447e-010, 8.81185316e-012, 0.999998093, 2.36526621e-009, -1.37788447e-010, -2.36526176e-009, 1)) | |
567 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.29999995, 0.300000012, 0.299999952)) | |
568 | handleweld=weld(m,Character["Left Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.278078675, -0.460006714, -0.21829015, 0.500000417, 0.86602354, -6.0481824e-008, -1.13133467e-008, -6.33065369e-008, -1, -0.866025209, 0.499999464, -2.18557119e-008)) | |
569 | mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
570 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.29999995, 0.300000012, 0.299999952)) | |
571 | handleweld=weld(m,Character["Left Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.328083903, -0.460006714, 0.131678104, -0.500000179, 0.86602366, 1.88850976e-007, -7.54979226e-008, 1.7447725e-007, -1, -0.866025329, -0.499999225, -2.18557012e-008)) | |
572 | mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
573 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1, 1.29999995, 1)) | |
574 | handleweld=weld(m,Character["Left Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.24520874e-006, -0.349968076, 0.0100021362, 1, -8.8118653e-012, 1.37788447e-010, 8.81185316e-012, 0.999998093, 2.36526621e-009, -1.37788447e-010, -2.36526176e-009, 1)) | |
575 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.4000001, 0.399999976, 0.399999976)) | |
576 | handleweld=weld(m,Character["Left Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0826148987, -0.0158462524, 0.132510424, 0.173648342, 0.96984458, 0.171009302, -2.73063711e-006, 0.173647553, -0.984807789, -0.98480773, 0.171009451, 0.0301563144)) | |
577 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
578 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.4000001, 0.399999976, 0.399999976)) | |
579 | handleweld=weld(m,Character["Left Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.071890831, -0.0278244019, -0.197489977, -0.168531105, 0.970746934, 0.171009302, -0.0593937077, 0.163174376, -0.984807849, -0.983905315, -0.176127285, 0.0301563554)) | |
580 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
581 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Mid gray","Handle",Vector3.new(1.19999933, 0.600000024, 1.60000014)) | |
582 | handleweld=weld(m,Character["Left Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.999991, 0.700016856, 0.410003662, 1, -2.43970271e-017, -5.56362636e-008, -1.36697535e-017, 0.999998093, 0, 5.56362636e-008, 0, 1)) | |
583 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=108884514",Vector3.new(1, 0, 0),Vector3.new(0.899999976, 0.899999976, 0.899999976)) | |
584 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Black","Handle",Vector3.new(2, 2, 0.200000003)) | |
585 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.24520874e-006, 2.90870667e-005, -0.63999939, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
586 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Black","Handle",Vector3.new(2, 0.299999952, 0.200000003)) | |
587 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.24520874e-006, -1.04996729, -0.63999939, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
588 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.699999988, 0.50000006, 0.200000003)) | |
589 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.650002956, 0.550035, 0.560005188, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
590 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.699999988, 0.50000006, 0.200000003)) | |
591 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.649995327, 0.550035, 0.560005188, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
592 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.400000006, 0.599999964, 0.200000003)) | |
593 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.449995518, 0.700028896, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
594 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.300000012, 0.299999952, 0.200000003)) | |
595 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.599997044, 0.350027561, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
596 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.200000003, 0.299999952, 0.200000003)) | |
597 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.649995327, -0.049967289, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
598 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.200000003, 0.99999994, 0.200000003)) | |
599 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.550000668, -0.399962902, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
600 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.200000003, 0.299999952, 0.200000003)) | |
601 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.250001431, 0.550035, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
602 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.5, 0.299999952, 0.200000003)) | |
603 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.400002956, 0.850027561, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
604 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.400000036, 2, 0.200000003)) | |
605 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.799997807, 2.90870667e-005, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
606 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.5, 2, 0.200000003)) | |
607 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.750005245, 2.90870667e-005, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
608 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.5, 0.299999952, 0.200000003)) | |
609 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.500001431, 0.350027561, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
610 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"White","Handle",Vector3.new(2.00000024, 0.5, 0.200000003)) | |
611 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.43051147e-006, 0.650028706, 0.660003662, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
612 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"White","Handle",Vector3.new(1.00000024, 0.5, 0.200000003)) | |
613 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.160003662, 0.650028706, 1.09999704, -4.37113883e-008, 0, -1, -1.36697535e-017, 0.999998212, 0, 1, -2.20977777e-017, -4.37113883e-008)) | |
614 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"White","Handle",Vector3.new(1.00000024, 0.5, 0.200000003)) | |
615 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.160003662, 0.650028706, -1.10000372, -4.37113883e-008, 0, -1, -1.36697535e-017, 0.999998212, 0, 1, -2.20977777e-017, -4.37113883e-008)) | |
616 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"White","Handle",Vector3.new(2.20000005, 0.5, 0.200000003)) | |
617 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.43051147e-006, 0.650028706, 0.660003662, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
618 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Dark stone grey","Handle",Vector3.new(0.699999988, 0.599999964, 0.200000003)) | |
619 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.889498711, -0.0537874699, 0.733566284, 0.642787635, 0.766043067, -3.55271368e-015, -0.766044438, 0.642786503, 0, 0, 0, 1)) | |
620 | mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
621 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Dark stone grey","Handle",Vector3.new(0.800000072, 1.60000002, 0.200000003)) | |
622 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0518354177, 0.906989098, 0.733566284, 0.766044438, -0.642786503, 0, 0.642787635, 0.766043067, -3.55271368e-015, 0, 0, 1)) | |
623 | mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
624 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.900000155, 0.600000024, 0.200000003)) | |
625 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.170783401, -0.534261465, 0.460006714, 0.98480773, -0.173647895, 0, 0.173648208, 0.984805942, 0, 0, 0, 1)) | |
626 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.400000125, 0.600000024, 0.200000003)) | |
627 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.287393093, -0.502182484, 0.460006714, 1, 1.49011363e-008, 0, -1.4901163e-008, 0.999998212, 0, 0, 0, 1)) | |
628 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.200000167, 0.700000048, 0.200000003)) | |
629 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.499696255, -0.599782467, 0.460006714, 1, 1.49011363e-008, 0, -1.4901163e-008, 0.999998212, 0, 0, 0, 1)) | |
630 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(2, 2, 1)) | |
631 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.24520874e-006, 2.90870667e-005, -0.0899963379, 1, -8.81186617e-012, 1.37788447e-010, 8.81185316e-012, 0.999998212, 2.36526621e-009, -1.37788447e-010, -2.36526199e-009, 1)) | |
632 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Black","Handle",Vector3.new(0.200000033, 0.200000003, 0.200000048)) | |
633 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0365233421, -0.688952446, 0.716278076, 0.999922216, 0.00910925679, 0.00851889979, -0.00851848722, 0.997715652, -0.0669871122, -0.00910965912, 0.0669092163, 0.9977175)) | |
634 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
635 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Black","Handle",Vector3.new(0.200000033, 0.300000012, 0.200000048)) | |
636 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0347619057, -0.832028389, 0.609809875, 0.999922216, 0.00910925679, 0.00851889979, -0.00851848722, 0.997715652, -0.0669871122, -0.00910965912, 0.0669092163, 0.9977175)) | |
637 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
638 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Deep orange","Handle",Vector3.new(0.7099998, 0.690000057, 0.800000072)) | |
639 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0450046062, -0.34496069, -0.510002136, -1, 1.50995476e-007, -3.53902607e-007, 1.50995803e-007, 0.999998212, -1.50995746e-007, 3.53902578e-007, -1.50995533e-007, -1)) | |
640 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=105992239",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.5, 1.5)) | |
641 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(0.300000042, 1, 0.200000048)) | |
642 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.533332825, -0.763595104, 0.573783875, 0.939692616, -0.342019498, 0, 0.342020124, 0.939690948, 0, 0, 0, 1)) | |
643 | mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
644 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(0.300000042, 1, 0.200000048)) | |
645 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0400032997, -0.899955273, 0.573783875, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
646 | mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
647 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(0.300000042, 1, 0.200000048)) | |
648 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.458151102, -0.79095912, 0.573783875, 0.939692616, 0.342019498, 0, -0.342020124, 0.939690948, 0, 0, 0, 1)) | |
649 | mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
650 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"White","Handle",Vector3.new(0.900000036, 1, 0.699999988)) | |
651 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.26664257, 0.659667969, -1.10489941, 0.492403835, -0.852867007, -0.173648104, 0.235888645, -0.0612748675, 0.969846308, -0.837791741, -0.518516719, 0.171009973)) | |
652 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
653 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"White","Handle",Vector3.new(0.900000036, 1, 2)) | |
654 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.94452858, 0.400018692, -0.135944366, 0.866025388, 6.9388815e-018, 0.5, -1.36697535e-017, 0.999998212, 0, -0.5, 1.3877763e-017, 0.866025388)) | |
655 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
656 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"White","Handle",Vector3.new(0.900000036, 1, 2)) | |
657 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.09449005, 0.400018692, -0.229496002, 0.939692557, -6.9388815e-018, -0.342020363, -1.36697535e-017, 0.999998212, 0, 0.342020363, -1.3877763e-017, 0.939692557)) | |
658 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
659 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"White","Handle",Vector3.new(0.900000036, 1, 2)) | |
660 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.2899704, 0.400019169, 0.0504355431, -0.000345305598, -3.01991037e-007, -0.99999994, -5.21397127e-011, 0.999998212, -3.01991577e-007, 0.99999994, -5.21396225e-011, -0.000345305598)) | |
661 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
662 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"White","Handle",Vector3.new(0.900000036, 1, 2)) | |
663 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.950009823, 0.400018692, -0.0899963379, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
664 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
665 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"White","Handle",Vector3.new(0.900000036, 1, 2)) | |
666 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04999018, 0.400018692, -0.0899963379, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
667 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
668 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"White","Handle",Vector3.new(0.900000036, 1, 2)) | |
669 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02066422, 0.400018692, -0.317581177, 0.98480773, -6.9388815e-018, 0.173648179, -1.36697535e-017, 0.999998212, 0, -0.173648179, 1.3877763e-017, 0.98480773)) | |
670 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
671 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(1, 1, 1)) | |
672 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0799401999, 0.0609292984, -0.190055847, 0.999984324, 5.84840677e-007, 0.00560137676, -8.11467146e-007, 0.999998212, 4.04566163e-005, -0.00560137676, -4.04604543e-005, 0.999984324)) | |
673 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=20637493",Vector3.new(0, 0, 0),Vector3.new(2, 0.899999976, 1.5)) | |
674 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1.60000002, 2.9000001, 2.20000005)) | |
675 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0499823093, -0.55574131, -0.340011597, 1, 2.42325049e-010, 7.0896931e-008, -2.42325493e-010, 0.999998212, -1.92811656e-010, -7.0896931e-008, 1.92811295e-010, 1)) | |
676 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18010902",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.5, 1.5)) | |
677 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.Slate,0,0,"Lily white","Handle",Vector3.new(0.200000003, 1.49762106, 0.367621154)) | |
678 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.759941101, -0.604561329, -0.783833981, -4.37113883e-008, -7.24829704e-007, -1, -9.45288769e-019, 0.999998212, -7.24831011e-007, 1, -3.17189072e-014, -4.37113883e-008)) | |
679 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
680 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.Slate,0,0,"Lily white","Handle",Vector3.new(0.25, 1.39762104, 0.467621028)) | |
681 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.734962463, -0.382373154, -1.40004396, 2.29845955e-005, 3.82969354e-008, -1, -0.866037309, 0.499978483, -1.9886369e-005, 0.499979377, 0.866035759, 1.15249904e-005)) | |
682 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
683 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.Slate,0,0,"Lily white","Handle",Vector3.new(0.25, 1.39762104, 0.450000018)) | |
684 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.734977722, -0.247079849, -1.46933198, -2.09955142e-005, -3.72491975e-008, 1, 0.866037309, 0.499978483, 1.82015228e-005, -0.499979377, 0.866035759, -1.04650644e-005)) | |
685 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
686 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.Slate,0,0,"Lily white","Handle",Vector3.new(0.25, 1.49762106, 0.317621171)) | |
687 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.734931946, -0.604560852, -0.865053654, -4.37113883e-008, 1.94631519e-010, 1, 1.29048331e-019, 0.999998212, -1.94631866e-010, -1, 5.24167976e-018, -4.37113883e-008)) | |
688 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
689 | Cheek=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Cheek",Vector3.new(0.200000003, 0.797621012, 0.200000003)) | |
690 | cheekweld=weld(m,Character["Head"],Cheek,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.601955414, -0.162797928, 0.295737267, 0.342046022, 4.04983638e-008, -0.939683199, 0.939683199, 2.29856287e-005, 0.342046022, 2.16131011e-005, -0.999998212, 7.82410189e-006)) | |
691 | mesh("SpecialMesh",Cheek,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
692 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"White","Handle",Vector3.new(0.900000036, 1, 0.699999988)) | |
693 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0582208633, 0.27583313, 1.28360176, -0.633022189, -0.754405081, -0.173648059, 0.023099035, -0.242619634, 0.969846308, -0.773788929, 0.609922111, 0.171009958)) | |
694 | mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
695 | LEye=part(Enum.FormFactor.Symmetric,m,Enum.Material.Neon,0,0,"Really red","LEye",Vector3.new(0.127664909, 0.127664909, 0.127664909)) | |
696 | leyeweld=weld(m,Character["Head"],LEye,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.318228245, -0.559594631, 0.257324219, 1, -3.00161137e-005, 3.04324476e-005, 3.00170814e-005, 0.999998212, -3.00167321e-005, -3.04315472e-005, 3.00175907e-005, 1)) | |
697 | mesh("SpecialMesh",LEye,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
698 | handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Lily white","Handle",Vector3.new(1.66100001, 1.78699994, 1.70799994)) | |
699 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0900025368, -0.449978828, -0.269989014, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1)) | |
700 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"rbxassetid://430073345",Vector3.new(0, 0, 0),Vector3.new(0.899999976, 0.899999976, 0.899999976),"rbxassetid://430073362") | |
701 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(1, 1, 1)) | |
702 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.309482574, -0.645757675, 0.518859863, 0.861629188, 0, -0.507538319, 0, 0.999998212, 0, 0.507538319, 0, 0.861629188)) | |
703 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1185246",Vector3.new(0, 0, 0),Vector3.new(-0.800000012, -0.800000012, -0.200000003)) | |
704 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(1, 1, 1)) | |
705 | handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.36045742, -0.627934456, 0.292892456, 0.992546678, 6.49359566e-010, 0.121869393, 0.0106216129, 0.996192873, -0.0865061134, -0.121405624, 0.0871556029, 0.98876977)) | |
706 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1185246",Vector3.new(0, 0, 0),Vector3.new(-0.600000024, -0.600000024, -0.200000003)) | |
707 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(2.99997711, 4.19996166, 1.54998469)) | |
708 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.96046448e-005, 0.622812271, -1.06464767, 1, 1.77355797e-010, 1.12091172e-008, 3.66705954e-009, 0.939691782, -0.342017889, -1.05937978e-008, 0.342017263, 0.939693451)) | |
709 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=63717022",Vector3.new(0, 0, 0),Vector3.new(1.29999995, -2.6500001, 1.5)) | |
710 | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(2.99997711, 4.19996166, 1.54998469)) | |
711 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.52723694e-005, 0.690700531, -1.14962769, 1, 1.77355797e-010, 1.12091172e-008, 3.66705954e-009, 0.939691782, -0.342017889, -1.05937978e-008, 0.342017263, 0.939693451)) | |
712 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=63717022",Vector3.new(0, 0, 0),Vector3.new(1.29999995, -2.6500001, 1.5)) | |
713 | ||
714 | local CharaCheek = m:FindFirstChild("Cheek") | |
715 | ||
716 | local leyeemitter = Instance.new("ParticleEmitter", LEye) | |
717 | leyeemitter.VelocitySpread = 1 | |
718 | leyeemitter.VelocityInheritance = 0.6 | |
719 | leyeemitter.Lifetime = NumberRange.new(0.2) | |
720 | leyeemitter.Speed = NumberRange.new(1) | |
721 | leyeemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.1), NumberSequenceKeypoint.new(1, 0.1)}) | |
722 | leyeemitter.RotSpeed = NumberRange.new(100) | |
723 | leyeemitter.Rate = 1000 | |
724 | leyeemitter.Rotation = NumberRange.new(20) | |
725 | leyeemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5), NumberSequenceKeypoint.new(1, 0.5)}) | |
726 | leyeemitter.LightEmission = 40 | |
727 | leyeemitter.Color = ColorSequence.new(Color3.new(1, 0, 0.0156863), Color3.new(1, 0, 0.0156863)) | |
728 | leyeemitter.Enabled = false | |
729 | ||
730 | function MagicFlames(origin, duration, increment) | |
731 | coroutine.wrap(function() | |
732 | for i = 1,duration,increment do | |
733 | local fColors = {BrickColor.new('Institutional white'), PowerBrickColor} | |
734 | local p = Instance.new('Part', origin) | |
735 | p.BrickColor = (fColors[math.random(1,#fColors)]) | |
736 | p.FormFactor = 'Custom' | |
737 | p.Material = 'Neon' | |
738 | p.Size = Vector3.new(1, 1, 1) | |
739 | p.CanCollide = false | |
740 | p.Anchored = true | |
741 | p.Locked = true | |
742 | p.CFrame = origin.CFrame * CFrame.new(0, 1, 0) * CFrame.Angles(math.random(0,3),math.random(0,3),math.random(0,3)) | |
743 | Instance.new('BlockMesh', p) | |
744 | coroutine.wrap(function() | |
745 | for i = 1, 10 do | |
746 | p.Mesh.Scale = p.Mesh.Scale - Vector3.new(.1, .1, .1) | |
747 | p.CFrame = p.CFrame * CFrame.new(0, .35, 0) | |
748 | wait() | |
749 | end | |
750 | end)() | |
751 | game:service'Debris':AddItem(p, .55) | |
752 | end | |
753 | end)() | |
754 | end | |
755 | ||
756 | function SpawnBone(origin,lifetime,xpos,ypos,zpos) | |
757 | local B0ne = part(1,workspace,"SmoothPlastic",0,0,"Institutional white","bon",Vector3.new(1,2,1)) | |
758 | B0ne.Position = origin.Position | |
759 | B0ne.Name = "bon" | |
760 | B0ne.CanCollide = false | |
761 | B0ne.BrickColor = BrickColor.new("Institutional white") | |
762 | B0ne.Material = "Neon" | |
763 | B0ne.Size = Vector3.new(1, 1, 1) | |
764 | B0ne.TopSurface = Enum.SurfaceType.Smooth | |
765 | B0ne.BottomSurface = Enum.SurfaceType.Smooth | |
766 | local B0nmesh = Instance.new("SpecialMesh",B0ne) | |
767 | B0nmesh.MeshId = "rbxassetid://465130937" | |
768 | B0nmesh.Scale = Vector3.new(0.01, 0.01, 0.01) | |
769 | local B0nvel = Instance.new("BodyAngularVelocity",B0ne) | |
770 | B0nvel.AngularVelocity = Vector3.new(15,0,0) | |
771 | local bep = Instance.new("BodyPosition", B0ne) | |
772 | bep.Position = origin.Position | |
773 | bep.D = 600 | |
774 | coroutine.resume(coroutine.create(function(bep) | |
775 | for i = 0,1,0.05 do | |
776 | swait() | |
777 | bep.Position = Character.Head.CFrame:pointToWorldSpace(Vector3.new(xpos,ypos,zpos)) | |
778 | end | |
779 | end),bep) | |
780 | coroutine.resume(coroutine.create(function() | |
781 | wait(lifetime) | |
782 | bep:Remove() | |
783 | local MainPos = B0ne.Position | |
784 | local MainPos2 = mouse.Hit.p | |
785 | local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2) | |
786 | hitcon=B0ne.Touched:connect(function(hit) | |
787 | if hit:findFirstChild("Humanoid") or hit.Parent:findFirstChild("Humanoid") then | |
788 | Damagefunc(B0ne, hit, 1, 5, math.random(2, 5), "Normal", RootPart, .1, "http://www.roblox.com/asset/?id=512862725", 1) | |
789 | so("http://www.roblox.com/asset/?id=512862725", hit, 0.5, 1) | |
790 | end | |
791 | end) | |
792 | coroutine.resume(coroutine.create(function(Pos1, Pos2, Look) | |
793 | local num = 100 | |
794 | repeat | |
795 | swait() | |
796 | local ohit, opos = rayCast(Pos1, Look.lookVector, 5, Character) | |
797 | B0ne.CFrame = CFrame.new((Pos1 + opos) / 2, opos)*angles(num,0,0) | |
798 | Pos1 = Pos1 + Look.lookVector * 3 | |
799 | B0ne.CFrame = CFrame.new(B0ne.Position, mouse.Hit.p)*angles(num,0,0) | |
800 | if ohit ~= nil then | |
801 | num = 0 | |
802 | end | |
803 | num = num - 1 | |
804 | until num <= 0 | |
805 | local ref = part(3,workspace,"SmoothPlastic",0,0,"Institutional white","Effect",vt()) | |
806 | ref.Transparency = 1 | |
807 | ref.Anchored = true | |
808 | ref.CFrame = cf(B0ne.Position) | |
809 | game:GetService("Debris"):AddItem(ref, 0.5) | |
810 | MagniDamage(ref,ref,4,10,25,0,"Normal","rbxassetid://512862725",1) | |
811 | B0ne.Parent = nil | |
812 | end), MainPos, MainPos2, MouseLook) | |
813 | hitcon:disconnect() | |
814 | end)) | |
815 | end | |
816 | ||
817 | function Backhand() | |
818 | attack=true | |
819 | local tempbox = Instance.new("Part", Character["Right Arm"]) | |
820 | tempbox.CanCollide = false | |
821 | tempbox.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
822 | tempbox.Transparency = 1 | |
823 | tempbox.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
824 | tempbox.Material = Enum.Material.Fabric | |
825 | tempbox.Size = Vector3.new(1, 1, 2) | |
826 | tempbox.Name = "THitbox" | |
827 | tempbox.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
828 | tempbox.CFrame = CFrame.new(24.826, 1.974, -28.95) * CFrame.Angles(1.5707978010178, 2.9405705390673e-006, -3.1415922641754) | |
829 | tempbox.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
830 | tempbox.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
831 | tempbox.Friction = 0.3 | |
832 | tempbox.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
833 | ||
834 | local tempweld = Instance.new("Weld", tempbox) | |
835 | tempweld.Part0 = Character["Right Arm"] | |
836 | tempweld.Part1 = tempbox | |
837 | tempweld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(180), math.rad(0)) | |
838 | ||
839 | if Aggro == true then | |
840 | leyeemitter.Color = ColorSequence.new(Color3.new(1, 0, 0.0156863), Color3.new(1, 0, 0.0156863)) | |
841 | elseif Aggro ~= true then | |
842 | leyeemitter.Color = ColorSequence.new(Color3.new(0, 255, 255), Color3.new(0, 255, 255)) | |
843 | end | |
844 | leyeemitter.Enabled = true | |
845 | ||
846 | hitcon=tempbox.Touched:connect(function(hit) | |
847 | if hit:findFirstChild("Humanoid") or hit.Parent:findFirstChild("Humanoid") then | |
848 | Damagefunc(tempbox, hit, 1, 5, math.random(20, 25), "Plat", RootPart, .1, "rbxassetid://511340819", 1) | |
849 | ||
850 | --so("rbxassetid://511471841",hit,1,1.15+(math.random(-1,1)*(math.random()*.1))) | |
851 | coroutine.resume(coroutine.create(function() | |
852 | --MagicBlock(BrickColor.new("Really red"), hit.CFrame,1,1,1,1.5,1.5,1.5,0.05) | |
853 | if Aggro == true then | |
854 | wait(2) | |
855 | so("http://www.roblox.com/asset/?id=183763506",hit,5,.7) | |
856 | so("http://www.roblox.com/asset/?id=168413145",hit,0.4,.7) | |
857 | so("http://www.roblox.com/asset/?id=168413145",hit,0.4,.9) | |
858 | --MagniDamage(hit,hit,5,100,155,0,"Plat") | |
859 | Damagefunc(hit, hit, 111, 115, math.random(20, 25), "Plat", RootPart, .1, "rbxassetid://157878578", 1) | |
860 | MagicCircle(BrickColor.new("Really red"),hit.CFrame,3,3,3,5,5,5,0.05) | |
861 | MagicCircle(BrickColor.new("Institutional white"),hit.CFrame,2,2,2,4,4,4,0.05) | |
862 | BlastEffect(BrickColor.new("Really black"),hit.CFrame,1,1,1,.3,.3,.3) | |
863 | BlastEffect(BrickColor.new("Really red"),hit.CFrame,.2,.2,.2,-.1,-.1,-.1) | |
864 | end | |
865 | end)) | |
866 | end | |
867 | hitcon:disconnect() | |
868 | end) | |
869 | for i=0,1,0.08 do | |
870 | swait() | |
871 | RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(80)),.2) | |
872 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-75)),.2) | |
873 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(0),math.rad(130),math.rad(90)),.2) | |
874 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*angles(math.rad(-15),math.rad(10),math.rad(30)),0.3) | |
875 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
876 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
877 | end | |
878 | for i=0,1,0.05 do | |
879 | swait() | |
880 | RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(-15)),.2) | |
881 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(15)),.2) | |
882 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2) | |
883 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*angles(math.rad(-15),math.rad(10),math.rad(10)),0.3) | |
884 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(15),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
885 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
886 | end | |
887 | leyeemitter.Enabled = false | |
888 | tempweld:Remove() | |
889 | tempbox:Remove() | |
890 | attack=false | |
891 | end | |
892 | ||
893 | function Telepoot() | |
894 | attack = true | |
895 | TPFX(1) | |
896 | leyeemitter.Lifetime = NumberRange.new(0.7) | |
897 | leyeemitter.Speed = NumberRange.new(3) | |
898 | leyeemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.8), NumberSequenceKeypoint.new(1, 0.1)}) | |
899 | leyeemitter.Enabled = true | |
900 | so("rbxassetid://509138786",Torso,0.6,1.5) | |
901 | local dest = CFrame.new(mouse.Hit.p.x,mouse.Hit.p.y,mouse.Hit.p.z) | |
902 | for i = 1,3 do wait() | |
903 | for x,v in pairs(m:GetChildren()) do | |
904 | if v:IsA("Part") and v.ClassName ~= "BasePart" and v.ClassName ~= "Weld" and v ~= Cheek then | |
905 | v.Transparency = v.Transparency + 0.33 | |
906 | end | |
907 | end | |
908 | end | |
909 | for x,v in pairs(m:GetChildren()) do | |
910 | if v:IsA("Part") and v.ClassName ~= "BasePart" and v.ClassName ~= "Weld" and v ~= Cheek then | |
911 | v.Transparency = 1 | |
912 | end | |
913 | end | |
914 | swait(5) | |
915 | local tRot = RootPart.CFrame - RootPart.Position | |
916 | RootPart.CFrame = tRot + Vector3.new(dest.x,dest.y+3,dest.z) | |
917 | TPFX(0) | |
918 | for i = 1,3 do wait() | |
919 | for x,v in pairs(m:GetChildren()) do | |
920 | if v:IsA("Part") and v.ClassName ~= "BasePart" and v.ClassName ~= "Weld" and v ~= Cheek then | |
921 | v.Transparency = v.Transparency - 0.33 | |
922 | end | |
923 | end | |
924 | end | |
925 | for x,v in pairs(m:GetChildren()) do | |
926 | if v:IsA("Part") and v.ClassName ~= "BasePart" and v.ClassName ~= "Weld" and v ~= Cheek then | |
927 | v.Transparency = 0 | |
928 | end | |
929 | end | |
930 | leyeemitter.Lifetime = NumberRange.new(0.2) | |
931 | leyeemitter.Speed = NumberRange.new(1) | |
932 | leyeemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.1), NumberSequenceKeypoint.new(1, 0.1)}) | |
933 | leyeemitter.Enabled = false | |
934 | attack = false | |
935 | end | |
936 | ||
937 | function TPFX(dir) | |
938 | coroutine.resume(coroutine.create(function() | |
939 | local inc = 1 | |
940 | if dir == 1 then | |
941 | inc = -2 | |
942 | elseif dir == 0 then | |
943 | inc = 2 | |
944 | else | |
945 | end | |
946 | for angle = 1, 720, 70 do | |
947 | local p = Instance.new('Part') | |
948 | p.Material = "Neon" | |
949 | p.CanCollide = false | |
950 | p.BrickColor = BrickColor.new("Cyan") | |
951 | p.Parent = workspace | |
952 | p.Size = Vector3.new(0.2,0.2,0.2) | |
953 | p.Anchored = true | |
954 | p.CFrame = Torso.CFrame | |
955 | * CFrame.Angles(0, math.rad(angle), 0) | |
956 | * CFrame.new(2, inc, 0) | |
957 | if dir == 1 then | |
958 | inc = inc + 0.6 | |
959 | elseif dir == 0 then | |
960 | inc = inc - 0.6 | |
961 | else | |
962 | end | |
963 | game:GetService("Debris"):AddItem(p,1) | |
964 | coroutine.resume(coroutine.create(function() | |
965 | for i = 0,1,0.05 do | |
966 | swait() | |
967 | p.Size = p.Size + Vector3.new(0.1,0.1,0.1) | |
968 | p.CFrame = p.CFrame*CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360)) | |
969 | p.Transparency = i | |
970 | end | |
971 | p.Transparency = 1 | |
972 | end)) | |
973 | wait() | |
974 | end | |
975 | end)) | |
976 | end | |
977 | ||
978 | function TFMFX() | |
979 | attack = true | |
980 | coroutine.resume(coroutine.create(function() | |
981 | for angle = 1, 720, 70 do | |
982 | local aye = Instance.new('Part') | |
983 | aye.Material = "Neon" | |
984 | aye.CanCollide = false | |
985 | aye.BrickColor = PowerBrickColor | |
986 | aye.Parent = Character | |
987 | aye.Size = Vector3.new(0.2,0.2,0.2) | |
988 | aye.Anchored = false | |
989 | aye.CFrame = LEye.CFrame | |
990 | game:GetService("Debris"):AddItem(aye,0.1) | |
991 | coroutine.resume(coroutine.create(function() | |
992 | for i = 0,1,0.05 do | |
993 | swait() | |
994 | aye.Size = aye.Size + Vector3.new(0.01,0.01,0.01) | |
995 | aye.CFrame = LEye.CFrame*CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360)) | |
996 | aye.Transparency = i | |
997 | end | |
998 | aye.Transparency = 1 | |
999 | end)) | |
1000 | wait() | |
1001 | end | |
1002 | end)) | |
1003 | attack = false | |
1004 | end | |
1005 | ||
1006 | function attackone() | |
1007 | attack = true | |
1008 | SpawnBone(RightArm,0.5,3,3,0) | |
1009 | MagicFlames(RightArm,10,0.5) | |
1010 | leyeemitter.Enabled = true | |
1011 | so("rbxassetid://512078241",Torso,1,1) | |
1012 | for i=0,1,0.05 do | |
1013 | swait() | |
1014 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
1015 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.2) | |
1016 | RW.C0 = clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(95),math.rad(10),math.rad(30)),.2) | |
1017 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*angles(math.rad(-15),math.rad(10),math.rad(30)),0.3) | |
1018 | RH.C0 = clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
1019 | LH.C0 = clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
1020 | end | |
1021 | atktype(1,2) | |
1022 | attack = false | |
1023 | leyeemitter.Enabled = false | |
1024 | end | |
1025 | ||
1026 | function attacktwo() | |
1027 | attack = true | |
1028 | leyeemitter.Enabled = true | |
1029 | SpawnBone(LeftArm,0.5,-3,3,0) | |
1030 | MagicFlames(LeftArm,10,0.5) | |
1031 | so("rbxassetid://512078241",Torso,1,1) | |
1032 | for i=0,1,0.05 do | |
1033 | swait() | |
1034 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(-20)),.2) | |
1035 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
1036 | RW.C0 = clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(5),math.rad(10),math.rad(30)),.2) | |
1037 | LW.C0 = clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(95),math.rad(-10),math.rad(-30)),0.3) | |
1038 | RH.C0 = clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
1039 | LH.C0 = clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
1040 | end | |
1041 | atktype(2,3) | |
1042 | leyeemitter.Enabled = false | |
1043 | attack = false | |
1044 | end | |
1045 | ||
1046 | function attackthree() | |
1047 | attack = true | |
1048 | leyeemitter.Enabled = true | |
1049 | SpawnBone(RightArm,0.5,3,3,0) | |
1050 | SpawnBone(LeftArm,0.5,-3,3,0) | |
1051 | SpawnBone(Head,0.5,0,3.5,0) | |
1052 | MagicFlames(RightArm,10,0.5) | |
1053 | so("rbxassetid://512078241",Torso,1,0.9) | |
1054 | for i=0,1,0.04 do | |
1055 | swait() | |
1056 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1057 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
1058 | RW.C0 = clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(125),math.rad(10),math.rad(30)),.2) | |
1059 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*angles(math.rad(-15),math.rad(10),math.rad(30)),0.3) | |
1060 | RH.C0 = clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
1061 | LH.C0 = clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
1062 | end | |
1063 | atktype(1,1) | |
1064 | leyeemitter.Enabled = false | |
1065 | attack = false | |
1066 | end | |
1067 | ||
1068 | function atktype(s, e) | |
1069 | coroutine.resume(coroutine.create(function() | |
1070 | attacktype = e | |
1071 | swait(80) | |
1072 | attacktype = s | |
1073 | end)) | |
1074 | end | |
1075 | ||
1076 | ||
1077 | mouse.Button1Down:connect(function() | |
1078 | if Aggro == false then | |
1079 | if attack == false and Pocketed == true and attacktype == 1 then | |
1080 | attackone() | |
1081 | elseif attack == false and Pocketed == true and attacktype == 2 then | |
1082 | attacktwo() | |
1083 | elseif attack == false and Pocketed == true and attacktype == 3 then | |
1084 | attackthree() | |
1085 | end | |
1086 | elseif Aggro == true then | |
1087 | --if attack == false and and Pocketed == true attacktype == 4 then | |
1088 | --attackone() | |
1089 | --elseif attack == false and Pocketed == true and attacktype == 5 then | |
1090 | --attacktwo() | |
1091 | --elseif attack == false and Pocketed == true and attacktype == 6 then | |
1092 | --attackthree() | |
1093 | --end | |
1094 | end | |
1095 | end) | |
1096 | ||
1097 | mouse.KeyDown:connect(function(k) | |
1098 | k=k:lower() | |
1099 | if attack == false and k == 't' then | |
1100 | if Pocketed==false then | |
1101 | Pocketed=true | |
1102 | RSH=ch.Torso["Right Shoulder"] | |
1103 | LSH=ch.Torso["Left Shoulder"] | |
1104 | -- | |
1105 | RSH.Parent=nil | |
1106 | LSH.Parent=nil | |
1107 | -- | |
1108 | RW.Name="Right Shoulder" | |
1109 | RW.Part0=ch.Torso | |
1110 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
1111 | RW.C1=cf(0, 0.5, 0) | |
1112 | RW.Part1=ch["Right Arm"] | |
1113 | RW.Parent=ch.Torso | |
1114 | -- | |
1115 | LW.Name="Left Shoulder" | |
1116 | LW.Part0=ch.Torso | |
1117 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
1118 | LW.C1=cf(0, 0.5, 0) | |
1119 | LW.Part1=ch["Left Arm"] | |
1120 | LW.Parent=ch.Torso | |
1121 | -- | |
1122 | equipped = true | |
1123 | else | |
1124 | if Pocketed == true then | |
1125 | Pocketed = false | |
1126 | wait() | |
1127 | RW.Parent=nil | |
1128 | LW.Parent=nil | |
1129 | RSH.Parent=player.Character.Torso | |
1130 | LSH.Parent=player.Character.Torso | |
1131 | end | |
1132 | end | |
1133 | elseif attack == false and k == 'v' then | |
1134 | if Aggro == false then | |
1135 | Aggro = true | |
1136 | print("Enabled aggro") | |
1137 | leyeemitter.Color = ColorSequence.new(Color3.new(1, 0, 0.0156863), Color3.new(1, 0, 0.0156863)) | |
1138 | PowerBrickColor = BrickColor.new("Really red") | |
1139 | LEye.BrickColor = BrickColor.new("Really red") | |
1140 | Cheek.Transparency = 0 | |
1141 | TFMFX() | |
1142 | elseif Aggro == true then | |
1143 | Aggro = false | |
1144 | print("Disabled aggro") | |
1145 | leyeemitter.Color = ColorSequence.new(Color3.new(0, 255, 255), Color3.new(0, 255, 255)) | |
1146 | PowerBrickColor = BrickColor.new("Cyan") | |
1147 | LEye.BrickColor = BrickColor.new("Cyan") | |
1148 | Cheek.Transparency = 1 | |
1149 | TFMFX() | |
1150 | end | |
1151 | so("rbxassetid://513586643",Torso,0.6,1.15+(math.random(-1,1)*(math.random()*.1))) | |
1152 | elseif attack == false and Pocketed == true and k == 'c' then | |
1153 | Backhand() | |
1154 | elseif attack == false and Pocketed == true and Aggro == false and k == 'f' then | |
1155 | Telepoot() | |
1156 | end | |
1157 | end) | |
1158 | ||
1159 | ||
1160 | local sine = 0 | |
1161 | local change = 1 | |
1162 | local val = 0 | |
1163 | ||
1164 | while true do | |
1165 | wait() | |
1166 | sine = sine + change | |
1167 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
1168 | local velderp=RootPart.Velocity.y | |
1169 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
1170 | if equipped==true or equipped==false then | |
1171 | if attack==false then | |
1172 | idle=idle+1 | |
1173 | else | |
1174 | idle=0 | |
1175 | end | |
1176 | if idle>=500 then | |
1177 | if attack==false then | |
1178 | end | |
1179 | end | |
1180 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
1181 | Anim="Jump" | |
1182 | if attack==false and Pocketed == true then | |
1183 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),0.3) | |
1184 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),0.3) | |
1185 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)*angles(math.rad(20),math.rad(20),math.rad(20)),0.3) | |
1186 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*angles(math.rad(20),math.rad(-20),math.rad(-20)),0.3) | |
1187 | RH.C0=clerp(RH.C0,cf(1, -1, 0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1188 | LH.C0=clerp(LH.C0,cf(-1, -1, 0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1189 | end | |
1190 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
1191 | Anim="Fall" | |
1192 | if attack==false and Pocketed == true then | |
1193 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(2),math.rad(0),math.rad(0)),0.3) | |
1194 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),0.3) | |
1195 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)*angles(math.rad(20),math.rad(15),math.rad(10)),0.3) | |
1196 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*angles(math.rad(20),math.rad(-15),math.rad(-10)),0.3) | |
1197 | RH.C0=clerp(RH.C0,cf(1, -1, 0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1198 | LH.C0=clerp(LH.C0,cf(-1, -1, 0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1199 | end | |
1200 | elseif torvel<1 and hitfloor~=nil then | |
1201 | Anim="Idle" | |
1202 | if attack==false and Pocketed == true then | |
1203 | change = 1 | |
1204 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0.05*math.cos(sine/10))*angles(math.rad(0 - 2.5*math.cos(sine/10)),math.rad(0),math.rad(0)),0.3) | |
1205 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(math.rad(6 + math.cos(sine/10)),math.rad(0),math.rad(0)),0.3) | |
1206 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)*angles(math.rad(-15),math.rad(-10 - math.cos(sine/10)),math.rad(-30)),0.3) | |
1207 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*angles(math.rad(-15),math.rad(10 + math.cos(sine/10)),math.rad(30)),0.3) | |
1208 | RH.C0=clerp(RH.C0,cf(1, -1 + 0.05 * -math.cos(sine/10), 0)*angles(math.rad(0 - 3*math.cos(sine/10)),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1209 | LH.C0=clerp(LH.C0,cf(-1, -1 + 0.05 * -math.cos(sine/10), 0)*angles(math.rad(0 - 3*math.cos(sine/10)),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1210 | end | |
1211 | elseif torvel>2 and hitfloor~=nil then | |
1212 | Anim="Walk" | |
1213 | if attack==false and Pocketed == true then | |
1214 | change=3 | |
1215 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(0,0,0),.3) | |
1216 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(0,0,0),.3) | |
1217 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)*angles(math.rad(-15),math.rad(-10 - math.cos(sine/10)),math.rad(-30)),0.3) | |
1218 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*angles(math.rad(-15),math.rad(10 + math.cos(sine/10)),math.rad(30)),0.3) | |
1219 | RH.C0=clerp(RH.C0,RHC0,.3) | |
1220 | LH.C0=clerp(LH.C0,LHC0,.3) | |
1221 | end | |
1222 | end | |
1223 | end | |
1224 | if #Effects>0 then | |
1225 | for e=1,#Effects do | |
1226 | if Effects[e]~=nil then | |
1227 | local Thing=Effects[e] | |
1228 | if Thing~=nil then | |
1229 | local Part=Thing[1] | |
1230 | local Mode=Thing[2] | |
1231 | local Delay=Thing[3] | |
1232 | local IncX=Thing[4] | |
1233 | local IncY=Thing[5] | |
1234 | local IncZ=Thing[6] | |
1235 | if Thing[1].Transparency<=1 then | |
1236 | if Thing[2]=="Block1" then | |
1237 | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1238 | Mesh=Thing[1].Mesh | |
1239 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1240 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1241 | elseif Thing[2]=="Cylinder" then | |
1242 | Mesh=Thing[1].Mesh | |
1243 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1244 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1245 | elseif Thing[2]=="Blood" then | |
1246 | Mesh=Thing[7] | |
1247 | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) | |
1248 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1249 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1250 | elseif Thing[2]=="Elec" then | |
1251 | Mesh=Thing[1].Mesh | |
1252 | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) | |
1253 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1254 | elseif Thing[2]=="Disappear" then | |
1255 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1256 | end | |
1257 | else | |
1258 | Part.Parent=nil | |
1259 | table.remove(Effects,e) | |
1260 | end | |
1261 | end | |
1262 | end | |
1263 | end | |
1264 | end | |
1265 | end |