SHOW:
|
|
- or go back to the newest paste.
1 | --//====================================================\\-- | |
2 | --|| CREATED BY SHACKLUSTER | |
3 | --\\====================================================//-- | |
4 | ||
5 | wait(0.2) | |
6 | ||
7 | Player = game:GetService("Players").LocalPlayer | |
8 | PlayerGui = Player.PlayerGui | |
9 | Cam = workspace.CurrentCamera | |
10 | Backpack = Player.Backpack | |
11 | Character = Player.Character | |
12 | Humanoid = Character:FindFirstChildOfClass("Humanoid") | |
13 | Mouse = Player:GetMouse() | |
14 | RootPart = Character["HumanoidRootPart"] | |
15 | Torso = Character["Torso"] | |
16 | Head = Character["Head"] | |
17 | RightArm = Character["Right Arm"] | |
18 | LeftArm = Character["Left Arm"] | |
19 | RightLeg = Character["Right Leg"] | |
20 | LeftLeg = Character["Left Leg"] | |
21 | RootJoint = RootPart["RootJoint"] | |
22 | Neck = Torso["Neck"] | |
23 | RightShoulder = Torso["Right Shoulder"] | |
24 | LeftShoulder = Torso["Left Shoulder"] | |
25 | RightHip = Torso["Right Hip"] | |
26 | LeftHip = Torso["Left Hip"] | |
27 | ||
28 | IT = Instance.new | |
29 | CF = CFrame.new | |
30 | VT = Vector3.new | |
31 | RAD = math.rad | |
32 | C3 = Color3.new | |
33 | UD2 = UDim2.new | |
34 | BRICKC = BrickColor.new | |
35 | ANGLES = CFrame.Angles | |
36 | EULER = CFrame.fromEulerAnglesXYZ | |
37 | COS = math.cos | |
38 | ACOS = math.acos | |
39 | SIN = math.sin | |
40 | ASIN = math.asin | |
41 | ABS = math.abs | |
42 | MRANDOM = math.random | |
43 | FLOOR = math.floor | |
44 | ||
45 | --//=================================\\ | |
46 | --|| USEFUL VALUES | |
47 | --\\=================================// | |
48 | ||
49 | Animation_Speed = 3 | |
50 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
51 | local Speed = 25 | |
52 | local SIZE = 2 | |
53 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
54 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
55 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
56 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
57 | local DAMAGEMULTIPLIER = 1 | |
58 | local ANIM = "Idle" | |
59 | local ATTACK = false | |
60 | local EQUIPPED = false | |
61 | local HOLD = false | |
62 | local COMBO = 1 | |
63 | local Rooted = false | |
64 | local SINE = 0 | |
65 | local KEYHOLD = false | |
66 | local CHANGE = 2 / Animation_Speed | |
67 | local WALKINGANIM = false | |
68 | local VALUE1 = false | |
69 | local VALUE2 = false | |
70 | local ROBLOXIDLEANIMATION = IT("Animation") | |
71 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
72 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
73 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
74 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
75 | WEAPONGUI.Name = "Weapon GUI" | |
76 | local Weapon = IT("Folder") | |
77 | Weapon.Name = "Adds" | |
78 | local Effects = IT("Folder", Weapon) | |
79 | Effects.Name = "Effects" | |
80 | local ANIMATOR = Humanoid.Animator | |
81 | local ANIMATE = Character.Animate | |
82 | local UNANCHOR = true | |
83 | local VOCALS_BASIC = {468972244,468972378,468972711,468972944} | |
84 | local VOCALS_TAUNT = {468973055,468973159} | |
85 | local VOCAL_GROWL = 468971411 | |
86 | local VOCALS_ENRAGES = {528589078,528589175,528589274,528589382} | |
87 | local CHARGE = 459523787 | |
88 | local ROUGHBLAST = 461105534 | |
89 | local WALLSOUND = 424195952 | |
90 | local FORCEIDLE = false | |
91 | Character.Archivable = true | |
92 | script.Parent = WEAPONGUI | |
93 | local CLONE = Character:Clone() | |
94 | CLONE.Parent = nil | |
95 | Character.Archivable = false | |
96 | local sick = Instance.new("Sound",Character) | |
97 | local XATTACK = false | |
98 | Humanoid.JumpPower = 200 | |
99 | ||
100 | --//=================================\\ | |
101 | --\\=================================// | |
102 | ||
103 | ||
104 | --//=================================\\ | |
105 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
106 | --\\=================================// | |
107 | ||
108 | ArtificialHB = Instance.new("BindableEvent", script) | |
109 | ArtificialHB.Name = "ArtificialHB" | |
110 | ||
111 | script:WaitForChild("ArtificialHB") | |
112 | ||
113 | frame = Frame_Speed | |
114 | tf = 0 | |
115 | allowframeloss = false | |
116 | tossremainder = false | |
117 | lastframe = tick() | |
118 | script.ArtificialHB:Fire() | |
119 | ||
120 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
121 | tf = tf + s | |
122 | if tf >= frame then | |
123 | if allowframeloss then | |
124 | script.ArtificialHB:Fire() | |
125 | lastframe = tick() | |
126 | else | |
127 | for i = 1, math.floor(tf / frame) do | |
128 | script.ArtificialHB:Fire() | |
129 | end | |
130 | lastframe = tick() | |
131 | end | |
132 | if tossremainder then | |
133 | tf = 0 | |
134 | else | |
135 | tf = tf - frame * math.floor(tf / frame) | |
136 | end | |
137 | end | |
138 | end) | |
139 | ||
140 | --//=================================\\ | |
141 | --\\=================================// | |
142 | ||
143 | --//=================================\\ | |
144 | --|| SOME FUNCTIONS | |
145 | --\\=================================// | |
146 | ||
147 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
148 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
149 | end | |
150 | ||
151 | function PositiveAngle(NUMBER) | |
152 | if NUMBER >= 0 then | |
153 | NUMBER = 0 | |
154 | end | |
155 | return NUMBER | |
156 | end | |
157 | ||
158 | function NegativeAngle(NUMBER) | |
159 | if NUMBER <= 0 then | |
160 | NUMBER = 0 | |
161 | end | |
162 | return NUMBER | |
163 | end | |
164 | ||
165 | function Swait(NUMBER) | |
166 | if NUMBER == 0 or NUMBER == nil then | |
167 | ArtificialHB.Event:wait() | |
168 | else | |
169 | for i = 1, NUMBER do | |
170 | ArtificialHB.Event:wait() | |
171 | end | |
172 | end | |
173 | end | |
174 | ||
175 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
176 | local NEWMESH = IT(MESH) | |
177 | if MESH == "SpecialMesh" then | |
178 | NEWMESH.MeshType = MESHTYPE | |
179 | if MESHID ~= "nil" and MESHID ~= "" then | |
180 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
181 | end | |
182 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
183 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
184 | end | |
185 | end | |
186 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
187 | NEWMESH.Scale = SCALE | |
188 | NEWMESH.Parent = PARENT | |
189 | return NEWMESH | |
190 | end | |
191 | ||
192 | local Orin = "rbxassetid://1431157191" | |
193 | Head.face.Texture = Orin | |
194 | ||
195 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
196 | local NEWPART = IT("Part") | |
197 | NEWPART.formFactor = FORMFACTOR | |
198 | NEWPART.Reflectance = REFLECTANCE | |
199 | NEWPART.Transparency = TRANSPARENCY | |
200 | NEWPART.CanCollide = false | |
201 | NEWPART.Locked = true | |
202 | NEWPART.Anchored = true | |
203 | if ANCHOR == false then | |
204 | NEWPART.Anchored = false | |
205 | end | |
206 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
207 | NEWPART.Name = NAME | |
208 | NEWPART.Size = SIZE | |
209 | NEWPART.Position = Torso.Position | |
210 | NEWPART.Material = MATERIAL | |
211 | NEWPART:BreakJoints() | |
212 | NEWPART.Parent = PARENT | |
213 | return NEWPART | |
214 | end | |
215 | ||
216 | local function weldBetween(a, b) | |
217 | local weldd = Instance.new("ManualWeld") | |
218 | weldd.Part0 = a | |
219 | weldd.Part1 = b | |
220 | weldd.C0 = CFrame.new() | |
221 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
222 | weldd.Parent = a | |
223 | return weldd | |
224 | end | |
225 | ||
226 | ||
227 | function QuaternionFromCFrame(cf) | |
228 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
229 | local trace = m00 + m11 + m22 | |
230 | if trace > 0 then | |
231 | local s = math.sqrt(1 + trace) | |
232 | local recip = 0.5 / s | |
233 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
234 | else | |
235 | local i = 0 | |
236 | if m11 > m00 then | |
237 | i = 1 | |
238 | end | |
239 | if m22 > (i == 0 and m00 or m11) then | |
240 | i = 2 | |
241 | end | |
242 | if i == 0 then | |
243 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
244 | local recip = 0.5 / s | |
245 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
246 | elseif i == 1 then | |
247 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
248 | local recip = 0.5 / s | |
249 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
250 | elseif i == 2 then | |
251 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
252 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
253 | end | |
254 | end | |
255 | end | |
256 | ||
257 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
258 | local xs, ys, zs = x + x, y + y, z + z | |
259 | local wx, wy, wz = w * xs, w * ys, w * zs | |
260 | local xx = x * xs | |
261 | local xy = x * ys | |
262 | local xz = x * zs | |
263 | local yy = y * ys | |
264 | local yz = y * zs | |
265 | local zz = z * zs | |
266 | 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)) | |
267 | end | |
268 | ||
269 | function QuaternionSlerp(a, b, t) | |
270 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
271 | local startInterp, finishInterp; | |
272 | if cosTheta >= 0.0001 then | |
273 | if (1 - cosTheta) > 0.0001 then | |
274 | local theta = ACOS(cosTheta) | |
275 | local invSinTheta = 1 / SIN(theta) | |
276 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
277 | finishInterp = SIN(t * theta) * invSinTheta | |
278 | else | |
279 | startInterp = 1 - t | |
280 | finishInterp = t | |
281 | end | |
282 | else | |
283 | if (1 + cosTheta) > 0.0001 then | |
284 | local theta = ACOS(-cosTheta) | |
285 | local invSinTheta = 1 / SIN(theta) | |
286 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
287 | finishInterp = SIN(t * theta) * invSinTheta | |
288 | else | |
289 | startInterp = t - 1 | |
290 | finishInterp = t | |
291 | end | |
292 | end | |
293 | 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 | |
294 | end | |
295 | ||
296 | function Clerp(a, b, t) | |
297 | local qa = {QuaternionFromCFrame(a)} | |
298 | local qb = {QuaternionFromCFrame(b)} | |
299 | local ax, ay, az = a.x, a.y, a.z | |
300 | local bx, by, bz = b.x, b.y, b.z | |
301 | local _t = 1 - t | |
302 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
303 | end | |
304 | ||
305 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
306 | local frame = IT("Frame") | |
307 | frame.BackgroundTransparency = TRANSPARENCY | |
308 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
309 | frame.Position = POSITION | |
310 | frame.Size = SIZE | |
311 | frame.BackgroundColor3 = COLOR | |
312 | frame.BorderColor3 = BORDERCOLOR | |
313 | frame.Name = NAME | |
314 | frame.Parent = PARENT | |
315 | return frame | |
316 | end | |
317 | ||
318 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
319 | local label = IT("TextLabel") | |
320 | label.BackgroundTransparency = 1 | |
321 | label.Size = UD2(1, 0, 1, 0) | |
322 | label.Position = UD2(0, 0, 0, 0) | |
323 | label.TextColor3 = TEXTCOLOR | |
324 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
325 | label.TextTransparency = TRANSPARENCY | |
326 | label.FontSize = TEXTFONTSIZE | |
327 | label.Font = TEXTFONT | |
328 | label.BorderSizePixel = BORDERSIZEPIXEL | |
329 | label.TextScaled = false | |
330 | label.Text = TEXT | |
331 | label.Name = NAME | |
332 | label.Parent = PARENT | |
333 | return label | |
334 | end | |
335 | ||
336 | function NoOutlines(PART) | |
337 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
338 | end | |
339 | ||
340 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
341 | local NEWWELD = IT(TYPE) | |
342 | NEWWELD.Part0 = PART0 | |
343 | NEWWELD.Part1 = PART1 | |
344 | NEWWELD.C0 = C0 | |
345 | NEWWELD.C1 = C1 | |
346 | NEWWELD.Parent = PARENT | |
347 | return NEWWELD | |
348 | end | |
349 | ||
350 | local S = IT("Sound") | |
351 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
352 | local NEWSOUND = nil | |
353 | coroutine.resume(coroutine.create(function() | |
354 | NEWSOUND = S:Clone() | |
355 | NEWSOUND.Parent = PARENT | |
356 | NEWSOUND.Volume = VOLUME | |
357 | NEWSOUND.Pitch = PITCH | |
358 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
359 | NEWSOUND:play() | |
360 | if DOESLOOP == true then | |
361 | NEWSOUND.Looped = true | |
362 | else | |
363 | repeat wait(1) until NEWSOUND.Playing == false | |
364 | NEWSOUND:remove() | |
365 | end | |
366 | end)) | |
367 | return NEWSOUND | |
368 | end | |
369 | ||
370 | function CFrameFromTopBack(at, top, back) | |
371 | local right = top:Cross(back) | |
372 | 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) | |
373 | end | |
374 | ||
375 | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
376 | function WACKYEFFECT(Table) | |
377 | local TYPE = (Table.EffectType or "Sphere") | |
378 | local SIZE = (Table.Size or VT(1,1,1)) | |
379 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
380 | local TRANSPARENCY = (Table.Transparency or 0) | |
381 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
382 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
383 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
384 | local ROTATION1 = (Table.RotationX or 0) | |
385 | local ROTATION2 = (Table.RotationY or 0) | |
386 | local ROTATION3 = (Table.RotationZ or 0) | |
387 | local MATERIAL = (Table.Material or "Neon") | |
388 | local COLOR = (Table.Color or C3(1,1,1)) | |
389 | local TIME = (Table.Time or 45) | |
390 | local SOUNDID = (Table.SoundID or nil) | |
391 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
392 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
393 | coroutine.resume(coroutine.create(function() | |
394 | local PLAYSSOUND = false | |
395 | local SOUND = nil | |
396 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
397 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
398 | PLAYSSOUND = true | |
399 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
400 | end | |
401 | EFFECT.Color = COLOR | |
402 | local MSH = nil | |
403 | if TYPE == "Sphere" then | |
404 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
405 | elseif TYPE == "Block" then | |
406 | MSH = IT("BlockMesh",EFFECT) | |
407 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
408 | elseif TYPE == "Wave" then | |
409 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
410 | elseif TYPE == "Ring" then | |
411 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
412 | elseif TYPE == "Slash" then | |
413 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
414 | elseif TYPE == "Round Slash" then | |
415 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
416 | elseif TYPE == "Swirl" then | |
417 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
418 | elseif TYPE == "Skull" then | |
419 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
420 | elseif TYPE == "Crystal" then | |
421 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
422 | end | |
423 | if MSH ~= nil then | |
424 | local MOVESPEED = nil | |
425 | if MOVEDIRECTION ~= nil then | |
426 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
427 | end | |
428 | local GROWTH = SIZE - ENDSIZE | |
429 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
430 | if TYPE == "Block" then | |
431 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
432 | else | |
433 | EFFECT.CFrame = CFRAME | |
434 | end | |
435 | for LOOP = 1, TIME+1 do | |
436 | Swait() | |
437 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
438 | if TYPE == "Wave" then | |
439 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
440 | end | |
441 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
442 | if TYPE == "Block" then | |
443 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
444 | else | |
445 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
446 | end | |
447 | if MOVEDIRECTION ~= nil then | |
448 | local ORI = EFFECT.Orientation | |
449 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
450 | EFFECT.Orientation = ORI | |
451 | end | |
452 | end | |
453 | EFFECT.Transparency = 1 | |
454 | if PLAYSSOUND == false then | |
455 | EFFECT:remove() | |
456 | else | |
457 | repeat Swait() until SOUND.Playing == false | |
458 | EFFECT:remove() | |
459 | end | |
460 | else | |
461 | if PLAYSSOUND == false then | |
462 | EFFECT:remove() | |
463 | else | |
464 | repeat Swait() until SOUND.Playing == false | |
465 | EFFECT:remove() | |
466 | end | |
467 | end | |
468 | end)) | |
469 | end | |
470 | ||
471 | function MakeForm(PART,TYPE) | |
472 | if TYPE == "Cyl" then | |
473 | local MSH = IT("CylinderMesh",PART) | |
474 | elseif TYPE == "Ball" then | |
475 | local MSH = IT("SpecialMesh",PART) | |
476 | MSH.MeshType = "Sphere" | |
477 | elseif TYPE == "Wedge" then | |
478 | local MSH = IT("SpecialMesh",PART) | |
479 | MSH.MeshType = "Wedge" | |
480 | end | |
481 | end | |
482 | ||
483 | Debris = game:GetService("Debris") | |
484 | ||
485 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
486 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
487 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
488 | end | |
489 | ||
490 | function turnto(position) | |
491 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
492 | end | |
493 | ||
494 | local Particle = IT("ParticleEmitter",nil) | |
495 | Particle.Enabled = false | |
496 | Particle.LightEmission = 0.2 | |
497 | Particle.Rate = 150 | |
498 | Particle.ZOffset = 1 | |
499 | Particle.Rotation = NumberRange.new(-180, 180) | |
500 | ||
501 | --ParticleEmitter({Speed = 5, RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false, Color1 = C3(1,1,1), Color2 = C3(1,1,1), Texture = ""}) | |
502 | function ParticleEmitter(Table) | |
503 | local PRTCL = Particle:Clone() | |
504 | local Color1 = Table.Color1 or C3(1,1,1) | |
505 | local Color2 = Table.Color2 or C3(1,1,1) | |
506 | local Speed = Table.Speed or 5 | |
507 | local Drag = Table.Drag or 0 | |
508 | local Size1 = Table.Size1 or 1 | |
509 | local Size2 = Table.Size2 or 5 | |
510 | local Lifetime1 = Table.Lifetime1 or 1 | |
511 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
512 | local Parent = Table.Parent or Torso | |
513 | local Emit = Table.Emit or 100 | |
514 | local Offset = Table.Offset or 360 | |
515 | local Acel = Table.Acel or VT(0,0,0) | |
516 | local Enabled = Table.Enabled or false | |
517 | local Texture = Table.Texture or "281983280" | |
518 | local RotS = Table.RotSpeed or NumberRange.new(-15, 15) | |
519 | local Trans1 = Table.Transparency1 or 0 | |
520 | local Trans2 = Table.Transparency2 or 0 | |
521 | PRTCL.Parent = Parent | |
522 | PRTCL.RotSpeed = RotS | |
523 | PRTCL.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,Trans1),NumberSequenceKeypoint.new(1,Trans2)}) | |
524 | PRTCL.Texture = "http://www.roblox.com/asset/?id="..Texture | |
525 | PRTCL.Color = ColorSequence.new(Color1,Color2) | |
526 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
527 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
528 | PRTCL.Speed = NumberRange.new(Speed) | |
529 | PRTCL.VelocitySpread = Offset | |
530 | PRTCL.Drag = Drag | |
531 | PRTCL.Acceleration = Acel | |
532 | if Enabled == false then | |
533 | PRTCL:Emit(Emit) | |
534 | Debris:AddItem(PRTCL,Lifetime2) | |
535 | else | |
536 | PRTCL.Enabled = true | |
537 | end | |
538 | return PRTCL | |
539 | end | |
540 | ||
541 | function AddChildrenToTable(FROM,PARENT,DIST,TABLE) | |
542 | for _, c in pairs(PARENT:GetDescendants()) do | |
543 | if c.ClassName == "Model" then | |
544 | if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then | |
545 | local HUMANOID = c:FindFirstChildOfClass("Humanoid") | |
546 | local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) | |
547 | if (TORSO.Position - FROM).Magnitude < DIST then | |
548 | table.insert(TABLE,c) | |
549 | end | |
550 | end | |
551 | end | |
552 | end | |
553 | end | |
554 | ||
555 | --//=================================\\ | |
556 | --|| WEAPON CREATION | |
557 | --\\=================================// | |
558 | ||
559 | local DECAL = IT("Decal",nil) | |
560 | DECAL.Transparency = 1 | |
561 | DECAL.Texture = "http://www.roblox.com/asset/?id=99174105" | |
562 | Head:ClearAllChildren() | |
563 | ||
564 | Humanoid.Parent = nil | |
565 | RootPart.Size = RootPart.Size*SIZE | |
566 | Torso.Size = Torso.Size*SIZE | |
567 | RightArm.Size = RightArm.Size*SIZE | |
568 | RightLeg.Size = RightLeg.Size*SIZE | |
569 | LeftArm.Size = LeftArm.Size*SIZE | |
570 | LeftLeg.Size = LeftLeg.Size*SIZE | |
571 | RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
572 | RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
573 | Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
574 | Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
575 | RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE) | |
576 | LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE) | |
577 | RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
578 | LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
579 | RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
580 | LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
581 | Head.Size = VT(Head.Size.Y,Head.Size.Y,Head.Size.Y)*SIZE | |
582 | RootJoint.Parent = RootPart | |
583 | Neck.Parent = Torso | |
584 | RightShoulder.Parent = Torso | |
585 | LeftShoulder.Parent = Torso | |
586 | RightHip.Parent = Torso | |
587 | LeftHip.Parent = Torso | |
588 | ||
589 | CreateMesh("SpecialMesh", Head, "FileMesh", "151778863", "151778895", VT(1.75, 1.75, 1.7)*SIZE, VT(0,0.4,0.1)*SIZE) | |
590 | --CreateMesh("SpecialMesh", Head, "FileMesh", "0", "0", VT(0.85,0.85,0.85)*SIZE, VT(0,1,-0.4)) | |
591 | Humanoid.DisplayDistanceType = "None" | |
592 | local naeeym = IT("BillboardGui",Character) | |
593 | naeeym.AlwaysOnTop = true | |
594 | naeeym.Size = UDim2.new(5,35,2,15) | |
595 | naeeym.StudsOffset = Vector3.new(0,5,0) | |
596 | naeeym.MaxDistance = 75 | |
597 | naeeym.Adornee = Character.Head | |
598 | naeeym.Name = "Name" | |
599 | local tecks = IT("TextLabel",naeeym) | |
600 | tecks.BackgroundTransparency = 1 | |
601 | tecks.TextScaled = true | |
602 | tecks.BorderSizePixel = 0 | |
603 | - | tecks.Text = "///////////////////" |
603 | + | tecks.Text = "________" |
604 | tecks.Font = "Fantasy" | |
605 | tecks.TextSize = 30 | |
606 | tecks.TextTransparency = 0.5 | |
607 | tecks.TextStrokeTransparency = 0.5 | |
608 | tecks.TextColor3 = C3(0,0,0) | |
609 | tecks.TextStrokeColor3 = C3(175/1275, 148/1275, 131/1275) | |
610 | tecks.Size = UDim2.new(1,0,0.5,0) | |
611 | tecks.Parent = naeeym | |
612 | local naeeym2 = IT("BillboardGui",Character) | |
613 | naeeym2.AlwaysOnTop = true | |
614 | naeeym2.Size = UDim2.new(7,35,3,15) | |
615 | naeeym2.StudsOffset = Vector3.new(0,5,0) | |
616 | naeeym2.MaxDistance = 75 | |
617 | naeeym2.Adornee = Character.Head | |
618 | naeeym2.Name = "Name2" | |
619 | local tecks2 = IT("TextLabel",naeeym2) | |
620 | tecks2.BackgroundTransparency = 1 | |
621 | tecks2.TextScaled = true | |
622 | tecks2.BorderSizePixel = 0 | |
623 | - | tecks2.Text = "Gaster" |
623 | + | tecks2.Text = "God Doge" |
624 | tecks2.Font = "Fantasy" | |
625 | tecks2.TextSize = 30 | |
626 | tecks2.TextStrokeTransparency = 0 | |
627 | tecks2.TextColor3 = C3(0,0,0) | |
628 | tecks2.TextStrokeColor3 = C3(175/575, 148/675, 131/675) | |
629 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
630 | tecks2.Parent = naeeym2 | |
631 | ||
632 | local MSG = game.Chat:FilterStringForBroadcast(tecks2.Text,Player) | |
633 | tecks2.Text = MSG | |
634 | ||
635 | local MSG = game.Chat:FilterStringForBroadcast(tecks.Text,Player) | |
636 | tecks.Text = MSG | |
637 | ||
638 | local RINGFIRE = {} | |
639 | local top = Instance.new("Shirt") | |
640 | top.ShirtTemplate = "rbxassetid://800414345" | |
641 | top.Parent = Character | |
642 | top.Name = "Cloth" | |
643 | local bottom = Instance.new("Pants") | |
644 | bottom.PantsTemplate = "rbxassetid://1197663992" | |
645 | bottom.Parent = Character | |
646 | bottom.Name = "Cloth" | |
647 | local FIRE = IT("Model",Weapon) | |
648 | FIRE.Name = "RingOfFire" | |
649 | local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Lavender", "Center", VT(0,0,0)) | |
650 | FIRE.PrimaryPart = MAIN | |
651 | for i = 1, 45 do | |
652 | local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Lavender", "RingPart", VT(1,1,1)) | |
653 | PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,8) | |
654 | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0,Speed = 0.2, Acel = VT(8,18,6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 0.8, Parent = PRT, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0.5,0,0), Texture = "1523916715"}) | |
655 | PRTCL.LockedToPart = true | |
656 | PRTCL.Rate = 35 | |
657 | table.insert(RINGFIRE,PRTCL) | |
658 | end | |
659 | local A = IT("Attachment",RightArm) | |
660 | A.Position = VT(0,-1*SIZE,0.1*SIZE) | |
661 | local B = IT("Attachment",LeftArm) | |
662 | B.Position = VT(0,-1*SIZE,0.1*SIZE) | |
663 | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0,Speed = 1, Acel = VT(0,-1,0), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1.4, Parent = A, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0.3,0,0), Texture = "1523916715"}) | |
664 | PRTCL.LockedToPart = true | |
665 | PRTCL.Rate = 85 | |
666 | table.insert(RINGFIRE,PRTCL) | |
667 | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0,Speed = 1, Acel = VT(0,-1,0), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1.4, Parent = B, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0.3,0,0), Texture = "1523916715"}) | |
668 | PRTCL.LockedToPart = true | |
669 | PRTCL.Rate = 85 | |
670 | table.insert(RINGFIRE,PRTCL) | |
671 | for _, c in pairs(Character:GetChildren()) do | |
672 | if c.ClassName == "Part" and c ~= RootPart then | |
673 | local Face = DECAL:Clone() | |
674 | Face.Parent = c | |
675 | Face.Face = "Top" | |
676 | local Face = DECAL:Clone() | |
677 | Face.Parent = c | |
678 | Face.Face = "Left" | |
679 | local Face = DECAL:Clone() | |
680 | Face.Parent = c | |
681 | Face.Face = "Right" | |
682 | local Face = DECAL:Clone() | |
683 | Face.Parent = c | |
684 | Face.Face = "Front" | |
685 | local Face = DECAL:Clone() | |
686 | Face.Parent = c | |
687 | Face.Face = "Back" | |
688 | local Face = DECAL:Clone() | |
689 | Face.Parent = c | |
690 | Face.Face = "Bottom" | |
691 | end | |
692 | end | |
693 | ||
694 | local LASTPART = Head | |
695 | for i = 1, 45 do | |
696 | local MATH = (1-(i/50)) | |
697 | if LASTPART == Head then | |
698 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
699 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.15, 1.5, -0.2) * ANGLES(RAD(-75), RAD(15), RAD(-15)), CF(0, 0, 0)) | |
700 | LASTPART = Horn | |
701 | Horn.Color = C3(0,0,0) | |
702 | MakeForm(Horn,"Cyl") | |
703 | local Face = DECAL:Clone() | |
704 | Face.Parent = Horn | |
705 | Face.Face = "Top" | |
706 | local Face = DECAL:Clone() | |
707 | Face.Parent = Horn | |
708 | Face.Face = "Left" | |
709 | local Face = DECAL:Clone() | |
710 | Face.Parent = Horn | |
711 | Face.Face = "Right" | |
712 | local Face = DECAL:Clone() | |
713 | Face.Parent = Horn | |
714 | Face.Face = "Front" | |
715 | local Face = DECAL:Clone() | |
716 | Face.Parent = Horn | |
717 | Face.Face = "Back" | |
718 | local Face = DECAL:Clone() | |
719 | Face.Parent = Horn | |
720 | Face.Face = "Bottom" | |
721 | else | |
722 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.15,0.25*MATH),false) | |
723 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(3), RAD(1), RAD(0)), CF(0, -Horn.Size.Y/2, 0)) | |
724 | LASTPART = Horn | |
725 | Horn.Color = C3(0,0,0) | |
726 | MakeForm(Horn,"Cyl") | |
727 | local Face = DECAL:Clone() | |
728 | Face.Parent = Horn | |
729 | Face.Face = "Top" | |
730 | local Face = DECAL:Clone() | |
731 | Face.Parent = Horn | |
732 | Face.Face = "Left" | |
733 | local Face = DECAL:Clone() | |
734 | Face.Parent = Horn | |
735 | Face.Face = "Right" | |
736 | local Face = DECAL:Clone() | |
737 | Face.Parent = Horn | |
738 | Face.Face = "Front" | |
739 | local Face = DECAL:Clone() | |
740 | Face.Parent = Horn | |
741 | Face.Face = "Back" | |
742 | local Face = DECAL:Clone() | |
743 | Face.Parent = Horn | |
744 | Face.Face = "Bottom" | |
745 | end | |
746 | end | |
747 | local LASTPART = Head | |
748 | for i = 1, 45 do | |
749 | local MATH = (1-(i/50)) | |
750 | if LASTPART == Head then | |
751 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
752 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.15, 1.5, -0.2) * ANGLES(RAD(-75), RAD(-15), RAD(15)), CF(0, 0, 0)) | |
753 | LASTPART = Horn | |
754 | Horn.Color = C3(0,0,0) | |
755 | MakeForm(Horn,"Cyl") | |
756 | local Face = DECAL:Clone() | |
757 | Face.Parent = Horn | |
758 | Face.Face = "Top" | |
759 | local Face = DECAL:Clone() | |
760 | Face.Parent = Horn | |
761 | Face.Face = "Left" | |
762 | local Face = DECAL:Clone() | |
763 | Face.Parent = Horn | |
764 | Face.Face = "Right" | |
765 | local Face = DECAL:Clone() | |
766 | Face.Parent = Horn | |
767 | Face.Face = "Front" | |
768 | local Face = DECAL:Clone() | |
769 | Face.Parent = Horn | |
770 | Face.Face = "Back" | |
771 | local Face = DECAL:Clone() | |
772 | Face.Parent = Horn | |
773 | Face.Face = "Bottom" | |
774 | else | |
775 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.15,0.25*MATH),false) | |
776 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(3), RAD(-1), RAD(0)), CF(0, -Horn.Size.Y/2, 0)) | |
777 | LASTPART = Horn | |
778 | Horn.Color = C3(0,0,0) | |
779 | MakeForm(Horn,"Cyl") | |
780 | local Face = DECAL:Clone() | |
781 | Face.Parent = Horn | |
782 | Face.Face = "Top" | |
783 | local Face = DECAL:Clone() | |
784 | Face.Parent = Horn | |
785 | Face.Face = "Left" | |
786 | local Face = DECAL:Clone() | |
787 | Face.Parent = Horn | |
788 | Face.Face = "Right" | |
789 | local Face = DECAL:Clone() | |
790 | Face.Parent = Horn | |
791 | Face.Face = "Front" | |
792 | local Face = DECAL:Clone() | |
793 | Face.Parent = Horn | |
794 | Face.Face = "Back" | |
795 | local Face = DECAL:Clone() | |
796 | Face.Parent = Horn | |
797 | Face.Face = "Bottom" | |
798 | end | |
799 | end | |
800 | local LASTPART = Head | |
801 | for i = 1, 45 do | |
802 | local MATH = (1-(i/50)) | |
803 | if LASTPART == Head then | |
804 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
805 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.25, 1.5, -0.2) * ANGLES(RAD(-45), RAD(15), RAD(-35)), CF(0, 0, 0)) | |
806 | LASTPART = Horn | |
807 | Horn.Color = C3(0,0,0) | |
808 | MakeForm(Horn,"Cyl") | |
809 | local Face = DECAL:Clone() | |
810 | Face.Parent = Horn | |
811 | Face.Face = "Top" | |
812 | local Face = DECAL:Clone() | |
813 | Face.Parent = Horn | |
814 | Face.Face = "Left" | |
815 | local Face = DECAL:Clone() | |
816 | Face.Parent = Horn | |
817 | Face.Face = "Right" | |
818 | local Face = DECAL:Clone() | |
819 | Face.Parent = Horn | |
820 | Face.Face = "Front" | |
821 | local Face = DECAL:Clone() | |
822 | Face.Parent = Horn | |
823 | Face.Face = "Back" | |
824 | local Face = DECAL:Clone() | |
825 | Face.Parent = Horn | |
826 | Face.Face = "Bottom" | |
827 | else | |
828 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.12,0.25*MATH),false) | |
829 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(4), RAD(1), RAD(0)), CF(0, -Horn.Size.Y/2, 0)) | |
830 | LASTPART = Horn | |
831 | Horn.Color = C3(0,0,0) | |
832 | MakeForm(Horn,"Cyl") | |
833 | local Face = DECAL:Clone() | |
834 | Face.Parent = Horn | |
835 | Face.Face = "Top" | |
836 | local Face = DECAL:Clone() | |
837 | Face.Parent = Horn | |
838 | Face.Face = "Left" | |
839 | local Face = DECAL:Clone() | |
840 | Face.Parent = Horn | |
841 | Face.Face = "Right" | |
842 | local Face = DECAL:Clone() | |
843 | Face.Parent = Horn | |
844 | Face.Face = "Front" | |
845 | local Face = DECAL:Clone() | |
846 | Face.Parent = Horn | |
847 | Face.Face = "Back" | |
848 | local Face = DECAL:Clone() | |
849 | Face.Parent = Horn | |
850 | Face.Face = "Bottom" | |
851 | end | |
852 | end | |
853 | local LASTPART = Head | |
854 | for i = 1, 45 do | |
855 | local MATH = (1-(i/50)) | |
856 | if LASTPART == Head then | |
857 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
858 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.25, 1.5, -0.2) * ANGLES(RAD(-45), RAD(-15), RAD(35)), CF(0, 0, 0)) | |
859 | LASTPART = Horn | |
860 | Horn.Color = C3(0,0,0) | |
861 | MakeForm(Horn,"Cyl") | |
862 | local Face = DECAL:Clone() | |
863 | Face.Parent = Horn | |
864 | Face.Face = "Top" | |
865 | local Face = DECAL:Clone() | |
866 | Face.Parent = Horn | |
867 | Face.Face = "Left" | |
868 | local Face = DECAL:Clone() | |
869 | Face.Parent = Horn | |
870 | Face.Face = "Right" | |
871 | local Face = DECAL:Clone() | |
872 | Face.Parent = Horn | |
873 | Face.Face = "Front" | |
874 | local Face = DECAL:Clone() | |
875 | Face.Parent = Horn | |
876 | Face.Face = "Back" | |
877 | local Face = DECAL:Clone() | |
878 | Face.Parent = Horn | |
879 | Face.Face = "Bottom" | |
880 | else | |
881 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.12,0.25*MATH),false) | |
882 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(4), RAD(-1), RAD(0)), CF(0, -Horn.Size.Y/2, 0)) | |
883 | LASTPART = Horn | |
884 | Horn.Color = C3(0,0,0) | |
885 | MakeForm(Horn,"Cyl") | |
886 | local Face = DECAL:Clone() | |
887 | Face.Parent = Horn | |
888 | Face.Face = "Top" | |
889 | local Face = DECAL:Clone() | |
890 | Face.Parent = Horn | |
891 | Face.Face = "Left" | |
892 | local Face = DECAL:Clone() | |
893 | Face.Parent = Horn | |
894 | Face.Face = "Right" | |
895 | local Face = DECAL:Clone() | |
896 | Face.Parent = Horn | |
897 | Face.Face = "Front" | |
898 | local Face = DECAL:Clone() | |
899 | Face.Parent = Horn | |
900 | Face.Face = "Back" | |
901 | local Face = DECAL:Clone() | |
902 | Face.Parent = Horn | |
903 | Face.Face = "Bottom" | |
904 | end | |
905 | end | |
906 | ||
907 | local EYE1 = IT("Attachment",Head) | |
908 | EYE1.Position = (VT(0.5, 0.900, -1.195)/2)*SIZE | |
909 | local EYE2 = IT("Attachment",Head) | |
910 | EYE2.Position = (VT(-0.5, 0.900, -1.195)/2)*SIZE | |
911 | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 0.2, Acel = VT(2,0.5,0.6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 0.15, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1.4, Parent = EYE1, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(1,0,0), Color2 = C3(0.3,0,0), Texture = "1523916715"}) | |
912 | PRTCL.LockedToPart = true | |
913 | PRTCL.Rate = 185 | |
914 | PRTCL.ZOffset = 0.1 | |
915 | table.insert(RINGFIRE,PRTCL) | |
916 | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 0.2, Acel = VT(-2,0.5,0.6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 0.15, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1.4, Parent = EYE2, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(1,0,0), Color2 = C3(0.3,0,0), Texture = "1523916715"}) | |
917 | PRTCL.LockedToPart = true | |
918 | PRTCL.Rate = 185 | |
919 | PRTCL.ZOffset = 0.1 | |
920 | local BODY = {} | |
921 | table.insert(RINGFIRE,PRTCL) | |
922 | for _, c in pairs(Character:GetDescendants()) do | |
923 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
924 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
925 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
926 | end | |
927 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name}) | |
928 | elseif c:IsA("JointInstance") then | |
929 | table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil}) | |
930 | end | |
931 | end | |
932 | function refit() | |
933 | Character.Parent = workspace | |
934 | for e = 1, #BODY do | |
935 | if BODY[e] ~= nil then | |
936 | local STUFF = BODY[e] | |
937 | local PART = STUFF[1] | |
938 | local PARENT = STUFF[2] | |
939 | local MATERIAL = STUFF[3] | |
940 | local COLOR = STUFF[4] | |
941 | local TRANSPARENCY = STUFF[5] | |
942 | --local SIZE = STUFF[6] | |
943 | local NAME = STUFF[7] | |
944 | if PART.ClassName == "Part" and PART ~= RootPart then | |
945 | PART.Material = MATERIAL | |
946 | PART.Transparency = TRANSPARENCY | |
947 | PART.Name = NAME | |
948 | end | |
949 | if PART.Parent ~= PARENT then | |
950 | Humanoid:remove() | |
951 | PART.Parent = PARENT | |
952 | Humanoid = IT("Humanoid",Character) | |
953 | end | |
954 | end | |
955 | end | |
956 | end | |
957 | ||
958 | for _, c in pairs(Weapon:GetChildren()) do | |
959 | if c.ClassName == "Part" then | |
960 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
961 | end | |
962 | end | |
963 | ||
964 | local SKILLTEXTCOLOR = C3(0,0,0) | |
965 | local SKILLFONT = "Fantasy" | |
966 | local SKILLTEXTSIZE = 6 | |
967 | ||
968 | Weapon.Parent = Character | |
969 | Humanoid.Parent = Character | |
970 | ||
971 | Humanoid.Died:connect(function() | |
972 | refit() | |
973 | end) | |
974 | ||
975 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
976 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
977 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
978 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
979 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
980 | ||
981 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1") | |
982 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2") | |
983 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3") | |
984 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 4") | |
985 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 5") | |
986 | ||
987 | --//=================================\\ | |
988 | --|| DAMAGING | |
989 | --\\=================================// | |
990 | ||
991 | function ApplyDamage(Humanoid,Damage,TorsoPart) | |
992 | local defence = Instance.new("BoolValue",Humanoid.Parent) | |
993 | defence.Name = ("HitBy"..Player.Name) | |
994 | game:GetService("Debris"):AddItem(defence, 0.001) | |
995 | Damage = Damage * DAMAGEMULTIPLIER | |
996 | if Humanoid.Health ~= 0 then | |
997 | local CritChance = MRANDOM(1,100) | |
998 | if Damage > Humanoid.Health then | |
999 | Damage = math.ceil(Humanoid.Health) | |
1000 | if Damage == 0 then | |
1001 | Damage = 0.1 | |
1002 | end | |
1003 | end | |
1004 | Humanoid.Health = Humanoid.Health - Damage | |
1005 | end | |
1006 | end | |
1007 | ||
1008 | function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL) | |
1009 | local CHILDREN = workspace:GetDescendants() | |
1010 | for index, CHILD in pairs(CHILDREN) do | |
1011 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
1012 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
1013 | if HUM then | |
1014 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1015 | if TORSO then | |
1016 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
1017 | if CHILD.Parent == Effects and CHILD:FindFirstChild("RealBody") then | |
1018 | local BODY = CHILD.RealBody.Value | |
1019 | if BODY then | |
1020 | local HUM = BODY:FindFirstChildOfClass("Humanoid") | |
1021 | if HUM then | |
1022 | if INSTAKILL == true or (HUM.MaxHealth == math.huge and MAXDMG > 0) then | |
1023 | BODY:BreakJoints() | |
1024 | else | |
1025 | local TORSO = BODY:FindFirstChild("Torso") or BODY:FindFirstChild("UpperTorso") | |
1026 | if TORSO then | |
1027 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
1028 | local DMG = MRANDOM(MINDMG,MAXDMG)/2 | |
1029 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,85,1), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0.3,0,0), SoundID = HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)], SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10}) | |
1030 | ApplyDamage(HUM,DMG,TORSO) | |
1031 | end | |
1032 | end | |
1033 | end | |
1034 | end | |
1035 | else | |
1036 | if INSTAKILL == true or (HUM.MaxHealth == math.huge and MAXDMG > 0) then | |
1037 | CHILD:BreakJoints() | |
1038 | else | |
1039 | local DMG = MRANDOM(MINDMG,MAXDMG) | |
1040 | ApplyDamage(HUM,DMG,TORSO) | |
1041 | end | |
1042 | if FLING > 0 then | |
1043 | for _, c in pairs(CHILD:GetChildren()) do | |
1044 | if c:IsA("BasePart") then | |
1045 | local bv = Instance.new("BodyVelocity") | |
1046 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1047 | bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING | |
1048 | bv.Parent = c | |
1049 | Debris:AddItem(bv,0.05) | |
1050 | end | |
1051 | end | |
1052 | end | |
1053 | end | |
1054 | end | |
1055 | end | |
1056 | end | |
1057 | end | |
1058 | end | |
1059 | end | |
1060 | ||
1061 | --//=================================\\ | |
1062 | --|| ATTACK FUNCTIONS AND STUFF | |
1063 | --\\=================================// | |
1064 | ||
1065 | function MissilesOfDespair() | |
1066 | ATTACK = true | |
1067 | Rooted = true | |
1068 | local MAKERING = true | |
1069 | local RINGGROW = false | |
1070 | CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, MRANDOM(9,11)/1.5, MRANDOM(9,11)/10, false) | |
1071 | coroutine.resume(coroutine.create(function() | |
1072 | repeat | |
1073 | Swait() | |
1074 | if ATTACK == false then | |
1075 | break | |
1076 | end | |
1077 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1078 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1079 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1080 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1081 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1082 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1083 | until MAKERING == false | |
1084 | repeat | |
1085 | Swait() | |
1086 | if ATTACK == false then | |
1087 | break | |
1088 | end | |
1089 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1090 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1091 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(43 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1092 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1093 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1094 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1095 | until RINGGROW == true | |
1096 | end)) | |
1097 | local FIRERING = IT("Model",Effects) | |
1098 | FIRERING.Name = "RingOfFire" | |
1099 | local MAIN = CreatePart(3, FIRERING, "Neon", 0, 1, "Lavender", "Center", VT(0,0,0)) | |
1100 | FIRERING.PrimaryPart = MAIN | |
1101 | local RINGS = {} | |
1102 | local EMITTERS = {} | |
1103 | for i = 1, 45 do | |
1104 | local PRT = CreatePart(3, FIRERING, "Neon", 0, 1, "Lavender", "RingPart", VT(1,1,1)) | |
1105 | PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,0) | |
1106 | table.insert(RINGS,PRT) | |
1107 | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0,Speed = 0.2, Acel = VT(8,18,6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 0.8, Parent = PRT, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0.5,0,0), Texture = "1523916715"}) | |
1108 | PRTCL.LockedToPart = true | |
1109 | PRTCL.Rate = 35 | |
1110 | table.insert(EMITTERS,PRTCL) | |
1111 | end | |
1112 | FIRERING:SetPrimaryPartCFrame(RootPart.CFrame*CF(0,3,-3)*ANGLES(RAD(-75),RAD(0),RAD(0))) | |
1113 | wait(0.5) | |
1114 | MAKERING = false | |
1115 | CreateSound(278641993, MAIN, 5, 1.2, false) | |
1116 | for e = 1, 45 do | |
1117 | Swait() | |
1118 | FIRERING:SetPrimaryPartCFrame(RootPart.CFrame*CF(0,3,-3)*ANGLES(RAD(-75),RAD(0),RAD(0))) | |
1119 | for i = 1, #RINGS do | |
1120 | RINGS[i].CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,e/10) | |
1121 | end | |
1122 | end | |
1123 | RINGGROW = true | |
1124 | wait(0.2) | |
1125 | for i = 1, 15 do | |
1126 | wait(0.08) | |
1127 | coroutine.resume(coroutine.create(function() | |
1128 | local POS = Mouse.Hit.p | |
1129 | local MISSILE = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Missile", VT(0.5,1,0.5)) | |
1130 | MISSILE.Color = C3(0.2,0,0) | |
1131 | CreateSound(84005018, MISSILE, 0.2, 1.2, false) | |
1132 | MakeForm(MISSILE,"Ball") | |
1133 | MISSILE.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(1,5)) | |
1134 | for i = 1, 10 do | |
1135 | Swait() | |
1136 | MISSILE.Transparency = MISSILE.Transparency - 1/15 | |
1137 | MISSILE.CFrame = MISSILE.CFrame * CF(0,0.7,0) | |
1138 | end | |
1139 | for i = 1, 5 do | |
1140 | Swait() | |
1141 | MISSILE.Transparency = MISSILE.Transparency - 1/15 | |
1142 | MISSILE.CFrame = MISSILE.CFrame * CF(0,0.5,0) | |
1143 | end | |
1144 | MISSILE.Size = VT(0.2,0.2,1.5) | |
1145 | MISSILE.CFrame = CF(MISSILE.Position,POS) | |
1146 | for i = 1, 150 do | |
1147 | Swait() | |
1148 | MISSILE.CFrame = MISSILE.CFrame*CF(0,0,-3) | |
1149 | local HIT = Raycast(MISSILE.Position, MISSILE.CFrame.lookVector, 4, Character) | |
1150 | if HIT ~= nil then | |
1151 | WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = MISSILE.Size, Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = MISSILE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = MISSILE.Color, SoundID = nil, SoundPitch = 1.3, SoundVolume = 3}) | |
1152 | WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = MISSILE.Size, Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = MISSILE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = MISSILE.Color, SoundID = nil, SoundPitch = 1.3, SoundVolume = 3}) | |
1153 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = MISSILE.Size, Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = MISSILE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = MISSILE.Color, SoundID = 165970126, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10}) | |
1154 | for i = 1, 5 do | |
1155 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(35,2,35), Transparency = 0.8, Transparency2 = 1, CFrame = MISSILE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6}) | |
1156 | end | |
1157 | ApplyAoE(MISSILE.Position,15,15,25,35,false) | |
1158 | break | |
1159 | end | |
1160 | end | |
1161 | MISSILE:remove() | |
1162 | end)) | |
1163 | end | |
1164 | for i = 1, #EMITTERS do | |
1165 | EMITTERS[i].Enabled = false | |
1166 | end | |
1167 | Debris:AddItem(FIRERING,3) | |
1168 | ATTACK = false | |
1169 | Rooted = false | |
1170 | end | |
1171 | ||
1172 | function ShadowRoam() | |
1173 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
1174 | if HITFLOOR then | |
1175 | ATTACK = true | |
1176 | CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, MRANDOM(9,11)/1.5, MRANDOM(9,11)/10, false) | |
1177 | local BUSY = false | |
1178 | Rooted = true | |
1179 | local CLOAKING = false | |
1180 | local UNCLOAKED = true | |
1181 | local LOOP = nil | |
1182 | local FAKESHADOW = IT("Model",Effects) | |
1183 | FAKESHADOW.Name = "Shadow" | |
1184 | local POS = RootPart.Position | |
1185 | local MOUSEHIT = nil | |
1186 | -- | |
1187 | local TORS = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", Torso.Size) | |
1188 | TORS.Color = C3(0,0,0) | |
1189 | TORS.CFrame = RootPart.CFrame*CF(0,-6.85,-0.8) * ANGLES(RAD(90), RAD(180), RAD(0)) | |
1190 | local HED = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", VT(Head.Size.Y,Head.Size.Y,Head.Size.Y)) | |
1191 | HED.Color = C3(0,0,0) | |
1192 | HED.CFrame = TORS.CFrame*CF(0,-TORS.Size.Y/2-HED.Size.Y/2,0) | |
1193 | local RARM = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", RightArm.Size) | |
1194 | RARM.Color = C3(0,0,0) | |
1195 | RARM.CFrame = TORS.CFrame*CF(TORS.Size.X/2+RARM.Size.X/1.9,-0.3,0) * ANGLES(RAD(0), RAD(0), RAD(-15)) | |
1196 | local LARM = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", RightArm.Size) | |
1197 | LARM.Color = C3(0,0,0) | |
1198 | LARM.CFrame = TORS.CFrame*CF(-TORS.Size.X/2-RARM.Size.X/1.9,-0.3,0) * ANGLES(RAD(0), RAD(0), RAD(15)) | |
1199 | local RLEG = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", RightLeg.Size) | |
1200 | RLEG.Color = C3(0,0,0) | |
1201 | RLEG.CFrame = TORS.CFrame*CF(TORS.Size.X/2.8,TORS.Size.Y,0) * ANGLES(RAD(0), RAD(0), RAD(-15)) | |
1202 | local LLEG = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Maroon", "Spike", RightLeg.Size) | |
1203 | LLEG.Color = C3(0,0,0) | |
1204 | LLEG.CFrame = TORS.CFrame*CF(-TORS.Size.X/2.8,TORS.Size.Y,0) * ANGLES(RAD(0), RAD(0), RAD(15)) | |
1205 | -- | |
1206 | coroutine.resume(coroutine.create(function() | |
1207 | coroutine.resume(coroutine.create(function() | |
1208 | while wait() do | |
1209 | if RootPart.Position.Y > POS.Y then | |
1210 | BUSY = true | |
1211 | if MOUSEHIT then | |
1212 | MOUSEHIT:disconnect() | |
1213 | end | |
1214 | for _, c in pairs(Character:GetChildren()) do | |
1215 | if c.ClassName == "Part" and c ~= RootPart then | |
1216 | c.Transparency = 0 | |
1217 | for _, q in pairs(c:GetChildren()) do | |
1218 | if q.ClassName == "Decal" then | |
1219 | q.Transparency = 0 | |
1220 | end | |
1221 | end | |
1222 | end | |
1223 | end | |
1224 | for i=0, 1.5, 0.1 / Animation_Speed do | |
1225 | Swait() | |
1226 | RootPart.Anchored = true | |
1227 | UNCLOAKED = false | |
1228 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
1229 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1230 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1231 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1232 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1233 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1234 | end | |
1235 | coroutine.resume(coroutine.create(function() | |
1236 | for i = 1, 15 do | |
1237 | Swait() | |
1238 | if FAKESHADOW then | |
1239 | for _, q in pairs(FAKESHADOW:GetChildren()) do | |
1240 | if q.ClassName == "Part" then | |
1241 | q.Transparency = q.Transparency + 1/15 | |
1242 | end | |
1243 | end | |
1244 | end | |
1245 | end | |
1246 | if FAKESHADOW then | |
1247 | FAKESHADOW:remove() | |
1248 | end | |
1249 | FAKESHADOW = nil | |
1250 | end)) | |
1251 | for i=0, 0.5, 0.1 / Animation_Speed do | |
1252 | Swait() | |
1253 | RootPart.Anchored = true | |
1254 | UNCLOAKED = true | |
1255 | if LOOP then | |
1256 | LOOP.Pitch = LOOP.Pitch - 0.2 | |
1257 | end | |
1258 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
1259 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1260 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1261 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1262 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1263 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1264 | end | |
1265 | LOOP:remove() | |
1266 | LOOP = nil | |
1267 | for i = 1, 35 do | |
1268 | Swait() | |
1269 | for _, c in pairs(Character:GetChildren()) do | |
1270 | if c.ClassName == "Part" then | |
1271 | for _, q in pairs(c:GetChildren()) do | |
1272 | if q.ClassName == "Decal" then | |
1273 | q.Transparency = q.Transparency + 1/35 | |
1274 | end | |
1275 | end | |
1276 | end | |
1277 | end | |
1278 | end | |
1279 | UNANCHOR = true | |
1280 | ATTACK = false | |
1281 | Rooted = false | |
1282 | end | |
1283 | if FAKESHADOW then | |
1284 | TORS.CFrame = RootPart.CFrame*CF(0,-6.85,-0.8) * ANGLES(RAD(90), RAD(180), RAD(0)) | |
1285 | HED.CFrame = TORS.CFrame*CF(0,-TORS.Size.Y/2-HED.Size.Y/2,0) | |
1286 | RARM.CFrame = TORS.CFrame*CF(TORS.Size.X/2+RARM.Size.X/1.9,-0.3,0) * ANGLES(RAD(0), RAD(0), RAD(-15)) | |
1287 | LARM.CFrame = TORS.CFrame*CF(-TORS.Size.X/2-RARM.Size.X/1.9,-0.3,0) * ANGLES(RAD(0), RAD(0), RAD(15)) | |
1288 | RLEG.CFrame = TORS.CFrame*CF(TORS.Size.X/2.8,TORS.Size.Y,0) * ANGLES(RAD(0), RAD(0), RAD(-15)) | |
1289 | LLEG.CFrame = TORS.CFrame*CF(-TORS.Size.X/2.8,TORS.Size.Y,0) * ANGLES(RAD(0), RAD(0), RAD(15)) | |
1290 | end | |
1291 | if LOOP ~= nil then | |
1292 | LOOP.Parent = TORS | |
1293 | end | |
1294 | naeeym.Enabled = UNCLOAKED | |
1295 | naeeym2.Enabled = UNCLOAKED | |
1296 | for c = 1, #RINGFIRE do | |
1297 | RINGFIRE[c].Enabled = UNCLOAKED | |
1298 | end | |
1299 | if ATTACK == false then | |
1300 | break | |
1301 | end | |
1302 | end | |
1303 | end)) | |
1304 | repeat | |
1305 | Swait() | |
1306 | if ATTACK == false then | |
1307 | break | |
1308 | end | |
1309 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1310 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1311 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1312 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1313 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1314 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1315 | until CLOAKING == true | |
1316 | end)) | |
1317 | wait(0.3) | |
1318 | for i = 1, 35 do | |
1319 | Swait() | |
1320 | for _, c in pairs(Character:GetChildren()) do | |
1321 | if c.ClassName == "Part" then | |
1322 | for _, q in pairs(c:GetChildren()) do | |
1323 | if q.ClassName == "Decal" then | |
1324 | q.Transparency = q.Transparency - 1/35 | |
1325 | end | |
1326 | end | |
1327 | end | |
1328 | end | |
1329 | end | |
1330 | UNANCHOR = false | |
1331 | RootPart.Anchored = true | |
1332 | CLOAKING = true | |
1333 | coroutine.resume(coroutine.create(function() | |
1334 | for i = 1, 15 do | |
1335 | Swait() | |
1336 | for _, q in pairs(FAKESHADOW:GetChildren()) do | |
1337 | if q.ClassName == "Part" then | |
1338 | q.Transparency = q.Transparency - 1/15 | |
1339 | end | |
1340 | end | |
1341 | end | |
1342 | end)) | |
1343 | for i=0, 0.2, 0.1 / Animation_Speed do | |
1344 | Swait() | |
1345 | RootPart.Anchored = true | |
1346 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -2*SIZE) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
1347 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1348 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1349 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1350 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1351 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1352 | end | |
1353 | LOOP = CreateSound(487214658, TORS, 0, 1, true) | |
1354 | for i=0, 0.6, 0.1 / Animation_Speed do | |
1355 | Swait() | |
1356 | RootPart.Anchored = true | |
1357 | UNCLOAKED = false | |
1358 | if LOOP then | |
1359 | LOOP.Volume = LOOP.Volume + 0.1 | |
1360 | end | |
1361 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -7*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
1362 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1363 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1364 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1365 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1366 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1367 | end | |
1368 | for _, c in pairs(Character:GetChildren()) do | |
1369 | if c.ClassName == "Part" then | |
1370 | c.Transparency = 1 | |
1371 | for _, q in pairs(c:GetChildren()) do | |
1372 | if q.ClassName == "Decal" then | |
1373 | q.Transparency = 1 | |
1374 | end | |
1375 | end | |
1376 | end | |
1377 | end | |
1378 | MOUSEHIT = Mouse.Button1Down:connect(function(NEWKEY) | |
1379 | local HITFLOOR,HITPOS = Raycast(RootPart.Position-VT(0,2.1*SIZE,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
1380 | if HITFLOOR then | |
1381 | local POS = HITPOS | |
1382 | local WORKING = true | |
1383 | coroutine.resume(coroutine.create(function() | |
1384 | repeat | |
1385 | Swait() | |
1386 | WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(10,0.2,10), Size2 = VT(0,0.5,0), Transparency = 1, Transparency2 = 0, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10}) | |
1387 | until WORKING == false | |
1388 | end)) | |
1389 | wait(0.3) | |
1390 | local SPIKE = CreatePart(3, Effects, "Fabric", 0, 0, "Maroon", "Spike", VT(2,32,2)) | |
1391 | SPIKE.Color = C3(0,0,0) | |
1392 | local MSH = IT("SpecialMesh",SPIKE) | |
1393 | MSH.MeshType = "FileMesh" | |
1394 | MSH.MeshId = "http://www.roblox.com/asset/?id=785967755" | |
1395 | MSH.Scale = SPIKE.Size/50 | |
1396 | SPIKE.CFrame = CF(POS+VT(0,15,0)) | |
1397 | ApplyAoE(SPIKE.Position,15,35,55,35,false) | |
1398 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,5,0), Size2 = VT(5,1,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 178452241, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10}) | |
1399 | wait(0.2) | |
1400 | for i = 1, 16 do | |
1401 | Swait() | |
1402 | SPIKE.CFrame = SPIKE.CFrame*CF(0,-2,0) | |
1403 | end | |
1404 | SPIKE:remove() | |
1405 | WORKING = false | |
1406 | end | |
1407 | end) | |
1408 | Mouse.KeyDown:connect(function(NEWKEY) | |
1409 | if NEWKEY == "b" and BUSY == false then | |
1410 | BUSY = true | |
1411 | if MOUSEHIT then | |
1412 | MOUSEHIT:disconnect() | |
1413 | end | |
1414 | for _, c in pairs(Character:GetChildren()) do | |
1415 | if c.ClassName == "Part" and c ~= RootPart then | |
1416 | c.Transparency = 0 | |
1417 | for _, q in pairs(c:GetChildren()) do | |
1418 | if q.ClassName == "Decal" then | |
1419 | q.Transparency = 0 | |
1420 | end | |
1421 | end | |
1422 | end | |
1423 | end | |
1424 | for i=0, 1.5, 0.1 / Animation_Speed do | |
1425 | Swait() | |
1426 | RootPart.Anchored = true | |
1427 | UNCLOAKED = false | |
1428 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
1429 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1430 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1431 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1432 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1433 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1434 | end | |
1435 | coroutine.resume(coroutine.create(function() | |
1436 | for i = 1, 15 do | |
1437 | Swait() | |
1438 | for _, q in pairs(FAKESHADOW:GetChildren()) do | |
1439 | if q.ClassName == "Part" then | |
1440 | q.Transparency = q.Transparency + 1/15 | |
1441 | end | |
1442 | end | |
1443 | end | |
1444 | FAKESHADOW:remove() | |
1445 | FAKESHADOW = nil | |
1446 | end)) | |
1447 | for i=0, 0.5, 0.1 / Animation_Speed do | |
1448 | Swait() | |
1449 | RootPart.Anchored = true | |
1450 | UNCLOAKED = true | |
1451 | LOOP.Pitch = LOOP.Pitch - 0.2 | |
1452 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
1453 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1454 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1455 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1456 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1457 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1458 | end | |
1459 | LOOP:remove() | |
1460 | LOOP = nil | |
1461 | for i = 1, 35 do | |
1462 | Swait() | |
1463 | for _, c in pairs(Character:GetChildren()) do | |
1464 | if c.ClassName == "Part" then | |
1465 | for _, q in pairs(c:GetChildren()) do | |
1466 | if q.ClassName == "Decal" then | |
1467 | q.Transparency = q.Transparency + 1/35 | |
1468 | end | |
1469 | end | |
1470 | end | |
1471 | end | |
1472 | end | |
1473 | UNANCHOR = true | |
1474 | ATTACK = false | |
1475 | Rooted = false | |
1476 | elseif NEWKEY == "w" and BUSY == false then | |
1477 | repeat | |
1478 | Swait() | |
1479 | local HITFLOOR = Raycast(CF(RootPart.CFrame*CF(0,-2.1*SIZE,0).p,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z))*CF(0,0,-3).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5*SIZE, Character) | |
1480 | local FLOOR,HITPOS = Raycast(RootPart.Position-VT(0,-2.1*SIZE,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5*SIZE, Character) | |
1481 | if HITFLOOR then | |
1482 | WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(4,0.2,4), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10}) | |
1483 | RootPart.CFrame = CF(RootPart.Position,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z))*CF(0,0,-1) | |
1484 | end | |
1485 | until KEYHOLD == false or BUSY == true | |
1486 | end | |
1487 | end) | |
1488 | end | |
1489 | end | |
1490 | ||
1491 | function PillarOfDespair() | |
1492 | ATTACK = true | |
1493 | Rooted = true | |
1494 | CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, MRANDOM(9,11)/2.5, MRANDOM(9,11)/10, false) | |
1495 | FORCEIDLE = true | |
1496 | for i = 1, 5 do | |
1497 | Swait() | |
1498 | for _, c in pairs(Character:GetChildren()) do | |
1499 | if c.ClassName == "Part" then | |
1500 | for _, q in pairs(c:GetChildren()) do | |
1501 | if q.ClassName == "Decal" then | |
1502 | q.Transparency = q.Transparency - 1/5 | |
1503 | end | |
1504 | end | |
1505 | end | |
1506 | end | |
1507 | end | |
1508 | local ORIGINPOS = RootPart.Position | |
1509 | CreateSound(1447872444, Torso, 10, 1.2, false) | |
1510 | for c = 1, #RINGFIRE do | |
1511 | RINGFIRE[c].Enabled = false | |
1512 | end | |
1513 | for i = 1, 25 do | |
1514 | Swait() | |
1515 | coroutine.resume(coroutine.create(function() | |
1516 | local POS = RootPart.Position | |
1517 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,50,0), Size2 = VT(15+i,45,15+i), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,2.2*SIZE,0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1518 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,25,0), Size2 = VT(25+i,0,25+i), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,2.2*SIZE,0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1519 | wait(0.3) | |
1520 | ApplyAoE(POS,25+i,15,25,25,false) | |
1521 | end)) | |
1522 | RootPart.CFrame = RootPart.CFrame*CF(0,0,5) | |
1523 | end | |
1524 | for c = 1, #RINGFIRE do | |
1525 | RINGFIRE[c].Enabled = true | |
1526 | end | |
1527 | FORCEIDLE = false | |
1528 | local BUILDUP = true | |
1529 | coroutine.resume(coroutine.create(function() | |
1530 | for i = 1, 35 do | |
1531 | Swait() | |
1532 | for _, c in pairs(Character:GetChildren()) do | |
1533 | if c.ClassName == "Part" then | |
1534 | for _, q in pairs(c:GetChildren()) do | |
1535 | if q.ClassName == "Decal" then | |
1536 | q.Transparency = q.Transparency + 1/35 | |
1537 | end | |
1538 | end | |
1539 | end | |
1540 | end | |
1541 | end | |
1542 | end)) | |
1543 | coroutine.resume(coroutine.create(function() | |
1544 | repeat | |
1545 | Swait() | |
1546 | if ATTACK == false then | |
1547 | break | |
1548 | end | |
1549 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1550 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1551 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1552 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1553 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1554 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1555 | until BUILDUP == false | |
1556 | repeat | |
1557 | Swait() | |
1558 | if ATTACK == false then | |
1559 | break | |
1560 | end | |
1561 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1562 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1563 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(43 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1564 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1565 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1566 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1567 | until ATTACK == false | |
1568 | end)) | |
1569 | wait(0.5) | |
1570 | BUILDUP = false | |
1571 | coroutine.resume(coroutine.create(function() | |
1572 | WACKYEFFECT({Time = 50, EffectType = "Sphere", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CF(ORIGINPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = CHARGE, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/1.2}) | |
1573 | for i = 1, 5 do | |
1574 | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(25,2,25), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.7, CFrame = CF(ORIGINPOS) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 1, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2}) | |
1575 | end | |
1576 | wait(1.3) | |
1577 | for i = 1, 6 do | |
1578 | WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(85+(i*3),85+(i*3),85+(i*3)), Transparency = 0, Transparency2 = 1, CFrame = CF(ORIGINPOS-VT(0,2,0)) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,25,0), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15), RotationZ = 0, Material = "Neon", Color = C3(i/120,0,0), SoundID = ROUGHBLAST, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 10}) | |
1579 | end | |
1580 | for i = 1, 25 do | |
1581 | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(325,1,325), Transparency = 0.8, Transparency2 = 1, CFrame = CF(ORIGINPOS-VT(0,2,0)) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 1, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2}) | |
1582 | end | |
1583 | ApplyAoE(ORIGINPOS,85,35,85,125,false) | |
1584 | end)) | |
1585 | wait(0.4) | |
1586 | ATTACK = false | |
1587 | Rooted = false | |
1588 | end | |
1589 | ||
1590 | function InfernoWall() | |
1591 | CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, MRANDOM(9,11)/1.5, MRANDOM(9,11)/10, false) | |
1592 | ATTACK = true | |
1593 | Rooted = true | |
1594 | local BUILDUP = true | |
1595 | local WALL = IT("Model",Effects) | |
1596 | WALL.Name = "Wall of Fire" | |
1597 | local BASE = CreatePart(3, WALL, "Fabric", 0, 1, "Maroon", "FirePart", VT(0,0,0)) | |
1598 | BASE.CFrame = RootPart.CFrame*CF(0,-2.8*SIZE,8) | |
1599 | local FIRES = {} | |
1600 | local BODIES = {} | |
1601 | local REPEATREMOVE = true | |
1602 | WALL.PrimaryPart = BASE | |
1603 | coroutine.resume(coroutine.create(function() | |
1604 | repeat | |
1605 | Swait() | |
1606 | if ATTACK == false then | |
1607 | break | |
1608 | end | |
1609 | turnto(Mouse.Hit.p) | |
1610 | WALL:SetPrimaryPartCFrame(RootPart.CFrame*CF(0,-2.8*SIZE,8)) | |
1611 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1612 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1613 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1614 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1615 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1616 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1617 | until BUILDUP == false | |
1618 | repeat | |
1619 | Swait() | |
1620 | if ATTACK == false then | |
1621 | break | |
1622 | end | |
1623 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1624 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1625 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(43 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1626 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1627 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1628 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1629 | until ATTACK == false | |
1630 | end)) | |
1631 | CreateSound(278641993, BASE, 10, 0.8, false) | |
1632 | coroutine.resume(coroutine.create(function() | |
1633 | for i = 1, 45 do | |
1634 | Swait() | |
1635 | local PART = CreatePart(3, WALL, "Fabric", 0, 1, "Maroon", "FirePart", VT(2,0,2)) | |
1636 | PART.CFrame = BASE.CFrame * ANGLES(RAD(0), RAD(90+i), RAD(0))*CF(32,0,0) | |
1637 | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 0.2, Acel = VT(0,28+(i/5),6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 2+(i/25), Parent = PART, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0.5,0,0), Texture = "1523916715"}) | |
1638 | PRTCL.LockedToPart = true | |
1639 | PRTCL.Rate = 35 | |
1640 | table.insert(FIRES,PRTCL) | |
1641 | end | |
1642 | end)) | |
1643 | coroutine.resume(coroutine.create(function() | |
1644 | for i = 1, 45 do | |
1645 | Swait() | |
1646 | local PART = CreatePart(3, WALL, "Fabric", 0, 1, "Maroon", "FirePart", VT(2,0,2)) | |
1647 | PART.CFrame = BASE.CFrame * ANGLES(RAD(0), RAD(-90-i), RAD(0))*CF(-32,0,0) | |
1648 | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 0.2, Acel = VT(0,28+(i/5),6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 2+(i/25), Parent = PART, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0.5,0,0), Texture = "1523916715"}) | |
1649 | PRTCL.LockedToPart = true | |
1650 | PRTCL.Rate = 35 | |
1651 | table.insert(FIRES,PRTCL) | |
1652 | end | |
1653 | end)) | |
1654 | repeat wait() until #WALL:GetChildren() == 91 | |
1655 | wait(0.3) | |
1656 | BUILDUP = false | |
1657 | coroutine.resume(coroutine.create(function() | |
1658 | coroutine.resume(coroutine.create(function() | |
1659 | repeat | |
1660 | wait(1) | |
1661 | for e = 1, #BODIES do | |
1662 | if BODIES[e] ~= nil and REPEATREMOVE == true then | |
1663 | local BOD = BODIES[e] | |
1664 | local TORSO = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso") | |
1665 | if TORSO then | |
1666 | local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*(TORSO.Size.Y/2), workspace) | |
1667 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0.2,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10}) | |
1668 | end | |
1669 | for i = 1, 10 do | |
1670 | for i = 1, #BODIES do | |
1671 | if (BODIES[i] == BOD and i ~= e) then | |
1672 | table.remove(BODIES,i) | |
1673 | end | |
1674 | end | |
1675 | end | |
1676 | end | |
1677 | end | |
1678 | until REPEATREMOVE == false | |
1679 | end)) | |
1680 | CreateSound(WALLSOUND, BASE, 10, 0.8, false) | |
1681 | for i = 1, 70 do | |
1682 | Swait() | |
1683 | AddChildrenToTable(BASE.Position,workspace,32,BODIES) | |
1684 | WALL:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0,-4)) | |
1685 | end | |
1686 | for i = 1, #FIRES do | |
1687 | FIRES[i].Enabled = false | |
1688 | end | |
1689 | Debris:AddItem(WALL,5) | |
1690 | wait(1) | |
1691 | REPEATREMOVE = false | |
1692 | for e = 1, #BODIES do | |
1693 | if BODIES[e] ~= nil then | |
1694 | Swait() | |
1695 | local BOD = BODIES[e] | |
1696 | local TORSO = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso") | |
1697 | if TORSO then | |
1698 | local HUM = BOD:FindFirstChildOfClass("Humanoid") | |
1699 | if HUM then | |
1700 | if HUM.Health > 0 then | |
1701 | local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*(TORSO.Size.Y/2), BOD) | |
1702 | if HITFLOOR then | |
1703 | ApplyDamage(HUM,MRANDOM(65,85),TORSO) | |
1704 | CreateSound(ROUGHBLAST, TORSO, 10, 1.2, false) | |
1705 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 0.7, Parent = TORSO, Emit = 300, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0.5,0,0), Texture = "1523916715"}) | |
1706 | end | |
1707 | end | |
1708 | end | |
1709 | end | |
1710 | end | |
1711 | end | |
1712 | end)) | |
1713 | wait(1) | |
1714 | ATTACK = false | |
1715 | Rooted = false | |
1716 | end | |
1717 | ||
1718 | function FormerShadow() | |
1719 | CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, MRANDOM(9,11)/1.5, MRANDOM(9,11)/10, false) | |
1720 | XATTACK = true | |
1721 | ATTACK = true | |
1722 | Rooted = true | |
1723 | local BODIES = {} | |
1724 | local SHADOWS = {} | |
1725 | local BUILDUP = true | |
1726 | local DONE = false | |
1727 | coroutine.resume(coroutine.create(function() | |
1728 | repeat | |
1729 | Swait() | |
1730 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1731 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
1732 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.65*SIZE, -0.75*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1733 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.1*SIZE, -0.75*SIZE) * ANGLES(RAD(-15), RAD(0), RAD(90)) * ANGLES(RAD(25), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1734 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1735 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1736 | until DONE == true | |
1737 | end)) | |
1738 | local MOUSEHIT = Mouse.Button1Down:connect(function(NEWKEY) | |
1739 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then | |
1740 | local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
1741 | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso") | |
1742 | if TORSO and HUM then | |
1743 | local PASS = true | |
1744 | for e = 1, #BODIES do | |
1745 | if BODIES[e] ~= nil then | |
1746 | if BODIES[e] == Mouse.Target.Parent then | |
1747 | PASS = false | |
1748 | end | |
1749 | end | |
1750 | end | |
1751 | if PASS == true then | |
1752 | table.insert(BODIES,Mouse.Target.Parent) | |
1753 | end | |
1754 | end | |
1755 | end | |
1756 | end) | |
1757 | local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY) | |
1758 | if NEWKEY == "x" then | |
1759 | DONE = true | |
1760 | end | |
1761 | end) | |
1762 | repeat wait() until DONE == true or #BODIES == 3 | |
1763 | DONE = true | |
1764 | MOUSEHIT:disconnect() | |
1765 | KEYDOWN:disconnect() | |
1766 | if #BODIES > 0 then | |
1767 | coroutine.resume(coroutine.create(function() | |
1768 | repeat | |
1769 | Swait() | |
1770 | if ATTACK == false then | |
1771 | break | |
1772 | end | |
1773 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = RightArm, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"}) | |
1774 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = LeftArm, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"}) | |
1775 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = RightLeg, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"}) | |
1776 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = LeftLeg, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"}) | |
1777 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = Torso, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"}) | |
1778 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = Head, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"}) | |
1779 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
1780 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(35,12,35), Transparency = 0.2, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15), RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2}) | |
1781 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1782 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1783 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1784 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1785 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1786 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1787 | until BUILDUP == false | |
1788 | end)) | |
1789 | CreateSound(WALLSOUND, Torso, 10, 0.8, false) | |
1790 | CreateSound(ROUGHBLAST, Torso, 10, 0.8, false) | |
1791 | for i = 1, #BODIES do | |
1792 | if BODIES[i] ~= nil then | |
1793 | local TORSO = BODIES[i]:FindFirstChild("HumanoidRootPart") or BODIES[i]:FindFirstChild("Torso") or BODIES[i]:FindFirstChild("UpperTorso") | |
1794 | if TORSO then | |
1795 | CreateSound(WALLSOUND, TORSO, 10, 1, false) | |
1796 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = TORSO, Emit = 300, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"}) | |
1797 | end | |
1798 | end | |
1799 | end | |
1800 | wait(1) | |
1801 | local SHADOWFADE = false | |
1802 | for i = 1, #BODIES do | |
1803 | if BODIES[i] ~= nil then | |
1804 | local TORSO = BODIES[i]:FindFirstChild("HumanoidRootPart") or BODIES[i]:FindFirstChild("Torso") or BODIES[i]:FindFirstChild("UpperTorso") | |
1805 | if TORSO then | |
1806 | local SHADOW = CLONE:Clone() | |
1807 | SHADOW.Parent = Effects | |
1808 | SHADOW.HumanoidRootPart.CFrame = TORSO.CFrame*CF(0,6,0) | |
1809 | --SHADOW.HumanoidRootPart.CFrame = RootPart.CFrame * ANGLES(RAD(0), RAD((360/#SHADOWS)*i), RAD(0))*CF(0,0,15) | |
1810 | SHADOW.Humanoid.WalkSpeed = 35 | |
1811 | SHADOW.Humanoid.Health = 1 | |
1812 | SHADOW.Humanoid.MaxHealth = 1 | |
1813 | SHADOW.Name = BODIES[i].Name | |
1814 | for i = 1, 3 do | |
1815 | for _, c in pairs(SHADOW:GetChildren()) do | |
1816 | if c.ClassName == "Part" then | |
1817 | c.Material = "Neon" | |
1818 | c.Color = C3(0,0,0) | |
1819 | c.Transparency = 1 | |
1820 | if c.Name == "Head" then | |
1821 | c:ClearAllChildren() | |
1822 | local MSH = IT("BlockMesh",c) | |
1823 | MSH.Scale = VT(0.5,1,1) | |
1824 | end | |
1825 | elseif c.ClassName ~= "Part" and c.ClassName ~= "Humanoid" and c.Name ~= "Animate" then | |
1826 | c:remove() | |
1827 | end | |
1828 | end | |
1829 | end | |
1830 | local BODY = IT("ObjectValue",SHADOW) | |
1831 | BODY.Name = "RealBody" | |
1832 | BODY.Value = BODIES[i] | |
1833 | table.insert(SHADOWS,SHADOW) | |
1834 | end | |
1835 | end | |
1836 | end | |
1837 | coroutine.resume(coroutine.create(function() | |
1838 | local LOOP = 0 | |
1839 | for i = 1, 25 do | |
1840 | Swait() | |
1841 | for i = 1, #SHADOWS do | |
1842 | if SHADOWS[i] ~= nil then | |
1843 | for _, c in pairs(SHADOWS[i]:GetChildren()) do | |
1844 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
1845 | c.Color = C3(0,0,0) | |
1846 | c.Transparency = c.Transparency - 1/25 | |
1847 | end | |
1848 | end | |
1849 | end | |
1850 | end | |
1851 | end | |
1852 | local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY) | |
1853 | if NEWKEY == "x" then | |
1854 | SHADOWFADE = true | |
1855 | end | |
1856 | end) | |
1857 | repeat | |
1858 | LOOP = LOOP + 2 | |
1859 | local JUMPIES = {} | |
1860 | for i = 1, #SHADOWS do | |
1861 | if SHADOWS[i] ~= nil then | |
1862 | SHADOWS[i].Humanoid:MoveTo(CF(RootPart.Position) * ANGLES(RAD(0), RAD(((360/#SHADOWS)*i)+LOOP), RAD(0))*CF(0,0,25).p) | |
1863 | local BODY = SHADOWS[i].RealBody.Value | |
1864 | if BODY then | |
1865 | local HUM = BODY:FindFirstChildOfClass("Humanoid") | |
1866 | if HUM then | |
1867 | local TRIGGER = HUM.Changed:connect(function(Jump) | |
1868 | if HUM.Jump == true then | |
1869 | SHADOWS[i].Humanoid.JumpPower = HUM.JumpPower | |
1870 | SHADOWS[i].Humanoid.Jump = true | |
1871 | end | |
1872 | end) | |
1873 | table.insert(JUMPIES,TRIGGER) | |
1874 | if HUM.Health == 0 then | |
1875 | SHADOWS[i].Humanoid.Health = 0 | |
1876 | end | |
1877 | end | |
1878 | end | |
1879 | if SHADOWS[i].Humanoid.Health == 0 then | |
1880 | if BODY then | |
1881 | BODY:BreakJoints() | |
1882 | end | |
1883 | SHADOWS[i]:remove() | |
1884 | table.remove(SHADOWS,i) | |
1885 | end | |
1886 | end | |
1887 | end | |
1888 | Swait() | |
1889 | for i = 1, #JUMPIES do | |
1890 | if JUMPIES[i] ~= nil then | |
1891 | JUMPIES[i]:disconnect() | |
1892 | end | |
1893 | end | |
1894 | until SHADOWFADE == true or #SHADOWS == 0 | |
1895 | KEYDOWN:disconnect() | |
1896 | if #SHADOWS > 0 then | |
1897 | for i = 1, 45 do | |
1898 | Swait() | |
1899 | for i = 1, #SHADOWS do | |
1900 | if SHADOWS[i] ~= nil then | |
1901 | for _, c in pairs(SHADOWS[i]:GetChildren()) do | |
1902 | if c.ClassName == "Part" then | |
1903 | c.Transparency = c.Transparency + 1/45 | |
1904 | end | |
1905 | end | |
1906 | SHADOWS[i].Humanoid.WalkSpeed = 12 | |
1907 | SHADOWS[i].Humanoid:MoveTo(CF(RootPart.Position,SHADOWS[i].HumanoidRootPart.Position+VT(0,2,0))*CF(0,0,-5).p) | |
1908 | end | |
1909 | end | |
1910 | end | |
1911 | for i = 1, #SHADOWS do | |
1912 | if SHADOWS[i] ~= nil then | |
1913 | SHADOWS[i]:remove() | |
1914 | end | |
1915 | end | |
1916 | end | |
1917 | XATTACK = false | |
1918 | end)) | |
1919 | else | |
1920 | XATTACK = false | |
1921 | end | |
1922 | ATTACK = false | |
1923 | Rooted = false | |
1924 | end | |
1925 | ||
1926 | function Taunt() | |
1927 | ATTACK = true | |
1928 | Rooted = true | |
1929 | local VIOLENCE = 1 | |
1930 | FORCEIDLE = true | |
1931 | repeat Swait() VIOLENCE = VIOLENCE + 1 until KEYHOLD == false | |
1932 | FORCEIDLE = false | |
1933 | if VIOLENCE <= 10 then | |
1934 | for i=0, 0.2, 0.1 / Animation_Speed do | |
1935 | Swait() | |
1936 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1937 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
1938 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.65*SIZE, -0.75*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1939 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.1*SIZE, -0.75*SIZE) * ANGLES(RAD(-15), RAD(0), RAD(90)) * ANGLES(RAD(25), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1940 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1941 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1942 | end | |
1943 | local TAUNT = CreateSound(VOCALS_TAUNT[MRANDOM(1,#VOCALS_TAUNT)], Head, 10, 1, false) | |
1944 | repeat | |
1945 | Swait() | |
1946 | TAUNT.Parent = Head | |
1947 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1948 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10-(TAUNT.PlaybackLoudness/55)), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
1949 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.65*SIZE, -0.75*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1950 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.1*SIZE, -0.75*SIZE) * ANGLES(RAD(-15), RAD(0), RAD(90)) * ANGLES(RAD(25), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1951 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1952 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1953 | until TAUNT.Playing == false | |
1954 | else | |
1955 | for i=0, 1, 0.1 / Animation_Speed do | |
1956 | Swait() | |
1957 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1958 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1959 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(22)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1960 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-22)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1961 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1962 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1963 | end | |
1964 | local TAUNT = CreateSound(VOCALS_ENRAGES[MRANDOM(1,#VOCALS_ENRAGES)], Head, 10, 1, false) | |
1965 | repeat Swait() until TAUNT.TimeLength > 0 | |
1966 | repeat | |
1967 | Swait() | |
1968 | ApplyAoE(Head.Position,15,0,0,200,false) | |
1969 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
1970 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(15,0,15), Transparency = 1-(TAUNT.PlaybackLoudness/1250), Transparency2 = 1, CFrame = CF(Head.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2}) | |
1971 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(35,0,35), Transparency = 0.2, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2}) | |
1972 | TAUNT.Parent = Head | |
1973 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -0.2*SIZE, -0.1*SIZE) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1974 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-25+MRANDOM(-(TAUNT.PlaybackLoudness/25),(TAUNT.PlaybackLoudness/25))), RAD(MRANDOM(-(TAUNT.PlaybackLoudness/15),(TAUNT.PlaybackLoudness/15))), RAD(MRANDOM(-(TAUNT.PlaybackLoudness/25),(TAUNT.PlaybackLoudness/25)))), 1 / Animation_Speed) | |
1975 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(42)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1976 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(-42)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1977 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(25), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1978 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(45), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1979 | until TAUNT.TimePosition > TAUNT.TimeLength - 2 | |
1980 | end | |
1981 | ATTACK = false | |
1982 | Rooted = false | |
1983 | end | |
1984 | ||
1985 | --//=================================\\ | |
1986 | --|| ASSIGN THINGS TO KEYS | |
1987 | --\\=================================// | |
1988 | ||
1989 | function MouseDown(Mouse) | |
1990 | if ATTACK == false then | |
1991 | end | |
1992 | end | |
1993 | ||
1994 | function MouseUp(Mouse) | |
1995 | HOLD = false | |
1996 | end | |
1997 | ||
1998 | function KeyDown(Key) | |
1999 | KEYHOLD = true | |
2000 | if Key == "t" and ATTACK == false then | |
2001 | Taunt() | |
2002 | end | |
2003 | ||
2004 | if Key == "z" and ATTACK == false then | |
2005 | MissilesOfDespair() | |
2006 | end | |
2007 | ||
2008 | if Key == "b" and ATTACK == false and XATTACK == false then | |
2009 | ShadowRoam() | |
2010 | end | |
2011 | ||
2012 | if Key == "c" and ATTACK == false then | |
2013 | PillarOfDespair() | |
2014 | end | |
2015 | ||
2016 | if Key == "v" and ATTACK == false then | |
2017 | InfernoWall() | |
2018 | end | |
2019 | ||
2020 | if Key == "x" and ATTACK == false and XATTACK == false then | |
2021 | FormerShadow() | |
2022 | end | |
2023 | end | |
2024 | ||
2025 | function KeyUp(Key) | |
2026 | KEYHOLD = false | |
2027 | end | |
2028 | ||
2029 | Mouse.Button1Down:connect(function(NEWKEY) | |
2030 | MouseDown(NEWKEY) | |
2031 | end) | |
2032 | Mouse.Button1Up:connect(function(NEWKEY) | |
2033 | MouseUp(NEWKEY) | |
2034 | end) | |
2035 | Mouse.KeyDown:connect(function(NEWKEY) | |
2036 | KeyDown(NEWKEY) | |
2037 | end) | |
2038 | Mouse.KeyUp:connect(function(NEWKEY) | |
2039 | KeyUp(NEWKEY) | |
2040 | end) | |
2041 | ||
2042 | --//=================================\\ | |
2043 | --\\=================================// | |
2044 | ||
2045 | function unanchor() | |
2046 | if UNANCHOR == true then | |
2047 | RootPart.Anchored = false | |
2048 | end | |
2049 | g = Character:GetChildren() | |
2050 | for i = 1, #g do | |
2051 | if g[i].ClassName == "Part" and g[i] ~= RootPart then | |
2052 | g[i].Anchored = false | |
2053 | end | |
2054 | end | |
2055 | g = Weapon:GetChildren() | |
2056 | for i = 1, #g do | |
2057 | if g[i].ClassName == "Part" then | |
2058 | g[i].Anchored = false | |
2059 | end | |
2060 | end | |
2061 | end | |
2062 | ||
2063 | ||
2064 | --//=================================\\ | |
2065 | --|| WRAP THE WHOLE SCRIPT UP | |
2066 | --\\=================================// | |
2067 | ||
2068 | Humanoid.Changed:connect(function(Jump) | |
2069 | if Jump == "Jump" and (Disable_Jump == true) then | |
2070 | Humanoid.Jump = false | |
2071 | end | |
2072 | end) | |
2073 | ||
2074 | while true do | |
2075 | Swait() | |
2076 | script.Parent = WEAPONGUI | |
2077 | ANIMATE.Parent = nil | |
2078 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
2079 | v:Stop(); | |
2080 | end | |
2081 | SINE = SINE + CHANGE | |
2082 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
2083 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
2084 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
2085 | local FLOOR1,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8*SIZE, Character) | |
2086 | local FLOOR2,HITPOS2 = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8*SIZE, Character) | |
2087 | local WALKSPEEDVALUE = 8 / (Humanoid.WalkSpeed / 16) | |
2088 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
2089 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2090 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2091 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.7+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2092 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.7+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2093 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
2094 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2095 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2096 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2097 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2098 | end | |
2099 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil and FORCEIDLE == false then | |
2100 | ANIM = "Jump" | |
2101 | if ATTACK == false then | |
2102 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2103 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2104 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.55*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(12)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2105 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.55*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-12)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2106 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.3*SIZE, -0.5*SIZE) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed) | |
2107 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.1*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed) | |
2108 | end | |
2109 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil and FORCEIDLE == false then | |
2110 | ANIM = "Fall" | |
2111 | if ATTACK == false then | |
2112 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2113 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2114 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(42)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2115 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-42)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2116 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE, -0.5*SIZE) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed) | |
2117 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed) | |
2118 | end | |
2119 | elseif (TORSOVELOCITY < 1 and HITFLOOR ~= nil) or FORCEIDLE == true then | |
2120 | ANIM = "Idle" | |
2121 | if ATTACK == false or FORCEIDLE == true then | |
2122 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2123 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
2124 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(52 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2125 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2126 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2127 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2128 | end | |
2129 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and FORCEIDLE == false then | |
2130 | ANIM = "Walk" | |
2131 | if ATTACK == false then | |
2132 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-8*SIN(SINE/WALKSPEEDVALUE))), 1 / Animation_Speed) | |
2133 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(5), RAD(-2*SIN(SINE/WALKSPEEDVALUE)), RAD(8*SIN(SINE/WALKSPEEDVALUE))), 1/ Animation_Speed) | |
2134 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE + 0.15 * COS(SINE/WALKSPEEDVALUE*2), 0.1*SIZE-0.3*SIN(SINE/WALKSPEEDVALUE)) * ANGLES(RAD(35), RAD(0), RAD(22 + 3* SIN(SINE/WALKSPEEDVALUE))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2135 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE + 0.15 * COS(SINE/WALKSPEEDVALUE*2), 0.1*SIZE+0.3*SIN(SINE/WALKSPEEDVALUE)) * ANGLES(RAD(35), RAD(0), RAD(-22 - 3* SIN(SINE/WALKSPEEDVALUE))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2136 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
2137 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
2138 | end | |
2139 | end | |
2140 | unanchor() | |
2141 | Humanoid.MaxHealth = "inf" | |
2142 | Humanoid.Health = "inf" | |
2143 | if Rooted == false then | |
2144 | Disable_Jump = false | |
2145 | Humanoid.WalkSpeed = Speed | |
2146 | elseif Rooted == true then | |
2147 | Disable_Jump = true | |
2148 | Humanoid.WalkSpeed = 0 | |
2149 | end | |
2150 | for _, c in pairs(Character:GetChildren()) do | |
2151 | if c.ClassName == "Part" and c.Name ~= "Eye" then | |
2152 | c.Material = "Granite" | |
2153 | if c ~= Head and c ~= Torso and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
2154 | c.Color = C3(175/575, 148/675, 131/675) | |
2155 | else | |
2156 | c.Color = C3(0,0,0) | |
2157 | end | |
2158 | if c == Head then | |
2159 | if c:FindFirstChild("face") then | |
2160 | c.face:remove() | |
2161 | end | |
2162 | end | |
2163 | elseif (c.ClassName == "CharacterMesh" or c.ClassName == "ShirtGraphic" or c.ClassName == "Accessory" or c.Name == "Body Colors") and c.Name ~= "Pressimus" then | |
2164 | c:remove() | |
2165 | elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then | |
2166 | c:remove() | |
2167 | end | |
2168 | end | |
2169 | sick.Parent = Character | |
2170 | sick.SoundId = "rbxassetid://900318768" | |
2171 | sick.Looped = true | |
2172 | sick.Pitch = 0.95 | |
2173 | sick.Volume = 2 | |
2174 | sick.Playing = true | |
2175 | if FLOOR1 ~= nil then | |
2176 | FIRE:SetPrimaryPartCFrame(CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(-90), RAD(0), RAD(0))) | |
2177 | else | |
2178 | FIRE:SetPrimaryPartCFrame(CF(HITPOS2)) | |
2179 | end | |
2180 | SKILL1FRAME.Rotation = MRANDOM(-25,25)/2 | |
2181 | SKILL2FRAME.Rotation = MRANDOM(-25,25)/2 | |
2182 | SKILL3FRAME.Rotation = MRANDOM(-25,25)/2 | |
2183 | SKILL4FRAME.Rotation = MRANDOM(-25,25)/2 | |
2184 | SKILL5FRAME.Rotation = MRANDOM(-25,25)/2 | |
2185 | tecks2.Rotation = MRANDOM(-25,25)/8 | |
2186 | tecks.Rotation = MRANDOM(-25,25)/8 | |
2187 | Humanoid.Name = MRANDOM(1000000,99999999) | |
2188 | FIRE.Parent = Weapon | |
2189 | refit() | |
2190 | end | |
2191 | ||
2192 | --//=================================\\ | |
2193 | --\\=================================// | |
2194 | ||
2195 | ||
2196 | ||
2197 | ||
2198 | ||
2199 | --//====================================================\\-- | |
2200 | --|| END OF SCRIPT | |
2201 | --\\====================================================//-- |