SHOW:
|
|
- or go back to the newest paste.
1 | - | function sandbox(var,func) |
1 | + | |
2 | - | local env = getfenv(func) |
2 | + | |
3 | - | local newenv = setmetatable({},{ |
3 | + | |
4 | - | __index = function(self,k) |
4 | + | |
5 | - | if k=="script" then |
5 | + | |
6 | - | return var |
6 | + | |
7 | Character = Player.Character | |
8 | - | return env[k] |
8 | + | |
9 | Mouse = Player:GetMouse() | |
10 | - | end, |
10 | + | |
11 | - | }) |
11 | + | |
12 | - | setfenv(func,newenv) |
12 | + | |
13 | - | return func |
13 | + | |
14 | LeftArm = Character["Left Arm"] | |
15 | - | cors = {} |
15 | + | |
16 | - | mas = Instance.new("Model",game:GetService("Lighting")) |
16 | + | |
17 | - | Sky0 = Instance.new("Sky") |
17 | + | |
18 | - | Sky0.Parent = mas |
18 | + | |
19 | - | Sky0.CelestialBodiesShown = false |
19 | + | |
20 | - | Sky0.SkyboxBk = "rbxassetid://12064107" |
20 | + | |
21 | - | Sky0.SkyboxDn = "rbxassetid://12064152" |
21 | + | |
22 | - | Sky0.SkyboxFt = "rbxassetid://12064121" |
22 | + | |
23 | - | Sky0.SkyboxLf = "rbxassetid://12063984" |
23 | + | |
24 | - | Sky0.SkyboxRt = "rbxassetid://12064115" |
24 | + | |
25 | - | Sky0.SkyboxUp = "rbxassetid://12064131" |
25 | + | |
26 | - | for i,v in pairs(mas:GetChildren()) do |
26 | + | |
27 | - | v.Parent = game:GetService("Lighting") |
27 | + | |
28 | - | pcall(function() v:MakeJoints() end) |
28 | + | |
29 | RAD = math.rad | |
30 | - | mas:Destroy() |
30 | + | |
31 | - | for i,v in pairs(cors) do |
31 | + | |
32 | - | spawn(function() |
32 | + | |
33 | - | pcall(v) |
33 | + | |
34 | EULER = CFrame.fromEulerAnglesXYZ | |
35 | COS = math.cos | |
36 | ACOS = math.acos | |
37 | SIN = math.sin | |
38 | ASIN = math.asin | |
39 | ABS = math.abs | |
40 | MRANDOM = math.random | |
41 | FLOOR = math.floor | |
42 | ||
43 | --//=================================\\ | |
44 | --|| USEFUL VALUES | |
45 | --\\=================================// | |
46 | ||
47 | Animation_Speed = 3 | |
48 | local FORCERESET = false | |
49 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
50 | local Speed = 16 | |
51 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
52 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
53 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
54 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
55 | local DAMAGEMULTIPLIER = 1 | |
56 | local ANIM = "Idle" | |
57 | local ATTACK = false | |
58 | local EQUIPPED = false | |
59 | local HOLD = false | |
60 | local COMBO = 1 | |
61 | local Rooted = false | |
62 | local SINE = 0 | |
63 | local KEYHOLD = false | |
64 | local CHANGE = 2 / Animation_Speed | |
65 | local WALKINGANIM = false | |
66 | local VALUE1 = false | |
67 | local VALUE2 = false | |
68 | local ROBLOXIDLEANIMATION = IT("Animation") | |
69 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
70 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
71 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
72 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
73 | WEAPONGUI.Name = "BanishV3Gui" | |
74 | local Weapon = IT("Model") | |
75 | Weapon.Name = "Adds" | |
76 | local Effects = IT("Folder", Weapon) | |
77 | Effects.Name = "Effects" | |
78 | local Gun = IT("Model") | |
79 | Gun.Name = "Gun" | |
80 | local ANIMATOR = Humanoid.Animator | |
81 | local ANIMATE = Character:FindFirstChild("Animate") | |
82 | local UNANCHOR = true | |
83 | local TOBANISH = {} | |
84 | script.Parent = PlayerGui | |
85 | local Boost = false | |
86 | local Player_Size = 1 | |
87 | local SIZE = 1 | |
88 | local WHITELIST = {} | |
89 | local Milk = false | |
90 | local VIS = 243281095 | |
91 | local VOLUME = 1 | |
92 | local PITCH = 1 | |
93 | local INSTANT = false | |
94 | local INTRO = false | |
95 | local Chill = false | |
96 | local Mode = "idk" | |
97 | ||
98 | VIS = 1138145518 | |
99 | VOLUME = 1.5 | |
100 | PITCH = 1 | |
101 | ||
102 | --//=================================\\ | |
103 | --\\=================================// | |
104 | ||
105 | ||
106 | --//=================================\\ | |
107 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
108 | --\\=================================// | |
109 | ||
110 | ArtificialHB = Instance.new("BindableEvent", script) | |
111 | ArtificialHB.Name = "ArtificialHB" | |
112 | ||
113 | script:WaitForChild("ArtificialHB") | |
114 | ||
115 | frame = Frame_Speed | |
116 | tf = 0 | |
117 | allowframeloss = false | |
118 | tossremainder = false | |
119 | lastframe = tick() | |
120 | script.ArtificialHB:Fire() | |
121 | ||
122 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
123 | tf = tf + s | |
124 | if tf >= frame then | |
125 | if allowframeloss then | |
126 | script.ArtificialHB:Fire() | |
127 | lastframe = tick() | |
128 | else | |
129 | for i = 1, math.floor(tf / frame) do | |
130 | script.ArtificialHB:Fire() | |
131 | end | |
132 | lastframe = tick() | |
133 | end | |
134 | if tossremainder then | |
135 | tf = 0 | |
136 | else | |
137 | tf = tf - frame * math.floor(tf / frame) | |
138 | end | |
139 | end | |
140 | end) | |
141 | ||
142 | --//=================================\\ | |
143 | --\\=================================// | |
144 | ||
145 | --//=================================\\ | |
146 | --|| SOME FUNCTIONS | |
147 | --\\=================================// | |
148 | ||
149 | Debris = game:GetService("Debris") | |
150 | ||
151 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
152 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
153 | end | |
154 | ||
155 | function PositiveAngle(NUMBER) | |
156 | if NUMBER >= 0 then | |
157 | NUMBER = 0 | |
158 | end | |
159 | return NUMBER | |
160 | end | |
161 | ||
162 | function NegativeAngle(NUMBER) | |
163 | if NUMBER <= 0 then | |
164 | NUMBER = 0 | |
165 | end | |
166 | return NUMBER | |
167 | end | |
168 | ||
169 | function Swait(NUMBER) | |
170 | if NUMBER == 0 or NUMBER == nil then | |
171 | ArtificialHB.Event:wait() | |
172 | else | |
173 | for i = 1, NUMBER do | |
174 | ArtificialHB.Event:wait() | |
175 | end | |
176 | end | |
177 | end | |
178 | ||
179 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
180 | local NEWMESH = IT(MESH) | |
181 | if MESH == "SpecialMesh" then | |
182 | NEWMESH.MeshType = MESHTYPE | |
183 | if MESHID ~= "nil" and MESHID ~= "" then | |
184 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
185 | end | |
186 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
187 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
188 | end | |
189 | end | |
190 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
191 | NEWMESH.Scale = SCALE | |
192 | NEWMESH.Parent = PARENT | |
193 | return NEWMESH | |
194 | end | |
195 | ||
196 | local Create = LoadLibrary("RbxUtility").Create | |
197 | ||
198 | function RemoveOutlines(part) | |
199 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
200 | end | |
201 | ||
202 | CFuncs = { | |
203 | ["Part"] = { | |
204 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
205 | local Part = Create("Part"){ | |
206 | Parent = Parent, | |
207 | Reflectance = Reflectance, | |
208 | Transparency = Transparency, | |
209 | CanCollide = false, | |
210 | Locked = true, | |
211 | BrickColor = BrickColor.new(tostring(BColor)), | |
212 | Name = Name, | |
213 | Size = Size, | |
214 | Material = Material, | |
215 | } | |
216 | RemoveOutlines(Part) | |
217 | return Part | |
218 | end; | |
219 | }; | |
220 | ||
221 | ["Mesh"] = { | |
222 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
223 | local Msh = Create(Mesh){ | |
224 | Parent = Part, | |
225 | Offset = OffSet, | |
226 | Scale = Scale, | |
227 | } | |
228 | if Mesh == "SpecialMesh" then | |
229 | Msh.MeshType = MeshType | |
230 | Msh.MeshId = MeshId | |
231 | end | |
232 | return Msh | |
233 | end; | |
234 | }; | |
235 | ||
236 | ["Mesh"] = { | |
237 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
238 | local Msh = Create(Mesh){ | |
239 | Parent = Part, | |
240 | Offset = OffSet, | |
241 | Scale = Scale, | |
242 | } | |
243 | if Mesh == "SpecialMesh" then | |
244 | Msh.MeshType = MeshType | |
245 | Msh.MeshId = MeshId | |
246 | end | |
247 | return Msh | |
248 | end; | |
249 | }; | |
250 | ||
251 | ["Weld"] = { | |
252 | Create = function(Parent, Part0, Part1, C0, C1) | |
253 | local Weld = Create("Weld"){ | |
254 | Parent = Parent, | |
255 | Part0 = Part0, | |
256 | Part1 = Part1, | |
257 | C0 = C0, | |
258 | C1 = C1, | |
259 | } | |
260 | return Weld | |
261 | end; | |
262 | }; | |
263 | ||
264 | ["Sound"] = { | |
265 | Create = function(id, par, vol, pit) | |
266 | coroutine.resume(coroutine.create(function() | |
267 | local S = Create("Sound"){ | |
268 | Volume = vol, | |
269 | Name = "EffectSoundo", | |
270 | Pitch = pit or 1, | |
271 | SoundId = id, | |
272 | Parent = par or workspace, | |
273 | } | |
274 | wait() | |
275 | S:play() | |
276 | game:GetService("Debris"):AddItem(S, 10) | |
277 | end)) | |
278 | end; | |
279 | }; | |
280 | ||
281 | ["TimeSound"] = { | |
282 | Create = function(id, par, vol, pit, timepos) | |
283 | coroutine.resume(coroutine.create(function() | |
284 | local S = Create("Sound"){ | |
285 | Volume = vol, | |
286 | Name = "EffectSoundo", | |
287 | Pitch = pit or 1, | |
288 | SoundId = id, | |
289 | TimePosition = timepos, | |
290 | Parent = par or workspace, | |
291 | } | |
292 | wait() | |
293 | S:play() | |
294 | game:GetService("Debris"):AddItem(S, 10) | |
295 | end)) | |
296 | end; | |
297 | }; | |
298 | ["EchoSound"] = { | |
299 | Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) | |
300 | coroutine.resume(coroutine.create(function() | |
301 | local Sas = Create("Sound"){ | |
302 | Volume = vol, | |
303 | Name = "EffectSoundo", | |
304 | Pitch = pit or 1, | |
305 | SoundId = id, | |
306 | TimePosition = timepos, | |
307 | Parent = par or workspace, | |
308 | } | |
309 | local E = Create("EchoSoundEffect"){ | |
310 | Delay = echodelay, | |
311 | Name = "Echo", | |
312 | Feedback = fedb, | |
313 | DryLevel = dryl, | |
314 | Parent = Sas, | |
315 | } | |
316 | wait() | |
317 | Sas:play() | |
318 | game:GetService("Debris"):AddItem(Sas, delays) | |
319 | end)) | |
320 | end; | |
321 | }; | |
322 | ||
323 | ["LongSound"] = { | |
324 | Create = function(id, par, vol, pit) | |
325 | coroutine.resume(coroutine.create(function() | |
326 | local S = Create("Sound"){ | |
327 | Volume = vol, | |
328 | Pitch = pit or 1, | |
329 | SoundId = id, | |
330 | Parent = par or workspace, | |
331 | } | |
332 | wait() | |
333 | S:play() | |
334 | game:GetService("Debris"):AddItem(S, 60) | |
335 | end)) | |
336 | end; | |
337 | }; | |
338 | ||
339 | ["ParticleEmitter"] = { | |
340 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
341 | local fp = Create("ParticleEmitter"){ | |
342 | Parent = Parent, | |
343 | Color = ColorSequence.new(Color1, Color2), | |
344 | LightEmission = LightEmission, | |
345 | Size = Size, | |
346 | Texture = Texture, | |
347 | Transparency = Transparency, | |
348 | ZOffset = ZOffset, | |
349 | Acceleration = Accel, | |
350 | Drag = Drag, | |
351 | LockedToPart = LockedToPart, | |
352 | VelocityInheritance = VelocityInheritance, | |
353 | EmissionDirection = EmissionDirection, | |
354 | Enabled = Enabled, | |
355 | Lifetime = LifeTime, | |
356 | Rate = Rate, | |
357 | Rotation = Rotation, | |
358 | RotSpeed = RotSpeed, | |
359 | Speed = Speed, | |
360 | VelocitySpread = VelocitySpread, | |
361 | } | |
362 | return fp | |
363 | end; | |
364 | }; | |
365 | ||
366 | CreateTemplate = { | |
367 | ||
368 | }; | |
369 | } | |
370 | ||
371 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
372 | local NEWPART = IT("Part") | |
373 | NEWPART.formFactor = FORMFACTOR | |
374 | NEWPART.Reflectance = REFLECTANCE | |
375 | NEWPART.Transparency = TRANSPARENCY | |
376 | NEWPART.CanCollide = false | |
377 | NEWPART.Locked = true | |
378 | NEWPART.Anchored = true | |
379 | if ANCHOR == false then | |
380 | NEWPART.Anchored = false | |
381 | end | |
382 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
383 | NEWPART.Name = NAME | |
384 | NEWPART.Size = SIZE | |
385 | NEWPART.Position = Torso.Position | |
386 | NEWPART.Material = MATERIAL | |
387 | NEWPART:BreakJoints() | |
388 | NEWPART.Parent = PARENT | |
389 | return NEWPART | |
390 | end | |
391 | ||
392 | local function weldBetween(a, b) | |
393 | local weldd = Instance.new("ManualWeld") | |
394 | weldd.Part0 = a | |
395 | weldd.Part1 = b | |
396 | weldd.C0 = CFrame.new() | |
397 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
398 | weldd.Parent = a | |
399 | return weldd | |
400 | end | |
401 | ||
402 | ||
403 | function QuaternionFromCFrame(cf) | |
404 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
405 | local trace = m00 + m11 + m22 | |
406 | if trace > 0 then | |
407 | local s = math.sqrt(1 + trace) | |
408 | local recip = 0.5 / s | |
409 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
410 | else | |
411 | local i = 0 | |
412 | if m11 > m00 then | |
413 | i = 1 | |
414 | end | |
415 | if m22 > (i == 0 and m00 or m11) then | |
416 | i = 2 | |
417 | end | |
418 | if i == 0 then | |
419 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
420 | local recip = 0.5 / s | |
421 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
422 | elseif i == 1 then | |
423 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
424 | local recip = 0.5 / s | |
425 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
426 | elseif i == 2 then | |
427 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
428 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
429 | end | |
430 | end | |
431 | end | |
432 | ||
433 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
434 | local xs, ys, zs = x + x, y + y, z + z | |
435 | local wx, wy, wz = w * xs, w * ys, w * zs | |
436 | local xx = x * xs | |
437 | local xy = x * ys | |
438 | local xz = x * zs | |
439 | local yy = y * ys | |
440 | local yz = y * zs | |
441 | local zz = z * zs | |
442 | 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)) | |
443 | end | |
444 | ||
445 | function QuaternionSlerp(a, b, t) | |
446 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
447 | local startInterp, finishInterp; | |
448 | if cosTheta >= 0.0001 then | |
449 | if (1 - cosTheta) > 0.0001 then | |
450 | local theta = ACOS(cosTheta) | |
451 | local invSinTheta = 1 / SIN(theta) | |
452 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
453 | finishInterp = SIN(t * theta) * invSinTheta | |
454 | else | |
455 | startInterp = 1 - t | |
456 | finishInterp = t | |
457 | end | |
458 | else | |
459 | if (1 + cosTheta) > 0.0001 then | |
460 | local theta = ACOS(-cosTheta) | |
461 | local invSinTheta = 1 / SIN(theta) | |
462 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
463 | finishInterp = SIN(t * theta) * invSinTheta | |
464 | else | |
465 | startInterp = t - 1 | |
466 | finishInterp = t | |
467 | end | |
468 | end | |
469 | 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 | |
470 | end | |
471 | ||
472 | function Clerp(a, b, t) | |
473 | local qa = {QuaternionFromCFrame(a)} | |
474 | local qb = {QuaternionFromCFrame(b)} | |
475 | local ax, ay, az = a.x, a.y, a.z | |
476 | local bx, by, bz = b.x, b.y, b.z | |
477 | local _t = 1 - t | |
478 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
479 | end | |
480 | ||
481 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
482 | local frame = IT("Frame") | |
483 | frame.BackgroundTransparency = TRANSPARENCY | |
484 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
485 | frame.Position = POSITION | |
486 | frame.Size = SIZE | |
487 | frame.BackgroundColor3 = COLOR | |
488 | frame.BorderColor3 = BORDERCOLOR | |
489 | frame.Name = NAME | |
490 | frame.Parent = PARENT | |
491 | return frame | |
492 | end | |
493 | ||
494 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
495 | local label = IT("TextLabel") | |
496 | label.BackgroundTransparency = 1 | |
497 | label.Size = UD2(1, 0, 1, 0) | |
498 | label.Position = UD2(0, 0, 0, 0) | |
499 | label.TextColor3 = TEXTCOLOR | |
500 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
501 | label.TextTransparency = TRANSPARENCY | |
502 | label.FontSize = TEXTFONTSIZE | |
503 | label.Font = TEXTFONT | |
504 | label.BorderSizePixel = BORDERSIZEPIXEL | |
505 | label.TextScaled = false | |
506 | label.Text = TEXT | |
507 | label.Name = NAME | |
508 | label.Parent = PARENT | |
509 | return label | |
510 | end | |
511 | ||
512 | function NoOutlines(PART) | |
513 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
514 | end | |
515 | ||
516 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
517 | local NEWWELD = IT(TYPE) | |
518 | NEWWELD.Part0 = PART0 | |
519 | NEWWELD.Part1 = PART1 | |
520 | NEWWELD.C0 = C0 | |
521 | NEWWELD.C1 = C1 | |
522 | NEWWELD.Parent = PARENT | |
523 | return NEWWELD | |
524 | end | |
525 | ||
526 | local S = IT("Sound") | |
527 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
528 | local NEWSOUND = nil | |
529 | coroutine.resume(coroutine.create(function() | |
530 | NEWSOUND = S:Clone() | |
531 | NEWSOUND.Parent = PARENT | |
532 | NEWSOUND.Volume = VOLUME | |
533 | NEWSOUND.Pitch = PITCH | |
534 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
535 | NEWSOUND:play() | |
536 | if DOESLOOP == true then | |
537 | NEWSOUND.Looped = true | |
538 | else | |
539 | repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT | |
540 | NEWSOUND:remove() | |
541 | end | |
542 | end)) | |
543 | return NEWSOUND | |
544 | end | |
545 | ||
546 | function CFrameFromTopBack(at, top, back) | |
547 | local right = top:Cross(back) | |
548 | 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) | |
549 | end | |
550 | ||
551 | --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}) | |
552 | function WACKYEFFECT(Table) | |
553 | local TYPE = (Table.EffectType or "Sphere") | |
554 | local SIZE = (Table.Size or VT(1,1,1)) | |
555 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
556 | local TRANSPARENCY = (Table.Transparency or 0) | |
557 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
558 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
559 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
560 | local ROTATION1 = (Table.RotationX or 0) | |
561 | local ROTATION2 = (Table.RotationY or 0) | |
562 | local ROTATION3 = (Table.RotationZ or 0) | |
563 | local MATERIAL = (Table.Material or "Neon") | |
564 | local COLOR = (Table.Color or C3(1,1,1)) | |
565 | local TIME = (Table.Time or 45) | |
566 | local SOUNDID = (Table.SoundID or nil) | |
567 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
568 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
569 | coroutine.resume(coroutine.create(function() | |
570 | local PLAYSSOUND = false | |
571 | local SOUND = nil | |
572 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
573 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
574 | PLAYSSOUND = true | |
575 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
576 | end | |
577 | EFFECT.Color = COLOR | |
578 | local MSH = nil | |
579 | if TYPE == "Sphere" then | |
580 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
581 | elseif TYPE == "Block" then | |
582 | MSH = IT("BlockMesh",EFFECT) | |
583 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
584 | elseif TYPE == "Wave" then | |
585 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
586 | elseif TYPE == "Ring" then | |
587 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
588 | elseif TYPE == "Slash" then | |
589 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
590 | elseif TYPE == "Round Slash" then | |
591 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
592 | elseif TYPE == "Swirl" then | |
593 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
594 | elseif TYPE == "Skull" then | |
595 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
596 | elseif TYPE == "Crystal" then | |
597 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
598 | end | |
599 | if MSH ~= nil then | |
600 | local MOVESPEED = nil | |
601 | if MOVEDIRECTION ~= nil then | |
602 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
603 | end | |
604 | local GROWTH = SIZE - ENDSIZE | |
605 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
606 | if TYPE == "Block" then | |
607 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
608 | else | |
609 | EFFECT.CFrame = CFRAME | |
610 | end | |
611 | for LOOP = 1, TIME+1 do | |
612 | Swait() | |
613 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
614 | if TYPE == "Wave" then | |
615 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
616 | end | |
617 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
618 | if TYPE == "Block" then | |
619 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
620 | else | |
621 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
622 | end | |
623 | if MOVEDIRECTION ~= nil then | |
624 | local ORI = EFFECT.Orientation | |
625 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
626 | EFFECT.Orientation = ORI | |
627 | end | |
628 | end | |
629 | if PLAYSSOUND == false then | |
630 | EFFECT:remove() | |
631 | else | |
632 | SOUND.Stopped:Connect(function() | |
633 | EFFECT:remove() | |
634 | end) | |
635 | end | |
636 | else | |
637 | if PLAYSSOUND == false then | |
638 | EFFECT:remove() | |
639 | else | |
640 | repeat Swait() until SOUND.Playing == false | |
641 | EFFECT:remove() | |
642 | end | |
643 | end | |
644 | end)) | |
645 | end | |
646 | ||
647 | function MakeForm(PART,TYPE) | |
648 | if TYPE == "Cyl" then | |
649 | local MSH = IT("CylinderMesh",PART) | |
650 | elseif TYPE == "Ball" then | |
651 | local MSH = IT("SpecialMesh",PART) | |
652 | MSH.MeshType = "Sphere" | |
653 | elseif TYPE == "Wedge" then | |
654 | local MSH = IT("SpecialMesh",PART) | |
655 | MSH.MeshType = "Wedge" | |
656 | end | |
657 | end | |
658 | ||
659 | function SpawnTrail(FROM,TO,BIG) | |
660 | local TRAIL = CreatePart(3, Effects, "Glass", 0, 0.5, "Really Black", "Trail", VT(0,0,0)) | |
661 | MakeForm(TRAIL,"Cyl") | |
662 | local DIST = (FROM - TO).Magnitude | |
663 | if BIG == true then | |
664 | TRAIL.Size = VT(0.5,DIST,0.5) | |
665 | else | |
666 | TRAIL.Size = VT(0.25,DIST,0.25) | |
667 | end | |
668 | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
669 | coroutine.resume(coroutine.create(function() | |
670 | for i = 1, 5 do | |
671 | Swait() | |
672 | TRAIL.Transparency = TRAIL.Transparency + 0.1 | |
673 | end | |
674 | TRAIL:remove() | |
675 | end)) | |
676 | end | |
677 | ||
678 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
679 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
680 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
681 | end | |
682 | ||
683 | function turnto(position) | |
684 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
685 | end | |
686 | ||
687 | function CreateParta(parent,transparency,reflectance,material,brickcolor) | |
688 | local p = Instance.new("Part") | |
689 | p.TopSurface = 0 | |
690 | p.BottomSurface = 0 | |
691 | p.Parent = parent | |
692 | p.Size = Vector3.new(0.1,0.1,0.1) | |
693 | p.Transparency = transparency | |
694 | p.Reflectance = reflectance | |
695 | p.CanCollide = false | |
696 | - | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0)) |
696 | + | |
697 | p.BrickColor = brickcolor | |
698 | p.Material = material | |
699 | return p | |
700 | end | |
701 | ||
702 | function sphere(bonuspeed,type,pos,scale,value,color) | |
703 | local type = type | |
704 | local rng = Instance.new("Part", Character) | |
705 | rng.Anchored = true | |
706 | if ModeOfGlitch ~= 9 then | |
707 | rng.BrickColor = color | |
708 | elseif ModeOfGlitch == 9 then | |
709 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
710 | end | |
711 | rng.CanCollide = false | |
712 | rng.FormFactor = 3 | |
713 | rng.Name = "Ring" | |
714 | rng.Material = "Neon" | |
715 | rng.Size = Vector3.new(1, 1, 1) | |
716 | rng.Transparency = 0 | |
717 | rng.TopSurface = 0 | |
718 | rng.BottomSurface = 0 | |
719 | rng.CFrame = pos | |
720 | local rngm = Instance.new("SpecialMesh", rng) | |
721 | rngm.MeshType = "Sphere" | |
722 | rngm.Scale = scale | |
723 | if rainbowmode == true then | |
724 | rng.Color = Color3.new(r/255,g/255,b/255) | |
725 | end | |
726 | if ModeOfGlitch == 9 then | |
727 | coroutine.resume(coroutine.create(function() | |
728 | while true do | |
729 | Swait() | |
730 | if rng.Parent ~= nil then | |
731 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
732 | else | |
733 | break | |
734 | end | |
735 | end | |
736 | end)) | |
737 | end | |
738 | local scaler2 = 1 | |
739 | if type == "Add" then | |
740 | scaler2 = 1*value | |
741 | elseif type == "Divide" then | |
742 | scaler2 = 1/value | |
743 | end | |
744 | coroutine.resume(coroutine.create(function() | |
745 | for i = 0,10/bonuspeed,0.1 do | |
746 | Swait() | |
747 | if rainbowmode == true then | |
748 | rng.Color = Color3.new(r/255,g/255,b/255) | |
749 | end | |
750 | if type == "Add" then | |
751 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
752 | elseif type == "Divide" then | |
753 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
754 | end | |
755 | if chaosmode == true then | |
756 | rng.BrickColor = BrickColor.random() | |
757 | end | |
758 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
759 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) | |
760 | end | |
761 | rng:Destroy() | |
762 | end)) | |
763 | end | |
764 | ||
765 | function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color) | |
766 | local type = type | |
767 | local rng = Instance.new("Part", Character) | |
768 | rng.Anchored = true | |
769 | if ModeOfGlitch ~= 9 then | |
770 | rng.BrickColor = color | |
771 | elseif ModeOfGlitch == 9 then | |
772 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
773 | end | |
774 | rng.CanCollide = false | |
775 | rng.FormFactor = 3 | |
776 | rng.Name = "Ring" | |
777 | rng.Material = "Neon" | |
778 | rng.Size = Vector3.new(1, 1, 1) | |
779 | rng.Transparency = 0 | |
780 | rng.TopSurface = 0 | |
781 | rng.BottomSurface = 0 | |
782 | rng.CFrame = pos | |
783 | local rngm = Instance.new("SpecialMesh", rng) | |
784 | rngm.MeshType = "Sphere" | |
785 | rngm.Scale = scale | |
786 | local scaler2 = 1 | |
787 | local scaler2b = 1 | |
788 | local scaler2c = 1 | |
789 | if type == "Add" then | |
790 | scaler2 = 1*value | |
791 | scaler2b = 1*value2 | |
792 | scaler2c = 1*value3 | |
793 | elseif type == "Divide" then | |
794 | scaler2 = 1/value | |
795 | scaler2b = 1/value2 | |
796 | scaler2c = 1/value3 | |
797 | end | |
798 | if ModeOfGlitch == 9 then | |
799 | coroutine.resume(coroutine.create(function() | |
800 | while true do | |
801 | Swait() | |
802 | if rng.Parent ~= nil then | |
803 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
804 | else | |
805 | break | |
806 | end | |
807 | end | |
808 | end)) | |
809 | end | |
810 | coroutine.resume(coroutine.create(function() | |
811 | for i = 0,10/bonuspeed,0.1 do | |
812 | Swait() | |
813 | if type == "Add" then | |
814 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
815 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
816 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
817 | elseif type == "Divide" then | |
818 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
819 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
820 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
821 | end | |
822 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
823 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
824 | end | |
825 | rng:Destroy() | |
826 | end)) | |
827 | end | |
828 | ||
829 | function CreateMesh2(parent,meshtype,x1,y1,z1) | |
830 | local mesh = Instance.new("SpecialMesh",parent) | |
831 | mesh.MeshType = meshtype | |
832 | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) | |
833 | return mesh | |
834 | end | |
835 | ||
836 | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
837 | local type = type | |
838 | local rng = Instance.new("Part", Character) | |
839 | rng.Anchored = true | |
840 | if ModeOfGlitch ~= 9 then | |
841 | rng.BrickColor = color | |
842 | elseif ModeOfGlitch == 9 then | |
843 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
844 | end | |
845 | rng.CanCollide = false | |
846 | rng.FormFactor = 3 | |
847 | rng.Name = "Ring" | |
848 | rng.Material = "Neon" | |
849 | rng.Size = Vector3.new(1, 1, 1) | |
850 | rng.Transparency = 0 | |
851 | rng.TopSurface = 0 | |
852 | rng.BottomSurface = 0 | |
853 | rng.CFrame = pos | |
854 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
855 | local rngm = Instance.new("SpecialMesh", rng) | |
856 | rngm.MeshType = "Sphere" | |
857 | rngm.Scale = VT(x1,y1,z1) | |
858 | if rainbowmode == true then | |
859 | rng.Color = Color3.new(r/255,g/255,b/255) | |
860 | end | |
861 | if ModeOfGlitch == 9 then | |
862 | coroutine.resume(coroutine.create(function() | |
863 | while true do | |
864 | Swait() | |
865 | if rng.Parent ~= nil then | |
866 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
867 | else | |
868 | break | |
869 | end | |
870 | end | |
871 | end)) | |
872 | end | |
873 | local scaler2 = 1 | |
874 | local speeder = FastSpeed | |
875 | if type == "Add" then | |
876 | scaler2 = 1*value | |
877 | elseif type == "Divide" then | |
878 | scaler2 = 1/value | |
879 | end | |
880 | coroutine.resume(coroutine.create(function() | |
881 | for i = 0,10/bonuspeed,0.1 do | |
882 | Swait() | |
883 | if rainbowmode == true then | |
884 | rng.Color = Color3.new(r/255,g/255,b/255) | |
885 | end | |
886 | if type == "Add" then | |
887 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
888 | elseif type == "Divide" then | |
889 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
890 | end | |
891 | if chaosmode == true then | |
892 | rng.BrickColor = BrickColor.random() | |
893 | end | |
894 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
895 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
896 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
897 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
898 | end | |
899 | rng:Destroy() | |
900 | end)) | |
901 | end | |
902 | ||
903 | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) | |
904 | local type = type | |
905 | local rng = Instance.new("Part", char) | |
906 | rng.Anchored = true | |
907 | if ModeOfGlitch ~= 9 then | |
908 | rng.BrickColor = color | |
909 | elseif ModeOfGlitch == 9 then | |
910 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
911 | end | |
912 | rng.CanCollide = false | |
913 | rng.FormFactor = 3 | |
914 | rng.Name = "Ring" | |
915 | rng.Material = "Neon" | |
916 | rng.Size = Vector3.new(1, 1, 1) | |
917 | rng.Transparency = 1 | |
918 | rng.TopSurface = 0 | |
919 | rng.BottomSurface = 0 | |
920 | rng.CFrame = pos | |
921 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos | |
922 | local rngm = Instance.new("SpecialMesh", rng) | |
923 | rngm.MeshType = "Sphere" | |
924 | rngm.Scale = vt(x1,y1,z1) | |
925 | if rainbowmode == true then | |
926 | rng.Color = Color3.new(r/255,g/255,b/255) | |
927 | end | |
928 | if ModeOfGlitch == 9 then | |
929 | coroutine.resume(coroutine.create(function() | |
930 | while true do | |
931 | swait() | |
932 | if rng.Parent ~= nil then | |
933 | rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) | |
934 | else | |
935 | break | |
936 | end | |
937 | end | |
938 | end)) | |
939 | end | |
940 | local scaler2 = 1 | |
941 | local speeder = FastSpeed | |
942 | if type == "Add" then | |
943 | scaler2 = 1*value | |
944 | elseif type == "Divide" then | |
945 | scaler2 = 1/value | |
946 | end | |
947 | coroutine.resume(coroutine.create(function() | |
948 | for i = 0,10/bonuspeed,0.1 do | |
949 | swait() | |
950 | if rainbowmode == true then | |
951 | rng.Color = Color3.new(r/255,g/255,b/255) | |
952 | end | |
953 | if type == "Add" then | |
954 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
955 | elseif type == "Divide" then | |
956 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
957 | end | |
958 | if chaosmode == true then | |
959 | rng.BrickColor = BrickColor.random() | |
960 | end | |
961 | speeder = speeder - 0.01*FastSpeed*bonuspeed | |
962 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed | |
963 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
964 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) | |
965 | end | |
966 | rng:Destroy() | |
967 | end)) | |
968 | end | |
969 | ||
970 | function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color) | |
971 | local type = type | |
972 | local rotenable = rotatingop | |
973 | local rng = Instance.new("Part", Character) | |
974 | rng.Anchored = true | |
975 | rng.BrickColor = color | |
976 | rng.CanCollide = false | |
977 | rng.FormFactor = 3 | |
978 | rng.Name = "Ring" | |
979 | rng.Material = "Neon" | |
980 | rng.Size = Vector3.new(1, 1, 1) | |
981 | rng.Transparency = 0 | |
982 | if typeoftrans == "In" then | |
983 | rng.Transparency = 1 | |
984 | end | |
985 | rng.TopSurface = 0 | |
986 | rng.BottomSurface = 0 | |
987 | rng.CFrame = pos | |
988 | local rngm = Instance.new("SpecialMesh", rng) | |
989 | rngm.MeshType = "FileMesh" | |
990 | if typeofshape == "Normal" then | |
991 | rngm.MeshId = "rbxassetid://662586858" | |
992 | elseif typeofshape == "Round" then | |
993 | rngm.MeshId = "rbxassetid://662585058" | |
994 | end | |
995 | rngm.Scale = scale | |
996 | local scaler2 = 1/10 | |
997 | if type == "Add" then | |
998 | scaler2 = 1*value/10 | |
999 | elseif type == "Divide" then | |
1000 | scaler2 = 1/value/10 | |
1001 | end | |
1002 | local randomrot = math.random(1,2) | |
1003 | coroutine.resume(coroutine.create(function() | |
1004 | for i = 0,10/bonuspeed,0.1 do | |
1005 | Swait() | |
1006 | if type == "Add" then | |
1007 | scaler2 = scaler2 - 0.01*value/bonuspeed/10 | |
1008 | elseif type == "Divide" then | |
1009 | scaler2 = scaler2 - 0.01/value*bonuspeed/10 | |
1010 | end | |
1011 | if rotenable == true then | |
1012 | if randomrot == 1 then | |
1013 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0) | |
1014 | elseif randomrot == 2 then | |
1015 | rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0) | |
1016 | end | |
1017 | end | |
1018 | if typeoftrans == "Out" then | |
1019 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
1020 | elseif typeoftrans == "In" then | |
1021 | rng.Transparency = rng.Transparency - 0.01*bonuspeed | |
1022 | end | |
1023 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10) | |
1024 | end | |
1025 | rng:Destroy() | |
1026 | end)) | |
1027 | end | |
1028 | ||
1029 | function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW) | |
1030 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
1031 | local mesh = IT("SpecialMesh",wave) | |
1032 | mesh.MeshType = "FileMesh" | |
1033 | mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1034 | mesh.Scale = SIZE | |
1035 | mesh.Offset = VT(0,0,0) | |
1036 | wave.CFrame = CFRAME | |
1037 | coroutine.resume(coroutine.create(function(PART) | |
1038 | for i = 1, WAIT do | |
1039 | Swait() | |
1040 | mesh.Scale = mesh.Scale + GROW | |
1041 | if DOESROT == true then | |
1042 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
1043 | end | |
1044 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
1045 | if wave.Transparency > 0.99 then | |
1046 | wave:remove() | |
1047 | end | |
1048 | end | |
1049 | end)) | |
1050 | end | |
1051 | ||
1052 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
1053 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
1054 | local mesh = IT("SpecialMesh",wave) | |
1055 | mesh.MeshType = "Sphere" | |
1056 | mesh.Scale = SIZE | |
1057 | mesh.Offset = VT(0,0,0) | |
1058 | wave.CFrame = CFRAME | |
1059 | coroutine.resume(coroutine.create(function(PART) | |
1060 | for i = 1, WAIT do | |
1061 | Swait() | |
1062 | mesh.Scale = mesh.Scale + GROW | |
1063 | wave.Transparency = wave.Transparency + (1/WAIT) | |
1064 | if wave.Transparency > 0.99 then | |
1065 | wave:remove() | |
1066 | end | |
1067 | end | |
1068 | end)) | |
1069 | end | |
1070 | ||
1071 | ||
1072 | --//=================================\\ | |
1073 | --|| WEAPON CREATION | |
1074 | --\\=================================// | |
1075 | ||
1076 | function WarnFunc(text) | |
1077 | local chat = coroutine.wrap(function() | |
1078 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
1079 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
1080 | end | |
1081 | local Bill = Instance.new("BillboardGui",Character) | |
1082 | Bill.Size = UDim2.new(0,100,0,40) | |
1083 | Bill.StudsOffset = Vector3.new(0,35,0) | |
1084 | Bill.Adornee = Character.Head | |
1085 | Bill.Name = "TalkingBillBoard" | |
1086 | local Hehe = Instance.new("TextLabel",Bill) | |
1087 | Hehe.BackgroundTransparency = 1 | |
1088 | Hehe.BorderSizePixel = 0 | |
1089 | Hehe.Text = "" | |
1090 | Hehe.Font = "Bodoni" | |
1091 | Hehe.TextSize = 120 | |
1092 | Hehe.TextStrokeTransparency = 0 | |
1093 | Hehe.Size = UDim2.new(1,0,0.5,0) | |
1094 | coroutine.resume(coroutine.create(function() | |
1095 | while Hehe ~= nil do | |
1096 | Swait() | |
1097 | Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
1098 | Hehe.Rotation = math.random(-5,5) | |
1099 | Hehe.TextColor3 = Color3.new(255,0,0) | |
1100 | Hehe.TextStrokeColor3 = Color3.new(0,0,0) | |
1101 | end | |
1102 | end)) | |
1103 | for i = 1,string.len(text),1 do | |
1104 | Swait() | |
1105 | Hehe.Text = string.sub(text,1,i) | |
1106 | end | |
1107 | Swait(90)--Re[math.random(1, 93)] | |
1108 | for i = 0, 1, .025 do | |
1109 | Swait() | |
1110 | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) | |
1111 | Hehe.TextStrokeTransparency = i | |
1112 | Hehe.TextTransparency = i | |
1113 | end | |
1114 | Bill:Destroy() | |
1115 | end) | |
1116 | chat() | |
1117 | end | |
1118 | ||
1119 | function chatfunc(text) | |
1120 | local chat = coroutine.wrap(function() | |
1121 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
1122 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
1123 | end | |
1124 | local Bill = Instance.new("BillboardGui",Character) | |
1125 | Bill.Size = UDim2.new(0,100,0,40) | |
1126 | - | Hehe.Font = "Antique" |
1126 | + | |
1127 | Bill.Adornee = Character.Head | |
1128 | Bill.Name = "TalkingBillBoard" | |
1129 | local Hehe = Instance.new("TextLabel",Bill) | |
1130 | Hehe.BackgroundTransparency = 1 | |
1131 | Hehe.BorderSizePixel = 0 | |
1132 | Hehe.Text = "" | |
1133 | Hehe.Font = "Bodoni" | |
1134 | Hehe.TextSize = 60 | |
1135 | Hehe.TextStrokeTransparency = 0 | |
1136 | Hehe.Size = UDim2.new(1,0,0.5,0) | |
1137 | coroutine.resume(coroutine.create(function() | |
1138 | while Hehe ~= nil do | |
1139 | Swait() | |
1140 | Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
1141 | Hehe.Rotation = math.random(-2.5,2.5) | |
1142 | Hehe.TextColor3 = Color3.new(MRANDOM(55,255),0,0) | |
1143 | Hehe.TextStrokeColor3 = Color3.new(0,0,0) | |
1144 | end | |
1145 | end)) | |
1146 | for i = 1,string.len(text),1 do | |
1147 | Swait() | |
1148 | Hehe.Text = string.sub(text,1,i) | |
1149 | end | |
1150 | Swait(90)--Re[math.random(1, 93)] | |
1151 | for i = 0, 1, .025 do | |
1152 | Swait() | |
1153 | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) | |
1154 | Hehe.TextStrokeTransparency = i | |
1155 | Hehe.TextTransparency = i | |
1156 | end | |
1157 | Bill:Destroy() | |
1158 | end) | |
1159 | chat() | |
1160 | end | |
1161 | ||
1162 | local Particle = IT("ParticleEmitter",nil) | |
1163 | Particle.Enabled = false | |
1164 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)}) | |
1165 | Particle.LightEmission = 0.5 | |
1166 | Particle.Rate = 150 | |
1167 | Particle.ZOffset = 0.2 | |
1168 | Particle.Rotation = NumberRange.new(-180, 180) | |
1169 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
1170 | - | Hehe.TextSize = 40 |
1170 | + | |
1171 | Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0)) | |
1172 | ||
1173 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
1174 | function ParticleEmitter(Table) | |
1175 | local PRTCL = Particle:Clone() | |
1176 | local Speed = Table.Speed or 5 | |
1177 | local Drag = Table.Drag or 0 | |
1178 | local Size1 = Table.Size1 or 1 | |
1179 | local Size2 = Table.Size2 or 5 | |
1180 | local Lifetime1 = Table.Lifetime1 or 1 | |
1181 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
1182 | local Parent = Table.Parent or Torso | |
1183 | local Emit = Table.Emit or 100 | |
1184 | local Offset = Table.Offset or 360 | |
1185 | local Acel = Table.Acel or VT(0,0,0) | |
1186 | local Enabled = Table.Enabled or false | |
1187 | PRTCL.Parent = Parent | |
1188 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
1189 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
1190 | PRTCL.Speed = NumberRange.new(Speed) | |
1191 | PRTCL.VelocitySpread = Offset | |
1192 | PRTCL.Drag = Drag | |
1193 | PRTCL.Acceleration = Acel | |
1194 | if Enabled == false then | |
1195 | PRTCL:Emit(Emit) | |
1196 | Debris:AddItem(PRTCL,Lifetime2) | |
1197 | else | |
1198 | PRTCL.Enabled = true | |
1199 | end | |
1200 | return PRTCL | |
1201 | end | |
1202 | ||
1203 | local Handle = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.6,0.2),false) | |
1204 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0)) | |
1205 | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false) | |
1206 | MakeForm(Part,"Wedge") | |
1207 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1208 | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.3,0.2),false) | |
1209 | MakeForm(Part,"Wedge") | |
1210 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0)) | |
1211 | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.3),false) | |
1212 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1213 | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false) | |
1214 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1215 | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false) | |
1216 | MakeForm(Part,"Cyl") | |
1217 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1218 | for i = 1, 8 do | |
1219 | local Piece = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false) | |
1220 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
1221 | end | |
1222 | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Eye", VT(0.38,0.41,0.38),false) | |
1223 | MakeForm(Part,"Cyl") | |
1224 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1225 | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.37,0.5,0.37),false) | |
1226 | MakeForm(Part,"Ball") | |
1227 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1228 | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.7,0.4),false) | |
1229 | MakeForm(Part,"Wedge") | |
1230 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0)) | |
1231 | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.2),false) | |
1232 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1233 | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.35,0.35,0.35),false) | |
1234 | MakeForm(Part,"Cyl") | |
1235 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1236 | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.5),false) | |
1237 | MakeForm(Part,"Cyl") | |
1238 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1239 | - | local Handle = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false) |
1239 | + | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.45),false) |
1240 | MakeForm(Part,"Cyl") | |
1241 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) |
1241 | + | |
1242 | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false) | |
1243 | MakeForm(Part,"Wedge") | |
1244 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false) |
1244 | + | |
1245 | local LASTPART = Handle | |
1246 | for i = 1, 10 do | |
1247 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false) |
1247 | + | |
1248 | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.1,0.2,0),false) | |
1249 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) |
1249 | + | |
1250 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1251 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) |
1251 | + | |
1252 | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.1,0.05,0),false) | |
1253 | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0)) | |
1254 | LASTPART = Part | |
1255 | - | local Piece = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) |
1255 | + | |
1256 | end | |
1257 | ||
1258 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false) |
1258 | + | local Barrel = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.15,4,0.15),false) |
1259 | MakeForm(Barrel,"Cyl") | |
1260 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.85) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1261 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false) |
1261 | + | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0.25,2,0.25),false) |
1262 | MakeForm(Part,"Cyl") | |
1263 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.2, 0), CF(0, 0, 0)) | |
1264 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false) |
1264 | + | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0,0.1,0.2),false) |
1265 | MakeForm(Part,"Wedge") | |
1266 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1267 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false) |
1267 | + | local Hole = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Eye", VT(0.125,0,0.125),false) |
1268 | MakeForm(Hole,"Cyl") | |
1269 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false) |
1269 | + | |
1270 | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Really black", "Part", VT(0,0,0),false) | |
1271 | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1272 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false) |
1272 | + | |
1273 | local Part = CreatePart(3, Gun, "Metal", 0, 0.5, "Really black", "Eye", VT(0,0,0),false) | |
1274 | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1275 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false) |
1275 | + | |
1276 | coroutine.resume(coroutine.create(function() | |
1277 | while wait() do | |
1278 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) |
1278 | + | |
1279 | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-sick.PlaybackLoudness/60 - 0.05)) | |
1280 | end | |
1281 | end)) | |
1282 | ||
1283 | ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)}) | |
1284 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false) |
1284 | + | |
1285 | ||
1286 | for _, c in pairs(Gun:GetDescendants()) do | |
1287 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
1288 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false) |
1288 | + | |
1289 | c.Color = C3(0,0,0) | |
1290 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
1291 | c.Color = C3(1,0,0) | |
1292 | c.Material = "Neon" | |
1293 | end | |
1294 | - | local Barrel = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,4,0.15),false) |
1294 | + | |
1295 | ||
1296 | Weapon.Parent = Character | |
1297 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,2,0.25),false) |
1297 | + | |
1298 | ||
1299 | for _, c in pairs(Gun:GetChildren()) do | |
1300 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false) |
1300 | + | |
1301 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1302 | end | |
1303 | - | local Hole = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false) |
1303 | + | |
1304 | ||
1305 | for _, c in pairs(Weapon:GetChildren()) do | |
1306 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false) |
1306 | + | |
1307 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1308 | end | |
1309 | - | local Part = CreatePart(3, Gun, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false) |
1309 | + | |
1310 | ||
1311 | local SKILLTEXTCOLOR = C3(1,0,0) | |
1312 | local SKILLFONT = "Antique" | |
1313 | local SKILLTEXTSIZE = 7 | |
1314 | ||
1315 | Humanoid.Died:connect(function() | |
1316 | ATTACK = true | |
1317 | end) | |
1318 | ||
1319 | local Text1 = "[Z] - BANISHER BULLET" | |
1320 | local Text2 = "[B]" | |
1321 | local Text3 = "[X]" | |
1322 | local Text4 = "[C]" | |
1323 | local Text5 = "[V]" | |
1324 | ||
1325 | 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") | |
1326 | 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") | |
1327 | 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") | |
1328 | 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") | |
1329 | 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") | |
1330 | ||
1331 | ||
1332 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, Text1, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1") | |
1333 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, Text2, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2") | |
1334 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, Text3, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3") | |
1335 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, Text4, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4") | |
1336 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, Text5, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5") | |
1337 | ||
1338 | ||
1339 | coroutine.resume(coroutine.create(function() | |
1340 | while true do | |
1341 | Swait() | |
1342 | SKILL1FRAME.Rotation = SKILL1FRAME.Rotation + 2 | |
1343 | SKILL2FRAME.Rotation = SKILL2FRAME.Rotation + 2 | |
1344 | SKILL3FRAME.Rotation = SKILL3FRAME.Rotation + 2 | |
1345 | SKILL4FRAME.Rotation = SKILL4FRAME.Rotation + 2 | |
1346 | SKILL5FRAME.Rotation = SKILL5FRAME.Rotation + 2 | |
1347 | Swait(5) | |
1348 | SKILL1FRAME.Rotation = SKILL1FRAME.Rotation - 2 | |
1349 | SKILL2FRAME.Rotation = SKILL2FRAME.Rotation - 2 | |
1350 | SKILL3FRAME.Rotation = SKILL3FRAME.Rotation - 2 | |
1351 | SKILL4FRAME.Rotation = SKILL4FRAME.Rotation - 2 | |
1352 | SKILL5FRAME.Rotation = SKILL5FRAME.Rotation - 2 | |
1353 | Swait(5) | |
1354 | end | |
1355 | - | local Text1 = "[Z]" |
1355 | + | |
1356 | ||
1357 | ||
1358 | function printbye(Name) | |
1359 | local MESSAGES = {"Banished ","banish ","abuser ","Die ","I got ","rlly ","DIE ","BAN ","YOU MADE UR CHOICE NOW U GET IT ","mr abuser ","I got you ","U ABUSED ","what did you do "} | |
1360 | warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") | |
1361 | end | |
1362 | ||
1363 | workspace.ChildAdded:connect(function(instance) | |
1364 | for BANISH = 1, #TOBANISH do | |
1365 | if TOBANISH[BANISH] ~= nil then | |
1366 | if instance.Name == TOBANISH[BANISH] then | |
1367 | coroutine.resume(coroutine.create(function() | |
1368 | printbye(instance.Name) | |
1369 | instance:ClearAllChildren() | |
1370 | Debris:AddItem(instance,0.0005) | |
1371 | end)) | |
1372 | end | |
1373 | end | |
1374 | end | |
1375 | end) | |
1376 | ||
1377 | --//=================================\\ | |
1378 | --|| DAMAGING | |
1379 | --\\=================================// | |
1380 | local EyeSizes={ | |
1381 | NumberSequenceKeypoint.new(0,1,0), | |
1382 | NumberSequenceKeypoint.new(1,0,0) | |
1383 | } | |
1384 | local EyeTrans={ | |
1385 | NumberSequenceKeypoint.new(0,0.8,0), | |
1386 | NumberSequenceKeypoint.new(1,1,0) | |
1387 | } | |
1388 | local PE=Instance.new("ParticleEmitter",nil) | |
1389 | PE.LightEmission=.8 | |
1390 | PE.Color = ColorSequence.new(BRICKC("Really red").Color) | |
1391 | PE.Size=NumberSequence.new(EyeSizes) | |
1392 | PE.Transparency=NumberSequence.new(EyeTrans) | |
1393 | PE.Lifetime=NumberRange.new(0.35,1.5) | |
1394 | PE.Rotation=NumberRange.new(0,360) | |
1395 | - | local MESSAGES = {"Banished ","Gotcha ","CREAM ","Die ","I got ","GoodBye ","Struggle ","BAN ","There is no coming back ","BadLuck.. ","I got you ","Just eat my CREAM! ","Hahaha "} |
1395 | + | |
1396 | PE.VelocitySpread = 10000 | |
1397 | PE.Acceleration = Vector3.new(0,0,0) | |
1398 | PE.Drag = 5 | |
1399 | PE.Speed = NumberRange.new(0,0,0) | |
1400 | PE.Texture="http://www.roblox.com/asset/?id=1351966707" | |
1401 | PE.ZOffset = -0 | |
1402 | PE.Name = "PE" | |
1403 | PE.Enabled = false | |
1404 | ||
1405 | function particles(art) | |
1406 | local PARTICLES = PE:Clone() | |
1407 | PARTICLES.Parent = art | |
1408 | end | |
1409 | ||
1410 | function Banish(Foe) | |
1411 | if Foe then | |
1412 | coroutine.resume(coroutine.create(function() | |
1413 | --if game.Players:FindFirstChild(Foe.Name) then | |
1414 | table.insert(TOBANISH,Foe.Name) | |
1415 | printbye(Foe.Name) | |
1416 | --end | |
1417 | Foe.Archivable = true | |
1418 | local CLONE = Foe:Clone() | |
1419 | Foe:Destroy() | |
1420 | CLONE.Parent = Effects | |
1421 | CLONE:BreakJoints() | |
1422 | local MATERIALS = {"Glass","Neon"} | |
1423 | for _, c in pairs(CLONE:GetDescendants()) do | |
1424 | if c:IsA("BasePart") then | |
1425 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
1426 | CreateSound(340722848, c, 10, 1, false) | |
1427 | end | |
1428 | c.Anchored = true | |
1429 | c.Transparency = c.Transparency + 0.2 | |
1430 | c.Material = MATERIALS[MRANDOM(1,2)] | |
1431 | c.Color = C3(1,0,0) | |
1432 | if c.ClassName == "MeshPart" then | |
1433 | c.TextureID = "" | |
1434 | end | |
1435 | if c:FindFirstChildOfClass("SpecialMesh") then | |
1436 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
1437 | end | |
1438 | if c:FindFirstChildOfClass("Decal") then | |
1439 | c:FindFirstChildOfClass("Decal"):remove() | |
1440 | end | |
1441 | c.Name = "Banished" | |
1442 | c.CanCollide = false | |
1443 | else | |
1444 | c:remove() | |
1445 | end | |
1446 | end | |
1447 | local A = false | |
1448 | for i = 1, 35 do | |
1449 | if A == false then | |
1450 | A = true | |
1451 | elseif A == true then | |
1452 | A = false | |
1453 | end | |
1454 | for _, c in pairs(CLONE:GetDescendants()) do | |
1455 | if c:IsA("BasePart") then | |
1456 | c.Anchored = true | |
1457 | c.Material = MATERIALS[MRANDOM(1,2)] | |
1458 | c.Transparency = c.Transparency + 0.8/35 | |
1459 | if A == false then | |
1460 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
1461 | elseif A == true then | |
1462 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
1463 | end | |
1464 | end | |
1465 | end | |
1466 | Swait() | |
1467 | end | |
1468 | CLONE:remove() | |
1469 | end)) | |
1470 | end | |
1471 | end | |
1472 | ||
1473 | function BANISHAOE(POSITION,RANGE,ISBANISH) | |
1474 | local CHILDREN = workspace:GetDescendants() | |
1475 | for index, CHILD in pairs(CHILDREN) do | |
1476 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
1477 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
1478 | if HUM then | |
1479 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1480 | if TORSO then | |
1481 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
1482 | if ISBANISH == true then | |
1483 | Banish(CHILD) | |
1484 | else | |
1485 | if ISBANISH == "Gravity" then | |
1486 | HUM.PlatformStand = true | |
1487 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
1488 | local grav = Instance.new("BodyPosition",TORSO) | |
1489 | grav.D = 15 | |
1490 | grav.P = 20000 | |
1491 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1492 | grav.position = TORSO.Position | |
1493 | grav.Name = "V3BanishForce"..Player.Name | |
1494 | else | |
1495 | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0) | |
1496 | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) | |
1497 | end | |
1498 | else | |
1499 | HUM.PlatformStand = false | |
1500 | end | |
1501 | end | |
1502 | elseif ISBANISH == "Gravity" then | |
1503 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
1504 | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove() | |
1505 | HUM.PlatformStand = false | |
1506 | end | |
1507 | end | |
1508 | end | |
1509 | end | |
1510 | end | |
1511 | end | |
1512 | end | |
1513 | ||
1514 | ||
1515 | ||
1516 | function ManualDamage(Humanoid,Damage,TorsoPart) | |
1517 | local defence = Instance.new("BoolValue",Humanoid.Parent) | |
1518 | defence.Name = ("HitBy"..Player.Name) | |
1519 | game:GetService("Debris"):AddItem(defence, 0.001) | |
1520 | Damage = Damage * DAMAGEMULTIPLIER | |
1521 | if Humanoid.Health ~= 0 then | |
1522 | local CritChance = MRANDOM(1,100) | |
1523 | if Damage > Humanoid.Health then | |
1524 | Damage = math.ceil(Humanoid.Health) | |
1525 | if Damage == 0 then | |
1526 | Damage = 0.1 | |
1527 | end | |
1528 | end | |
1529 | Humanoid.Health = Humanoid.Health - Damage | |
1530 | end | |
1531 | end | |
1532 | ||
1533 | function ManualAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL) | |
1534 | local CHILDREN = workspace:GetDescendants() | |
1535 | for index, CHILD in pairs(CHILDREN) do | |
1536 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
1537 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
1538 | if HUM then | |
1539 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1540 | if TORSO then | |
1541 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
1542 | if INSTAKILL == true then | |
1543 | CHILD:BreakJoints() | |
1544 | else | |
1545 | local DMG = MRANDOM(MINDMG,MAXDMG) | |
1546 | ManualDamage(HUM,DMG,TORSO) | |
1547 | end | |
1548 | if FLING > 0 then | |
1549 | for _, c in pairs(CHILD:GetChildren()) do | |
1550 | if c:IsA("BasePart") then | |
1551 | local bv = Instance.new("BodyVelocity") | |
1552 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1553 | bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING | |
1554 | bv.Parent = c | |
1555 | Debris:AddItem(bv,0.05) | |
1556 | end | |
1557 | end | |
1558 | end | |
1559 | end | |
1560 | end | |
1561 | end | |
1562 | end | |
1563 | end | |
1564 | end | |
1565 | ||
1566 | function KillChildren(v) | |
1567 | v:BreakJoints() | |
1568 | for _, c in pairs(v:GetChildren()) do | |
1569 | if c:IsA("BasePart") then | |
1570 | if c.Transparency < 1 then | |
1571 | if c:FindFirstChildOfClass("Decal") then | |
1572 | c:FindFirstChildOfClass("Decal"):remove() | |
1573 | end | |
1574 | particles(c) | |
1575 | c.PE.Enabled = true | |
1576 | c.Parent = Effects | |
1577 | c.CanCollide = false | |
1578 | c.Material = "Neon" | |
1579 | c.Color = C3(1,0,0) | |
1580 | c.Transparency = 1 | |
1581 | local grav = Instance.new("BodyPosition",c) | |
1582 | grav.P = 20000 | |
1583 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1584 | grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)) | |
1585 | grav.Name = "GravityForce" | |
1586 | coroutine.resume(coroutine.create(function() | |
1587 | for i = 1, 20 do | |
1588 | Swait() | |
1589 | c.Transparency = c.Transparency + 1/20 | |
1590 | end | |
1591 | c.PE.Enabled = false | |
1592 | Debris:AddItem(c,2) | |
1593 | end)) | |
1594 | end | |
1595 | end | |
1596 | end | |
1597 | end | |
1598 | ||
1599 | function SmiteAoE(POSITION,RANGE) | |
1600 | local CHILDREN = workspace:GetDescendants() | |
1601 | for index, CHILD in pairs(CHILDREN) do | |
1602 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
1603 | local LISTED = false | |
1604 | for LIST = 1, #WHITELIST do | |
1605 | if WHITELIST[LIST] ~= nil then | |
1606 | if CHILD.Name == WHITELIST[LIST] then | |
1607 | LISTED = true | |
1608 | end | |
1609 | end | |
1610 | end | |
1611 | if LISTED == false then | |
1612 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
1613 | if HUM then | |
1614 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1615 | if TORSO then | |
1616 | if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then | |
1617 | KillChildren(CHILD) | |
1618 | end | |
1619 | end | |
1620 | end | |
1621 | end | |
1622 | end | |
1623 | end | |
1624 | end | |
1625 | ||
1626 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1627 | if hit.Parent == nil then | |
1628 | return | |
1629 | end | |
1630 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1631 | for _, v in pairs(hit.Parent:children()) do | |
1632 | if v:IsA("Humanoid") then | |
1633 | h = v | |
1634 | end | |
1635 | end | |
1636 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then | |
1637 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
1638 | return | |
1639 | end | |
1640 | local c = Create("ObjectValue")({ | |
1641 | Name = "creator", | |
1642 | Value = game:GetService("Players").LocalPlayer, | |
1643 | Parent = h | |
1644 | }) | |
1645 | game:GetService("Debris"):AddItem(c, 0.5) | |
1646 | if HitSound ~= nil and HitPitch ~= nil then | |
1647 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
1648 | end | |
1649 | local Damage = math.random(minim, maxim) | |
1650 | local blocked = false | |
1651 | local block = hit.Parent:findFirstChild("Block") | |
1652 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
1653 | blocked = true | |
1654 | block.Value = block.Value - 1 | |
1655 | print(block.Value) | |
1656 | end | |
1657 | if blocked == false then | |
1658 | HitHealth = h.Health | |
1659 | h.MaxHealth = 100 | |
1660 | h.Health = h.Health - Damage | |
1661 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
1662 | print("gained kill") | |
1663 | end | |
1664 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1665 | else | |
1666 | h.Health = h.Health - Damage / 2 | |
1667 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
1668 | end | |
1669 | if Type == "Knockdown" then | |
1670 | local hum = hit.Parent.Humanoid | |
1671 | hum.PlatformStand = true | |
1672 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1673 | Swait(1) | |
1674 | HHumanoid.PlatformStand = false | |
1675 | end), hum) | |
1676 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
1677 | local bodvol = Create("BodyVelocity")({ | |
1678 | velocity = angle * knockback, | |
1679 | P = 5000, | |
1680 | maxForce = Vector3.new(8000, 8000, 8000), | |
1681 | Parent = hit | |
1682 | }) | |
1683 | local rl = Create("BodyAngularVelocity")({ | |
1684 | P = 3000, | |
1685 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1686 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1687 | Parent = hit | |
1688 | }) | |
1689 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
1690 | game:GetService("Debris"):AddItem(rl, 0.5) | |
1691 | elseif Type == "Normal" then | |
1692 | local vp = Create("BodyVelocity")({ | |
1693 | P = 500, | |
1694 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1695 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
1696 | }) | |
1697 | if knockback > 0 then | |
1698 | vp.Parent = hit.Parent.Head | |
1699 | end | |
1700 | game:GetService("Debris"):AddItem(vp, 0.5) | |
1701 | elseif Type == "Up" then | |
1702 | local bodyVelocity = Create("BodyVelocity")({ | |
1703 | velocity = Vector3.new(0, 20, 0), | |
1704 | P = 5000, | |
1705 | maxForce = Vector3.new(8000, 8000, 8000), | |
1706 | Parent = hit | |
1707 | }) | |
1708 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
1709 | local bodyVelocity = Create("BodyVelocity")({ | |
1710 | velocity = Vector3.new(0, 20, 0), | |
1711 | P = 5000, | |
1712 | maxForce = Vector3.new(8000, 8000, 8000), | |
1713 | Parent = hit | |
1714 | }) | |
1715 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1716 | elseif Type == "Leech" then | |
1717 | local hum = hit.Parent.Humanoid | |
1718 | if hum ~= nil then | |
1719 | for i = 0, 2 do | |
1720 | Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) | |
1721 | end | |
1722 | Humanoid.Health = Humanoid.Health + 10 | |
1723 | end | |
1724 | elseif Type == "UpKnock" then | |
1725 | local hum = hit.Parent.Humanoid | |
1726 | hum.PlatformStand = true | |
1727 | if hum ~= nil then | |
1728 | hitr = true | |
1729 | end | |
1730 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1731 | Swait(5) | |
1732 | HHumanoid.PlatformStand = false | |
1733 | hitr = false | |
1734 | end), hum) | |
1735 | local bodyVelocity = Create("BodyVelocity")({ | |
1736 | velocity = Vector3.new(0, 20, 0), | |
1737 | P = 5000, | |
1738 | maxForce = Vector3.new(8000, 8000, 8000), | |
1739 | Parent = hit | |
1740 | }) | |
1741 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
1742 | local bodyVelocity = Create("BodyVelocity")({ | |
1743 | velocity = Vector3.new(0, 20, 0), | |
1744 | P = 5000, | |
1745 | maxForce = Vector3.new(8000, 8000, 8000), | |
1746 | Parent = hit | |
1747 | }) | |
1748 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1749 | elseif Type == "Snare" then | |
1750 | local bp = Create("BodyPosition")({ | |
1751 | P = 2000, | |
1752 | D = 100, | |
1753 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1754 | position = hit.Parent.Torso.Position, | |
1755 | Parent = hit.Parent.Torso | |
1756 | }) | |
1757 | game:GetService("Debris"):AddItem(bp, 1) | |
1758 | elseif Type == "Slashnare" then | |
1759 | Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07) | |
1760 | for i = 1, math.random(4, 5) do | |
1761 | Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) | |
1762 | end | |
1763 | local bp = Create("BodyPosition")({ | |
1764 | P = 2000, | |
1765 | D = 100, | |
1766 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1767 | position = hit.Parent.Torso.Position, | |
1768 | Parent = hit.Parent.Torso | |
1769 | }) | |
1770 | game:GetService("Debris"):AddItem(bp, 1) | |
1771 | elseif Type == "Spike" then | |
1772 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
1773 | local bp = Create("BodyPosition")({ | |
1774 | P = 2000, | |
1775 | D = 100, | |
1776 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1777 | position = hit.Parent.Torso.Position, | |
1778 | Parent = hit.Parent.Torso | |
1779 | }) | |
1780 | game:GetService("Debris"):AddItem(bp, 1) | |
1781 | elseif Type == "Freeze" then | |
1782 | local BodPos = Create("BodyPosition")({ | |
1783 | P = 50000, | |
1784 | D = 1000, | |
1785 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1786 | position = hit.Parent.Torso.Position, | |
1787 | Parent = hit.Parent.Torso | |
1788 | }) | |
1789 | local BodGy = Create("BodyGyro")({ | |
1790 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
1791 | P = 20000, | |
1792 | Parent = hit.Parent.Torso, | |
1793 | cframe = hit.Parent.Torso.CFrame | |
1794 | }) | |
1795 | hit.Parent.Torso.Anchored = true | |
1796 | coroutine.resume(coroutine.create(function(Part) | |
1797 | Swait(1.5) | |
1798 | Part.Anchored = false | |
1799 | end), hit.Parent.Torso) | |
1800 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1801 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1802 | end | |
1803 | local debounce = Create("BoolValue")({ | |
1804 | Name = "DebounceHit", | |
1805 | Parent = hit.Parent, | |
1806 | Value = true | |
1807 | }) | |
1808 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1809 | c = Instance.new("ObjectValue") | |
1810 | c.Name = "creator" | |
1811 | c.Value = Player | |
1812 | c.Parent = h | |
1813 | game:GetService("Debris"):AddItem(c, 0.5) | |
1814 | end | |
1815 | end | |
1816 | function ShowDamage(Pos, Text, Time, Color) | |
1817 | local Rate = 0.03333333333333333 | |
1818 | local Pos = Pos or Vector3.new(0, 0, 0) | |
1819 | local Text = Text or "" | |
1820 | local Time = Time or 2 | |
1821 | local Color = Color or Color3.new(1, 0, 1) | |
1822 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1823 | EffectPart.Anchored = true | |
1824 | local BillboardGui = Create("BillboardGui")({ | |
1825 | Size = UDim2.new(3, 0, 3, 0), | |
1826 | Adornee = EffectPart, | |
1827 | Parent = EffectPart | |
1828 | }) | |
1829 | local TextLabel = Create("TextLabel")({ | |
1830 | BackgroundTransparency = 1, | |
1831 | Size = UDim2.new(1, 0, 1, 0), | |
1832 | Text = Text, | |
1833 | TextColor3 = Color, | |
1834 | TextScaled = true, | |
1835 | Font = Enum.Font.ArialBold, | |
1836 | Parent = BillboardGui | |
1837 | }) | |
1838 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
1839 | EffectPart.Parent = game:GetService("Workspace") | |
1840 | delay(0, function() | |
1841 | local Frames = Time / Rate | |
1842 | for Frame = 1, Frames do | |
1843 | wait(Rate) | |
1844 | local Percent = Frame / Frames | |
1845 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1846 | TextLabel.TextTransparency = Percent | |
1847 | end | |
1848 | if EffectPart and EffectPart.Parent then | |
1849 | EffectPart:Destroy() | |
1850 | end | |
1851 | end) | |
1852 | end | |
1853 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
1854 | for _, c in pairs(workspace:children()) do | |
1855 | local hum = c:findFirstChildOfClass("Humanoid") | |
1856 | if hum ~= nil then | |
1857 | local head = c:findFirstChild("Head") | |
1858 | if head ~= nil then | |
1859 | local targ = head.Position - Part.Position | |
1860 | local mag = targ.magnitude | |
1861 | if magni >= mag and c.Name ~= Player.Name then | |
1862 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
1863 | end | |
1864 | end | |
1865 | end | |
1866 | end | |
1867 | end | |
1868 | ||
1869 | function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3) | |
1870 | local type = type | |
1871 | local rng = Instance.new("Part", char) | |
1872 | rng.Anchored = true | |
1873 | rng.BrickColor = color | |
1874 | rng.Color = color3 | |
1875 | rng.CanCollide = false | |
1876 | rng.FormFactor = 3 | |
1877 | rng.Name = "Ring" | |
1878 | rng.Material = "Neon" | |
1879 | rng.Size = Vector3.new(1, 1, 1) | |
1880 | rng.Transparency = 0 | |
1881 | rng.TopSurface = 0 | |
1882 | rng.BottomSurface = 0 | |
1883 | rng.CFrame = pos | |
1884 | local rngm = Instance.new("SpecialMesh", rng) | |
1885 | rngm.MeshType = "Brick" | |
1886 | rngm.Scale = scale | |
1887 | local scaler2 = 1 | |
1888 | local scaler2b = 1 | |
1889 | local scaler2c = 1 | |
1890 | if type == "Add" then | |
1891 | scaler2 = 1*value | |
1892 | scaler2b = 1*value2 | |
1893 | scaler2c = 1*value3 | |
1894 | elseif type == "Divide" then | |
1895 | scaler2 = 1/value | |
1896 | scaler2b = 1/value2 | |
1897 | scaler2c = 1/value3 | |
1898 | end | |
1899 | coroutine.resume(coroutine.create(function() | |
1900 | for i = 0,10/bonuspeed,0.1 do | |
1901 | swait() | |
1902 | if type == "Add" then | |
1903 | scaler2 = scaler2 - 0.01*value/bonuspeed | |
1904 | scaler2b = scaler2b - 0.01*value/bonuspeed | |
1905 | scaler2c = scaler2c - 0.01*value/bonuspeed | |
1906 | elseif type == "Divide" then | |
1907 | scaler2 = scaler2 - 0.01/value*bonuspeed | |
1908 | scaler2b = scaler2b - 0.01/value*bonuspeed | |
1909 | scaler2c = scaler2c - 0.01/value*bonuspeed | |
1910 | end | |
1911 | rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
1912 | rng.Transparency = rng.Transparency + 0.01*bonuspeed | |
1913 | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) | |
1914 | end | |
1915 | rng:Destroy() | |
1916 | end)) | |
1917 | end | |
1918 | ||
1919 | --//=================================\\ | |
1920 | --|| ATTACK FUNCTIONS AND STUFF | |
1921 | --\\=================================// | |
1922 | coroutine.resume(coroutine.create(function() | |
1923 | sick.TimePosition = 110 | |
1924 | end)) | |
1925 | ||
1926 | ||
1927 | function Intro() | |
1928 | ATTACK = true | |
1929 | Rooted = true | |
1930 | repeat | |
1931 | Swait() | |
1932 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1933 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1934 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed) | |
1935 | LeftShoulder.C0 = Clerp(LeftShoulder.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)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1936 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed) | |
1937 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed) | |
1938 | until sick.TimePosition > 115 | |
1939 | repeat | |
1940 | Swait() | |
1941 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed/8) | |
1942 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1943 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, 1 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed/8) | |
1944 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed/8) | |
1945 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed/8) | |
1946 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed/8) | |
1947 | until sick.TimePosition > 117 | |
1948 | repeat | |
1949 | Swait() | |
1950 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3) | |
1951 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1952 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, -1.4 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*5) | |
1953 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1954 | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
1955 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
1956 | until sick.TimePosition >119 | |
1957 | Gun.Parent = Character | |
1958 | Text1 = "[Z]" | |
1959 | Text2 = "[B]" | |
1960 | Text3 = "[X]" | |
1961 | Text4 = "[C]" | |
1962 | Text5 = "[V] S H A T T E R" | |
1963 | for i = 1, 100 do | |
1964 | Swait() | |
1965 | for _, c in pairs(Character:GetChildren()) do | |
1966 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
1967 | c.Transparency = 0 | |
1968 | end | |
1969 | end | |
1970 | for _, c in pairs(Weapon:GetChildren()) do | |
1971 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
1972 | c.Transparency = 0 | |
1973 | end | |
1974 | end | |
1975 | for _, c in pairs(Weapon:GetDescendants()) do | |
1976 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
1977 | c.Material = "Glass" | |
1978 | c.Color = C3(0,0,0) | |
1979 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
1980 | c.Color = C3(1,0,0) | |
1981 | c.Material = "Neon" | |
1982 | end | |
1983 | end | |
1984 | end | |
1985 | TRANSFORMED = true | |
1986 | ATTACK = false | |
1987 | Rooted = false | |
1988 | end | |
1989 | ||
1990 | function Rifle_Bullet() | |
1991 | ATTACK = true | |
1992 | Rooted = false | |
1993 | for i=0, 0.4, 0.05 / Animation_Speed do | |
1994 | Swait() | |
1995 | turnto(Mouse.Hit.p) | |
1996 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed) | |
1997 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
1998 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1999 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2000 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2001 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2002 | end | |
2003 | repeat | |
2004 | for i=0, 0.2, 0.05 / Animation_Speed do | |
2005 | Swait() | |
2006 | turnto(Mouse.Hit.p) | |
2007 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed) | |
2008 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.5 / Animation_Speed) | |
2009 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2010 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.6, -0.4) * ANGLES(RAD(170), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2011 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2012 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2013 | end | |
2014 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
2015 | SpawnTrail(Hole.Position,POS) | |
2016 | if HIT ~= nil then | |
2017 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
2018 | Banish(HIT.Parent) | |
2019 | end | |
2020 | end | |
2021 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2022 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2023 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2024 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2025 | Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30 | |
2026 | for i=0, 0.3, 0.05 / Animation_Speed do | |
2027 | Swait() | |
2028 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(60)), 0.5 / Animation_Speed) | |
2029 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.25 / Animation_Speed) | |
2030 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2031 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.6, -0.4) * ANGLES(RAD(172), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2032 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2033 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2034 | end | |
2035 | until KEYHOLD == false | |
2036 | ATTACK = false | |
2037 | Rooted = false | |
2038 | end | |
2039 | ||
2040 | function Cream_Strike_rlly() | |
2041 | ATTACK = true | |
2042 | Rooted = true | |
2043 | CreateSound(1368573150, RightArm, 3, 1.5) | |
2044 | for i=0, 2, 0.1 / Animation_Speed do | |
2045 | Swait() | |
2046 | WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
2047 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 0.15 / Animation_Speed) | |
2048 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2049 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(0), RAD(27)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2050 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(165), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2051 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2052 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2053 | end | |
2054 | local POWER = 1 | |
2055 | repeat | |
2056 | Swait() | |
2057 | WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.01*POWER,0,0.01*POWER), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1.3,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0}) | |
2058 | WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
2059 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 16)) * ANGLES(RAD(-25), RAD(0), RAD(-30)), 0.15 / Animation_Speed) | |
2060 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 32)), RAD(0), RAD(30 + 10 * COS(SINE / 14))), 0.15 / Animation_Speed) | |
2061 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 + 5 * COS(SINE / 21)), RAD(0), RAD(28 + 5 * COS(SINE / 19))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2062 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1 - 0.1 * COS(SINE / 25), 0) * ANGLES(RAD(150 + 15 * COS(SINE / 53)), RAD(0), RAD(-15 + 5 * COS(SINE / 43))) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2063 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 16), -0.01) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2064 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.1 * COS(SINE / 33), -0.6) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(-8 + 3 * COS(SINE / 30)), RAD(0), RAD(0 + 7 * COS(SINE / 64))), 0.15 / Animation_Speed) | |
2065 | POWER = POWER + 0.009 | |
2066 | if POWER >= 6 then | |
2067 | POWER = 6 | |
2068 | end | |
2069 | until KEYHOLD == false | |
2070 | BANISHAOE(Mouse.hit.Position,13*POWER,true) | |
2071 | ||
2072 | WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(20*POWER,9999,20*POWER), Size2 = VT(0,9999,0), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Mouse.Hit.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 0.9, SoundVolume = 15}) | |
2073 | WACKYEFFECT({Time = 60, EffectType = "Block", Size = VT(5*POWER,5*POWER,5*POWER), Size2 = VT(30*POWER,30*POWER,30*POWER), Transparency = 0, Transparency2 = 1, CFrame = CF(Mouse.Hit.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 0.9, SoundVolume = 15}) | |
2074 | for i=0, 1, 0.1 / Animation_Speed do | |
2075 | Swait() | |
2076 | WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
2077 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.6 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(30), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2078 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2079 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2080 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2081 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2082 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2 - 0.05 * COS(SINE / 12), -0.6) * ANGLES(RAD(30), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2083 | end | |
2084 | ATTACK = false | |
2085 | Rooted = false | |
2086 | end | |
2087 | ||
2088 | local Cooldown1 = false | |
2089 | ||
2090 | function BulletRoller() | |
2091 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
2092 | if HITFLOOR then | |
2093 | ATTACK = true | |
2094 | Rooted = true | |
2095 | local bv = Instance.new("BodyVelocity") | |
2096 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
2097 | bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1,-4).p).lookVector*175 | |
2098 | bv.Parent = RootPart | |
2099 | local GYRO = IT("BodyGyro",RootPart) | |
2100 | GYRO.D = 2 | |
2101 | GYRO.P = 20000 | |
2102 | GYRO.MaxTorque = VT(0,4000000,0) | |
2103 | GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-5).p) | |
2104 | CreateSound(145486992,Torso,10,0.85,false) | |
2105 | for i=0, 0.05, 0.1 / Animation_Speed do | |
2106 | Swait() | |
2107 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(-10)), 1 / Animation_Speed) | |
2108 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(10)), 1 / Animation_Speed) | |
2109 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(-20), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2110 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(20), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2111 | if ANIM == "Fall" or ANIM == "Jump" then | |
2112 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2113 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2114 | else | |
2115 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-5), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2116 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2117 | end | |
2118 | end | |
2119 | bv:Remove() | |
2120 | local E = 360/15 | |
2121 | for i = 1, 15 do | |
2122 | Swait() | |
2123 | WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(8,1,8), Size2 = VT(2,15,2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position,HITPOS) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0}) | |
2124 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2125 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2126 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2127 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2128 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(-35), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2129 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2130 | end | |
2131 | Cooldown1 = true | |
2132 | local LANDED = nil | |
2133 | local POS = nil | |
2134 | coroutine.resume(coroutine.create(function() | |
2135 | repeat | |
2136 | Swait() | |
2137 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2138 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2139 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2140 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2141 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2142 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2143 | until LANDED ~= nil | |
2144 | end)) | |
2145 | repeat | |
2146 | Swait() | |
2147 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4.2, Character) | |
2148 | if HITFLOOR then | |
2149 | LANDED = HITFLOOR | |
2150 | POS = HITPOS | |
2151 | end | |
2152 | until LANDED ~= nil | |
2153 | GYRO:remove() | |
2154 | Swait(4) | |
2155 | ManualAoE(RootPart.Position,10,20,50,0,false) | |
2156 | CreateSound(765590102, Torso, 2, (MRANDOM(8,12)/10)+0.3, false) | |
2157 | WACKYEFFECT({EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(20,20,20), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255,0/255,0/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0}) | |
2158 | for i = 0, 4 do | |
2159 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,0.33,0), Size2 = VT(8,0.11,8), Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-10,10), RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0}) | |
2160 | end | |
2161 | for i=0, 0.5, 0.1 / Animation_Speed do | |
2162 | Swait() | |
2163 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2164 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2165 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2166 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2167 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2168 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2169 | end | |
2170 | local AMMO = 0 | |
2171 | repeat | |
2172 | AMMO = AMMO + 1 | |
2173 | for i=0, 0.1, 0.05 / Animation_Speed do | |
2174 | Swait() | |
2175 | turnto(Mouse.Hit.p) | |
2176 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2177 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-75 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2178 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2179 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(179), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2180 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2181 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2182 | end | |
2183 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
2184 | SpawnTrail(Hole.Position,POS) | |
2185 | if HIT ~= nil then | |
2186 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
2187 | Banish(HIT.Parent) | |
2188 | end | |
2189 | end | |
2190 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2191 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2192 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2193 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2194 | Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30 | |
2195 | for i=0, 0.075, 0.05 / Animation_Speed do | |
2196 | Swait() | |
2197 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2198 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-85 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2199 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(190), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2200 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(190), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2201 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2202 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2203 | end | |
2204 | until AMMO == 5 | |
2205 | ATTACK = false | |
2206 | Rooted = false | |
2207 | wait(0.3) | |
2208 | Cooldown1 = false | |
2209 | end | |
2210 | end | |
2211 | ||
2212 | local Cooldown2 = false | |
2213 | ||
2214 | function SHATTER() | |
2215 | ATTACK = true | |
2216 | Rooted = true | |
2217 | Cooldown2 = true | |
2218 | local MAINRUINCOLOR = BrickColor.new("Really red") | |
2219 | for i=0, 0.6, 0.1 / Animation_Speed do | |
2220 | Swait() | |
2221 | WACKYEFFECT({Time = 10, EffectType = "Block", Size = VT(4,4,4), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = Barrel.CFrame*CF(0,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(MRANDOM(25,255)/255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2222 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
2223 | 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.4 / Animation_Speed) | |
2224 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) | |
2225 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(17.5)) * LEFTSHOULDERC0, 0.4 / Animation_Speed) | |
2226 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
2227 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
2228 | end | |
2229 | WarnFunc("S H A T T E R") | |
2230 | CFuncs["Sound"].Create("rbxassetid://1718412034", RootPart, 15, 1) | |
2231 | CFuncs["EchoSound"].Create("rbxassetid://1718412034", Character, 5, 1,0,10,0.15,0.5,1) | |
2232 | for i=0, 3, 0.1 / Animation_Speed do | |
2233 | Swait() | |
2234 | WACKYEFFECT({Time = 10, EffectType = "Block", Size = VT(MRANDOM(2,8),MRANDOM(2,8),MRANDOM(2,8)), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = Barrel.CFrame*CF(0,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(MRANDOM(25,255)/255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2235 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
2236 | 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.4 / Animation_Speed) | |
2237 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) | |
2238 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(17.5)) * LEFTSHOULDERC0, 0.4 / Animation_Speed) | |
2239 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
2240 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
2241 | end | |
2242 | for i=0, 0.25, 0.1 / Animation_Speed do | |
2243 | Swait() | |
2244 | WACKYEFFECT({Time = 10, EffectType = "Block", Size = VT(MRANDOM(2,6),MRANDOM(2,6),MRANDOM(2,6)), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = Barrel.CFrame*CF(0,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(MRANDOM(25,255)/255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2245 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2246 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2247 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2248 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(17.5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2249 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2250 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2251 | end | |
2252 | sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Really red"),BrickColor.new("Maroon").Color) | |
2253 | sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),2,2,2,BrickColor.new("Maroon"),BrickColor.new("Really red").Color) | |
2254 | sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),4,4,4,BrickColor.new("Really red"),BrickColor.new("Maroon").Color) | |
2255 | sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),8,8,8,BrickColor.new("Maroon"),BrickColor.new("Really red").Color) | |
2256 | CFuncs["Sound"].Create("rbxassetid://1841058541", RootPart, 10,1) | |
2257 | CFuncs["Sound"].Create("rbxassetid://2095993595", Character, 5,0.8) | |
2258 | CFuncs["Sound"].Create("rbxassetid://1841058541", Character, 5,1) | |
2259 | Humanoid.CameraOffset = VT(0,0,0) | |
2260 | for i = 0, 24 do | |
2261 | slash(math.random(10,30)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.new("Maroon")) | |
2262 | end | |
2263 | local distam = 0 | |
2264 | coroutine.resume(coroutine.create(function() | |
2265 | for i = 0, 99 do | |
2266 | wait() | |
2267 | distam = distam + 1.5 | |
2268 | local xa = CreateParta(Character,1,1,"SmoothPlastic",BrickColor.new("Really red")) | |
2269 | xa.Anchored = true | |
2270 | xa.CFrame = RootPart.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam)) | |
2271 | game:GetService("Debris"):AddItem(xa, 5) | |
2272 | coroutine.resume(coroutine.create(function() | |
2273 | local eff = Instance.new("ParticleEmitter",xa) | |
2274 | eff.Texture = "rbxassetid://2092248396" | |
2275 | eff.LightEmission = 1 | |
2276 | eff.Color = ColorSequence.new(BrickColor.new("Maroon").Color) | |
2277 | eff.Rate = 500000 | |
2278 | eff.Lifetime = NumberRange.new(1,3) | |
2279 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2280 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2281 | eff.Speed = NumberRange.new(50,500) | |
2282 | eff.Drag = 5 | |
2283 | eff.Rotation = NumberRange.new(-500,500) | |
2284 | eff.VelocitySpread = 9000 | |
2285 | eff.RotSpeed = NumberRange.new(-50,50) | |
2286 | wait(0.25) | |
2287 | eff.Enabled = false | |
2288 | end)) | |
2289 | CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200) | |
2290 | sphere2(5,"Add",xa.CFrame,VT(1,1,1),0.5,0.5,0.5,BrickColor.new("Maroon"),BrickColor.new("Really red").Color) | |
2291 | sphere2(5,"Add",xa.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Really red"),BrickColor.new("Maroon").Color) | |
2292 | sphere2(5,"Add",xa.CFrame,VT(1,1,1),0.5,0.5,0.5,BrickColor.new("Maroon"),BrickColor.new("Really red").Color) | |
2293 | sphere2(5,"Add",xa.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Really red"),BrickColor.new("Maroon").Color) | |
2294 | sphere2(5,"Add",xa.CFrame,VT(1,1,1),0.5,0.5,0.5,BrickColor.new("Maroon"),BrickColor.new("Really red").Color) | |
2295 | sphere2(5,"Add",xa.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Really red"),BrickColor.new("Maroon").Color) | |
2296 | SmiteAoE(xa.Position, 30) | |
2297 | end | |
2298 | end)) | |
2299 | ATTACK = false | |
2300 | Rooted = false | |
2301 | wait(3) | |
2302 | Cooldown2 = false | |
2303 | end | |
2304 | ||
2305 | UnBanishTaunts = {"Don't do that or you will my cream again.","Ugh wrong key bur anyway you're free.","I'm sorry about that.","Forgive me please?","Don't abuse it again..","Such a shame...","Are you gonna stop now?!","My leg is hurt..","Woops?","Welp do whatever you want.","*sigh* just go away..","i'm bored."} | |
2306 | ||
2307 | function TakeOnMe() | |
2308 | Speed = 16 | |
2309 | local MEME = CreateSound(1171341451, Effects, 7, 1, false) | |
2310 | ATTACK = true | |
2311 | Rooted = false | |
2312 | VOLUME = 0 | |
2313 | local DANCE = true | |
2314 | local KEY = Mouse.KeyDown:connect(function(NEWKEY) | |
2315 | if NEWKEY == "p" then | |
2316 | DANCE = false | |
2317 | VOLUME = 2 | |
2318 | end | |
2319 | end) | |
2320 | local PLAYSONG = false | |
2321 | while true do | |
2322 | for i = 1, 15 do | |
2323 | Swait() | |
2324 | MEME.Parent = Effects | |
2325 | 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) | |
2326 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2327 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2328 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2329 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2330 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2331 | end | |
2332 | if DANCE == false then | |
2333 | break | |
2334 | end | |
2335 | for i = 1, 15 do | |
2336 | Swait() | |
2337 | MEME.Parent = Effects | |
2338 | 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) | |
2339 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed) | |
2340 | if MRANDOM(1,7) == 1 then | |
2341 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed) | |
2342 | end RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(150), RAD(65), RAD(85)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2343 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(65), RAD(85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2344 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2345 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2346 | end | |
2347 | end | |
2348 | PLAYSONG = true | |
2349 | KEY:Disconnect() | |
2350 | MEME:remove() | |
2351 | Speed = 25 | |
2352 | ATTACK = false | |
2353 | Rooted = false | |
2354 | end | |
2355 | ||
2356 | function AttackTemplate() | |
2357 | ATTACK = true | |
2358 | Rooted = false | |
2359 | for i=0, 1, 0.1 / Animation_Speed do | |
2360 | Swait() | |
2361 | 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) | |
2362 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2363 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2364 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2365 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2366 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2367 | end | |
2368 | ATTACK = false | |
2369 | Rooted = false | |
2370 | end | |
2371 | ||
2372 | function Taunt() | |
2373 | ATTACK = true | |
2374 | Rooted = true | |
2375 | local L = CreateSound(2162230624,Head,8,1.1,false) | |
2376 | L.EmitterSize = 25 | |
2377 | for i = 1, 20 do | |
2378 | Swait() | |
2379 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2380 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2381 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2382 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2383 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2384 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2385 | end | |
2386 | for i = 1, 40 do | |
2387 | Swait() | |
2388 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2389 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed) | |
2390 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2391 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2392 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2393 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2394 | end | |
2395 | for i = 1, 60 do | |
2396 | Swait() | |
2397 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2398 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2399 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2400 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2401 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2402 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2403 | end | |
2404 | for i = 1, 60 do | |
2405 | Swait() | |
2406 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2407 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed) | |
2408 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2409 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2410 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2411 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2412 | end | |
2413 | for i = 1, 90 do | |
2414 | Swait() | |
2415 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2416 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2417 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2418 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2419 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2420 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2421 | end | |
2422 | for i = 1, 72 do | |
2423 | Swait() | |
2424 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2425 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed) | |
2426 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2427 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2428 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2429 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2430 | end | |
2431 | for i = 1, 96 do | |
2432 | Swait() | |
2433 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2434 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2435 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2436 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2437 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2438 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2439 | end | |
2440 | for i = 1, 98 do | |
2441 | Swait() | |
2442 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2443 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed) | |
2444 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2445 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2446 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2447 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2448 | end | |
2449 | ATTACK = false | |
2450 | Rooted = false | |
2451 | end | |
2452 | ||
2453 | function MilkForm() | |
2454 | ATTACK = true | |
2455 | Rooted = true | |
2456 | VIS = 899090278 | |
2457 | VOLUME = 2 | |
2458 | PITCH = 0.96 | |
2459 | sick.TimePosition = 0 | |
2460 | for i=0, 0.3, 0.1 / Animation_Speed do | |
2461 | Swait() | |
2462 | RootPart.CFrame = RootPart.CFrame * CF(0,25,0) | |
2463 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2464 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2465 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2466 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2467 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed) | |
2468 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed) | |
2469 | end | |
2470 | UNANCHOR = false | |
2471 | RootPart.Anchored = true | |
2472 | CreateSound("1368598393", Effects, 10, 1) | |
2473 | for i=0, 3, 0.1 / Animation_Speed do | |
2474 | Swait() | |
2475 | local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
2476 | MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,5)) | |
2477 | MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,5)) | |
2478 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2479 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2480 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2481 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2482 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2483 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2484 | end | |
2485 | CreateSound("1368583274", Effects, 1, 1) | |
2486 | for i=0, 10, 0.1 / Animation_Speed do | |
2487 | Swait() | |
2488 | WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.1*i,0,0.1*i), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0}) | |
2489 | local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) | |
2490 | MagicSphere(VT(0,0,0),15,CFRAME,"Really red",VT(0.1,0.1,55)) | |
2491 | MagicSphere(VT(0,0,0),60,CFRAME,"Really red",VT(0.07*i,0.07*i,0.07*i)) | |
2492 | MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",VT(0.1,0.1,55)) | |
2493 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2494 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2495 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2496 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2497 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2498 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2499 | end | |
2500 | CreateRing(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(7,7,0)) | |
2501 | CreateSound("1368605755", Effects, 10, 1) | |
2502 | CreateSound("1368637781", Effects, 10, 1) | |
2503 | MagicSphere(VT(0,0,0),45,Torso.CFrame,"Really red",VT(5,5,5)) | |
2504 | for i=0, 1, 0.1 / Animation_Speed do | |
2505 | Swait() | |
2506 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2507 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2508 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2509 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2510 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed) | |
2511 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed) | |
2512 | end | |
2513 | Speed = 45 | |
2514 | Milk = true | |
2515 | UNANCHOR = true | |
2516 | RootPart.Anchored = false | |
2517 | ATTACK = false | |
2518 | Rooted = false | |
2519 | end | |
2520 | ||
2521 | function CreamForm() | |
2522 | ATTACK = true | |
2523 | Rooted = true | |
2524 | VIS = 1138145518 | |
2525 | VOLUME = 1.5 | |
2526 | PITCH = 1 | |
2527 | sick.TimePosition = 0 | |
2528 | Milk = false | |
2529 | for i=0, 2, 0.1 / Animation_Speed do | |
2530 | Swait() | |
2531 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.5) * ANGLES(RAD(25 - 1 * COS(SINE / 1)), RAD(0 + 1 * COS(SINE / 1)), RAD(0 - 1 * COS(SINE / 1))), 0.2 / Animation_Speed) | |
2532 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2533 | if MRANDOM(1,7) == 1 then | |
2534 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed) | |
2535 | end | |
2536 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170 - 1 * COS(SINE / 1)), RAD(0), RAD(-20 + 1 * COS(SINE / 1))) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2537 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170 + 1 * COS(SINE / 1)), RAD(0), RAD(20 - 1 * COS(SINE / 1))) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2538 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed) | |
2539 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed) | |
2540 | end | |
2541 | Chill = false | |
2542 | Mode = "idk" | |
2543 | Speed = 16 | |
2544 | ATTACK = false | |
2545 | Rooted = false | |
2546 | end | |
2547 | ||
2548 | function CreamForm2() | |
2549 | ATTACK = true | |
2550 | Rooted = true | |
2551 | VIS = 1138145518 | |
2552 | VOLUME = 1.5 | |
2553 | PITCH = 1 | |
2554 | sick.TimePosition = 0 | |
2555 | Chill = false | |
2556 | WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(20,20,20), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0}) | |
2557 | Gun.Parent = Character | |
2558 | for i=0, 2, 0.1 / Animation_Speed do | |
2559 | Swait() | |
2560 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(25 - 1 * COS(SINE / 1)), RAD(0 + 1 * COS(SINE / 1)), RAD(0 - 1 * COS(SINE / 1))), 0.2 / Animation_Speed) | |
2561 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2562 | if MRANDOM(1,7) == 1 then | |
2563 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed) | |
2564 | end | |
2565 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170 - 1 * COS(SINE / 1)), RAD(0), RAD(-20 + 1 * COS(SINE / 1))) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
2566 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170 + 1 * COS(SINE / 1)), RAD(0), RAD(20 - 1 * COS(SINE / 1))) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
2567 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
2568 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0, -0.6) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2569 | end | |
2570 | Speed = 16 | |
2571 | ATTACK = false | |
2572 | Rooted = false | |
2573 | end | |
2574 | ||
2575 | local Cooldown4 = false | |
2576 | ||
2577 | function Booster() | |
2578 | ATTACK = true | |
2579 | Rooted = true | |
2580 | Cooldown4 = true | |
2581 | coroutine.resume(coroutine.create(function() | |
2582 | WACKYEFFECT({Time = 100, EffectType = "Sphere", Size = VT(60,9999,60), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 0.7, SoundVolume = 7}) | |
2583 | Swait(60) | |
2584 | WACKYEFFECT({Time = 80, EffectType = "Sphere", Size = VT(40,9999,40), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 0.8, SoundVolume = 7}) | |
2585 | Swait(30) | |
2586 | WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(20,9999,20), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 0.9, SoundVolume = 7}) | |
2587 | end)) | |
2588 | for i=0, 3.5, 0.1 / Animation_Speed do | |
2589 | Swait() | |
2590 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.5 - 0.5 * COS(SINE / 12)) * ANGLES(RAD(35 - 1 * COS(SINE / 1)), RAD(0 + 1 * COS(SINE / 1)), RAD(0 - 1 * COS(SINE / 1))), 0.2 / Animation_Speed) | |
2591 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2592 | if MRANDOM(1,7) == 1 then | |
2593 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 0.2 / Animation_Speed) | |
2594 | end | |
2595 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(20 - 1 * COS(SINE / 1)), RAD(0), RAD(-89 + 1 * COS(SINE / 1))) * RIGHTSHOULDERC0, 0.7 / Animation_Speed) | |
2596 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(20 + 1 * COS(SINE / 1)), RAD(0), RAD(85 - 1 * COS(SINE / 1))) * LEFTSHOULDERC0, 0.7 / Animation_Speed) | |
2597 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2598 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2599 | end | |
2600 | ||
2601 | for i=0, 1, 0.1 / Animation_Speed do | |
2602 | Swait() | |
2603 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.7 - 0.5 * COS(SINE / 12)) * ANGLES(RAD(-45 - 1 * COS(SINE / 1)), RAD(0 + 1 * COS(SINE / 1)), RAD(0 - 1 * COS(SINE / 1))), 1 / Animation_Speed) | |
2604 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2605 | if MRANDOM(1,7) == 1 then | |
2606 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1 / Animation_Speed) | |
2607 | end | |
2608 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40 - 1 * COS(SINE / 1)), RAD(0), RAD(25 + 1 * COS(SINE / 1))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2609 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40 + 1 * COS(SINE / 1)), RAD(0), RAD(-35 - 1 * COS(SINE / 1))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2610 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2611 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 01 / Animation_Speed) | |
2612 | end | |
2613 | WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(40,40,40), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 1, SoundVolume = 7}) | |
2614 | coroutine.resume(coroutine.create(function() | |
2615 | local eff = Instance.new("ParticleEmitter",RootPart) | |
2616 | eff.Texture = "rbxassetid://2092248396" | |
2617 | eff.LightEmission = 1 | |
2618 | eff.Color = ColorSequence.new(BrickColor.new("Maroon").Color) | |
2619 | eff.Rate = 500000 | |
2620 | eff.Lifetime = NumberRange.new(1,3) | |
2621 | eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2622 | eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2623 | eff.Speed = NumberRange.new(50,500) | |
2624 | eff.Drag = 5 | |
2625 | eff.Rotation = NumberRange.new(-500,500) | |
2626 | eff.VelocitySpread = 9000 | |
2627 | eff.RotSpeed = NumberRange.new(-50,50) | |
2628 | wait(0.25) | |
2629 | eff.Enabled = false | |
2630 | end)) | |
2631 | Speed = 90 | |
2632 | Boost = true | |
2633 | PITCH = 1 | |
2634 | ATTACK = false | |
2635 | Rooted = false | |
2636 | wait(45) | |
2637 | PITCH = 0.96 | |
2638 | Speed = 45 | |
2639 | Boost = false | |
2640 | wait(5) | |
2641 | Cooldown4 = false | |
2642 | end | |
2643 | ||
2644 | local Cooldown3 = false | |
2645 | ||
2646 | function AURORA() | |
2647 | ATTACK = true | |
2648 | Rooted = true | |
2649 | Cooldown3 = true | |
2650 | if Boost == false then | |
2651 | WarnFunc("A U R O R A") | |
2652 | elseif Boost == true then | |
2653 | WarnFunc("B A N I S H") | |
2654 | end | |
2655 | local bgui = Instance.new("BillboardGui",RootPart) | |
2656 | bgui.Size = UDim2.new(25, 0, 25, 0) | |
2657 | local imgc = Instance.new("ImageLabel",bgui) | |
2658 | imgc.BackgroundTransparency = 1 | |
2659 | imgc.ImageTransparency = 1 | |
2660 | imgc.Position = UDim2.new(-0.25,0,-0.25,0) | |
2661 | imgc.Size = UDim2.new(1,0,1,0) | |
2662 | imgc.Image = "rbxassetid://0" | |
2663 | imgc.ImageColor3 = Color3.new(99/255,95/255,98/255) | |
2664 | local imgc2 = imgc:Clone() | |
2665 | imgc2.Image = "rbxassetid://2076519836" | |
2666 | imgc2.Parent = bgui | |
2667 | imgc2.Position = UDim2.new(-1.5,0,-1.5,0) | |
2668 | imgc2.Size = UDim2.new(4,0,4,0) | |
2669 | imgc2.ImageColor3 = Color3.new(255/255,0/255,0/255) | |
2670 | ||
2671 | for i=0, 4, 0.1 / Animation_Speed do | |
2672 | Swait() | |
2673 | imgc2.ImageTransparency = imgc2.ImageTransparency - 0.01 | |
2674 | if Boost == false then | |
2675 | imgc2.Rotation = imgc2.Rotation - 20 | |
2676 | bgui.Size = bgui.Size + UDim2.new(0.25, 0, 0.25, 0) | |
2677 | elseif Boost == true then | |
2678 | imgc2.Rotation = imgc2.Rotation - 40 | |
2679 | bgui.Size = bgui.Size + UDim2.new(0.50, 0, 0.50, 0) | |
2680 | end | |
2681 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.7 - 0.1 * COS(SINE / 12)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2682 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2683 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2684 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2685 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-45 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2686 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-45 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 01 / Animation_Speed) | |
2687 | end | |
2688 | if Boost == false then | |
2689 | SmiteAoE(RootPart.Position,80) | |
2690 | elseif Boost == true then | |
2691 | BANISHAOE(RootPart.Position,80*2,true) | |
2692 | end | |
2693 | if Boost == false then | |
2694 | WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(150,150,150), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 1, SoundVolume = 7}) | |
2695 | elseif Boost == true then | |
2696 | WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(150*2,150*2,150*2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 1, SoundVolume = 15}) | |
2697 | end | |
2698 | for i=0, 0.75, 0.1 / Animation_Speed do | |
2699 | Swait() | |
2700 | if Boost == false then | |
2701 | bgui.Size = bgui.Size - UDim2.new(2.2, 0, 2.2, 0) | |
2702 | imgc2.Rotation = imgc2.Rotation + 35 | |
2703 | elseif Boost == true then | |
2704 | bgui.Size = bgui.Size - UDim2.new(4.4, 0, 4.4, 0) | |
2705 | imgc2.Rotation = imgc2.Rotation + 70 | |
2706 | end | |
2707 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.7 - 0.1 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2708 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2709 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(20), RAD(0), RAD(-89)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2710 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(20), RAD(0), RAD(89)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2711 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-45 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2712 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-45 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 01 / Animation_Speed) | |
2713 | end | |
2714 | bgui:Destroy() | |
2715 | ATTACK = false | |
2716 | Rooted = false | |
2717 | wait(1) | |
2718 | Cooldown3 = false | |
2719 | end | |
2720 | ||
2721 | function Ground_Strike() | |
2722 | ATTACK = true | |
2723 | Rooted = false | |
2724 | Gun.Parent = nil | |
2725 | for i=0, 2, 0.1 / Animation_Speed do | |
2726 | Swait() | |
2727 | WACKYEFFECT({Time = 40, EffectType = "Block", Size = VT(4.5,4.5,4.5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-3.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7}) | |
2728 | WACKYEFFECT({Time = 40, EffectType = "Slash", Size = VT(0.15,0.05,0.15), Size2 = VT(0.3,0.1,0.3), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-3.5,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7}) | |
2729 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 0.25 * COS(SINE / 49), 0, 5 - 0.25 * COS(SINE / 26)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2730 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2731 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
2732 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.4) * ANGLES(RAD(20 + 4 * COS(SINE / 53)), RAD(0), RAD(84 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
2733 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2734 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2735 | end | |
2736 | ||
2737 | for i=0, 0.3, 0.1 / Animation_Speed do | |
2738 | Swait() | |
2739 | turnto(Mouse.Hit.p) | |
2740 | WACKYEFFECT({Time = 40, EffectType = "Block", Size = VT(4.5,4.5,4.5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-3.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7}) | |
2741 | WACKYEFFECT({Time = 40, EffectType = "Slash", Size = VT(0.15,0.05,0.15), Size2 = VT(0.3,0.1,0.3), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-3.5,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7}) | |
2742 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 0.25 * COS(SINE / 49), 0, 1.2 - 0.25 * COS(SINE / 26)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2743 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2744 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2745 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.4) * ANGLES(RAD(20 + 4 * COS(SINE / 53)), RAD(0), RAD(87 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2746 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2747 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2748 | end | |
2749 | local Repos = 0 | |
2750 | CFuncs["Sound"].Create("rbxassetid://1368637781", RootPart, 3,1) | |
2751 | CFuncs["Sound"].Create("rbxassetid://763718160", RootPart, 4, 1.1) | |
2752 | CFuncs["Sound"].Create("rbxassetid://782353443", RootPart, 6, 1) | |
2753 | CFuncs["EchoSound"].Create("rbxassetid://824687369", RootPart, 10, 1,0,10,0.25,0.5,1) | |
2754 | CFuncs["EchoSound"].Create("rbxassetid://824687369", Character, 2, 1,0,10,0.25,0.5,1) | |
2755 | WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0.15,0.05,0.15), Size2 = VT(230,0.5,230), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.6,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7}) | |
2756 | for i = 0, 4 do | |
2757 | WACKYEFFECT({Time = 35, EffectType = "Slash", Size = VT(0.15,0.05,0.15), Size2 = VT(1.5,0.15,1.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.6,0) * ANGLES(RAD(0), RAD(MRANDOM(-90,90)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7}) | |
2758 | end | |
2759 | local Bonus = 1 | |
2760 | coroutine.resume(coroutine.create(function() | |
2761 | for i = 0, 28 do | |
2762 | Swait() | |
2763 | Bonus = Bonus + 0.05 | |
2764 | Repos = Repos + 1 | |
2765 | local xa = RootPart.CFrame*CFrame.new(0,-1,-Repos/0.1) | |
2766 | WACKYEFFECT({Time = 20, EffectType = "Sphere", Size = VT(30,0,30), Size2 = VT(12.5*Bonus,40*Bonus,12.5*Bonus)*2, Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.8,-Repos/0.1), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.7,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7}) | |
2767 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(30*Bonus,10*Bonus,30*Bonus)*2, Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.8,-Repos/0.1), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.45,0,0), SoundID = 192410089, SoundPitch = 1, SoundVolume = 7*Bonus}) | |
2768 | if Boost == false then | |
2769 | SmiteAoE(xa.Position,37) | |
2770 | elseif Boost == true then | |
2771 | BANISHAOE(xa.Position,37,true) | |
2772 | end | |
2773 | end | |
2774 | end)) | |
2775 | Gun.Parent = Character | |
2776 | for i=0, 2, 0.1 / Animation_Speed do | |
2777 | Swait() | |
2778 | turnto(Mouse.Hit.p) | |
2779 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 0.25 * COS(SINE / 49), 0, 1.5 - 0.25 * COS(SINE / 26)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2780 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2781 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
2782 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(20 + 4 * COS(SINE / 53)), RAD(-15), RAD(-21 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
2783 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2784 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2785 | end | |
2786 | ATTACK = false | |
2787 | Rooted = false | |
2788 | end | |
2789 | ||
2790 | function Float_Bullet() | |
2791 | ATTACK = true | |
2792 | Rooted = false | |
2793 | for i=0, 0.4, 0.05 / Animation_Speed do | |
2794 | Swait() | |
2795 | turnto(Mouse.Hit.p) | |
2796 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.6 - 0.1 * COS(SINE / 26)) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed) | |
2797 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
2798 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2799 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.4) * ANGLES(RAD(-50 + 4 * COS(SINE / 53)), RAD(0), RAD(30 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2800 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2801 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2802 | end | |
2803 | repeat | |
2804 | for i=0, 0.175, 0.05 / Animation_Speed do | |
2805 | Swait() | |
2806 | turnto(Mouse.Hit.p) | |
2807 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.6 - 0.1 * COS(SINE / 26)) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed) | |
2808 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.5 / Animation_Speed) | |
2809 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2810 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.4) * ANGLES(RAD(-50 + 4 * COS(SINE / 53)), RAD(0), RAD(30 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2811 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2812 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2813 | end | |
2814 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
2815 | SpawnTrail(Hole.Position,POS) | |
2816 | if HIT ~= nil then | |
2817 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
2818 | Banish(HIT.Parent) | |
2819 | end | |
2820 | end | |
2821 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2822 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2823 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2824 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2825 | Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30 | |
2826 | for i=0, 0.1, 0.05 / Animation_Speed do | |
2827 | Swait() | |
2828 | turnto(Mouse.Hit.p) | |
2829 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.6 - 0.1 * COS(SINE / 26)) * ANGLES(RAD(-5), RAD(0), RAD(60)), 0.5 / Animation_Speed) | |
2830 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.25 / Animation_Speed) | |
2831 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2832 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.4) * ANGLES(RAD(-50 + 4 * COS(SINE / 53)), RAD(0), RAD(30 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2833 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2834 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2835 | end | |
2836 | until KEYHOLD == false | |
2837 | ATTACK = false | |
2838 | Rooted = false | |
2839 | end | |
2840 | ||
2841 | ||
2842 | --//=================================\\ | |
2843 | --|| ASSIGN THINGS TO KEYS | |
2844 | --\\=================================// | |
2845 | ||
2846 | function MouseDown(Mouse) | |
2847 | if ATTACK == false then | |
2848 | end | |
2849 | end | |
2850 | ||
2851 | function MouseUp(Mouse) | |
2852 | HOLD = false | |
2853 | end | |
2854 | ||
2855 | function KeyDown(Key) | |
2856 | if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then | |
2857 | KEYHOLD = true | |
2858 | if Key == "z" and ATTACK == false and Milk == false and Chill == false then | |
2859 | Rifle_Bullet()() | |
2860 | elseif Key == "z" and ATTACK == false and Milk == true then | |
2861 | Float_Bullet() | |
2862 | end | |
2863 | ||
2864 | if Key == "t" and ATTACK == false and Milk == false then | |
2865 | Taunt() | |
2866 | end | |
2867 | ||
2868 | if Key == "p" and ATTACK == false and Milk == false then | |
2869 | TakeOnMe() | |
2870 | end | |
2871 | ||
2872 | if Key == "e" and ATTACK == false and Milk == false and Chill == false then | |
2873 | Sky0.SkyboxBk = "rbxassetid://58372692" | |
2874 | Sky0.SkyboxDn = "rbxassetid://58372720" | |
2875 | Sky0.SkyboxFt = "rbxassetid://58372743" | |
2876 | Sky0.SkyboxLf = "rbxassetid://58372775" | |
2877 | Sky0.SkyboxRt = "rbxassetid://58372795" | |
2878 | Sky0.SkyboxUp = "rbxassetid://58372811" | |
2879 | Speed = 16 | |
2880 | WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(20,20,20), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0}) | |
2881 | VIS = 1305251774 | |
2882 | VOLUME = 1.5 | |
2883 | PITCH = 1.04 | |
2884 | sick.TimePosition = 0 | |
2885 | Mode = "Main" | |
2886 | Gun.Parent = nil | |
2887 | Chill = true | |
2888 | elseif Key == "e" and ATTACK == false and Boost == false and Milk == false and Chill == true then | |
2889 | Mode = "idk" | |
2890 | CreamForm2() | |
2891 | end | |
2892 | ||
2893 | if Key == "z" and ATTACK == false and Chill == true and Mode ~= "Main" then | |
2894 | game.Lighting.TimeOfDay = "12:00:00" | |
2895 | Speed = 16 | |
2896 | VIS = 1305251774 | |
2897 | VOLUME = 1.5 | |
2898 | PITCH = 1.04 | |
2899 | sick.TimePosition = 0 | |
2900 | Mode = "Main" | |
2901 | end | |
2902 | ||
2903 | if Key == "x" and ATTACK == false and Chill == true and Mode ~= "Lucid" then | |
2904 | game.Lighting.TimeOfDay = "18:30:00" | |
2905 | Speed = 18 | |
2906 | VIS = 892260150 | |
2907 | VOLUME = 1.5 | |
2908 | PITCH = 1.02 | |
2909 | sick.TimePosition = 3 | |
2910 | Mode = "Lucid" | |
2911 | end | |
2912 | ||
2913 | if Key == "q" and ATTACK == false and Milk == false and Chill == false then | |
2914 | MilkForm() | |
2915 | elseif Key == "q" and ATTACK == false and Boost == false and Milk == true then | |
2916 | CreamForm() | |
2917 | end | |
2918 | ||
2919 | if Key == "c" and Cooldown1 == false and ATTACK == false and Milk == false and Chill == false then | |
2920 | BulletRoller() | |
2921 | elseif Key == "c" and Boost == false and Cooldown4 == false and ATTACK == false and Milk == true then | |
2922 | Booster() | |
2923 | end | |
2924 | ||
2925 | if Key == "v" and Cooldown2 == false and ATTACK == false and Milk == false and Chill == false then | |
2926 | SHATTER() | |
2927 | elseif Key == "v" and Cooldown3 == false and ATTACK == false and Milk == true then | |
2928 | AURORA() | |
2929 | end | |
2930 | ||
2931 | if Key == "b" and ATTACK == false then | |
2932 | chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)]) | |
2933 | TOBANISH = {} | |
2934 | end | |
2935 | ||
2936 | if Key == "x" and ATTACK == false and Milk == false and Chill == false then | |
2937 | Cream_Strike_rlly() | |
2938 | elseif Key == "x" and ATTACK == false and Milk == true then | |
2939 | Ground_Strike() | |
2940 | end | |
2941 | end | |
2942 | end | |
2943 | ||
2944 | function KeyUp(Key) | |
2945 | if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then | |
2946 | KEYHOLD = false | |
2947 | end | |
2948 | end | |
2949 | ||
2950 | Mouse.Button1Down:connect(function(NEWKEY) | |
2951 | MouseDown(NEWKEY) | |
2952 | end) | |
2953 | Mouse.Button1Up:connect(function(NEWKEY) | |
2954 | MouseUp(NEWKEY) | |
2955 | end) | |
2956 | Mouse.KeyDown:connect(function(NEWKEY) | |
2957 | KeyDown(NEWKEY) | |
2958 | end) | |
2959 | Mouse.KeyUp:connect(function(NEWKEY) | |
2960 | KeyUp(NEWKEY) | |
2961 | end) | |
2962 | ||
2963 | --//=================================\\ | |
2964 | --\\=================================// | |
2965 | ||
2966 | ||
2967 | function unanchor() | |
2968 | if UNANCHOR == true then | |
2969 | g = Character:GetChildren() | |
2970 | for i = 1, #g do | |
2971 | if g[i].ClassName == "Part" then | |
2972 | g[i].Anchored = false | |
2973 | end | |
2974 | end | |
2975 | end | |
2976 | end | |
2977 | ||
2978 | ||
2979 | --//=================================\\ | |
2980 | --|| WRAP THE WHOLE SCRIPT UP | |
2981 | --\\=================================// | |
2982 | ||
2983 | Humanoid.Changed:connect(function(Jump) | |
2984 | if Jump == "Jump" and (Disable_Jump == true) then | |
2985 | Humanoid.Jump = false | |
2986 | end | |
2987 | end) | |
2988 | ||
2989 | local CONNECT = nil | |
2990 | ||
2991 | coroutine.resume(coroutine.create(function() | |
2992 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
2993 | while true do | |
2994 | Swait() | |
2995 | if Milk == true and Boost == false then | |
2996 | sphereMK(2,-0.5,"Add",RootPart.CFrame*CFrame.new(math.random(-15,15),math.random(-10,5),math.random(-15,15))*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),0.5,0.5,5,-0.0075,BrickColor.new("Crimson"),0) | |
2997 | end | |
2998 | end | |
2999 | end)) | |
3000 | ||
3001 | coroutine.resume(coroutine.create(function() | |
3002 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
3003 | while true do | |
3004 | Swait() | |
3005 | if Milk == true and Boost == true then | |
3006 | sphereMK(2,-0.5,"Add",RootPart.CFrame*CFrame.new(math.random(-25,25),math.random(-10,5),math.random(-25,25))*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),0.5,0.5,5,-0.0075,BrickColor.new("Crimson"),0) | |
3007 | sphereMK(2,-0.5,"Add",RootPart.CFrame*CFrame.new(math.random(-25,25),math.random(10,15),math.random(-25,25))*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),0.25,0.25,5,0.0075,BrickColor.new("Crimson"),0) | |
3008 | end | |
3009 | end | |
3010 | end)) | |
3011 | ||
3012 | coroutine.resume(coroutine.create(function() | |
3013 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
3014 | while true do | |
3015 | Swait() | |
3016 | if Milk == true then | |
3017 | WACKYEFFECT({EffectType = "Round Slash", Size = VT(0,0.05,0), Size2 = VT(0.25,0.08,0.25), Transparency = 0.2, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.85,0) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = MRANDOM(0,0.5), Material = "Neon", Color = C3(255/255,255/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
3018 | Swait(5) | |
3019 | end | |
3020 | end | |
3021 | end)) | |
3022 | ||
3023 | coroutine.resume(coroutine.create(function() | |
3024 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
3025 | while true do | |
3026 | Swait() | |
3027 | if Milk == true and Boost == true then | |
3028 | WACKYEFFECT({Time = MRANDOM(10,35), EffectType = "Round Slash", Size = VT(0,0.05,0), Size2 = VT(0.425,0.08,0.425), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.85,0) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = MRANDOM(0,0.5), Material = "Neon", Color = C3(MRANDOM(55,255)/255,0/255,0/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
3029 | Swait(6) | |
3030 | end | |
3031 | end | |
3032 | end)) | |
3033 | ||
3034 | while true do | |
3035 | Swait() | |
3036 | ANIMATE.Parent = nil | |
3037 | if Character:FindFirstChildOfClass("Humanoid") == nil then | |
3038 | Humanoid = IT("Humanoid",Character) | |
3039 | end | |
3040 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
3041 | v:Stop(); | |
3042 | end | |
3043 | SINE = SINE + CHANGE | |
3044 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
3045 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
3046 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
3047 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
3048 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
3049 | if Milk == false or Chill == true then | |
3050 | 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) | |
3051 | 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) | |
3052 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
3053 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
3054 | elseif Milk == true then | |
3055 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3056 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3057 | end | |
3058 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
3059 | ||
3060 | if Milk == false or Chill == true then | |
3061 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3062 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3063 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3064 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3065 | elseif Milk == true then | |
3066 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3067 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3068 | end | |
3069 | end | |
3070 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
3071 | ||
3072 | ANIM = "Jump" | |
3073 | if ATTACK == false then | |
3074 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3075 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3076 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(20))* RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
3077 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
3078 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
3079 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
3080 | end | |
3081 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
3082 | ANIM = "Fall" | |
3083 | if ATTACK == false then | |
3084 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.5 ) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3085 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3086 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3087 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
3088 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
3089 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
3090 | end | |
3091 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
3092 | ANIM = "Idle" | |
3093 | if ATTACK == false then | |
3094 | if Milk == false and Chill == false then | |
3095 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3) | |
3096 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed) | |
3097 | if MRANDOM(1,7) == 1 then | |
3098 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed) | |
3099 | end | |
3100 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3101 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(95), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
3102 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * COS(SINE / 24), -1 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
3103 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
3104 | elseif Milk == true then | |
3105 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 0.25 * COS(SINE / 49), 0, 1.65 - 0.25 * COS(SINE / 26)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.7 / Animation_Speed) | |
3106 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.7 / Animation_Speed) | |
3107 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.4) * ANGLES(RAD(-60 - 4.8 * COS(SINE / 49)), RAD(0), RAD(-25 + 2 * COS(SINE / 19))) * RIGHTSHOULDERC0, 0.7 / Animation_Speed) | |
3108 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.4) * ANGLES(RAD(-50 + 4 * COS(SINE / 53)), RAD(0), RAD(30 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 0.7 / Animation_Speed) | |
3109 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 0.7 / Animation_Speed) | |
3110 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 0.7 / Animation_Speed) | |
3111 | elseif Chill == true and Mode == "Main" then | |
3112 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed*3) | |
3113 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
3114 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0 - 2 * COS(SINE / 63)), RAD(0), RAD(12 - 4 * COS(SINE / 53))) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) | |
3115 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0 - 3 * COS(SINE / 56)), RAD(0), RAD(-12 - 6 * COS(SINE / 47))) * LEFTSHOULDERC0, 0.4 / Animation_Speed) | |
3116 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 24), 0) * ANGLES(RAD(0), RAD(78), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
3117 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 24), 0) * ANGLES(RAD(0), RAD(-78), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
3118 | elseif Chill == true and Mode == "Lucid" then | |
3119 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1 + 0.1 * COS(SINE / 20)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed*3) | |
3120 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
3121 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.4 - 0.05 * COS(SINE / 30), 0.25 - 0.025 * COS(SINE / 20)) * ANGLES(RAD(-30), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) | |
3122 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.4 - 0.05 * COS(SINE / 30), 0.25 - 0.025 * COS(SINE / 20)) * ANGLES(RAD(-30), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed) | |
3123 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9 - 0.1 * COS(SINE / 20), 0.025 * COS(SINE / 20)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4.5), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
3124 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.9 - 0.1 * COS(SINE / 20), 0.025 * COS(SINE / 20)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-6.5), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
3125 | end | |
3126 | end | |
3127 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
3128 | ||
3129 | ANIM = "Walk" | |
3130 | if ATTACK == false then | |
3131 | if Milk == false and Chill == false then | |
3132 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3133 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3134 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65, -0.15) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3135 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed) | |
3136 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
3137 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
3138 | elseif Milk == true then | |
3139 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 0.25 * COS(SINE / 49), 0, 1.65 - 0.25 * COS(SINE / 26)) * ANGLES(RAD(40), RAD(0), RAD(0)), 0.7 / Animation_Speed) | |
3140 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.7 / Animation_Speed) | |
3141 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-50 - 6 * COS(SINE / 49)), RAD(0), RAD(5 + 2 * COS(SINE / 19))) * RIGHTSHOULDERC0, 0.7 / Animation_Speed) | |
3142 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-50 + 8.5 * COS(SINE / 53)), RAD(0), RAD(-5 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 0.7 / Animation_Speed) | |
3143 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-20 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 0.7 / Animation_Speed) | |
3144 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-20 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 0.7 / Animation_Speed) | |
3145 | elseif Chill == true and Mode ~= "Lucid" then | |
3146 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3147 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3148 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3149 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed) | |
3150 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.6 / Animation_Speed) | |
3151 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.6 / Animation_Speed) | |
3152 | elseif Mode == "Lucid" then | |
3153 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.175 + 0.025 * COS(SINE / 3.5) + -SIN(SINE / 3.5) / 7) * ANGLES(RAD(4-2.5 * COS(SINE / 3.5)), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(5 * COS(SINE / 7))), 0.15) | |
3154 | Torso.Neck.C0 = Clerp(Torso.Neck.C0, NECKC0 * ANGLES(RAD(-2.5 * SIN(SINE / 20)), RAD(0), RAD(0) - Head.RotVelocity.Y / 15), 0.3) | |
3155 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0.15) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.6 / Animation_Speed) | |
3156 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0.15) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.6 / Animation_Speed) | |
3157 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.4 - 0.05 * COS(SINE / 30), 0.25 - 0.025 * COS(SINE / 20)) * ANGLES(RAD(-30), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) | |
3158 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.4 - 0.05 * COS(SINE / 30), 0.25 - 0.025 * COS(SINE / 20)) * ANGLES(RAD(-30), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed) | |
3159 | end | |
3160 | end | |
3161 | end | |
3162 | unanchor() | |
3163 | Humanoid.MaxHealth = "inf" | |
3164 | Humanoid.Health = "inf" | |
3165 | if Rooted == false then | |
3166 | Disable_Jump = false | |
3167 | Humanoid.WalkSpeed = Speed | |
3168 | elseif Rooted == true then | |
3169 | Disable_Jump = true | |
3170 | Humanoid.WalkSpeed = 0 | |
3171 | end | |
3172 | ||
3173 | if INTRO == false and INSTANT == false then | |
3174 | INTRO = true | |
3175 | coroutine.resume(coroutine.create(function() | |
3176 | sick:Play() | |
3177 | Intro() | |
3178 | end)) | |
3179 | end | |
3180 | if INSTANT == true then | |
3181 | if TRANSFORMED == false then | |
3182 | sick.TimePosition = 119 | |
3183 | sick:Play() | |
3184 | Gun.Parent = Character | |
3185 | end | |
3186 | TRANSFORMED = true | |
3187 | end | |
3188 | sick.Parent = Character | |
3189 | sick.Volume = VOLUME | |
3190 | sick.Pitch = PITCH | |
3191 | sick.SoundId = "rbxassetid://"..VIS | |
3192 | sick.Name = "Dead" | |
3193 | sick.Looped = true | |
3194 | sick:Resume() | |
3195 | end | |
3196 | ||
3197 | --//=================================\\ | |
3198 | --\\=================================// | |
3199 | ||
3200 | ||
3201 | ||
3202 | ||
3203 | ||
3204 | --//====================================================\\-- | |
3205 | --|| END OF SCRIPT | |
3206 | --\\====================================================//-- |