SHOW:
|
|
- or go back to the newest paste.
1 | - | script.Name = "Burning Hope xd!11" |
1 | + | script.Name = "StarFall" |
2 | --//====================================================\\-- | |
3 | - | --|| EDITED BY INFINITEONEWITHDANK CREATED BY SHACKLUSTER |
3 | + | --|| EDITED BY Zach_script_stealer2 CREATED BY SHACKLUSTER |
4 | --\\====================================================//-- | |
5 | ||
6 | - | print("Load Finished") |
6 | + | print("Sucess") |
7 | - | print("Edited By InfiniteOneWithdank Hello User") |
7 | + | print("Edited By Zach_script_stealer2 What sup everybody whoever used my script") |
8 | - | print("=====| 100 Percent Done Version |=====") |
8 | + | print("Well yea it not perfect but Enjoy!") |
9 | - | print(">=Updates") |
9 | + | warn("Enough talking ") |
10 | - | print("!=Big Changes") |
10 | + | warn("your job is to eliminate every enemy in your way") |
11 | - | print("*=Small Changes") |
11 | + | |
12 | - | print("!Made Bullets Colorful in fact almost all effects are colorful now") |
12 | + | |
13 | - | print(">Gun is now a rainbow color") |
13 | + | |
14 | - | print("*Changed Fire Size by 1") |
14 | + | |
15 | - | print("*Changed Taunts/Voices A Bit") |
15 | + | |
16 | - | print(">Added Wave Emote when u click") |
16 | + | |
17 | - | print(">Added in intro text") |
17 | + | |
18 | - | print(">Added New Smexy moves") |
18 | + | |
19 | - | warn("Make Them All Suffer For Their Sins") |
19 | + | |
20 | - | warn("In Fact Make them Burn") |
20 | + | |
21 | Humanoid = Character.Humanoid | |
22 | Mouse = Player:GetMouse() | |
23 | RootPart = Character["HumanoidRootPart"] | |
24 | Torso = Character["Torso"] | |
25 | Head = Character["Head"] | |
26 | RightArm = Character["Right Arm"] | |
27 | LeftArm = Character["Left Arm"] | |
28 | RightLeg = Character["Right Leg"] | |
29 | LeftLeg = Character["Left Leg"] | |
30 | RootJoint = RootPart["RootJoint"] | |
31 | Neck = Torso["Neck"] | |
32 | RightShoulder = Torso["Right Shoulder"] | |
33 | LeftShoulder = Torso["Left Shoulder"] | |
34 | RightHip = Torso["Right Hip"] | |
35 | LeftHip = Torso["Left Hip"] | |
36 | local TIME = 0 | |
37 | local sick = Instance.new("Sound",Torso) | |
38 | ||
39 | IT = Instance.new | |
40 | CF = CFrame.new | |
41 | VT = Vector3.new | |
42 | RAD = math.rad | |
43 | C3 = Color3.new | |
44 | UD2 = UDim2.new | |
45 | BRICKC = BrickColor.new | |
46 | ANGLES = CFrame.Angles | |
47 | EULER = CFrame.fromEulerAnglesXYZ | |
48 | COS = math.cos | |
49 | ACOS = math.acos | |
50 | SIN = math.sin | |
51 | ASIN = math.asin | |
52 | ABS = math.abs | |
53 | MRANDOM = math.random | |
54 | FLOOR = math.floor | |
55 | local RWINGS = {} | |
56 | local LWINGS = {} | |
57 | local GunPoint | |
58 | Player_Size = 1 | |
59 | ||
60 | -- Thingy To Make Song Work | |
61 | ||
62 | p = game.Players.LocalPlayer | |
63 | char = p.Character | |
64 | ||
65 | ---------------------------[[[ LOOPED SONG ]]]-------------------------- | |
66 | local s = Instance.new("Sound",char) | |
67 | s.Name = "BGMusic" | |
68 | s.SoundId = "rbxassetid://1416617454" | |
69 | s.Pitch = 1 | |
70 | s.Volume = 40 | |
71 | s.Looped = true | |
72 | s.archivable = false | |
73 | s.Parent = char.Head | |
74 | wait(0.1) | |
75 | s:play() | |
76 | ||
77 | -- Rest of Script | |
78 | -- Want To Use This For Scripts With No Songs? Go Ahead Copy This InfiniteOneWithdank created the looped song thing that is in here anyways. | |
79 | ||
80 | --//=================================\\ | |
81 | --|| PARTICLES N STUFF | |
82 | --\\=================================// | |
83 | ||
84 | local particleemitter = Instance.new('ParticleEmitter', LeftArm) | |
85 | particleemitter.VelocitySpread = 350 | |
86 | particleemitter.Lifetime = NumberRange.new(1) | |
87 | particleemitter.Speed = NumberRange.new(0) | |
88 | cringememe= {} | |
89 | for i=0, 19 do | |
90 | cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
91 | end | |
92 | particleemitter.Size = NumberSequence.new(cringememe) | |
93 | particleemitter.Rate = 20 | |
94 | particleemitter.LockedToPart = true | |
95 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) | |
96 | particleemitter.LightEmission = 1 | |
97 | particleemitter.Texture = "rbxassetid://38727848" | |
98 | particleemitter.Color = ColorSequence.new(BrickColor.new("Navy blue").Color) | |
99 | ||
100 | local particleemitter = Instance.new('ParticleEmitter', Torso) | |
101 | particleemitter.VelocitySpread = 250 | |
102 | particleemitter.Lifetime = NumberRange.new(3) | |
103 | particleemitter.Speed = NumberRange.new(1.5) | |
104 | youAreATHOT = {} | |
105 | for i=0, 19 do | |
106 | youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
107 | end | |
108 | - | particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color) |
108 | + | |
109 | particleemitter.Rate = 10 | |
110 | particleemitter.LockedToPart = false | |
111 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) | |
112 | particleemitter.LightEmission = 1 | |
113 | particleemitter.Texture = "rbxassetid://253188763" | |
114 | particleemitter.Color = ColorSequence.new(BrickColor.new("Lavender").Color) | |
115 | ||
116 | local particleemitter = Instance.new('ParticleEmitter', RightArm) | |
117 | particleemitter.VelocitySpread = 350 | |
118 | particleemitter.Lifetime = NumberRange.new(1) | |
119 | particleemitter.Speed = NumberRange.new(0) | |
120 | cringememe2= {} | |
121 | for i=0, 19 do | |
122 | cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
123 | end | |
124 | - | particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color) |
124 | + | |
125 | particleemitter.Rate = 20 | |
126 | particleemitter.LockedToPart = true | |
127 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) | |
128 | particleemitter.LightEmission = 1 | |
129 | particleemitter.Texture = "rbxassetid://38727848" | |
130 | particleemitter.Color = ColorSequence.new(BrickColor.new("Deep orange").Color) | |
131 | ||
132 | local particleemitter = Instance.new('ParticleEmitter', RightLeg) | |
133 | particleemitter.VelocitySpread = 350 | |
134 | particleemitter.Lifetime = NumberRange.new(1) | |
135 | particleemitter.Speed = NumberRange.new(0) | |
136 | cringememe3= {} | |
137 | for i=0, 19 do | |
138 | cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
139 | end | |
140 | - | particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color) |
140 | + | |
141 | particleemitter.Rate = 30 | |
142 | particleemitter.LockedToPart = true | |
143 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) | |
144 | particleemitter.LightEmission = 1 | |
145 | particleemitter.Texture = "rbxassetid://38727848" | |
146 | particleemitter.Color = ColorSequence.new(BrickColor.new("Navy blue").Color) | |
147 | ||
148 | local particleemitter = Instance.new('ParticleEmitter', LeftLeg) | |
149 | particleemitter.VelocitySpread = 350 | |
150 | particleemitter.Lifetime = NumberRange.new(1) | |
151 | particleemitter.Speed = NumberRange.new(0) | |
152 | cringememe4= {} | |
153 | for i=0, 19 do | |
154 | cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) | |
155 | end | |
156 | - | particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color) |
156 | + | |
157 | particleemitter.Rate = 30 | |
158 | particleemitter.LockedToPart = true | |
159 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) | |
160 | particleemitter.LightEmission = 1 | |
161 | particleemitter.Texture = "rbxassetid://38727848" | |
162 | particleemitter.Color = ColorSequence.new(BrickColor.new("Lavender").Color) | |
163 | ||
164 | --//=================================\\ | |
165 | --|| USEFUL VALUES | |
166 | --\\=================================// | |
167 | ||
168 | Animation_Speed = 1.5 | |
169 | local FORCERESET = false | |
170 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
171 | local Speed = 16 | |
172 | - | particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color) |
172 | + | |
173 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
174 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
175 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
176 | local DAMAGEMULTIPLIER = 1 | |
177 | local ANIM = "Idle" | |
178 | local ATTACK = false | |
179 | local EQUIPPED = false | |
180 | local HOLD = false | |
181 | local COMBO = 1 | |
182 | local Rooted = false | |
183 | local SINE = 0 | |
184 | local KEYHOLD = false | |
185 | local CHANGE = 2 / Animation_Speed | |
186 | local WALKINGANIM = false | |
187 | local VALUE1 = false | |
188 | local VALUE2 = false | |
189 | local ROBLOXIDLEANIMATION = IT("Animation") | |
190 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
191 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
192 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
193 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
194 | WEAPONGUI.Name = "BanishV3Gui" | |
195 | local Weapon = IT("Model") | |
196 | Weapon.Name = "Adds" | |
197 | local Effects = IT("Folder", Weapon) | |
198 | Effects.Name = "Effects" | |
199 | local ANIMATOR = Humanoid.Animator | |
200 | local ANIMATE = Character:FindFirstChild("Animate") | |
201 | local UNANCHOR = true | |
202 | local TOBANISH = {} | |
203 | script.Parent = PlayerGui | |
204 | ||
205 | function StatLabel(CFRAME, TEXT, COLOR) | |
206 | local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT()) | |
207 | STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5))) | |
208 | local BODYGYRO = IT("BodyGyro", STATPART) | |
209 | game:GetService("Debris"):AddItem(STATPART ,5) | |
210 | local BILLBOARDGUI = Instance.new("BillboardGui", STATPART) | |
211 | BILLBOARDGUI.Adornee = STATPART | |
212 | BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0) | |
213 | BILLBOARDGUI.StudsOffset = VT(-2, 2, 0) | |
214 | BILLBOARDGUI.AlwaysOnTop = false | |
215 | local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI) | |
216 | TEXTLABEL.BackgroundTransparency = 1 | |
217 | TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0) | |
218 | TEXTLABEL.Text = TEXT | |
219 | TEXTLABEL.Font = SKILLFONT | |
220 | TEXTLABEL.FontSize="Size42" | |
221 | TEXTLABEL.TextColor3 = COLOR | |
222 | TEXTLABEL.TextStrokeTransparency = 0 | |
223 | TEXTLABEL.TextScaled = true | |
224 | TEXTLABEL.TextWrapped = true | |
225 | coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL) | |
226 | for i = 1, 50 do | |
227 | Swait() | |
228 | STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2) | |
229 | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50) | |
230 | TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency | |
231 | end | |
232 | THEPART.Parent = nil | |
233 | end),STATPART, TEXTLABEL) | |
234 | end | |
235 | ||
236 | --//=================================\\ | |
237 | --\\=================================// | |
238 | ||
239 | ||
240 | --//=================================\\ | |
241 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
242 | --\\=================================// | |
243 | ||
244 | ArtificialHB = Instance.new("BindableEvent", script) | |
245 | ArtificialHB.Name = "ArtificialHB" | |
246 | ||
247 | script:WaitForChild("ArtificialHB") | |
248 | ||
249 | frame = Frame_Speed | |
250 | tf = 0 | |
251 | allowframeloss = false | |
252 | tossremainder = false | |
253 | lastframe = tick() | |
254 | script.ArtificialHB:Fire() | |
255 | ||
256 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
257 | tf = tf + s | |
258 | if tf >= frame then | |
259 | if allowframeloss then | |
260 | script.ArtificialHB:Fire() | |
261 | lastframe = tick() | |
262 | else | |
263 | for i = 1, math.floor(tf / frame) do | |
264 | script.ArtificialHB:Fire() | |
265 | end | |
266 | lastframe = tick() | |
267 | end | |
268 | if tossremainder then | |
269 | tf = 0 | |
270 | else | |
271 | tf = tf - frame * math.floor(tf / frame) | |
272 | end | |
273 | end | |
274 | end) | |
275 | ||
276 | --//=================================\\ | |
277 | --\\=================================// | |
278 | ||
279 | --//=================================\\ | |
280 | --|| SOME TAG EDIT | |
281 | --\\=================================// | |
282 | ||
283 | m = game.Players.LocalPlayer | |
284 | char = m.Character | |
285 | local txt = Instance.new("BillboardGui", char) | |
286 | txt.Adornee = char.Head | |
287 | txt.Name = "_status" | |
288 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
289 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
290 | local text = Instance.new("TextLabel", txt) | |
291 | text.Size = UDim2.new(10, 0, 7, 0) | |
292 | text.FontSize = "Size24" | |
293 | text.TextScaled = true | |
294 | text.TextTransparency = 0 | |
295 | text.BackgroundTransparency = 1 | |
296 | text.TextTransparency = 0 | |
297 | text.TextStrokeTransparency = 0 | |
298 | text.Font = "Bodoni" | |
299 | text.TextStrokeColor3 = Color3.new(0, 0, 0) | |
300 | v = Instance.new("Part") | |
301 | v.Name = "ColorBrick" | |
302 | v.Parent = m.Character | |
303 | v.FormFactor = "Symmetric" | |
304 | v.Anchored = true | |
305 | v.CanCollide = false | |
306 | v.BottomSurface = "Smooth" | |
307 | v.TopSurface = "Smooth" | |
308 | v.Size = Vector3.new(10, 5, 3) | |
309 | v.Transparency = 1 | |
310 | v.CFrame = char.Torso.CFrame | |
311 | v.BrickColor = BrickColor.new("Toothpaste") | |
312 | v.Transparency = 1 | |
313 | v.Shape = "Block" | |
314 | spawn(function() | |
315 | local TweenService = game:GetService("TweenService") | |
316 | local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)} | |
317 | local Int = 0 | |
318 | while wait(0.5) do | |
319 | if Int == #Colours then Int = 0 end | |
320 | Int = Int+1 | |
321 | - | v.BrickColor = BrickColor.new("Really black") |
321 | + | |
322 | end | |
323 | end) | |
324 | text.Text = "Hmmm as i expected" | |
325 | wait(2) | |
326 | text.Text = "This place is different " | |
327 | wait(3) | |
328 | text.Text = "you know what it mean for me to come to this dirty place right" | |
329 | wait(2) | |
330 | text.Text = " I will need to clean your mess as always " | |
331 | wait(3) | |
332 | text.Text = "Star Fall" | |
333 | ||
334 | - | text.Text = "Everyone else is weak it seems like i am the only one standing..." |
334 | + | |
335 | --\\=================================// | |
336 | - | text.Text = "People thought i was gone but no i return to tell you this..." |
336 | + | |
337 | --//=================================\\ | |
338 | - | text.Text = "YOU HAVE ONLY A FEW SECONDS LEFT TO LIVE!!!" |
338 | + | |
339 | --\\=================================// | |
340 | - | text.Text = "Burning Hope" |
340 | + | |
341 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
342 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
343 | end | |
344 | ||
345 | function PositiveAngle(NUMBER) | |
346 | if NUMBER >= 0 then | |
347 | NUMBER = 0 | |
348 | end | |
349 | return NUMBER | |
350 | end | |
351 | ||
352 | function NegativeAngle(NUMBER) | |
353 | if NUMBER <= 0 then | |
354 | NUMBER = 0 | |
355 | end | |
356 | return NUMBER | |
357 | end | |
358 | ||
359 | function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW) | |
360 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0)) | |
361 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8)) | |
362 | wave.CFrame = CFRAME | |
363 | coroutine.resume(coroutine.create(function(PART) | |
364 | for i = 1, WAIT do | |
365 | Swait() | |
366 | mesh.Scale = mesh.Scale + GROW | |
367 | mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8)) | |
368 | if DOESROT == true then | |
369 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0) | |
370 | end | |
371 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
372 | if wave.Transparency > 0.99 then | |
373 | wave:remove() | |
374 | end | |
375 | end | |
376 | end)) | |
377 | end | |
378 | ||
379 | function AddChildrenToTable(FROM, PARENT, DIST, TABLE) | |
380 | for _, c in pairs(PARENT:GetChildren()) do | |
381 | if c.ClassName == "Model" then | |
382 | if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then | |
383 | local HUMANOID = c:FindFirstChildOfClass("Humanoid") | |
384 | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") | |
385 | if DIST > (TORSO.Position - FROM).Magnitude then | |
386 | table.insert(TABLE, c) | |
387 | end | |
388 | AddChildrenToTable(FROM, c, DIST, TABLE) | |
389 | elseif c.ClassName == "Folder" then | |
390 | AddChildrenToTable(FROM, c, DIST, TABLE) | |
391 | end | |
392 | end | |
393 | end | |
394 | end | |
395 | ||
396 | function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW) | |
397 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true) | |
398 | local mesh | |
399 | if KIND == "Base" then | |
400 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0)) | |
401 | elseif KIND == "Thin" then | |
402 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0)) | |
403 | elseif KIND == "Round" then | |
404 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0)) | |
405 | end | |
406 | wave.CFrame = CFRAME | |
407 | coroutine.resume(coroutine.create(function(PART) | |
408 | for i = 1, WAIT do | |
409 | Swait() | |
410 | mesh.Scale = mesh.Scale + GROW / 10 | |
411 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
412 | if wave.Transparency > 0.99 then | |
413 | wave:remove() | |
414 | end | |
415 | end | |
416 | end)) | |
417 | end | |
418 | ||
419 | function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW) | |
420 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true) | |
421 | local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0)) | |
422 | wave.CFrame = CFRAME | |
423 | coroutine.resume(coroutine.create(function(PART) | |
424 | for i = 1, WAIT do | |
425 | Swait() | |
426 | mesh.Scale = mesh.Scale + GROW | |
427 | wave.Transparency = wave.Transparency + 1 / WAIT | |
428 | if wave.Transparency > 0.99 then | |
429 | wave:remove() | |
430 | end | |
431 | end | |
432 | end)) | |
433 | end | |
434 | ||
435 | function SHAKECAM(POSITION, RANGE, INTENSITY, TIME) | |
436 | local TORSO = Torso | |
437 | local HUM = Humanoid | |
438 | if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then | |
439 | coroutine.wrap(function() | |
440 | VT = Vector3.new | |
441 | MRANDOM = math.random | |
442 | local A = TIME | |
443 | local B = INTENSITY | |
444 | local C = true | |
445 | local HUMANOID = Humanoid | |
446 | local TIMER = A or 35 | |
447 | local SHAKE = B or 5 | |
448 | local FADE = C or true | |
449 | if HUMANOID then | |
450 | local FADER = SHAKE / TIMER | |
451 | for i = 1, TIMER do | |
452 | wait() | |
453 | 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) | |
454 | end | |
455 | HUMANOID.CameraOffset = VT(0, 0, 0) | |
456 | end | |
457 | ||
458 | end)() | |
459 | end | |
460 | end | |
461 | ||
462 | function Effect(data) | |
463 | local FX = data.Effect or 'ResizeAndFade' | |
464 | local Parent = data.Parent or Effects | |
465 | local Color = data.Color or C3.N(0,0,0) | |
466 | local Size = data.Size or V3.N(1,1,1) | |
467 | local MoveDir = data.MoveDirection or nil | |
468 | local MeshData = data.Mesh or nil | |
469 | local SndData = data.Sound or nil | |
470 | local Frames = data.Frames or 45 | |
471 | local Manual = data.Manual or nil | |
472 | local Material = data.Material or nil | |
473 | local CFra = data.CFrame or Torso.CFrame | |
474 | local Settings = data.FXSettings or {} | |
475 | local Snd,Prt,Msh; | |
476 | local Shape = data.Shape or Enum.PartType.Block | |
477 | coroutine.resume(coroutine.create(function() | |
478 | if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then | |
479 | Prt = Manual | |
480 | else | |
481 | Prt = Part(Parent,Color,Material,Size,CFra,true,false) | |
482 | Prt.Shape = Shape | |
483 | end | |
484 | if(typeof(MeshData) == 'table')then | |
485 | Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset) | |
486 | elseif(typeof(MeshData) == 'Instance')then | |
487 | Msh = MeshData:Clone() | |
488 | Msh.Parent = Prt | |
489 | elseif(Shape == Enum.PartType.Block)then | |
490 | Msh = Mesh(Prt,Enum.MeshType.Brick) | |
491 | end | |
492 | if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then | |
493 | Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true) | |
494 | end | |
495 | if(Snd)then | |
496 | repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0 | |
497 | Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch | |
498 | end | |
499 | local MoveSpeed = nil; | |
500 | if(MoveDir)then | |
501 | MoveSpeed = (CFra.p - MoveDir).magnitude/Frames | |
502 | end | |
503 | local Inc = M.RNG()-M.RNG() | |
504 | local Thingie = 0 | |
505 | local Thingie2 = M.RNG(50,100)/100 | |
506 | if(FX ~= 'Arc')then | |
507 | for i = 1, Frames do | |
508 | if(swait and typeof(swait) == 'function')then | |
509 | swait() | |
510 | else | |
511 | wait() | |
512 | end | |
513 | if(FX == 'ResizeAndFade')then | |
514 | if(not Settings.EndSize)then | |
515 | Settings.EndSize = V3.N(0,0,0) | |
516 | end | |
517 | local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize)) | |
518 | if(Settings.EndIsIncrement)then | |
519 | Prt.Size = Prt.Size + Settings.EndSize | |
520 | else | |
521 | Prt.Size = Prt.Size - grow/Frames | |
522 | end | |
523 | Prt.Transparency = (i/Frames) | |
524 | elseif(FX == 'Fade')then | |
525 | Prt.Transparency = (i/Frames) | |
526 | end | |
527 | ||
528 | if(Settings.RandomizeCFrame)then | |
529 | Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)) | |
530 | end | |
531 | if(MoveDir and MoveSpeed)then | |
532 | local Orientation = Prt.Orientation | |
533 | Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed) | |
534 | Prt.Orientation = Orientation | |
535 | end | |
536 | end | |
537 | Prt:destroy() | |
538 | else | |
539 | local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End | |
540 | if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end | |
541 | local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
542 | local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
543 | assert(start ~= nil,"You need to specify a start point!") | |
544 | assert(endP ~= nil,"You need to specify an end point!") | |
545 | for i = 0, 1, Settings.Speed or 0.01 do | |
546 | if(swait and typeof(swait) == 'function')then | |
547 | swait() | |
548 | else | |
549 | wait() | |
550 | end | |
551 | if(Settings.Home)then | |
552 | endP = Settings.Home.CFrame | |
553 | end | |
554 | Prt.CFrame = Bezier(start, quarter, threequarter, endP, i) | |
555 | end | |
556 | if(Settings.RemoveOnGoal)then | |
557 | Prt:destroy() | |
558 | end | |
559 | end | |
560 | end)) | |
561 | return Prt,Msh,Snd | |
562 | end | |
563 | ||
564 | function RightWing() | |
565 | for i = 1, 2 do | |
566 | local PART | |
567 | local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false) | |
568 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(-15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-30 * i)), CF(0, 0, 0)) | |
569 | table.insert(RWINGS, WingWeld) | |
570 | PART = Wing | |
571 | local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false) | |
572 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0)) | |
573 | PART = Wing | |
574 | local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false) | |
575 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0)) | |
576 | local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false) | |
577 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0)) | |
578 | PART = Wing | |
579 | local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false) | |
580 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0)) | |
581 | local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false) | |
582 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
583 | local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false) | |
584 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0)) | |
585 | PART = Wing | |
586 | table.insert(RWINGS, WingWeld) | |
587 | local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false) | |
588 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0)) | |
589 | local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false) | |
590 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0)) | |
591 | local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false) | |
592 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0)) | |
593 | local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false) | |
594 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0)) | |
595 | PART = Wing | |
596 | table.insert(RWINGS, WingWeld) | |
597 | local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false) | |
598 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0)) | |
599 | PART = Wing | |
600 | local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false) | |
601 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(15), RAD(15)), CF(0, 0, 0)) | |
602 | local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false) | |
603 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0)) | |
604 | local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false) | |
605 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0.15, 0)) | |
606 | PART = Wing | |
607 | table.insert(RWINGS, WingWeld) | |
608 | local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false) | |
609 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0)) | |
610 | local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false) | |
611 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
612 | local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false) | |
613 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0)) | |
614 | local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false) | |
615 | table.insert(EYES, Wing1) | |
616 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0)) | |
617 | local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false) | |
618 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0)) | |
619 | PART = Wing | |
620 | table.insert(RWINGS, WingWeld) | |
621 | end | |
622 | BODY = {} | |
623 | for _, c in pairs(Character:GetDescendants()) do | |
624 | if c:IsA("BasePart") then | |
625 | table.insert(BODY, { | |
626 | c, | |
627 | c.Parent, | |
628 | c.Material, | |
629 | c.Color | |
630 | }) | |
631 | elseif c:IsA("JointInstance") then | |
632 | table.insert(BODY, { | |
633 | c, | |
634 | c.Parent, | |
635 | nil, | |
636 | nil | |
637 | }) | |
638 | end | |
639 | end | |
640 | end | |
641 | function LeftWing() | |
642 | for i = 1, 2 do | |
643 | local PART | |
644 | local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false) | |
645 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(-0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(30 * i)), CF(0, 0, 0)) | |
646 | table.insert(LWINGS, WingWeld) | |
647 | PART = Wing | |
648 | local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false) | |
649 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(-25), RAD(0)), CF(0, -0.8, 0)) | |
650 | PART = Wing | |
651 | local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false) | |
652 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0)) | |
653 | local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false) | |
654 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0)) | |
655 | PART = Wing | |
656 | local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false) | |
657 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0)) | |
658 | local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false) | |
659 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
660 | local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false) | |
661 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0)) | |
662 | PART = Wing | |
663 | table.insert(LWINGS, WingWeld) | |
664 | local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false) | |
665 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0)) | |
666 | local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false) | |
667 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0)) | |
668 | local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false) | |
669 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0)) | |
670 | local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false) | |
671 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0)) | |
672 | PART = Wing | |
673 | table.insert(LWINGS, WingWeld) | |
674 | local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false) | |
675 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0)) | |
676 | PART = Wing | |
677 | local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false) | |
678 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0)) | |
679 | local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false) | |
680 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0)) | |
681 | local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false) | |
682 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0)) | |
683 | PART = Wing | |
684 | table.insert(LWINGS, WingWeld) | |
685 | local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false) | |
686 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0)) | |
687 | local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false) | |
688 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
689 | local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false) | |
690 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0)) | |
691 | local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false) | |
692 | table.insert(EYES, Wing1) | |
693 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0)) | |
694 | local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false) | |
695 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0)) | |
696 | PART = Wing | |
697 | table.insert(LWINGS, WingWeld) | |
698 | end | |
699 | BODY = {} | |
700 | for _, c in pairs(Character:GetDescendants()) do | |
701 | if c:IsA("BasePart") then | |
702 | table.insert(BODY, { | |
703 | c, | |
704 | c.Parent, | |
705 | c.Material, | |
706 | c.Color | |
707 | }) | |
708 | elseif c:IsA("JointInstance") then | |
709 | table.insert(BODY, { | |
710 | c, | |
711 | c.Parent, | |
712 | nil, | |
713 | nil | |
714 | }) | |
715 | end | |
716 | end | |
717 | end | |
718 | ||
719 | function Swait(NUMBER) | |
720 | if NUMBER == 0 or NUMBER == nil then | |
721 | ArtificialHB.Event:wait() | |
722 | else | |
723 | for i = 1, NUMBER do | |
724 | ArtificialHB.Event:wait() | |
725 | end | |
726 | end | |
727 | end | |
728 | ||
729 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
730 | local NEWMESH = IT(MESH) | |
731 | if MESH == "SpecialMesh" then | |
732 | NEWMESH.MeshType = MESHTYPE | |
733 | if MESHID ~= "nil" and MESHID ~= "" then | |
734 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
735 | end | |
736 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
737 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
738 | end | |
739 | end | |
740 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
741 | NEWMESH.Scale = SCALE | |
742 | NEWMESH.Parent = PARENT | |
743 | return NEWMESH | |
744 | end | |
745 | ||
746 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
747 | local NEWPART = IT("Part") | |
748 | NEWPART.formFactor = FORMFACTOR | |
749 | NEWPART.Reflectance = REFLECTANCE | |
750 | NEWPART.Transparency = TRANSPARENCY | |
751 | NEWPART.CanCollide = false | |
752 | NEWPART.Locked = true | |
753 | NEWPART.Anchored = true | |
754 | if ANCHOR == false then | |
755 | NEWPART.Anchored = false | |
756 | end | |
757 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
758 | NEWPART.Name = NAME | |
759 | NEWPART.Size = SIZE | |
760 | NEWPART.Position = Torso.Position | |
761 | NEWPART.Material = MATERIAL | |
762 | NEWPART:BreakJoints() | |
763 | NEWPART.Parent = PARENT | |
764 | return NEWPART | |
765 | end | |
766 | ||
767 | local function weldBetween(a, b) | |
768 | local weldd = Instance.new("ManualWeld") | |
769 | weldd.Part0 = a | |
770 | weldd.Part1 = b | |
771 | weldd.C0 = CFrame.new() | |
772 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
773 | weldd.Parent = a | |
774 | return weldd | |
775 | end | |
776 | ||
777 | ||
778 | function QuaternionFromCFrame(cf) | |
779 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
780 | local trace = m00 + m11 + m22 | |
781 | if trace > 0 then | |
782 | local s = math.sqrt(1 + trace) | |
783 | local recip = 0.5 / s | |
784 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
785 | else | |
786 | local i = 0 | |
787 | if m11 > m00 then | |
788 | i = 1 | |
789 | end | |
790 | if m22 > (i == 0 and m00 or m11) then | |
791 | i = 2 | |
792 | end | |
793 | if i == 0 then | |
794 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
795 | local recip = 0.5 / s | |
796 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
797 | elseif i == 1 then | |
798 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
799 | local recip = 0.5 / s | |
800 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
801 | elseif i == 2 then | |
802 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
803 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
804 | end | |
805 | end | |
806 | end | |
807 | ||
808 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
809 | local xs, ys, zs = x + x, y + y, z + z | |
810 | local wx, wy, wz = w * xs, w * ys, w * zs | |
811 | local xx = x * xs | |
812 | local xy = x * ys | |
813 | local xz = x * zs | |
814 | local yy = y * ys | |
815 | local yz = y * zs | |
816 | local zz = z * zs | |
817 | 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)) | |
818 | end | |
819 | ||
820 | function QuaternionSlerp(a, b, t) | |
821 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
822 | local startInterp, finishInterp; | |
823 | if cosTheta >= 0.0001 then | |
824 | if (1 - cosTheta) > 0.0001 then | |
825 | local theta = ACOS(cosTheta) | |
826 | local invSinTheta = 1 / SIN(theta) | |
827 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
828 | finishInterp = SIN(t * theta) * invSinTheta | |
829 | else | |
830 | startInterp = 1 - t | |
831 | finishInterp = t | |
832 | end | |
833 | else | |
834 | if (1 + cosTheta) > 0.0001 then | |
835 | local theta = ACOS(-cosTheta) | |
836 | local invSinTheta = 1 / SIN(theta) | |
837 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
838 | finishInterp = SIN(t * theta) * invSinTheta | |
839 | else | |
840 | startInterp = t - 1 | |
841 | finishInterp = t | |
842 | end | |
843 | end | |
844 | 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 | |
845 | end | |
846 | ||
847 | function Clerp(a, b, t) | |
848 | local qa = {QuaternionFromCFrame(a)} | |
849 | local qb = {QuaternionFromCFrame(b)} | |
850 | local ax, ay, az = a.x, a.y, a.z | |
851 | local bx, by, bz = b.x, b.y, b.z | |
852 | local _t = 1 - t | |
853 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
854 | end | |
855 | ||
856 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
857 | local frame = IT("Frame") | |
858 | frame.BackgroundTransparency = TRANSPARENCY | |
859 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
860 | frame.Position = POSITION | |
861 | frame.Size = SIZE | |
862 | frame.BackgroundColor3 = COLOR | |
863 | frame.BorderColor3 = BORDERCOLOR | |
864 | frame.Name = NAME | |
865 | frame.Parent = PARENT | |
866 | return frame | |
867 | end | |
868 | ||
869 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
870 | local label = IT("TextLabel") | |
871 | label.BackgroundTransparency = 1 | |
872 | label.Size = UD2(1, 0, 1, 0) | |
873 | label.Position = UD2(0, 0, 0, 0) | |
874 | label.TextColor3 = TEXTCOLOR | |
875 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
876 | label.TextTransparency = TRANSPARENCY | |
877 | label.FontSize = TEXTFONTSIZE | |
878 | label.Font = TEXTFONT | |
879 | label.BorderSizePixel = BORDERSIZEPIXEL | |
880 | label.TextScaled = false | |
881 | label.Text = TEXT | |
882 | label.Name = NAME | |
883 | label.Parent = PARENT | |
884 | return label | |
885 | end | |
886 | ||
887 | function NoOutlines(PART) | |
888 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
889 | end | |
890 | ||
891 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
892 | local NEWWELD = IT(TYPE) | |
893 | NEWWELD.Part0 = PART0 | |
894 | NEWWELD.Part1 = PART1 | |
895 | NEWWELD.C0 = C0 | |
896 | NEWWELD.C1 = C1 | |
897 | NEWWELD.Parent = PARENT | |
898 | return NEWWELD | |
899 | end | |
900 | ||
901 | local S = IT("Sound") | |
902 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
903 | local NEWSOUND = nil | |
904 | coroutine.resume(coroutine.create(function() | |
905 | NEWSOUND = S:Clone() | |
906 | NEWSOUND.Parent = PARENT | |
907 | NEWSOUND.Volume = VOLUME | |
908 | NEWSOUND.Pitch = PITCH | |
909 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
910 | NEWSOUND:play() | |
911 | if DOESLOOP == true then | |
912 | NEWSOUND.Looped = true | |
913 | else | |
914 | repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT | |
915 | NEWSOUND:remove() | |
916 | end | |
917 | end)) | |
918 | return NEWSOUND | |
919 | end | |
920 | ||
921 | function CFrameFromTopBack(at, top, back) | |
922 | local right = top:Cross(back) | |
923 | 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) | |
924 | end | |
925 | ||
926 | --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false}) | |
927 | function Lightning(Table) | |
928 | local Color = Table.Color or C3(1,1,1) | |
929 | local StartPos = Table.Start or Torso.Position | |
930 | local EndPos = Table.End or Mouse.Hit.p | |
931 | local SegmentLength = Table.SegmentL or 2 | |
932 | local Thickness = Table.Thickness or 0.1 | |
933 | local Dissapear = Table.DoesFade or false | |
934 | local Parent = Table.Ignore or Character | |
935 | local MaxDist = Table.MaxDist or 400 | |
936 | local Branches = Table.Branches or false | |
937 | local Thicken = Table.Thicken or false | |
938 | local FadeTime = Table.FadeTime or 15 | |
939 | local FadeIn = Table.FadeIn or false | |
940 | local Material = Table.Material or "Neon" | |
941 | local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent) | |
942 | local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5)) | |
943 | local LIGHTNINGMODEL = IT("Model",Effects) | |
944 | LIGHTNINGMODEL.Name = "Lightning" | |
945 | local LastBolt = nil | |
946 | for E = 1, DISTANCE do | |
947 | local ExtraSize = 0 | |
948 | if Thicken == true then | |
949 | ExtraSize = (DISTANCE-E)/15 | |
950 | end | |
951 | local TRANSPARENCY = 0 | |
952 | if FadeIn == true then | |
953 | TRANSPARENCY = 1-(E/(DISTANCE/1.5)) | |
954 | if TRANSPARENCY < 0 then | |
955 | TRANSPARENCY = 0 | |
956 | end | |
957 | end | |
958 | local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize)) | |
959 | PART.Color = Color | |
960 | MakeForm(PART,"Cyl") | |
961 | if LastBolt == nil then | |
962 | PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
963 | else | |
964 | PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
965 | end | |
966 | LastBolt = PART | |
967 | if Branches == true and E < (DISTANCE-5) then | |
968 | local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2)) | |
969 | if CHOICE == 1 then | |
970 | local LASTBRANCH = nil | |
971 | for i = 1, MRANDOM(2,5) do | |
972 | local ExtraSize2 = 0 | |
973 | if Thicken == true then | |
974 | ExtraSize = ((DISTANCE-E)/25)/i | |
975 | end | |
976 | local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2)) | |
977 | PART.Color = Color | |
978 | MakeForm(PART,"Cyl") | |
979 | if LASTBRANCH == nil then | |
980 | PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
981 | else | |
982 | PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
983 | end | |
984 | LASTBRANCH = PART | |
985 | end | |
986 | end | |
987 | end | |
988 | end | |
989 | if Dissapear == true then | |
990 | coroutine.resume(coroutine.create(function() | |
991 | for i = 1, FadeTime do | |
992 | Swait() | |
993 | for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do | |
994 | if c.ClassName == "Part" then | |
995 | c.Transparency = c.Transparency + (i/FadeTime)/10 | |
996 | end | |
997 | end | |
998 | end | |
999 | LIGHTNINGMODEL:remove() | |
1000 | end)) | |
1001 | elseif Dissapear == false then | |
1002 | Debris:AddItem(LIGHTNINGMODEL,0.1) | |
1003 | end | |
1004 | return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL} | |
1005 | end | |
1006 | ||
1007 | --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}) | |
1008 | local cR=255 | |
1009 | local cG=0 | |
1010 | local cB=0 | |
1011 | local flg5=1 local omgidk=1 | |
1012 | local add=15 | |
1013 | game:GetService("RunService"):BindToRenderStep("Ghost",1,function() | |
1014 | if omgidk>10000 then omgidk=0 end | |
1015 | omgidk=omgidk+1 | |
1016 | if cR>=255 then flg5=1 end | |
1017 | if cG>=255 then flg5=2 end | |
1018 | if cB>=255 then flg5=3 end | |
1019 | if flg5==1 then cR=cR-add cG=cG+add end | |
1020 | if flg5==2 then cG=cG-add cB=cB+add end | |
1021 | if flg5==3 then cB=cB-add cR=cR+add end | |
1022 | color=Color3.fromRGB(cR,cG,cB) | |
1023 | function WACKYEFFECT(Table) | |
1024 | local TYPE = (Table.EffectType or "Sphere") | |
1025 | local SIZE = (Table.Size or VT(6,6,6)) | |
1026 | local ENDSIZE = (Table.Size2 or VT(7,7,7)) | |
1027 | local TRANSPARENCY = (Table.Transparency or 0) | |
1028 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
1029 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
1030 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
1031 | local ROTATION1 = (Table.RotationX or 0) | |
1032 | local ROTATION2 = (Table.RotationY or 0) | |
1033 | local ROTATION3 = (Table.RotationZ or 0) | |
1034 | local MATERIAL = "Neon" | |
1035 | local COLOR = color | |
1036 | local TIME = (Table.Time or 45) | |
1037 | local SOUNDID = (Table.SoundID or nil) | |
1038 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
1039 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
1040 | coroutine.resume(coroutine.create(function() | |
1041 | local PLAYSSOUND = false | |
1042 | local SOUND = nil | |
1043 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
1044 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
1045 | PLAYSSOUND = true | |
1046 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
1047 | end | |
1048 | EFFECT.Color = color | |
1049 | local MSH = nil | |
1050 | if TYPE == "Sphere" then | |
1051 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
1052 | elseif TYPE == "Block" then | |
1053 | MSH = IT("BlockMesh",EFFECT) | |
1054 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
1055 | elseif TYPE == "Wave" then | |
1056 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
1057 | elseif TYPE == "Ring" then | |
1058 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
1059 | elseif TYPE == "Slash" then | |
1060 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
1061 | elseif TYPE == "Round Slash" then | |
1062 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
1063 | elseif TYPE == "Swirl" then | |
1064 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
1065 | elseif TYPE == "Skull" then | |
1066 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
1067 | elseif TYPE == "Crystal" then | |
1068 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
1069 | end | |
1070 | if MSH ~= nil then | |
1071 | local MOVESPEED = nil | |
1072 | if MOVEDIRECTION ~= nil then | |
1073 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
1074 | end | |
1075 | local GROWTH = SIZE - ENDSIZE | |
1076 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
1077 | if TYPE == "Block" then | |
1078 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
1079 | else | |
1080 | EFFECT.CFrame = CFRAME | |
1081 | end | |
1082 | for LOOP = 1, TIME+1 do | |
1083 | Swait() | |
1084 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
1085 | if TYPE == "Wave" then | |
1086 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
1087 | end | |
1088 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
1089 | if TYPE == "Block" then | |
1090 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
1091 | else | |
1092 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
1093 | end | |
1094 | if MOVEDIRECTION ~= nil then | |
1095 | local ORI = EFFECT.Orientation | |
1096 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
1097 | EFFECT.Orientation = ORI | |
1098 | end | |
1099 | end | |
1100 | if PLAYSSOUND == false then | |
1101 | EFFECT:remove() | |
1102 | else | |
1103 | SOUND.Stopped:Connect(function() | |
1104 | EFFECT:remove() | |
1105 | end) | |
1106 | end | |
1107 | else | |
1108 | if PLAYSSOUND == false then | |
1109 | EFFECT:remove() | |
1110 | else | |
1111 | repeat Swait() until SOUND.Playing == false | |
1112 | EFFECT:remove() | |
1113 | end | |
1114 | end | |
1115 | end)) | |
1116 | end | |
1117 | end) | |
1118 | function MakeForm(PART,TYPE) | |
1119 | if TYPE == "Cyl" then | |
1120 | local MSH = IT("CylinderMesh",PART) | |
1121 | elseif TYPE == "Ball" then | |
1122 | local MSH = IT("SpecialMesh",PART) | |
1123 | MSH.MeshType = "Sphere" | |
1124 | elseif TYPE == "Wedge" then | |
1125 | local MSH = IT("SpecialMesh",PART) | |
1126 | MSH.MeshType = "Wedge" | |
1127 | end | |
1128 | end | |
1129 | function SpawnTrail(FROM,TO,BIG) | |
1130 | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10)) | |
1131 | MakeForm(TRAIL,"Cyl") | |
1132 | local cR=255 | |
1133 | local cG=0 | |
1134 | local cB=0 | |
1135 | local flg5=1 local omgidk=1 | |
1136 | local add=15 | |
1137 | game:GetService("RunService"):BindToRenderStep("Ghost",1,function() | |
1138 | if omgidk>10000 then omgidk=0 end | |
1139 | omgidk=omgidk+1 | |
1140 | if cR>=255 then flg5=1 end | |
1141 | if cG>=255 then flg5=2 end | |
1142 | if cB>=255 then flg5=3 end | |
1143 | if flg5==1 then cR=cR-add cG=cG+add end | |
1144 | if flg5==2 then cG=cG-add cB=cB+add end | |
1145 | if flg5==3 then cB=cB-add cR=cR+add end | |
1146 | color=Color3.fromRGB(cR,cG,cB) | |
1147 | TRAIL.Color = color | |
1148 | end) | |
1149 | local DIST = (FROM - TO).Magnitude | |
1150 | if BIG == true then | |
1151 | TRAIL.Size = VT(5,DIST,5) | |
1152 | else | |
1153 | TRAIL.Size = VT(5,DIST,5) | |
1154 | end | |
1155 | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
1156 | coroutine.resume(coroutine.create(function() | |
1157 | for i = 1, 55 do | |
1158 | Swait() | |
1159 | TRAIL.Transparency = TRAIL.Transparency + 0.01 | |
1160 | end | |
1161 | TRAIL:remove() | |
1162 | end)) | |
1163 | end | |
1164 | ||
1165 | Debris = game:GetService("Debris") | |
1166 | ||
1167 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
1168 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
1169 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
1170 | end | |
1171 | ||
1172 | function turnto(position) | |
1173 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
1174 | end | |
1175 | ||
1176 | --//=================================\\ | |
1177 | --|| WEAPON CREATION | |
1178 | --\\=================================// | |
1179 | local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1.1,-0.25)*ANGLES(RAD(-110),RAD(0),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(180)), CF(0,0,0)) | |
1180 | ||
1181 | for i = 1, 35 do | |
1182 | local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false) | |
1183 | FACE.Color = C3(0,0,0) | |
1184 | Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE | |
1185 | CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0)) | |
1186 | end | |
1187 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Navy blue", "Eye", VT(0.6,0.1,1)/2,false) | |
1188 | MakeForm(Eye,"Ball") | |
1189 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4)) | |
1190 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Navy blue", "Eye", VT(0.6,0.1,1)/2,false) | |
1191 | MakeForm(Eye,"Ball") | |
1192 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4)) | |
1193 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Navy blue", "Eye", VT(0.1,1,1)/2,false) | |
1194 | MakeForm(Eye,"Ball") | |
1195 | - | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Eye", VT(0.6,0.1,1)/2,false) |
1195 | + | |
1196 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Navy blue", "Eye", VT(0.1,1,1)/2,false) | |
1197 | MakeForm(Eye,"Ball") | |
1198 | - | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false) |
1198 | + | |
1199 | ||
1200 | local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eon", VT(0.5,0.5,1.25),false) | |
1201 | - | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Eye", VT(0.1,1,1)/2,false) |
1201 | + | |
1202 | ||
1203 | local Particle = IT("ParticleEmitter",nil) | |
1204 | - | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false) |
1204 | + | |
1205 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)}) | |
1206 | Particle.LightEmission = 0.5 | |
1207 | Particle.Rate = 150 | |
1208 | - | local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Eon", VT(0.5,0.5,1.25),false) |
1208 | + | |
1209 | Particle.Rotation = NumberRange.new(-180, 180) | |
1210 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
1211 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
1212 | Particle.Color = ColorSequence.new(C3(255,128,0),C3(0,155,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191)) | |
1213 | ||
1214 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
1215 | function ParticleEmitter(Table) | |
1216 | local PRTCL = Particle:Clone() | |
1217 | local Speed = Table.Speed or 5 | |
1218 | local Drag = Table.Drag or 0 | |
1219 | local Size1 = Table.Size1 or 1 | |
1220 | local Size2 = Table.Size2 or 5 | |
1221 | local Lifetime1 = Table.Lifetime1 or 1 | |
1222 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
1223 | local Parent = Table.Parent or Torso | |
1224 | local Emit = Table.Emit or 100 | |
1225 | local Offset = Table.Offset or 360 | |
1226 | local Acel = Table.Acel or VT(0,0,0) | |
1227 | local Enabled = Table.Enabled or false | |
1228 | PRTCL.Parent = Parent | |
1229 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
1230 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
1231 | PRTCL.Speed = NumberRange.new(Speed) | |
1232 | PRTCL.VelocitySpread = Offset | |
1233 | PRTCL.Drag = Drag | |
1234 | PRTCL.Acceleration = Acel | |
1235 | if Enabled == false then | |
1236 | PRTCL:Emit(Emit) | |
1237 | Debris:AddItem(PRTCL,Lifetime2) | |
1238 | else | |
1239 | PRTCL.Enabled = true | |
1240 | end | |
1241 | return PRTCL | |
1242 | end | |
1243 | ||
1244 | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.6,0.2),false) | |
1245 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0)) | |
1246 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false) | |
1247 | MakeForm(Part,"Wedge") | |
1248 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1249 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Deep orange", "Part", VT(0.2,0.3,0.2),false) | |
1250 | MakeForm(Part,"Wedge") | |
1251 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0)) | |
1252 | - | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false) |
1252 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Deep orange", "Part", VT(0.3,0.3,0.3),false) |
1253 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1254 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) |
1254 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New yeller", "Part", VT(0.3,0.5,0.5),false) |
1255 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1256 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New yeller", "Part", VT(0.4,0.4,0.4),false) | |
1257 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false) |
1257 | + | |
1258 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1259 | for i = 1, 8 do | |
1260 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false) |
1260 | + | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Lavender", "Eye", VT(0,0.35,0.41),false) |
1261 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
1262 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) |
1262 | + | |
1263 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lavender", "Eye", VT(0.38,0.41,0.38),false) | |
1264 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) |
1264 | + | |
1265 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1266 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Deep orange", "Part", VT(0.37,0.5,0.37),false) | |
1267 | MakeForm(Part,"Ball") | |
1268 | - | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) |
1268 | + | |
1269 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0.7,0.4),false) | |
1270 | MakeForm(Part,"Wedge") | |
1271 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false) |
1271 | + | |
1272 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Deep orange", "Part", VT(0.3,0.4,0.2),false) | |
1273 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1274 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false) |
1274 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New yeller", "Part", VT(0.35,0.35,0.35),false) |
1275 | MakeForm(Part,"Cyl") | |
1276 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1277 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false) |
1277 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Navy blue", "Part", VT(0.5,0.1,0.5),false) |
1278 | MakeForm(Part,"Cyl") | |
1279 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1280 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false) |
1280 | + | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Navy blue", "Part", VT(0.5,0.1,0.45),false) |
1281 | MakeForm(Part,"Cyl") | |
1282 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false) |
1282 | + | |
1283 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Navy blue", "Part", VT(0.2,0.5,0.2),false) | |
1284 | MakeForm(Part,"Wedge") | |
1285 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false) |
1285 | + | |
1286 | local LASTPART = Handle | |
1287 | for i = 1, 10 do | |
1288 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false) |
1288 | + | |
1289 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Navy blue", "Part", VT(0.1,0.2,0),false) | |
1290 | LASTPART = Part | |
1291 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) |
1291 | + | |
1292 | else | |
1293 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Royal purple", "Part", VT(0.1,0.05,0),false) | |
1294 | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0)) | |
1295 | LASTPART = Part | |
1296 | end | |
1297 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false) |
1297 | + | |
1298 | ||
1299 | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Lavender", "Part", VT(0.15,2,0.15),false) | |
1300 | MakeForm(Barrel,"Cyl") | |
1301 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false) |
1301 | + | |
1302 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Navy blue", "Part", VT(0.25,1,0.25),false) | |
1303 | MakeForm(Part,"Cyl") | |
1304 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0)) | |
1305 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Navy blue", "Part", VT(0,0.1,0.2),false) | |
1306 | MakeForm(Part,"Wedge") | |
1307 | - | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false) |
1307 | + | |
1308 | local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0.125,0,0.125),false) | |
1309 | MakeForm(Hole,"Cyl") | |
1310 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false) |
1310 | + | |
1311 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Deep orange", "Part", VT(0,0,0),false) | |
1312 | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1313 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false) |
1313 | + | |
1314 | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "New yeller", "Eye", VT(0,0,0),false) | |
1315 | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1316 | - | local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false) |
1316 | + | |
1317 | coroutine.resume(coroutine.create(function() | |
1318 | while wait() do | |
1319 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false) |
1319 | + | |
1320 | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5)) | |
1321 | end | |
1322 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false) |
1322 | + | |
1323 | ||
1324 | ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)}) | |
1325 | --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)}) | |
1326 | ||
1327 | local cR=255 | |
1328 | local cG=0 | |
1329 | local cB=0 | |
1330 | local flg5=1 local omgidk=1 | |
1331 | local add=15 | |
1332 | game:GetService("RunService"):BindToRenderStep("Ghost",1,function() | |
1333 | if omgidk>10000 then omgidk=0 end | |
1334 | omgidk=omgidk+1 | |
1335 | if cR>=255 then flg5=1 end | |
1336 | if cG>=255 then flg5=2 end | |
1337 | if cB>=255 then flg5=3 end | |
1338 | if flg5==1 then cR=cR-add cG=cG+add end | |
1339 | if flg5==2 then cG=cG-add cB=cB+add end | |
1340 | if flg5==3 then cB=cB-add cR=cR+add end | |
1341 | color=Color3.fromRGB(cR,cG,cB) | |
1342 | for _, c in pairs(Weapon:GetDescendants()) do | |
1343 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
1344 | c.Material = "Glass" | |
1345 | c.Color = C3(0,0,0) | |
1346 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
1347 | c.Color = color | |
1348 | c.Material = "Neon" | |
1349 | end | |
1350 | end | |
1351 | end) | |
1352 | Weapon.Parent = Character | |
1353 | for _, c in pairs(Weapon:GetChildren()) do | |
1354 | if c.ClassName == "Part" then | |
1355 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1356 | end | |
1357 | end | |
1358 | ||
1359 | function swait(num) | |
1360 | if num == 0 or num == nil then | |
1361 | ArtificialHB.Event:wait() | |
1362 | else | |
1363 | for i = 0, num do | |
1364 | ArtificialHB.Event:wait() | |
1365 | end | |
1366 | end | |
1367 | end | |
1368 | ||
1369 | function chatfunc(text) | |
1370 | local chat = coroutine.wrap(function() | |
1371 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
1372 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
1373 | end | |
1374 | local Bill = Instance.new("BillboardGui",Character) | |
1375 | Bill.Size = UDim2.new(0,100,0,40) | |
1376 | Bill.StudsOffset = Vector3.new(0,3,0) | |
1377 | Bill.Adornee = Character.Head | |
1378 | Bill.Name = "TalkingBillBoard" | |
1379 | local Hehe = Instance.new("TextLabel",Bill) | |
1380 | Hehe.BackgroundTransparency = 1 | |
1381 | Hehe.BorderSizePixel = 0 | |
1382 | Hehe.Text = "" | |
1383 | Hehe.Font = "Bodoni" | |
1384 | Hehe.TextSize = 40 | |
1385 | Hehe.TextStrokeTransparency = 0 | |
1386 | Hehe.Size = UDim2.new(1,0,0.5,0) | |
1387 | coroutine.resume(coroutine.create(function() | |
1388 | while Hehe ~= nil do | |
1389 | swait() | |
1390 | Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
1391 | Hehe.Rotation = math.random(-5,5) | |
1392 | Hehe.TextColor3 = Color3.new(0,255,0) | |
1393 | Hehe.TextStrokeColor3 = Color3.new(0,0,0) | |
1394 | end | |
1395 | end)) | |
1396 | for i = 1,string.len(text),1 do | |
1397 | swait() | |
1398 | Hehe.Text = string.sub(text,1,i) | |
1399 | end | |
1400 | swait(90)--Re[math.random(1, 93)] | |
1401 | for i = 0, 1, .025 do | |
1402 | swait() | |
1403 | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) | |
1404 | Hehe.TextStrokeTransparency = i | |
1405 | Hehe.TextTransparency = i | |
1406 | end | |
1407 | Bill:Destroy() | |
1408 | end) | |
1409 | chat() | |
1410 | end | |
1411 | ||
1412 | function onChatted(msg) | |
1413 | chatfunc(msg) | |
1414 | end | |
1415 | ||
1416 | Player.Chatted:connect(onChatted) | |
1417 | ||
1418 | local BODY = {} | |
1419 | for _, c in pairs(Character:GetDescendants()) do | |
1420 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
1421 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
1422 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1423 | end | |
1424 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name}) | |
1425 | elseif c:IsA("JointInstance") then | |
1426 | table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil}) | |
1427 | end | |
1428 | end | |
1429 | ||
1430 | function refit() | |
1431 | Character.Parent = workspace | |
1432 | for e = 1, #BODY do | |
1433 | if BODY[e] ~= nil then | |
1434 | local STUFF = BODY[e] | |
1435 | local PART = STUFF[1] | |
1436 | local PARENT = STUFF[2] | |
1437 | local MATERIAL = STUFF[3] | |
1438 | local COLOR = STUFF[4] | |
1439 | local TRANSPARENCY = STUFF[5] | |
1440 | --local SIZE = STUFF[6] | |
1441 | local NAME = STUFF[7] | |
1442 | if PART.ClassName == "Part" and PART ~= RootPart then | |
1443 | PART.Material = MATERIAL | |
1444 | PART.Transparency = TRANSPARENCY | |
1445 | PART.Name = NAME | |
1446 | end | |
1447 | if PART.Parent ~= PARENT then | |
1448 | Humanoid:remove() | |
1449 | PART.Parent = PARENT | |
1450 | Humanoid = IT("Humanoid",Character) | |
1451 | end | |
1452 | end | |
1453 | end | |
1454 | end | |
1455 | ||
1456 | local SKILLTEXTCOLOR = C3(0,255,0) | |
1457 | local SKILLFONT = "Code" | |
1458 | local SKILLTEXTSIZE = 7 | |
1459 | ||
1460 | Humanoid.Died:connect(function() | |
1461 | refit() | |
1462 | end) | |
1463 | ||
1464 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
1465 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
1466 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
1467 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
1468 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
1469 | local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.3, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") | |
1470 | local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.3, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame") | |
1471 | local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame") | |
1472 | local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.4, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame") | |
1473 | local SKILL10FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.4, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 10 Frame") | |
1474 | local SKILL11FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.5, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 11 Frame") | |
1475 | local SKILL12FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.5, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 12 Frame") | |
1476 | ||
1477 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Burning Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1") | |
1478 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2") | |
1479 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Burning Barrage", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3") | |
1480 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Burning Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4") | |
1481 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[B] Burning Fury", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5") | |
1482 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[P] Dance Boi", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6") | |
1483 | local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 7") | |
1484 | local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[G] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 8") | |
1485 | local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[E] Burning Ravage", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 9") | |
1486 | local SKILL10TEXT = CreateLabel(SKILL10FRAME, "[Y] Overflowing Burn", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 10") | |
1487 | local SKILL11TEXT = CreateLabel(SKILL11FRAME, "[J] Supernova", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 11") | |
1488 | local SKILL12TEXT = CreateLabel(SKILL12FRAME, "[U] Everyone's Hopes", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 12") | |
1489 | ||
1490 | function printbye(Name) | |
1491 | local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "} | |
1492 | chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") | |
1493 | end | |
1494 | ||
1495 | workspace.ChildAdded:connect(function(instance) | |
1496 | for BANISH = 1, #TOBANISH do | |
1497 | if TOBANISH[BANISH] ~= nil then | |
1498 | if instance.Name == TOBANISH[BANISH] then | |
1499 | coroutine.resume(coroutine.create(function() | |
1500 | printbye(instance.Name) | |
1501 | instance:ClearAllChildren() | |
1502 | Debris:AddItem(instance,0.0005) | |
1503 | end)) | |
1504 | end | |
1505 | end | |
1506 | end | |
1507 | end) | |
1508 | ||
1509 | --//=================================\\ | |
1510 | --|| DAMAGING | |
1511 | --\\=================================// | |
1512 | ||
1513 | function Banish(Foe) | |
1514 | if Foe then | |
1515 | coroutine.resume(coroutine.create(function() | |
1516 | --if game.Players:FindFirstChild(Foe.Name) then | |
1517 | table.insert(TOBANISH,Foe.Name) | |
1518 | printbye(Foe.Name) | |
1519 | --end | |
1520 | Foe.Archivable = true | |
1521 | local CLONE = Foe:Clone() | |
1522 | Foe:Destroy() | |
1523 | CLONE.Parent = Effects | |
1524 | CLONE:BreakJoints() | |
1525 | local MATERIALS = {"Glass","Neon"} | |
1526 | for _, c in pairs(CLONE:GetDescendants()) do | |
1527 | if c:IsA("BasePart") then | |
1528 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
1529 | CreateSound(340722848, c, 10, 1, false) | |
1530 | end | |
1531 | c.Anchored = true | |
1532 | c.Transparency = c.Transparency + 0.2 | |
1533 | c.Material = MATERIALS[MRANDOM(1,2)] | |
1534 | c.Color = C3(0,255,0) | |
1535 | if c.ClassName == "MeshPart" then | |
1536 | c.TextureID = "" | |
1537 | end | |
1538 | if c:FindFirstChildOfClass("SpecialMesh") then | |
1539 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
1540 | end | |
1541 | if c:FindFirstChildOfClass("Decal") then | |
1542 | c:FindFirstChildOfClass("Decal"):remove() | |
1543 | end | |
1544 | c.Name = "Banished" | |
1545 | c.CanCollide = false | |
1546 | else | |
1547 | c:remove() | |
1548 | end | |
1549 | end | |
1550 | local A = false | |
1551 | for i = 1, 35 do | |
1552 | if A == false then | |
1553 | A = true | |
1554 | elseif A == true then | |
1555 | A = false | |
1556 | end | |
1557 | for _, c in pairs(CLONE:GetDescendants()) do | |
1558 | if c:IsA("BasePart") then | |
1559 | c.Anchored = true | |
1560 | c.Material = MATERIALS[MRANDOM(1,2)] | |
1561 | c.Transparency = c.Transparency + 0.8/35 | |
1562 | if A == false then | |
1563 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
1564 | elseif A == true then | |
1565 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
1566 | end | |
1567 | end | |
1568 | end | |
1569 | Swait() | |
1570 | end | |
1571 | CLONE:remove() | |
1572 | end)) | |
1573 | end | |
1574 | end | |
1575 | ||
1576 | function ApplyAoE(POSITION,RANGE,ISBANISH) | |
1577 | local CHILDREN = workspace:GetDescendants() | |
1578 | for index, CHILD in pairs(CHILDREN) do | |
1579 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
1580 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
1581 | if HUM then | |
1582 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
1583 | if TORSO then | |
1584 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
1585 | if ISBANISH == true then | |
1586 | Banish(CHILD) | |
1587 | else | |
1588 | if ISBANISH == "Gravity" then | |
1589 | HUM.PlatformStand = true | |
1590 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
1591 | local grav = Instance.new("BodyPosition",TORSO) | |
1592 | grav.D = 15 | |
1593 | grav.P = 20000 | |
1594 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1595 | grav.position = TORSO.Position | |
1596 | grav.Name = "V3BanishForce"..Player.Name | |
1597 | else | |
1598 | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0) | |
1599 | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) | |
1600 | end | |
1601 | else | |
1602 | HUM.PlatformStand = false | |
1603 | end | |
1604 | end | |
1605 | elseif ISBANISH == "Gravity" then | |
1606 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
1607 | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove() | |
1608 | HUM.PlatformStand = false | |
1609 | end | |
1610 | end | |
1611 | end | |
1612 | end | |
1613 | end | |
1614 | end | |
1615 | end | |
1616 | ||
1617 | UnBanishTaunts = {"You Are Released.", "If You Do The Same Thing Twice You Shall Not Be Given Mercy.", "Your Actions Have Been Forgiven.", "I shall set you free.", "I have let you go.", "Don't do that again.", "As A Person, i have the emotion of forgiving.", "Its Only Fair To Show You Mercy."} | |
1618 | ||
1619 | --//=================================\\ | |
1620 | --|| ATTACK FUNCTIONS AND STUFF | |
1621 | --\\=================================// | |
1622 | local LAUGHS = {"907329532", "907329893", "865772398", "907333294"} | |
1623 | ||
1624 | local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) | |
1625 | MakeForm(RightHole,"Cyl") | |
1626 | local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) | |
1627 | MakeForm(LeftHole,"Cyl") | |
1628 | ||
1629 | function getbloody(victim,amount) | |
1630 | local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size) | |
1631 | PART.CFrame = victim.CFrame | |
1632 | local HITPLAYERSOUNDS = {"356551938","264486467"} | |
1633 | Debris:AddItem(PART,5) | |
1634 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
1635 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
1636 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
1637 | local prtcl = asd:Clone() | |
1638 | prtcl.Parent = PART | |
1639 | prtcl:Emit(amount*10) | |
1640 | end | |
1641 | ||
1642 | GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false) | |
1643 | ||
1644 | function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine) | |
1645 | if DoesCourontine == false then | |
1646 | local Direction = CF(Part.Position, ToLocation) | |
1647 | local Distance = (Part.Position - ToLocation).magnitude | |
1648 | for i = 1, AmountOfTime do | |
1649 | Swait() | |
1650 | Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime) | |
1651 | Direction = Part.CFrame | |
1652 | end | |
1653 | Part:remove() | |
1654 | elseif DoesCourontine == true then | |
1655 | coroutine.resume(coroutine.create(function() | |
1656 | local Direction = CF(Part.Position, ToLocation) | |
1657 | local Distance = (Part.Position - ToLocation).magnitude | |
1658 | for i = 1, AmountOfTime do | |
1659 | Swait() | |
1660 | Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime) | |
1661 | Direction = Part.CFrame | |
1662 | end | |
1663 | Part:remove() | |
1664 | end)) | |
1665 | end | |
1666 | end | |
1667 | ||
1668 | function Absoluteum() | |
1669 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) | |
1670 | if HITFLOOR ~= nil then | |
1671 | do | |
1672 | local HITBODIES = {} | |
1673 | ATTACK = true | |
1674 | Rooted = true | |
1675 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "ABSOLUTEUM", VT(0, 0, 0)) | |
1676 | MakeForm(ABSOLUTE, "Ball") | |
1677 | CreateSound("416200578", RootPart, 10, 1) | |
1678 | for i = 0, 8, 0.1 / Animation_Speed do | |
1679 | Swait() | |
1680 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2) | |
1681 | ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0) | |
1682 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
1683 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "ABSOLUTEUM", VT(2, 2, 2)) | |
1684 | MakeForm(CHARGE, "Ball") | |
1685 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15)) | |
1686 | FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true) | |
1687 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1688 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1689 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1690 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1691 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1692 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1693 | end | |
1694 | CreateSound(LAUGHS[MRANDOM(1, #LAUGHS)], Head, 10, 0.9) | |
1695 | CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10) | |
1696 | for i = 1, 45 do | |
1697 | Swait() | |
1698 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1699 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1700 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1701 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1702 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1703 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1704 | end | |
1705 | coroutine.resume(coroutine.create(function() | |
1706 | local IMPACT = false | |
1707 | local BULLET = ABSOLUTE | |
1708 | MakeForm(BULLET, "Ball") | |
1709 | BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p) | |
1710 | for i = 1, 500 do | |
1711 | Swait() | |
1712 | BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2) | |
1713 | local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character) | |
1714 | MagicSphere(VT(10, 10, 10), 55, CF(BULLET.CFrame * CF(MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5)).p), "Really red", VT(-10, -10, -10) / 55) | |
1715 | if HIT ~= nil then | |
1716 | IMPACT = true | |
1717 | break | |
1718 | end | |
1719 | end | |
1720 | if IMPACT == false then | |
1721 | for i = 1, 40 do | |
1722 | Swait() | |
1723 | BULLET.Size = BULLET.Size * 0.9 | |
1724 | end | |
1725 | BULLET:remove() | |
1726 | else | |
1727 | CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10) | |
1728 | for i = 1, 175 do | |
1729 | Swait() | |
1730 | BULLET.Size = BULLET.Size * 0.99 | |
1731 | Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 85) | |
1732 | end | |
1733 | CreateSound("438666001", BULLET, 10, 3) | |
1734 | Swait(35) | |
1735 | BULLET.Transparency = 1 | |
1736 | for i = 1, 20 do | |
1737 | for e = 1, 5 do | |
1738 | MagicSphere(VT(0.2, 0.2, 0.2), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), "Really black", VT(1, 1, i * 4), 0) | |
1739 | Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 3) | |
1740 | end | |
1741 | AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES) | |
1742 | CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10) | |
1743 | CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10) | |
1744 | MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2) | |
1745 | Swait(5) | |
1746 | for e = 1, #HITBODIES do | |
1747 | if HITBODIES[e] ~= nil then | |
1748 | local BOD = HITBODIES[e] | |
1749 | local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso") | |
1750 | if TORS then | |
1751 | BOD:BreakJoints() | |
1752 | for _, c in pairs(BOD:GetChildren()) do | |
1753 | if c.ClassName == "Part" or c.ClassName == "MeshPart" then | |
1754 | local bv = Instance.new("BodyVelocity") | |
1755 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
1756 | bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250 | |
1757 | bv.Parent = c | |
1758 | Debris:AddItem(bv, 0.2) | |
1759 | end | |
1760 | end | |
1761 | end | |
1762 | end | |
1763 | end | |
1764 | CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Really red", VT(i, 0, i) * 2) | |
1765 | end | |
1766 | MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 0, 0), VT(12, 12, 12)) | |
1767 | Debris:AddItem(BULLET, 10) | |
1768 | end | |
1769 | end)) | |
1770 | ATTACK = false | |
1771 | Rooted = false | |
1772 | end | |
1773 | end | |
1774 | end | |
1775 | ||
1776 | function Nuke() | |
1777 | ATTACK = true | |
1778 | Rooted = true | |
1779 | local CHARGE = false | |
1780 | local BLASTS = {468991944, 468991990} | |
1781 | coroutine.resume(coroutine.create(function() | |
1782 | repeat | |
1783 | Swait() | |
1784 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed) | |
1785 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed) | |
1786 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed) | |
1787 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed) | |
1788 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed) | |
1789 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed) | |
1790 | until CHARGE == true | |
1791 | for i = 0, 0.4, 0.1 / Animation_Speed do | |
1792 | Swait() | |
1793 | WACKYEFFECT({ | |
1794 | Time = 15, | |
1795 | EffectType = "Sphere", | |
1796 | Size = VT(60, 60, 60), | |
1797 | Size2 = VT(0, 0, 0), | |
1798 | Transparency = 1, | |
1799 | Transparency2 = 0.7, | |
1800 | CFrame = CF(RootPart.Position), | |
1801 | MoveToPos = nil, | |
1802 | RotationX = 0, | |
1803 | RotationY = 0, | |
1804 | RotationZ = 0, | |
1805 | Material = "Neon", | |
1806 | Color = C3(1, 1, 1), | |
1807 | SoundID = nil, | |
1808 | SoundPitch = nil, | |
1809 | SoundVolume = nil | |
1810 | }) | |
1811 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1812 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1813 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1814 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1815 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1816 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1817 | end | |
1818 | coroutine.resume(coroutine.create(function() | |
1819 | local POS = RootPart.Position | |
1820 | wait(0.2) | |
1821 | for i = 1, 5 do | |
1822 | WACKYEFFECT({ | |
1823 | Time = 65, | |
1824 | EffectType = "Sphere", | |
1825 | Size = VT(2, 2, 2), | |
1826 | Size2 = VT(0, 0, 500), | |
1827 | Transparency = 1, | |
1828 | Transparency2 = 0, | |
1829 | CFrame = CF(POS), | |
1830 | MoveToPos = nil, | |
1831 | RotationX = MRANDOM(-2, 2), | |
1832 | RotationY = MRANDOM(-12, 12), | |
1833 | RotationZ = MRANDOM(-2, 2), | |
1834 | Material = "Neon", | |
1835 | Color = C3(1, 1, 1), | |
1836 | SoundID = nil, | |
1837 | SoundPitch = nil, | |
1838 | SoundVolume = nil | |
1839 | }) | |
1840 | end | |
1841 | wait(1) | |
1842 | SHAKECAM(POS, 9999999999, 25, 25) | |
1843 | ApplyAoE(POS, 450) | |
1844 | WACKYEFFECT({ | |
1845 | Time = 85, | |
1846 | EffectType = "Sphere", | |
1847 | Size = VT(120, 120, 120), | |
1848 | Size2 = VT(350, 350, 350), | |
1849 | Transparency = 0, | |
1850 | Transparency2 = 1, | |
1851 | CFrame = CF(POS), | |
1852 | MoveToPos = nil, | |
1853 | RotationX = 0, | |
1854 | RotationY = 0, | |
1855 | RotationZ = 0, | |
1856 | Material = "Neon", | |
1857 | Color = C3(1, 1, 1), | |
1858 | SoundID = nil, | |
1859 | SoundPitch = 1, | |
1860 | SoundVolume = 10 | |
1861 | }) | |
1862 | for i = 1, 20 do | |
1863 | WACKYEFFECT({ | |
1864 | Time = 85, | |
1865 | EffectType = "Sphere", | |
1866 | Size = VT(120, 120, 120), | |
1867 | Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3), | |
1868 | Transparency = 0.8, | |
1869 | Transparency2 = 1, | |
1870 | CFrame = CF(POS), | |
1871 | MoveToPos = nil, | |
1872 | RotationX = 0, | |
1873 | RotationY = 0, | |
1874 | RotationZ = 0, | |
1875 | Material = "Neon", | |
1876 | Color = C3(1, 1, 1), | |
1877 | SoundID = nil, | |
1878 | SoundPitch = 1, | |
1879 | SoundVolume = 10 | |
1880 | }) | |
1881 | WACKYEFFECT({ | |
1882 | Time = 100, | |
1883 | EffectType = "Wave", | |
1884 | Size = VT(25, 2, 25), | |
1885 | Size2 = VT(400, 0, 400) * 1.2, | |
1886 | Transparency = 0, | |
1887 | Transparency2 = 1, | |
1888 | CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), | |
1889 | MoveToPos = nil, | |
1890 | RotationX = 0, | |
1891 | RotationY = 0, | |
1892 | RotationZ = 0, | |
1893 | Material = "Neon", | |
1894 | Color = C3(1, 1, 1), | |
1895 | SoundID = nil, | |
1896 | SoundPitch = nil, | |
1897 | SoundVolume = nil | |
1898 | }) | |
1899 | end | |
1900 | local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character) | |
1901 | for i = 1, 5 do | |
1902 | CreateSound(438666077, Effects, 15, 1 - i / 15, false) | |
1903 | WACKYEFFECT({ | |
1904 | Time = 120, | |
1905 | EffectType = "Wave", | |
1906 | Size = VT(150, 2, 150), | |
1907 | Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2, | |
1908 | Transparency = 0, | |
1909 | Transparency2 = 1, | |
1910 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)), | |
1911 | MoveToPos = nil, | |
1912 | RotationX = 0, | |
1913 | RotationY = 0, | |
1914 | RotationZ = 0, | |
1915 | Material = "Neon", | |
1916 | Color = C3(1, 1, 1), | |
1917 | SoundID = nil, | |
1918 | SoundPitch = nil, | |
1919 | SoundVolume = nil | |
1920 | }) | |
1921 | end | |
1922 | end)) | |
1923 | for i = 0, 1, 0.1 / Animation_Speed do | |
1924 | Swait() | |
1925 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1926 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
1927 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1928 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
1929 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1930 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
1931 | end | |
1932 | ATTACK = false | |
1933 | Rooted = false | |
1934 | end)) | |
1935 | for i = 1, 30 do | |
1936 | wait(0.01) | |
1937 | local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150)) | |
1938 | local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character) | |
1939 | if HITFLOOR then | |
1940 | ApplyAoE(HITPOS, 65, true) | |
1941 | local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0)) | |
1942 | WACKYEFFECT({ | |
1943 | Time = 25, | |
1944 | EffectType = "Sphere", | |
1945 | Size = VT(22, 22, 22), | |
1946 | Size2 = VT(85, 85, 85), | |
1947 | Transparency = 0, | |
1948 | Transparency2 = 1, | |
1949 | CFrame = CF(HITPOS), | |
1950 | MoveToPos = nil, | |
1951 | RotationX = 0, | |
1952 | RotationY = 0, | |
1953 | RotationZ = 0, | |
1954 | Material = "Neon", | |
1955 | Color = C3(1, 1, 1), | |
1956 | SoundID = BLASTS[MRANDOM(1, #BLASTS)], | |
1957 | SoundPitch = MRANDOM(9, 12) / 10, | |
1958 | SoundVolume = 10 | |
1959 | }) | |
1960 | for e = 1, 3 do | |
1961 | WACKYEFFECT({ | |
1962 | EffectType = "Wave", | |
1963 | Size = VT(25, 0, 25), | |
1964 | Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6), | |
1965 | Transparency = 0, | |
1966 | Transparency2 = 1, | |
1967 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)), | |
1968 | MoveToPos = nil, | |
1969 | RotationX = 0, | |
1970 | RotationY = 3, | |
1971 | RotationZ = 0, | |
1972 | Material = "Neon", | |
1973 | Color = C3(1, 1, 1), | |
1974 | SoundID = nil, | |
1975 | SoundPitch = nil, | |
1976 | SoundVolume = nil | |
1977 | }) | |
1978 | WACKYEFFECT({ | |
1979 | Time = 35, | |
1980 | EffectType = "Sphere", | |
1981 | Size = VT(22, 45, 22), | |
1982 | Size2 = VT(25, 45 + e * 75, 25), | |
1983 | Transparency = 0, | |
1984 | Transparency2 = 1, | |
1985 | CFrame = CF(HITPOS) * TURN, | |
1986 | MoveToPos = nil, | |
1987 | RotationX = 0, | |
1988 | RotationY = 0, | |
1989 | RotationZ = 0, | |
1990 | Material = "Neon", | |
1991 | Color = C3(1, 1, 1), | |
1992 | SoundID = nil, | |
1993 | SoundPitch = MRANDOM(9, 12) / 10, | |
1994 | SoundVolume = 10 | |
1995 | }) | |
1996 | end | |
1997 | end | |
1998 | end | |
1999 | CHARGE = true | |
2000 | end | |
2001 | ||
2002 | function SpectralBanishing() | |
2003 | ATTACK = true | |
2004 | Rooted = false | |
2005 | chatfunc("If you desire to be a ghost...", 20) | |
2006 | for i = 0, 5, 0.1 / Animation_Speed do | |
2007 | Swait() | |
2008 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed) | |
2009 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed) | |
2010 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed) | |
2011 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed) | |
2012 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed) | |
2013 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed) | |
2014 | end | |
2015 | chatfunc("Then move on to the afterlife!", 6) | |
2016 | CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10) | |
2017 | MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1)) | |
2018 | MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05)) | |
2019 | local RayHit, Way = CastProperRay(GunPoint.Position, CF(GunPoint.Position) * CF(0, 1500, 0).p, 1500, Character) | |
2020 | local distance = (GunPoint.Position - Way).magnitude | |
2021 | for i = 1, 5 do | |
2022 | local laser = Instance.new("Part", Effects) | |
2023 | laser.Transparency = 0 | |
2024 | laser.CanCollide = false | |
2025 | laser.Anchored = true | |
2026 | laser.Color = C3(1, 0, 0) | |
2027 | laser.Material = "Neon" | |
2028 | laser.formFactor = Enum.FormFactor.Custom | |
2029 | laser.Size = Vector3.new(0.15, 0.15, distance) | |
2030 | laser.CFrame = CFrame.new(GunPoint.Position, Way) * CFrame.new(0, 0, -distance / 2) | |
2031 | table.insert(Effects2, { | |
2032 | laser, | |
2033 | "Disappear", | |
2034 | 0.1, | |
2035 | 1, | |
2036 | 1, | |
2037 | 1, | |
2038 | 2 | |
2039 | }) | |
2040 | end | |
2041 | coroutine.resume(coroutine.create(function() | |
2042 | Swait(15) | |
2043 | local FILTER = IT("ColorCorrectionEffect", game.Lighting) | |
2044 | for i = 1, 25 do | |
2045 | Swait() | |
2046 | FILTER.TintColor = C3(1, 1 - i / 50, 1 - i / 50) | |
2047 | end | |
2048 | local GAME = game.Players:GetChildren() | |
2049 | for PLAYER = 1, #GAME do | |
2050 | do | |
2051 | local PLAY = GAME[PLAYER] | |
2052 | if PLAY.Character ~= nil and PLAY.Character.Parent ~= workspace then | |
2053 | PLAY.Character.Parent = nil | |
2054 | coroutine.resume(coroutine.create(function() | |
2055 | if PLAY.Character:FindFirstChild("HumanoidRootPart") then | |
2056 | PLAY.Character.Parent = workspace | |
2057 | local Value = IT("BoolValue", Delete) | |
2058 | Value.Name = PLAY.Name | |
2059 | end | |
2060 | end)) | |
2061 | end | |
2062 | end | |
2063 | end | |
2064 | for i = 1, 25 do | |
2065 | Swait() | |
2066 | FILTER.TintColor = C3(1, 0.4980392156862745 + i / 50, 0.4980392156862745 + i / 50) | |
2067 | end | |
2068 | end)) | |
2069 | for i = 0, 2, 0.1 / Animation_Speed do | |
2070 | Swait() | |
2071 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed) | |
2072 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed) | |
2073 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(195), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed) | |
2074 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed) | |
2075 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed) | |
2076 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed) | |
2077 | end | |
2078 | ATTACK = false | |
2079 | Rooted = false | |
2080 | end | |
2081 | ||
2082 | function Madness() | |
2083 | ATTACK = true | |
2084 | Rooted = false | |
2085 | local GYRO = IT("BodyGyro",RootPart) | |
2086 | GYRO.D = 750 | |
2087 | GYRO.P = 20000 | |
2088 | GYRO.MaxTorque = VT(0,40000000,0) | |
2089 | local LOCKED = true | |
2090 | local SHOT = false | |
2091 | coroutine.resume(coroutine.create(function() | |
2092 | for i=0, 1, 0.1 / Animation_Speed do | |
2093 | GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
2094 | Swait() | |
2095 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2096 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2097 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2098 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2099 | end | |
2100 | LOCKED = false | |
2101 | SHOT = true | |
2102 | repeat | |
2103 | GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
2104 | Swait() | |
2105 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2106 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2107 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2108 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2109 | until HOLD == false and SHOT == false | |
2110 | for i=0, 0.3, 0.1 / Animation_Speed do | |
2111 | Swait() | |
2112 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2113 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2114 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2115 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2116 | end | |
2117 | GYRO:remove() | |
2118 | ATTACK = false | |
2119 | Rooted = false | |
2120 | end)) | |
2121 | repeat wait() until LOCKED == false | |
2122 | repeat | |
2123 | SHOT = true | |
2124 | wait(0.2) | |
2125 | SHOT = false | |
2126 | local BULLET = Lightning({Material = "Glass", FadeIn = true, Color = C3(0,0,0), Start = Hole.CFrame*CF(0, 1, 0.045).p, End = Mouse.Hit.p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false}) | |
2127 | local HIT = BULLET.Hit | |
2128 | local HITPOS = BULLET.End | |
2129 | if HIT then | |
2130 | if HIT.Parent:FindFirstChildOfClass("Humanoid") then | |
2131 | Banish(HIT.Parent) | |
2132 | end | |
2133 | end | |
2134 | WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 2, SoundVolume = 1}) | |
2135 | WACKYEFFECT({Time = 15, EffectType = "Skull", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 2}) | |
2136 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(1,1.2,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2}) | |
2137 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(2,1,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2}) | |
2138 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10}) | |
2139 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10}) | |
2140 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10}) | |
2141 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10}) | |
2142 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10}) | |
2143 | until HOLD == false | |
2144 | end | |
2145 | ||
2146 | function EMOTE() | |
2147 | ATTACK = true | |
2148 | Rooted = false | |
2149 | local LOOP = 0 | |
2150 | for i=0, 0.1, 0.1 / Animation_Speed do | |
2151 | Swait() | |
2152 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2153 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2154 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2155 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2156 | end | |
2157 | for i=0, 3, 0.1 / Animation_Speed do | |
2158 | Swait() | |
2159 | LOOP = LOOP + 1 | |
2160 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2161 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2162 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2163 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2164 | end | |
2165 | for i=0, 0.1, 0.1 / Animation_Speed do | |
2166 | Swait() | |
2167 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2168 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2169 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2170 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2171 | end | |
2172 | ATTACK = false | |
2173 | Rooted = false | |
2174 | end | |
2175 | ||
2176 | function Kill(Char) | |
2177 | local NewCharacter = IT("Model",Effects) | |
2178 | NewCharacter.Name = "Ow im ded ;-;" | |
2179 | for _, c in pairs(Char:GetDescendants()) do | |
2180 | if c:IsA("BasePart") and c.Transparency == 0 then | |
2181 | if c.Parent == Char then | |
2182 | getbloody(c,5) | |
2183 | end | |
2184 | c:BreakJoints() | |
2185 | c.Material = "Glass" | |
2186 | c.Color = C3(0.5,0,0) | |
2187 | c.CanCollide = true | |
2188 | c.Transparency = 0.3 | |
2189 | if c:FindFirstChildOfClass("SpecialMesh") then | |
2190 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
2191 | end | |
2192 | if c.Name == "Head" then | |
2193 | c:ClearAllChildren() | |
2194 | c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y) | |
2195 | end | |
2196 | if c.ClassName == "MeshPart" then | |
2197 | c.TextureID = "" | |
2198 | end | |
2199 | if c:FindFirstChildOfClass("BodyPosition") then | |
2200 | c:FindFirstChildOfClass("BodyPosition"):remove() | |
2201 | end | |
2202 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2203 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2204 | end | |
2205 | c.Parent = NewCharacter | |
2206 | c.Name = "DeadPart" | |
2207 | c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15 | |
2208 | c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45)) | |
2209 | end | |
2210 | end | |
2211 | Char:remove() | |
2212 | Debris:AddItem(NewCharacter,5) | |
2213 | end | |
2214 | ||
2215 | function Taunt() | |
2216 | ATTACK = true | |
2217 | Rooted = true | |
2218 | local TAUNT = CreateSound(907333294, Torso, 7, 1, false) | |
2219 | repeat | |
2220 | Swait() | |
2221 | TAUNT.Parent = Torso | |
2222 | TAUNT.Playing = true | |
2223 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2224 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed) | |
2225 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2226 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2227 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2228 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2229 | until TAUNT.TimePosition >= 1.25 | |
2230 | for i=0, 1.6, 0.1 / Animation_Speed do | |
2231 | Swait() | |
2232 | TAUNT.Parent = Torso | |
2233 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed) | |
2234 | 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) | |
2235 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2236 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2237 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2238 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2239 | end | |
2240 | ATTACK = false | |
2241 | Rooted = false | |
2242 | end | |
2243 | ||
2244 | function oofBeam() | |
2245 | ATTACK = true | |
2246 | Rooted = false | |
2247 | VALUE2 = true | |
2248 | local GYRO = IT("BodyGyro", RootPart) | |
2249 | GYRO.D = 20 | |
2250 | GYRO.P = 4000 | |
2251 | GYRO.MaxTorque = VT(0, 40000, 0) | |
2252 | local POS = RootPart.Position + VT(0, 25, 0) | |
2253 | CreateSound("1371567007", Effects, 35, MRANDOM(9, 10) / 10) | |
2254 | 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) | |
2255 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2256 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2257 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2258 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2259 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2260 | coroutine.resume(coroutine.create(function() | |
2261 | local E = 0 | |
2262 | repeat | |
2263 | E = E + 5 | |
2264 | GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p) | |
2265 | Swait() | |
2266 | 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) | |
2267 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2268 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2269 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2270 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2271 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
2272 | until ATTACK == false | |
2273 | GYRO:remove() | |
2274 | end)) | |
2275 | for i = 1, 50 do | |
2276 | Swait() | |
2277 | end | |
2278 | for i = 1, 25 do | |
2279 | Swait() | |
2280 | WACKYEFFECT({ | |
2281 | Time = 15, | |
2282 | EffectType = "Skull", | |
2283 | Size = VT(4, 4, 4), | |
2284 | Size2 = VT(0, 0, 0), | |
2285 | Transparency = 1, | |
2286 | Transparency2 = 0, | |
2287 | CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35), | |
2288 | MoveToPos = Eon.Position, | |
2289 | RotationX = 0, | |
2290 | RotationY = 0, | |
2291 | RotationZ = 0, | |
2292 | Material = "Neon", | |
2293 | Color = C3(1, 0, 0), | |
2294 | SoundID = nil, | |
2295 | SoundPitch = nil, | |
2296 | SoundVolume = nil | |
2297 | }) | |
2298 | end | |
2299 | local LOOP = 0 | |
2300 | local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Lime green"), "Beamo", VT(0,0,0)) | |
2301 | MakeForm(BEAMO, "Ball") | |
2302 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true) | |
2303 | MakeForm(BEAM, "Cyl") | |
2304 | repeat | |
2305 | local DISTANCE = (Eon.Position - Mouse.Hit.p).Magnitude | |
2306 | if DISTANCE < 2000 then | |
2307 | BEAMO.Size = VT(3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4)) | |
2308 | BEAMO.CFrame = CF(Eon.Position) | |
2309 | BEAM.Size = VT(2 + 1 * COS(SINE / 4), DISTANCE, 2 + 1 * COS(SINE / 4)) | |
2310 | BEAM.CFrame = CF(Eon.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
2311 | ApplyAoE(Mouse.Hit.p, 14,true,false) | |
2312 | WACKYEFFECT({ | |
2313 | Time = 35, | |
2314 | EffectType = "Sphere", | |
2315 | Size = VT(6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4)) * 2, | |
2316 | Size2 = VT(5, 75, 5), | |
2317 | Transparency = 0, | |
2318 | Transparency2 = 1, | |
2319 | CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), | |
2320 | MoveToPos = nil, | |
2321 | RotationX = 0, | |
2322 | RotationY = 0, | |
2323 | RotationZ = 0, | |
2324 | Material = "Neon", | |
2325 | Color = C3(1, 0, 0), | |
2326 | SoundID = nil, | |
2327 | SoundPitch = MRANDOM(9, 12) / 10, | |
2328 | SoundVolume = 10 | |
2329 | }) | |
2330 | WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.5,1.5,1.5), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = Eon.CFrame, MoveToPos = Eon.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-6).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2331 | Swait() | |
2332 | LOOP = LOOP + 1 | |
2333 | end | |
2334 | until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000 | |
2335 | coroutine.resume(coroutine.create(function() | |
2336 | for i = 1, 15 do | |
2337 | Swait() | |
2338 | BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1) | |
2339 | BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1) | |
2340 | BEAM.Transparency = BEAM.Transparency + 0.06666666666666667 | |
2341 | BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667 | |
2342 | end | |
2343 | BEAM:remove() | |
2344 | BEAMO:remove() | |
2345 | end)) | |
2346 | ATTACK = false | |
2347 | Rooted = false | |
2348 | VALUE2 = false | |
2349 | end | |
2350 | ||
2351 | function TakeOnMe() | |
2352 | Speed = 5 | |
2353 | local MEME = CreateSound(0, Effects, 2, 1, false) | |
2354 | ATTACK = true | |
2355 | Rooted = false | |
2356 | local DANCE = true | |
2357 | local KEY = Mouse.KeyDown:connect(function(NEWKEY) | |
2358 | if NEWKEY == "p" then | |
2359 | DANCE = false | |
2360 | end | |
2361 | end) | |
2362 | PLAYSONG = false | |
2363 | while true do | |
2364 | for i = 1, 15 do | |
2365 | Swait() | |
2366 | MEME.Parent = Effects | |
2367 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2368 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2369 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2370 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2371 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2372 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2373 | end | |
2374 | if DANCE == false then | |
2375 | break | |
2376 | end | |
2377 | for i = 1, 15 do | |
2378 | Swait() | |
2379 | MEME.Parent = Effects | |
2380 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2381 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2382 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2383 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2384 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2385 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2386 | end | |
2387 | end | |
2388 | PLAYSONG = true | |
2389 | KEY:Disconnect() | |
2390 | MEME:remove() | |
2391 | Speed = 25 | |
2392 | ATTACK = false | |
2393 | Rooted = false | |
2394 | end | |
2395 | ||
2396 | function Banisher_Bullet() | |
2397 | ATTACK = true | |
2398 | Rooted = false | |
2399 | for i=0, 0.05, 0.1 / Animation_Speed do | |
2400 | Swait() | |
2401 | turnto(Mouse.Hit.p) | |
2402 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
2403 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
2404 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2405 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2406 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2407 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2408 | end | |
2409 | repeat | |
2410 | for i=0, 0.05, 0.1 / Animation_Speed do | |
2411 | Swait() | |
2412 | turnto(Mouse.Hit.p) | |
2413 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
2414 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
2415 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2416 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2417 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2418 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2419 | end | |
2420 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
2421 | SpawnTrail(Hole.Position,POS) | |
2422 | if HIT ~= nil then | |
2423 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
2424 | Banish(HIT.Parent) | |
2425 | end | |
2426 | end | |
2427 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2428 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2429 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2430 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2431 | for i=0, 0.05, 0.1 / Animation_Speed do | |
2432 | Swait() | |
2433 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
2434 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed) | |
2435 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2436 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2437 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2438 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2439 | end | |
2440 | until KEYHOLD == false | |
2441 | ATTACK = false | |
2442 | Rooted = false | |
2443 | end | |
2444 | function Execute() | |
2445 | ATTACK = true | |
2446 | Rooted = false | |
2447 | local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false) | |
2448 | Part.Color = C3(0,0,0) | |
2449 | MakeForm(Part,"Wedge") | |
2450 | Part.CanCollide = true | |
2451 | CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0)) | |
2452 | for i=0, 1, 0.1 / Animation_Speed do | |
2453 | Swait() | |
2454 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed) | |
2455 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed) | |
2456 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2457 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2458 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2459 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2460 | end | |
2461 | CreateSound(541909867, RightBarrel, 7, 1, false) | |
2462 | local TOCH = Part.Touched:Connect(function(hit) | |
2463 | if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then | |
2464 | Banish(hit.Parent) | |
2465 | end | |
2466 | end) | |
2467 | for i=0, 0.35, 0.1 / Animation_Speed do | |
2468 | Swait() | |
2469 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed) | |
2470 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
2471 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2472 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2473 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2474 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2475 | end | |
2476 | TOCH:disconnect() | |
2477 | for i=0, 0.35, 0.1 / Animation_Speed do | |
2478 | Swait() | |
2479 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed) | |
2480 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-55)), 1 / Animation_Speed) | |
2481 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2482 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2483 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2484 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2485 | end | |
2486 | Part:remove() | |
2487 | ATTACK = false | |
2488 | Rooted = false | |
2489 | end | |
2490 | function Banisher_Burn() | |
2491 | ATTACK = true | |
2492 | Rooted = true | |
2493 | CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false) | |
2494 | for i=0, 1, 0.1 / Animation_Speed do | |
2495 | Swait() | |
2496 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2497 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2498 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2499 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2500 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2501 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2502 | end | |
2503 | coroutine.resume(coroutine.create(function() | |
2504 | local POS = Mouse.Hit.p | |
2505 | local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,2000,0)) | |
2506 | MakeForm(RAY,"Cyl") | |
2507 | local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,0,0)) | |
2508 | MakeForm(SPHERE,"Ball") | |
2509 | local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Strike", VT(0,0,0)) | |
2510 | MakeForm(SHIELD,"Ball") | |
2511 | SHIELD.CFrame = CF(POS) | |
2512 | RAY.CFrame = CF(POS) | |
2513 | SPHERE.CFrame = CF(POS) | |
2514 | CreateSound(440145570, SPHERE, 10, 0.8, false) | |
2515 | CreateSound(415700134, SPHERE, 10, 0.8, false) | |
2516 | for i = 1, 200 do | |
2517 | Swait() | |
2518 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2519 | RAY.Size = RAY.Size + VT(0.05,0,0.05) | |
2520 | SPHERE.Size = SPHERE.Size + VT(2,2,2) | |
2521 | SHIELD.Size = SPHERE.Size + VT(3,3,3) | |
2522 | ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true) | |
2523 | end | |
2524 | for i = 1, 45 do | |
2525 | Swait() | |
2526 | RAY.Transparency = RAY.Transparency + 1/45 | |
2527 | SPHERE.Transparency = RAY.Transparency | |
2528 | SHIELD.Transparency = SPHERE.Transparency + 1/45 | |
2529 | end | |
2530 | RAY:remove() | |
2531 | SHIELD:remove() | |
2532 | SPHERE:remove() | |
2533 | end)) | |
2534 | for i=0, 1, 0.1 / Animation_Speed do | |
2535 | Swait() | |
2536 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2537 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2538 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2539 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2540 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2541 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2542 | end | |
2543 | ATTACK = false | |
2544 | Rooted = false | |
2545 | end | |
2546 | function Teleport() | |
2547 | ATTACK = true | |
2548 | Rooted = false | |
2549 | for i=0, 0.5, 0.1 / Animation_Speed do | |
2550 | Swait() | |
2551 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2552 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed) | |
2553 | end | |
2554 | for e = 1, #BODY do | |
2555 | if BODY[e] ~= nil then | |
2556 | local STUFF = BODY[e] | |
2557 | local PART = STUFF[1] | |
2558 | if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then | |
2559 | local PRT = PART:Clone() | |
2560 | PRT.Anchored = true | |
2561 | PRT.CanCollide = false | |
2562 | PRT.Material = "Neon" | |
2563 | PRT.Color = C3(255,100,255) | |
2564 | PRT.Name = "WarpEffect" | |
2565 | PRT.Parent = Effects | |
2566 | PRT.CFrame = PART.CFrame | |
2567 | PRT:BreakJoints() | |
2568 | if PRT:FindFirstChildOfClass("Sound") then | |
2569 | PRT:FindFirstChildOfClass("Sound"):remove() | |
2570 | end | |
2571 | if PRT:FindFirstChildOfClass("Decal") then | |
2572 | PRT:FindFirstChildOfClass("Decal"):remove() | |
2573 | end | |
2574 | coroutine.resume(coroutine.create(function() | |
2575 | for i = 1, 100 do | |
2576 | Swait() | |
2577 | PRT.Transparency = PRT.Transparency + 1/100 | |
2578 | end | |
2579 | PRT:remove() | |
2580 | end)) | |
2581 | end | |
2582 | end | |
2583 | end | |
2584 | CreateSound(217767125, Torso, 10, 1) | |
2585 | local POS = RootPart.Orientation | |
2586 | RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0)) | |
2587 | RootPart.Orientation = POS | |
2588 | RootJoint.Parent = RootPart | |
2589 | for i=0, 0.5, 0.1 / Animation_Speed do | |
2590 | Swait() | |
2591 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2592 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed) | |
2593 | end | |
2594 | for i=0, 0.1, 0.1 / Animation_Speed do | |
2595 | Swait() | |
2596 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
2597 | end | |
2598 | ATTACK = false | |
2599 | Rooted = false | |
2600 | end | |
2601 | function BanishmentBeam() | |
2602 | ATTACK = true | |
2603 | Rooted = false | |
2604 | local GYRO = IT("BodyGyro",RootPart) | |
2605 | GYRO.D = 100 | |
2606 | GYRO.P = 2000 | |
2607 | GYRO.MaxTorque = VT(0,4000000,0) | |
2608 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2609 | CreateSound("93724183", RightArm, 5, 1, false) | |
2610 | for i=1, 35 do | |
2611 | Swait() | |
2612 | WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6}) | |
2613 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2614 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) | |
2615 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2616 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2617 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2618 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2619 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2620 | end | |
2621 | local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Lazer", VT(0,0,0)) | |
2622 | local LOOP = CreateSound("415700134", RightArm, 5, 1, false) | |
2623 | local TOCH = BEAM.Touched:Connect(function(hit) | |
2624 | if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then | |
2625 | Kill(hit) | |
2626 | end | |
2627 | end) | |
2628 | local I = 0 | |
2629 | repeat | |
2630 | Swait() | |
2631 | I = I + 1 | |
2632 | if I <= 10 then | |
2633 | BEAM.Transparency = BEAM.Transparency - 0.1 | |
2634 | end | |
2635 | local STARTPOS = RightArm.CFrame*CF(0,-4,0).p | |
2636 | local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character) | |
2637 | local DISTANCE = (STARTPOS - ENDPOS).Magnitude | |
2638 | BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5)) | |
2639 | BEAM.Size = VT(2,2,DISTANCE) | |
2640 | WACKYEFFECT({Time = 5, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = CF(ENDPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2641 | WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-4,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6}) | |
2642 | WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6}) | |
2643 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
2644 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) | |
2645 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) | |
2646 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2647 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2648 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2649 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2650 | if ENDHIT ~= nil then | |
2651 | if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then | |
2652 | Banish(ENDHIT) | |
2653 | end | |
2654 | end | |
2655 | until LOOP.Playing == false | |
2656 | GYRO:remove() | |
2657 | BEAM:remove() | |
2658 | ATTACK = false | |
2659 | Rooted = false | |
2660 | end | |
2661 | function Deathbound() | |
2662 | CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false) | |
2663 | ATTACK = true | |
2664 | Rooted = true | |
2665 | for i=0, 1, 0.1 / Animation_Speed do | |
2666 | Swait() | |
2667 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2668 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2669 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2670 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2671 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2672 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2673 | end | |
2674 | local DONE = false | |
2675 | local GATE = nil | |
2676 | local GATESPIN = true | |
2677 | coroutine.resume(coroutine.create(function() | |
2678 | repeat | |
2679 | Swait() | |
2680 | if GATE ~= nil then | |
2681 | GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0)) | |
2682 | end | |
2683 | until GATESPIN == false | |
2684 | end)) | |
2685 | coroutine.resume(coroutine.create(function() | |
2686 | repeat | |
2687 | Swait() | |
2688 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2689 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2690 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2691 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2692 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2693 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2694 | until DONE == true | |
2695 | Swait(50) | |
2696 | for i = 1, 35 do | |
2697 | Swait(4) | |
2698 | local FIRED = false | |
2699 | local CHILDREN = workspace:GetDescendants() | |
2700 | for index, CHILD in pairs(CHILDREN) do | |
2701 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
2702 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
2703 | if HUM then | |
2704 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
2705 | if TORSO then | |
2706 | if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then | |
2707 | local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character) | |
2708 | local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15))) | |
2709 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6}) | |
2710 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2711 | SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p) | |
2712 | Banish(CHILD) | |
2713 | FIRED = true | |
2714 | break | |
2715 | end | |
2716 | end | |
2717 | end | |
2718 | end | |
2719 | end | |
2720 | if FIRED == false then | |
2721 | local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15))) | |
2722 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6}) | |
2723 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2724 | SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p) | |
2725 | local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character) | |
2726 | if HITBOD ~= nil then | |
2727 | if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then | |
2728 | Kill(HITBOD.Parent) | |
2729 | end | |
2730 | end | |
2731 | end | |
2732 | end | |
2733 | for i = 1, 45 do | |
2734 | Swait() | |
2735 | GATE.Size = GATE.Size - VT(3,0,3) | |
2736 | end | |
2737 | GATESPIN = false | |
2738 | GATE:remove() | |
2739 | end)) | |
2740 | Swait(15) | |
2741 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character) | |
2742 | GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0)) | |
2743 | local DECAL = IT("Decal",GATE) | |
2744 | DECAL.Texture = "http://www.roblox.com/asset/?id=647661410" | |
2745 | DECAL.Face = "Top" | |
2746 | GATE.CFrame = CF(HITPOS) | |
2747 | CreateSound(160772554, GATE, 7, 1.3, false) | |
2748 | for i = 1, 45 do | |
2749 | Swait() | |
2750 | GATE.Size = GATE.Size + VT(3,0,3) | |
2751 | end | |
2752 | CreateSound(213603013, RightHole, 7, 1, false) | |
2753 | CreateSound(213603013, LeftHole, 7, 1, false) | |
2754 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2755 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2756 | ATTACK = false | |
2757 | Rooted = false | |
2758 | DONE = true | |
2759 | end | |
2760 | ||
2761 | ||
2762 | --//=================================\\ | |
2763 | --|| ASSIGN THINGS TO KEYS | |
2764 | --\\=================================// | |
2765 | ||
2766 | function MouseDown(Mouse) | |
2767 | if ATTACK == false then | |
2768 | EMOTE() | |
2769 | end | |
2770 | end | |
2771 | ||
2772 | function MouseUp(Mouse) | |
2773 | HOLD = false | |
2774 | end | |
2775 | ||
2776 | function KeyDown(Key) | |
2777 | KEYHOLD = true | |
2778 | if Key == "z" and ATTACK == false then | |
2779 | Banisher_Bullet() | |
2780 | end | |
2781 | ||
2782 | if Key == "b" and ATTACK == false then | |
2783 | Banisher_Burn() | |
2784 | end | |
2785 | ||
2786 | if Key == "c" and ATTACK == false then | |
2787 | BanishmentBeam() | |
2788 | end | |
2789 | ||
2790 | if Key == "v" and ATTACK == false then | |
2791 | Teleport() | |
2792 | end | |
2793 | ||
2794 | if Key == "t" and ATTACK == false then | |
2795 | Taunt() | |
2796 | end | |
2797 | ||
2798 | if Key == "e" and ATTACK == false then | |
2799 | Madness() | |
2800 | end | |
2801 | ||
2802 | if Key == "j" and ATTACK == false then | |
2803 | Nuke() | |
2804 | end | |
2805 | ||
2806 | if Key == "y" and ATTACK == false then | |
2807 | oofBeam() | |
2808 | end | |
2809 | ||
2810 | if Key == "u" and ATTACK == false then | |
2811 | Absoluteum() | |
2812 | end | |
2813 | ||
2814 | if Key == "g" and ATTACK == false then | |
2815 | chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)]) | |
2816 | TOBANISH = {} | |
2817 | end | |
2818 | ||
2819 | if Key == "p" and ATTACK == false then | |
2820 | TakeOnMe() | |
2821 | end | |
2822 | ||
2823 | if Key == "x" and ATTACK == false then | |
2824 | Deathbound() | |
2825 | end | |
2826 | end | |
2827 | ||
2828 | function KeyUp(Key) | |
2829 | KEYHOLD = false | |
2830 | end | |
2831 | ||
2832 | Mouse.Button1Down:connect(function(NEWKEY) | |
2833 | MouseDown(NEWKEY) | |
2834 | end) | |
2835 | Mouse.Button1Up:connect(function(NEWKEY) | |
2836 | MouseUp(NEWKEY) | |
2837 | end) | |
2838 | Mouse.KeyDown:connect(function(NEWKEY) | |
2839 | KeyDown(NEWKEY) | |
2840 | end) | |
2841 | Mouse.KeyUp:connect(function(NEWKEY) | |
2842 | KeyUp(NEWKEY) | |
2843 | end) | |
2844 | ||
2845 | --//=================================\\ | |
2846 | --\\=================================// | |
2847 | ||
2848 | ||
2849 | function unanchor() | |
2850 | if UNANCHOR == true then | |
2851 | g = Character:GetChildren() | |
2852 | for i = 1, #g do | |
2853 | if g[i].ClassName == "Part" then | |
2854 | g[i].Anchored = false | |
2855 | end | |
2856 | end | |
2857 | end | |
2858 | end | |
2859 | ||
2860 | ||
2861 | --//=================================\\ | |
2862 | --|| WRAP THE WHOLE SCRIPT UP | |
2863 | --\\=================================// | |
2864 | ||
2865 | Humanoid.Changed:connect(function(Jump) | |
2866 | if Jump == "Jump" and (Disable_Jump == true) then | |
2867 | Humanoid.Jump = false | |
2868 | end | |
2869 | end) | |
2870 | ||
2871 | local CONNECT = nil | |
2872 | ||
2873 | while true do | |
2874 | Swait() | |
2875 | ANIMATE.Parent = nil | |
2876 | if Character:FindFirstChildOfClass("Humanoid") == nil then | |
2877 | Humanoid = IT("Humanoid",Character) | |
2878 | end | |
2879 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
2880 | v:Stop(); | |
2881 | end | |
2882 | SINE = SINE + CHANGE | |
2883 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
2884 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
2885 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
2886 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26) | |
2887 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
2888 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / 3) | |
2889 | 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) / 3) | |
2890 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / 3) | |
2891 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / 3) | |
2892 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
2893 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3) | |
2894 | 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 / 3) | |
2895 | 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 / 3) | |
2896 | 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 / 3) | |
2897 | end | |
2898 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
2899 | ANIM = "Jump" | |
2900 | if ATTACK == false then | |
2901 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2902 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2903 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2904 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
2905 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
2906 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2907 | end | |
2908 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
2909 | ANIM = "Fall" | |
2910 | if ATTACK == false then | |
2911 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2912 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
2913 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2914 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
2915 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
2916 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
2917 | end | |
2918 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
2919 | ANIM = "Idle" | |
2920 | if ATTACK == false then | |
2921 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / 3) | |
2922 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 4.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / 3) | |
2923 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45 + 2 * SIN(SINE / 12)), RAD(-25))* RIGHTSHOULDERC0, 0.15 / 3) | |
2924 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / 3) | |
2925 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / 3) | |
2926 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / 3) | |
2927 | end | |
2928 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
2929 | ANIM = "Walk" | |
2930 | if ATTACK == false then | |
2931 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 3) | |
2932 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / 3) | |
2933 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / 3) | |
2934 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / 3) | |
2935 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / 3) | |
2936 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / 3) | |
2937 | end | |
2938 | end | |
2939 | unanchor() | |
2940 | Humanoid.MaxHealth = "inf" | |
2941 | Humanoid.Health = "inf" | |
2942 | if Rooted == false then | |
2943 | Disable_Jump = false | |
2944 | Humanoid.WalkSpeed = Speed | |
2945 | elseif Rooted == true then | |
2946 | Disable_Jump = true | |
2947 | Humanoid.WalkSpeed = 0 | |
2948 | end | |
2949 | refit() | |
2950 | sick.Parent = Torso | |
2951 | sick:resume() | |
2952 | sick.Volume = 5 | |
2953 | sick.Pitch = 1 | |
2954 | sick.SoundId = "rbxassetid://0" | |
2955 | sick.Name = "BanishV3Music" | |
2956 | end | |
2957 | ||
2958 | --//=================================\\ | |
2959 | --\\=================================// | |
2960 | ||
2961 | ||
2962 | ||
2963 | ||
2964 | ||
2965 | --//====================================================\\-- | |
2966 | --|| END OF SCRIPT | |
2967 | --\\====================================================//-- |