SHOW:
|
|
- or go back to the newest paste.
1 | wait(2) | |
2 | Player = game:GetService("Players").LocalPlayer | |
3 | PlayerGui = Player.PlayerGui | |
4 | Cam = workspace.CurrentCamera | |
5 | Backpack = Player.Backpack | |
6 | Character = Player.Character | |
7 | Humanoid = Character.Humanoid | |
8 | Mouse = Player:GetMouse() | |
9 | RootPart = Character.HumanoidRootPart | |
10 | Torso = Character.Torso | |
11 | Head = Character.Head | |
12 | RightArm = Character["Right Arm"] | |
13 | LeftArm = Character["Left Arm"] | |
14 | RightLeg = Character["Right Leg"] | |
15 | LeftLeg = Character["Left Leg"] | |
16 | RootJoint = RootPart.RootJoint | |
17 | Neck = Torso.Neck | |
18 | RightShoulder = Torso["Right Shoulder"] | |
19 | LeftShoulder = Torso["Left Shoulder"] | |
20 | RightHip = Torso["Right Hip"] | |
21 | LeftHip = Torso["Left Hip"] | |
22 | local sick = Instance.new("Sound", Torso) | |
23 | sick.Pitch = 1 | |
24 | sick.Volume = 5 | |
25 | IT = Instance.new | |
26 | CF = CFrame.new | |
27 | VT = Vector3.new | |
28 | RAD = math.rad | |
29 | C3 = Color3.new | |
30 | UD2 = UDim2.new | |
31 | BRICKC = BrickColor.new | |
32 | ANGLES = CFrame.Angles | |
33 | EULER = CFrame.fromEulerAnglesXYZ | |
34 | COS = math.cos | |
35 | ACOS = math.acos | |
36 | SIN = math.sin | |
37 | ASIN = math.asin | |
38 | ABS = math.abs | |
39 | MRANDOM = math.random | |
40 | FLOOR = math.floor | |
41 | Animation_Speed = 3 | |
42 | Frame_Speed = 0.016666666666666666 | |
43 | local Speed = 30 | |
44 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
45 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
46 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
47 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
48 | local DAMAGEMULTIPLIER = 1.0E298 | |
49 | local ANIM = "Idle" | |
50 | local ATTACK = false | |
51 | local EQUIPPED = false | |
52 | local HOLD = false | |
53 | local COMBO = 1 | |
54 | local Rooted = false | |
55 | local SINE = 0 | |
56 | local KEYHOLD = false | |
57 | local CHANGE = 2 / Animation_Speed | |
58 | local WALKINGANIM = false | |
59 | local VALUE1 = false | |
60 | local VALUE2 = false | |
61 | local POWERLEVEL = 15 | |
62 | local Player_Size = 1 | |
63 | local bored = {158353213,185993648,0} | |
64 | local CHOICE = MRANDOM(1,3) | |
65 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
66 | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} | |
67 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
68 | local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
69 | local ROBLOXIDLEANIMATION = IT("Animation") | |
70 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
71 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
72 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
73 | WEAPONGUI.Name = "Weapon GUI" | |
74 | local Weapon = IT("Model") | |
75 | Weapon.Name = "Adds" | |
76 | local Effects = IT("Folder", Weapon) | |
77 | Effects.Name = "Effects" | |
78 | local ANIMATOR = Humanoid.Animator | |
79 | local ANIMATE = Character.Animate | |
80 | local SIZE = 1 | |
81 | local ATTACKEDTAUNTS = { | |
82 | "907332040", | |
83 | "907332525", | |
84 | "907330011" | |
85 | } | |
86 | local ATTACKTAUNTS = { | |
87 | "907329893", | |
88 | "907329532", | |
89 | "907333294", | |
90 | "907332856" | |
91 | } | |
92 | local ULTTAUNTS = { | |
93 | "907332997", | |
94 | "907332670", | |
95 | "907330103" | |
96 | } | |
97 | local UNANCHOR = true | |
98 | local RWINGS = {} | |
99 | local LWINGS = {} | |
100 | local EYE, PUPIL | |
101 | local BLINKLOOP = 0 | |
102 | local FINISHEDINTRO = false | |
103 | local INTROING = false | |
104 | local INSTANT = false | |
105 | local EYES = {} | |
106 | local Sine = 0 | |
107 | local DemonForm = false | |
108 | Character:WaitForChild("Head").BrickColor=BrickColor.new("Really black") | |
109 | Character:WaitForChild("Torso").BrickColor=BrickColor.new("Really black") | |
110 | Character:WaitForChild("Left Arm").BrickColor=BrickColor.new("Really black") | |
111 | Character:WaitForChild("Right Arm").BrickColor=BrickColor.new("Really black") | |
112 | Character:WaitForChild("Left Leg").BrickColor=BrickColor.new("Really black") | |
113 | Character:WaitForChild("Right Leg").BrickColor=BrickColor.new("Really black") | |
114 | ArtificialHB = Instance.new("BindableEvent", script) | |
115 | ArtificialHB.Name = "ArtificialHB" | |
116 | script:WaitForChild("ArtificialHB") | |
117 | frame = Frame_Speed | |
118 | tf = 0 | |
119 | allowframeloss = false | |
120 | tossremainder = false | |
121 | lastframe = tick() | |
122 | script.ArtificialHB:Fire() | |
123 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
124 | tf = tf + s | |
125 | if tf >= frame then | |
126 | if allowframeloss then | |
127 | script.ArtificialHB:Fire() | |
128 | lastframe = tick() | |
129 | else | |
130 | for i = 1, math.floor(tf / frame) do | |
131 | script.ArtificialHB:Fire() | |
132 | end | |
133 | lastframe = tick() | |
134 | end | |
135 | if tossremainder then | |
136 | tf = 0 | |
137 | else | |
138 | tf = tf - frame * math.floor(tf / frame) | |
139 | end | |
140 | end | |
141 | end) | |
142 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
143 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
144 | end | |
145 | function PositiveAngle(NUMBER) | |
146 | if NUMBER >= 0 then | |
147 | NUMBER = 0 | |
148 | end | |
149 | return NUMBER | |
150 | end | |
151 | function NegativeAngle(NUMBER) | |
152 | if NUMBER <= 0 then | |
153 | NUMBER = 0 | |
154 | end | |
155 | return NUMBER | |
156 | end | |
157 | function Swait(NUMBER) | |
158 | if NUMBER == 0 or NUMBER == nil then | |
159 | ArtificialHB.Event:wait() | |
160 | else | |
161 | for i = 1, NUMBER do | |
162 | ArtificialHB.Event:wait() | |
163 | end | |
164 | end | |
165 | end | |
166 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
167 | local NEWMESH = IT(MESH) | |
168 | if MESH == "SpecialMesh" then | |
169 | NEWMESH.MeshType = MESHTYPE | |
170 | if MESHID ~= "nil" and MESHID ~= "" then | |
171 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID | |
172 | end | |
173 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
174 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID | |
175 | end | |
176 | end | |
177 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
178 | NEWMESH.Scale = SCALE | |
179 | NEWMESH.Parent = PARENT | |
180 | return NEWMESH | |
181 | end | |
182 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
183 | local NEWPART = IT("Part") | |
184 | NEWPART.formFactor = FORMFACTOR | |
185 | NEWPART.Reflectance = REFLECTANCE | |
186 | NEWPART.Transparency = TRANSPARENCY | |
187 | NEWPART.CanCollide = false | |
188 | NEWPART.Locked = true | |
189 | NEWPART.Anchored = true | |
190 | if ANCHOR == false then | |
191 | NEWPART.Anchored = false | |
192 | end | |
193 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
194 | NEWPART.Name = NAME | |
195 | NEWPART.Size = SIZE | |
196 | NEWPART.Position = Torso.Position | |
197 | NEWPART.Material = MATERIAL | |
198 | NEWPART:BreakJoints() | |
199 | NEWPART.Parent = PARENT | |
200 | return NEWPART | |
201 | end | |
202 | ||
203 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
204 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
205 | local mesh = IT("SpecialMesh",wave) | |
206 | mesh.MeshType = "Sphere" | |
207 | mesh.Scale = SIZE | |
208 | mesh.Offset = VT(0,0,0) | |
209 | wave.CFrame = CFRAME | |
210 | coroutine.resume(coroutine.create(function(PART) | |
211 | for i = 1, WAIT do | |
212 | Swait() | |
213 | mesh.Scale = mesh.Scale + GROW | |
214 | wave.Transparency = wave.Transparency + (1/WAIT) | |
215 | if wave.Transparency > 0.99 then | |
216 | wave:remove() | |
217 | end | |
218 | end | |
219 | end)) | |
220 | end | |
221 | ||
222 | function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW) | |
223 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
224 | local mesh = IT("SpecialMesh",wave) | |
225 | mesh.MeshType = "FileMesh" | |
226 | mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
227 | mesh.Scale = SIZE | |
228 | mesh.Offset = VT(0,0,0) | |
229 | wave.CFrame = CFRAME | |
230 | coroutine.resume(coroutine.create(function(PART) | |
231 | for i = 1, WAIT do | |
232 | Swait() | |
233 | mesh.Scale = mesh.Scale + GROW | |
234 | if DOESROT == true then | |
235 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
236 | end | |
237 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
238 | if wave.Transparency > 0.99 then | |
239 | wave:remove() | |
240 | end | |
241 | end | |
242 | end)) | |
243 | end | |
244 | ||
245 | function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW) | |
246 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
247 | local mesh = IT("SpecialMesh",wave) | |
248 | mesh.MeshType = "FileMesh" | |
249 | mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
250 | mesh.Scale = SIZE | |
251 | mesh.Offset = VT(0,0,0) | |
252 | wave.CFrame = CFRAME | |
253 | coroutine.resume(coroutine.create(function(PART) | |
254 | for i = 1, WAIT do | |
255 | Swait() | |
256 | mesh.Scale = mesh.Scale + GROW | |
257 | if DOESROT == true then | |
258 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
259 | end | |
260 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
261 | if wave.Transparency > 0.99 then | |
262 | wave:remove() | |
263 | end | |
264 | end | |
265 | end)) | |
266 | end | |
267 | ||
268 | function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW) | |
269 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
270 | local mesh = IT("SpecialMesh",wave) | |
271 | mesh.MeshType = "Sphere" | |
272 | mesh.Scale = SIZE | |
273 | mesh.Offset = VT(0,0,0) | |
274 | wave.CFrame = CFRAME | |
275 | coroutine.resume(coroutine.create(function(PART) | |
276 | for i = 1, WAIT do | |
277 | Swait() | |
278 | mesh.Scale = mesh.Scale + GROW | |
279 | wave.Transparency = wave.Transparency + (1/WAIT) | |
280 | if wave.Transparency > 0.99 then | |
281 | wave:remove() | |
282 | end | |
283 | end | |
284 | end)) | |
285 | end | |
286 | ||
287 | function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
288 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really red"), "Effect", VT(0,0,0)) | |
289 | local mesh = IT("SpecialMesh",wave) | |
290 | mesh.MeshType = "FileMesh" | |
291 | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
292 | mesh.Scale = SIZE | |
293 | mesh.Offset = VT(0,0,-SIZE.X/8) | |
294 | wave.CFrame = CFRAME | |
295 | coroutine.resume(coroutine.create(function(PART) | |
296 | for i = 1, WAIT do | |
297 | Swait() | |
298 | mesh.Scale = mesh.Scale + GROW | |
299 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
300 | if DOESROT == true then | |
301 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
302 | end | |
303 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
304 | if wave.Transparency > 0.99 then | |
305 | wave:remove() | |
306 | end | |
307 | end | |
308 | end)) | |
309 | end | |
310 | ||
311 | function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
312 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really red"), "Effect", VT(0,0,0)) | |
313 | local mesh = IT("SpecialMesh",wave) | |
314 | mesh.MeshType = "FileMesh" | |
315 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
316 | mesh.Scale = SIZE | |
317 | wave.CFrame = CFRAME | |
318 | coroutine.resume(coroutine.create(function(PART) | |
319 | for i = 1, WAIT do | |
320 | Swait() | |
321 | mesh.Scale = mesh.Scale + GROW | |
322 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
323 | if DOESROT == true then | |
324 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
325 | end | |
326 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
327 | if wave.Transparency > 0.99 then | |
328 | wave:remove() | |
329 | end | |
330 | end | |
331 | end)) | |
332 | end | |
333 | ||
334 | local weldBetween = function(a, b) | |
335 | local weldd = Instance.new("ManualWeld") | |
336 | weldd.Part0 = a | |
337 | weldd.Part1 = b | |
338 | weldd.C0 = CFrame.new() | |
339 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
340 | weldd.Parent = a | |
341 | return weldd | |
342 | end | |
343 | function QuaternionFromCFrame(cf) | |
344 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
345 | local trace = m00 + m11 + m22 | |
346 | if trace > 0 then | |
347 | local s = math.sqrt(1 + trace) | |
348 | local recip = 0.5 / s | |
349 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
350 | else | |
351 | local i = 0 | |
352 | if m00 < m11 then | |
353 | i = 1 | |
354 | end | |
355 | if m22 > (i == 0 and m00 or m11) then | |
356 | i = 2 | |
357 | end | |
358 | if i == 0 then | |
359 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
360 | local recip = 0.5 / s | |
361 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
362 | elseif i == 1 then | |
363 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
364 | local recip = 0.5 / s | |
365 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
366 | elseif i == 2 then | |
367 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
368 | local recip = 0.5 / s | |
369 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
370 | end | |
371 | end | |
372 | end | |
373 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
374 | local xs, ys, zs = x + x, y + y, z + z | |
375 | local wx, wy, wz = w * xs, w * ys, w * zs | |
376 | local xx = x * xs | |
377 | local xy = x * ys | |
378 | local xz = x * zs | |
379 | local yy = y * ys | |
380 | local yz = y * zs | |
381 | local zz = z * zs | |
382 | 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)) | |
383 | end | |
384 | function QuaternionSlerp(a, b, t) | |
385 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
386 | local startInterp, finishInterp | |
387 | if cosTheta >= 1.0E-4 then | |
388 | if 1 - cosTheta > 1.0E-4 then | |
389 | local theta = ACOS(cosTheta) | |
390 | local invSinTheta = 1 / SIN(theta) | |
391 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
392 | finishInterp = SIN(t * theta) * invSinTheta | |
393 | else | |
394 | startInterp = 1 - t | |
395 | finishInterp = t | |
396 | end | |
397 | elseif 1 + cosTheta > 1.0E-4 then | |
398 | local theta = ACOS(-cosTheta) | |
399 | local invSinTheta = 1 / SIN(theta) | |
400 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
401 | finishInterp = SIN(t * theta) * invSinTheta | |
402 | else | |
403 | startInterp = t - 1 | |
404 | finishInterp = t | |
405 | end | |
406 | 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 | |
407 | end | |
408 | function Clerp(a, b, t) | |
409 | local qa = { | |
410 | QuaternionFromCFrame(a) | |
411 | } | |
412 | local qb = { | |
413 | QuaternionFromCFrame(b) | |
414 | } | |
415 | local ax, ay, az = a.x, a.y, a.z | |
416 | local bx, by, bz = b.x, b.y, b.z | |
417 | local _t = 1 - t | |
418 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
419 | end | |
420 | ||
421 | function clerp(startCF,endCF,alpha) | |
422 | return startCF:lerp(endCF, alpha) | |
423 | end | |
424 | ||
425 | ||
426 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
427 | local frame = IT("Frame") | |
428 | frame.BackgroundTransparency = TRANSPARENCY | |
429 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
430 | frame.Position = POSITION | |
431 | frame.Size = SIZE | |
432 | frame.BackgroundColor3 = COLOR | |
433 | frame.BorderColor3 = BORDERCOLOR | |
434 | frame.Name = NAME | |
435 | frame.Parent = PARENT | |
436 | return frame | |
437 | end | |
438 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
439 | local label = IT("TextLabel") | |
440 | label.BackgroundTransparency = 1 | |
441 | label.Size = UD2(1, 0, 1, 0) | |
442 | label.Position = UD2(0, 0, 0, 0) | |
443 | label.TextColor3 = TEXTCOLOR | |
444 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
445 | label.TextTransparency = TRANSPARENCY | |
446 | label.FontSize = TEXTFONTSIZE | |
447 | label.Font = TEXTFONT | |
448 | label.BorderSizePixel = BORDERSIZEPIXEL | |
449 | label.TextScaled = false | |
450 | label.Text = TEXT | |
451 | label.Name = NAME | |
452 | label.Parent = PARENT | |
453 | return label | |
454 | end | |
455 | function NoOutlines(PART) | |
456 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
457 | end | |
458 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
459 | local NEWWELD = IT(TYPE) | |
460 | NEWWELD.Part0 = PART0 | |
461 | NEWWELD.Part1 = PART1 | |
462 | NEWWELD.C0 = C0 | |
463 | NEWWELD.C1 = C1 | |
464 | NEWWELD.Parent = PARENT | |
465 | return NEWWELD | |
466 | end | |
467 | local S = IT("Sound") | |
468 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
469 | local NEWSOUND | |
470 | coroutine.resume(coroutine.create(function() | |
471 | NEWSOUND = S:Clone() | |
472 | NEWSOUND.Parent = PARENT | |
473 | NEWSOUND.Volume = VOLUME | |
474 | NEWSOUND.Pitch = PITCH | |
475 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID | |
476 | NEWSOUND:play() | |
477 | if DOESLOOP == true then | |
478 | NEWSOUND.Looped = true | |
479 | else | |
480 | repeat | |
481 | Swait() | |
482 | until NEWSOUND.Playing == false | |
483 | NEWSOUND:remove() | |
484 | end | |
485 | end)) | |
486 | return NEWSOUND | |
487 | end | |
488 | function CFrameFromTopBack(at, top, back) | |
489 | local right = top:Cross(back) | |
490 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
491 | end | |
492 | ||
493 | function WACKYEFFECT(Table) | |
494 | local TYPE = Table.EffectType or "Sphere" | |
495 | local SIZE = Table.Size or VT(1, 1, 1) | |
496 | local ENDSIZE = Table.Size2 or VT(0, 0, 0) | |
497 | local TRANSPARENCY = Table.Transparency or 0 | |
498 | local ENDTRANSPARENCY = Table.Transparency2 or 1 | |
499 | local CFRAME = Table.CFrame or Torso.CFrame | |
500 | local MOVEDIRECTION = Table.MoveToPos or nil | |
501 | local ROTATION1 = Table.RotationX or 0 | |
502 | local ROTATION2 = Table.RotationY or 0 | |
503 | local ROTATION3 = Table.RotationZ or 0 | |
504 | local MATERIAL = Table.Material or "Neon" | |
505 | local COLOR = Table.Color or C3(1, 1, 1) | |
506 | local TIME = Table.Time or 45 | |
507 | local SOUNDID = Table.SoundID or nil | |
508 | local SOUNDPITCH = Table.SoundPitch or nil | |
509 | local SOUNDVOLUME = Table.SoundVolume or nil | |
510 | coroutine.resume(coroutine.create(function() | |
511 | local PLAYSSOUND = false | |
512 | local SOUND | |
513 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true) | |
514 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
515 | PLAYSSOUND = true | |
516 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
517 | end | |
518 | EFFECT.Color = COLOR | |
519 | local MSH | |
520 | if TYPE == "Sphere" then | |
521 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0)) | |
522 | elseif TYPE == "Block" then | |
523 | MSH = IT("BlockMesh", EFFECT) | |
524 | MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X) | |
525 | elseif TYPE == "Wave" then | |
526 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8)) | |
527 | elseif TYPE == "Ring" then | |
528 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0)) | |
529 | elseif TYPE == "Slash" then | |
530 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0)) | |
531 | elseif TYPE == "Round Slash" then | |
532 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0)) | |
533 | elseif TYPE == "Swirl" then | |
534 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0)) | |
535 | elseif TYPE == "Skull" then | |
536 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0)) | |
537 | elseif TYPE == "Crystal" then | |
538 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0)) | |
539 | end | |
540 | if MSH ~= nil then | |
541 | local MOVESPEED | |
542 | if MOVEDIRECTION ~= nil then | |
543 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME | |
544 | end | |
545 | local GROWTH = SIZE - ENDSIZE | |
546 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
547 | if TYPE == "Block" then | |
548 | EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) | |
549 | else | |
550 | EFFECT.CFrame = CFRAME | |
551 | end | |
552 | for LOOP = 1, TIME do | |
553 | Swait() | |
554 | MSH.Scale = MSH.Scale - GROWTH / TIME | |
555 | if TYPE == "Wave" then | |
556 | MSH.Offset = VT(0, 0, -MSH.Scale.X / 8) | |
557 | end | |
558 | EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME | |
559 | if TYPE == "Block" then | |
560 | EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) | |
561 | else | |
562 | EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3)) | |
563 | end | |
564 | if MOVEDIRECTION ~= nil then | |
565 | local ORI = EFFECT.Orientation | |
566 | EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED) | |
567 | EFFECT.Orientation = ORI | |
568 | end | |
569 | end | |
570 | if PLAYSSOUND == false then | |
571 | EFFECT:remove() | |
572 | else | |
573 | repeat | |
574 | Swait() | |
575 | until SOUND.Playing == false | |
576 | EFFECT:remove() | |
577 | end | |
578 | elseif PLAYSSOUND == false then | |
579 | EFFECT:remove() | |
580 | else | |
581 | repeat | |
582 | Swait() | |
583 | until SOUND.Playing == false | |
584 | EFFECT:remove() | |
585 | end | |
586 | end)) | |
587 | end | |
588 | function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT) | |
589 | if FLOOR ~= nil then | |
590 | coroutine.resume(coroutine.create(function() | |
591 | local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0)) | |
592 | PART.CFrame = CF(POSITION) | |
593 | for i = 1, 45 do | |
594 | local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE) | |
595 | RingPiece.Material = FLOOR.Material | |
596 | RingPiece.Color = FLOOR.Color | |
597 | RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))) | |
598 | Debris:AddItem(RingPiece, SWAIT) | |
599 | end | |
600 | PART:remove() | |
601 | end)) | |
602 | end | |
603 | end | |
604 | function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH) | |
605 | if FLOOR ~= nil then | |
606 | for i = 1, AMOUNT do | |
607 | do | |
608 | local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false) | |
609 | DEBREE.Material = FLOOR.Material | |
610 | DEBREE.Color = FLOOR.Color | |
611 | DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))) | |
612 | DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH)) | |
613 | coroutine.resume(coroutine.create(function() | |
614 | Swait(15) | |
615 | DEBREE.Parent = workspace | |
616 | DEBREE.CanCollide = true | |
617 | Debris:AddItem(DEBREE, SWAIT) | |
618 | end)) | |
619 | end | |
620 | end | |
621 | end | |
622 | end | |
623 | ||
624 | function AddChildrenToTable(FROM, PARENT, DIST, TABLE) | |
625 | for _, c in pairs(PARENT:GetChildren()) do | |
626 | if c.ClassName == "Model" then | |
627 | if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then | |
628 | local HUMANOID = c:FindFirstChildOfClass("Humanoid") | |
629 | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") | |
630 | if DIST > (TORSO.Position - FROM).Magnitude then | |
631 | table.insert(TABLE, c) | |
632 | end | |
633 | AddChildrenToTable(FROM, c, DIST, TABLE) | |
634 | elseif c.ClassName == "Folder" then | |
635 | AddChildrenToTable(FROM, c, DIST, TABLE) | |
636 | end | |
637 | end | |
638 | end | |
639 | end | |
640 | ||
641 | function MakeForm(PART, TYPE) | |
642 | if TYPE == "Cyl" then | |
643 | local MSH = IT("CylinderMesh", PART) | |
644 | elseif TYPE == "Ball" then | |
645 | local MSH = IT("SpecialMesh", PART) | |
646 | MSH.MeshType = "Sphere" | |
647 | elseif TYPE == "Wedge" then | |
648 | local MSH = IT("SpecialMesh", PART) | |
649 | MSH.MeshType = "Wedge" | |
650 | end | |
651 | end | |
652 | ||
653 | function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine) | |
654 | if DoesCourontine == false then | |
655 | local Direction = CF(Part.Position, ToLocation) | |
656 | local Distance = (Part.Position - ToLocation).magnitude | |
657 | for i = 1, AmountOfTime do | |
658 | Swait() | |
659 | Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime) | |
660 | Direction = Part.CFrame | |
661 | end | |
662 | Part:remove() | |
663 | elseif DoesCourontine == true then | |
664 | coroutine.resume(coroutine.create(function() | |
665 | local Direction = CF(Part.Position, ToLocation) | |
666 | local Distance = (Part.Position - ToLocation).magnitude | |
667 | for i = 1, AmountOfTime do | |
668 | Swait() | |
669 | Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime) | |
670 | Direction = Part.CFrame | |
671 | end | |
672 | Part:remove() | |
673 | end)) | |
674 | end | |
675 | end | |
676 | ||
677 | function CheckTableForString(Table, String) | |
678 | for i, v in pairs(Table) do | |
679 | if string.find(string.lower(String), string.lower(v)) then | |
680 | return true | |
681 | end | |
682 | end | |
683 | return false | |
684 | end | |
685 | function CheckIntangible(Hit) | |
686 | local ProjectileNames = { | |
687 | "Water", | |
688 | "Arrow", | |
689 | "Projectile", | |
690 | "Effect", | |
691 | "Rail", | |
692 | "Lightning", | |
693 | "Bullet" | |
694 | } | |
695 | if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then | |
696 | return true | |
697 | end | |
698 | return false | |
699 | end | |
700 | Debris = game:GetService("Debris") | |
701 | function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
702 | local Ignore = type(Ignore) == "table" and Ignore or {Ignore} | |
703 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore) | |
704 | if RayHit and CheckIntangible(RayHit) then | |
705 | if DelayIfHit then | |
706 | wait() | |
707 | end | |
708 | RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit) | |
709 | end | |
710 | return RayHit, RayPos, RayNormal | |
711 | end | |
712 | ||
713 | NewInstance = function(instance,parent,properties) | |
714 | local inst = Instance.new(instance,parent) | |
715 | if(properties)then | |
716 | for i,v in next, properties do | |
717 | pcall(function() inst[i] = v end) | |
718 | end | |
719 | end | |
720 | return inst; | |
721 | end | |
722 | ||
723 | local plr = game:service'Players'.LocalPlayer | |
724 | local char2 = plr.Character | |
725 | local hum2 = char2.Humanoid | |
726 | local ra = char2["Right Arm"] | |
727 | local la= char2["Left Arm"] | |
728 | local rl= char2["Right Leg"] | |
729 | local ll = char2["Left Leg"] | |
730 | local hed = char2.Head | |
731 | ||
732 | ||
733 | function checkfriendlist(model) | |
734 | local friend = false | |
735 | local target = nil | |
736 | if model.ClassName == "Player" then | |
737 | target = model | |
738 | else | |
739 | target = game:GetService("Players"):GetPlayerFromCharacter(model) | |
740 | end | |
741 | if target ~= nil then | |
742 | if target:IsFriendsWith(358637779) then friend = true end | |
743 | end | |
744 | return friend | |
745 | end | |
746 | if checkfriendlist(game:GetService("Players").LocalPlayer) == true then | |
747 | warn('Youre whitelisted/friends with the creator, Have fun! ' ..plr.Name) | |
748 | end | |
749 | ||
750 | if checkfriendlist(game:GetService("Players").LocalPlayer) == false then | |
751 | warn('How did you even get this script? ' ..plr.Name) | |
752 | error"Your are not whitelisted/Friends with the creator." | |
753 | end | |
754 | ||
755 | ff = Instance.new("ForceField",char2) | |
756 | ff.Visible = false | |
757 | hum2.Name = "Base" | |
758 | hum2.MaxHealth = 1.0E298 | |
759 | hum2.Health = 1.0E298 | |
760 | game:GetService("RunService"):BindToRenderStep("Bbae", 0, function() | |
761 | if hum2.Health > 0.1 and hum2.Health < 1.0E298 then | |
762 | hum2.MaxHealth = 1.0E298 | |
763 | hum2.Health = 1.0E298 | |
764 | end | |
765 | end) | |
766 | ||
767 | local asd = Instance.new("ParticleEmitter") | |
768 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0, 0)) | |
769 | asd.LightEmission = .1 | |
770 | asd.Texture = "http://www.roblox.com/asset/?ID=1548886865" | |
771 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)}) | |
772 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
773 | asd.Transparency = bbb | |
774 | asd.Size = aaa | |
775 | asd.ZOffset = .9 | |
776 | asd.Acceleration = Vector3.new(0, -15, 0) | |
777 | asd.LockedToPart = false | |
778 | asd.EmissionDirection = "Back" | |
779 | asd.Lifetime = NumberRange.new(1, 2) | |
780 | asd.Rotation = NumberRange.new(-100, 100) | |
781 | asd.RotSpeed = NumberRange.new(-100, 100) | |
782 | asd.Speed = NumberRange.new(10) | |
783 | asd.Enabled = false | |
784 | asd.VelocitySpread = 999 | |
785 | ||
786 | local Particle = IT("ParticleEmitter",nil) | |
787 | Particle.Enabled = false | |
788 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)}) | |
789 | Particle.LightEmission = 0.5 | |
790 | Particle.Rate = 150 | |
791 | Particle.ZOffset = 1 | |
792 | Particle.Rotation = NumberRange.new(-180, 180) | |
793 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
794 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
795 | Particle.Color = ColorSequence.new(C3(1,0,0),C3(1,0,0)) | |
796 | ||
797 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
798 | function ParticleEmitter(Table) | |
799 | local PRTCL = Particle:Clone() | |
800 | local Speed = Table.Speed or 5 | |
801 | local Drag = Table.Drag or 0 | |
802 | local Size1 = Table.Size1 or 1 | |
803 | local Size2 = Table.Size2 or 5 | |
804 | local Lifetime1 = Table.Lifetime1 or 1 | |
805 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
806 | local Parent = Table.Parent or Torso | |
807 | local Emit = Table.Emit or 100 | |
808 | local Offset = Table.Offset or 360 | |
809 | local Acel = Table.Acel or VT(0,0,0) | |
810 | local Enabled = Table.Enabled or false | |
811 | PRTCL.Parent = Parent | |
812 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
813 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
814 | PRTCL.Speed = NumberRange.new(Speed) | |
815 | PRTCL.VelocitySpread = Offset | |
816 | PRTCL.Drag = Drag | |
817 | PRTCL.Acceleration = Acel | |
818 | if Enabled == false then | |
819 | PRTCL:Emit(Emit) | |
820 | Debris:AddItem(PRTCL,Lifetime2) | |
821 | else | |
822 | PRTCL.Enabled = true | |
823 | end | |
824 | return PRTCL | |
825 | end | |
826 | ||
827 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
828 | local DIRECTION = CF(StartPos, EndPos).lookVector | |
829 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
830 | end | |
831 | function turnto(position) | |
832 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0) | |
833 | end | |
834 | BaseLightning = IT("Part") | |
835 | BaseLightning.Anchored = true | |
836 | BaseLightning.CanCollide = false | |
837 | BaseLightning.Material = "Neon" | |
838 | local LightningBolts = {} | |
839 | function Zap(Table) | |
840 | local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color | |
841 | local Duration = Table.Duration or 2 | |
842 | local Offset = Table.Offset or 2 | |
843 | local Individualize = Table.Individualize or false | |
844 | local MaxRange = Table.MaxRange or 200 | |
845 | local SegmentLength = Table.SegmentLength or 5 | |
846 | local Transparency = Table.Transparency or 0 | |
847 | local Ignore = Table.Ignore or {} | |
848 | local SIZE = Table.SIZE or 0.3 | |
849 | if not (StartPos and TargetPos) or not Character then | |
850 | return | |
851 | end | |
852 | local LightningModel = IT("Folder", Effects) | |
853 | LightningModel.Name = "ZAPP" | |
854 | for i, v in pairs({Character, LightningModel}) do | |
855 | table.insert(Ignore, v) | |
856 | end | |
857 | local LastPos = StartPos | |
858 | local Direction = CFrame.new(StartPos, TargetPos).lookVector | |
859 | local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false) | |
860 | local RayLength = (StartPos - RayPos).Magnitude | |
861 | local Struck = false | |
862 | local TotalSegments = math.ceil(RayLength / SegmentLength) | |
863 | Direction = CFrame.new(StartPos, RayPos).lookVector | |
864 | local LightningBolt = IT("Model", Effects) | |
865 | LightningBolt.Name = "Lightning" | |
866 | LastBolt = LightningBolt | |
867 | Debris:AddItem(LightningBolt, Duration) | |
868 | LightningBolt.Parent = LightningModel | |
869 | for i = 1, TotalSegments do | |
870 | if not Struck then | |
871 | local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset) | |
872 | local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy | |
873 | local SegmentVec = NewPos - LastPos | |
874 | local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false) | |
875 | local RayVec = LastPos - RayPos | |
876 | local LightningPart = BaseLightning:Clone() | |
877 | LightningPart.BrickColor = BrickColor.new(Color) | |
878 | LightningPart.Transparency = Transparency | |
879 | LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude) | |
880 | LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2)) | |
881 | local CylinderMesh = IT("CylinderMesh", LightningPart) | |
882 | local OrigCF = LightningPart.CFrame | |
883 | LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y) | |
884 | LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0) | |
885 | LightningPart.Parent = LightningBolt | |
886 | LastPos = NewPos | |
887 | end | |
888 | end | |
889 | return { | |
890 | RayHit = RayHit, | |
891 | RayPos = RayPos, | |
892 | RayNormal = RayNormal, | |
893 | LightningModel = LightningModel | |
894 | } | |
895 | end | |
896 | ||
897 | function Blink() | |
898 | coroutine.resume(coroutine.create(function() | |
899 | if EYE ~= nil and PUPIL ~= nil then | |
900 | for i = 1, 5 do | |
901 | Swait() | |
902 | EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0, 0.2, 0) | |
903 | PUPIL.Mesh.Scale = PUPIL.Mesh.Scale - VT(0, 0.2, 0) | |
904 | end | |
905 | for i = 1, 7 do | |
906 | Swait() | |
907 | EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0, 0.2, 0) | |
908 | PUPIL.Mesh.Scale = PUPIL.Mesh.Scale + VT(0, 0.2, 0) | |
909 | end | |
910 | EYE.Mesh.Scale = VT(1, 1, 1) | |
911 | PUPIL.Mesh.Scale = VT(1, 1, 1) | |
912 | end | |
913 | end)) | |
914 | end | |
915 | ||
916 | local BODY = {} | |
917 | function Face() | |
918 | EYE = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "Eyeball", VT(0.15, 0.3, 0.15), false) | |
919 | MakeForm(EYE, "Ball") | |
920 | CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15, 0.26, -0.55), CF(0, 0, 0)) | |
921 | PUPIL = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "Eyeball", VT(0.05, 0.2, 0.05), false) | |
922 | PUPIL.Color = C3(0, 0, 0) | |
923 | MakeForm(PUPIL, "Ball") | |
924 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PUPIL, CF(0.15, 0.26, -0.6), CF(0, 0, 0)) | |
925 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(1.1,1,0.525),false) | |
926 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0)) | |
927 | MakeForm(Part,"Wedge") | |
928 | ||
929 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false) | |
930 | PRT.Color = C3(0,0,0) | |
931 | local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0)) | |
932 | CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0)) | |
933 | ||
934 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false) | |
935 | PRT.Color = C3(0,0,0) | |
936 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0)) | |
937 | CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0)) | |
938 | ||
939 | RightArm.Transparency = 1 | |
940 | local BasePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1,2,1),false) | |
941 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
942 | local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1.4,1.4,1.4),false) | |
943 | MakeForm(Sphere,"Ball") | |
944 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.2,0.8,0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
945 | local LaserPart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.3,0.3,0.1),false) | |
946 | MakeForm(LaserPart,"Ball") | |
947 | CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, LaserPart, CF(0,0,-0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
948 | local Bump = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.2),false) | |
949 | MakeForm(Bump,"Ball") | |
950 | CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Bump, CF(0,0,0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
951 | local BottomLaser = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.4,0,0.4),false) | |
952 | MakeForm(BottomLaser,"Cyl") | |
953 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, BottomLaser, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
954 | local Part1 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false) | |
955 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part1, CF(0,-0.76,-0.26) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
956 | local Part2 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false) | |
957 | CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part2, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, -0.25, 0)) | |
958 | local Part3 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false) | |
959 | CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part3, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0, -0.26, 0)) | |
960 | local Part4 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false) | |
961 | CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part4, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, -0.26, 0)) | |
962 | local Part5 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false) | |
963 | CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part5, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-125)), CF(0, -0.26, 0)) | |
964 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.25,0.5),false) | |
965 | CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, -0.26/2, 0)) | |
966 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.3,0.5),false) | |
967 | CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-65)), CF(0, -0.31/2, 0)) | |
968 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false) | |
969 | MakeForm(Part,"Cyl") | |
970 | CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0.035,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
971 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false) | |
972 | MakeForm(Part,"Cyl") | |
973 | CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0,-0.035,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0)) | |
974 | local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,1.6,0.7),false) | |
975 | MakeForm(Sphere,"Ball") | |
976 | CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.45,0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
977 | ||
978 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(1,1,1.2),false) | |
979 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
980 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(0.3,1.7,1.15),false) | |
981 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0)) | |
982 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(0.3,1.7,1.15),false) | |
983 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0)) | |
984 | local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(0.8,0.8,1.225),false) | |
985 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
986 | local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false) | |
987 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
988 | ||
989 | New = function(Object, Parent, Name, Data) | |
990 | local Object = Instance.new(Object) | |
991 | for Index, Value in pairs(Data or {}) do | |
992 | Object[Index] = Value | |
993 | end | |
994 | Object.Parent = Parent | |
995 | Object.Name = Name | |
996 | return Object | |
997 | end | |
998 | ||
999 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-67.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),}) | |
1000 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, 0.487541199, 0, 0, 1, 0, 1, 0, -1, 0, 0),}) | |
1001 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),}) | |
1002 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, -0.512458801, 0, 0, 1, 0, 1, 0, -1, 0, 0),}) | |
1003 | ||
1004 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.140000015, 0.0500000007),CFrame = CFrame.new(-67.6787415, 3.12643075, 92.6921463, -9.31322575e-10, -1.86264515e-09, -0.999999285, 0.777135551, 0.629333496, 9.31322575e-10, 0.6293329, -0.777134895, 0),}) | |
1005 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.766067505, 0.138611317, 0.515716553, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
1006 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.12999988, 1.12000012, 0.0500000007),CFrame = CFrame.new(-67.6951752, 3.43133378, 93.991272, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
1007 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.533157349, 0.443484068, 0.50994873, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
1008 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.450000018, 0.590000272, 0.0500000007),CFrame = CFrame.new(-67.6951752, 2.60608268, 94.3512573, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
1009 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.893096924, -0.381786108, 0.509513855, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
1010 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000013, 0.590000272, 0.0500000007),CFrame = CFrame.new(-66.6951752, 2.60608268, 94.2912598, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
1011 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.817497253, -0.388065577, -0.489402771, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
1012 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.220000237, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787338, 2.57395577, 93.9222183, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
1013 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.448242188, -0.420258999, -0.49987793, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
1014 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.07999992, 1.12000012, 0.0500000007),CFrame = CFrame.new(-66.6951752, 3.43133354, 93.9662704, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
1015 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.492546082, 0.437201023, -0.489517212, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
1016 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.340000302, 0.0500000007),CFrame = CFrame.new(-66.6787415, 3.2281816, 93.1287689, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),}) | |
1017 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(-0.345108032, 0.234031916, -0.491600037, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
1018 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.0999999, 0.0500000007, 1.00999975),CFrame = CFrame.new(-67.1759109, 3.99574399, 93.9762726, 0, -0.0260759834, -0.999659359, 0, 0.999660075, -0.0260760002, 0.999999225, -2.91038305e-11, -9.31322575e-10),}) | |
1019 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.0260760002, 0.999660015, 0, -0.999660015, -0.0260760002, 0),C1 = CFrame.new(0.510047913, 1.00462079, -0.0125579834, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),}) | |
1020 | ||
1021 | Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.419999987, 0.870000064),CFrame = CFrame.new(-67.0815201, 2.81366396, 91.9528885, 0, 0, -1, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, 0),}) | |
1022 | mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.00936126709, -0.184385061, -0.0693511963, 0, 0, 1, 0, 1, 0, -1, 0, 0),}) | |
1023 | ||
1024 | local LASTPART = Head | |
1025 | for i = 1, 30 do | |
1026 | local MATH = 1 - i / 40 | |
1027 | if LASTPART == Head then | |
1028 | local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false) | |
1029 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.5, 0.35, -0.15) * ANGLES(RAD(-15), RAD(15), RAD(-15)), CF(0, 0, 0)) | |
1030 | LASTPART = Horn | |
1031 | Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255) | |
1032 | local Aura = Instance.new('ParticleEmitter') | |
1033 | Aura.Name = "Aura" | |
1034 | Aura.Texture = "rbxassetid://242997264" | |
1035 | Aura.Parent = Horn | |
1036 | Aura.LightEmission = 0.8 | |
1037 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
1038 | Aura.Color = ColorSequence.new(Color3.new(1,0,0),Color3.new(0/1,0,0)) | |
1039 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
1040 | Aura.LockedToPart = true | |
1041 | Aura.Lifetime = NumberRange.new(2) | |
1042 | Aura.Rate = 25 | |
1043 | Aura.Speed = NumberRange.new(0.1) | |
1044 | Aura.EmissionDirection = "Top" | |
1045 | else | |
1046 | local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false) | |
1047 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y / 1.8, 0) * ANGLES(RAD(17), RAD(3), RAD(0)), CF(0, 0, 0)) | |
1048 | LASTPART = Horn | |
1049 | Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255) | |
1050 | local Aura = Instance.new('ParticleEmitter') | |
1051 | Aura.Name = "Aura" | |
1052 | Aura.Texture = "rbxassetid://242997264" | |
1053 | Aura.Parent = Horn | |
1054 | Aura.LightEmission = 0.8 | |
1055 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
1056 | Aura.Color = ColorSequence.new(Color3.new(1,0,0),Color3.new(0/1,0,0)) | |
1057 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
1058 | Aura.LockedToPart = true | |
1059 | Aura.Lifetime = NumberRange.new(2) | |
1060 | Aura.Rate = 25 | |
1061 | Aura.Speed = NumberRange.new(0.1) | |
1062 | Aura.EmissionDirection = "Top" | |
1063 | end | |
1064 | end | |
1065 | local LASTPART = Head | |
1066 | for i = 1, 30 do | |
1067 | local MATH = 1 - i / 40 | |
1068 | if LASTPART == Head then | |
1069 | local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false) | |
1070 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.5, 0.35, -0.15) * ANGLES(RAD(-15), RAD(-15), RAD(15)), CF(0, 0, 0)) | |
1071 | LASTPART = Horn | |
1072 | Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255) | |
1073 | local Aura = Instance.new('ParticleEmitter') | |
1074 | Aura.Name = "Aura" | |
1075 | Aura.Texture = "rbxassetid://242997264" | |
1076 | Aura.Parent = Horn | |
1077 | Aura.LightEmission = 0.8 | |
1078 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
1079 | Aura.Color = ColorSequence.new(Color3.new(1,0,0),Color3.new(0/1,0,0)) | |
1080 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
1081 | Aura.LockedToPart = true | |
1082 | Aura.Lifetime = NumberRange.new(2) | |
1083 | Aura.Rate = 25 | |
1084 | Aura.Speed = NumberRange.new(0.1) | |
1085 | Aura.EmissionDirection = "Top" | |
1086 | else | |
1087 | local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false) | |
1088 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y / 1.8, 0) * ANGLES(RAD(17), RAD(-3), RAD(0)), CF(0, 0, 0)) | |
1089 | LASTPART = Horn | |
1090 | Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255) | |
1091 | local Aura = Instance.new('ParticleEmitter') | |
1092 | Aura.Name = "Aura" | |
1093 | Aura.Texture = "rbxassetid://242997264" | |
1094 | Aura.Parent = Horn | |
1095 | Aura.LightEmission = 0.8 | |
1096 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
1097 | Aura.Color = ColorSequence.new(Color3.new(1,0,0),Color3.new(0/1,0,0)) | |
1098 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
1099 | Aura.LockedToPart = true | |
1100 | Aura.Lifetime = NumberRange.new(2) | |
1101 | Aura.Rate = 25 | |
1102 | Aura.Speed = NumberRange.new(0.1) | |
1103 | Aura.EmissionDirection = "Top" | |
1104 | end | |
1105 | end | |
1106 | BODY = {} | |
1107 | for _, c in pairs(Character:GetDescendants()) do | |
1108 | if c:IsA("BasePart") then | |
1109 | table.insert(BODY, { | |
1110 | c, | |
1111 | c.Parent, | |
1112 | c.Material, | |
1113 | c.Color | |
1114 | }) | |
1115 | elseif c:IsA("JointInstance") then | |
1116 | table.insert(BODY, { | |
1117 | c, | |
1118 | c.Parent, | |
1119 | nil, | |
1120 | nil | |
1121 | }) | |
1122 | end | |
1123 | end | |
1124 | end | |
1125 | ||
1126 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = | |
1127 | RightLeg, Emit = 100, Offset = 360, Enabled = true}) | |
1128 | PRT.LockedToPart = true | |
1129 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = | |
1130 | LeftLeg, Emit = 100, Offset = 360, Enabled = true}) | |
1131 | PRT.LockedToPart = true | |
1132 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = | |
1133 | Torso, Emit = 100, Offset = 360, Enabled = true}) | |
1134 | PRT.LockedToPart = true | |
1135 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = | |
1136 | RightArm, Emit = 100, Offset = 360, Enabled = true}) | |
1137 | PRT.LockedToPart = true | |
1138 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = | |
1139 | LeftArm, Emit = 100, Offset = 360, Enabled = true}) | |
1140 | PRT.LockedToPart = true | |
1141 | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = | |
1142 | Head, Emit = 100, Offset = 360, Enabled = true}) | |
1143 | PRT.LockedToPart = true | |
1144 | ||
1145 | function RightWing() | |
1146 | for i = 1, 2 do | |
1147 | local PART | |
1148 | local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.5, 0.5, 0.5), false) | |
1149 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(-15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-30 * i)), CF(0, 0, 0)) | |
1150 | table.insert(RWINGS, WingWeld) | |
1151 | PART = Wing | |
1152 | local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "LargeWing", VT(1, 1.7, 1), false) | |
1153 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0)) | |
1154 | PART = Wing | |
1155 | local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.5, 0.5, 0.5), false) | |
1156 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1157 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.2, 0.51), false) | |
1158 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0)) | |
1159 | PART = Wing | |
1160 | local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.2, 0.5, 0.2), false) | |
1161 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1162 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.8, 0.15, 0.15), false) | |
1163 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1164 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "WingPart", VT(0.25, 0.2, 0.25), false) | |
1165 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0)) | |
1166 | PART = Wing | |
1167 | table.insert(RWINGS, WingWeld) | |
1168 | local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.4, 0.5, 0.4), false) | |
1169 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0)) | |
1170 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "WingPart", VT(0.45, 0.2, 0.45), false) | |
1171 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0)) | |
1172 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.15, 0.15), false) | |
1173 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0)) | |
1174 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.1, 0.1), false) | |
1175 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0)) | |
1176 | PART = Wing | |
1177 | table.insert(RWINGS, WingWeld) | |
1178 | local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.2, 0.5, 0.2), false) | |
1179 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0)) | |
1180 | PART = Wing | |
1181 | local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.5, 0.5, 0.5), false) | |
1182 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(15), RAD(15)), CF(0, 0, 0)) | |
1183 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.3, 0.3), false) | |
1184 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0)) | |
1185 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "WingPart", VT(1, 0.2, 0.2), false) | |
1186 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0.15, 0)) | |
1187 | PART = Wing | |
1188 | table.insert(RWINGS, WingWeld) | |
1189 | local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false) | |
1190 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0)) | |
1191 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "WingPart", VT(0.3, 0.3, 0.3), false) | |
1192 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1193 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.7, 0.7, 0.7), false) | |
1194 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0)) | |
1195 | local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "WingPart", VT(0.45, 0.45, 0.45), false) | |
1196 | table.insert(EYES, Wing1) | |
1197 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0)) | |
1198 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.1, 0.1), false) | |
1199 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0)) | |
1200 | PART = Wing | |
1201 | table.insert(RWINGS, WingWeld) | |
1202 | end | |
1203 | BODY = {} | |
1204 | for _, c in pairs(Character:GetDescendants()) do | |
1205 | if c:IsA("BasePart") then | |
1206 | table.insert(BODY, { | |
1207 | c, | |
1208 | c.Parent, | |
1209 | c.Material, | |
1210 | c.Color | |
1211 | }) | |
1212 | elseif c:IsA("JointInstance") then | |
1213 | table.insert(BODY, { | |
1214 | c, | |
1215 | c.Parent, | |
1216 | nil, | |
1217 | nil | |
1218 | }) | |
1219 | end | |
1220 | end | |
1221 | end | |
1222 | function LeftWing() | |
1223 | for i = 1, 2 do | |
1224 | local PART | |
1225 | local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.5, 0.5, 0.5), false) | |
1226 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(-0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(30 * i)), CF(0, 0, 0)) | |
1227 | table.insert(LWINGS, WingWeld) | |
1228 | PART = Wing | |
1229 | local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "LargeWing", VT(1, 1.7, 1), false) | |
1230 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(-25), RAD(0)), CF(0, -0.8, 0)) | |
1231 | PART = Wing | |
1232 | local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.5, 0.5, 0.5), false) | |
1233 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1234 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.2, 0.51), false) | |
1235 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0)) | |
1236 | PART = Wing | |
1237 | local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.2, 0.5, 0.2), false) | |
1238 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1239 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.8, 0.15, 0.15), false) | |
1240 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1241 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "WingPart", VT(0.25, 0.2, 0.25), false) | |
1242 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0)) | |
1243 | PART = Wing | |
1244 | table.insert(LWINGS, WingWeld) | |
1245 | local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.4, 0.5, 0.4), false) | |
1246 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0)) | |
1247 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.45, 0.2, 0.45), false) | |
1248 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0)) | |
1249 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.15, 0.15), false) | |
1250 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0)) | |
1251 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.1, 0.1), false) | |
1252 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0)) | |
1253 | PART = Wing | |
1254 | table.insert(LWINGS, WingWeld) | |
1255 | local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.2, 0.5, 0.2), false) | |
1256 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0)) | |
1257 | PART = Wing | |
1258 | local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.5, 0.5, 0.5), false) | |
1259 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0)) | |
1260 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.3, 0.3), false) | |
1261 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0)) | |
1262 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "WingPart", VT(1, 0.2, 0.2), false) | |
1263 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0)) | |
1264 | PART = Wing | |
1265 | table.insert(LWINGS, WingWeld) | |
1266 | local Wing = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false) | |
1267 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0)) | |
1268 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "WingPart", VT(0.3, 0.3, 0.3), false) | |
1269 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1270 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(0.7, 0.7, 0.7), false) | |
1271 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0)) | |
1272 | local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "WingPart", VT(0.45, 0.45, 0.45), false) | |
1273 | table.insert(EYES, Wing1) | |
1274 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0)) | |
1275 | local Wing1 = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "WingPart", VT(1, 0.1, 0.1), false) | |
1276 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0)) | |
1277 | PART = Wing | |
1278 | table.insert(LWINGS, WingWeld) | |
1279 | end | |
1280 | BODY = {} | |
1281 | for _, c in pairs(Character:GetDescendants()) do | |
1282 | if c:IsA("BasePart") then | |
1283 | table.insert(BODY, { | |
1284 | c, | |
1285 | c.Parent, | |
1286 | c.Material, | |
1287 | c.Color | |
1288 | }) | |
1289 | elseif c:IsA("JointInstance") then | |
1290 | table.insert(BODY, { | |
1291 | c, | |
1292 | c.Parent, | |
1293 | nil, | |
1294 | nil | |
1295 | }) | |
1296 | end | |
1297 | end | |
1298 | end | |
1299 | for _, c in pairs(Weapon:GetChildren()) do | |
1300 | if c.ClassName == "Part" then | |
1301 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1302 | end | |
1303 | end | |
1304 | for _, c in pairs(Character:GetDescendants()) do | |
1305 | if c:IsA("BasePart") then | |
1306 | table.insert(BODY, { | |
1307 | c, | |
1308 | c.Parent, | |
1309 | c.Material, | |
1310 | c.Color | |
1311 | }) | |
1312 | elseif c:IsA("JointInstance") then | |
1313 | table.insert(BODY, { | |
1314 | c, | |
1315 | c.Parent, | |
1316 | nil, | |
1317 | nil | |
1318 | }) | |
1319 | end | |
1320 | end | |
1321 | for e = 1, #BODY do | |
1322 | if BODY[e] ~= nil then | |
1323 | do | |
1324 | local STUFF = BODY[e] | |
1325 | local PART = STUFF[1] | |
1326 | local PARENT = STUFF[2] | |
1327 | local MATERIAL = STUFF[3] | |
1328 | local COLOR = STUFF[4] | |
1329 | PART.AncestryChanged:Connect(function() | |
1330 | if PART.ClassName == "Part" then | |
1331 | PART.Material = MATERIAL | |
1332 | PART.Color = COLOR | |
1333 | end | |
1334 | PART.Parent = PARENT | |
1335 | end) | |
1336 | end | |
1337 | end | |
1338 | end | |
1339 | function refit() | |
1340 | Weapon.Parent = Character | |
1341 | Character.Parent = workspace | |
1342 | for e = 1, #BODY do | |
1343 | if BODY[e] ~= nil then | |
1344 | local STUFF = BODY[e] | |
1345 | local PART = STUFF[1] | |
1346 | local PARENT = STUFF[2] | |
1347 | local MATERIAL = STUFF[3] | |
1348 | local COLOR = STUFF[4] | |
1349 | if PART.Parent ~= PARENT then | |
1350 | Humanoid:remove() | |
1351 | if PART.ClassName == "Part" then | |
1352 | PART.Material = MATERIAL | |
1353 | PART.Color = COLOR | |
1354 | end | |
1355 | PART.Parent = PARENT | |
1356 | Humanoid = IT("Humanoid", Character) | |
1357 | end | |
1358 | end | |
1359 | end | |
1360 | end | |
1361 | local SKILLTEXTCOLOR = C3(0, 0, 0) | |
1362 | local SKILLTEXTCOLOR2 = C3(1, 0, 0) | |
1363 | local SKILLFONT = "Antique" | |
1364 | local SKILLTEXTSIZE = 8 | |
1365 | Weapon.Parent = Character | |
1366 | Humanoid.Died:connect(function() | |
1367 | refit() | |
1368 | end) | |
1369 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 1 Frame") | |
1370 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 2 Frame") | |
1371 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 3 Frame") | |
1372 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 4 Frame") | |
1373 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 5 Frame") | |
1374 | local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 6 Frame") | |
1375 | local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 7 Frame") | |
1376 | ||
1377 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Neck Snap", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1") | |
1378 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Imperfect Command", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2") | |
1379 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Fire At Will", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3") | |
1380 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[E] Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 4") | |
1381 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[F] Eliminate", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 5") | |
1382 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Q] Orb of Ultimate Destruction", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 6") | |
1383 | local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[P] Demon Form", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 7") | |
1384 | ||
1385 | function StatLabel(CFRAME, TEXT, COLOR) | |
1386 | local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT()) | |
1387 | STATPART.CFrame = CF(CFRAME.p, CFRAME.p + VT(MRANDOM(-5, 5), MRANDOM(0, 5), MRANDOM(-5, 5))) | |
1388 | local BODYGYRO = IT("BodyGyro", STATPART) | |
1389 | game:GetService("Debris"):AddItem(STATPART, 5) | |
1390 | local BILLBOARDGUI = Instance.new("BillboardGui", STATPART) | |
1391 | BILLBOARDGUI.Adornee = STATPART | |
1392 | BILLBOARDGUI.Size = UD2(2.5, 0, 2.5, 0) | |
1393 | BILLBOARDGUI.StudsOffset = VT(-2, 2, 0) | |
1394 | BILLBOARDGUI.AlwaysOnTop = false | |
1395 | local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI) | |
1396 | TEXTLABEL.BackgroundTransparency = 1 | |
1397 | TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0) | |
1398 | TEXTLABEL.Text = TEXT | |
1399 | TEXTLABEL.Font = SKILLFONT | |
1400 | TEXTLABEL.FontSize = "Size42" | |
1401 | TEXTLABEL.TextColor3 = COLOR | |
1402 | TEXTLABEL.TextStrokeTransparency = 0 | |
1403 | TEXTLABEL.TextScaled = true | |
1404 | TEXTLABEL.TextWrapped = true | |
1405 | coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL) | |
1406 | for i = 1, 50 do | |
1407 | Swait() | |
1408 | STATPART.CFrame = STATPART.CFrame * CF(0, 0, -0.2) | |
1409 | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + 0.02 | |
1410 | TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency | |
1411 | end | |
1412 | THEPART.Parent = nil | |
1413 | end), STATPART, TEXTLABEL) | |
1414 | end | |
1415 | ||
1416 | --//=================================\\ | |
1417 | --|| text above head lel | |
1418 | --\\=================================// | |
1419 | ||
1420 | function chatfunc(text) | |
1421 | local chat = coroutine.wrap(function() | |
1422 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
1423 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
1424 | end | |
1425 | local Bill = Instance.new("BillboardGui",Character) | |
1426 | Bill.Size = UDim2.new(0,125,0,50) | |
1427 | Bill.StudsOffset = Vector3.new(0,1.5,0) | |
1428 | Bill.Adornee = Character.Head | |
1429 | Bill.Name = "TalkingBillBoard" | |
1430 | local Hehe = Instance.new("TextLabel",Bill) | |
1431 | Hehe.BackgroundTransparency = 1 | |
1432 | Hehe.BorderSizePixel = 0 | |
1433 | Hehe.Text = "" | |
1434 | Hehe.Font = "Antique" | |
1435 | Hehe.TextSize = 50 | |
1436 | Hehe.TextStrokeTransparency = 0 | |
1437 | Hehe.Size = UDim2.new(1,0,0.5,0) | |
1438 | coroutine.resume(coroutine.create(function() | |
1439 | while Hehe ~= nil do | |
1440 | Swait() | |
1441 | Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
1442 | Hehe.Rotation = math.random(-5,5) | |
1443 | Hehe.TextColor3 = Color3.new(0,0,0) | |
1444 | Hehe.TextStrokeColor3 = BRICKC"Maroon".Color | |
1445 | end | |
1446 | end)) | |
1447 | for i = 1,string.len(text),1 do | |
1448 | Swait() | |
1449 | Hehe.Text = string.sub(text,1,i) | |
1450 | end | |
1451 | Swait(90)--Re[math.random(1, 93)] | |
1452 | for i = 0, 1, .025 do | |
1453 | Swait() | |
1454 | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) | |
1455 | Hehe.TextStrokeTransparency = i | |
1456 | Hehe.TextTransparency = i | |
1457 | end | |
1458 | Bill:Destroy() | |
1459 | end) | |
1460 | chat() | |
1461 | end | |
1462 | ||
1463 | function onChatted(msg) | |
1464 | chatfunc(msg) | |
1465 | end | |
1466 | ||
1467 | Player.Chatted:connect(onChatted) | |
1468 | ||
1469 | function Ragdoll(Character2, CharTorso, Headless, Velocity) | |
1470 | local svch = Character2 | |
1471 | Character2:BreakJoints() | |
1472 | local hum = Character2:findFirstChild("Humanoid") | |
1473 | local q = Character2:GetChildren() | |
1474 | local CLONE = IT("Model", Effects) | |
1475 | for i = 1, #q do | |
1476 | if q[i].ClassName == "Accessory" and Headless == true then | |
1477 | q[i]:remove() | |
1478 | elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then | |
1479 | q[i].Parent = CLONE | |
1480 | elseif q[i].ClassName ~= "Humanoid" then | |
1481 | q[i]:remove() | |
1482 | end | |
1483 | end | |
1484 | local chrclone = CLONE | |
1485 | local ch = chrclone:GetChildren() | |
1486 | local i | |
1487 | for i = 1, #ch do | |
1488 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then | |
1489 | ch[i]:remove() | |
1490 | end | |
1491 | end | |
1492 | local function Scan(ch) | |
1493 | local e | |
1494 | for e = 1, #ch do | |
1495 | Scan(ch[e]:GetChildren()) | |
1496 | if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then | |
1497 | ch[e]:remove() | |
1498 | end | |
1499 | end | |
1500 | end | |
1501 | Character2:remove() | |
1502 | local NEWHUM = IT("Humanoid") | |
1503 | NEWHUM.Name = "Corpse" | |
1504 | NEWHUM.Health = 0 | |
1505 | NEWHUM.MaxHealth = 0 | |
1506 | NEWHUM.PlatformStand = true | |
1507 | NEWHUM.Parent = CLONE | |
1508 | NEWHUM.DisplayDistanceType = "None" | |
1509 | Scan(chrclone:GetChildren()) | |
1510 | local ch = Character2:GetChildren() | |
1511 | local i | |
1512 | for i = 1, #ch do | |
1513 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
1514 | ch[i]:remove() | |
1515 | end | |
1516 | end | |
1517 | local ch = Character2:GetChildren() | |
1518 | local i | |
1519 | for i = 1, #ch do | |
1520 | if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
1521 | ch[i]:remove() | |
1522 | end | |
1523 | end | |
1524 | Character2 = chrclone | |
1525 | local Torso2 = Character2.Torso | |
1526 | local movevector = Vector3.new() | |
1527 | if Torso2 then | |
1528 | movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector | |
1529 | local Head = Character2:FindFirstChild("Head") | |
1530 | if Head then | |
1531 | local Neck = Instance.new("Weld") | |
1532 | Neck.Name = "Neck" | |
1533 | Neck.Part0 = Torso2 | |
1534 | Neck.Part1 = Head | |
1535 | Neck.C0 = CFrame.new(0, 1.5, 0) | |
1536 | Neck.C1 = CFrame.new() | |
1537 | Neck.Parent = Torso2 | |
1538 | if Headless == true then | |
1539 | Head.Transparency = 1 | |
1540 | Head:ClearAllChildren() | |
1541 | end | |
1542 | end | |
1543 | local Limb = Character2:FindFirstChild("Right Arm") | |
1544 | if Limb then | |
1545 | Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0) | |
1546 | local Joint = Instance.new("Glue") | |
1547 | Joint.Name = "RightShoulder" | |
1548 | Joint.Part0 = Torso2 | |
1549 | Joint.Part1 = Limb | |
1550 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1551 | Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1552 | Joint.Parent = Torso2 | |
1553 | local B = Instance.new("Part") | |
1554 | B.TopSurface = 0 | |
1555 | B.BottomSurface = 0 | |
1556 | B.formFactor = "Symmetric" | |
1557 | B.Size = Vector3.new(1, 1, 1) | |
1558 | B.Transparency = 1 | |
1559 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
1560 | B.Parent = Character2 | |
1561 | local W = Instance.new("Weld") | |
1562 | W.Part0 = Limb | |
1563 | W.Part1 = B | |
1564 | W.C0 = CFrame.new(0, -0.5, 0) | |
1565 | W.Parent = Limb | |
1566 | end | |
1567 | local Limb = Character2:FindFirstChild("Left Arm") | |
1568 | if Limb then | |
1569 | Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0) | |
1570 | local Joint = Instance.new("Glue") | |
1571 | Joint.Name = "LeftShoulder" | |
1572 | Joint.Part0 = Torso2 | |
1573 | Joint.Part1 = Limb | |
1574 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1575 | Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1576 | Joint.Parent = Torso2 | |
1577 | local B = Instance.new("Part") | |
1578 | B.TopSurface = 0 | |
1579 | B.BottomSurface = 0 | |
1580 | B.formFactor = "Symmetric" | |
1581 | B.Size = Vector3.new(1, 1, 1) | |
1582 | B.Transparency = 1 | |
1583 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
1584 | B.Parent = Character2 | |
1585 | local W = Instance.new("Weld") | |
1586 | W.Part0 = Limb | |
1587 | W.Part1 = B | |
1588 | W.C0 = CFrame.new(0, -0.5, 0) | |
1589 | W.Parent = Limb | |
1590 | end | |
1591 | local Limb = Character2:FindFirstChild("Right Leg") | |
1592 | if Limb then | |
1593 | Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0) | |
1594 | local Joint = Instance.new("Glue") | |
1595 | Joint.Name = "RightHip" | |
1596 | Joint.Part0 = Torso2 | |
1597 | Joint.Part1 = Limb | |
1598 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1599 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1600 | Joint.Parent = Torso2 | |
1601 | local B = Instance.new("Part") | |
1602 | B.TopSurface = 0 | |
1603 | B.BottomSurface = 0 | |
1604 | B.formFactor = "Symmetric" | |
1605 | B.Size = Vector3.new(1, 1, 1) | |
1606 | B.Transparency = 1 | |
1607 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
1608 | B.Parent = Character2 | |
1609 | local W = Instance.new("Weld") | |
1610 | W.Part0 = Limb | |
1611 | W.Part1 = B | |
1612 | W.C0 = CFrame.new(0, -0.5, 0) | |
1613 | W.Parent = Limb | |
1614 | end | |
1615 | local Limb = Character2:FindFirstChild("Left Leg") | |
1616 | if Limb then | |
1617 | Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0) | |
1618 | local Joint = Instance.new("Glue") | |
1619 | Joint.Name = "LeftHip" | |
1620 | Joint.Part0 = Torso2 | |
1621 | Joint.Part1 = Limb | |
1622 | Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1623 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1624 | Joint.Parent = Torso2 | |
1625 | local B = Instance.new("Part") | |
1626 | B.TopSurface = 0 | |
1627 | B.BottomSurface = 0 | |
1628 | B.formFactor = "Symmetric" | |
1629 | B.Size = Vector3.new(1, 1, 1) | |
1630 | B.Transparency = 1 | |
1631 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
1632 | B.Parent = Character2 | |
1633 | local W = Instance.new("Weld") | |
1634 | W.Part0 = Limb | |
1635 | W.Part1 = B | |
1636 | W.C0 = CFrame.new(0, -0.5, 0) | |
1637 | W.Parent = Limb | |
1638 | end | |
1639 | local Bar = Instance.new("Part") | |
1640 | Bar.TopSurface = 0 | |
1641 | Bar.BottomSurface = 0 | |
1642 | Bar.formFactor = "Symmetric" | |
1643 | Bar.Size = Vector3.new(1, 1, 1) | |
1644 | Bar.Transparency = 1 | |
1645 | Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0) | |
1646 | Bar.Parent = Character2 | |
1647 | local Weld = Instance.new("Weld") | |
1648 | Weld.Part0 = Torso2 | |
1649 | Weld.Part1 = Bar | |
1650 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
1651 | Weld.Parent = Torso2 | |
1652 | end | |
1653 | Character2.Parent = Weapon | |
1654 | if movevector ~= Vector3.new() then | |
1655 | for i = 1, 10 do | |
1656 | Torso2.Velocity = movevector * Velocity | |
1657 | end | |
1658 | end | |
1659 | Character2.Name = "Corpse" | |
1660 | return Character2, Torso2 | |
1661 | end | |
1662 | function PuddleOfBlood(Position, MaxDrop, Model, MaxSize) | |
1663 | local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model) | |
1664 | if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then | |
1665 | if HITFLOOR.Name == "BloodPuddle" then | |
1666 | local DIST = (Position - HITFLOOR.Position).Magnitude | |
1667 | if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then | |
1668 | HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1) | |
1669 | end | |
1670 | elseif HITFLOOR.Anchored == true then | |
1671 | do | |
1672 | local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(2, 0, 2)) | |
1673 | BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
1674 | MakeForm(BLOOD, "Cyl") | |
1675 | coroutine.resume(coroutine.create(function() | |
1676 | Swait(75) | |
1677 | while true do | |
1678 | Swait() | |
1679 | BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02) | |
1680 | if BLOOD.Size.Z < 0.051 then | |
1681 | BLOOD:remove() | |
1682 | break | |
1683 | end | |
1684 | end | |
1685 | end)) | |
1686 | end | |
1687 | end | |
1688 | end | |
1689 | end | |
1690 | function SprayBlood(POSITION, DIRECTION, BloodSize) | |
1691 | local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1, 1, 1), false) | |
1692 | BLOOD.CFrame = CF(POSITION) | |
1693 | MakeForm(BLOOD, "Ball") | |
1694 | local bv = Instance.new("BodyVelocity", BLOOD) | |
1695 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
1696 | bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25 | |
1697 | bv.Name = "MOVE" | |
1698 | Debris:AddItem(bv, 0.05) | |
1699 | coroutine.resume(coroutine.create(function() | |
1700 | local HASTOUCHEDGROUND = false | |
1701 | local HIT = BLOOD.Touched:Connect(function(hit) | |
1702 | if hit.Anchored == true then | |
1703 | HASTOUCHEDGROUND = true | |
1704 | PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize) | |
1705 | end | |
1706 | end) | |
1707 | wait(5) | |
1708 | if HASTOUCHEDGROUND == false then | |
1709 | BLOOD:remove() | |
1710 | end | |
1711 | end)) | |
1712 | end | |
1713 | function ApplyDamage(Humanoid, Damage, TorsoPart) | |
1714 | local defence = Instance.new("BoolValue", Humanoid.Parent) | |
1715 | defence.Name = "HitBy" .. Player.Name | |
1716 | game:GetService("Debris"):AddItem(defence, 0.001) | |
1717 | Damage = Damage * DAMAGEMULTIPLIER | |
1718 | if Humanoid.Health ~= 0 then | |
1719 | local CritChance = MRANDOM(1, 100) | |
1720 | if Damage > Humanoid.Health then | |
1721 | Damage = math.ceil(Humanoid.Health) | |
1722 | if Damage == 0 then | |
1723 | Damage = 0.1 | |
1724 | end | |
1725 | end | |
1726 | Humanoid.Health = Humanoid.Health - Damage | |
1727 | StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0)) | |
1728 | end | |
1729 | end | |
1730 | ||
1731 | function Petrify(Foe) | |
1732 | local STONEMODEL = IT("Model", Effects) | |
1733 | local CHILDREN = Foe:GetDescendants() | |
1734 | for index, CHILD in pairs(CHILDREN) do | |
1735 | if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then | |
1736 | CHILD.Parent = STONEMODEL | |
1737 | CHILD.Material = "Slate" | |
1738 | CHILD.Color = C3(1, 0, 0) | |
1739 | if CHILD:FindFirstChildOfClass("SpecialMesh") then | |
1740 | local mesh = CHILD:FindFirstChildOfClass("SpecialMesh") | |
1741 | mesh.TextureId = "" | |
1742 | end | |
1743 | if CHILD:FindFirstChildOfClass("Decal") then | |
1744 | local mesh = CHILD:FindFirstChildOfClass("Decal") | |
1745 | mesh:remove() | |
1746 | end | |
1747 | if CHILD.ClassName == "MeshPart" then | |
1748 | CHILD.TextureID = "" | |
1749 | end | |
1750 | if CHILD.ClassName == "UnionOperation" then | |
1751 | CHILD.UsePartColor = true | |
1752 | end | |
1753 | CHILD.CanCollide = true | |
1754 | end | |
1755 | end | |
1756 | Debris:AddItem(STONEMODEL, 5) | |
1757 | end | |
1758 | ||
1759 | function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL) | |
1760 | local CHILDREN = workspace:GetDescendants() | |
1761 | for index, CHILD in pairs(CHILDREN) do | |
1762 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
1763 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
1764 | if HUM then | |
1765 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1766 | if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then | |
1767 | if INSTAKILL == true then | |
1768 | Petrify(CHILD) | |
1769 | else | |
1770 | local DMG = MRANDOM(MINDMG, MAXDMG) | |
1771 | ApplyDamage(HUM, DMG, TORSO) | |
1772 | end | |
1773 | if FLING > 0 then | |
1774 | for _, c in pairs(CHILD:GetChildren()) do | |
1775 | if c:IsA("BasePart") then | |
1776 | local bv = Instance.new("BodyVelocity") | |
1777 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
1778 | bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING | |
1779 | bv.Parent = c | |
1780 | Debris:AddItem(bv, 0.05) | |
1781 | end | |
1782 | end | |
1783 | end | |
1784 | end | |
1785 | end | |
1786 | end | |
1787 | end | |
1788 | end | |
1789 | ||
1790 | function Intro() | |
1791 | coroutine.resume(coroutine.create(function() | |
1792 | INTROING = true | |
1793 | Rooted = true | |
1794 | CHOICE = MRANDOM (1,3) | |
1795 | FINISHEDINTRO = true | |
1796 | Head.Transparency = 1 | |
1797 | Torso.Transparency = 1 | |
1798 | LeftArm.Transparency = 1 | |
1799 | RightArm.Transparency = 1 | |
1800 | LeftLeg.Transparency = 1 | |
1801 | RightLeg.Transparency = 1 | |
1802 | repeat | |
1803 | Swait() | |
1804 | until sick.TimePosition > 1 | |
1805 | for i = 1, 5 do | |
1806 | WACKYEFFECT({ | |
1807 | EffectType = "Sphere", | |
1808 | Size = VT(3, 3, 3), | |
1809 | Size2 = VT(0, 5, 0), | |
1810 | Transparency = 0.5, | |
1811 | Transparency2 = 1, | |
1812 | CFrame = Torso.CFrame, | |
1813 | MoveToPos = Torso.CFrame * CF(15, -5 + i * 3, 1).p, | |
1814 | RotationX = MRANDOM(-5, 5), | |
1815 | RotationY = MRANDOM(-5, 5), | |
1816 | RotationZ = MRANDOM(-5, 5), | |
1817 | Material = "Neon", | |
1818 | Color = C3(1, 0, 0), | |
1819 | SoundID = nil, | |
1820 | SoundPitch = nil, | |
1821 | SoundVolume = nil | |
1822 | }) | |
1823 | end | |
1824 | RightWing() | |
1825 | repeat | |
1826 | Swait() | |
1827 | until sick.TimePosition > 1.8 | |
1828 | for i = 1, 5 do | |
1829 | WACKYEFFECT({ | |
1830 | EffectType = "Sphere", | |
1831 | Size = VT(3, 3, 3), | |
1832 | Size2 = VT(0, 5, 0), | |
1833 | Transparency = 0.5, | |
1834 | Transparency2 = 1, | |
1835 | CFrame = Torso.CFrame, | |
1836 | MoveToPos = Torso.CFrame * CF(-15, -5 + i * 3, 1).p, | |
1837 | RotationX = MRANDOM(-5, 5), | |
1838 | RotationY = MRANDOM(-5, 5), | |
1839 | RotationZ = MRANDOM(-5, 5), | |
1840 | Material = "Neon", | |
1841 | Color = C3(1, 0, 0), | |
1842 | SoundID = nil, | |
1843 | SoundPitch = nil, | |
1844 | SoundVolume = nil | |
1845 | }) | |
1846 | end | |
1847 | LeftWing() | |
1848 | repeat | |
1849 | Swait() | |
1850 | until sick.TimePosition > 3.5 | |
1851 | for i = 1, 6 do | |
1852 | WACKYEFFECT({ | |
1853 | EffectType = "Sphere", | |
1854 | Size = VT(1.5, 1.5, 1.5), | |
1855 | Size2 = VT(4, 4, 4) * i, | |
1856 | Transparency = 0, | |
1857 | Transparency2 = 1, | |
1858 | CFrame = Head.CFrame, | |
1859 | MoveToPos = nil, | |
1860 | RotationX = 0, | |
1861 | RotationY = 0, | |
1862 | RotationZ = 0, | |
1863 | Material = "Neon", | |
1864 | Color = C3(1, 0, 0), | |
1865 | SoundID = nil, | |
1866 | SoundPitch = nil, | |
1867 | SoundVolume = nil | |
1868 | }) | |
1869 | end | |
1870 | Head.Transparency = 0 | |
1871 | Face() | |
1872 | wait(0.5) | |
1873 | for i = 1, 100 do | |
1874 | Swait() | |
1875 | Torso.Transparency = 1 - i / 100 | |
1876 | LeftArm.Transparency = 1 - i / 100 | |
1877 | RightArm.Transparency = 1 - i / 100 | |
1878 | LeftLeg.Transparency = 1 - i / 100 | |
1879 | RightLeg.Transparency = 1 - i / 100 | |
1880 | Humanoid.DisplayDistanceType = "None" | |
1881 | local naeeym2 = IT("BillboardGui",Character) | |
1882 | naeeym2.AlwaysOnTop = true | |
1883 | naeeym2.Size = UDim2.new(7,50,4,25) | |
1884 | naeeym2.StudsOffset = Vector3.new(0,4,0) | |
1885 | naeeym2.MaxDistance = 200 | |
1886 | naeeym2.Adornee = Character.Head | |
1887 | naeeym2.Name = "Name" | |
1888 | local tecks2 = IT("TextLabel",naeeym2) | |
1889 | tecks2.BackgroundTransparency = 1 | |
1890 | tecks2.TextScaled = true | |
1891 | tecks2.BorderSizePixel = 0 | |
1892 | tecks2.Text = Character.Name | |
1893 | tecks2.Font = "Antique" | |
1894 | tecks2.TextSize = 50 | |
1895 | tecks2.TextStrokeTransparency = 0 | |
1896 | tecks2.TextColor3 = BRICKC"Maroon".Color | |
1897 | tecks2.TextStrokeColor3 = C3(0,0,0) | |
1898 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1899 | tecks2.Parent = naeeym2 | |
1900 | ||
1901 | Humanoid.DisplayDistanceType = "None" | |
1902 | local naeeym3 = IT("BillboardGui",Character) | |
1903 | naeeym3.AlwaysOnTop = true | |
1904 | naeeym3.Size = UDim2.new(5,30,2,15) | |
1905 | naeeym3.StudsOffset = Vector3.new(0,2.5,0) | |
1906 | naeeym3.MaxDistance = 200 | |
1907 | naeeym3.Adornee = Character.Head | |
1908 | naeeym3.Name = "Name" | |
1909 | local tecks3 = IT("TextLabel",naeeym3) | |
1910 | tecks3.BackgroundTransparency = 1 | |
1911 | tecks3.TextScaled = true | |
1912 | tecks3.BorderSizePixel = 0 | |
1913 | tecks3.Text = "God of Destruction" | |
1914 | tecks3.Font = "Fantasy" | |
1915 | tecks3.TextSize = 50 | |
1916 | tecks3.TextStrokeTransparency = 1 | |
1917 | tecks3.TextColor3 = Color3.new(0,0,0) | |
1918 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
1919 | tecks3.Parent = naeeym3 | |
1920 | end | |
1921 | FINISHEDINTRO = true | |
1922 | Rooted = false | |
1923 | end)) | |
1924 | end | |
1925 | ||
1926 | function Warp() | |
1927 | ATTACK = true | |
1928 | Rooted = false | |
1929 | for i=0, 0.5, 0.1 / Animation_Speed do | |
1930 | Swait() | |
1931 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1932 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed) | |
1933 | end | |
1934 | for e = 1, #BODY do | |
1935 | if BODY[e] ~= nil then | |
1936 | local STUFF = BODY[e] | |
1937 | local PART = STUFF[1] | |
1938 | if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then | |
1939 | local PRT = PART:Clone() | |
1940 | PRT.Anchored = true | |
1941 | PRT.CanCollide = false | |
1942 | PRT.Material = "Neon" | |
1943 | PRT.Color = C3(1,0,0) | |
1944 | PRT.Name = "WarpEffect" | |
1945 | PRT.Parent = Effects | |
1946 | PRT.CFrame = PART.CFrame | |
1947 | PRT:BreakJoints() | |
1948 | if PRT:FindFirstChildOfClass("Sound") then | |
1949 | PRT:FindFirstChildOfClass("Sound"):remove() | |
1950 | end | |
1951 | if PRT:FindFirstChildOfClass("Decal") then | |
1952 | PRT:FindFirstChildOfClass("Decal"):remove() | |
1953 | end | |
1954 | coroutine.resume(coroutine.create(function() | |
1955 | for i = 1, 100 do | |
1956 | Swait() | |
1957 | PRT.Transparency = PRT.Transparency + 1/100 | |
1958 | end | |
1959 | PRT:remove() | |
1960 | end)) | |
1961 | end | |
1962 | end | |
1963 | end | |
1964 | local POS = RootPart.Orientation | |
1965 | RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0)) | |
1966 | RootPart.Orientation = POS | |
1967 | RootJoint.Parent = RootPart | |
1968 | for i=0, 0.5, 0.1 / Animation_Speed do | |
1969 | Swait() | |
1970 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1971 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed) | |
1972 | end | |
1973 | for i=0, 0.1, 0.1 / Animation_Speed do | |
1974 | Swait() | |
1975 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
1976 | end | |
1977 | ATTACK = false | |
1978 | Rooted = false | |
1979 | end | |
1980 | ||
1981 | function Neck_Snap() | |
1982 | ATTACK = true | |
1983 | Rooted = false | |
1984 | local TARGET, HUM, WLD | |
1985 | local HIT = RightArm.Touched:Connect(function(hit) | |
1986 | if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then | |
1987 | local H = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1988 | if H.Health > 0 then | |
1989 | local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
1990 | if TORSO then | |
1991 | HUM = H | |
1992 | TARGET = TORSO | |
1993 | H.PlatformStand = true | |
1994 | CreateSound("260411131", TORSO, 10, 1) | |
1995 | WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1996 | end | |
1997 | end | |
1998 | end | |
1999 | end) | |
2000 | for i = 0, 1, 0.1 / Animation_Speed do | |
2001 | Swait() | |
2002 | if TARGET ~= nil then | |
2003 | break | |
2004 | end | |
2005 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
2006 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed) | |
2007 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2008 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2009 | if ANIM == "Idle" then | |
2010 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2011 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2012 | elseif ANIM == "Walk" then | |
2013 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2014 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2015 | elseif ANIM == "Jump" or ANIM == "Fall" then | |
2016 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2017 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2018 | end | |
2019 | end | |
2020 | HIT:disconnect() | |
2021 | if TARGET ~= nil then | |
2022 | if TARGET.Name == "Torso" then | |
2023 | for i = 0, 2, 0.1 / Animation_Speed do | |
2024 | Swait() | |
2025 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2026 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2027 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2028 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2029 | if ANIM == "Idle" then | |
2030 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2031 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2032 | elseif ANIM == "Walk" then | |
2033 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2034 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2035 | elseif ANIM == "Jump" or ANIM == "Fall" then | |
2036 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2037 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2038 | end | |
2039 | end | |
2040 | WLD:remove() | |
2041 | local HEAD = TARGET.Parent:FindFirstChild("Head") | |
2042 | if HEAD then | |
2043 | UNANCHOR = false | |
2044 | RootPart.Anchored = true | |
2045 | local HD = HEAD:Clone() | |
2046 | HD.Name = "FakeHead" | |
2047 | for i = 1, 7 do | |
2048 | SprayBlood(TARGET.CFrame * CF(0, TARGET.Size.Y / 2, 0).p, TARGET.CFrame * CF(MRANDOM(25, 55), MRANDOM(-25, 25), MRANDOM(25, 55)).p, 15) | |
2049 | end | |
2050 | local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0) | |
2051 | local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
2052 | HD.Parent = RAGDOLL | |
2053 | CreateSound("264486467", RAGTORSO, 10, 1) | |
2054 | local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
2055 | for i = 0, 2, 0.1 / Animation_Speed do | |
2056 | Swait() | |
2057 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2058 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2059 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2060 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2061 | if ANIM == "Idle" then | |
2062 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2063 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2064 | elseif ANIM == "Walk" then | |
2065 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2066 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2067 | elseif ANIM == "Jump" or ANIM == "Fall" then | |
2068 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2069 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2070 | end | |
2071 | end | |
2072 | HEADWELD:remove() | |
2073 | for i = 0, 0.5, 0.1 / Animation_Speed do | |
2074 | Swait() | |
2075 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2076 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2077 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2078 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2079 | if ANIM == "Idle" then | |
2080 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2081 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2082 | elseif ANIM == "Walk" then | |
2083 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2084 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2085 | elseif ANIM == "Jump" or ANIM == "Fall" then | |
2086 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2087 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2088 | end | |
2089 | end | |
2090 | CreateSound("907333406", Torso, 10, 1) | |
2091 | for i = 0, 0.25, 0.1 / Animation_Speed do | |
2092 | Swait() | |
2093 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2094 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2095 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2096 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2097 | if ANIM == "Idle" then | |
2098 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2099 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2100 | elseif ANIM == "Walk" then | |
2101 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2102 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2103 | elseif ANIM == "Jump" or ANIM == "Fall" then | |
2104 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2105 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2106 | end | |
2107 | end | |
2108 | RAGWELD:remove() | |
2109 | local bv = Instance.new("BodyVelocity") | |
2110 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
2111 | bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75 | |
2112 | bv.Parent = RAGTORSO | |
2113 | Debris:AddItem(bv, 0.05) | |
2114 | Debris:AddItem(RAGDOLL, 5) | |
2115 | for i = 0, 0.15, 0.1 / Animation_Speed do | |
2116 | Swait() | |
2117 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2118 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2119 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2120 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2121 | if ANIM == "Idle" then | |
2122 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2123 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2124 | elseif ANIM == "Walk" then | |
2125 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2126 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2127 | elseif ANIM == "Jump" or ANIM == "Fall" then | |
2128 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2129 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2130 | end | |
2131 | end | |
2132 | UNANCHOR = true | |
2133 | RootPart.Anchored = false | |
2134 | end | |
2135 | else | |
2136 | UNANCHOR = false | |
2137 | RootPart.Anchored = true | |
2138 | for i = 0, 0.5, 0.1 / Animation_Speed do | |
2139 | Swait() | |
2140 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2141 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2142 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2143 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2144 | if ANIM == "Idle" then | |
2145 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2146 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2147 | elseif ANIM == "Walk" then | |
2148 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2149 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2150 | elseif ANIM == "Jump" or ANIM == "Fall" then | |
2151 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2152 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2153 | end | |
2154 | end | |
2155 | for i = 0, 0.25, 0.1 / Animation_Speed do | |
2156 | Swait() | |
2157 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2158 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2159 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2160 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2161 | if ANIM == "Idle" then | |
2162 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2163 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2164 | elseif ANIM == "Walk" then | |
2165 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2166 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2167 | elseif ANIM == "Jump" or ANIM == "Fall" then | |
2168 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2169 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2170 | end | |
2171 | end | |
2172 | WLD:remove() | |
2173 | TARGET.Parent:BreakJoints() | |
2174 | for _, c in pairs(TARGET.Parent:GetChildren()) do | |
2175 | if c:IsA("BasePart") then | |
2176 | local bv = Instance.new("BodyVelocity") | |
2177 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
2178 | bv.velocity = CF(Torso.Position, c.Position).lookVector * 75 | |
2179 | bv.Parent = c | |
2180 | Debris:AddItem(bv, 0.05) | |
2181 | end | |
2182 | end | |
2183 | for i = 0, 0.15, 0.1 / Animation_Speed do | |
2184 | Swait() | |
2185 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2186 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2187 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2188 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2189 | if ANIM == "Idle" then | |
2190 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2191 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2192 | elseif ANIM == "Walk" then | |
2193 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2194 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2195 | elseif ANIM == "Jump" or ANIM == "Fall" then | |
2196 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2197 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2198 | end | |
2199 | end | |
2200 | UNANCHOR = true | |
2201 | RootPart.Anchored = false | |
2202 | end | |
2203 | end | |
2204 | ATTACK = false | |
2205 | Rooted = false | |
2206 | end | |
2207 | ||
2208 | function Taunt() | |
2209 | ATTACK = true | |
2210 | Rooted = true | |
2211 | CreateSound("865772398", Character, 10, 1) | |
2212 | chatfunc("Foolish Decision..") | |
2213 | for i=0, 1, 0.1 / Animation_Speed do | |
2214 | Swait() | |
2215 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2216 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2217 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2218 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2219 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2220 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2221 | end | |
2222 | for i=0, 2, 0.1 / Animation_Speed do | |
2223 | Swait() | |
2224 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2225 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2226 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2227 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2228 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2229 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2230 | end | |
2231 | ATTACK = false | |
2232 | Rooted = false | |
2233 | end | |
2234 | ||
2235 | function Taunt2() | |
2236 | ATTACK = true | |
2237 | Rooted = true | |
2238 | local SOUND = CreateSound("1359796082", Character, 10, 0.9) | |
2239 | Swait() | |
2240 | repeat | |
2241 | Swait() | |
2242 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2243 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2244 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2245 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2246 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2247 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2248 | until SOUND.Playing == false | |
2249 | ATTACK = false | |
2250 | Rooted = false | |
2251 | end | |
2252 | ||
2253 | function Imperfect_Command() | |
2254 | ATTACK = true | |
2255 | Rooted = true | |
2256 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
2257 | local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
2258 | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso") | |
2259 | if TORSO then | |
2260 | local GYRO = IT("BodyGyro", RootPart) | |
2261 | GYRO.D = 750 | |
2262 | GYRO.P = 2000 | |
2263 | GYRO.MaxTorque = VT(0, 40000, 0) | |
2264 | CreateSound("907330103", Torso, 10, 1) | |
2265 | for i = 0, 1.6, 0.1 / Animation_Speed do | |
2266 | Swait() | |
2267 | WACKYEFFECT({ | |
2268 | Time = 5, | |
2269 | EffectType = "Round Slash", | |
2270 | Size = VT(0, 0, 0), | |
2271 | Size2 = VT(0.01, 0, 0.01), | |
2272 | Transparency = 0.5, | |
2273 | Transparency2 = 1, | |
2274 | CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), | |
2275 | MoveToPos = nil, | |
2276 | RotationX = MRANDOM(-50, 50) / 10, | |
2277 | RotationY = MRANDOM(-50, 50) / 10, | |
2278 | RotationZ = MRANDOM(-50, 50) / 10, | |
2279 | Material = "Neon", | |
2280 | Color = C3(1, 0, 0), | |
2281 | SoundID = nil, | |
2282 | SoundPitch = nil, | |
2283 | SoundVolume = nil | |
2284 | }) | |
2285 | GYRO.cframe = CF(RootPart.Position, TORSO.Position) | |
2286 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed) | |
2287 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.2 / Animation_Speed) | |
2288 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(120), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-45)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
2289 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2290 | if ANIM == "Idle" then | |
2291 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2292 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2293 | elseif ANIM == "Walk" then | |
2294 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2295 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2296 | elseif ANIM == "Jump" or ANIM == "Fall" then | |
2297 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2298 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2299 | end | |
2300 | end | |
2301 | GYRO:remove() | |
2302 | for i = 1, 15 do | |
2303 | WACKYEFFECT({ | |
2304 | Time = MRANDOM(15, 85), | |
2305 | EffectType = "Round Slash", | |
2306 | Size = VT(0, 0, 0), | |
2307 | Size2 = VT(0.3, 0, 0.3), | |
2308 | Transparency = 0.5, | |
2309 | Transparency2 = 1, | |
2310 | CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), | |
2311 | MoveToPos = nil, | |
2312 | RotationX = MRANDOM(-50, 50) / 10, | |
2313 | RotationY = MRANDOM(-50, 50) / 10, | |
2314 | RotationZ = MRANDOM(-50, 50) / 10, | |
2315 | Material = "Neon", | |
2316 | Color = C3(1, 0, 0), | |
2317 | SoundID = nil, | |
2318 | SoundPitch = nil, | |
2319 | SoundVolume = nil | |
2320 | }) | |
2321 | end | |
2322 | local bv = Instance.new("BodyVelocity") | |
2323 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
2324 | bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5 | |
2325 | bv.Parent = TORSO | |
2326 | Debris:AddItem(bv, 0.05) | |
2327 | CreateSound("1222405264", TORSO, 10, 1) | |
2328 | Petrify(HUM.Parent) | |
2329 | for i = 0, 0.5, 0.1 / Animation_Speed do | |
2330 | Swait() | |
2331 | WACKYEFFECT({ | |
2332 | Time = 5, | |
2333 | EffectType = "Round Slash", | |
2334 | Size = VT(0, 0, 0), | |
2335 | Size2 = VT(0.01, 0, 0.01), | |
2336 | Transparency = 0.5, | |
2337 | Transparency2 = 1, | |
2338 | CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), | |
2339 | MoveToPos = nil, | |
2340 | RotationX = MRANDOM(-50, 50) / 10, | |
2341 | RotationY = MRANDOM(-50, 50) / 10, | |
2342 | RotationZ = MRANDOM(-50, 50) / 10, | |
2343 | Material = "Neon", | |
2344 | Color = C3(1, 0, 0), | |
2345 | SoundID = nil, | |
2346 | SoundPitch = nil, | |
2347 | SoundVolume = nil | |
2348 | }) | |
2349 | GYRO.cframe = CF(RootPart.Position, TORSO.Position) | |
2350 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
2351 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 2 / Animation_Speed) | |
2352 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 22), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2353 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2354 | if ANIM == "Idle" then | |
2355 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2356 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2357 | elseif ANIM == "Walk" then | |
2358 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2359 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2360 | elseif ANIM == "Jump" or ANIM == "Fall" then | |
2361 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2362 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2363 | end | |
2364 | end | |
2365 | end | |
2366 | end | |
2367 | ATTACK = false | |
2368 | Rooted = false | |
2369 | end | |
2370 | ||
2371 | function Perfect_Command() | |
2372 | ATTACK = true | |
2373 | Rooted = true | |
2374 | chatfunc("Weaklings...") | |
2375 | CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100)) | |
2376 | CreateSound("1368605755", Effects, 10, 1) | |
2377 | MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500)) | |
2378 | ApplyAoE(Torso.Position, 9999, 0, 0, 0, true) | |
2379 | ATTACK = true | |
2380 | Rooted = false | |
2381 | end | |
2382 | ||
2383 | function killnearest2(position,range,maxstrength) | |
2384 | for i,v in ipairs(workspace:GetChildren()) do | |
2385 | if v.ClassName == "Model" then | |
2386 | local body = v:GetChildren() | |
2387 | for part = 1, #body do | |
2388 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
2389 | if(body[part].Position - position).Magnitude < range then | |
2390 | if v.ClassName == "Model" then | |
2391 | v:BreakJoints() | |
2392 | end | |
2393 | --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2}) | |
2394 | body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength | |
2395 | end | |
2396 | end | |
2397 | end | |
2398 | end | |
2399 | end | |
2400 | end | |
2401 | ||
2402 | function killnearest(position,range,maxstrength,direction) | |
2403 | for i,v in ipairs(workspace:GetChildren()) do | |
2404 | local body = v:GetChildren() | |
2405 | for part = 1, #body do | |
2406 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
2407 | if(body[part].Position - position).Magnitude < range then | |
2408 | if v.ClassName == "Model" then | |
2409 | --v:BreakJoints() | |
2410 | end | |
2411 | local POS = position | |
2412 | coroutine.resume(coroutine.create(function() | |
2413 | body[part].Anchored = true | |
2414 | body[part].Parent = Effects | |
2415 | body[part].CanCollide = true | |
2416 | local SIZE = body[part].Size | |
2417 | body[part].Material = "Neon" | |
2418 | CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10) | |
2419 | for i = 1, 75 do | |
2420 | Swait() | |
2421 | body[part].Color = Color3.fromRGB(cR,cG,cB) | |
2422 | body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
2423 | end | |
2424 | coroutine.resume(coroutine.create(function() | |
2425 | while true do | |
2426 | Swait() | |
2427 | body[part].Color = Color3.fromRGB(cR,cG,cB) | |
2428 | body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
2429 | end | |
2430 | end)) | |
2431 | body[part].Anchored = false | |
2432 | body[part].Velocity = direction.lookVector*maxstrength | |
2433 | end)) | |
2434 | end | |
2435 | end | |
2436 | end | |
2437 | if v.ClassName == "Part" then | |
2438 | if v.Anchored == false and (v.Position - position).Magnitude < range then | |
2439 | local POS = position | |
2440 | coroutine.resume(coroutine.create(function() | |
2441 | v.Anchored = true | |
2442 | v.Parent = Effects | |
2443 | local SIZE = v.Size | |
2444 | v.Material = "Neon" | |
2445 | CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10) | |
2446 | for i = 1, 75 do | |
2447 | Swait() | |
2448 | v.Color = Color3.fromRGB(cR,cG,cB) | |
2449 | v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
2450 | end | |
2451 | coroutine.resume(coroutine.create(function() | |
2452 | while true do | |
2453 | Swait() | |
2454 | v.Color = Color3.fromRGB(cR,cG,cB) | |
2455 | v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) | |
2456 | end | |
2457 | end)) | |
2458 | v.Anchored = false | |
2459 | v.Velocity = direction.lookVector*maxstrength | |
2460 | end)) | |
2461 | end | |
2462 | end | |
2463 | end | |
2464 | end | |
2465 | ||
2466 | function VanishPlayer() | |
2467 | tecks2.TextTransparency = 1 | |
2468 | tecks2.TextStrokeTransparency = 1 | |
2469 | for _, c in pairs(Character:GetChildren()) do | |
2470 | if c.ClassName == "Part" then | |
2471 | c.Transparency = 0 | |
2472 | if c:FindFirstChildOfClass("Decal") then | |
2473 | c:FindFirstChildOfClass("Decal").Transparency = 1 | |
2474 | end | |
2475 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2476 | c:FindFirstChildOfClass("ParticleEmitter").Enabled = false | |
2477 | end | |
2478 | elseif c.ClassName == "Accessory" then | |
2479 | c.Handle.Transparency = 0 | |
2480 | if c.Handle:FindFirstChildOfClass("ParticleEmitter") then | |
2481 | c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false | |
2482 | end | |
2483 | end | |
2484 | end | |
2485 | end | |
2486 | ||
2487 | function Reappear() | |
2488 | tecks2.TextTransparency = 0 | |
2489 | tecks2.TextStrokeTransparency = 0 | |
2490 | for _, c in pairs(Character:GetChildren()) do | |
2491 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
2492 | c.Transparency = 0 | |
2493 | if c:FindFirstChildOfClass("Decal") then | |
2494 | c:FindFirstChildOfClass("Decal").Transparency = 0 | |
2495 | end | |
2496 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2497 | c:FindFirstChildOfClass("ParticleEmitter").Enabled = true | |
2498 | end | |
2499 | elseif c.ClassName == "Accessory" then | |
2500 | c.Handle.Transparency = 0 | |
2501 | if c.Handle:FindFirstChildOfClass("ParticleEmitter") then | |
2502 | c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = true | |
2503 | end | |
2504 | end | |
2505 | end | |
2506 | end | |
2507 | ||
2508 | function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW) | |
2509 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true) | |
2510 | local mesh | |
2511 | if KIND == "Base" then | |
2512 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0)) | |
2513 | elseif KIND == "Thin" then | |
2514 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0)) | |
2515 | elseif KIND == "Round" then | |
2516 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0)) | |
2517 | end | |
2518 | wave.CFrame = CFRAME | |
2519 | coroutine.resume(coroutine.create(function(PART) | |
2520 | for i = 1, WAIT do | |
2521 | Swait() | |
2522 | mesh.Scale = mesh.Scale + GROW / 10 | |
2523 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
2524 | if wave.Transparency > 0.99 then | |
2525 | wave:remove() | |
2526 | end | |
2527 | end | |
2528 | end)) | |
2529 | end | |
2530 | ||
2531 | function Orb() | |
2532 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) | |
2533 | if HITFLOOR ~= nil then | |
2534 | do | |
2535 | local HITBODIES = {} | |
2536 | ATTACK = true | |
2537 | Rooted = true | |
2538 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "ABSOLUTEUM", VT(0, 0, 0)) | |
2539 | MakeForm(ABSOLUTE, "Ball") | |
2540 | CreateSound("416200578", RootPart, 10, 0.7) | |
2541 | for i = 0, 8, 0.1 / Animation_Speed do | |
2542 | Swait() | |
2543 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.75, 0.75, 0.75) | |
2544 | ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0) | |
2545 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
2546 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "ABSOLUTEUM", VT(3, 3, 3)) | |
2547 | MakeForm(CHARGE, "Ball") | |
2548 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15)) | |
2549 | FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true) | |
2550 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2551 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2552 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2553 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2554 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2555 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2556 | end | |
2557 | CreateSound(ULTTAUNTS[MRANDOM(1, #ULTTAUNTS)], Head, 10, 0.9) | |
2558 | CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10) | |
2559 | for i = 1, 45 do | |
2560 | Swait() | |
2561 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2562 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2563 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2564 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2565 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2566 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2567 | end | |
2568 | coroutine.resume(coroutine.create(function() | |
2569 | local IMPACT = false | |
2570 | local BULLET = ABSOLUTE | |
2571 | MakeForm(BULLET, "Ball") | |
2572 | BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p) | |
2573 | for i = 1, 500 do | |
2574 | Swait() | |
2575 | BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2) | |
2576 | local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character) | |
2577 | MagicSphere(VT(1000, 1000, 1000), 55, CF(BULLET.CFrame * CF(MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5)).p), "Really red", VT(-100, -100, -100) / 55) | |
2578 | if HIT ~= nil then | |
2579 | IMPACT = true | |
2580 | break | |
2581 | end | |
2582 | end | |
2583 | if IMPACT == false then | |
2584 | for i = 1, 40 do | |
2585 | Swait() | |
2586 | BULLET.Size = BULLET.Size * 0.9 | |
2587 | end | |
2588 | BULLET:remove() | |
2589 | else | |
2590 | CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10) | |
2591 | for i = 1, 175 do | |
2592 | Swait() | |
2593 | BULLET.Size = BULLET.Size * 0.99 | |
2594 | Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 85) | |
2595 | end | |
2596 | CreateSound("438666001", BULLET, 10, 3) | |
2597 | Swait(35) | |
2598 | BULLET.Transparency = 1 | |
2599 | for i = 1, 20 do | |
2600 | for e = 1, 5 do | |
2601 | MagicSphere(VT(20, 20, 20), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), "Really black", VT(1, 1, i * 4), 0) | |
2602 | Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 3) | |
2603 | end | |
2604 | AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES) | |
2605 | CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10) | |
2606 | CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10) | |
2607 | MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2) | |
2608 | Swait(5) | |
2609 | for e = 1, #HITBODIES do | |
2610 | if HITBODIES[e] ~= nil then | |
2611 | local BOD = HITBODIES[e] | |
2612 | local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso") | |
2613 | if TORS then | |
2614 | BOD:BreakJoints() | |
2615 | Petrify(HUM.Parent) | |
2616 | C3(193,223,240) | |
2617 | for _, c in pairs(BOD:GetChildren()) do | |
2618 | if c.ClassName == "Part" or c.ClassName == "MeshPart" then | |
2619 | local bv = Instance.new("BodyVelocity") | |
2620 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
2621 | bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250 | |
2622 | bv.Parent = c | |
2623 | Debris:AddItem(bv, 0.2) | |
2624 | end | |
2625 | end | |
2626 | end | |
2627 | end | |
2628 | end | |
2629 | CreateWave(VT(0, 200, 0), 75, CF(BULLET.Position), true, -15, "Maroon", VT(i, 0, i) * 2) | |
2630 | end | |
2631 | MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 0, 0), VT(120, 120, 120)) | |
2632 | Debris:AddItem(BULLET, 10) | |
2633 | end | |
2634 | end)) | |
2635 | ATTACK = false | |
2636 | Rooted = false | |
2637 | end | |
2638 | end | |
2639 | end | |
2640 | ||
2641 | function Slice2(SIZE,WAIT,CFRAME,COLOR,GROW) | |
2642 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really black"), "Effect", VT(1,1,1), true) | |
2643 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0)) | |
2644 | wave.CFrame = CFRAME | |
2645 | coroutine.resume(coroutine.create(function(PART) | |
2646 | for i = 1, WAIT do | |
2647 | Swait() | |
2648 | mesh.Scale = mesh.Scale * GROW | |
2649 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
2650 | if wave.Transparency > 0.99 then | |
2651 | wave:remove() | |
2652 | end | |
2653 | end | |
2654 | end)) | |
2655 | end | |
2656 | ||
2657 | function swait(num) | |
2658 | if num == 0 or num == nil then | |
2659 | ArtificialHB.Event:wait() | |
2660 | else | |
2661 | for i = 0, num do | |
2662 | ArtificialHB.Event:wait() | |
2663 | end | |
2664 | end | |
2665 | end | |
2666 | ||
2667 | function DemonWorld() | |
2668 | local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
2669 | CHOICE = 6 | |
2670 | ||
2671 | chatfunc("All of these fools...") | |
2672 | for i = 0, 12, .1 do | |
2673 | swait(0.35) | |
2674 | end | |
2675 | ||
2676 | chatfunc("It's time to p e r i s h.") | |
2677 | for i = 0, 16, .1 do | |
2678 | end | |
2679 | swait(0.15) | |
2680 | CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(1000,1000,1000)) | |
2681 | CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(75,75,75)) | |
2682 | MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(25,25,25)) | |
2683 | MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(25,25,25)) | |
2684 | CreateSound("1368605755", Effects, 10, 1) | |
2685 | CreateSound("265201042", Effects, 10, 0.5) | |
2686 | ||
2687 | back = CreateSound(1192655599, Character, 9999, 0.85, true) | |
2688 | DemonForm = true | |
2689 | local sillsky = Instance.new('Sky', game:GetService'Lighting') | |
2690 | sillsky.SkyboxBk = "rbxassetid://157712259" | |
2691 | sillsky.SkyboxDn = "rbxassetid://157712247" | |
2692 | sillsky.SkyboxFt = "rbxassetid://157712266" | |
2693 | sillsky.SkyboxLf = "rbxassetid://157712240" | |
2694 | sillsky.SkyboxRt = "rbxassetid://157712254" | |
2695 | sillsky.SkyboxUp = "rbxassetid://157712276" | |
2696 | sillsky.StarCount = 0 | |
2697 | sillsky.SunAngularSize = 0 | |
2698 | sillsky.MoonAngularSize = 0 | |
2699 | sillsky.MoonTextureId = "" | |
2700 | sillsky.CelestialBodiesShown = false | |
2701 | game.Lighting.FogColor = Color3.new(1,0,0) | |
2702 | game.Lighting.FogEnd = 1400 | |
2703 | end | |
2704 | ||
2705 | function Eliminate() | |
2706 | chatfunc("Come here!") | |
2707 | ATTACK = true | |
2708 | Rooted = false | |
2709 | local HASGRABBED = false | |
2710 | local WELD = nil | |
2711 | local TORS = nil | |
2712 | local hitting = RightArm.Touched:Connect(function(hit) | |
2713 | if hit.Parent:FindFirstChild("Humanoid") then | |
2714 | if hit.Parent.Humanoid.Health ~= 0 then | |
2715 | UNANCHOR = false | |
2716 | TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
2717 | TORS.Anchored = true | |
2718 | TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
2719 | WELD = weldBetween(RightArm,TORS) | |
2720 | HASGRABBED = true | |
2721 | chatfunc("Time to die.") | |
2722 | Rooted = true | |
2723 | end | |
2724 | end | |
2725 | end) | |
2726 | for i=0, 1, 0.1 / Animation_Speed do | |
2727 | Swait() | |
2728 | if HASGRABBED == true then | |
2729 | break | |
2730 | end | |
2731 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed) | |
2732 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed) | |
2733 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2734 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2735 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2736 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2737 | end | |
2738 | hitting:disconnect() | |
2739 | if HASGRABBED == true then | |
2740 | TORS.Anchored = false | |
2741 | RootPart.Anchored = true | |
2742 | for i=0, 2, 0.1 / Animation_Speed do | |
2743 | Swait() | |
2744 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2745 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2746 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
2747 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
2748 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
2749 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2750 | end | |
2751 | CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(5,3,5)) | |
2752 | CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Maroon",VT(6,3,6)) | |
2753 | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0)) | |
2754 | SOUNDPART.CFrame = RootPart.CFrame | |
2755 | Debris:AddItem(SOUNDPART,5) | |
2756 | CreateSound("260411131", SOUNDPART, 2, 1) | |
2757 | for i = 1, 15 do | |
2758 | Slice2(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15) | |
2759 | end | |
2760 | for i=0, 2, 0.1 / Animation_Speed do | |
2761 | Swait() | |
2762 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2763 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2764 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
2765 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
2766 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
2767 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2768 | end | |
2769 | for i=0, 0.25, 0.1 / Animation_Speed do | |
2770 | Swait() | |
2771 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed) | |
2772 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed) | |
2773 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
2774 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
2775 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2776 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2777 | end | |
2778 | if HITFLOOR ~= nil then | |
2779 | CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(70,70,70),85) | |
2780 | end | |
2781 | CreateSound("1295446488", Effects, 10, MRANDOM(7, 12) / 10) | |
2782 | WELD:remove() | |
2783 | for i = 1, 25 do | |
2784 | Swait() | |
2785 | killnearest(RootPart.Position,45,100,Torso.CFrame) | |
2786 | CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(3,30,3)) | |
2787 | CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(10,4,10)) | |
2788 | CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(23,3,23)) | |
2789 | Slice2(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Maroon", 1 + MRANDOM(1,30)/5) | |
2790 | Slice2(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Maroon", 1 + MRANDOM(1,30)/15) | |
2791 | end | |
2792 | end | |
2793 | UNANCHOR = true | |
2794 | ATTACK = false | |
2795 | Rooted = false | |
2796 | end | |
2797 | ||
2798 | function Fire_At_Will() | |
2799 | ATTACK = true | |
2800 | Rooted = false | |
2801 | local GYRO = IT("BodyGyro", RootPart) | |
2802 | GYRO.D = 750 | |
2803 | GYRO.P = 2000 | |
2804 | GYRO.MaxTorque = VT(0, 40000, 0) | |
2805 | for i = 0, 0.2, 0.1 / Animation_Speed do | |
2806 | Swait() | |
2807 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
2808 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
2809 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed) | |
2810 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2811 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2812 | if ANIM == "Idle" then | |
2813 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2814 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2815 | elseif ANIM == "Walk" then | |
2816 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2817 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2818 | elseif ANIM == "Jump" or ANIM == "Fall" then | |
2819 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2820 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2821 | end | |
2822 | end | |
2823 | local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Sphere", VT(1, 1, 1), false) | |
2824 | MakeForm(BOMB, "Ball") | |
2825 | BOMB.Mesh.Scale = VT(0.5, 0.5, 0.5) | |
2826 | local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0)) | |
2827 | for i = 0, 1.5, 0.1 / Animation_Speed do | |
2828 | Swait() | |
2829 | if MRANDOM(1, 2) == 1 then | |
2830 | for E = 1, #EYES do | |
2831 | if EYES[E] ~= nil then | |
2832 | local EY = EYES[E] | |
2833 | local LIGHTNING = Zap({ | |
2834 | StartPosition = EY.Position, | |
2835 | TargetPosition = BOMB.Position, | |
2836 | Character = Character, | |
2837 | Color = "Really red", | |
2838 | Individual = false, | |
2839 | MaxRange = 7, | |
2840 | SegmentLength = 1, | |
2841 | Offset = 0.3, | |
2842 | SIZE = 0.05 | |
2843 | }) | |
2844 | Debris:AddItem(LIGHTNING.LightningModel, 0.05) | |
2845 | end | |
2846 | end | |
2847 | end | |
2848 | BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1) | |
2849 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
2850 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
2851 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed) | |
2852 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2853 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2854 | if ANIM == "Idle" then | |
2855 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2856 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2857 | elseif ANIM == "Walk" then | |
2858 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2859 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2860 | elseif ANIM == "Jump" or ANIM == "Fall" then | |
2861 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2862 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2863 | end | |
2864 | end | |
2865 | WACKYEFFECT({ | |
2866 | Time = 25, | |
2867 | EffectType = "Ring", | |
2868 | Size = VT(0, 0, 0), | |
2869 | Size2 = VT(18.75, 18.75, 0), | |
2870 | Transparency = 0.7, | |
2871 | Transparency2 = 1, | |
2872 | CFrame = RootPart.CFrame * CF(0, -0.25, -1.3), | |
2873 | MoveToPos = nil, | |
2874 | RotationX = 0, | |
2875 | RotationY = 0, | |
2876 | RotationZ = 0, | |
2877 | Material = "Neon", | |
2878 | Color = BOMB.Color, | |
2879 | SoundID = nil, | |
2880 | SoundPitch = nil, | |
2881 | SoundVolume = nil | |
2882 | }) | |
2883 | WACKYEFFECT({ | |
2884 | Time = 50, | |
2885 | EffectType = "Ring", | |
2886 | Size = VT(0, 0, 0), | |
2887 | Size2 = VT(75, 75, 0), | |
2888 | Transparency = 0.7, | |
2889 | Transparency2 = 1, | |
2890 | CFrame = RootPart.CFrame * CF(0, -0.25, -1.3), | |
2891 | MoveToPos = nil, | |
2892 | RotationX = 0, | |
2893 | RotationY = 0, | |
2894 | RotationZ = 0, | |
2895 | Material = "Neon", | |
2896 | Color = BOMB.Color, | |
2897 | SoundID = nil, | |
2898 | SoundPitch = nil, | |
2899 | SoundVolume = nil | |
2900 | }) | |
2901 | BOMB.Anchored = true | |
2902 | WELD:remove() | |
2903 | GYRO:remove() | |
2904 | coroutine.resume(coroutine.create(function() | |
2905 | BOMB.CFrame = CF(BOMB.Position, Mouse.Hit.p) | |
2906 | for i = 1, 500 do | |
2907 | Swait() | |
2908 | BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2) | |
2909 | local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character) | |
2910 | if HITFLOOR ~= nil then | |
2911 | break | |
2912 | end | |
2913 | end | |
2914 | ApplyAoE(BOMB.Position, 375, 0, 0, 0, true) | |
2915 | for i = 1, 5 do | |
2916 | WACKYEFFECT({ | |
2917 | Time = 50, | |
2918 | EffectType = "Sphere", | |
2919 | Size = BOMB.Mesh.Scale, | |
2920 | Size2 = VT(125, 125, 125) * i, | |
2921 | Transparency = 0.5, | |
2922 | Transparency2 = 1, | |
2923 | CFrame = BOMB.CFrame, | |
2924 | MoveToPos = nil, | |
2925 | RotationX = 0, | |
2926 | RotationY = 0, | |
2927 | RotationZ = 0, | |
2928 | Material = "Neon", | |
2929 | Color = BOMB.Color, | |
2930 | SoundID = 1222405264, | |
2931 | SoundPitch = 1, | |
2932 | SoundVolume = 10 | |
2933 | }) | |
2934 | end | |
2935 | local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 5, 0), BOMB.Position - VT(0, 5, 0)).lookVector, 15, Character) | |
2936 | if HITFLOOR then | |
2937 | CreateDebreeRing(HITFLOOR, HITPOS, 15, VT(8, 8, 8), 5) | |
2938 | end | |
2939 | BOMB.Transparency = 1 | |
2940 | for i = 1, 35 do | |
2941 | Swait() | |
2942 | CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(2.5, 2.5, 2.5), 5, 150) | |
2943 | end | |
2944 | BOMB:remove() | |
2945 | end)) | |
2946 | ATTACK = false | |
2947 | Rooted = false | |
2948 | end | |
2949 | ||
2950 | function Imperfect_Storm() | |
2951 | ATTACK = true | |
2952 | Rooted = false | |
2953 | for i = 0, 1, 0.1 / Animation_Speed do | |
2954 | Swait() | |
2955 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2956 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2957 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2958 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2959 | if ANIM == "Idle" then | |
2960 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2961 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2962 | elseif ANIM == "Walk" then | |
2963 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2964 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2965 | elseif ANIM == "Jump" or ANIM == "Fall" then | |
2966 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2967 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2968 | end | |
2969 | end | |
2970 | ATTACK = false | |
2971 | Rooted = false | |
2972 | end | |
2973 | ||
2974 | function MouseDown(Mouse) | |
2975 | if ATTACK == false then | |
2976 | end | |
2977 | end | |
2978 | function MouseUp(Mouse) | |
2979 | HOLD = false | |
2980 | end | |
2981 | ||
2982 | function KeyDown(Key) | |
2983 | KEYHOLD = true | |
2984 | if DemonForm == false then | |
2985 | if Key == "z" and ATTACK == false then | |
2986 | Neck_Snap() | |
2987 | end | |
2988 | ||
2989 | if Key == "b" and ATTACK == false then | |
2990 | Imperfect_Command() | |
2991 | end | |
2992 | ||
2993 | if Key == "c" and ATTACK == false then | |
2994 | Fire_At_Will() | |
2995 | end | |
2996 | ||
2997 | if Key == "e" and ATTACK == false then | |
2998 | Warp() | |
2999 | end | |
3000 | ||
3001 | if Key == "f" and ATTACK == false then | |
3002 | Eliminate() | |
3003 | end | |
3004 | ||
3005 | if Key == "q" and ATTACK == false then | |
3006 | Orb() | |
3007 | end | |
3008 | ||
3009 | if Key == "t" and ATTACK == false then | |
3010 | Taunt() | |
3011 | elseif Key == "1" and ATTACK == false then | |
3012 | if CHOICE ~= 1 then | |
3013 | CHOICE = 1 | |
3014 | sick:Play() | |
3015 | chatfunc("A classic.") | |
3016 | end | |
3017 | elseif Key == "2" and ATTACK == false then | |
3018 | if CHOICE ~= 2 then | |
3019 | CHOICE = 2 | |
3020 | sick:Play() | |
3021 | chatfunc("._.") | |
3022 | end | |
3023 | elseif Key == "3" and ATTACK == false then | |
3024 | if CHOICE ~= 3 then | |
3025 | CHOICE = 3 | |
3026 | sick:Play() | |
3027 | chatfunc("I don't need music to be cool... ಠ╭╮ಠ") | |
3028 | tecks2.Color = Color3.new (255,0,0) | |
3029 | end | |
3030 | end | |
3031 | ||
3032 | if Key == "p" and ATTACK == false then | |
3033 | DemonWorld() | |
3034 | CHOICE = 3 | |
3035 | sick:Play() | |
3036 | SKILL7TEXT:remove() | |
3037 | SKILL7TEXT = CreateLabel(SKILL7FRAME, "[P] Return", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7") | |
3038 | SKILL2TEXT:remove() | |
3039 | SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Perfect Command", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2") | |
3040 | end | |
3041 | ||
3042 | else | |
3043 | ||
3044 | if Key == "z" and ATTACK == false then | |
3045 | Neck_Snap() | |
3046 | end | |
3047 | if Key == "b" and ATTACK == false then | |
3048 | Perfect_Command() | |
3049 | end | |
3050 | if Key == "c" and ATTACK == false then | |
3051 | Fire_At_Will() | |
3052 | end | |
3053 | if Key == "e" and ATTACK == false then | |
3054 | Warp() | |
3055 | end | |
3056 | if Key == "f" and ATTACK == false then | |
3057 | Eliminate() | |
3058 | end | |
3059 | ||
3060 | if Key == "q" and ATTACK == false then | |
3061 | Orb() | |
3062 | end | |
3063 | ||
3064 | if Key == "t" and ATTACK == false then | |
3065 | Taunt2() | |
3066 | end | |
3067 | ||
3068 | if Key == "p" and ATTACK == false then | |
3069 | DemonForm = false | |
3070 | CHOICE = 1 | |
3071 | sick:Play() | |
3072 | SKILL7TEXT:remove() | |
3073 | SKILL7TEXT = CreateLabel(SKILL7FRAME, "[P] Demon Form", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7") | |
3074 | SKILL2TEXT:remove() | |
3075 | SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Imperfect Command", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2") | |
3076 | local sillsky = Instance.new('Sky', game:GetService'Lighting') | |
3077 | back:remove() | |
3078 | sillsky:remove() | |
3079 | game.Lighting.FogEnd = 90000000 | |
3080 | CreateSound(464600985, Character, 99999, 0.8, false) | |
3081 | end | |
3082 | end | |
3083 | end | |
3084 | ||
3085 | function KeyUp(Key) | |
3086 | KEYHOLD = false | |
3087 | end | |
3088 | Mouse.Button1Down:connect(function(NEWKEY) | |
3089 | MouseDown(NEWKEY) | |
3090 | end) | |
3091 | Mouse.Button1Up:connect(function(NEWKEY) | |
3092 | MouseUp(NEWKEY) | |
3093 | end) | |
3094 | Mouse.KeyDown:connect(function(NEWKEY) | |
3095 | KeyDown(NEWKEY) | |
3096 | end) | |
3097 | Mouse.KeyUp:connect(function(NEWKEY) | |
3098 | KeyUp(NEWKEY) | |
3099 | end) | |
3100 | function unanchor() | |
3101 | if UNANCHOR == true then | |
3102 | RootPart.Anchored = false | |
3103 | end | |
3104 | local CHILDREN = Character:GetDescendants() | |
3105 | for index, CHILD in pairs(CHILDREN) do | |
3106 | if CHILD:IsA("BasePart") and CHILD ~= RootPart and CHILD.Parent ~= Effects and CHILD.Parent.Parent ~= Effects then | |
3107 | CHILD.Anchored = false | |
3108 | end | |
3109 | end | |
3110 | end | |
3111 | Humanoid.Changed:connect(function(Jump) | |
3112 | if Jump == "Jump" and Disable_Jump == true then | |
3113 | Humanoid.Jump = false | |
3114 | end | |
3115 | end) | |
3116 | while true do | |
3117 | Swait() | |
3118 | script.Parent = WEAPONGUI | |
3119 | ANIMATE.Parent = nil | |
3120 | if Humanoid then | |
3121 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
3122 | IDLEANIMATION:Play() | |
3123 | end | |
3124 | for RW = 1, #RWINGS do | |
3125 | if RWINGS[RW] ~= nil then | |
3126 | RWINGS[RW].C1 = Clerp(RWINGS[RW].C1, CF(-0.25 + 0.25 * COS(SINE / 22), 0, 0 + 0.15 * COS(SINE / 22)) * ANGLES(RAD(2.5 * SIN(SINE / 22)), RAD(0), RAD(0 + 5 * SIN(SINE / 22))), 1 / Animation_Speed) | |
3127 | end | |
3128 | end | |
3129 | for LW = 1, #LWINGS do | |
3130 | if LWINGS[LW] ~= nil then | |
3131 | LWINGS[LW].C1 = Clerp(LWINGS[LW].C1, CF(0.25 - 0.25 * COS(SINE / 22), 0, 0 + 0.15 * COS(SINE / 22)) * ANGLES(RAD(2.5 * SIN(SINE / 22)), RAD(0), RAD(0 - 5 * SIN(SINE / 22))), 1 / Animation_Speed) | |
3132 | end | |
3133 | end | |
3134 | SINE = SINE + CHANGE | |
3135 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
3136 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
3137 | local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 + Humanoid.HipHeight, Character) | |
3138 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
3139 | if FINISHEDINTRO == true then | |
3140 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
3141 | ANIM = "Jump" | |
3142 | if ATTACK == false then | |
3143 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3144 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3145 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
3146 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
3147 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
3148 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
3149 | end | |
3150 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
3151 | ANIM = "Fall" | |
3152 | if ATTACK == false then | |
3153 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3154 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3155 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
3156 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
3157 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
3158 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
3159 | end | |
3160 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
3161 | ANIM = "Idle" | |
3162 | if ATTACK == false then | |
3163 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3164 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed) | |
3165 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3166 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3167 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3168 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3169 | end | |
3170 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
3171 | ANIM = "Walk" | |
3172 | if ATTACK == false then | |
3173 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 22)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 22)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3174 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 22)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 22))), 1 / Animation_Speed) | |
3175 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 22), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 22)), RAD(15 + 7.5 * SIN(SINE / 22))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3176 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 22), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 22)), RAD(-15 - 7.5 * SIN(SINE / 22))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3177 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3178 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3179 | end | |
3180 | end | |
3181 | if TORSOVELOCITY > 1 then | |
3182 | Humanoid.HipHeight = 1 | |
3183 | else | |
3184 | Humanoid.HipHeight = 0 | |
3185 | end | |
3186 | elseif FINISHEDINTRO == false then | |
3187 | Humanoid.HipHeight = 0 | |
3188 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3189 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3190 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3191 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
3192 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3193 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3194 | end | |
3195 | unanchor() | |
3196 | Humanoid.MaxHealth = 1.0E298 | |
3197 | Humanoid.Health = 1.0E298 | |
3198 | if Rooted == false then | |
3199 | Disable_Jump = false | |
3200 | Humanoid.WalkSpeed = Speed | |
3201 | elseif Rooted == true then | |
3202 | Disable_Jump = true | |
3203 | Humanoid.WalkSpeed = 0 | |
3204 | end | |
3205 | sick.Parent = Character | |
3206 | sick.Playing = true | |
3207 | sick.Volume = 5 | |
3208 | sick.Pitch = 1 | |
3209 | BLINKLOOP = BLINKLOOP + 1 | |
3210 | if BLINKLOOP >= 650 then | |
3211 | BLINKLOOP = 0 | |
3212 | Blink() | |
3213 | end | |
3214 | if Character:FindFirstChildOfClass("Accessory") then | |
3215 | Character:FindFirstChildOfClass("Accessory"):remove() | |
3216 | end | |
3217 | if Character:FindFirstChildOfClass("Shirt") then | |
3218 | Character:FindFirstChildOfClass("Shirt"):remove() | |
3219 | end | |
3220 | if Character:FindFirstChildOfClass("Pants") then | |
3221 | Character:FindFirstChildOfClass("Pants"):remove() | |
3222 | end | |
3223 | if Character:FindFirstChildOfClass("Cloth") then | |
3224 | Character:FindFirstChildOfClass("Cloth"):remove() | |
3225 | end | |
3226 | if Head:FindFirstChildOfClass("Sound") then | |
3227 | Head:FindFirstChildOfClass("Sound"):remove() | |
3228 | end | |
3229 | if INTROING == false and FINISHEDINTRO == false then | |
3230 | if INSTANT == false then | |
3231 | Intro() | |
3232 | else | |
3233 | FINISHEDINTRO = true | |
3234 | Face() | |
3235 | RightWing() | |
3236 | LeftWing() | |
3237 | end | |
3238 | end | |
3239 | if Head:FindFirstChild("face") then | |
3240 | Head.face:remove() | |
3241 | end | |
3242 | refit() | |
3243 | Humanoid.PlatformStand = false | |
3244 | end | |
3245 | ||
3246 | sick.SoundId = "rbxassetid://"..bored[CHOICE] | |
3247 | sick.Looped = true | |
3248 | sick.Pitch = 1 | |
3249 | sick.Volume = 999999 | |
3250 | sick.Parent = Character | |
3251 | sick:Resume() | |
3252 | ||
3253 | if Humanoid.Health < 1.0E298 then | |
3254 | refit() | |
3255 | Humanoid.MaxHealth = 1.0E298 | |
3256 | Humanoid.Health = Humanoid.Health + 1.0E298 | |
3257 | end | |
3258 | ||
3259 | --//====================================================\\-- | |
3260 | --|| END OF SCRIPT ||-- | |
3261 | --\\====================================================//-- |