SHOW:
|
|
- or go back to the newest paste.
1 | --//====================================================\\-- | |
2 | --|| CREATED BY SHACKLUSTER | |
3 | --\\====================================================//-- | |
4 | ||
5 | ||
6 | ||
7 | wait(0.2) | |
8 | ||
9 | ||
10 | ||
11 | CV="Bright red" | |
12 | p = game.Players.LocalPlayer | |
13 | char = p.Character | |
14 | local txt = Instance.new("BillboardGui", char) | |
15 | txt.Adornee = char .Head | |
16 | txt.Name = "_status" | |
17 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
18 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
19 | local text = Instance.new("TextLabel", txt) | |
20 | text.Size = UDim2.new(10, 0, 7, 0) | |
21 | text.FontSize = "Size24" | |
22 | text.TextScaled = true | |
23 | text.TextTransparency = 0 | |
24 | text.BackgroundTransparency = 1 | |
25 | text.TextTransparency = 0 | |
26 | text.TextStrokeTransparency = 0 | |
27 | text.Font = "Bodoni" | |
28 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
29 | ||
30 | v=Instance.new("Part") | |
31 | v.Name = "ColorBrick" | |
32 | v.Parent=p.Character | |
33 | v.FormFactor="Symmetric" | |
34 | v.Anchored=true | |
35 | v.CanCollide=false | |
36 | v.BottomSurface="Smooth" | |
37 | v.TopSurface="Smooth" | |
38 | v.Size=Vector3.new(10,5,3) | |
39 | v.Transparency=1 | |
40 | v.CFrame=char.Torso.CFrame | |
41 | v.BrickColor=BrickColor.new(CV) | |
42 | v.Transparency=1 | |
43 | - | naeeym2.Size = UDim2.new(5,35,2,35) |
43 | + | text.TextColor3 = Color3.new(170,0,170) |
44 | - | naeeym2.StudsOffset = Vector3.new(0,3,0) |
44 | + | v.Shape="Block" |
45 | text.Text = "Grim" | |
46 | - | naeeym2.Name = "Name" |
46 | + | |
47 | - | naeeym2.PlayerToHideFrom = Player |
47 | + | |
48 | ||
49 | Player = game:GetService("Players").LocalPlayer | |
50 | - | tecks2.TextScaled = true |
50 | + | |
51 | Cam = workspace.CurrentCamera | |
52 | - | tecks2.Text = "Grim" |
52 | + | |
53 | - | tecks2.Font = "Antique" |
53 | + | |
54 | Humanoid = Character.Humanoid | |
55 | - | tecks2.TextTransparency = 1 |
55 | + | |
56 | RootPart = Character["HumanoidRootPart"] | |
57 | - | tecks2.TextColor3 = Color3.new(1,0,0) |
57 | + | |
58 | Head = Character["Head"] | |
59 | - | tecks2.Parent = naeeym2 |
59 | + | |
60 | LeftArm = Character["Left Arm"] | |
61 | RightLeg = Character["Right Leg"] | |
62 | LeftLeg = Character["Left Leg"] | |
63 | RootJoint = RootPart["RootJoint"] | |
64 | Neck = Torso["Neck"] | |
65 | RightShoulder = Torso["Right Shoulder"] | |
66 | LeftShoulder = Torso["Left Shoulder"] | |
67 | RightHip = Torso["Right Hip"] | |
68 | LeftHip = Torso["Left Hip"] | |
69 | local sick = Instance.new("Sound",Character) | |
70 | sick.SoundId = "rbxassetid://563062677" | |
71 | sick.Looped = true | |
72 | sick.Pitch = 1 | |
73 | sick.Volume = 2 | |
74 | Player:ClearCharacterAppearance() | |
75 | local HANDS = {} | |
76 | Character.Archivable = true | |
77 | Humanoid.DisplayDistanceType = "None" | |
78 | ||
79 | ||
80 | ||
81 | IT = Instance.new | |
82 | CF = CFrame.new | |
83 | VT = Vector3.new | |
84 | RAD = math.rad | |
85 | C3 = Color3.new | |
86 | UD2 = UDim2.new | |
87 | BRICKC = BrickColor.new | |
88 | ANGLES = CFrame.Angles | |
89 | EULER = CFrame.fromEulerAnglesXYZ | |
90 | COS = math.cos | |
91 | ACOS = math.acos | |
92 | SIN = math.sin | |
93 | ASIN = math.asin | |
94 | ABS = math.abs | |
95 | MRANDOM = math.random | |
96 | FLOOR = math.floor | |
97 | ||
98 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
99 | local NEWMESH = IT(MESH) | |
100 | if MESH == "SpecialMesh" then | |
101 | NEWMESH.MeshType = MESHTYPE | |
102 | if MESHID ~= "nil" and MESHID ~= "" then | |
103 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
104 | end | |
105 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
106 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
107 | end | |
108 | end | |
109 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
110 | NEWMESH.Scale = SCALE | |
111 | NEWMESH.Parent = PARENT | |
112 | return NEWMESH | |
113 | end | |
114 | ||
115 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
116 | local NEWPART = IT("Part") | |
117 | NEWPART.formFactor = FORMFACTOR | |
118 | NEWPART.Reflectance = REFLECTANCE | |
119 | NEWPART.Transparency = TRANSPARENCY | |
120 | NEWPART.CanCollide = false | |
121 | - | Animation_Speed = 3 |
121 | + | |
122 | - | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) |
122 | + | |
123 | if ANCHOR == false then | |
124 | NEWPART.Anchored = false | |
125 | end | |
126 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
127 | NEWPART.Name = NAME | |
128 | NEWPART.Size = SIZE | |
129 | NEWPART.Position = Torso.Position | |
130 | NEWPART.Material = MATERIAL | |
131 | NEWPART:BreakJoints() | |
132 | NEWPART.Parent = PARENT | |
133 | return NEWPART | |
134 | end | |
135 | ||
136 | --//=================================\\ | |
137 | --|| CUSTOMIZATION | |
138 | --\\=================================// | |
139 | ||
140 | Player_Size = 1 --Size of the player. | |
141 | Animation_Speed = 54 | |
142 | Frame_Speed = 1 / 60 -- (1 / 1) OR (1 / 1) | |
143 | ||
144 | local Speed = 16 | |
145 | local Effects2 = {} | |
146 | ||
147 | --//=================================\\ | |
148 | --|| END OF CUSTOMIZATION | |
149 | --\\=================================// | |
150 | ||
151 | local function weldBetween(a, b) | |
152 | local weldd = Instance.new("ManualWeld") | |
153 | weldd.Part0 = a | |
154 | weldd.Part1 = b | |
155 | weldd.C0 = CFrame.new() | |
156 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
157 | weldd.Parent = a | |
158 | return weldd | |
159 | end | |
160 | ||
161 | --//=================================\\ | |
162 | --|| USEFUL VALUES | |
163 | --\\=================================// | |
164 | ||
165 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
166 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
167 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
168 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
169 | local CHANGEDEFENSE = 0 | |
170 | local CHANGEDAMAGE = 0 | |
171 | local CHANGEMOVEMENT = 0 | |
172 | local ANIM = "Idle" | |
173 | local ATTACK = false | |
174 | local EQUIPPED = false | |
175 | local HOLD = false | |
176 | local COMBO = 1 | |
177 | local Rooted = false | |
178 | local SINE = 0 | |
179 | local KEYHOLD = false | |
180 | local CHANGE = 2 / Animation_Speed | |
181 | local WALKINGANIM = false | |
182 | local WALK = 0 | |
183 | local VALUE1 = false | |
184 | local VALUE2 = false | |
185 | local ROBLOXIDLEANIMATION = IT("Animation") | |
186 | - | local SKILLTEXTCOLOR = BRICKC("Black").Color |
186 | + | |
187 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
188 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
189 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
190 | WEAPONGUI.Name = "Weapon GUI" | |
191 | local Weapon = IT("Model") | |
192 | Weapon.Name = "Weapon" | |
193 | local Effects = IT("Folder", Weapon) | |
194 | Effects.Name = "Effects" | |
195 | local ANIMATOR = Humanoid.Animator | |
196 | local ANIMATE = Character.Animate | |
197 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
198 | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} | |
199 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
200 | local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
201 | local UNANCHOR = true | |
202 | local INTRO = false | |
203 | local TRANSFORMED = false | |
204 | local INSTANT = false | |
205 | ||
206 | local SKILLTEXTCOLOR = BRICKC("Bright red").Color | |
207 | ||
208 | --//=================================\\ | |
209 | --\\=================================// | |
210 | ||
211 | ||
212 | --//=================================\\ | |
213 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
214 | --\\=================================// | |
215 | ||
216 | ArtificialHB = Instance.new("BindableEvent", script) | |
217 | ArtificialHB.Name = "ArtificialHB" | |
218 | ||
219 | script:WaitForChild("ArtificialHB") | |
220 | ||
221 | frame = Frame_Speed | |
222 | tf = 0 | |
223 | allowframeloss = false | |
224 | tossremainder = false | |
225 | lastframe = tick() | |
226 | script.ArtificialHB:Fire() | |
227 | ||
228 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
229 | tf = tf + s | |
230 | if tf >= frame then | |
231 | if allowframeloss then | |
232 | script.ArtificialHB:Fire() | |
233 | lastframe = tick() | |
234 | else | |
235 | for i = 1, math.floor(tf / frame) do | |
236 | script.ArtificialHB:Fire() | |
237 | end | |
238 | lastframe = tick() | |
239 | end | |
240 | if tossremainder then | |
241 | tf = 0 | |
242 | else | |
243 | tf = tf - frame * math.floor(tf / frame) | |
244 | end | |
245 | end | |
246 | end) | |
247 | ||
248 | --//=================================\\ | |
249 | --\\=================================// | |
250 | ||
251 | ||
252 | ||
253 | ||
254 | ||
255 | --//=================================\\ | |
256 | --|| SOME FUNCTIONS | |
257 | --\\=================================// | |
258 | ||
259 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
260 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
261 | end | |
262 | ||
263 | function PositiveAngle(NUMBER) | |
264 | if NUMBER >= 0 then | |
265 | NUMBER = 0 | |
266 | end | |
267 | return NUMBER | |
268 | end | |
269 | ||
270 | function NegativeAngle(NUMBER) | |
271 | if NUMBER <= 0 then | |
272 | NUMBER = 0 | |
273 | end | |
274 | return NUMBER | |
275 | end | |
276 | ||
277 | function Swait(NUMBER) | |
278 | if NUMBER == 0 or NUMBER == nil then | |
279 | ArtificialHB.Event:wait() | |
280 | else | |
281 | for i = 1, NUMBER do | |
282 | ArtificialHB.Event:wait() | |
283 | end | |
284 | end | |
285 | end | |
286 | ||
287 | function QuaternionFromCFrame(cf) | |
288 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
289 | local trace = m00 + m11 + m22 | |
290 | if trace > 0 then | |
291 | local s = math.sqrt(1 + trace) | |
292 | local recip = 0.5 / s | |
293 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
294 | else | |
295 | local i = 0 | |
296 | if m11 > m00 then | |
297 | i = 1 | |
298 | end | |
299 | if m22 > (i == 0 and m00 or m11) then | |
300 | i = 2 | |
301 | end | |
302 | if i == 0 then | |
303 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
304 | local recip = 0.5 / s | |
305 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
306 | elseif i == 1 then | |
307 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
308 | local recip = 0.5 / s | |
309 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
310 | elseif i == 2 then | |
311 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
312 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
313 | end | |
314 | end | |
315 | end | |
316 | ||
317 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
318 | local xs, ys, zs = x + x, y + y, z + z | |
319 | local wx, wy, wz = w * xs, w * ys, w * zs | |
320 | local xx = x * xs | |
321 | local xy = x * ys | |
322 | local xz = x * zs | |
323 | local yy = y * ys | |
324 | local yz = y * zs | |
325 | local zz = z * zs | |
326 | 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)) | |
327 | end | |
328 | ||
329 | function QuaternionSlerp(a, b, t) | |
330 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
331 | local startInterp, finishInterp; | |
332 | if cosTheta >= 0.0001 then | |
333 | if (1 - cosTheta) > 0.0001 then | |
334 | local theta = ACOS(cosTheta) | |
335 | local invSinTheta = 1 / SIN(theta) | |
336 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
337 | finishInterp = SIN(t * theta) * invSinTheta | |
338 | else | |
339 | startInterp = 1 - t | |
340 | finishInterp = t | |
341 | end | |
342 | else | |
343 | if (1 + cosTheta) > 0.0001 then | |
344 | local theta = ACOS(-cosTheta) | |
345 | local invSinTheta = 1 / SIN(theta) | |
346 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
347 | finishInterp = SIN(t * theta) * invSinTheta | |
348 | else | |
349 | startInterp = t - 1 | |
350 | finishInterp = t | |
351 | end | |
352 | end | |
353 | 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 | |
354 | end | |
355 | ||
356 | function Clerp(a, b, t) | |
357 | local qa = {QuaternionFromCFrame(a)} | |
358 | local qb = {QuaternionFromCFrame(b)} | |
359 | local ax, ay, az = a.x, a.y, a.z | |
360 | local bx, by, bz = b.x, b.y, b.z | |
361 | local _t = 1 - t | |
362 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
363 | end | |
364 | ||
365 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
366 | local frame = IT("Frame") | |
367 | frame.BackgroundTransparency = TRANSPARENCY | |
368 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
369 | frame.Position = POSITION | |
370 | frame.Size = SIZE | |
371 | frame.BackgroundColor3 = COLOR | |
372 | frame.BorderColor3 = BORDERCOLOR | |
373 | frame.Name = NAME | |
374 | frame.Parent = PARENT | |
375 | return frame | |
376 | end | |
377 | ||
378 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
379 | local label = IT("TextLabel") | |
380 | label.BackgroundTransparency = 1 | |
381 | label.Size = UD2(1, 0, 1, 0) | |
382 | label.Position = UD2(0, 0, 0, 0) | |
383 | label.TextColor3 = TEXTCOLOR | |
384 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
385 | label.TextTransparency = TRANSPARENCY | |
386 | label.FontSize = TEXTFONTSIZE | |
387 | label.Font = TEXTFONT | |
388 | label.BorderSizePixel = BORDERSIZEPIXEL | |
389 | label.TextScaled = false | |
390 | label.Text = TEXT | |
391 | label.Name = NAME | |
392 | label.Parent = PARENT | |
393 | return label | |
394 | end | |
395 | ||
396 | function NoOutlines(PART) | |
397 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
398 | end | |
399 | ||
400 | ||
401 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
402 | local NEWWELD = IT(TYPE) | |
403 | NEWWELD.Part0 = PART0 | |
404 | NEWWELD.Part1 = PART1 | |
405 | NEWWELD.C0 = C0 | |
406 | NEWWELD.C1 = C1 | |
407 | NEWWELD.Parent = PARENT | |
408 | return NEWWELD | |
409 | end | |
410 | ||
411 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
412 | local NEWSOUND = nil | |
413 | coroutine.resume(coroutine.create(function() | |
414 | NEWSOUND = IT("Sound", PARENT) | |
415 | NEWSOUND.Volume = VOLUME | |
416 | NEWSOUND.Pitch = PITCH | |
417 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
418 | Swait() | |
419 | NEWSOUND:play() | |
420 | game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
421 | end)) | |
422 | return NEWSOUND | |
423 | end | |
424 | ||
425 | function CFrameFromTopBack(at, top, back) | |
426 | local right = top:Cross(back) | |
427 | 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) | |
428 | end | |
429 | ||
430 | function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW) | |
431 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
432 | local mesh = IT("SpecialMesh",wave) | |
433 | mesh.MeshType = "FileMesh" | |
434 | mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
435 | mesh.Scale = SIZE | |
436 | mesh.Offset = VT(0,0,0) | |
437 | wave.CFrame = CFRAME | |
438 | coroutine.resume(coroutine.create(function(PART) | |
439 | for i = 1, WAIT do | |
440 | Swait() | |
441 | mesh.Scale = mesh.Scale + GROW | |
442 | if DOESROT == true then | |
443 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
444 | end | |
445 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
446 | if wave.Transparency > 0.99 then | |
447 | wave:remove() | |
448 | end | |
449 | end | |
450 | end)) | |
451 | end | |
452 | ||
453 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
454 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
455 | local mesh = IT("SpecialMesh",wave) | |
456 | mesh.MeshType = "Sphere" | |
457 | mesh.Scale = SIZE | |
458 | mesh.Offset = VT(0,0,0) | |
459 | wave.CFrame = CFRAME | |
460 | coroutine.resume(coroutine.create(function(PART) | |
461 | for i = 1, WAIT do | |
462 | Swait() | |
463 | mesh.Scale = mesh.Scale + GROW | |
464 | wave.Transparency = wave.Transparency + (1/WAIT) | |
465 | if wave.Transparency > 0.99 then | |
466 | wave:remove() | |
467 | end | |
468 | end | |
469 | end)) | |
470 | end | |
471 | ||
472 | function Slice(SIZE,WAIT,CFRAME,COLOR,GROW) | |
473 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
474 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0)) | |
475 | wave.CFrame = CFRAME | |
476 | coroutine.resume(coroutine.create(function(PART) | |
477 | for i = 1, WAIT do | |
478 | Swait() | |
479 | mesh.Scale = mesh.Scale * GROW | |
480 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
481 | if wave.Transparency > 0.99 then | |
482 | wave:remove() | |
483 | end | |
484 | end | |
485 | end)) | |
486 | end | |
487 | ||
488 | function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW) | |
489 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true) | |
490 | local mesh = IT("BlockMesh",wave) | |
491 | wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))) | |
492 | coroutine.resume(coroutine.create(function(PART) | |
493 | for i = 1, WAIT do | |
494 | Swait() | |
495 | mesh.Scale = mesh.Scale + GROW | |
496 | wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))) | |
497 | wave.Transparency = wave.Transparency + (1/WAIT) | |
498 | if wave.Transparency > 0.99 then | |
499 | wave:remove() | |
500 | end | |
501 | end | |
502 | end)) | |
503 | end | |
504 | ||
505 | function MakeForm(PART,TYPE) | |
506 | if TYPE == "Cyl" then | |
507 | local MSH = IT("CylinderMesh",PART) | |
508 | elseif TYPE == "Ball" then | |
509 | local MSH = IT("SpecialMesh",PART) | |
510 | MSH.MeshType = "Sphere" | |
511 | elseif TYPE == "Wedge" then | |
512 | local MSH = IT("SpecialMesh",PART) | |
513 | MSH.MeshType = "Wedge" | |
514 | end | |
515 | end | |
516 | ||
517 | function CheckTableForString(Table, String) | |
518 | for i, v in pairs(Table) do | |
519 | if string.find(string.lower(String), string.lower(v)) then | |
520 | return true | |
521 | end | |
522 | end | |
523 | return false | |
524 | end | |
525 | ||
526 | function CheckIntangible(Hit) | |
527 | local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} | |
528 | if Hit and Hit.Parent then | |
529 | if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then | |
530 | return true | |
531 | end | |
532 | end | |
533 | return false | |
534 | end | |
535 | ||
536 | Debris = game:GetService("Debris") | |
537 | ||
538 | function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
539 | local Direction = CFrame.new(StartPos, Vec).lookVector | |
540 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
541 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) | |
542 | if RayHit and CheckIntangible(RayHit) then | |
543 | if DelayIfHit then | |
544 | wait() | |
545 | end | |
546 | RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
547 | end | |
548 | return RayHit, RayPos, RayNormal | |
549 | end | |
550 | ||
551 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
552 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) | |
553 | end | |
554 | ||
555 | function turnto(position) | |
556 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
557 | end | |
558 | ||
559 | --//=================================\\ | |
560 | --|| SPEECH | |
561 | --\\=================================// | |
562 | ||
563 | function chatfunc(text,waitt) | |
564 | local chat = coroutine.wrap(function() | |
565 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
566 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
567 | end | |
568 | local naeeym2 = Instance.new("BillboardGui",Character) | |
569 | naeeym2.Size = UDim2.new(0,100,0,40) | |
570 | naeeym2.StudsOffset = Vector3.new(0,5,0) | |
571 | naeeym2.Adornee = Character.Head | |
572 | naeeym2.Name = "TalkingBillBoard" | |
573 | naeeym2.AlwaysOnTop = true | |
574 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
575 | tecks2.BackgroundTransparency = 1 | |
576 | tecks2.BorderSizePixel = 0 | |
577 | tecks2.Text = "" | |
578 | tecks2.Font = "SciFi" | |
579 | tecks2.TextSize = 30 | |
580 | tecks2.TextStrokeTransparency = 1 | |
581 | tecks2.TextColor3 = SKILLTEXTCOLOR | |
582 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
583 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
584 | for i = 1,string.len(text),1 do | |
585 | tecks2.Text = string.sub(text,1,i) | |
586 | Swait() | |
587 | end | |
588 | wait(waitt) | |
589 | coroutine.resume(coroutine.create(function() | |
590 | for i = 1, 10 do | |
591 | tecks2.TextTransparency = tecks2.TextTransparency + 0.1 | |
592 | Swait() | |
593 | end | |
594 | - | PE.Color = ColorSequence.new(BRICKC("Toothpaste").Color) |
594 | + | |
595 | end)) | |
596 | end) | |
597 | chat() | |
598 | end | |
599 | ||
600 | --//=================================\\ | |
601 | --|| WEAPON CREATION | |
602 | --\\=================================// | |
603 | ||
604 | local EyeSizes={ | |
605 | NumberSequenceKeypoint.new(0,1,0), | |
606 | NumberSequenceKeypoint.new(1,0,0) | |
607 | } | |
608 | local EyeTrans={ | |
609 | NumberSequenceKeypoint.new(0,0.8,0), | |
610 | NumberSequenceKeypoint.new(1,1,0) | |
611 | } | |
612 | local PE=Instance.new("ParticleEmitter",art) | |
613 | PE.LightEmission=.8 | |
614 | PE.Color = ColorSequence.new(BRICKC("Magenta").Color) | |
615 | PE.Size=NumberSequence.new(EyeSizes) | |
616 | PE.Transparency=NumberSequence.new(EyeTrans) | |
617 | PE.Lifetime=NumberRange.new(0.35,1.5) | |
618 | - | local Palm = CreatePart(3, HANDFOLDER, "SmoothPlastic", 0, 1, "Really black", "HandPart", VT(1,1,1),false) |
618 | + | |
619 | PE.Rate=999 | |
620 | PE.VelocitySpread = 10000 | |
621 | PE.Acceleration = Vector3.new(0,0,0) | |
622 | PE.Drag = 5 | |
623 | PE.Speed = NumberRange.new(0,0,0) | |
624 | PE.Texture="http://www.roblox.com/asset/?id=1351966707" | |
625 | PE.ZOffset = -1.5 | |
626 | PE.Name = "PE" | |
627 | PE.Enabled = false | |
628 | ||
629 | function particles(art) | |
630 | local PARTICLES = PE:Clone() | |
631 | PARTICLES.Parent = art | |
632 | - | local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Really black", "Hood", VT(1,1,1),false) |
632 | + | |
633 | ||
634 | local HANDFOLDER = IT("Folder",Weapon) | |
635 | HANDFOLDER.Name = "Hands" | |
636 | - | local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Really black", "Hood", VT(1,1,1),false) |
636 | + | |
637 | for i = 1, 3 do | |
638 | local Palm = CreatePart(3, HANDFOLDER, "SmoothPlastic", 0, 1, "Bright violet", "HandPart", VT(1,1,1),false) | |
639 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Palm, Torso, Palm, CF(-1,3,2) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 0, 0)) | |
640 | - | local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Really black", "Hood", VT(1,1,1),false) |
640 | + | |
641 | local Palm2 = CreatePart(3, HANDFOLDER, "SmoothPlastic", 0, 1, "Really black", "HandPart", VT(1,1,1)*1.2,false) | |
642 | local HandleWeld2 = CreateWeldOrSnapOrMotor("Weld", Palm2, Palm, Palm2, CF(0.2,1.25,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
643 | MakeForm(Palm2,"Ball") | |
644 | - | local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Really black", "Hood", VT(1,1,1),false) |
644 | + | |
645 | ||
646 | local EN = IT("BoolValue",Palm) | |
647 | EN.Name = "IsEnabled" | |
648 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.3,0.02,0.1)*1.3,false) |
648 | + | |
649 | table.insert(HANDS,{Palm,HandleWeld}) | |
650 | end | |
651 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.3,0.02,0.1)*1.3,false) |
651 | + | |
652 | local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Bright red", "Hood", VT(1,1,1),false) | |
653 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Torso, HandlePart, CF(0,0,0.55) * ANGLES(RAD(-190), RAD(180), RAD(0)), CF(0, 0, 0)) | |
654 | CreateMesh("SpecialMesh", HandlePart, "FileMesh", "63717022", "", VT(1.5,2.7,1), VT(0,0.8,0)) | |
655 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0,0.2,0.2), false) |
655 | + | |
656 | local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Bright red", "Hood", VT(1,1,1),false) | |
657 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
658 | CreateMesh("SpecialMesh", HandlePart, "FileMesh", "85855767", "", VT(1,1,1), VT(0,-0.25,0)) | |
659 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.5,0,0.2)*1.3,false) |
659 | + | |
660 | local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Bright red", "Hood", VT(1,1,1),false) | |
661 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,-0.8,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
662 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.2,0.2)*1.4,false) |
662 | + | |
663 | ||
664 | local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Bright red", "Hood", VT(1,1,1),false) | |
665 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.2,0.2)*1.4,false) |
665 | + | |
666 | CreateMesh("SpecialMesh", HandlePart, "FileMesh", "57780106", "", VT(1,1,1), VT(0,0,0)) | |
667 | ||
668 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.2,0.2)*1.4,false) |
668 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.3,0.02,0.1)*1.3,false) |
669 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0.25, 0.15, -0.5) * ANGLES(RAD(-15), RAD(-25), RAD(0)), CF(0, 0, 0)) | |
670 | MakeForm(HandlePart,"Ball") | |
671 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.19,0.2)*1.4,false) |
671 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.3,0.02,0.1)*1.3,false) |
672 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(-0.25, 0.15, -0.5) * ANGLES(RAD(-15), RAD(25), RAD(0)), CF(0, 0, 0)) | |
673 | MakeForm(HandlePart,"Ball") | |
674 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.19,0.2)*1.4,false) |
674 | + | |
675 | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0,0.2,0.2), false) | |
676 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0, 0, -0.55) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
677 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.175,0.2)*1.4,false) |
677 | + | |
678 | ||
679 | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.5,0,0.2)*1.3,false) | |
680 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.175,0.2)*1.4,false) |
680 | + | |
681 | MakeForm(HandlePart,"Ball") | |
682 | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.2,0.2)*1.4,false) | |
683 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.15,0.2)*1.4,false) |
683 | + | |
684 | MakeForm(HandlePart,"Ball") | |
685 | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.2,0.2)*1.4,false) | |
686 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.15,0.2)*1.4,false) |
686 | + | |
687 | MakeForm(HandlePart,"Ball") | |
688 | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.2,0.2)*1.4,false) | |
689 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(-0.05, -0.2, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
690 | MakeForm(HandlePart,"Ball") | |
691 | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.19,0.2)*1.4,false) | |
692 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0.1, -0.2, -0.49) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
693 | MakeForm(HandlePart,"Ball") | |
694 | - | local HandlePart = CreatePart(3, B, "Neon", 0, 1, "Really black", "HandPart", VT(0.3,0.3,0.3),false) |
694 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.19,0.2)*1.4,false) |
695 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(-0.1, -0.2, -0.49) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
696 | MakeForm(HandlePart,"Ball") | |
697 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.2,3.5,0.2),false) |
697 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.175,0.2)*1.4,false) |
698 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0.15, -0.2, -0.48) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
699 | MakeForm(HandlePart,"Ball") | |
700 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.3,1,0.3),false) |
700 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.175,0.2)*1.4,false) |
701 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(-0.15, -0.2, -0.48) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
702 | MakeForm(HandlePart,"Ball") | |
703 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.25,1,0.25),false) |
703 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.15,0.2)*1.4,false) |
704 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0.2, -0.2, -0.465) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
705 | MakeForm(HandlePart,"Ball") | |
706 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.15,2,0.15),false) |
706 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.15,0.2)*1.4,false) |
707 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(-0.2, -0.2, -0.465) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
708 | MakeForm(HandlePart,"Ball") | |
709 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.15,0.55,0.15),false) |
709 | + | |
710 | local SCYTHE = IT("Model",Character) | |
711 | SCYTHE.Name = "SCYTHE" | |
712 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.15,0.5,0.15),false) |
712 | + | |
713 | local B = SCYTHE | |
714 | local HandlePart = CreatePart(3, B, "Neon", 0, 1, "Bright Violet", "HandPart", VT(0.3,0.3,0.3),false) | |
715 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.15,0.45,0.15),false) |
715 | + | |
716 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Character, Torso, HandlePart, CF(0,1,1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
717 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.2,3.5,0.2),false) | |
718 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.3,2,0.3),false) |
718 | + | |
719 | MakeForm(part,"Ball") | |
720 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.3,1,0.3),false) | |
721 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.3,0.8,0.3),false) |
721 | + | |
722 | MakeForm(part,"Ball") | |
723 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.25,1,0.25),false) | |
724 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.3,0.3,0.3),false) |
724 | + | |
725 | MakeForm(part,"Ball") | |
726 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.15,2,0.15),false) | |
727 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.15,0.8,0.15),false) |
727 | + | |
728 | MakeForm(part,"Ball") | |
729 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.15,0.55,0.15),false) | |
730 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.2,0.8,0.2),false) |
730 | + | |
731 | MakeForm(part,"Ball") | |
732 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.15,0.5,0.15),false) | |
733 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.4,1.3,0.8),false) |
733 | + | |
734 | MakeForm(part,"Ball") | |
735 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.15,0.45,0.15),false) | |
736 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.3,1.3,0.6),false) |
736 | + | |
737 | MakeForm(part,"Ball") | |
738 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.3,2,0.3),false) | |
739 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really black", "ScythePart", VT(0.2,2,0.4),false) |
739 | + | |
740 | MakeForm(part,"Ball") | |
741 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.3,0.8,0.3),false) | |
742 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really black", "ScythePart", VT(0.1,2,0.4),false) |
742 | + | |
743 | MakeForm(part,"Ball") | |
744 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.3,0.3,0.3),false) | |
745 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really black", "ScythePart", VT(0.05,2,0.2),false) |
745 | + | |
746 | MakeForm(part,"Ball") | |
747 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.15,0.8,0.15),false) | |
748 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.3,1.3,0.6),false) |
748 | + | |
749 | MakeForm(part,"Ball") | |
750 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.2,0.8,0.2),false) | |
751 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really black", "ScythePart", VT(0.2,1,0.4),false) |
751 | + | |
752 | MakeForm(part,"Ball") | |
753 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.4,1.3,0.8),false) | |
754 | - | local part = CreatePart(3, B, "Granite", 0, 1, "Really black", "ScythePart", VT(0.15,1,0.2),false) |
754 | + | |
755 | MakeForm(part,"Ball") | |
756 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.3,1.3,0.6),false) | |
757 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.1,0.5,0.1),false) |
757 | + | |
758 | MakeForm(part,"Ball") | |
759 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright violet", "ScythePart", VT(0.2,2,0.4),false) | |
760 | - | local HitBox = CreatePart(3, B, "Neon", 0, 1, "Toothpaste", "Hitbox", VT(5,1.3,0.6),false) |
760 | + | |
761 | MakeForm(part,"Ball") | |
762 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright Violet", "ScythePart", VT(0.1,2,0.4),false) | |
763 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.6,-4.1) * ANGLES(RAD(-25), RAD(0), RAD(0)), CF(0, 0, 0)) | |
764 | MakeForm(part,"Ball") | |
765 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright violet", "ScythePart", VT(0.05,2,0.2),false) | |
766 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-1.6,-3.475) * ANGLES(RAD(-45), RAD(0), RAD(0)), CF(0, 0, 0)) | |
767 | MakeForm(part,"Ball") | |
768 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.3,1.3,0.6),false) | |
769 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.5,-4) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
770 | MakeForm(part,"Ball") | |
771 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.2,1,0.4),false) | |
772 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.1,-4) * ANGLES(RAD(-35), RAD(0), RAD(0)), CF(0, 0, 0)) | |
773 | MakeForm(part,"Ball") | |
774 | local part = CreatePart(3, B, "Granite", 0, 1, "Bright red", "ScythePart", VT(0.15,1,0.2),false) | |
775 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.45,-3.8) * ANGLES(RAD(-55), RAD(0), RAD(0)), CF(0, 0, 0)) | |
776 | MakeForm(part,"Ball") | |
777 | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright red", "ScythePart", VT(0.1,0.5,0.1),false) | |
778 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.1,-3.3) * ANGLES(RAD(-25), RAD(0), RAD(0)), CF(0, 0, 0)) | |
779 | MakeForm(part,"Ball") | |
780 | local HitBox = CreatePart(3, B, "Neon", 0, 1, "Bright red", "Hitbox", VT(5,1.3,0.6),false) | |
781 | local weld = CreateWeldOrSnapOrMotor("Weld", HitBox, HandlePart, HitBox, CF(0,0,-3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
782 | ||
783 | for _, c in pairs(SCYTHE:GetChildren()) do | |
784 | if c.ClassName == "Part" then | |
785 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
786 | end | |
787 | end | |
788 | ||
789 | Weapon.Parent = Character | |
790 | ||
791 | Humanoid.Died:connect(function() | |
792 | KillChildren(Character) | |
793 | HANDS = {} | |
794 | HANDFOLDER:ClearAllChildren() | |
795 | SCYTHE:ClearAllChildren() | |
796 | for i = 1, 100 do | |
797 | Swait() | |
798 | sick.Volume = sick.Volume - 0.02 | |
799 | end | |
800 | end) | |
801 | ||
802 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
803 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
804 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
805 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
806 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
807 | ||
808 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Warp", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 1") | |
809 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Deadly Dash", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 2") | |
810 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Fatal Grab", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 3") | |
811 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Fatal Wave", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 4") | |
812 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Reap", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 5") | |
813 | ||
814 | --//=================================\\ | |
815 | --|| DAMAGING | |
816 | --\\=================================// | |
817 | ||
818 | function KillChildren(v) | |
819 | v:BreakJoints() | |
820 | for _, c in pairs(v:GetChildren()) do | |
821 | if c.ClassName == "Part" or c.ClassName == "MesPart" then | |
822 | if c.Transparency < 1 then | |
823 | if c:FindFirstChildOfClass("Decal") then | |
824 | c:FindFirstChildOfClass("Decal"):remove() | |
825 | end | |
826 | particles(c) | |
827 | c.PE.Enabled = true | |
828 | c.Parent = Effects | |
829 | c.CanCollide = false | |
830 | c.Material = "Neon" | |
831 | c.Color = C3(1,0,0) | |
832 | c.Transparency = 0.5 | |
833 | local grav = Instance.new("BodyPosition",c) | |
834 | grav.P = 20000 | |
835 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
836 | grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)) | |
837 | grav.Name = "GravityForce" | |
838 | coroutine.resume(coroutine.create(function() | |
839 | for i = 1, 50 do | |
840 | Swait() | |
841 | c.Transparency = c.Transparency + 0.01 | |
842 | end | |
843 | c.PE.Enabled = false | |
844 | Debris:AddItem(c,2) | |
845 | end)) | |
846 | end | |
847 | end | |
848 | end | |
849 | end | |
850 | ||
851 | function killnearest(position,range) | |
852 | for i,v in ipairs(workspace:GetChildren()) do | |
853 | local body = v:GetChildren() | |
854 | for part = 1, #body do | |
855 | - | local ORB = CreatePart(3, Head, "Cobblestone", 0, 0, "Really black", "Seal", VT(1,1,1)) |
855 | + | |
856 | if(body[part].Position - position).Magnitude < range then | |
857 | - | local ORB2 = CreatePart(3, Head, "Neon", 0, 0.9, "Toothpaste", "Seal", VT(1,1,1)*1.1) |
857 | + | |
858 | KillChildren(v) | |
859 | end | |
860 | end | |
861 | end | |
862 | end | |
863 | end | |
864 | end | |
865 | ||
866 | --//=================================\\ | |
867 | --|| ATTACK FUNCTIONS AND STUFF | |
868 | --\\=================================// | |
869 | ||
870 | function Intro() | |
871 | ATTACK = true | |
872 | Rooted = true | |
873 | local HITFLOOR, HITPOS = Raycast(VT(0,250,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 500, Character) | |
874 | RootPart.CFrame = CF(HITPOS+VT(0,3,0)) | |
875 | local ORB = CreatePart(3, Head, "Cobblestone", 0, 0, "Bright red", "Seal", VT(1,1,1)) | |
876 | MakeForm(ORB,"Ball") | |
877 | local ORB2 = CreatePart(3, Head, "Neon", 0, 0.9, "Bright red", "Seal", VT(1,1,1)*1.1) | |
878 | MakeForm(ORB2,"Ball") | |
879 | ORB.CFrame = CF(HITPOS+VT(0,3,0)) | |
880 | ORB2.CFrame = CF(HITPOS+VT(0,3,0)) | |
881 | for _, c in pairs(Character:GetChildren()) do | |
882 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
883 | c.Transparency = 1 | |
884 | end | |
885 | end | |
886 | for i=0, 1, 0.1 / Animation_Speed do | |
887 | Swait() | |
888 | ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0)) | |
889 | ORB2.CFrame = ORB.CFrame | |
890 | for _, c in pairs(Character:GetChildren()) do | |
891 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
892 | c.Transparency = 1 | |
893 | elseif c.ClassName == "Accessory" then | |
894 | c:remove() | |
895 | end | |
896 | end | |
897 | for _, c in pairs(SCYTHE:GetChildren()) do | |
898 | if c.ClassName == "Part" then | |
899 | c.Transparency = 1 | |
900 | c.Color = C3(0,0,0) | |
901 | end | |
902 | end | |
903 | Player:ClearCharacterAppearance() | |
904 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
905 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
906 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.75, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
907 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.75, 0.25, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
908 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
909 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
910 | end | |
911 | repeat | |
912 | Swait() | |
913 | ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0)) | |
914 | ORB2.CFrame = ORB.CFrame | |
915 | until sick.TimePosition > 12 | |
916 | CreateSound("134978657", Effects, 5, 1) | |
917 | repeat | |
918 | Swait() | |
919 | if MRANDOM(1,5) == 1 then | |
920 | local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Toothpaste", "Magic", VT(1,1,1)*MRANDOM(2,35)/10) | |
921 | SPHERE.CFrame = CF(HITPOS) * CF(MRANDOM(-15,15),-5,MRANDOM(-15,15)) | |
922 | MakeForm(SPHERE,"Ball") | |
923 | coroutine.resume(coroutine.create(function() | |
924 | for i = 1, 100 do | |
925 | Swait() | |
926 | SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0) | |
927 | SPHERE.Transparency = (i/100) | |
928 | end | |
929 | SPHERE:remove() | |
930 | end)) | |
931 | end | |
932 | ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0)) | |
933 | ORB2.CFrame = ORB.CFrame | |
934 | CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(5,5,0)) | |
935 | until sick.TimePosition > 24 | |
936 | CreateSound("135017578", Effects, 5, 1) | |
937 | repeat | |
938 | Swait() | |
939 | if MRANDOM(1,5) == 1 then | |
940 | local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Toothpaste", "Magic", VT(1,1,1)*MRANDOM(2,35)/10) | |
941 | SPHERE.CFrame = CF(HITPOS) * CF(MRANDOM(-15,15),-5,MRANDOM(-15,15)) | |
942 | MakeForm(SPHERE,"Ball") | |
943 | coroutine.resume(coroutine.create(function() | |
944 | for i = 1, 100 do | |
945 | Swait() | |
946 | SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0) | |
947 | SPHERE.Transparency = (i/100) | |
948 | end | |
949 | SPHERE:remove() | |
950 | end)) | |
951 | end | |
952 | ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0)) | |
953 | ORB2.CFrame = ORB.CFrame | |
954 | if MRANDOM(1,5) == 1 then | |
955 | CreateRing(VT(0,0,0),false,0,MRANDOM(150,250),CF(ORB.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(0.2,0.2,0)) | |
956 | end | |
957 | if MRANDOM(1,5) == 1 then | |
958 | CreateRing(VT(0,0,0),false,0,MRANDOM(15,25),CF(ORB.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(3,3,0)) | |
959 | end | |
960 | CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(5,5,0)) | |
961 | until sick.TimePosition > 34.5 | |
962 | repeat | |
963 | Swait() | |
964 | ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0)) | |
965 | ORB2.CFrame = ORB.CFrame | |
966 | MagicSphere(VT(0,0,0),15,ORB.CFrame,"Maroon",VT(1,15,1)) | |
967 | if MRANDOM(1,5) == 1 then | |
968 | CreateRing(VT(0,0,0),false,0,MRANDOM(150,250),CF(ORB.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(0.2,0.2,0)) | |
969 | end | |
970 | CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(5,5,0)) | |
971 | until sick.TimePosition > 36 | |
972 | MagicSphere(VT(0,0,0),15,CF(HITPOS),"Maroon",VT(5,5,5)) | |
973 | MagicSphere(VT(0,0,0),15,CF(HITPOS),"Maroon",VT(2.5,2.5,2.5)) | |
974 | MagicSphere(VT(0,0,0),15,CF(HITPOS),"Maroon",VT(0.5,0.5,0.5)) | |
975 | CreateSound("2691586", Effects, 5, 1) | |
976 | CreateSound("181384451", Effects, 10, 0.6) | |
977 | ORB:remove() | |
978 | ORB2:remove() | |
979 | tecks2.TextTransparency = 0 | |
980 | repeat | |
981 | Swait() | |
982 | for _, c in pairs(Character:GetChildren()) do | |
983 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
984 | c.Transparency = 0 | |
985 | c.Color = C3(0,0,0) | |
986 | elseif c.ClassName == "Accessory" then | |
987 | c:remove() | |
988 | end | |
989 | end | |
990 | for _, c in pairs(Weapon:GetChildren()) do | |
991 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
992 | c.Transparency = 0 | |
993 | end | |
994 | end | |
995 | for _, c in pairs(HANDFOLDER:GetChildren()) do | |
996 | if c.ClassName == "Part" then | |
997 | c.Transparency = 0 | |
998 | c.Color = C3(0,0,0) | |
999 | end | |
1000 | end | |
1001 | CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(5,5,0)) | |
1002 | --CreateRing(VT(0,0,0),false,0,150,CF(HITPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(0.2,0.2,0)) | |
1003 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1004 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1005 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1006 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1007 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1008 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1009 | until sick.TimePosition > 42 | |
1010 | HandleWeld.Part0 = RightArm | |
1011 | for i=0, 1, 0.1 / Animation_Speed do | |
1012 | Swait() | |
1013 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1) | |
1014 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1015 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1016 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1017 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1018 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1019 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1020 | end | |
1021 | for i = 1, 100 do | |
1022 | Swait() | |
1023 | CreateRing(VT(0,0,0),false,0,150,HitBox.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(0.2,0.2,0)) | |
1024 | for _, c in pairs(SCYTHE:GetChildren()) do | |
1025 | if c.ClassName == "Part" then | |
1026 | if c.Material ~= Enum.Material.Neon then | |
1027 | c.Transparency = c.Transparency - 0.01 | |
1028 | end | |
1029 | c.Color = C3(0,0,0) | |
1030 | end | |
1031 | end | |
1032 | end | |
1033 | HandleWeld.Part0 = Torso | |
1034 | TRANSFORMED = true | |
1035 | ATTACK = false | |
1036 | Rooted = false | |
1037 | end | |
1038 | ||
1039 | function AttackTemplate() | |
1040 | ATTACK = true | |
1041 | Rooted = false | |
1042 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
1043 | HandleWeld.Part0 = RightArm | |
1044 | HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
1045 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
1046 | for i=0, 1, 0.1 / Animation_Speed do | |
1047 | Swait() | |
1048 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1049 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1050 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1051 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1052 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1053 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1054 | end | |
1055 | HandleWeld.Part0 = Torso | |
1056 | ATTACK = false | |
1057 | Rooted = false | |
1058 | end | |
1059 | ||
1060 | function Hit() | |
1061 | local HAND = HANDS[MRANDOM(1,#HANDS)] | |
1062 | if HAND[1].IsEnabled.Value == true then | |
1063 | HAND[1].IsEnabled.Value = false | |
1064 | local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HAND[1], 2, 0.6) | |
1065 | SOUND.SoundId = "rbxasset://sounds/swordlunge.wav" | |
1066 | for i = 1, 4 do | |
1067 | Swait() | |
1068 | killnearest(HAND[1].Position,5) | |
1069 | HAND[2].C0 = Clerp(HAND[2].C0, CF(0,0,-6) * ANGLES(RAD(90), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1070 | end | |
1071 | HAND[1].IsEnabled.Value = true | |
1072 | end | |
1073 | end | |
1074 | ||
1075 | function Warp() | |
1076 | ATTACK = true | |
1077 | Rooted = true | |
1078 | UNANCHOR = false | |
1079 | RootPart.Anchored = true | |
1080 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
1081 | HandleWeld.Part0 = RightArm | |
1082 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1) | |
1083 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
1084 | for i=0, 0.5, 0.1 / Animation_Speed do | |
1085 | Swait() | |
1086 | CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(1,1,0)) | |
1087 | MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5)) | |
1088 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2) | |
1089 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1090 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1091 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1092 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1093 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1094 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1095 | end | |
1096 | for i = 1, 10 do | |
1097 | Swait() | |
1098 | CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(1,1,0)) | |
1099 | MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5)) | |
1100 | for _, c in pairs(HANDFOLDER:GetChildren()) do | |
1101 | if c.ClassName == "Part" then | |
1102 | c.Transparency = c.Transparency + 0.1 | |
1103 | end | |
1104 | end | |
1105 | end | |
1106 | for i=0, 1, 0.1 / Animation_Speed do | |
1107 | Swait() | |
1108 | CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(1,1,0)) | |
1109 | MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5)) | |
1110 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2) | |
1111 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -25) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1112 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1113 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1114 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1115 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1116 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1117 | end | |
1118 | local ORIGIN = RootPart.Position | |
1119 | RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),ORIGIN) | |
1120 | for i=0, 1, 0.1 / Animation_Speed do | |
1121 | Swait() | |
1122 | CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(1,1,0)) | |
1123 | MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5)) | |
1124 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2) | |
1125 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1126 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1127 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1128 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1129 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1130 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1131 | end | |
1132 | UNANCHOR = true | |
1133 | RootPart.Anchored = false | |
1134 | for i = 1, 10 do | |
1135 | Swait() | |
1136 | CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(1,1,0)) | |
1137 | MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5)) | |
1138 | for _, c in pairs(HANDFOLDER:GetChildren()) do | |
1139 | if c.ClassName == "Part" then | |
1140 | c.Transparency = c.Transparency - 0.1 | |
1141 | end | |
1142 | end | |
1143 | end | |
1144 | HandleWeld.Part0 = Torso | |
1145 | ATTACK = false | |
1146 | Rooted = false | |
1147 | end | |
1148 | ||
1149 | function DeathlyDash() | |
1150 | ATTACK = true | |
1151 | Rooted = false | |
1152 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
1153 | HandleWeld.Part0 = RightArm | |
1154 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1) | |
1155 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
1156 | for i=0, 1, 0.1 / Animation_Speed do | |
1157 | Swait() | |
1158 | turnto(Mouse.Hit.p) | |
1159 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 0.2) | |
1160 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed) | |
1161 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5 / Animation_Speed) | |
1162 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1163 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1164 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1165 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1166 | end | |
1167 | local TRAILS = {} | |
1168 | local FOUND = false | |
1169 | for i = 1, 75 do | |
1170 | Swait() | |
1171 | local TRAIL = Character:Clone() | |
1172 | for _, c in pairs(TRAIL:GetChildren()) do | |
1173 | if c.ClassName == "Part" then | |
1174 | c.Anchored = true | |
1175 | c.Color = C3(1,0,0) | |
1176 | c.Transparency = 0.5 | |
1177 | c.Material = "Neon" | |
1178 | c.CanCollide = false | |
1179 | else | |
1180 | c:remove() | |
1181 | end | |
1182 | end | |
1183 | TRAIL.Parent = Effects | |
1184 | table.insert(TRAILS,TRAIL) | |
1185 | Debris:AddItem(TRAIL,0.08) | |
1186 | for _, c in pairs(workspace:GetChildren()) do | |
1187 | if c.ClassName == "Model" then | |
1188 | if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then | |
1189 | local HUMANOID = c:FindFirstChildOfClass("Humanoid") | |
1190 | local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) | |
1191 | if (TORSO.Position - (Torso.CFrame*CF(0,0,-8).p)).Magnitude < 15 then | |
1192 | killnearest(TORSO.Position,25) | |
1193 | FOUND = true | |
1194 | end | |
1195 | end | |
1196 | end | |
1197 | end | |
1198 | if FOUND == true then | |
1199 | for i = 1, 65 do | |
1200 | killnearest(Torso.CFrame*CF(0,0,-8).p,25) | |
1201 | RootPart.CFrame = RootPart.CFrame * CF(0,0,-1) | |
1202 | end | |
1203 | local SOUND = CreateSound("62339698", HitBox, 10, 0.3) | |
1204 | Slice(2,25,RootPart.CFrame *CF(0,0,-5)*ANGLES(RAD(90),RAD(90),RAD(0)),"Toothpaste",1) | |
1205 | for i=0, 1, 0.1 / Animation_Speed do | |
1206 | Swait() | |
1207 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-70), RAD(0), RAD(0)), 1) | |
1208 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(25)), 3 / Animation_Speed) | |
1209 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 3 / Animation_Speed) | |
1210 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
1211 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
1212 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1213 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed) | |
1214 | end | |
1215 | break | |
1216 | end | |
1217 | RootPart.CFrame = RootPart.CFrame * CF(0,0,-2.5) | |
1218 | end | |
1219 | HandleWeld.Part0 = Torso | |
1220 | ATTACK = false | |
1221 | Rooted = false | |
1222 | end | |
1223 | ||
1224 | function FatalGrab() | |
1225 | Rooted = true | |
1226 | local HAND = HANDS[MRANDOM(1,#HANDS)] | |
1227 | if HAND[1].IsEnabled.Value == true then | |
1228 | HAND[1].IsEnabled.Value = false | |
1229 | HAND[1].CanCollide = true | |
1230 | local GRABBED = false | |
1231 | local GRABTARGET = nil | |
1232 | local HUMAN = nil | |
1233 | local HIT = HAND[1].Touched:Connect(function(hit) | |
1234 | if hit.Parent:FindFirstChildOfClass("Humanoid") then | |
1235 | local TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") | |
1236 | if TORS ~= nil then | |
1237 | GRABTARGET = TORS | |
1238 | GRABBED = true | |
1239 | HUMAN = hit.Parent:FindFirstChildOfClass("Humanoid") | |
1240 | end | |
1241 | end | |
1242 | end) | |
1243 | local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HAND[1], 2, 0.6) | |
1244 | SOUND.SoundId = "rbxasset://sounds/swordlunge.wav" | |
1245 | for i = 1, 4 do | |
1246 | Swait() | |
1247 | turnto(Mouse.Hit.p) | |
1248 | if GRABBED == true then | |
1249 | break | |
1250 | end | |
1251 | HAND[2].C0 = Clerp(HAND[2].C0, CF(0,5,-20) * ANGLES(RAD(90), RAD(0), RAD(45)), 2 / Animation_Speed) | |
1252 | end | |
1253 | if GRABBED == true then | |
1254 | UNANCHOR = false | |
1255 | RootPart.Anchored = true | |
1256 | HUMAN.PlatformStand = true | |
1257 | GRABTARGET.CFrame = HAND[1].CFrame*ANGLES(RAD(-90),RAD(0),RAD(0)) | |
1258 | local WELD = weldBetween(HAND[1],GRABTARGET) | |
1259 | VALUE2 = true | |
1260 | for i = 1, 30 do | |
1261 | Swait() | |
1262 | HUMAN.PlatformStand = true | |
1263 | HAND[2].C0 = Clerp(HAND[2].C0, CF(0,7,-20) * ANGLES(RAD(75), RAD(0), RAD(45)), 0.5 / Animation_Speed) | |
1264 | end | |
1265 | for i = 1, 50 do | |
1266 | Swait() | |
1267 | HUMAN.PlatformStand = true | |
1268 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(15, 7, -19) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.2 / Animation_Speed) | |
1269 | HAND[2].C0 = Clerp(HAND[2].C0, CF(0+MRANDOM(-2,2)/5,7+MRANDOM(-2,2)/5,-20+MRANDOM(-2,2)/5) * ANGLES(RAD(75), RAD(0), RAD(45)), 3 / Animation_Speed) | |
1270 | end | |
1271 | local SOUND = CreateSound("62339698", HitBox, 10, 0.3) | |
1272 | MagicSphere(VT(0.5,0,0.5),25,CF(GRABTARGET.Position),"Toothpaste",VT(0,5,0)) | |
1273 | CreateSound("289315275", GRABTARGET, 10, 2.5) | |
1274 | MagicBlock(0,25,HAND[1].CFrame,"Toothpaste",VT(5,5,5)) | |
1275 | WELD:remove() | |
1276 | KillChildren(GRABTARGET.Parent) | |
1277 | killnearest(GRABTARGET.Position,10) | |
1278 | UNANCHOR = true | |
1279 | RootPart.Anchored = false | |
1280 | for i = 1, 10 do | |
1281 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(-15, 7, -19) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
1282 | Swait() | |
1283 | HAND[2].C0 = Clerp(HAND[2].C0, CF(0,7,-20) * ANGLES(RAD(75), RAD(0), RAD(45)), 3 / Animation_Speed) | |
1284 | end | |
1285 | VALUE2 = false | |
1286 | end | |
1287 | HAND[1].CanCollide = false | |
1288 | HAND[1].IsEnabled.Value = true | |
1289 | end | |
1290 | Rooted = false | |
1291 | end | |
1292 | ||
1293 | function FatalWave() | |
1294 | ATTACK = true | |
1295 | Rooted = true | |
1296 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
1297 | HandleWeld.Part0 = RightArm | |
1298 | HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
1299 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
1300 | for i=0, 1, 0.1 / Animation_Speed do | |
1301 | Swait() | |
1302 | CreateRing(VT(0,0,0),false,0,5,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(1,1,0)) | |
1303 | turnto(Mouse.Hit.p) | |
1304 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 0.2) | |
1305 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed) | |
1306 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5 / Animation_Speed) | |
1307 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1308 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1309 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1310 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1311 | end | |
1312 | for i=0,0.1, 0.1 / Animation_Speed do | |
1313 | Swait() | |
1314 | turnto(Mouse.Hit.p) | |
1315 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.2) | |
1316 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5) | |
1317 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5) | |
1318 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 0.5) | |
1319 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 0.5) | |
1320 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5) | |
1321 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5) | |
1322 | end | |
1323 | local angle = - 30 | |
1324 | for i = 1, 5 do | |
1325 | coroutine.resume(coroutine.create(function() | |
1326 | local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -15, 0), 10000, {Character}) | |
1327 | local SpawnPosition = RayPos | |
1328 | local floor = RayHit | |
1329 | local needcframe = RootPart.CFrame*ANGLES(RAD(0),RAD(angle),RAD(0)) | |
1330 | local LastPosition = RayPos | |
1331 | local Delay = 1 | |
1332 | for i = 1, 15 do | |
1333 | local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace}) | |
1334 | local End = RayPos | |
1335 | LastPosition = End | |
1336 | if SpawnPosition then | |
1337 | killnearest(End,25) | |
1338 | CreateRing(VT(0,0,0),false,0,15,needcframe * CF(0,0,-5*i)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(0.4,0.4,0)*i) | |
1339 | Slice(2+(i/5),25, needcframe * CF(0,0,-5*i)*ANGLES(RAD(90),RAD(90),RAD(0)),"Toothpaste",1) | |
1340 | end | |
1341 | Swait() | |
1342 | end | |
1343 | end)) | |
1344 | angle = angle + 15 | |
1345 | end | |
1346 | local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HitBox, 5, 0.6) | |
1347 | SOUND.SoundId = "rbxasset://sounds/swordlunge.wav" | |
1348 | CreateSound("62339698", HitBox, 10, 0.4) | |
1349 | for i=0, 1, 0.1 / Animation_Speed do | |
1350 | Swait() | |
1351 | turnto(Mouse.Hit.p) | |
1352 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.2) | |
1353 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5) | |
1354 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5) | |
1355 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 0.5) | |
1356 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 0.5) | |
1357 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5) | |
1358 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5) | |
1359 | end | |
1360 | HandleWeld.Part0 = Torso | |
1361 | ATTACK = false | |
1362 | Rooted = false | |
1363 | end | |
1364 | ||
1365 | function Reap() | |
1366 | ATTACK = true | |
1367 | Rooted = true | |
1368 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
1369 | HandleWeld.Part0 = RightArm | |
1370 | HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
1371 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
1372 | for i=0, 3, 0.1 / Animation_Speed do | |
1373 | Swait() | |
1374 | for e=1,#HANDS do | |
1375 | if HANDS[e]~=nil then | |
1376 | local Thing=HANDS[e] | |
1377 | if Thing~=nil then | |
1378 | local MainPart=Thing[1] | |
1379 | local F=Thing[2] | |
1380 | MainPart.IsEnabled.Value = false | |
1381 | F.C0 = Clerp(F.C0, CF(0,15,0) * ANGLES(RAD(0), RAD(360/e), RAD(0))* CF(0,0,15), 0.5 / Animation_Speed) | |
1382 | end | |
1383 | end | |
1384 | end | |
1385 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(5), RAD(0), RAD(45)), 0.2) | |
1386 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1387 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1388 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1389 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1390 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1391 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1392 | end | |
1393 | local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HitBox, 5, 0.6) | |
1394 | SOUND.SoundId = "rbxasset://sounds/swordlunge.wav" | |
1395 | local SOUND = CreateSound("135017578", Effects, 5, 1) | |
1396 | Swait() | |
1397 | repeat | |
1398 | Swait() | |
1399 | for e=1,#HANDS do | |
1400 | if HANDS[e]~=nil then | |
1401 | local Thing=HANDS[e] | |
1402 | if Thing~=nil then | |
1403 | local MainPart=Thing[1] | |
1404 | local F=Thing[2] | |
1405 | MainPart.IsEnabled.Value = false | |
1406 | F.C0 = Clerp(F.C0, CF(0,-2.5,0) * ANGLES(RAD(0), RAD(360/e), RAD(0))* CF(0,0,15), 0.5 / Animation_Speed) | |
1407 | end | |
1408 | end | |
1409 | end | |
1410 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-35), RAD(0), RAD(45)), 0.2) | |
1411 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.8) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1412 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1413 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1414 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1415 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1416 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1417 | until SOUND.playing == false | |
1418 | local FLOOR = CreatePart(3, Effects, "Neon", 0, 1, "Toothpaste", "Blood", VT(800,0,800)) | |
1419 | MakeForm(FLOOR,"Cyl") | |
1420 | FLOOR.CFrame = CF(RootPart.Position+VT(0,-3,0)) | |
1421 | CreateSound("289315275", Effects, 5, 0.3) | |
1422 | for i = 1, 400 do | |
1423 | Swait() | |
1424 | FLOOR.Transparency = FLOOR.Transparency - (1/400) | |
1425 | if i > 100 then | |
1426 | if MRANDOM(1,2) == 1 then | |
1427 | local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Toothpaste", "Magic", VT(1,1,1)*MRANDOM(2,35)/10) | |
1428 | SPHERE.CFrame = CF(FLOOR.Position) * CF(MRANDOM(-285,285),-5,MRANDOM(-285,285)) | |
1429 | MakeForm(SPHERE,"Ball") | |
1430 | coroutine.resume(coroutine.create(function() | |
1431 | for i = 1, 100 do | |
1432 | Swait() | |
1433 | SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0) | |
1434 | SPHERE.Transparency = (i/100) | |
1435 | end | |
1436 | SPHERE:remove() | |
1437 | end)) | |
1438 | end | |
1439 | end | |
1440 | end | |
1441 | CreateSound("62339698", Effects, 10, 0.3) | |
1442 | killnearest(FLOOR.Position,FLOOR.Size.Z/2) | |
1443 | FLOOR:ClearAllChildren() | |
1444 | MakeForm(FLOOR,"Ball") | |
1445 | for i = 1, 50 do | |
1446 | Swait() | |
1447 | FLOOR.Size = FLOOR.Size + VT(-16,1,-16) | |
1448 | FLOOR.Transparency = FLOOR.Transparency + (1/50) | |
1449 | end | |
1450 | FLOOR:remove() | |
1451 | HandleWeld.Part0 = Torso | |
1452 | ATTACK = false | |
1453 | Rooted = false | |
1454 | for e=1,#HANDS do | |
1455 | if HANDS[e]~=nil then | |
1456 | local Thing=HANDS[e] | |
1457 | if Thing~=nil then | |
1458 | local MainPart=Thing[1] | |
1459 | local F=Thing[2] | |
1460 | MainPart.IsEnabled.Value = true | |
1461 | end | |
1462 | end | |
1463 | end | |
1464 | end | |
1465 | ||
1466 | function Taunt() | |
1467 | ATTACK = true | |
1468 | Rooted = true | |
1469 | local SOUND = CreateSound("134978657", Head, 10, 1) | |
1470 | Swait() | |
1471 | repeat | |
1472 | Swait() | |
1473 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1474 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1475 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
1476 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
1477 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1478 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
1479 | until SOUND.Playing == false | |
1480 | ATTACK = false | |
1481 | Rooted = false | |
1482 | end | |
1483 | ||
1484 | --//=================================\\ | |
1485 | --|| ASSIGN THINGS TO KEYS | |
1486 | --\\=================================// | |
1487 | ||
1488 | function MouseDown(Mouse) | |
1489 | if ATTACK == false then | |
1490 | Hit() | |
1491 | end | |
1492 | end | |
1493 | ||
1494 | function MouseUp(Mouse) | |
1495 | HOLD = false | |
1496 | end | |
1497 | ||
1498 | function KeyDown(Key) | |
1499 | KEYHOLD = true | |
1500 | if TRANSFORMED == true and Rooted == false then | |
1501 | if Key == "t" and ATTACK == false then | |
1502 | Taunt() | |
1503 | end | |
1504 | ||
1505 | if Key == "z" and ATTACK == false then | |
1506 | Warp() | |
1507 | end | |
1508 | ||
1509 | if Key == "b" and ATTACK == false then | |
1510 | DeathlyDash() | |
1511 | end | |
1512 | ||
1513 | if Key == "c" and ATTACK == false then | |
1514 | FatalGrab() | |
1515 | end | |
1516 | ||
1517 | if Key == "v" and ATTACK == false then | |
1518 | FatalWave() | |
1519 | end | |
1520 | ||
1521 | if Key == "x" and ATTACK == false then | |
1522 | Reap() | |
1523 | end | |
1524 | end | |
1525 | ||
1526 | if Key == "9" and ATTACK == false then | |
1527 | CreateSound("135017578", Effects, 5, 1) | |
1528 | end | |
1529 | end | |
1530 | ||
1531 | function KeyUp(Key) | |
1532 | KEYHOLD = false | |
1533 | end | |
1534 | ||
1535 | Mouse.Button1Down:connect(function(NEWKEY) | |
1536 | MouseDown(NEWKEY) | |
1537 | end) | |
1538 | Mouse.Button1Up:connect(function(NEWKEY) | |
1539 | MouseUp(NEWKEY) | |
1540 | end) | |
1541 | Mouse.KeyDown:connect(function(NEWKEY) | |
1542 | KeyDown(NEWKEY) | |
1543 | end) | |
1544 | Mouse.KeyUp:connect(function(NEWKEY) | |
1545 | KeyUp(NEWKEY) | |
1546 | end) | |
1547 | ||
1548 | --//=================================\\ | |
1549 | --\\=================================// | |
1550 | ||
1551 | ||
1552 | function unanchor() | |
1553 | if UNANCHOR == true then | |
1554 | RootPart.Anchored = false | |
1555 | end | |
1556 | for _, c in pairs(SCYTHE:GetChildren()) do | |
1557 | if c.ClassName == "Part" then | |
1558 | c.Anchored = false | |
1559 | end | |
1560 | end | |
1561 | for _, c in pairs(HANDFOLDER:GetChildren()) do | |
1562 | if c.ClassName == "Part" then | |
1563 | c.Anchored = false | |
1564 | end | |
1565 | end | |
1566 | for _, c in pairs(Weapon:GetChildren()) do | |
1567 | if c.ClassName == "Part" then | |
1568 | c.Anchored = false | |
1569 | end | |
1570 | end | |
1571 | end | |
1572 | ||
1573 | ||
1574 | --//=================================\\ | |
1575 | --|| WRAP THE WHOLE SCRIPT UP | |
1576 | --\\=================================// | |
1577 | ||
1578 | Humanoid.Changed:connect(function(Jump) | |
1579 | if Jump == "Jump" and (Disable_Jump == true) then | |
1580 | Humanoid.Jump = false | |
1581 | end | |
1582 | end) | |
1583 | ||
1584 | local FF = IT("ForceField",Character) | |
1585 | FF.Visible = false | |
1586 | ||
1587 | INSTANT = false | |
1588 | Speed = 20 | |
1589 | ||
1590 | while true do | |
1591 | Swait() | |
1592 | SINE = SINE + CHANGE | |
1593 | --if DEAD == false then | |
1594 | if VALUE2 == false then | |
1595 | for e=1,#HANDS do | |
1596 | if HANDS[e]~=nil then | |
1597 | local Thing=HANDS[e] | |
1598 | if Thing~=nil then | |
1599 | local MainPart=Thing[1] | |
1600 | local F=Thing[2] | |
1601 | if MainPart.IsEnabled.Value == true then | |
1602 | F.C0 = Clerp(F.C0, CF(-e*2,5-((e-1)*2) + 0.5 * COS(SINE/(e*15)),2) * ANGLES(RAD(180), RAD(-90), RAD(25*e)) * ANGLES(RAD(0), RAD(45), RAD(0)), 0.2 / Animation_Speed) | |
1603 | end | |
1604 | end | |
1605 | end | |
1606 | end | |
1607 | end | |
1608 | ANIMATE.Parent = nil | |
1609 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
1610 | IDLEANIMATION:Play() | |
1611 | if TRANSFORMED == true then | |
1612 | tecks2.TextTransparency = 0 | |
1613 | for _, c in pairs(Character:GetChildren()) do | |
1614 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
1615 | c.Anchored = false | |
1616 | c.Transparency = 0 | |
1617 | c.Color = C3(0,0,0) | |
1618 | end | |
1619 | end | |
1620 | for _, c in pairs(Weapon:GetChildren()) do | |
1621 | if c.ClassName == "Part" then | |
1622 | c.Transparency = 0 | |
1623 | end | |
1624 | end | |
1625 | for _, c in pairs(HANDFOLDER:GetChildren()) do | |
1626 | if c.ClassName == "Part" then | |
1627 | c.Color = C3(0,0,0) | |
1628 | if c:FindFirstChild("PE") then | |
1629 | c.PE.Enabled = true | |
1630 | end | |
1631 | end | |
1632 | end | |
1633 | for _, c in pairs(SCYTHE:GetChildren()) do | |
1634 | if c.ClassName == "Part" then | |
1635 | if c.Material ~= Enum.Material.Neon then | |
1636 | c.Transparency = 0 | |
1637 | end | |
1638 | c.Color = C3(0,0,0) | |
1639 | if c:FindFirstChild("PE") then | |
1640 | c.PE.Enabled = true | |
1641 | end | |
1642 | end | |
1643 | end | |
1644 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
1645 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
1646 | local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) | |
1647 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) | |
1648 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
1649 | if ATTACK == false and VALUE2 == false then | |
1650 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(2, 3 + 0.35 * COS(SINE / 12), 1) * ANGLES(RAD(45 + 15 * COS(SINE / 12)), RAD(-45), RAD(0)), 0.2 / Animation_Speed) | |
1651 | end | |
1652 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
1653 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1654 | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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) | |
1655 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1656 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1657 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
1658 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1659 | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1660 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1661 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1662 | end | |
1663 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
1664 | ANIM = "Jump" | |
1665 | if ATTACK == false then | |
1666 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1667 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1668 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1669 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1670 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
1671 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
1672 | end | |
1673 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
1674 | ANIM = "Fall" | |
1675 | if ATTACK == false then | |
1676 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1677 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
1678 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
1679 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
1680 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
1681 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
1682 | end | |
1683 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
1684 | ANIM = "Idle" | |
1685 | if ATTACK == false then | |
1686 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1687 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1688 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1689 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1690 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1691 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1692 | end | |
1693 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
1694 | ANIM = "Walk" | |
1695 | WALK = WALK + 1 / Animation_Speed | |
1696 | if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then | |
1697 | WALK = 0 | |
1698 | if WALKINGANIM == true then | |
1699 | WALKINGANIM = false | |
1700 | elseif WALKINGANIM == false then | |
1701 | WALKINGANIM = true | |
1702 | end | |
1703 | end | |
1704 | --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1705 | --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1706 | if ATTACK == false then | |
1707 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1708 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1709 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1710 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed) | |
1711 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
1712 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
1713 | end | |
1714 | end | |
1715 | end | |
1716 | --end | |
1717 | Humanoid.DisplayDistanceType = "None" | |
1718 | unanchor() | |
1719 | Humanoid.MaxHealth = "inf" | |
1720 | Humanoid.Health = "inf" | |
1721 | if Rooted == false then | |
1722 | Disable_Jump = false | |
1723 | Humanoid.WalkSpeed = Speed | |
1724 | elseif Rooted == true then | |
1725 | Disable_Jump = true | |
1726 | Humanoid.WalkSpeed = 0 | |
1727 | end | |
1728 | if Head:FindFirstChild("face") then | |
1729 | Head.face:remove() | |
1730 | end | |
1731 | local MATHS = {"0","1"} | |
1732 | Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)] | |
1733 | Humanoid.PlatformStand = false | |
1734 | if INTRO == false and INSTANT == false then | |
1735 | INTRO = true | |
1736 | coroutine.resume(coroutine.create(function() | |
1737 | sick:Play() | |
1738 | Intro() | |
1739 | end)) | |
1740 | end | |
1741 | if INSTANT == true then | |
1742 | if TRANSFORMED == false then | |
1743 | sick.TimePosition = 60 | |
1744 | Player:ClearCharacterAppearance() | |
1745 | sick:Play() | |
1746 | for _, c in pairs(HANDFOLDER:GetChildren()) do | |
1747 | if c.ClassName == "Part" then | |
1748 | c.Transparency = 0 | |
1749 | end | |
1750 | end | |
1751 | end | |
1752 | TRANSFORMED = true | |
1753 | end | |
1754 | script.Parent = PlayerGui | |
1755 | Character.Parent = workspace | |
1756 | Humanoid.Parent = Character | |
1757 | Player:ClearCharacterAppearance() | |
1758 | end | |
1759 | ||
1760 | ||
1761 | --//=================================\\ | |
1762 | --\\=================================// | |
1763 | ||
1764 | ||
1765 | ||
1766 | ||
1767 | ||
1768 | --//====================================================\\-- | |
1769 | --|| END OF SCRIPT | |
1770 | --\\====================================================//-- |