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