SHOW:
|
|
- or go back to the newest paste.
1 | --whitelist-- | |
2 | - | if game.Players.LocalPlayer.userId == 436044798 or game.Players.LocalPlayer.userId == 98888844 or game.Players.LocalPlayer.userId == 0 or game.Players.LocalPlayer.userId == 374237174 |
2 | + | if game.Players.LocalPlayer.userId == 436044798 or game.Players.LocalPlayer.userId == 98888844 or game.Players.LocalPlayer.userId == 64268216 or game.Players.LocalPlayer.userId == 374237174 |
3 | then | |
4 | -- friend list | |
5 | print([[ | |
6 | ___________________________________ | |
7 | ||
8 | Whitelist system | |
9 | xXxberetgirlsvexXx22 | |
10 | sawgamer1 | |
11 | voyqgo | |
12 | ___________________________________ | |
13 | ]]) | |
14 | ||
15 | function checkfriendlist(model) | |
16 | local friend = true | |
17 | local target = nil | |
18 | if model.ClassName == "Player" then | |
19 | target = model | |
20 | else | |
21 | target = game:GetService("Players"):GetPlayerFromCharacter(model) | |
22 | end | |
23 | if target ~= nil then | |
24 | if target:IsFriendsWith(98888844) then friend = true end | |
25 | end | |
26 | return friend | |
27 | end | |
28 | ||
29 | if checkfriendlist(game:GetService("Players").LocalPlayer) == false and not game:GetService("Players").LocalPlayer:FindFirstChild("Kyu's Temp Really blacklist") then | |
30 | warn("You're not whitelisted") | |
31 | --wait(5) | |
32 | --error("Script has been stopped.") | |
33 | end | |
34 | ||
35 | warn("You're whitelisted, "..game:GetService("Players").LocalPlayer.Name.." :)") | |
36 | ||
37 | else | |
38 | while true do | |
39 | wait() | |
40 | local blind = Instance.new('ScreenGui') | |
41 | local user = game.Players.LocalPlayer | |
42 | blind.Parent = user.PlayerGui | |
43 | local scr = Instance.new('TextLabel') | |
44 | scr.Parent = blind | |
45 | scr.Text = "Ur not whitelisted "..game.Players.LocalPlayer.Name.." " | |
46 | scr.TextScaled = true | |
47 | scr.Font = Enum.Font.Arial | |
48 | scr.TextColor = BrickColor.new(0, 0, 255) | |
49 | scr.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294) | |
50 | scr.BorderColor3 = Color3.new(0, 0, 0) | |
51 | scr.Position = UDim2.new(0, 0, 0, 0) | |
52 | scr.Size = UDim2.new(1, 1, 1, 1) | |
53 | end | |
54 | end | |
55 | ||
56 | --Converted with ttyyuu12345's model to script plugin v4 | |
57 | function sandbox(var,func) | |
58 | local env = getfenv(func) | |
59 | local newenv = setmetatable({},{ | |
60 | __index = function(self,k) | |
61 | if k=="script" then | |
62 | return var | |
63 | else | |
64 | return env[k] | |
65 | end | |
66 | end, | |
67 | }) | |
68 | setfenv(func,newenv) | |
69 | return func | |
70 | end | |
71 | cors = {} | |
72 | mas = Instance.new("Model",game:GetService("Lighting")) | |
73 | LocalScript0 = Instance.new("LocalScript") | |
74 | ParticleEmitter1 = Instance.new("ParticleEmitter") | |
75 | ParticleEmitter2 = Instance.new("ParticleEmitter") | |
76 | BillboardGui3 = Instance.new("BillboardGui") | |
77 | TextLabel4 = Instance.new("TextLabel") | |
78 | TextLabel5 = Instance.new("TextLabel") | |
79 | ParticleEmitter6 = Instance.new("ParticleEmitter") | |
80 | LocalScript7 = Instance.new("LocalScript") | |
81 | NumberValue8 = Instance.new("NumberValue") | |
82 | NumberValue9 = Instance.new("NumberValue") | |
83 | BoolValue10 = Instance.new("BoolValue") | |
84 | ParticleEmitter11 = Instance.new("ParticleEmitter") | |
85 | ParticleEmitter12 = Instance.new("ParticleEmitter") | |
86 | ParticleEmitter13 = Instance.new("ParticleEmitter") | |
87 | ParticleEmitter14 = Instance.new("ParticleEmitter") | |
88 | ParticleEmitter15 = Instance.new("ParticleEmitter") | |
89 | ParticleEmitter16 = Instance.new("ParticleEmitter") | |
90 | ParticleEmitter17 = Instance.new("ParticleEmitter") | |
91 | ParticleEmitter18 = Instance.new("ParticleEmitter") | |
92 | ParticleEmitter19 = Instance.new("ParticleEmitter") | |
93 | ParticleEmitter20 = Instance.new("ParticleEmitter") | |
94 | Part21 = Instance.new("Part") | |
95 | SpecialMesh22 = Instance.new("SpecialMesh") | |
96 | Folder23 = Instance.new("Folder") | |
97 | CharacterMesh24 = Instance.new("CharacterMesh") | |
98 | CharacterMesh25 = Instance.new("CharacterMesh") | |
99 | CharacterMesh26 = Instance.new("CharacterMesh") | |
100 | CharacterMesh27 = Instance.new("CharacterMesh") | |
101 | CharacterMesh28 = Instance.new("CharacterMesh") | |
102 | Part29 = Instance.new("Part") | |
103 | SpecialMesh30 = Instance.new("SpecialMesh") | |
104 | LocalScript0.Name = "SearingEmperor" | |
105 | LocalScript0.Parent = ModuleScript2 | |
106 | table.insert(cors,sandbox(LocalScript0,function() | |
107 | --//====================================================\\-- | |
108 | -- EDITED BY VOYQGO | |
109 | --\\====================================================//-- | |
110 | ||
111 | print("I will make sure you are IN HELL") | |
112 | print("EDIT by voyqgo") | |
113 | print("this was fun edit to make Fun") | |
114 | print("sub to are youtube and sub to an Friend of my") | |
115 | print("are youtube zaxouy12 gaming 12 my") | |
116 | print("Fd god my Friend go sub to him") | |
117 | print("have fun") | |
118 | ||
119 | ||
120 | wait(1) | |
121 | ||
122 | Player = game:GetService("Players").LocalPlayer | |
123 | PlayerGui = Player.PlayerGui | |
124 | Cam = workspace.CurrentCamera | |
125 | Backpack = Player.Backpack | |
126 | repeat wait() until Player.Character | |
127 | Character = Player.Character | |
128 | repeat wait() until Player.Character:FindFirstChildOfClass("Humanoid") | |
129 | Humanoid = Character:FindFirstChildOfClass("Humanoid") | |
130 | Mouse = Player:GetMouse() | |
131 | RootPart = Character["HumanoidRootPart"] | |
132 | Torso = Character["Torso"] | |
133 | Head = Character["Head"] | |
134 | RightArm = Character["Right Arm"] | |
135 | LeftArm = Character["Left Arm"] | |
136 | RightLeg = Character["Right Leg"] | |
137 | LeftLeg = Character["Left Leg"] | |
138 | RootJoint = RootPart["RootJoint"] | |
139 | Neck = Torso["Neck"] | |
140 | RightShoulder = Torso["Right Shoulder"] | |
141 | LeftShoulder = Torso["Left Shoulder"] | |
142 | RightHip = Torso["Right Hip"] | |
143 | LeftHip = Torso["Left Hip"] | |
144 | ||
145 | IT = Instance.new | |
146 | CF = CFrame.new | |
147 | VT = Vector3.new | |
148 | RAD = math.rad | |
149 | C3 = Color3.new | |
150 | UD2 = UDim2.new | |
151 | BRICKC = BrickColor.new | |
152 | ANGLES = CFrame.Angles | |
153 | EULER = CFrame.fromEulerAnglesXYZ | |
154 | COS = math.cos | |
155 | ACOS = math.acos | |
156 | SIN = math.sin | |
157 | ASIN = math.asin | |
158 | ABS = math.abs | |
159 | MRANDOM = math.random | |
160 | FLOOR = math.floor | |
161 | ||
162 | --//=================================\\ | |
163 | --|| USEFUL VALUES | |
164 | --\\=================================// | |
165 | ||
166 | Animation_Speed = 3 | |
167 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
168 | local Speed = 16 | |
169 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
170 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
171 | local RIGHTSHOULDERC0 = CF(-0.5, -0.25, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
172 | local LEFTSHOULDERC0 = CF(0.5, -0.25, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
173 | local DAMAGEMULTIPLIER = 1 | |
174 | local ANIM = "Idle" | |
175 | local ATTACK = false | |
176 | local EQUIPPED = false | |
177 | local HOLD = false | |
178 | local COMBO = 1 | |
179 | local Rooted = false | |
180 | local SINE = 0 | |
181 | local KEYHOLD = false | |
182 | local CHANGE = 2 / Animation_Speed | |
183 | local WALKINGANIM = false | |
184 | local VALUE1 = false | |
185 | local VALUE2 = false | |
186 | local ROBLOXIDLEANIMATION = IT("Animation") | |
187 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
188 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
189 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
190 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
191 | WEAPONGUI.Name = "Weapon GUI" | |
192 | local Effects = IT("Folder", Character) | |
193 | Effects.Name = "Effects" | |
194 | local SpecialEffects = IT("Folder", Character) | |
195 | SpecialEffects.Name = "SpecialEffects" | |
196 | local ANIMATOR = Humanoid.Animator | |
197 | local ANIMATE = Character.Animate | |
198 | local UNANCHOR = true | |
199 | local REGENRATE = 1 | |
200 | local FULLREGEN = false | |
201 | local POSEIDON = false | |
202 | local EXPLOSIONSMALLSOUND = 439342426 | |
203 | local EXPLOSIONMEDIUMSOUND = 605005842 | |
204 | local EXPLOSIONLARGESOUND = 565538688 | |
205 | local CHARGE = 278641993 | |
206 | local POSEIDONSOUND = 374289727 | |
207 | local FIREBALLSOUND = 414517770 | |
208 | local BURNSOUND = 565777213 | |
209 | local FIREFIELD = false | |
210 | local SEARING = false | |
211 | local BODYPOS = nil | |
212 | local GYRO = nil | |
213 | local DIRECTTURN = false | |
214 | local APPLYGYRO = true | |
215 | local SONGS = {720006240,1696854181,492070484,157460916} | |
216 | local CHOSENSONG = MRANDOM(1,#SONGS) | |
217 | ||
218 | --//=================================\\ | |
219 | --\\=================================// | |
220 | ||
221 | ||
222 | --//=================================\\ | |
223 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
224 | --\\=================================// | |
225 | ||
226 | ArtificialHB = Instance.new("BindableEvent", script) | |
227 | ArtificialHB.Name = "ArtificialHB" | |
228 | ||
229 | script:WaitForChild("ArtificialHB") | |
230 | ||
231 | frame = Frame_Speed | |
232 | tf = 0 | |
233 | allowframeloss = false | |
234 | tossremainder = false | |
235 | lastframe = tick() | |
236 | script.ArtificialHB:Fire() | |
237 | ||
238 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
239 | tf = tf + s | |
240 | if tf >= frame then | |
241 | if allowframeloss then | |
242 | script.ArtificialHB:Fire() | |
243 | lastframe = tick() | |
244 | else | |
245 | for i = 1, math.floor(tf / frame) do | |
246 | script.ArtificialHB:Fire() | |
247 | end | |
248 | lastframe = tick() | |
249 | end | |
250 | if tossremainder then | |
251 | tf = 0 | |
252 | else | |
253 | tf = tf - frame * math.floor(tf / frame) | |
254 | end | |
255 | end | |
256 | end) | |
257 | ||
258 | --//=================================\\ | |
259 | --\\=================================// | |
260 | ||
261 | --//=================================\\ | |
262 | --|| SOME FUNCTIONS | |
263 | --\\=================================// | |
264 | ||
265 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
266 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
267 | end | |
268 | ||
269 | function PositiveAngle(NUMBER) | |
270 | if NUMBER >= 0 then | |
271 | NUMBER = 0 | |
272 | end | |
273 | return NUMBER | |
274 | end | |
275 | ||
276 | function NegativeAngle(NUMBER) | |
277 | if NUMBER <= 0 then | |
278 | NUMBER = 0 | |
279 | end | |
280 | return NUMBER | |
281 | end | |
282 | ||
283 | function Swait(NUMBER) | |
284 | if NUMBER == 0 or NUMBER == nil then | |
285 | ArtificialHB.Event:wait() | |
286 | else | |
287 | for i = 1, NUMBER do | |
288 | ArtificialHB.Event:wait() | |
289 | end | |
290 | end | |
291 | end | |
292 | ||
293 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
294 | local NEWMESH = IT(MESH) | |
295 | if MESH == "SpecialMesh" then | |
296 | NEWMESH.MeshType = MESHTYPE | |
297 | if MESHID ~= "nil" and MESHID ~= "" then | |
298 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
299 | end | |
300 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
301 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
302 | end | |
303 | end | |
304 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
305 | NEWMESH.Scale = SCALE | |
306 | NEWMESH.Parent = PARENT | |
307 | return NEWMESH | |
308 | end | |
309 | ||
310 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
311 | local NEWPART = IT("Part") | |
312 | NEWPART.formFactor = FORMFACTOR | |
313 | NEWPART.Reflectance = REFLECTANCE | |
314 | NEWPART.Transparency = TRANSPARENCY | |
315 | NEWPART.CanCollide = false | |
316 | NEWPART.Locked = true | |
317 | NEWPART.Anchored = true | |
318 | if ANCHOR == false then | |
319 | NEWPART.Anchored = false | |
320 | end | |
321 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
322 | NEWPART.Name = NAME | |
323 | NEWPART.Size = SIZE | |
324 | NEWPART.Position = Torso.Position | |
325 | NEWPART.Material = MATERIAL | |
326 | NEWPART:BreakJoints() | |
327 | NEWPART.Parent = PARENT | |
328 | return NEWPART | |
329 | end | |
330 | ||
331 | local function weldBetween(a, b) | |
332 | local weldd = Instance.new("ManualWeld") | |
333 | weldd.Part0 = a | |
334 | weldd.Part1 = b | |
335 | weldd.C0 = CFrame.new() | |
336 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
337 | weldd.Parent = a | |
338 | return weldd | |
339 | end | |
340 | ||
341 | ||
342 | function QuaternionFromCFrame(cf) | |
343 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
344 | local trace = m00 + m11 + m22 | |
345 | if trace > 0 then | |
346 | local s = math.sqrt(1 + trace) | |
347 | local recip = 0.5 / s | |
348 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
349 | else | |
350 | local i = 0 | |
351 | if m11 > m00 then | |
352 | i = 1 | |
353 | end | |
354 | if m22 > (i == 0 and m00 or m11) then | |
355 | i = 2 | |
356 | end | |
357 | if i == 0 then | |
358 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
359 | local recip = 0.5 / s | |
360 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
361 | elseif i == 1 then | |
362 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
363 | local recip = 0.5 / s | |
364 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
365 | elseif i == 2 then | |
366 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
367 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
368 | end | |
369 | end | |
370 | end | |
371 | ||
372 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
373 | local xs, ys, zs = x + x, y + y, z + z | |
374 | local wx, wy, wz = w * xs, w * ys, w * zs | |
375 | local xx = x * xs | |
376 | local xy = x * ys | |
377 | local xz = x * zs | |
378 | local yy = y * ys | |
379 | local yz = y * zs | |
380 | local zz = z * zs | |
381 | 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)) | |
382 | end | |
383 | ||
384 | function QuaternionSlerp(a, b, t) | |
385 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
386 | local startInterp, finishInterp; | |
387 | if cosTheta >= 0.0001 then | |
388 | if (1 - cosTheta) > 0.0001 then | |
389 | local theta = ACOS(cosTheta) | |
390 | local invSinTheta = 1 / SIN(theta) | |
391 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
392 | finishInterp = SIN(t * theta) * invSinTheta | |
393 | else | |
394 | startInterp = 1 - t | |
395 | finishInterp = t | |
396 | end | |
397 | else | |
398 | if (1 + cosTheta) > 0.0001 then | |
399 | local theta = ACOS(-cosTheta) | |
400 | local invSinTheta = 1 / SIN(theta) | |
401 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
402 | finishInterp = SIN(t * theta) * invSinTheta | |
403 | else | |
404 | startInterp = t - 1 | |
405 | finishInterp = t | |
406 | end | |
407 | end | |
408 | 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 | |
409 | end | |
410 | ||
411 | function Clerp(a, b, t) | |
412 | local qa = {QuaternionFromCFrame(a)} | |
413 | local qb = {QuaternionFromCFrame(b)} | |
414 | local ax, ay, az = a.x, a.y, a.z | |
415 | local bx, by, bz = b.x, b.y, b.z | |
416 | local _t = 1 - t | |
417 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
418 | end | |
419 | ||
420 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
421 | local frame = IT("Frame") | |
422 | frame.BackgroundTransparency = TRANSPARENCY | |
423 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
424 | frame.Position = POSITION | |
425 | frame.Size = SIZE | |
426 | frame.BackgroundColor3 = COLOR | |
427 | frame.BorderColor3 = BORDERCOLOR | |
428 | frame.Name = NAME | |
429 | frame.Parent = PARENT | |
430 | return frame | |
431 | end | |
432 | ||
433 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
434 | local label = IT("TextLabel") | |
435 | label.BackgroundTransparency = 1 | |
436 | label.Size = UD2(1, 0, 1, 0) | |
437 | label.Position = UD2(0, 0, 0, 0) | |
438 | label.TextColor3 = TEXTCOLOR | |
439 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
440 | label.TextTransparency = TRANSPARENCY | |
441 | label.FontSize = TEXTFONTSIZE | |
442 | label.Font = TEXTFONT | |
443 | label.BorderSizePixel = BORDERSIZEPIXEL | |
444 | label.TextScaled = false | |
445 | label.Text = TEXT | |
446 | label.Name = NAME | |
447 | label.Parent = PARENT | |
448 | return label | |
449 | end | |
450 | ||
451 | function NoOutlines(PART) | |
452 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
453 | end | |
454 | ||
455 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
456 | local NEWWELD = IT(TYPE) | |
457 | NEWWELD.Part0 = PART0 | |
458 | NEWWELD.Part1 = PART1 | |
459 | NEWWELD.C0 = C0 | |
460 | NEWWELD.C1 = C1 | |
461 | NEWWELD.Parent = PARENT | |
462 | return NEWWELD | |
463 | end | |
464 | ||
465 | local S = IT("Sound") | |
466 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
467 | local NEWSOUND = nil | |
468 | coroutine.resume(coroutine.create(function() | |
469 | NEWSOUND = S:Clone() | |
470 | NEWSOUND.Parent = PARENT | |
471 | NEWSOUND.Volume = VOLUME | |
472 | NEWSOUND.Pitch = PITCH | |
473 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
474 | NEWSOUND:play() | |
475 | if DOESLOOP == true then | |
476 | NEWSOUND.Looped = true | |
477 | else | |
478 | repeat wait(1) until NEWSOUND.Playing == false | |
479 | NEWSOUND:remove() | |
480 | end | |
481 | end)) | |
482 | return NEWSOUND | |
483 | end | |
484 | ||
485 | function CFrameFromTopBack(at, top, back) | |
486 | local right = top:Cross(back) | |
487 | 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) | |
488 | end | |
489 | ||
490 | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
491 | function WACKYEFFECT(Table) | |
492 | local TYPE = (Table.EffectType or "Sphere") | |
493 | local SIZE = (Table.Size or VT(1,1,1)) | |
494 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
495 | local TRANSPARENCY = (Table.Transparency or 0) | |
496 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
497 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
498 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
499 | local ROTATION1 = (Table.RotationX or 0) | |
500 | local ROTATION2 = (Table.RotationY or 0) | |
501 | local ROTATION3 = (Table.RotationZ or 0) | |
502 | local MATERIAL = (Table.Material or "Neon") | |
503 | local COLOR = (Table.Color or C3(1,1,1)) | |
504 | local TIME = (Table.Time or 45) | |
505 | local SOUNDID = (Table.SoundID or nil) | |
506 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
507 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
508 | coroutine.resume(coroutine.create(function() | |
509 | local PLAYSSOUND = false | |
510 | local SOUND = nil | |
511 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
512 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
513 | PLAYSSOUND = true | |
514 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
515 | end | |
516 | EFFECT.Color = COLOR | |
517 | local MSH = nil | |
518 | if TYPE == "Sphere" then | |
519 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
520 | elseif TYPE == "Block" then | |
521 | MSH = IT("BlockMesh",EFFECT) | |
522 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
523 | elseif TYPE == "Wave" then | |
524 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
525 | elseif TYPE == "Ring" then | |
526 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
527 | elseif TYPE == "Slash" then | |
528 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
529 | elseif TYPE == "Round Slash" then | |
530 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
531 | elseif TYPE == "Swirl" then | |
532 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
533 | elseif TYPE == "Skull" then | |
534 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
535 | elseif TYPE == "Crystal" then | |
536 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
537 | end | |
538 | if MSH ~= nil then | |
539 | local MOVESPEED = nil | |
540 | if MOVEDIRECTION ~= nil then | |
541 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
542 | end | |
543 | local GROWTH = SIZE - ENDSIZE | |
544 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
545 | if TYPE == "Block" then | |
546 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
547 | else | |
548 | EFFECT.CFrame = CFRAME | |
549 | end | |
550 | for LOOP = 1, TIME+1 do | |
551 | Swait() | |
552 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
553 | if TYPE == "Wave" then | |
554 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
555 | end | |
556 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
557 | if TYPE == "Block" then | |
558 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
559 | else | |
560 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
561 | end | |
562 | if MOVEDIRECTION ~= nil then | |
563 | local ORI = EFFECT.Orientation | |
564 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
565 | EFFECT.Orientation = ORI | |
566 | end | |
567 | end | |
568 | if PLAYSSOUND == false then | |
569 | EFFECT:remove() | |
570 | else | |
571 | repeat Swait() until SOUND.Playing == false | |
572 | EFFECT:remove() | |
573 | end | |
574 | else | |
575 | if PLAYSSOUND == false then | |
576 | EFFECT:remove() | |
577 | else | |
578 | repeat Swait() until SOUND.Playing == false | |
579 | EFFECT:remove() | |
580 | end | |
581 | end | |
582 | end)) | |
583 | end | |
584 | ||
585 | function MakeForm(PART,TYPE) | |
586 | if TYPE == "Cyl" then | |
587 | local MSH = IT("CylinderMesh",PART) | |
588 | elseif TYPE == "Ball" then | |
589 | local MSH = IT("SpecialMesh",PART) | |
590 | MSH.MeshType = "Sphere" | |
591 | elseif TYPE == "Wedge" then | |
592 | local MSH = IT("SpecialMesh",PART) | |
593 | MSH.MeshType = "Wedge" | |
594 | end | |
595 | end | |
596 | ||
597 | Debris = game:GetService("Debris") | |
598 | ||
599 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
600 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
601 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore) | |
602 | end | |
603 | ||
604 | function Particles(Which,Parent,Enabled) | |
605 | if script:FindFirstChild(Which) then | |
606 | local PARTICLES = script:FindFirstChild(Which):Clone() | |
607 | PARTICLES.Parent = Parent | |
608 | PARTICLES.Name = "CurseParticles" | |
609 | if Enabled ~= true then | |
610 | PARTICLES:Emit(Enabled) | |
611 | Debris:AddItem(PARTICLES,10) | |
612 | else | |
613 | PARTICLES.Enabled = true | |
614 | return PARTICLES | |
615 | end | |
616 | end | |
617 | end | |
618 | ||
619 | --//=================================\\ | |
620 | --|| WEAPON CREATION | |
621 | --\\=================================// | |
622 | ||
623 | local GUI = script.NameGui | |
624 | GUI.Parent = RootPart | |
625 | GUI.PlayerToHideFrom = Player | |
626 | Humanoid.DisplayDistanceType = "None" | |
627 | GUI.Enabled = true | |
628 | local Pauldrons = script.Pauldrons | |
629 | Pauldrons.Parent = Character | |
630 | Pauldrons.CFrame = Torso.CFrame | |
631 | local WELD = weldBetween(Torso,Pauldrons) | |
632 | Pauldrons.Anchored = false | |
633 | Pauldrons.Transparency = 0 | |
634 | local FLINTLOCK = script.Flintlock | |
635 | FLINTLOCK.Parent = Character | |
636 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, FLINTLOCK, CF(1,-1.5,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
637 | ||
638 | local REGENSOUND = 487215897 | |
639 | for _, c in pairs(Character:GetDescendants()) do | |
640 | if c and c.Parent then | |
641 | if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then | |
642 | local ACCESSORY = c.Parent | |
643 | c.Parent = Character | |
644 | if c then | |
645 | if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then | |
646 | weldBetween(Head,c) | |
647 | else | |
648 | weldBetween(Torso,c) | |
649 | end | |
650 | end | |
651 | ACCESSORY:remove() | |
652 | end | |
653 | end | |
654 | end | |
655 | wait() | |
656 | local BODY = {} | |
657 | for _, c in pairs(Character:GetDescendants()) do | |
658 | if c:IsA("BasePart") then | |
659 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
660 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
661 | end | |
662 | local REGENVALUE = IT("BoolValue",c) | |
663 | REGENVALUE.Name = "IsRegening" | |
664 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE}) | |
665 | elseif c:IsA("JointInstance") and c.Name ~= "AccessoryWeld" then | |
666 | table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil,nil}) | |
667 | end | |
668 | end | |
669 | function FullBodyRegen() | |
670 | if FULLREGEN == false then | |
671 | FULLREGEN = true | |
672 | Character.Parent = workspace | |
673 | GUI.Enabled = false | |
674 | CreateSound(FIREBALLSOUND,Torso,3,MRANDOM(10,12)/10,false) | |
675 | UNANCHOR = false | |
676 | for e = 1, #BODY do | |
677 | if BODY[e] ~= nil then | |
678 | local STUFF = BODY[e] | |
679 | local PART = STUFF[1] | |
680 | local PARENT = STUFF[2] | |
681 | local MATERIAL = STUFF[3] | |
682 | local COLOR = STUFF[4] | |
683 | local TRANSPARENCY = STUFF[5] | |
684 | --local SIZE = STUFF[6] | |
685 | local NAME = STUFF[7] | |
686 | local VALUE = STUFF[8] | |
687 | PART.Parent = PARENT | |
688 | Humanoid.MaxHealth = "inf" | |
689 | Humanoid.Health = "inf" | |
690 | Humanoid.Parent = nil | |
691 | Humanoid = IT("Humanoid",Character) | |
692 | Humanoid.Died:Connect(FullBodyRegen) | |
693 | PART.Parent = PARENT | |
694 | if PART:IsA("BasePart") and VALUE.Value == false and PART ~= RootPart then | |
695 | VALUE.Value = true | |
696 | coroutine.resume(coroutine.create(function() | |
697 | PART.Transparency = 1 | |
698 | CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/15,false) | |
699 | local REGEN = script.Regen:Clone() | |
700 | REGEN.Parent = PART | |
701 | REGEN.Speed = NumberRange.new(30) | |
702 | REGEN:Emit(100) | |
703 | local REGENING = script.Regen2:Clone() | |
704 | REGENING.Parent = PART | |
705 | REGENING.Enabled = true | |
706 | REGENING.Speed = NumberRange.new(35) | |
707 | wait() | |
708 | local RANGE = 35 | |
709 | for i = 1, math.ceil(REGENRATE*25) do | |
710 | wait() | |
711 | ApplyAoE(PART.Position,6,1,1,0,false) | |
712 | REGENING.Speed = NumberRange.new(RANGE) | |
713 | RANGE = RANGE - (35/(math.ceil(REGENRATE*20))) | |
714 | end | |
715 | REGEN.Speed = NumberRange.new(6) | |
716 | REGEN:Emit(60) | |
717 | wait(REGENRATE/3) | |
718 | RootPart.Velocity = VT(0,0,0) | |
719 | UNANCHOR = true | |
720 | GUI.Enabled = true | |
721 | PART.Transparency = 0 | |
722 | REGEN.Rate = 50 | |
723 | REGEN.Enabled = true | |
724 | REGENING.Enabled = false | |
725 | wait(REGENRATE/1.5) | |
726 | VALUE.Value = false | |
727 | Debris:AddItem(REGENING,5) | |
728 | FULLREGEN = false | |
729 | REGEN.Enabled = false | |
730 | Debris:AddItem(REGEN,5) | |
731 | end)) | |
732 | end | |
733 | end | |
734 | end | |
735 | end | |
736 | end | |
737 | function Regen() | |
738 | Character.Parent = workspace | |
739 | for e = 1, #BODY do | |
740 | if BODY[e] ~= nil then | |
741 | local STUFF = BODY[e] | |
742 | local PART = STUFF[1] | |
743 | local PARENT = STUFF[2] | |
744 | local MATERIAL = STUFF[3] | |
745 | local COLOR = STUFF[4] | |
746 | local TRANSPARENCY = STUFF[5] | |
747 | --local SIZE = STUFF[6] | |
748 | local NAME = STUFF[7] | |
749 | local VALUE = STUFF[8] | |
750 | if PART.ClassName == "Part" and PART ~= RootPart then | |
751 | PART.Material = MATERIAL | |
752 | PART.Name = NAME | |
753 | end | |
754 | if PART.Parent ~= PARENT then | |
755 | PART.Parent = PARENT | |
756 | if PART:IsA("BasePart") and PART ~= RootPart and FULLREGEN == false then | |
757 | if VALUE.Value == false then | |
758 | VALUE.Value = true | |
759 | coroutine.resume(coroutine.create(function() | |
760 | PART.Transparency = 1 | |
761 | wait(REGENRATE) | |
762 | CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/10,false) | |
763 | local REGENING = script.Regen:Clone() | |
764 | REGENING.Parent = PART | |
765 | REGENING.Enabled = true | |
766 | for i = 1, math.ceil(REGENRATE*10) do | |
767 | wait() | |
768 | ApplyAoE(PART.Position,6,1,1,0,false) | |
769 | end | |
770 | wait(REGENRATE) | |
771 | PART.Transparency = 0 | |
772 | wait(REGENRATE/5) | |
773 | REGENING.Enabled = false | |
774 | VALUE.Value = false | |
775 | Debris:AddItem(REGENING,5) | |
776 | end)) | |
777 | end | |
778 | elseif PART:IsA("JointInstance") and PARENT ~= RootPart and FULLREGEN == false then | |
779 | local VALUE = PARENT.IsRegening | |
780 | if VALUE == false then | |
781 | VALUE.Value = true | |
782 | local PART = PART.Part1 | |
783 | coroutine.resume(coroutine.create(function() | |
784 | PART.Transparency = 1 | |
785 | wait(REGENRATE) | |
786 | CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/10,false) | |
787 | local REGENING = script.Regen:Clone() | |
788 | REGENING.Parent = PART | |
789 | REGENING.Enabled = true | |
790 | for i = 1, math.ceil(REGENRATE*10) do | |
791 | wait() | |
792 | ApplyAoE(PART.Position,6,1,1,0,false) | |
793 | end | |
794 | wait(REGENRATE) | |
795 | PART.Transparency = 0 | |
796 | wait(REGENRATE/5) | |
797 | REGENING.Enabled = false | |
798 | VALUE.Value = false | |
799 | end)) | |
800 | end | |
801 | end | |
802 | end | |
803 | end | |
804 | end | |
805 | end | |
806 | ||
807 | for _, c in pairs(script.Package:GetChildren()) do | |
808 | c.Parent = Character | |
809 | end | |
810 | ||
811 | local b = IT("BodyForce",RootPart) | |
812 | b.Name = "LowGrav" | |
813 | b.force = Vector3.new(0,1500,0) | |
814 | ||
815 | local SKILLTEXTCOLOR = C3(0,0,0) | |
816 | local SKILLFONT = "Fantasy" | |
817 | local SKILLTEXTSIZE = 7 | |
818 | ||
819 | local BACKATTACHMENT1 = IT("Attachment",Torso) | |
820 | BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75) | |
821 | local BACKATTACHMENT2 = IT("Attachment",Torso) | |
822 | BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75) | |
823 | ||
824 | Humanoid.Died:Connect(FullBodyRegen) | |
825 | ||
826 | --//=================================\\ | |
827 | --|| DAMAGING | |
828 | --\\=================================// | |
829 | ||
830 | function ApplyDamage(Humanoid,Damage) | |
831 | if Humanoid.Health == math.huge then | |
832 | Humanoid.Parent:BreakJoints() | |
833 | else | |
834 | local MULTIPLY = Humanoid.MaxHealth/100 | |
835 | Damage = Damage * DAMAGEMULTIPLIER | |
836 | if Humanoid.Health ~= 0 then | |
837 | Humanoid.Health = Humanoid.Health - Damage*MULTIPLY | |
838 | end | |
839 | end | |
840 | end | |
841 | ||
842 | function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,CAMSINSTAKILL,INSTAKILL) | |
843 | local CHILDREN = workspace:GetDescendants() | |
844 | for index, CHILD in pairs(CHILDREN) do | |
845 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
846 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
847 | if HUM then | |
848 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
849 | if TORSO then | |
850 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
851 | if INSTAKILL == true or HUM.MaxHealth == math.huge then | |
852 | CHILD:BreakJoints() | |
853 | else | |
854 | local DMG = MRANDOM(MINDMG,MAXDMG) | |
855 | ApplyDamage(HUM,DMG) | |
856 | end | |
857 | if FLING > 0 then | |
858 | for _, c in pairs(CHILD:GetChildren()) do | |
859 | if c:IsA("BasePart") then | |
860 | local bv = Instance.new("BodyVelocity") | |
861 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
862 | bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING | |
863 | bv.Parent = c | |
864 | Debris:AddItem(bv,0.05) | |
865 | end | |
866 | end | |
867 | end | |
868 | end | |
869 | end | |
870 | end | |
871 | end | |
872 | end | |
873 | end | |
874 | ||
875 | --//=================================\\ | |
876 | --|| ATTACK FUNCTIONS AND STUFF | |
877 | --\\=================================// | |
878 | ||
879 | function Fireball() | |
880 | ATTACK = true | |
881 | Rooted = true | |
882 | local GYRO = IT("BodyGyro",RootPart) | |
883 | GYRO.D = 20 | |
884 | GYRO.P = 4000 | |
885 | GYRO.MaxTorque = VT(40000,40000,40000) | |
886 | local POSITION = IT("BodyPosition",RootPart) | |
887 | POSITION.Position = RootPart.Position+VT(0,2,0) | |
888 | POSITION.D = 450 | |
889 | POSITION.P = 40000 | |
890 | POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
891 | local FIRE = Particles("FistFire",RightArm,true) | |
892 | CreateSound(CHARGE,RightArm,6,1,false) | |
893 | coroutine.resume(coroutine.create(function() | |
894 | repeat | |
895 | Swait() | |
896 | GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
897 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed) | |
898 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed) | |
899 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
900 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
901 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
902 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
903 | until ATTACK == false | |
904 | FIRE.LockedToPart = false | |
905 | FIRE.Enabled = false | |
906 | Debris:AddItem(FIRE,5) | |
907 | GYRO:remove() | |
908 | POSITION:remove() | |
909 | end)) | |
910 | wait(1) | |
911 | repeat | |
912 | Particles("ExplosionFire1",RightArm,70) | |
913 | coroutine.resume(coroutine.create(function() | |
914 | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(10,10,10)) | |
915 | FIREBALL.CFrame = CF(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p) | |
916 | CreateSound(FIREBALLSOUND,FIREBALL,6,1,false) | |
917 | local FLAME = Particles("FireballFire1",FIREBALL,true) | |
918 | local FLAME2 = Particles("FireballFire2",FIREBALL,true) | |
919 | for i = 1, 250 do | |
920 | Swait() | |
921 | local HIT,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 10, Character) | |
922 | FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-5) | |
923 | if HIT then | |
924 | Particles("ExplosionFire1",FIREBALL,600) | |
925 | ApplyAoE(FIREBALL.Position,200,15,25,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true}) | |
926 | for i = 1, 3 do | |
927 | WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
928 | end | |
929 | for i = 1, 3 do | |
930 | WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
931 | end | |
932 | for i = 1, 5 do | |
933 | WACKYEFFECT({Time = 80+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(40,40,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(0, 0, 255), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
934 | end | |
935 | break | |
936 | end | |
937 | end | |
938 | FLAME.Enabled = false | |
939 | FLAME2.Enabled = false | |
940 | Debris:AddItem(FIREBALL,7) | |
941 | end)) | |
942 | wait(0.1) | |
943 | until KEYHOLD == false | |
944 | wait(0.2) | |
945 | ATTACK = false | |
946 | Rooted = false | |
947 | end | |
948 | ||
949 | function FireField() | |
950 | ATTACK = true | |
951 | Rooted = true | |
952 | local A = false | |
953 | local POSITION = IT("BodyPosition",RootPart) | |
954 | POSITION.Position = RootPart.Position+VT(0,2,0) | |
955 | POSITION.D = 450 | |
956 | POSITION.P = 40000 | |
957 | POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
958 | coroutine.resume(coroutine.create(function() | |
959 | repeat | |
960 | Swait() | |
961 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed) | |
962 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
963 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.85, -0.35) * ANGLES(RAD(120), RAD(0), RAD(-70)) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
964 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.35) * ANGLES(RAD(120), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
965 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(50), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed) | |
966 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed) | |
967 | until A == true | |
968 | repeat | |
969 | Swait() | |
970 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
971 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
972 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.4, -0.3) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
973 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.4, -0.3) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
974 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
975 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
976 | until ATTACK == false | |
977 | POSITION:remove() | |
978 | end)) | |
979 | local RANGE = 75 | |
980 | local REGENING = script.Regen2:Clone() | |
981 | REGENING.Parent = Torso | |
982 | REGENING.Enabled = true | |
983 | REGENING.Rate = 900 | |
984 | REGENING.Speed = NumberRange.new(RANGE) | |
985 | wait() | |
986 | for i = 1, 75 do | |
987 | wait() | |
988 | ApplyAoE(Torso.Position,6,1,1,0,false) | |
989 | REGENING.Speed = NumberRange.new(RANGE) | |
990 | RANGE = RANGE - (75/(math.ceil(REGENRATE*75))) | |
991 | end | |
992 | REGENING.Enabled = false | |
993 | wait(0.5) | |
994 | for i = 1, 6 do | |
995 | WACKYEFFECT({Time = 10+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(40,40,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(0, 0, 255), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
996 | end | |
997 | CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false) | |
998 | A = true | |
999 | local FLAME = Particles("Field",Torso,true) | |
1000 | FLAME.Size = NumberSequence.new(0,25) | |
1001 | FIREFIELD = true | |
1002 | local SOUND = CreateSound(BURNSOUND,Torso,10,1,true) | |
1003 | coroutine.resume(coroutine.create(function() | |
1004 | for i = 1, 20 do | |
1005 | wait(1) | |
1006 | SOUND.Parent = Torso | |
1007 | SOUND.Playing = true | |
1008 | ApplyAoE(Torso.Position,100,5,10,0,false,{SHAKE = 2, TIMER = 25, DOESFADE = true}) | |
1009 | for i = 1, 2 do | |
1010 | WACKYEFFECT({Time = 20+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(30,30,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(0, 0, 255), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1011 | end | |
1012 | if SEARING == true then | |
1013 | break | |
1014 | end | |
1015 | end | |
1016 | FIREFIELD = false | |
1017 | FLAME.Enabled = false | |
1018 | Debris:AddItem(FLAME,5) | |
1019 | SOUND:remove() | |
1020 | end)) | |
1021 | wait(1) | |
1022 | ATTACK = false | |
1023 | Rooted = false | |
1024 | end | |
1025 | ||
1026 | function SearingForm() | |
1027 | ATTACK = true | |
1028 | Rooted = true | |
1029 | local POSITION = IT("BodyPosition",RootPart) | |
1030 | POSITION.Position = RootPart.Position+VT(0,2,0) | |
1031 | POSITION.D = 450 | |
1032 | POSITION.P = 40000 | |
1033 | POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1034 | coroutine.resume(coroutine.create(function() | |
1035 | repeat | |
1036 | Swait() | |
1037 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed) | |
1038 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
1039 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.8, -0.35) * ANGLES(RAD(120), RAD(0), RAD(-70)) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1040 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.35) * ANGLES(RAD(120), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1041 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(50), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1042 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1043 | until ATTACK == false | |
1044 | end)) | |
1045 | local FIRES = {} | |
1046 | local RANGE = 75 | |
1047 | local REGENING = script.Regen2:Clone() | |
1048 | REGENING.Parent = Torso | |
1049 | REGENING.Enabled = true | |
1050 | REGENING.Rate = 900 | |
1051 | REGENING.Speed = NumberRange.new(RANGE) | |
1052 | wait() | |
1053 | for i = 1, 75 do | |
1054 | wait() | |
1055 | ApplyAoE(Torso.Position,6,1,1,0,false) | |
1056 | REGENING.Speed = NumberRange.new(RANGE) | |
1057 | RANGE = RANGE - (75/(math.ceil(REGENRATE*75))) | |
1058 | end | |
1059 | REGENING.Enabled = false | |
1060 | wait(0.5) | |
1061 | for i = 1, 6 do | |
1062 | WACKYEFFECT({Time = 10+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(40,40,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(0, 0, 255), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1063 | end | |
1064 | local BUSY = true | |
1065 | Particles("ExplosionFire1",Torso,100) | |
1066 | SEARING = true | |
1067 | local WING1 = Particles("WingFire1",BACKATTACHMENT1,true) | |
1068 | local WING2 = Particles("WingFire1",BACKATTACHMENT2,true) | |
1069 | coroutine.resume(coroutine.create(function() | |
1070 | coroutine.resume(coroutine.create(function() | |
1071 | repeat | |
1072 | wait(1) | |
1073 | ApplyAoE(Torso.Position,20,5,10,0,false,{SHAKE = 2, TIMER = 25, DOESFADE = true}) | |
1074 | until SEARING == false | |
1075 | end)) | |
1076 | repeat | |
1077 | Swait() | |
1078 | local ACCEL1 = VT(10,2-(6*COS(SINE / 24)),-6-(2*COS(SINE / 24))) | |
1079 | local ACCEL2 = VT(-10,2-(6*COS(SINE / 24)),-6-(2*COS(SINE / 24))) | |
1080 | WING1.Acceleration = ACCEL1 | |
1081 | WING2.Acceleration = ACCEL2 | |
1082 | local HIT,HITPOS = Raycast(RootPart.Position, RootPart.CFrame.lookVector, 4, Character) | |
1083 | if HIT then | |
1084 | ApplyAoE(Torso.Position,200,45,80,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true}) | |
1085 | CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false) | |
1086 | CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false) | |
1087 | for i = 1, 3 do | |
1088 | WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
1089 | end | |
1090 | for i = 1, 3 do | |
1091 | WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
1092 | end | |
1093 | Particles("ExplosionFire1",Torso,600) | |
1094 | BUSY = false | |
1095 | break | |
1096 | end | |
1097 | until SEARING == false | |
1098 | end)) | |
1099 | for _, c in pairs(Character:GetChildren()) do | |
1100 | if c:IsA("BasePart") then | |
1101 | local FLAME = Particles("BodyFire",c,true) | |
1102 | table.insert(FIRES,FLAME) | |
1103 | end | |
1104 | end | |
1105 | POSITION:remove() | |
1106 | wait() | |
1107 | ApplyAoE(Torso.Position,120,45,80,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true}) | |
1108 | CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false) | |
1109 | ATTACK = false | |
1110 | Rooted = false | |
1111 | GYRO = IT("BodyGyro",RootPart) | |
1112 | GYRO.D = 20 | |
1113 | GYRO.P = 4000 | |
1114 | GYRO.MaxTorque = VT(0,40000,0) | |
1115 | BODYPOS = IT("BodyPosition",RootPart) | |
1116 | BODYPOS.Position = RootPart.Position+VT(0,2,0) | |
1117 | BODYPOS.D = 450 | |
1118 | BODYPOS.P = 40000 | |
1119 | BODYPOS.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1120 | local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY) | |
1121 | if NEWKEY == "c" and ATTACK == false then | |
1122 | BUSY = false | |
1123 | end | |
1124 | end) | |
1125 | local HUM = Humanoid.Died:Connect(function() | |
1126 | BUSY = false | |
1127 | ApplyAoE(Torso.Position,200,45,80,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true}) | |
1128 | CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false) | |
1129 | CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false) | |
1130 | for i = 1, 3 do | |
1131 | WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
1132 | end | |
1133 | for i = 1, 3 do | |
1134 | WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
1135 | end | |
1136 | Particles("ExplosionFire1",Torso,600) | |
1137 | end) | |
1138 | repeat wait() until BUSY == false | |
1139 | for i = 1, #FIRES do | |
1140 | FIRES[i].Enabled = false | |
1141 | Debris:AddItem(FIRES[i],5) | |
1142 | end | |
1143 | HUM:disconnect() | |
1144 | WING1.Enabled = false | |
1145 | WING2.Enabled = false | |
1146 | WING1.LockedToPart = false | |
1147 | WING2.LockedToPart = false | |
1148 | Debris:AddItem(WING1,5) | |
1149 | Debris:AddItem(WING2,5) | |
1150 | KEYDOWN:disconnect() | |
1151 | SEARING = false | |
1152 | GYRO:remove() | |
1153 | BODYPOS:remove() | |
1154 | FullBodyRegen() | |
1155 | end | |
1156 | ||
1157 | function SearingOrb() | |
1158 | ATTACK = true | |
1159 | Rooted = true | |
1160 | local POSITION = IT("BodyPosition",RootPart) | |
1161 | POSITION.Position = RootPart.Position+VT(0,2,0) | |
1162 | POSITION.D = 450 | |
1163 | POSITION.P = 40000 | |
1164 | POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1165 | local FIRE = Particles("FistFire",RightArm,true) | |
1166 | local FIRE2 = Particles("FistFire",LeftArm,true) | |
1167 | CreateSound(CHARGE,Torso,6,1,false) | |
1168 | local NEWANIM = false | |
1169 | coroutine.resume(coroutine.create(function() | |
1170 | repeat | |
1171 | Swait() | |
1172 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1173 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1174 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1175 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1176 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1177 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1178 | until ATTACK == false or NEWANIM == true | |
1179 | if NEWANIM == true then | |
1180 | local GYRO = IT("BodyGyro",RootPart) | |
1181 | GYRO.D = 20 | |
1182 | GYRO.P = 4000 | |
1183 | GYRO.MaxTorque = VT(40000,40000,40000) | |
1184 | repeat | |
1185 | Swait() | |
1186 | GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
1187 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed) | |
1188 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed) | |
1189 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1190 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1191 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1192 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1193 | until ATTACK == false | |
1194 | GYRO:remove() | |
1195 | end | |
1196 | POSITION:remove() | |
1197 | FIRE.LockedToPart = false | |
1198 | FIRE.Enabled = false | |
1199 | Debris:AddItem(FIRE,5) | |
1200 | FIRE2.LockedToPart = false | |
1201 | FIRE2.Enabled = false | |
1202 | Debris:AddItem(FIRE2,5) | |
1203 | end)) | |
1204 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Alder"), "Orb", VT(0,0,0), true) | |
1205 | MakeForm(ORB,"Ball") | |
1206 | ORB.CFrame = CF(RootPart.Position+VT(0,8,0)) | |
1207 | local A = IT("Attachment",ORB) | |
1208 | local FIRES = Particles("FireballFire1",A,true) | |
1209 | FIRES.Size = NumberSequence.new(0) | |
1210 | FIRES.LockedToPart = true | |
1211 | local LOOP = 0 | |
1212 | for i = 1, 500 do | |
1213 | Swait() | |
1214 | LOOP = LOOP + 1 | |
1215 | if LOOP >= 30 then | |
1216 | LOOP = 0 | |
1217 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1218 | end | |
1219 | ORB.Size = ORB.Size + VT(0.2,0.2,0.2) | |
1220 | ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0)) | |
1221 | FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5) | |
1222 | FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2) | |
1223 | FIRES.Enabled = true | |
1224 | end | |
1225 | wait(1) | |
1226 | if KEYHOLD == false then | |
1227 | coroutine.resume(coroutine.create(function() | |
1228 | ORB.Transparency = 1 | |
1229 | FIRES.Enabled = false | |
1230 | Debris:AddItem(ORB,10) | |
1231 | ApplyAoE(ORB.Position,400,75,90,175,true,{SHAKE = 4, TIMER = 65, DOESFADE = true}) | |
1232 | CreateSound(EXPLOSIONLARGESOUND,ORB,10,1,false) | |
1233 | CreateSound(EXPLOSIONSMALLSOUND,ORB,10,1,false) | |
1234 | for i = 1, 3 do | |
1235 | WACKYEFFECT({Time = 40, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(600,700),MRANDOM(600,700),MRANDOM(600,700)), Transparency = 0, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
1236 | end | |
1237 | for i = 1, 3 do | |
1238 | WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(600,700),MRANDOM(600,700),MRANDOM(600,700)), Transparency = 0, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
1239 | end | |
1240 | Particles("ExplosionFire1",ORB,1200) | |
1241 | for i = 1, 15 do | |
1242 | WACKYEFFECT({Time = 40+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(70,70,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(0, 0, 255), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1243 | end | |
1244 | end)) | |
1245 | else | |
1246 | for i = 1, 100 do | |
1247 | Swait() | |
1248 | ORB.Size = ORB.Size - VT(0.2,0.2,0.2)*5 | |
1249 | ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0)) | |
1250 | FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5) | |
1251 | FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2) | |
1252 | end | |
1253 | ORB.Transparency = 1 | |
1254 | FIRES.Enabled = false | |
1255 | Debris:AddItem(ORB,10) | |
1256 | CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false) | |
1257 | for _, c in pairs(Character:GetChildren()) do | |
1258 | if c:IsA("BasePart") then | |
1259 | Particles("ExplosionFire2",c,25) | |
1260 | end | |
1261 | end | |
1262 | NEWANIM = true | |
1263 | wait(0.5) | |
1264 | for i = 1, 15 do | |
1265 | wait(0.1) | |
1266 | coroutine.resume(coroutine.create(function() | |
1267 | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(2,2,2)) | |
1268 | FIREBALL.CFrame = CF(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p) | |
1269 | CreateSound(FIREBALLSOUND,FIREBALL,6,1,false) | |
1270 | local FLAME = Particles("FireballFire3",FIREBALL,true) | |
1271 | for i = 1, 250 do | |
1272 | Swait() | |
1273 | local HIT,HITPOS,NORMAL = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2, Character) | |
1274 | FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-2) | |
1275 | if HIT then | |
1276 | CreateSound(EXPLOSIONSMALLSOUND,FIREBALL,10,1,false) | |
1277 | local FIELD = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Fire", VT(75,0,75), true) | |
1278 | local FIELD2 = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Fire", VT(75,0,75), true) | |
1279 | FIELD.CFrame = CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
1280 | FIELD2.CFrame = CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(45), RAD(0)) | |
1281 | coroutine.resume(coroutine.create(function() | |
1282 | local FLAMES = Particles("DebrisFire",FIELD,true) | |
1283 | local FLAMES2 = Particles("DebrisFire",FIELD2,true) | |
1284 | for i = 1, 15 do | |
1285 | wait(1) | |
1286 | ApplyAoE(FIELD.Position,FIELD.Size.X/2,5,15,0,false,{SHAKE = 4, TIMER = 65, DOESFADE = true}) | |
1287 | end | |
1288 | FLAMES.Enabled = false | |
1289 | FLAMES2.Enabled = false | |
1290 | Debris:AddItem(FIELD,5) | |
1291 | Debris:AddItem(FIELD2,5) | |
1292 | end)) | |
1293 | Particles("ExplosionFire2",FIREBALL,600) | |
1294 | break | |
1295 | end | |
1296 | end | |
1297 | FLAME.Enabled = false | |
1298 | Debris:AddItem(FIREBALL,7) | |
1299 | end)) | |
1300 | end | |
1301 | end | |
1302 | wait(0.3) | |
1303 | ATTACK = false | |
1304 | Rooted = false | |
1305 | end | |
1306 | ||
1307 | function Shroud() | |
1308 | if Mouse.Target ~= nil then | |
1309 | if Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid") then | |
1310 | local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid") | |
1311 | local TORSO = HUM.Parent:FindFirstChild("HumanoidRootPart") or HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso") | |
1312 | if TORSO and HUM.Health > 0 then | |
1313 | local DISTANCE = (RootPart.Position-TORSO.Position).Magnitude | |
1314 | if DISTANCE < 100 then | |
1315 | ATTACK = true | |
1316 | POSEIDON = false | |
1317 | Rooted = true | |
1318 | local GYRO = IT("BodyGyro",RootPart) | |
1319 | GYRO.D = 20 | |
1320 | GYRO.P = 4000 | |
1321 | GYRO.MaxTorque = VT(40000,40000,40000) | |
1322 | local POSITION = IT("BodyPosition",RootPart) | |
1323 | POSITION.Position = RootPart.Position+VT(0,2,0) | |
1324 | POSITION.D = 450 | |
1325 | POSITION.P = 40000 | |
1326 | POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1327 | local TARGETTING = true | |
1328 | local HIT = false | |
1329 | local FIRES = {} | |
1330 | for _, c in pairs(Character:GetChildren()) do | |
1331 | if c:IsA("BasePart") then | |
1332 | local FLAME = Particles("BodyFire",c,true) | |
1333 | FLAME.Rate = 15 | |
1334 | table.insert(FIRES,FLAME) | |
1335 | end | |
1336 | end | |
1337 | CreateSound(CHARGE,Torso,6,1,false) | |
1338 | coroutine.resume(coroutine.create(function() | |
1339 | repeat | |
1340 | GYRO.CFrame = CF(RootPart.Position,TORSO.Position) | |
1341 | Swait() | |
1342 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1343 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1344 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1345 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1346 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1347 | LeftHip.C0 = Clerp(LeftHip.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) | |
1348 | until TARGETTING == false | |
1349 | repeat | |
1350 | GYRO.CFrame = CF(RootPart.Position,TORSO.Position) | |
1351 | POSITION.Position = CF(RootPart.Position,TORSO.Position)*CF(0,0,-5).p | |
1352 | DISTANCE = (RootPart.Position-TORSO.Position).Magnitude | |
1353 | Swait() | |
1354 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1355 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1356 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1357 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1358 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1359 | LeftHip.C0 = Clerp(LeftHip.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) | |
1360 | until HIT == true | |
1361 | POSITION:remove() | |
1362 | GYRO:remove() | |
1363 | end)) | |
1364 | wait(0.5) | |
1365 | repeat wait() until HOLD == true | |
1366 | for _, c in pairs(Character:GetChildren()) do | |
1367 | if c:IsA("BasePart") then | |
1368 | local FLAME = Particles("BodyFire",c,true) | |
1369 | table.insert(FIRES,FLAME) | |
1370 | end | |
1371 | end | |
1372 | for _, c in pairs(Character:GetChildren()) do | |
1373 | if c:IsA("BasePart") then | |
1374 | c.Transparency = 1 | |
1375 | end | |
1376 | end | |
1377 | TARGETTING = false | |
1378 | for i = 1, 100 do | |
1379 | wait() | |
1380 | if DISTANCE < 5 or DISTANCE >= 200 then | |
1381 | break | |
1382 | end | |
1383 | end | |
1384 | HIT = true | |
1385 | if DISTANCE < 5 then | |
1386 | for i = 1, #FIRES do | |
1387 | FIRES[i].Enabled = false | |
1388 | end | |
1389 | for _, c in pairs(HUM.Parent:GetChildren()) do | |
1390 | if c:IsA("BasePart") then | |
1391 | local FLAME = Particles("BodyFire",c,true) | |
1392 | table.insert(FIRES,FLAME) | |
1393 | end | |
1394 | end | |
1395 | CreateSound(FIREBALLSOUND,Torso,6,1,false) | |
1396 | RootPart.CFrame = TORSO.CFrame | |
1397 | local WELD = weldBetween(RootPart,TORSO) | |
1398 | repeat wait() until HOLD == true | |
1399 | CreateSound(416328540,Torso,6,1,false) | |
1400 | WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.5, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
1401 | local bv = Instance.new("BodyVelocity") | |
1402 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1403 | bv.velocity = CF(TORSO.Position,TORSO.Position+VT(0,15,0)).lookVector*125 | |
1404 | bv.Parent = TORSO | |
1405 | for i = 1, 70 do | |
1406 | wait(0.1) | |
1407 | if TORSO.Parent == nil then | |
1408 | break | |
1409 | end | |
1410 | WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.5, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(180),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
1411 | end | |
1412 | UNANCHOR = false | |
1413 | bv:remove() | |
1414 | wait(1) | |
1415 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(45,1,45), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(180),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1416 | CreateSound(FIREBALLSOUND,Torso,6,1,false) | |
1417 | UNANCHOR = true | |
1418 | local bv = Instance.new("BodyVelocity") | |
1419 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1420 | bv.velocity = CF(TORSO.Position,TORSO.Position-VT(0,15,0)).lookVector*450 | |
1421 | bv.Parent = TORSO | |
1422 | local LANDED = false | |
1423 | for i = 1, 500 do | |
1424 | wait() | |
1425 | Ignore = {Character,HUM.Parent} | |
1426 | WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.5, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
1427 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
1428 | local HITFLOOR = CastProperRay(TORSO.Position, TORSO.Position-VT(0,1,0), 10*(TORSO.Size.Y), Ignore) | |
1429 | if HITFLOOR or FULLREGEN == true then | |
1430 | LANDED = true | |
1431 | break | |
1432 | end | |
1433 | if TORSO.Parent == nil then | |
1434 | break | |
1435 | end | |
1436 | end | |
1437 | if TORSO.Parent ~= nil then | |
1438 | UNANCHOR = false | |
1439 | bv:remove() | |
1440 | wait(1) | |
1441 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(45,1,45), Transparency = 0.2, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(180),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Relly blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1442 | CreateSound(FIREBALLSOUND,Torso,6,1,false) | |
1443 | UNANCHOR = true | |
1444 | local bv = Instance.new("BodyVelocity") | |
1445 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1446 | bv.velocity = CF(TORSO.Position,TORSO.Position-VT(0,15,0)).lookVector*450 | |
1447 | bv.Parent = TORSO | |
1448 | local LANDED = false | |
1449 | for i = 1, 500 do | |
1450 | wait() | |
1451 | Ignore = {Character,HUM.Parent} | |
1452 | WACKYEFFECT({Time = 15, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.9, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
1453 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
1454 | local HITFLOOR = CastProperRay(TORSO.Position, TORSO.Position-VT(0,1,0), 10*(TORSO.Size.Y), Ignore) | |
1455 | if HITFLOOR or FULLREGEN == true then | |
1456 | LANDED = true | |
1457 | break | |
1458 | end | |
1459 | if TORSO.Parent == nil then | |
1460 | break | |
1461 | end | |
1462 | end | |
1463 | bv:remove() | |
1464 | if LANDED == true then | |
1465 | UNANCHOR = false | |
1466 | for i = 1, 10 do | |
1467 | ApplyAoE(TORSO.Position+VT(0,1,0),10+(2*i),15,15,45,true,{SHAKE = 4, TIMER = 65, DOESFADE = true}) | |
1468 | end | |
1469 | CreateSound(EXPLOSIONLARGESOUND,TORSO,10,1,false) | |
1470 | CreateSound(EXPLOSIONSMALLSOUND,TORSO,10,1,false) | |
1471 | Particles("ExplosionFire1",TORSO,120) | |
1472 | for i = 1, 15 do | |
1473 | WACKYEFFECT({Time = 40+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(70,70,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(0, 0, 255), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1474 | end | |
1475 | WELD:remove() | |
1476 | wait(0.3) | |
1477 | UNANCHOR = true | |
1478 | else | |
1479 | WELD:remove() | |
1480 | end | |
1481 | end | |
1482 | end | |
1483 | for i = 1, #FIRES do | |
1484 | FIRES[i].Enabled = false | |
1485 | Debris:AddItem(FIRES[i],5) | |
1486 | end | |
1487 | for _, c in pairs(Character:GetChildren()) do | |
1488 | if c:IsA("BasePart") and c ~= RootPart then | |
1489 | c.Transparency = 0 | |
1490 | end | |
1491 | end | |
1492 | RootPart.Velocity = VT(0,0,0) | |
1493 | ATTACK = false | |
1494 | Rooted = false | |
1495 | end | |
1496 | end | |
1497 | end | |
1498 | end | |
1499 | end | |
1500 | ||
1501 | function Spitter() | |
1502 | ATTACK = true | |
1503 | Rooted = true | |
1504 | local GYRO = IT("BodyGyro",RootPart) | |
1505 | GYRO.D = 20 | |
1506 | GYRO.P = 4000 | |
1507 | GYRO.MaxTorque = VT(40000,40000,40000) | |
1508 | local POSITION = IT("BodyPosition",RootPart) | |
1509 | POSITION.Position = RootPart.Position+VT(0,2,0) | |
1510 | POSITION.D = 450 | |
1511 | POSITION.P = 40000 | |
1512 | POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1513 | local FIRE = Particles("FistFire",RightArm,true) | |
1514 | CreateSound(CHARGE,RightArm,6,0.8,false) | |
1515 | coroutine.resume(coroutine.create(function() | |
1516 | repeat | |
1517 | Swait() | |
1518 | GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
1519 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed) | |
1520 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed) | |
1521 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1522 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1523 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1524 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1525 | until ATTACK == false | |
1526 | FIRE.LockedToPart = false | |
1527 | FIRE.Enabled = false | |
1528 | Debris:AddItem(FIRE,5) | |
1529 | GYRO:remove() | |
1530 | POSITION:remove() | |
1531 | end)) | |
1532 | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Realll blue"), "Orb", VT(0,0,0), true) | |
1533 | MakeForm(FIREBALL,"Ball") | |
1534 | FIREBALL.CFrame = RightArm.CFrame*CF(0,-1,0) | |
1535 | local CORE = IT("Attachment",FIREBALL) | |
1536 | local FIRES = Particles("FireballFire1",CORE,true) | |
1537 | FIRES.Size = NumberSequence.new(0) | |
1538 | FIRES.LockedToPart = true | |
1539 | local LOOP = 0 | |
1540 | repeat | |
1541 | Swait() | |
1542 | LOOP = LOOP + 1 | |
1543 | if LOOP == 20 then | |
1544 | LOOP = 0 | |
1545 | WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X,FIREBALL.Size.X/2,FIREBALL.Size.X)*3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = FIREBALL.Position-VT(0,FIREBALL.Size.Y/4,0), RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
1546 | end | |
1547 | if FIREBALL.Size.X < 20 then | |
1548 | FIREBALL.Size = FIREBALL.Size + VT(0.1,0.1,0.1) | |
1549 | FIRES.Size = NumberSequence.new(FIREBALL.Size.Y/1.5) | |
1550 | FIRES.Speed = NumberRange.new(0,FIREBALL.Size.Y/2) | |
1551 | end | |
1552 | FIRES.Enabled = true | |
1553 | FIREBALL.CFrame = RightArm.CFrame*CF(0,-1-FIREBALL.Size.Z/2,0) | |
1554 | until KEYHOLD == false and FIREBALL.Size.X >= 10 | |
1555 | CreateSound(FIREBALLSOUND,FIREBALL,10,0.8,false) | |
1556 | coroutine.resume(coroutine.create(function() | |
1557 | FIREBALL.CFrame = CF(FIREBALL.Position,Mouse.Hit.p) | |
1558 | local RANGE = 75 | |
1559 | local FLAME = Particles("Field",CORE,true) | |
1560 | FLAME.Speed = NumberRange.new(0,FIREBALL.Size.X*5) | |
1561 | FLAME.Size = NumberSequence.new(0,25) | |
1562 | for i = 1, 600 do | |
1563 | LOOP = LOOP + 1 | |
1564 | if LOOP == 20 then | |
1565 | LOOP = 0 | |
1566 | ApplyAoE(FIREBALL.Position,FIREBALL.Size.X*5,5,25,0,false) | |
1567 | WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X,FIREBALL.Size.X/2,FIREBALL.Size.X)*3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = FIREBALL.Position-VT(0,FIREBALL.Size.Y/4,0), RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
1568 | end | |
1569 | Swait() | |
1570 | FIREBALL.CFrame = CF(FIREBALL.Position,FIREBALL.CFrame*CF(0,-0.001,-1).p)*CF(0,0,-0.2) | |
1571 | local HIT,HITPOS,NORMAL = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, FIREBALL.Size.X/2.5, Character) | |
1572 | if HIT then | |
1573 | ApplyAoE(FIREBALL.Position,FIREBALL.Size.X*12,75,90,375,true,{SHAKE = 4, TIMER = 65, DOESFADE = true}) | |
1574 | CreateSound(EXPLOSIONLARGESOUND,FIREBALL,10,1,false) | |
1575 | CreateSound(EXPLOSIONSMALLSOUND,FIREBALL,10,1,false) | |
1576 | for i = 1, 3 do | |
1577 | WACKYEFFECT({Time = 40, EffectType = "Sphere", Size = VT(0,0,0), Size2 = FIREBALL.Size*MRANDOM(18,25), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
1578 | end | |
1579 | for i = 1, 3 do | |
1580 | WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = FIREBALL.Size*MRANDOM(18,25), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
1581 | end | |
1582 | Particles("ExplosionFire1",FIREBALL,1200) | |
1583 | for i = 1, 15 do | |
1584 | WACKYEFFECT({Time = 40+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X*10,FIREBALL.Size.X*10,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(0, 0, 255), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1585 | end | |
1586 | break | |
1587 | end | |
1588 | end | |
1589 | FLAME.Enabled = false | |
1590 | FIRES.Enabled = false | |
1591 | for i = 1, 10 do | |
1592 | Swait() | |
1593 | FIREBALL.Mesh.Scale = FIREBALL.Mesh.Scale - VT(0.1,0.1,0.1) | |
1594 | end | |
1595 | Debris:AddItem(FIREBALL,5) | |
1596 | end)) | |
1597 | wait(0.5) | |
1598 | ATTACK = false | |
1599 | Rooted = false | |
1600 | end | |
1601 | ||
1602 | function Devastor() | |
1603 | ATTACK = true | |
1604 | Rooted = true | |
1605 | local POSITION = IT("BodyPosition",RootPart) | |
1606 | POSITION.Position = RootPart.Position+VT(0,2,0) | |
1607 | POSITION.D = 450 | |
1608 | POSITION.P = 40000 | |
1609 | POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1610 | local FIRE = Particles("FistFire",RightArm,true) | |
1611 | local FIRE2 = Particles("FistFire",LeftArm,true) | |
1612 | CreateSound(CHARGE,Torso,6,1,false) | |
1613 | local NEWANIM = false | |
1614 | coroutine.resume(coroutine.create(function() | |
1615 | repeat | |
1616 | Swait() | |
1617 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1618 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1619 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
1620 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
1621 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1622 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1623 | until ATTACK == false or NEWANIM == true | |
1624 | if NEWANIM == true then | |
1625 | local GYRO = IT("BodyGyro",RootPart) | |
1626 | GYRO.D = 20 | |
1627 | GYRO.P = 4000 | |
1628 | GYRO.MaxTorque = VT(40000,40000,40000) | |
1629 | repeat | |
1630 | Swait() | |
1631 | GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
1632 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed) | |
1633 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed) | |
1634 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1635 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1636 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1637 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1638 | until ATTACK == false | |
1639 | GYRO:remove() | |
1640 | end | |
1641 | POSITION:remove() | |
1642 | FIRE.LockedToPart = false | |
1643 | FIRE.Enabled = false | |
1644 | Debris:AddItem(FIRE,5) | |
1645 | FIRE2.LockedToPart = false | |
1646 | FIRE2.Enabled = false | |
1647 | Debris:AddItem(FIRE2,5) | |
1648 | end)) | |
1649 | local FIRETABLE = {} | |
1650 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really blue"), "Orb", VT(0,0,0), true) | |
1651 | MakeForm(ORB,"Ball") | |
1652 | ORB.CFrame = CF(RootPart.Position+VT(0,8,0)) | |
1653 | local A = IT("Attachment",ORB) | |
1654 | local FIRES = Particles("FireballFire1",A,true) | |
1655 | FIRES.Size = NumberSequence.new(0) | |
1656 | FIRES.LockedToPart = true | |
1657 | local LOOP = 0 | |
1658 | for i = 1, 200 do | |
1659 | Swait() | |
1660 | LOOP = LOOP + 1 | |
1661 | if LOOP >= 30 then | |
1662 | LOOP = 0 | |
1663 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1664 | end | |
1665 | ORB.Size = ORB.Size + VT(0.2,0.2,0.2) | |
1666 | ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0)) | |
1667 | FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5) | |
1668 | FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2) | |
1669 | FIRES.Enabled = true | |
1670 | end | |
1671 | RightArm.Transparency = 1 | |
1672 | LeftArm.Transparency = 1 | |
1673 | FIRE.Enabled = false | |
1674 | FIRE2.Enabled = false | |
1675 | for _, c in pairs(Character:GetChildren()) do | |
1676 | if c:IsA("BasePart") then | |
1677 | local FLAME = Particles("BodyFire",c,true) | |
1678 | table.insert(FIRETABLE,FLAME) | |
1679 | end | |
1680 | end | |
1681 | CreateSound(CHARGE,Torso,6,0.5,false) | |
1682 | for i = 1, 200 do | |
1683 | Swait() | |
1684 | LOOP = LOOP + 1 | |
1685 | if LOOP >= 30 then | |
1686 | LOOP = 0 | |
1687 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1688 | end | |
1689 | ORB.Size = ORB.Size + VT(0.2,0.2,0.2) | |
1690 | ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0)) | |
1691 | FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5) | |
1692 | FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2) | |
1693 | FIRES.Enabled = true | |
1694 | end | |
1695 | for _, c in pairs(Character:GetChildren()) do | |
1696 | if c:IsA("BasePart") then | |
1697 | c.Transparency = 1 | |
1698 | end | |
1699 | end | |
1700 | for i = 1, #FIRETABLE do | |
1701 | FIRETABLE[i].Enabled = false | |
1702 | Debris:AddItem(FIRETABLE[i],5) | |
1703 | end | |
1704 | for i = 1, 400 do | |
1705 | Swait() | |
1706 | LOOP = LOOP + 1 | |
1707 | if LOOP >= 30 then | |
1708 | LOOP = 0 | |
1709 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1710 | end | |
1711 | ORB.Size = ORB.Size + VT(0.2,0.2,0.2) | |
1712 | ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0)) | |
1713 | FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5) | |
1714 | FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2) | |
1715 | FIRES.Enabled = true | |
1716 | end | |
1717 | wait(0.5) | |
1718 | FIRES.Lifetime = NumberRange.new(2,5) | |
1719 | FIRES.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,ORB.Size.Y/1.5),NumberSequenceKeypoint.new(0.5,ORB.Size.Y/2),NumberSequenceKeypoint.new(1,0)}) | |
1720 | FIRES.LockedToPart = false | |
1721 | CreateSound(FIREBALLSOUND,Effects,4,1,false) | |
1722 | coroutine.resume(coroutine.create(function() | |
1723 | ORB.CFrame = CF(ORB.Position,Mouse.Hit.p) | |
1724 | for i = 1, 1200 do | |
1725 | Swait() | |
1726 | ORB.CFrame = ORB.CFrame*CF(0,0,-1) | |
1727 | local HIT,HITPOS = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X/2.5, Character) | |
1728 | if HIT then | |
1729 | break | |
1730 | end | |
1731 | end | |
1732 | for i = 1, 6 do | |
1733 | ApplyAoE(ORB.Position,ORB.Size.X*10,75,90,375,true,{SHAKE = 4, TIMER = 65, DOESFADE = true}) | |
1734 | CreateSound(EXPLOSIONLARGESOUND,Effects,2,1,false) | |
1735 | CreateSound(EXPLOSIONSMALLSOUND,Effects,4,1,false) | |
1736 | for i = 1, 3 do | |
1737 | WACKYEFFECT({Time = 160, EffectType = "Sphere", Size = VT(0,0,0), Size2 = ORB.Size*MRANDOM(5,20), Transparency = 0.6, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
1738 | end | |
1739 | for i = 1, 3 do | |
1740 | WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(0,0,0), Size2 = ORB.Size*MRANDOM(5,20), Transparency = 0.6, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)}) | |
1741 | end | |
1742 | for i = 1, 15 do | |
1743 | WACKYEFFECT({Time = 120+(i*5), EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(ORB.Size.X*30,15,ORB.Size.X*30), Transparency = 0.8, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
1744 | end | |
1745 | wait(1) | |
1746 | end | |
1747 | FIRES.Enabled = false | |
1748 | for i = 1, 10 do | |
1749 | Swait() | |
1750 | ORB.Mesh.Scale = ORB.Mesh.Scale - VT(0.1,0.1,0.1) | |
1751 | end | |
1752 | Debris:AddItem(ORB,5) | |
1753 | end)) | |
1754 | wait(1) | |
1755 | FullBodyRegen() | |
1756 | ATTACK = false | |
1757 | Rooted = false | |
1758 | end | |
1759 | ||
1760 | --//=================================\\ | |
1761 | --|| MISC | |
1762 | --\\=================================// | |
1763 | ||
1764 | function Lock() | |
1765 | ATTACK = true | |
1766 | Rooted = true | |
1767 | local GYRO = IT("BodyGyro",RootPart) | |
1768 | GYRO.D = 50 | |
1769 | GYRO.P = 4000 | |
1770 | GYRO.MaxTorque = VT(40000,40000,40000) | |
1771 | local POSITION = IT("BodyPosition",RootPart) | |
1772 | POSITION.Position = RootPart.Position+VT(0,1,0) | |
1773 | POSITION.D = 450 | |
1774 | POSITION.P = 40000 | |
1775 | POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1776 | local FLINT = FLINTLOCK:Clone() | |
1777 | FLINTLOCK.Transparency = 1 | |
1778 | FLINT.Parent = Character | |
1779 | local SHOT = false | |
1780 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, FLINT, CF(-0.05,-1.65,0) * ANGLES(RAD(180),RAD(0),RAD(0)), CF(0, 0, 0)) | |
1781 | coroutine.resume(coroutine.create(function() | |
1782 | repeat | |
1783 | Swait() | |
1784 | GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
1785 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1786 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1787 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1788 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1789 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1790 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1791 | until SHOT == true | |
1792 | CreateSound(213603013,RightArm,4,1,false) | |
1793 | local FROM = FLINT.CFrame*CF(0,1.043,0.231).p | |
1794 | local Ignore = Character | |
1795 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
1796 | local TO = Mouse.Hit.p | |
1797 | local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Ignore) | |
1798 | if AIMHIT ~= nil then | |
1799 | if AIMHIT.Parent ~= Character then | |
1800 | if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then | |
1801 | local HUM = AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") | |
1802 | if HUM then | |
1803 | ApplyDamage(HUM,MRANDOM(70,90)) | |
1804 | end | |
1805 | end | |
1806 | end | |
1807 | end | |
1808 | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Pearl", "Arrow", VT(0,0,0)) | |
1809 | MakeForm(TRAIL,"Cyl") | |
1810 | local DIST = (FLINT.CFrame*CF(0,1.043,0.231).p - AIMPOS).Magnitude | |
1811 | TRAIL.Size = VT(0.1,DIST,0.1) | |
1812 | TRAIL.CFrame = CF(FLINT.CFrame*CF(0,1.043,0.231).p, AIMPOS) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
1813 | coroutine.resume(coroutine.create(function() | |
1814 | for i = 1, 5 do | |
1815 | Swait() | |
1816 | TRAIL.Transparency = TRAIL.Transparency + 0.1 | |
1817 | end | |
1818 | TRAIL:remove() | |
1819 | end)) | |
1820 | repeat | |
1821 | Swait() | |
1822 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1823 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1824 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1825 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1826 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1827 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1828 | until ATTACK == false | |
1829 | GYRO:remove() | |
1830 | POSITION:remove() | |
1831 | FLINT:remove() | |
1832 | FLINTLOCK.Transparency = 0 | |
1833 | end)) | |
1834 | wait(0.3) | |
1835 | SHOT = true | |
1836 | wait(0.5) | |
1837 | ATTACK = false | |
1838 | Rooted = false | |
1839 | end | |
1840 | ||
1841 | function Jupiter() | |
1842 | ATTACK = true | |
1843 | Rooted = true | |
1844 | local POSITION = IT("BodyPosition",RootPart) | |
1845 | POSITION.Position = RootPart.Position+VT(0,0.2,0) | |
1846 | POSITION.D = 450 | |
1847 | POSITION.P = 40000 | |
1848 | POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1849 | coroutine.resume(coroutine.create(function() | |
1850 | repeat | |
1851 | Swait() | |
1852 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed) | |
1853 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed) | |
1854 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
1855 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
1856 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.25) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) | |
1857 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.4) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed) | |
1858 | until ATTACK == false | |
1859 | end)) | |
1860 | wait(0.5) | |
1861 | repeat wait() until KEYHOLD == false | |
1862 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(35,4,35), Transparency = 0.3, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = 431105970, SoundPitch = 1, SoundVolume = 10}) | |
1863 | POSITION:remove() | |
1864 | RootPart.Velocity = VT(0,150,0) | |
1865 | ATTACK = false | |
1866 | Rooted = false | |
1867 | end | |
1868 | ||
1869 | function Taunt() | |
1870 | ATTACK = true | |
1871 | Rooted = true | |
1872 | local TAUNT = CreateSound(159882635,Torso,10,1,false) | |
1873 | coroutine.resume(coroutine.create(function() | |
1874 | repeat | |
1875 | Swait() | |
1876 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1877 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1878 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1879 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1880 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1881 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
1882 | until ATTACK == false | |
1883 | end)) | |
1884 | repeat wait() until TAUNT.Playing == false | |
1885 | ATTACK = false | |
1886 | Rooted = false | |
1887 | end | |
1888 | ||
1889 | --//=================================\\ | |
1890 | --|| ASSIGN THINGS TO KEYS | |
1891 | --\\=================================// | |
1892 | ||
1893 | function MouseDown(Mouse) | |
1894 | HOLD = true | |
1895 | if ATTACK == false then | |
1896 | end | |
1897 | end | |
1898 | ||
1899 | function MouseUp(Mouse) | |
1900 | HOLD = false | |
1901 | end | |
1902 | ||
1903 | local MUSIC = CreateSound(285883918,Character,3,1,true) | |
1904 | ||
1905 | function KeyDown(Key) | |
1906 | KEYHOLD = true | |
1907 | if ATTACK == false and FULLREGEN == false then | |
1908 | if Key == "z" then | |
1909 | Fireball() | |
1910 | end | |
1911 | ||
1912 | if Key == "b" and FIREFIELD == false and SEARING == false then | |
1913 | FireField() | |
1914 | end | |
1915 | ||
1916 | if Key == "c" and SEARING == false then | |
1917 | SearingForm() | |
1918 | end | |
1919 | ||
1920 | if Key == "v" and SEARING == false then | |
1921 | SearingOrb() | |
1922 | end | |
1923 | ||
1924 | if Key == "q" and SEARING == false then | |
1925 | Shroud() | |
1926 | end | |
1927 | ||
1928 | if Key == "x" and SEARING == false then | |
1929 | Jupiter() | |
1930 | wait(2) | |
1931 | Devastor() | |
1932 | end | |
1933 | ||
1934 | if Key == "e" then | |
1935 | Spitter() | |
1936 | end | |
1937 | ||
1938 | if Key == "g" then | |
1939 | Lock() | |
1940 | end | |
1941 | ||
1942 | if Key == "j" then | |
1943 | Jupiter() | |
1944 | end | |
1945 | ||
1946 | if Key == "t" and SEARING == false then | |
1947 | Taunt() | |
1948 | end | |
1949 | ||
1950 | if Key == "h" then | |
1951 | if POSEIDON == false then | |
1952 | POSEIDON = true | |
1953 | CreateSound(POSEIDONSOUND,Torso,5,MRANDOM(8,12)/10,false) | |
1954 | else | |
1955 | POSEIDON = false | |
1956 | end | |
1957 | end | |
1958 | end | |
1959 | ||
1960 | if Key == "w" and ATTACK == false and SEARING == true and VALUE2 == false then | |
1961 | repeat | |
1962 | VALUE2 = true | |
1963 | Swait() | |
1964 | BODYPOS.Position = RootPart.CFrame*CF(0,0,-5).p | |
1965 | until KEYHOLD == false | |
1966 | VALUE2 = false | |
1967 | end | |
1968 | ||
1969 | if string.byte(Key) == 50 and ATTACK == false then | |
1970 | if Speed == 16 then | |
1971 | Speed = 45 | |
1972 | elseif Speed == 45 then | |
1973 | Speed = 16 | |
1974 | end | |
1975 | end | |
1976 | ||
1977 | if Key == "1" then | |
1978 | MUSIC:Play() | |
1979 | CHOSENSONG = CHOSENSONG + 1 | |
1980 | if CHOSENSONG > #SONGS then | |
1981 | CHOSENSONG = 1 | |
1982 | end | |
1983 | end | |
1984 | end | |
1985 | ||
1986 | function KeyUp(Key) | |
1987 | KEYHOLD = false | |
1988 | end | |
1989 | ||
1990 | Mouse.Button1Down:connect(function(NEWKEY) | |
1991 | MouseDown(NEWKEY) | |
1992 | end) | |
1993 | Mouse.Button1Up:connect(function(NEWKEY) | |
1994 | MouseUp(NEWKEY) | |
1995 | end) | |
1996 | Mouse.KeyDown:connect(function(NEWKEY) | |
1997 | KeyDown(NEWKEY) | |
1998 | end) | |
1999 | Mouse.KeyUp:connect(function(NEWKEY) | |
2000 | KeyUp(NEWKEY) | |
2001 | end) | |
2002 | ||
2003 | --//=================================\\ | |
2004 | --\\=================================// | |
2005 | ||
2006 | function unanchor() | |
2007 | if UNANCHOR == true then | |
2008 | for _, c in pairs(Character:GetChildren()) do | |
2009 | if c:IsA("BasePart") then | |
2010 | c.Anchored = false | |
2011 | end | |
2012 | end | |
2013 | else | |
2014 | for _, c in pairs(Character:GetChildren()) do | |
2015 | if c:IsA("BasePart") then | |
2016 | c.Anchored = true | |
2017 | end | |
2018 | end | |
2019 | end | |
2020 | end | |
2021 | ||
2022 | --//=================================\\ | |
2023 | --|| WRAP THE WHOLE SCRIPT UP | |
2024 | --\\=================================// | |
2025 | ||
2026 | Humanoid.Changed:connect(function(Jump) | |
2027 | if Jump == "Jump" and (Disable_Jump == true) then | |
2028 | Humanoid.Jump = false | |
2029 | end | |
2030 | end) | |
2031 | ||
2032 | local LOOP = 0 | |
2033 | ||
2034 | while true do | |
2035 | Swait() | |
2036 | if Character:FindFirstChildOfClass("Humanoid") == nil then | |
2037 | Humanoid = IT("Humanoid",Character) | |
2038 | end | |
2039 | Effects.Parent = Character | |
2040 | script.Parent = WEAPONGUI | |
2041 | ANIMATE.Parent = nil | |
2042 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
2043 | v:Stop(); | |
2044 | end | |
2045 | SINE = SINE + CHANGE | |
2046 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
2047 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
2048 | Ignore = {Torso,RootPart,RightLeg,LeftLeg,RightLeg,Head,RightArm,LeftArm,Effects} | |
2049 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
2050 | local HITFLOOR,HITPOS = CastProperRay(RootPart.Position, RootPart.Position-VT(0,15,0), 4, Ignore) | |
2051 | local WALKSPEEDVALUE = 5 | |
2052 | if SEARING == false then | |
2053 | if ANIM == "Walk" and TORSOVELOCITY > 1 and SEARING == false and Rooted == false then | |
2054 | if Humanoid.WalkSpeed <= 20 then | |
2055 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.05 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * 1 / Animation_Speed) | |
2056 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2057 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.05 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2 -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed) | |
2058 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.05 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2 +0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed) | |
2059 | elseif SEARING == false and Humanoid.WalkSpeed > 20 and Rooted == false then | |
2060 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / (2*1.3)))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * 1 / Animation_Speed) | |
2061 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / (2*1.3)))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
2062 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE*1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE*(2*1.3)), -0.125 * COS(SINE / WALKSPEEDVALUE*1.3) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE*1.3)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(75 * COS(SINE / WALKSPEEDVALUE*1.3))), 0.5 / Animation_Speed) | |
2063 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE*1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE*(2*1.3)), 0.125 * COS(SINE / WALKSPEEDVALUE*1.3) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE*1.3)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(75 * COS(SINE / WALKSPEEDVALUE*1.3))), 0.5 / Animation_Speed) | |
2064 | end | |
2065 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or SEARING == true or Rooted == true then | |
2066 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2067 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2068 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2069 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2070 | end | |
2071 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
2072 | ANIM = "Jump" | |
2073 | if ATTACK == false then | |
2074 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2075 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2076 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-5), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2077 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2078 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2079 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2080 | end | |
2081 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
2082 | ANIM = "Fall" | |
2083 | if ATTACK == false then | |
2084 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(8*COS(SINE / 6))), 1 / Animation_Speed) | |
2085 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-8*COS(SINE / 6))), 1 / Animation_Speed) | |
2086 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(110)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2087 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2088 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2089 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2090 | end | |
2091 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
2092 | ANIM = "Idle" | |
2093 | if ATTACK == false then | |
2094 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed) | |
2095 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
2096 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.70, 0.05) * ANGLES(RAD(-15 - 2 * COS(SINE / 12)), RAD(-25), RAD(-10 - 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2097 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.70, 0.05) * ANGLES(RAD(-15 - 1 * COS(SINE / 12)), RAD(25), RAD(20 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2098 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(50), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2099 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2100 | end | |
2101 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
2102 | ANIM = "Walk" | |
2103 | if ATTACK == false then | |
2104 | if Humanoid.WalkSpeed <= 20 then | |
2105 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2106 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2107 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.70, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.85 / Animation_Speed) | |
2108 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.70, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.85 / Animation_Speed) | |
2109 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
2110 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
2111 | elseif Humanoid.WalkSpeed > 20 then | |
2112 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2113 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2114 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.70, 0) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE*1.3)), RAD(0), RAD(2)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2115 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.70, 0) * ANGLES(RAD(35), RAD(-35), RAD(0)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE*1.3)), RAD(0), RAD(-2)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2116 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(6)), 2 / Animation_Speed) | |
2117 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-6)), 2 / Animation_Speed) | |
2118 | end | |
2119 | end | |
2120 | end | |
2121 | elseif SEARING == true then | |
2122 | if APPLYGYRO == true then | |
2123 | if VALUE2 == false and DIRECTTURN == false then | |
2124 | if GYRO ~= nil then | |
2125 | GYRO.MaxTorque = VT(0,40000,0) | |
2126 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2127 | end | |
2128 | else | |
2129 | if GYRO ~= nil then | |
2130 | GYRO.MaxTorque = VT(80000,40000,80000) | |
2131 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2132 | end | |
2133 | end | |
2134 | end | |
2135 | if VALUE2 == false and ATTACK == false then | |
2136 | ANIM = "IdleFlight" | |
2137 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
2138 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2139 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2140 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2141 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2142 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2143 | elseif VALUE2 == true and ATTACK == false then | |
2144 | ANIM = "Flight" | |
2145 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2146 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2147 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed) | |
2148 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2149 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2150 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2151 | end | |
2152 | end | |
2153 | unanchor() | |
2154 | Humanoid.MaxHealth = "inf" | |
2155 | Humanoid.Health = "inf" | |
2156 | if Rooted == false then | |
2157 | Disable_Jump = false | |
2158 | Humanoid.WalkSpeed = Speed | |
2159 | elseif Rooted == true then | |
2160 | Disable_Jump = true | |
2161 | Humanoid.WalkSpeed = 0 | |
2162 | end | |
2163 | Regen() | |
2164 | if Head:FindFirstChild("face") then | |
2165 | Head.face.Texture = "rbxassetid://120463437" | |
2166 | Head.face.Transparency = Head.Transparency | |
2167 | end | |
2168 | for _, c in pairs(Character:GetDescendants()) do | |
2169 | if c.ClassName == "Attachment" and c ~= BACKATTACHMENT1 and c ~= BACKATTACHMENT2 and c.Parent.Parent ~= Effects then | |
2170 | c:remove() | |
2171 | end | |
2172 | if c.ClassName == "ParticleEmitter" then | |
2173 | if c.Name ~= "Regen" and c.Name ~= "Regen2" and c.Name ~= "CurseParticles" and c.Parent.Parent == Character then | |
2174 | c:remove() | |
2175 | end | |
2176 | end | |
2177 | if c and c.Parent then | |
2178 | if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then | |
2179 | local ACCESSORY = c.Parent | |
2180 | c.Parent = Character | |
2181 | local REGENVALUE = IT("BoolValue",c) | |
2182 | REGENVALUE.Name = "IsRegening" | |
2183 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE}) | |
2184 | if c then | |
2185 | if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then | |
2186 | local WELD = weldBetween(Head,c) | |
2187 | table.insert(BODY,{WELD,c,nil,nil,nil,nil,nil,nil}) | |
2188 | else | |
2189 | local WELD = weldBetween(Torso,c) | |
2190 | table.insert(BODY,{WELD,c,nil,nil,nil,nil,nil,nil}) | |
2191 | end | |
2192 | end | |
2193 | ACCESSORY:remove() | |
2194 | end | |
2195 | end | |
2196 | end | |
2197 | for _, c in pairs(Character:GetChildren()) do | |
2198 | if SEARING == true and c:IsA("BasePart") then | |
2199 | c.Transparency = 1 | |
2200 | end | |
2201 | end | |
2202 | MUSIC.Parent = Character | |
2203 | MUSIC.SoundId = "rbxassetid://"..SONGS[CHOSENSONG] | |
2204 | MUSIC.Pitch = 1 | |
2205 | if CHOSENSONG ~= 5 then | |
2206 | MUSIC.Volume = 2 | |
2207 | else | |
2208 | MUSIC.Volume = 4 | |
2209 | end | |
2210 | MUSIC.Playing = true | |
2211 | if POSEIDON == true and FULLREGEN == false then | |
2212 | LOOP = LOOP + 1 | |
2213 | local FLOOR = CreatePart(3, SpecialEffects, "Neon", 0, 1, BRICKC("Pearl"), "Floor", VT(15,0,15), true) | |
2214 | FLOOR.CFrame = CF(HITPOS-VT(0,0.025,0)) | |
2215 | FLOOR.CanCollide = true | |
2216 | Debris:AddItem(FLOOR,0.2) | |
2217 | local FLOOR = CreatePart(3, SpecialEffects, "Neon", 0, 1, BRICKC("Pearl"), "Floor", VT(15,0,15), true) | |
2218 | FLOOR.CFrame = CF(HITPOS-VT(0,0.025,0))*ANGLES(RAD(0),RAD(45),RAD(0)) | |
2219 | FLOOR.CanCollide = true | |
2220 | Debris:AddItem(FLOOR,0.2) | |
2221 | if LOOP >= 5 then | |
2222 | LOOP = 0 | |
2223 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(15,1,15), Transparency = 0.7, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = HITPOS+VT(0,0.45,0), RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2224 | end | |
2225 | end | |
2226 | RootJoint.Parent = RootPart | |
2227 | Humanoid.DisplayDistanceType = "None" | |
2228 | Humanoid.Name = "" | |
2229 | end | |
2230 | ||
2231 | --//=================================\\ | |
2232 | --\\=================================// | |
2233 | ||
2234 | ||
2235 | ||
2236 | ||
2237 | ||
2238 | --//====================================================\\-- | |
2239 | --|| END OF SCRIPT | |
2240 | --\\====================================================//-- | |
2241 | end)) | |
2242 | ParticleEmitter1.Name = "Regen" | |
2243 | ParticleEmitter1.Parent = LocalScript0 | |
2244 | ParticleEmitter1.Speed = NumberRange.new(1, 1) | |
2245 | ParticleEmitter1.Rotation = NumberRange.new(0, 360) | |
2246 | ParticleEmitter1.Color = ColorSequence.new(Color3.new(0, 0, 255),Color3.new(0, 0, 255),Color3.new(0, 0, 255)) | |
2247 | ParticleEmitter1.Enabled = false | |
2248 | ParticleEmitter1.LightEmission = 0.89999997615814 | |
2249 | ParticleEmitter1.Texture = "rbxassetid://296874871" | |
2250 | ParticleEmitter1.Transparency = NumberSequence.new(0, 0, 255) | |
2251 | ParticleEmitter1.ZOffset = 1 | |
2252 | ParticleEmitter1.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0) | |
2253 | ParticleEmitter1.Acceleration = Vector3.new(0, 3, 0) | |
2254 | ParticleEmitter1.Drag = 3 | |
2255 | ParticleEmitter1.EmissionDirection = Enum.NormalId.Right | |
2256 | ParticleEmitter1.Lifetime = NumberRange.new(1, 1) | |
2257 | ParticleEmitter1.Rate = 300 | |
2258 | ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56) | |
2259 | ParticleEmitter1.SpreadAngle = Vector2.new(360, 360) | |
2260 | ParticleEmitter1.VelocitySpread = 360 | |
2261 | ParticleEmitter2.Name = "Regen2" | |
2262 | ParticleEmitter2.Parent = LocalScript0 | |
2263 | ParticleEmitter2.Speed = NumberRange.new(1, 1) | |
2264 | ParticleEmitter2.Rotation = NumberRange.new(0, 360) | |
2265 | ParticleEmitter2.Color = ColorSequence.new(Color3.new(0, 0, 255),Color3.new(0, 0, 255),Color3.new(0, 0, 255)) | |
2266 | ParticleEmitter2.Enabled = false | |
2267 | ParticleEmitter2.LightEmission = 0.89999997615814 | |
2268 | ParticleEmitter2.Texture = "rbxassetid://296874871" | |
2269 | ParticleEmitter2.Transparency = NumberSequence.new(1,1,0.7704918384552,0.29508197307587,0.24590164422989,0.37704920768738,0.62841534614563,0.90710383653641,1) | |
2270 | ParticleEmitter2.ZOffset = 1 | |
2271 | ParticleEmitter2.Size = NumberSequence.new(0,0.81967234611511,0.7103830575943,0.49180328845978,0) | |
2272 | ParticleEmitter2.Drag = 5 | |
2273 | ParticleEmitter2.EmissionDirection = Enum.NormalId.Right | |
2274 | ParticleEmitter2.Lifetime = NumberRange.new(1, 1) | |
2275 | ParticleEmitter2.Rate = 70 | |
2276 | ParticleEmitter2.RotSpeed = NumberRange.new(-56, 56) | |
2277 | ParticleEmitter2.SpreadAngle = Vector2.new(360, 360) | |
2278 | ParticleEmitter2.VelocitySpread = 360 | |
2279 | BillboardGui3.Name = "NameGui" | |
2280 | BillboardGui3.Parent = LocalScript0 | |
2281 | BillboardGui3.Enabled = false | |
2282 | BillboardGui3.Size = UDim2.new(7.5, 0, 1.5, 0) | |
2283 | BillboardGui3.AlwaysOnTop = true | |
2284 | BillboardGui3.MaxDistance = 70 | |
2285 | BillboardGui3.SizeOffset = Vector2.new(0, 4) | |
2286 | TextLabel4.Name = "PlayerName" | |
2287 | TextLabel4.Parent = BillboardGui3 | |
2288 | TextLabel4.Transparency = 1 | |
2289 | TextLabel4.Size = UDim2.new(1, 0, 1, 0) | |
2290 | TextLabel4.BackgroundColor = BrickColor.new("Really blue") | |
2291 | TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1) | |
2292 | TextLabel4.BackgroundTransparency = 1 | |
2293 | TextLabel4.BorderColor = BrickColor.new("Really blue") | |
2294 | TextLabel4.BorderColor3 = Color3.new(1, 1, 1) | |
2295 | TextLabel4.BorderSizePixel = 0 | |
2296 | TextLabel4.Font = Enum.Font.Antique | |
2297 | TextLabel4.FontSize = Enum.FontSize.Size14 | |
2298 | TextLabel4.Text = "voyqgo" | |
2299 | TextLabel4.TextColor = BrickColor.new("Really blue") | |
2300 | TextLabel4.TextColor3 = Color3.new(0, 0, 255) | |
2301 | TextLabel4.TextScaled = true | |
2302 | TextLabel4.TextSize = 14 | |
2303 | TextLabel4.TextStrokeColor3 = Color3.new(0, 0, 255) | |
2304 | TextLabel4.TextStrokeTransparency = 0 | |
2305 | TextLabel4.TextWrap = true | |
2306 | TextLabel4.TextWrapped = true | |
2307 | TextLabel5.Name = "Title" | |
2308 | TextLabel5.Parent = BillboardGui3 | |
2309 | TextLabel5.Position = UDim2.new(-0.75, 0, 0.899999976, 0) | |
2310 | TextLabel5.Transparency = 1 | |
2311 | TextLabel5.Size = UDim2.new(2.5, 0, 1.5, 0) | |
2312 | TextLabel5.BackgroundColor = BrickColor.new("Really blue") | |
2313 | TextLabel5.BackgroundColor3 = Color3.new(1, 1, 1) | |
2314 | TextLabel5.BackgroundTransparency = 1 | |
2315 | TextLabel5.BorderColor = BrickColor.new("Really blue") | |
2316 | TextLabel5.BorderColor3 = Color3.new(1, 1, 1) | |
2317 | TextLabel5.BorderSizePixel = 0 | |
2318 | TextLabel5.Font = Enum.Font.Antique | |
2319 | TextLabel5.FontSize = Enum.FontSize.Size14 | |
2320 | TextLabel5.Text = "Searing God of hell" | |
2321 | TextLabel5.TextColor = BrickColor.new("Really blue") | |
2322 | TextLabel5.TextColor3 = Color3.new(0, 0, 255) | |
2323 | TextLabel5.TextScaled = true | |
2324 | TextLabel5.TextSize = 14 | |
2325 | TextLabel5.TextStrokeColor3 = Color3.new(0, 0, 255) | |
2326 | TextLabel5.TextStrokeTransparency = 0 | |
2327 | TextLabel5.TextWrap = true | |
2328 | TextLabel5.TextWrapped = true | |
2329 | ParticleEmitter6.Name = "FistFire" | |
2330 | ParticleEmitter6.Parent = LocalScript0 | |
2331 | ParticleEmitter6.Speed = NumberRange.new(3, 3) | |
2332 | ParticleEmitter6.Rotation = NumberRange.new(0, 360) | |
2333 | ParticleEmitter6.Color = ColorSequence.new(Color3.new(0, 0, 255),Color3.new(0, 0, 255),Color3.new(0, 0, 255)) | |
2334 | ParticleEmitter6.Enabled = false | |
2335 | ParticleEmitter6.LightEmission = 0.89999997615814 | |
2336 | ParticleEmitter6.Texture = "rbxassetid://296874871" | |
2337 | ParticleEmitter6.Transparency = NumberSequence.new(0.47540986537933,0.2896174788475,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
2338 | ParticleEmitter6.ZOffset = 1 | |
2339 | ParticleEmitter6.Size = NumberSequence.new(0,0,0.7103830575943,0.49180328845978,0) | |
2340 | ParticleEmitter6.Acceleration = Vector3.new(0, 3, 0) | |
2341 | ParticleEmitter6.Drag = 1 | |
2342 | ParticleEmitter6.EmissionDirection = Enum.NormalId.Bottom | |
2343 | ParticleEmitter6.Lifetime = NumberRange.new(2, 2) | |
2344 | ParticleEmitter6.LockedToPart = true | |
2345 | ParticleEmitter6.Rate = 300 | |
2346 | ParticleEmitter6.RotSpeed = NumberRange.new(-56, 56) | |
2347 | ParticleEmitter6.SpreadAngle = Vector2.new(45, 45) | |
2348 | ParticleEmitter6.VelocitySpread = 45 | |
2349 | LocalScript7.Name = "CamShake" | |
2350 | LocalScript7.Parent = LocalScript0 | |
2351 | table.insert(cors,sandbox(LocalScript7,function() | |
2352 | wait() | |
2353 | VT = Vector3.new | |
2354 | MRANDOM = math.random | |
2355 | local A = nil | |
2356 | local B = nil | |
2357 | local C = nil | |
2358 | local HUMANOID = script.Parent:FindFirstChildOfClass("Humanoid") | |
2359 | for _, c in pairs(script:GetChildren()) do | |
2360 | if c.Name == "Timer" then | |
2361 | A = c.Value | |
2362 | elseif c.Name == "Shake" then | |
2363 | B = c.Value*5 | |
2364 | elseif c.Name == "DoesFade" then | |
2365 | C = c.Value | |
2366 | end | |
2367 | end | |
2368 | local TIMER = A or 35 | |
2369 | local SHAKE = B or 5 | |
2370 | local FADE = C or true | |
2371 | if HUMANOID and game.Players:FindFirstChild(script.Parent.Name) then | |
2372 | if FADE == true then | |
2373 | local FADER = SHAKE/TIMER | |
2374 | for i = 1, TIMER do | |
2375 | wait() | |
2376 | HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10) | |
2377 | end | |
2378 | HUMANOID.CameraOffset = VT(0,0,0) | |
2379 | else | |
2380 | for i = 1, TIMER do | |
2381 | wait() | |
2382 | HUMANOID.CameraOffset = VT(MRANDOM(-SHAKE,SHAKE)/10,MRANDOM(-SHAKE,SHAKE)/10,MRANDOM(-SHAKE,SHAKE)/10) | |
2383 | end | |
2384 | HUMANOID.CameraOffset = VT(0,0,0) | |
2385 | end | |
2386 | end | |
2387 | script:remove() | |
2388 | end)) | |
2389 | LocalScript7.Disabled = true | |
2390 | NumberValue8.Name = "Timer" | |
2391 | NumberValue8.Parent = LocalScript7 | |
2392 | NumberValue8.Value = 35 | |
2393 | NumberValue9.Name = "Shake" | |
2394 | NumberValue9.Parent = LocalScript7 | |
2395 | NumberValue9.Value = 5 | |
2396 | BoolValue10.Name = "DoesFade" | |
2397 | BoolValue10.Parent = LocalScript7 | |
2398 | ParticleEmitter11.Name = "FireballFire2" | |
2399 | ParticleEmitter11.Parent = LocalScript0 | |
2400 | ParticleEmitter11.Rotation = NumberRange.new(0, 360) | |
2401 | ParticleEmitter11.Color = ColorSequence.new(Color3.new(0, 0, 255),Color3.new(0, 0, 255)) | |
2402 | ParticleEmitter11.Enabled = false | |
2403 | ParticleEmitter11.LightEmission = 0.89999997615814 | |
2404 | ParticleEmitter11.Texture = "rbxassetid://296874871" | |
2405 | ParticleEmitter11.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
2406 | ParticleEmitter11.ZOffset = 2 | |
2407 | ParticleEmitter11.Size = NumberSequence.new(5,5,1.8032789230347,0) | |
2408 | ParticleEmitter11.Drag = 1 | |
2409 | ParticleEmitter11.EmissionDirection = Enum.NormalId.Right | |
2410 | ParticleEmitter11.Lifetime = NumberRange.new(0, 1.5) | |
2411 | ParticleEmitter11.Rate = 9999 | |
2412 | ParticleEmitter11.RotSpeed = NumberRange.new(-56, 56) | |
2413 | ParticleEmitter11.SpreadAngle = Vector2.new(360, 360) | |
2414 | ParticleEmitter11.VelocitySpread = 360 | |
2415 | ParticleEmitter12.Name = "ExplosionFire2" | |
2416 | ParticleEmitter12.Parent = LocalScript0 | |
2417 | ParticleEmitter12.Speed = NumberRange.new(7, 270) | |
2418 | ParticleEmitter12.Rotation = NumberRange.new(0, 360) | |
2419 | ParticleEmitter12.Color = ColorSequence.new(Color3.new(0, 0, 255),Color3.new(0, 0, 255),Color3.new(0, 0, 255)) | |
2420 | ParticleEmitter12.Enabled = false | |
2421 | ParticleEmitter12.LightEmission = 0.89999997615814 | |
2422 | ParticleEmitter12.Texture = "rbxassetid://296874871" | |
2423 | ParticleEmitter12.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
2424 | ParticleEmitter12.ZOffset = 1 | |
2425 | ParticleEmitter12.Size = NumberSequence.new(0,0.98360657691956,1.530054807663,0) | |
2426 | ParticleEmitter12.Drag = 8 | |
2427 | ParticleEmitter12.EmissionDirection = Enum.NormalId.Right | |
2428 | ParticleEmitter12.Lifetime = NumberRange.new(2, 4) | |
2429 | ParticleEmitter12.Rate = 300 | |
2430 | ParticleEmitter12.RotSpeed = NumberRange.new(-56, 56) | |
2431 | ParticleEmitter12.SpreadAngle = Vector2.new(360, 360) | |
2432 | ParticleEmitter12.VelocitySpread = 360 | |
2433 | ParticleEmitter13.Name = "Field" | |
2434 | ParticleEmitter13.Parent = LocalScript0 | |
2435 | ParticleEmitter13.Speed = NumberRange.new(20, 50) | |
2436 | ParticleEmitter13.Rotation = NumberRange.new(0, 360) | |
2437 | ParticleEmitter13.Color = ColorSequence.new(Color3.new(0, 0, 255),Color3.new(0, 0, 255),Color3.new(0, 0, 255)) | |
2438 | ParticleEmitter13.Enabled = false | |
2439 | ParticleEmitter13.LightEmission = 0.89999997615814 | |
2440 | ParticleEmitter13.Texture = "rbxassetid://296874871" | |
2441 | ParticleEmitter13.Transparency = NumberSequence.new(1,0.92349725961685,0.87978142499924,0.92349725961685,1) | |
2442 | ParticleEmitter13.ZOffset = 1 | |
2443 | ParticleEmitter13.Size = NumberSequence.new(0,10) | |
2444 | ParticleEmitter13.EmissionDirection = Enum.NormalId.Right | |
2445 | ParticleEmitter13.Lifetime = NumberRange.new(2, 4) | |
2446 | ParticleEmitter13.Rate = 999 | |
2447 | ParticleEmitter13.RotSpeed = NumberRange.new(-56, 56) | |
2448 | ParticleEmitter13.SpreadAngle = Vector2.new(360, 360) | |
2449 | ParticleEmitter13.VelocitySpread = 360 | |
2450 | ParticleEmitter14.Name = "BodyFire" | |
2451 | ParticleEmitter14.Parent = LocalScript0 | |
2452 | ParticleEmitter14.Speed = NumberRange.new(1, 1) | |
2453 | ParticleEmitter14.Rotation = NumberRange.new(0, 360) | |
2454 | ParticleEmitter14.Color = ColorSequence.new(Color3.new(0, 0, 255),Color3.new(0, 0, 255),Color3.new(0, 0, 255)) | |
2455 | ParticleEmitter14.Enabled = false | |
2456 | ParticleEmitter14.LightEmission = 0.89999997615814 | |
2457 | ParticleEmitter14.Texture = "rbxassetid://296874871" | |
2458 | ParticleEmitter14.Transparency = NumberSequence.new(0,0.14207655191422,0.4426229596138,0.62841534614563,1) | |
2459 | ParticleEmitter14.ZOffset = 1 | |
2460 | ParticleEmitter14.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0) | |
2461 | ParticleEmitter14.Acceleration = Vector3.new(0, 3, 0) | |
2462 | ParticleEmitter14.Drag = 3 | |
2463 | ParticleEmitter14.EmissionDirection = Enum.NormalId.Right | |
2464 | ParticleEmitter14.Lifetime = NumberRange.new(1, 1) | |
2465 | ParticleEmitter14.Rate = 300 | |
2466 | ParticleEmitter14.RotSpeed = NumberRange.new(-56, 56) | |
2467 | ParticleEmitter14.SpreadAngle = Vector2.new(360, 360) | |
2468 | ParticleEmitter14.VelocitySpread = 360 | |
2469 | ParticleEmitter15.Name = "WingFire1" | |
2470 | ParticleEmitter15.Parent = LocalScript0 | |
2471 | ParticleEmitter15.Speed = NumberRange.new(8, 8) | |
2472 | ParticleEmitter15.Rotation = NumberRange.new(0, 360) | |
2473 | ParticleEmitter15.Color = ColorSequence.new(Color3.new(0, 0, 255),Color3.new(0, 0, 255),Color3.new(0, 0, 255)) | |
2474 | ParticleEmitter15.Enabled = false | |
2475 | ParticleEmitter15.LightEmission = 0.89999997615814 | |
2476 | ParticleEmitter15.Texture = "rbxassetid://296874871" | |
2477 | ParticleEmitter15.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
2478 | ParticleEmitter15.ZOffset = 1 | |
2479 | ParticleEmitter15.Size = NumberSequence.new(0,4.0437164306641,5.7377052307129,6.1748638153076) | |
2480 | ParticleEmitter15.Acceleration = Vector3.new(8, 5, -7) | |
2481 | ParticleEmitter15.EmissionDirection = Enum.NormalId.Back | |
2482 | ParticleEmitter15.Lifetime = NumberRange.new(2.5, 2.5) | |
2483 | ParticleEmitter15.LockedToPart = true | |
2484 | ParticleEmitter15.Rate = 300 | |
2485 | ParticleEmitter15.RotSpeed = NumberRange.new(-56, 56) | |
2486 | ParticleEmitter15.SpreadAngle = Vector2.new(15, 5) | |
2487 | ParticleEmitter15.VelocitySpread = 15 | |
2488 | ParticleEmitter16.Name = "WingFire2" | |
2489 | ParticleEmitter16.Parent = LocalScript0 | |
2490 | ParticleEmitter16.Speed = NumberRange.new(8, 8) | |
2491 | ParticleEmitter16.Rotation = NumberRange.new(0, 360) | |
2492 | ParticleEmitter16.Color = ColorSequence.new(Color3.new(0, 0, 255),Color3.new(0, 0, 255),Color3.new(0, 0, 255)) | |
2493 | ParticleEmitter16.LightEmission = 0.89999997615814 | |
2494 | ParticleEmitter16.Texture = "rbxassetid://296874871" | |
2495 | ParticleEmitter16.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
2496 | ParticleEmitter16.ZOffset = 1 | |
2497 | ParticleEmitter16.Size = NumberSequence.new(0,4.0437164306641,5.7377052307129,6.1748638153076) | |
2498 | ParticleEmitter16.Acceleration = Vector3.new(-8, 5, -7) | |
2499 | ParticleEmitter16.EmissionDirection = Enum.NormalId.Back | |
2500 | ParticleEmitter16.Lifetime = NumberRange.new(2.5, 2.5) | |
2501 | ParticleEmitter16.LockedToPart = true | |
2502 | ParticleEmitter16.Rate = 300 | |
2503 | ParticleEmitter16.RotSpeed = NumberRange.new(-56, 56) | |
2504 | ParticleEmitter16.SpreadAngle = Vector2.new(15, 5) | |
2505 | ParticleEmitter16.VelocitySpread = 15 | |
2506 | ParticleEmitter17.Name = "ExplosionFire1" | |
2507 | ParticleEmitter17.Parent = LocalScript0 | |
2508 | ParticleEmitter17.Speed = NumberRange.new(7, 670) | |
2509 | ParticleEmitter17.Rotation = NumberRange.new(0, 360) | |
2510 | ParticleEmitter17.Color = ColorSequence.new(Color3.new(0, 0, 255),Color3.new(0, 0, 255),Color3.new(0, 0, 255)) | |
2511 | ParticleEmitter17.Enabled = false | |
2512 | ParticleEmitter17.LightEmission = 0.89999997615814 | |
2513 | ParticleEmitter17.Texture = "rbxassetid://296874871" | |
2514 | ParticleEmitter17.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
2515 | ParticleEmitter17.ZOffset = 1 | |
2516 | ParticleEmitter17.Size = NumberSequence.new(10,10,7.0491800308228,0) | |
2517 | ParticleEmitter17.Drag = 5 | |
2518 | ParticleEmitter17.EmissionDirection = Enum.NormalId.Right | |
2519 | ParticleEmitter17.Lifetime = NumberRange.new(2, 4) | |
2520 | ParticleEmitter17.Rate = 300 | |
2521 | ParticleEmitter17.RotSpeed = NumberRange.new(-56, 56) | |
2522 | ParticleEmitter17.SpreadAngle = Vector2.new(360, 360) | |
2523 | ParticleEmitter17.VelocitySpread = 360 | |
2524 | ParticleEmitter18.Name = "FireballFire1" | |
2525 | ParticleEmitter18.Parent = LocalScript0 | |
2526 | ParticleEmitter18.Rotation = NumberRange.new(0, 360) | |
2527 | ParticleEmitter18.Color = ColorSequence.new(Color3.new(0, 0, 255),Color3.new(0, 0, 255),Color3.new(0, 0, 255)) | |
2528 | ParticleEmitter18.Enabled = false | |
2529 | ParticleEmitter18.LightEmission = 0.89999997615814 | |
2530 | ParticleEmitter18.Texture = "rbxassetid://296874871" | |
2531 | ParticleEmitter18.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
2532 | ParticleEmitter18.ZOffset = 1 | |
2533 | ParticleEmitter18.Size = NumberSequence.new(10,10,7.0491800308228,0) | |
2534 | ParticleEmitter18.Drag = 1 | |
2535 | ParticleEmitter18.EmissionDirection = Enum.NormalId.Right | |
2536 | ParticleEmitter18.Lifetime = NumberRange.new(0, 1.5) | |
2537 | ParticleEmitter18.Rate = 9999 | |
2538 | ParticleEmitter18.RotSpeed = NumberRange.new(-56, 56) | |
2539 | ParticleEmitter18.SpreadAngle = Vector2.new(360, 360) | |
2540 | ParticleEmitter18.VelocitySpread = 360 | |
2541 | ParticleEmitter19.Name = "FireballFire3" | |
2542 | ParticleEmitter19.Parent = LocalScript0 | |
2543 | ParticleEmitter19.Rotation = NumberRange.new(0, 360) | |
2544 | ParticleEmitter19.Color = ColorSequence.new(Color3.new(0, 0, 2551),Color3.new(0, 0, 255),Color3.new(0, 0, 255)) | |
2545 | ParticleEmitter19.Enabled = false | |
2546 | ParticleEmitter19.LightEmission = 0.89999997615814 | |
2547 | ParticleEmitter19.Texture = "rbxassetid://296874871" | |
2548 | ParticleEmitter19.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1) | |
2549 | ParticleEmitter19.ZOffset = 1 | |
2550 | ParticleEmitter19.Size = NumberSequence.new(2.7868854999542,4.4808745384216,4.5901637077332,0) | |
2551 | ParticleEmitter19.Drag = 1 | |
2552 | ParticleEmitter19.EmissionDirection = Enum.NormalId.Right | |
2553 | ParticleEmitter19.Lifetime = NumberRange.new(0, 1.5) | |
2554 | ParticleEmitter19.Rate = 9999 | |
2555 | ParticleEmitter19.RotSpeed = NumberRange.new(-56, 56) | |
2556 | ParticleEmitter19.SpreadAngle = Vector2.new(360, 360) | |
2557 | ParticleEmitter19.VelocitySpread = 360 | |
2558 | ParticleEmitter20.Name = "DebrisFire" | |
2559 | ParticleEmitter20.Parent = LocalScript0 | |
2560 | ParticleEmitter20.Speed = NumberRange.new(2, 2) | |
2561 | ParticleEmitter20.Rotation = NumberRange.new(0, 360) | |
2562 | ParticleEmitter20.Color = ColorSequence.new(Color3.new(0, 0, 255),Color3.new(0, 0, 255),Color3.new(0, 0, 255)) | |
2563 | ParticleEmitter20.Enabled = false | |
2564 | ParticleEmitter20.LightEmission = 0.89999997615814 | |
2565 | ParticleEmitter20.Texture = "rbxassetid://296874871" | |
2566 | ParticleEmitter20.Transparency = NumberSequence.new(0,0.14207655191422,0.4426229596138,0.62841534614563,1) | |
2567 | ParticleEmitter20.ZOffset = 1 | |
2568 | ParticleEmitter20.Size = NumberSequence.new(2.677595615387,3.9890713691711,4.6448087692261,3.8251371383667,0) | |
2569 | ParticleEmitter20.Acceleration = Vector3.new(0, 25, 0) | |
2570 | ParticleEmitter20.Drag = 3 | |
2571 | ParticleEmitter20.EmissionDirection = Enum.NormalId.Right | |
2572 | ParticleEmitter20.Lifetime = NumberRange.new(0, 3) | |
2573 | ParticleEmitter20.Rate = 300 | |
2574 | ParticleEmitter20.RotSpeed = NumberRange.new(-56, 56) | |
2575 | ParticleEmitter20.SpreadAngle = Vector2.new(360, 360) | |
2576 | ParticleEmitter20.VelocitySpread = 360 | |
2577 | Part21.Name = "Pauldrons" | |
2578 | Part21.Parent = LocalScript0 | |
2579 | Part21.CFrame = CFrame.new(47.1000023, 21.5235691, 58.9999733, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
2580 | Part21.Orientation = Vector3.new(0, 180, 0) | |
2581 | Part21.Position = Vector3.new(47.1000023, 21.5235691, 58.9999733) | |
2582 | Part21.Rotation = Vector3.new(-180, 0, -180) | |
2583 | Part21.Transparency = 1 | |
2584 | Part21.Size = Vector3.new(3.4000001, 2.20000005, 1) | |
2585 | Part21.Anchored = true | |
2586 | Part21.BottomSurface = Enum.SurfaceType.Smooth | |
2587 | Part21.CanCollide = false | |
2588 | Part21.CustomPhysicalProperties = PhysicalProperties.new(0.699999988, 0.300000012, 0.5, 1, 1) | |
2589 | Part21.Locked = true | |
2590 | Part21.TopSurface = Enum.SurfaceType.Smooth | |
2591 | Part21.FormFactor = Enum.FormFactor.Custom | |
2592 | Part21.formFactor = Enum.FormFactor.Custom | |
2593 | SpecialMesh22.Parent = Part21 | |
2594 | SpecialMesh22.MeshId = "http://www.roblox.com/asset/?id=204454962 " | |
2595 | SpecialMesh22.TextureId = "rbxassetid://855840122" | |
2596 | SpecialMesh22.MeshType = Enum.MeshType.FileMesh | |
2597 | Folder23.Name = "Package" | |
2598 | Folder23.Parent = LocalScript0 | |
2599 | CharacterMesh24.Parent = Folder23 | |
2600 | CharacterMesh24.BodyPart = Enum.BodyPart.Torso | |
2601 | CharacterMesh24.MeshId = 27111894 | |
2602 | CharacterMesh25.Parent = Folder23 | |
2603 | CharacterMesh25.BodyPart = Enum.BodyPart.LeftLeg | |
2604 | CharacterMesh25.MeshId = 27111857 | |
2605 | CharacterMesh26.Parent = Folder23 | |
2606 | CharacterMesh26.BodyPart = Enum.BodyPart.RightLeg | |
2607 | CharacterMesh26.MeshId = 27111882 | |
2608 | CharacterMesh27.Name = "Superhero Left Arm" | |
2609 | CharacterMesh27.Parent = Folder23 | |
2610 | CharacterMesh27.BodyPart = Enum.BodyPart.LeftArm | |
2611 | CharacterMesh27.MeshId = 32328397 | |
2612 | CharacterMesh28.Name = "Superhero Right Arm" | |
2613 | CharacterMesh28.Parent = Folder23 | |
2614 | CharacterMesh28.BodyPart = Enum.BodyPart.RightArm | |
2615 | CharacterMesh28.MeshId = 32328563 | |
2616 | Part29.Name = "Flintlock" | |
2617 | Part29.Parent = LocalScript0 | |
2618 | Part29.CFrame = CFrame.new(-11.2999983, 4.42351913, 92.0999756, -1, 0, 0, 0, -1, 0, 0, 0, 1) | |
2619 | Part29.Orientation = Vector3.new(0, 0, 180) | |
2620 | Part29.Position = Vector3.new(-11.2999983, 4.42351913, 92.0999756) | |
2621 | Part29.Rotation = Vector3.new(0, 0, -180) | |
2622 | Part29.Color = Color3.new(0, 0, 255) | |
2623 | Part29.Size = Vector3.new(1, 2, 1) | |
2624 | Part29.Anchored = true | |
2625 | Part29.BottomSurface = Enum.SurfaceType.Smooth | |
2626 | Part29.BrickColor = BrickColor.new("Really blue") | |
2627 | Part29.CanCollide = false | |
2628 | Part29.Locked = true | |
2629 | Part29.TopSurface = Enum.SurfaceType.Smooth | |
2630 | Part29.brickColor = BrickColor.new("Really blue") | |
2631 | Part29.FormFactor = Enum.FormFactor.Plate | |
2632 | Part29.formFactor = Enum.FormFactor.Plate | |
2633 | SpecialMesh30.Parent = Part29 | |
2634 | SpecialMesh30.MeshId = "http://www.roblox.com/asset/?id=430133493" | |
2635 | SpecialMesh30.Scale = Vector3.new(1.5, 1.5, 1.5) | |
2636 | SpecialMesh30.TextureId = "http://www.roblox.com/asset/?id=430143555" | |
2637 | SpecialMesh30.MeshType = Enum.MeshType.FileMesh | |
2638 | for i,v in pairs(mas:GetChildren()) do | |
2639 | v.Parent = workspace | |
2640 | pcall(function() v:MakeJoints() end) | |
2641 | end | |
2642 | mas:Destroy() | |
2643 | for i,v in pairs(cors) do | |
2644 | spawn(function() | |
2645 | pcall(v) | |
2646 | end) | |
2647 | end | |
2648 | local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head) | |
2649 | txtfag.Adornee = suckadick | |
2650 | txtfag.Name = "kys nigga" | |
2651 | txtfag.Size = UDim2.new(2, 0, 1.2, 0) | |
2652 | txtfag.StudsOffset = Vector3.new(-5, 3, 0) | |
2653 | local textfag = Instance.new("TextLabel", txtfag) | |
2654 | textfag.Size = UDim2.new(6, 0, 1, 0) | |
2655 | textfag.FontSize = "Size8" | |
2656 | textfag.TextScaled = true | |
2657 | textfag.TextTransparency = 0 | |
2658 | textfag.BackgroundTransparency = 1 | |
2659 | textfag.TextTransparency = 0 | |
2660 | textfag.TextStrokeTransparency = 0 | |
2661 | textfag.Font = "Cartoon" | |
2662 | textfag.TextStrokeColor3 = Color3.new(0, 1, 0) | |
2663 | v = Instance.new("Part") | |
2664 | v.Name = "ColorBrick" | |
2665 | v.Parent = part | |
2666 | v.FormFactor = "Symmetric" | |
2667 | v.Anchored = true | |
2668 | v.CanCollide = false | |
2669 | v.BottomSurface = "Smooth" | |
2670 | v.TopSurface = "Smooth" | |
2671 | v.Size = Vector3.new(10, 5, 3) | |
2672 | v.Transparency = 0.7 | |
2673 | v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor | |
2674 | v.Transparency = 1 | |
2675 | textfag.TextColor3 = v.BrickColor.Color | |
2676 | textfag.TextStrokeColor3 = Color3.new(0, 0, 255) | |
2677 | v.Shape = "Block" | |
2678 | textfag.Text = "EDIT by voyqgo" | |
2679 | wait(2) | |
2680 | textfag.Text = "lets how you will die" | |
2681 | wait(0.3) | |
2682 | textfag.Text = game.Players.LocalPlayer.Character.Name.." Searing God of hell" | |
2683 | function sandbox(var,func) | |
2684 | local env = getfenv(func) | |
2685 | local newenv = setmetatable({},{ | |
2686 | __index = function(self,k) | |
2687 | if k=="script" then | |
2688 | return var | |
2689 | else | |
2690 | return env[k] | |
2691 | end | |
2692 | end, | |
2693 | }) | |
2694 | setfenv(func,newenv) | |
2695 | return func | |
2696 | end |