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