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