SHOW:
|
|
- or go back to the newest paste.
1 | - | script.Name = "Better version of Banisher Gun Nutshell" |
1 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
2 | local Player,game,owner = owner,game | |
3 | local RealPlayer = Player | |
4 | do | |
5 | print("FE Compatibility code by Mokiros") | |
6 | local rp = RealPlayer | |
7 | script.Parent = rp.Character | |
8 | ||
9 | --RemoteEvent for communicating | |
10 | local Event = Instance.new("RemoteEvent") | |
11 | Event.Name = "UserInput_Event" | |
12 | ||
13 | --Fake event to make stuff like Mouse.KeyDown work | |
14 | local function fakeEvent() | |
15 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
16 | t.connect = t.Connect | |
17 | return t | |
18 | end | |
19 | ||
20 | --Creating fake input objects with fake variables | |
21 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
22 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
23 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
24 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
25 | end} | |
26 | --Merged 2 functions into one by checking amount of arguments | |
27 | CAS.UnbindAction = CAS.BindAction | |
28 | ||
29 | --This function will trigger the events that have been :Connect()'ed | |
30 | local function te(self,ev,...) | |
31 | local t = m[ev] | |
32 | if t and t._fakeEvent then | |
33 | for _,f in pairs(t.Functions) do | |
34 | f(...) | |
35 | end | |
36 | end | |
37 | end | |
38 | m.TrigEvent = te | |
39 | UIS.TrigEvent = te | |
40 | ||
41 | Event.OnServerEvent:Connect(function(plr,io) | |
42 | if plr~=rp then return end | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | if not io.isMouse then | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local Mouse = Player:GetMouse() | |
66 | local UIS = game:GetService("UserInputService") | |
67 | local input = function(io,a) | |
68 | if a then return end | |
69 | --Since InputObject is a client-side instance, we create and pass table instead | |
70 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
71 | end | |
72 | UIS.InputBegan:Connect(input) | |
73 | UIS.InputEnded:Connect(input) | |
74 | ||
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | ||
85 | ----Sandboxed game object that allows the usage of client-side methods and services | |
86 | --Real game object | |
87 | local _rg = game | |
88 | ||
89 | --Metatable for fake service | |
90 | local fsmt = { | |
91 | __index = function(self,k) | |
92 | local s = rawget(self,"_RealService") | |
93 | if s then return s[k] end | |
94 | end, | |
95 | __newindex = function(self,k,v) | |
96 | local s = rawget(self,"_RealService") | |
97 | if s then s[k]=v end | |
98 | end, | |
99 | __call = function(self,...) | |
100 | local s = rawget(self,"_RealService") | |
101 | if s then return s(...) end | |
102 | end | |
103 | } | |
104 | local function FakeService(t,RealService) | |
105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
106 | return setmetatable(t,fsmt) | |
107 | end | |
108 | ||
109 | --Fake game object | |
110 | local g = { | |
111 | GetService = function(self,s) | |
112 | return self[s] | |
113 | end, | |
114 | Players = FakeService({ | |
115 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
116 | },"Players"), | |
117 | UserInputService = FakeService(UIS,"UserInputService"), | |
118 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
119 | } | |
120 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
121 | g.service = g.GetService | |
122 | ||
123 | g.RunService = FakeService({ | |
124 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
125 | BindToRenderStep = function(self,name,_,fun) | |
126 | ||
127 | end, | |
128 | UnbindFromRenderStep = function(self,name) | |
129 | self._btrs[name]:Disconnect() | |
130 | end, | |
131 | },"RunService") | |
132 | ||
133 | setmetatable(g,{ | |
134 | __index=function(self,s) | |
135 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
136 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
137 | end, | |
138 | __newindex = fsmt.__newindex, | |
139 | __call = fsmt.__call | |
140 | }) | |
141 | --Changing owner to fake player object to support owner:GetMouse() | |
142 | game,owner = g,g.Players.LocalPlayer | |
143 | end | |
144 | ||
145 | local Player = game:GetService("Players").LocalPlayer | |
146 | repeat | |
147 | wait() | |
148 | until Player.Character | |
149 | local Character = Player.Character | |
150 | TrailSettings = { | |
151 | Lifetime = 1, | |
152 | Texture = "http://www.roblox.com/asset/?id=25356538", | |
153 | Color1 = ColorSequence.new(BrickColor.new("Really black").Color), | |
154 | Color2 = ColorSequence.new(BrickColor.new("Really black").Color), | |
155 | AllBody = true, | |
156 | UpperBodyOnly = false, | |
157 | LowerBodyOnly = false, | |
158 | Accessories = false, | |
159 | Extras = true, | |
160 | R15 = false, | |
161 | R15Parts = {"UpperTorso", "LowerTorso"} | |
162 | } | |
163 | local Trail | |
164 | function UpperBody() | |
165 | if TrailSettings.R15 == false then | |
166 | A0 = Instance.new("Attachment", Character.Torso) | |
167 | A1 = Instance.new("Attachment", Character.Head) | |
168 | A2 = Instance.new("Attachment", Character["Right Arm"]) | |
169 | A3 = Instance.new("Attachment", Character["Left Arm"]) | |
170 | Trail = Instance.new("Trail", Character) | |
171 | Trail.Attachment0 = A0 | |
172 | Trail.Attachment1 = A1 | |
173 | Trail.Texture = TrailSettings.Texture | |
174 | Trail.Color = TrailSettings.Color1 | |
175 | Trail.Lifetime = TrailSettings.Lifetime | |
176 | local Trail2 = Trail:Clone() | |
177 | Trail2.Parent = Character | |
178 | Trail2.Attachment1 = A2 | |
179 | local Trail3 = Trail:Clone() | |
180 | Trail3.Parent = Character | |
181 | Trail3.Attachment1 = A3 | |
182 | local Trail6 = Trail:Clone() | |
183 | Trail6.Parent = Character | |
184 | Trail6.Attachment0 = A1 | |
185 | Trail6.Attachment1 = A2 | |
186 | local Trail7 = Trail:Clone() | |
187 | Trail7.Parent = Character | |
188 | Trail7.Attachment0 = A1 | |
189 | Trail7.Attachment1 = A3 | |
190 | else | |
191 | A0 = Instance.new("Attachment", Character[TrailSettings.R15Parts[1]]) | |
192 | A0R = Instance.new("Attachment", Character[TrailSettings.R15Parts[2]]) | |
193 | A1 = Instance.new("Attachment", Character.Head) | |
194 | A2 = Instance.new("Attachment", Character.RightUpperArm) | |
195 | A2R = Instance.new("Attachment", Character.RightLowerArm) | |
196 | A3 = Instance.new("Attachment", Character.LeftUpperArm) | |
197 | A3R = Instance.new("Attachment", Character.LeftLowerArm) | |
198 | Trail = Instance.new("Trail", Character) | |
199 | Trail.Attachment0 = A0 | |
200 | Trail.Attachment1 = A1 | |
201 | Trail.Texture = TrailSettings.Texture | |
202 | Trail.Color = TrailSettings.Color1 | |
203 | Trail.Lifetime = TrailSettings.Lifetime | |
204 | local Trail2 = Trail:Clone() | |
205 | Trail2.Parent = Character | |
206 | Trail2.Attachment1 = A2 | |
207 | local Trail3 = Trail:Clone() | |
208 | Trail3.Parent = Character | |
209 | Trail3.Attachment1 = A3 | |
210 | local Trail6 = Trail:Clone() | |
211 | Trail6.Parent = Character | |
212 | Trail6.Attachment0 = A1 | |
213 | Trail6.Attachment1 = A2 | |
214 | local Trail7 = Trail:Clone() | |
215 | Trail7.Parent = Character | |
216 | Trail7.Attachment0 = A1 | |
217 | Trail7.Attachment1 = A3 | |
218 | local Trail1R = Trail:Clone() | |
219 | Trail1R.Parent = Character | |
220 | Trail1R.Attachment1 = A2R | |
221 | local Trail2R = Trail:Clone() | |
222 | Trail2R.Parent = Character | |
223 | Trail2R.Attachment1 = A3R | |
224 | local Trail6R = Trail:Clone() | |
225 | Trail6.Parent = Character | |
226 | Trail6.Attachment0 = A1 | |
227 | Trail6.Attachment1 = A2R | |
228 | local Trail7R = Trail:Clone() | |
229 | Trail7.Parent = Character | |
230 | Trail7.Attachment0 = A1 | |
231 | Trail7.Attachment1 = A3R | |
232 | end | |
233 | end | |
234 | function LowerBody() | |
235 | if TrailSettings.R15 == false then | |
236 | A4 = Instance.new("Attachment", Character["Right Leg"]) | |
237 | A5 = Instance.new("Attachment", Character["Left Leg"]) | |
238 | local Trail4 = Trail:Clone() | |
239 | Trail4.Parent = Character | |
240 | Trail4.Attachment1 = A4 | |
241 | local Trail5 = Trail:Clone() | |
242 | Trail5.Parent = Character | |
243 | Trail5.Attachment1 = A5 | |
244 | local Trail8 = Trail:Clone() | |
245 | Trail8.Parent = Character | |
246 | Trail8.Attachment0 = A2 | |
247 | Trail8.Attachment1 = A4 | |
248 | Trail8.Color = TrailSettings.Color2 | |
249 | local Trail9 = Trail:Clone() | |
250 | Trail9.Parent = Character | |
251 | Trail9.Attachment0 = A3 | |
252 | Trail9.Attachment1 = A5 | |
253 | Trail9.Color = TrailSettings.Color2 | |
254 | local FT = Trail:Clone() | |
255 | FT.Parent = Character | |
256 | FT.Attachment0 = A4 | |
257 | FT.Attachment1 = A5 | |
258 | FT.Color = TrailSettings.Color2 | |
259 | else | |
260 | A4 = Instance.new("Attachment", Character.RightLowerLeg) | |
261 | A4R = Instance.new("Attachment", Character.RightUpperLeg) | |
262 | A5 = Instance.new("Attachment", Character.LeftLowerLeg) | |
263 | A5R = Instance.new("Attachment", Character.LeftUpperLeg) | |
264 | local Trail4 = Trail:Clone() | |
265 | Trail4.Parent = Character | |
266 | Trail4.Attachment1 = A4 | |
267 | local Trail5 = Trail:Clone() | |
268 | Trail5.Parent = Character | |
269 | Trail5.Attachment1 = A5 | |
270 | local Trail8 = Trail:Clone() | |
271 | Trail8.Parent = Character | |
272 | Trail8.Attachment0 = A2 | |
273 | Trail8.Attachment1 = A4 | |
274 | Trail8.Color = TrailSettings.Color2 | |
275 | local Trail9 = Trail:Clone() | |
276 | Trail9.Parent = Character | |
277 | Trail9.Attachment0 = A3 | |
278 | Trail9.Attachment1 = A5 | |
279 | Trail9.Color = TrailSettings.Color2 | |
280 | local FT = Trail:Clone() | |
281 | FT.Parent = Character | |
282 | FT.Attachment0 = A4 | |
283 | FT.Attachment1 = A5 | |
284 | FT.Color = TrailSettings.Color2 | |
285 | local Trail3R = Trail:Clone() | |
286 | Trail3R.Parent = Character | |
287 | Trail3R.Attachment1 = A4R | |
288 | local Trail4R = Trail:Clone() | |
289 | Trail4R.Parent = Character | |
290 | Trail4R.Attachment1 = A5R | |
291 | local Trail8 = Trail:Clone() | |
292 | Trail8.Parent = Character | |
293 | Trail8.Attachment0 = A2R | |
294 | Trail8.Attachment1 = A4R | |
295 | Trail8.Color = TrailSettings.Color2 | |
296 | local Trail9 = Trail:Clone() | |
297 | Trail9.Parent = Character | |
298 | Trail9.Attachment0 = A3R | |
299 | Trail9.Attachment1 = A5R | |
300 | Trail9.Color = TrailSettings.Color2 | |
301 | local FT2R = Trail:Clone() | |
302 | FT2R.Parent = Character | |
303 | FT2R.Attachment0 = A4R | |
304 | FT2R.Attachment1 = A5R | |
305 | FT2R.Color = TrailSettings.Color2 | |
306 | end | |
307 | end | |
308 | function AllBody() | |
309 | UpperBody() | |
310 | LowerBody() | |
311 | end | |
312 | if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then | |
313 | TrailSettings.UpperBodyOnly = false | |
314 | TrailSettings.LowerBodyOnly = false | |
315 | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then | |
316 | TrailSettings.UpperBodyOnly = false | |
317 | TrailSettings.LowerBodyOnly = false | |
318 | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then | |
319 | TrailSettings.UpperBodyOnly = false | |
320 | TrailSettings.LowerBodyOnly = false | |
321 | elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then | |
322 | TrailSettings.AllBody = true | |
323 | TrailSettings.UpperBodyOnly = false | |
324 | TrailSettings.LowerBodyOnly = false | |
325 | end | |
326 | if TrailSettings.UpperBodyOnly == true then | |
327 | UpperBody() | |
328 | print("Called Upper Body Trail") | |
329 | elseif TrailSettings.LowerBodyOnly == true then | |
330 | LowerBody() | |
331 | print("Called Lower Body Trail") | |
332 | elseif TrailSettings.AllBody == true then | |
333 | AllBody() | |
334 | print("Called Full Body Trail") | |
335 | end | |
336 | if TrailSettings.Accessories == true then | |
337 | for Index, Item in pairs(Character:GetChildren()) do | |
338 | if Item:IsA("Accessory") then | |
339 | local AA = Instance.new("Attachment", Item.Handle) | |
340 | local ATrail = Trail:Clone() | |
341 | ATrail.Parent = Character | |
342 | ATrail.Attachment1 = AA | |
343 | end | |
344 | end | |
345 | end | |
346 | if TrailSettings.Extras == true then | |
347 | spawn(function() | |
348 | repeat | |
349 | wait() | |
350 | until Trail | |
351 | local AB = Instance.new("Attachment", a) | |
352 | local ABT = Trail:Clone() | |
353 | ABT.Parent = Character | |
354 | ABT.Attachment0 = A4 | |
355 | ABT.Attachment1 = AB | |
356 | ABT.Color = TrailSettings.Color2 | |
357 | local ABT2 = Trail:Clone() | |
358 | ABT2.Parent = Character | |
359 | ABT2.Attachment0 = A5 | |
360 | ABT2.Attachment1 = AB | |
361 | ABT2.Color = TrailSettings.Color2 | |
362 | end) | |
363 | end | |
364 | --//====================================================\\-- | |
365 | --|| CREATED BY SHACKLUSTER | |
366 | --\\====================================================//-- | |
367 | ||
368 | script:ClearAllChildren() | |
369 | wait(0.2) | |
370 | ||
371 | Player = game:GetService("Players").LocalPlayer | |
372 | PlayerGui = Player.PlayerGui | |
373 | Cam = workspace.CurrentCamera | |
374 | Backpack = Player.Backpack | |
375 | Character = Player.Character | |
376 | Humanoid = Character.Humanoid | |
377 | Mouse = Player:GetMouse() | |
378 | RootPart = Character["HumanoidRootPart"] | |
379 | Torso = Character["Torso"] | |
380 | Head = Character["Head"] | |
381 | RightArm = Character["Right Arm"] | |
382 | LeftArm = Character["Left Arm"] | |
383 | RightLeg = Character["Right Leg"] | |
384 | LeftLeg = Character["Left Leg"] | |
385 | RootJoint = RootPart["RootJoint"] | |
386 | Neck = Torso["Neck"] | |
387 | RightShoulder = Torso["Right Shoulder"] | |
388 | LeftShoulder = Torso["Left Shoulder"] | |
389 | RightHip = Torso["Right Hip"] | |
390 | LeftHip = Torso["Left Hip"] | |
391 | local TIME = 0 | |
392 | local sick = Instance.new("Sound",Torso) | |
393 | ||
394 | IT = Instance.new | |
395 | CF = CFrame.new | |
396 | VT = Vector3.new | |
397 | RAD = math.rad | |
398 | C3 = Color3.new | |
399 | UD2 = UDim2.new | |
400 | BRICKC = BrickColor.new | |
401 | ANGLES = CFrame.Angles | |
402 | EULER = CFrame.fromEulerAnglesXYZ | |
403 | COS = math.cos | |
404 | ACOS = math.acos | |
405 | SIN = math.sin | |
406 | ASIN = math.asin | |
407 | ABS = math.abs | |
408 | MRANDOM = math.random | |
409 | FLOOR = math.floor | |
410 | ||
411 | --//=================================\\ | |
412 | --|| USEFUL VALUES | |
413 | --\\=================================// | |
414 | ||
415 | Animation_Speed = 2 | |
416 | local FORCERESET = false | |
417 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
418 | local Speed = 16 | |
419 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
420 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
421 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
422 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
423 | local DAMAGEMULTIPLIER = 1 | |
424 | local ANIM = "Idle" | |
425 | local ATTACK = false | |
426 | local EQUIPPED = false | |
427 | local HOLD = false | |
428 | local COMBO = 1 | |
429 | local Rooted = false | |
430 | local SINE = 0 | |
431 | local KEYHOLD = false | |
432 | local CHANGE = 2 / Animation_Speed | |
433 | local WALKINGANIM = false | |
434 | local VALUE1 = false | |
435 | local VALUE2 = false | |
436 | local ROBLOXIDLEANIMATION = IT("Animation") | |
437 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
438 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
439 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
440 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
441 | WEAPONGUI.Name = "BanishV3Gui" | |
442 | local Weapon = IT("Model") | |
443 | Weapon.Name = "Adds" | |
444 | local Effects = IT("Folder", Weapon) | |
445 | Effects.Name = "Effects" | |
446 | local ANIMATOR = Humanoid.Animator | |
447 | local ANIMATE = Character:FindFirstChild("Animate") | |
448 | local UNANCHOR = true | |
449 | local TOBANISH = {} | |
450 | script.Parent = PlayerGui | |
451 | local top = Instance.new("Shirt") | |
452 | top.ShirtTemplate = "rbxassetid://2322829627" | |
453 | top.Parent = Character | |
454 | top.Name = "Cloth" | |
455 | local bottom = Instance.new("Pants") | |
456 | bottom.PantsTemplate = "rbxassetid://2322834332" | |
457 | bottom.Parent = Character | |
458 | bottom.Name = "Cloth" | |
459 | ||
460 | for _, c in pairs(Character:GetChildren()) do | |
461 | if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then | |
462 | c.Material = "Neon" | |
463 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
464 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
465 | end | |
466 | c.Color = C3(1,1,1) | |
467 | if c == Head then | |
468 | if c:FindFirstChild("face") then | |
469 | c.face:remove() | |
470 | end | |
471 | end | |
472 | ------just for safe lol-------- | |
473 | ||
474 | elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Hat" or c.Name == "Hat"or c.Name == "Hat" or c.Name == "Hat"or c.Name == "Hat" or c.Name == "Hat"or c.Name == "Hat" or c.Name == "Hat"or c.Name == "Hat" or c.Name == "Hat"or c.Name == "Hat" or c.Name == "Hat"or c.Name == "Hat" or c.Name == "Hat"or c.Name == "Hat" or c.Name == "Hat" then | |
475 | c:remove() | |
476 | elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then | |
477 | c:remove() | |
478 | elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then | |
479 | c:remove() | |
480 | end | |
481 | end | |
482 | mask = Instance.new("Part",Character) | |
483 | mask.Size = Vector3.new(2,3,2) | |
484 | mask.CFrame = Head.CFrame | |
485 | mask.CanCollide = false | |
486 | maskweld = Instance.new("Weld",mask) | |
487 | maskweld.Part0 = mask | |
488 | maskweld.Part1 = Head | |
489 | maskweld.C0 = mask.CFrame:inverse() * Head.CFrame * CFrame.new(-.2,0,.62) * CFrame.Angles(math.rad(0),math.rad(10),math.rad(0)) | |
490 | mmask = Instance.new("SpecialMesh", mask) | |
491 | mmask.MeshType = "FileMesh" | |
492 | mmask.Scale = Vector3.new(1.25, 1.25, 1.25) | |
493 | mmask.MeshId,mmask.TextureId = 'http://www.roblox.com/asset/?id=12470186','http://www.roblox.com/asset/?id=12470201' | |
494 | local SIZE = 1 | |
495 | local INTRO = false | |
496 | local INSTANT = false | |
497 | --//=================================\\ | |
498 | --\\=================================// | |
499 | ||
500 | ||
501 | m = game.Players.LocalPlayer | |
502 | char = m.Character | |
503 | local txt = Instance.new("BillboardGui", char) | |
504 | txt.Adornee = char.Head | |
505 | txt.Name = "_status" | |
506 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
507 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
508 | local text = Instance.new("TextLabel", txt) | |
509 | text.Size = UDim2.new(10, 0, 7, 0) | |
510 | text.FontSize = "Size24" | |
511 | text.TextScaled = true | |
512 | text.TextTransparency = 0 | |
513 | text.BackgroundTransparency = 1 | |
514 | text.TextTransparency = 0 | |
515 | text.TextStrokeTransparency = 0 | |
516 | text.Font = "Bodoni" | |
517 | text.TextStrokeColor3 = Color3.new(0, 0, 0) | |
518 | v = Instance.new("Part") | |
519 | v.Name = "ColorBrick" | |
520 | v.Parent = m.Character | |
521 | v.FormFactor = "Symmetric" | |
522 | v.Anchored = true | |
523 | v.CanCollide = false | |
524 | v.BottomSurface = "Smooth" | |
525 | v.TopSurface = "Smooth" | |
526 | v.Size = Vector3.new(10, 5, 3) | |
527 | v.Transparency = 1 | |
528 | v.CFrame = char.Torso.CFrame | |
529 | v.BrickColor = BrickColor.new("Really black") | |
530 | v.Transparency = 1 | |
531 | v.Shape = "Block" | |
532 | spawn(function() | |
533 | local TweenService = game:GetService("TweenService") | |
534 | local Colours = {Color3.fromRGB(1,0,0),Color3.fromRGB(1,1,0),Color3.fromRGB(1,1.2,1.2),Color3.fromRGB(0,0,0),Color3.fromRGB(1,0,0),Color3.fromRGB(1,0,1),Color3.fromRGB(1,0,0),Color3.fromRGB(0,0,0)} | |
535 | local Int = 0 | |
536 | while wait(0.5) do | |
537 | if Int == #Colours then Int = 0 end | |
538 | Int = Int+1 | |
539 | TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play() | |
540 | end | |
541 | end) | |
542 | text.Text = "Hmm,lets see the challenger now" | |
543 | wait(0.8) | |
544 | text.Text = "Here,goes" | |
545 | --//=================================\\ | |
546 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
547 | --\\=================================// | |
548 | ||
549 | ArtificialHB = Instance.new("BindableEvent", script) | |
550 | ArtificialHB.Name = "ArtificialHB" | |
551 | ||
552 | script:WaitForChild("ArtificialHB") | |
553 | ||
554 | frame = Frame_Speed | |
555 | tf = 0 | |
556 | allowframeloss = false | |
557 | tossremainder = false | |
558 | lastframe = tick() | |
559 | script.ArtificialHB:Fire() | |
560 | ||
561 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
562 | tf = tf + s | |
563 | if tf >= frame then | |
564 | if allowframeloss then | |
565 | script.ArtificialHB:Fire() | |
566 | lastframe = tick() | |
567 | else | |
568 | for i = 1, math.floor(tf / frame) do | |
569 | script.ArtificialHB:Fire() | |
570 | end | |
571 | lastframe = tick() | |
572 | end | |
573 | if tossremainder then | |
574 | tf = 0 | |
575 | else | |
576 | tf = tf - frame * math.floor(tf / frame) | |
577 | end | |
578 | end | |
579 | end) | |
580 | --//=================================\\ | |
581 | --// MAKHAIL07 STUFF | |
582 | --\\=================================// | |
583 | ||
584 | local plr = Player | |
585 | local char = plr.Character | |
586 | local hum = char.Humanoid | |
587 | ||
588 | ------------------------------------------------------- | |
589 | --Start Good Stuff-- | |
590 | ------------------------------------------------------- | |
591 | cam = game.Workspace.CurrentCamera | |
592 | CF = CFrame.new | |
593 | angles = CFrame.Angles | |
594 | attack = false | |
595 | Euler = CFrame.fromEulerAnglesXYZ | |
596 | Rad = math.rad | |
597 | IT = Instance.new | |
598 | BrickC = BrickColor.new | |
599 | Cos = math.cos | |
600 | Acos = math.acos | |
601 | Sin = math.sin | |
602 | Asin = math.asin | |
603 | Abs = math.abs | |
604 | Mrandom = math.random | |
605 | Floor = math.floor | |
606 | --//=================================\\ | |
607 | --\\=================================// | |
608 | function CameraEnshaking(Length, Intensity) | |
609 | coroutine.resume(coroutine.create(function() | |
610 | local intensity = 1 * Intensity | |
611 | local rotM = 0.01 * Intensity | |
612 | for i = 0, Length, 0.1 do | |
613 | Swait() | |
614 | intensity = intensity - 0.05 * Intensity / Length | |
615 | rotM = rotM - 5.0E-4 * Intensity / Length | |
616 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
617 | cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) | |
618 | end | |
619 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
620 | end)) | |
621 | end | |
622 | ||
623 | --//=================================\\ | |
624 | --|| SOME FUNCTIONS | |
625 | --\\=================================// | |
626 | local VOLUME = 4 | |
627 | local PITCH = 1 | |
628 | function Intro() | |
629 | ATTACK = true | |
630 | Rooted = true | |
631 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
632 | VOLUME = 4 | |
633 | PITCH = 1.02 | |
634 | sick.TimePosition = 0.2 | |
635 | coroutine.resume(coroutine.create(function() | |
636 | WACKYEFFECT({Time = 60, EffectType = "Wave", Size = VT(12,0.55,12)*SIZE, Size2 = VT(12,0.55,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6}) | |
637 | Swait(10) | |
638 | WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0.5,0.55,0.5), Size2 = VT(0.5,4,0.5), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.4, 0.2, -0.8), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1, 0, 0), SoundID = 743521450, SoundPitch = 1.15, SoundVolume = 6}) | |
639 | WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0.55,0.5,0.5), Size2 = VT(4,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.4, 0.2, -0.8), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1, 0, 0), SoundID = 743521450, SoundPitch = 0.95, SoundVolume = 6}) | |
640 | Swait(57) | |
641 | WACKYEFFECT({Time = 150, EffectType = "Wave", Size = VT(62,35,62)*SIZE, Size2 = VT(62,35,62), Transparency = 1, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 1259054947, SoundPitch = 1, SoundVolume = 6}) | |
642 | Swait(6.5) | |
643 | CameraEnshaking(1.5, 25) | |
644 | ApplyAoE(HITPOS,18,20,25,200,false) | |
645 | spawn(function() | |
646 | local TweenService = game:GetService("TweenService") | |
647 | local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(235,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0)} | |
648 | local Int = 0 | |
649 | while wait(0.5) do | |
650 | if Int == #Colours then Int = 0 end | |
651 | Int = Int+1 | |
652 | TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play() | |
653 | end | |
654 | end) | |
655 | text.Text = "Dead Shooter" | |
656 | for i=0, 1, 0.1 / Animation_Speed do | |
657 | WACKYEFFECT({Time = 180, EffectType = "Skull", Size = VT(24,24,24)*1.5, Size2 = VT(0,8,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
658 | end | |
659 | end)) | |
660 | for i=0, 2, 0.1 / Animation_Speed do | |
661 | Swait() | |
662 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
663 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
664 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(20), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
665 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(20), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
666 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
667 | 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) | |
668 | end | |
669 | for i=0, 1.2, 0.1 / Animation_Speed do | |
670 | Swait() | |
671 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
672 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
673 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(50), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
674 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-50), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
675 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
676 | 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) | |
677 | end | |
678 | for i=0, 2, 0.1 / Animation_Speed do | |
679 | Swait() | |
680 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed) | |
681 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
682 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2*SIZE, 0.5*SIZE, -0.7) * ANGLES(RAD(0), RAD(170), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
683 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, -0.7) * ANGLES(RAD(0), RAD(-170), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
684 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
685 | 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) | |
686 | end | |
687 | ATTACK = false | |
688 | Rooted = false | |
689 | end | |
690 | -------------------------- | |
691 | ||
692 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
693 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
694 | end | |
695 | ||
696 | function PositiveAngle(NUMBER) | |
697 | if NUMBER >= 0 then | |
698 | NUMBER = 0 | |
699 | end | |
700 | return NUMBER | |
701 | end | |
702 | ||
703 | function NegativeAngle(NUMBER) | |
704 | if NUMBER <= 0 then | |
705 | NUMBER = 0 | |
706 | end | |
707 | return NUMBER | |
708 | end | |
709 | ||
710 | function Swait(NUMBER) | |
711 | if NUMBER == 0 or NUMBER == nil then | |
712 | ArtificialHB.Event:wait() | |
713 | else | |
714 | for i = 1, NUMBER do | |
715 | ArtificialHB.Event:wait() | |
716 | end | |
717 | end | |
718 | end | |
719 | ||
720 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
721 | local NEWMESH = IT(MESH) | |
722 | if MESH == "SpecialMesh" then | |
723 | NEWMESH.MeshType = MESHTYPE | |
724 | if MESHID ~= "nil" and MESHID ~= "" then | |
725 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
726 | end | |
727 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
728 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
729 | end | |
730 | end | |
731 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
732 | NEWMESH.Scale = SCALE | |
733 | NEWMESH.Parent = PARENT | |
734 | return NEWMESH | |
735 | end | |
736 | ||
737 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
738 | local NEWPART = IT("Part") | |
739 | NEWPART.formFactor = FORMFACTOR | |
740 | NEWPART.Reflectance = REFLECTANCE | |
741 | NEWPART.Transparency = TRANSPARENCY | |
742 | NEWPART.CanCollide = false | |
743 | NEWPART.Locked = true | |
744 | NEWPART.Anchored = true | |
745 | if ANCHOR == false then | |
746 | NEWPART.Anchored = false | |
747 | end | |
748 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
749 | NEWPART.Name = NAME | |
750 | NEWPART.Size = SIZE | |
751 | NEWPART.Position = Torso.Position | |
752 | NEWPART.Material = MATERIAL | |
753 | NEWPART:BreakJoints() | |
754 | NEWPART.Parent = PARENT | |
755 | return NEWPART | |
756 | end | |
757 | ||
758 | local function weldBetween(a, b) | |
759 | local weldd = Instance.new("ManualWeld") | |
760 | weldd.Part0 = a | |
761 | weldd.Part1 = b | |
762 | weldd.C0 = CFrame.new() | |
763 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
764 | weldd.Parent = a | |
765 | return weldd | |
766 | end | |
767 | ||
768 | ||
769 | function QuaternionFromCFrame(cf) | |
770 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
771 | local trace = m00 + m11 + m22 | |
772 | if trace > 0 then | |
773 | local s = math.sqrt(1 + trace) | |
774 | local recip = 0.5 / s | |
775 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
776 | else | |
777 | local i = 0 | |
778 | if m11 > m00 then | |
779 | i = 1 | |
780 | end | |
781 | if m22 > (i == 0 and m00 or m11) then | |
782 | i = 2 | |
783 | end | |
784 | if i == 0 then | |
785 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
786 | local recip = 0.5 / s | |
787 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
788 | elseif i == 1 then | |
789 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
790 | local recip = 0.5 / s | |
791 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
792 | elseif i == 2 then | |
793 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
794 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
795 | end | |
796 | end | |
797 | end | |
798 | ||
799 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
800 | local xs, ys, zs = x + x, y + y, z + z | |
801 | local wx, wy, wz = w * xs, w * ys, w * zs | |
802 | local xx = x * xs | |
803 | local xy = x * ys | |
804 | local xz = x * zs | |
805 | local yy = y * ys | |
806 | local yz = y * zs | |
807 | local zz = z * zs | |
808 | 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)) | |
809 | end | |
810 | ||
811 | function QuaternionSlerp(a, b, t) | |
812 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
813 | local startInterp, finishInterp; | |
814 | if cosTheta >= 0.0001 then | |
815 | if (1 - cosTheta) > 0.0001 then | |
816 | local theta = ACOS(cosTheta) | |
817 | local invSinTheta = 1 / SIN(theta) | |
818 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
819 | finishInterp = SIN(t * theta) * invSinTheta | |
820 | else | |
821 | startInterp = 1 - t | |
822 | finishInterp = t | |
823 | end | |
824 | else | |
825 | if (1 + cosTheta) > 0.0001 then | |
826 | local theta = ACOS(-cosTheta) | |
827 | local invSinTheta = 1 / SIN(theta) | |
828 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
829 | finishInterp = SIN(t * theta) * invSinTheta | |
830 | else | |
831 | startInterp = t - 1 | |
832 | finishInterp = t | |
833 | end | |
834 | end | |
835 | 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 | |
836 | end | |
837 | ||
838 | function Clerp(a, b, t) | |
839 | local qa = {QuaternionFromCFrame(a)} | |
840 | local qb = {QuaternionFromCFrame(b)} | |
841 | local ax, ay, az = a.x, a.y, a.z | |
842 | local bx, by, bz = b.x, b.y, b.z | |
843 | local _t = 1 - t | |
844 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
845 | end | |
846 | ||
847 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
848 | local frame = IT("Frame") | |
849 | frame.BackgroundTransparency = TRANSPARENCY | |
850 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
851 | frame.Position = POSITION | |
852 | frame.Size = SIZE | |
853 | frame.BackgroundColor3 = COLOR | |
854 | frame.BorderColor3 = BORDERCOLOR | |
855 | frame.Name = NAME | |
856 | frame.Parent = PARENT | |
857 | return frame | |
858 | end | |
859 | ||
860 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
861 | local label = IT("TextLabel") | |
862 | label.BackgroundTransparency = 1 | |
863 | label.Size = UD2(1, 0, 1, 0) | |
864 | label.Position = UD2(0, 0, 0, 0) | |
865 | label.TextColor3 = TEXTCOLOR | |
866 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
867 | label.TextTransparency = TRANSPARENCY | |
868 | label.FontSize = TEXTFONTSIZE | |
869 | label.Font = TEXTFONT | |
870 | label.BorderSizePixel = BORDERSIZEPIXEL | |
871 | label.TextScaled = false | |
872 | label.Text = TEXT | |
873 | label.Name = NAME | |
874 | label.Parent = PARENT | |
875 | return label | |
876 | end | |
877 | ||
878 | function NoOutlines(PART) | |
879 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
880 | end | |
881 | ||
882 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
883 | local NEWWELD = IT(TYPE) | |
884 | NEWWELD.Part0 = PART0 | |
885 | NEWWELD.Part1 = PART1 | |
886 | NEWWELD.C0 = C0 | |
887 | NEWWELD.C1 = C1 | |
888 | NEWWELD.Parent = PARENT | |
889 | return NEWWELD | |
890 | end | |
891 | ||
892 | local S = IT("Sound") | |
893 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
894 | local NEWSOUND = nil | |
895 | coroutine.resume(coroutine.create(function() | |
896 | NEWSOUND = S:Clone() | |
897 | NEWSOUND.Parent = PARENT | |
898 | NEWSOUND.Volume = VOLUME | |
899 | NEWSOUND.Pitch = PITCH | |
900 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
901 | NEWSOUND:play() | |
902 | if DOESLOOP == true then | |
903 | NEWSOUND.Looped = true | |
904 | else | |
905 | repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT | |
906 | NEWSOUND:remove() | |
907 | end | |
908 | end)) | |
909 | return NEWSOUND | |
910 | end | |
911 | ||
912 | function CFrameFromTopBack(at, top, back) | |
913 | local right = top:Cross(back) | |
914 | 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) | |
915 | end | |
916 | ||
917 | --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}) | |
918 | function WACKYEFFECT(Table) | |
919 | local TYPE = (Table.EffectType or "Sphere") | |
920 | local SIZE = (Table.Size or VT(1,1,1)) | |
921 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
922 | local TRANSPARENCY = (Table.Transparency or 0) | |
923 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
924 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
925 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
926 | local ROTATION1 = (Table.RotationX or 0) | |
927 | local ROTATION2 = (Table.RotationY or 0) | |
928 | local ROTATION3 = (Table.RotationZ or 0) | |
929 | local MATERIAL = (Table.Material or "Neon") | |
930 | local COLOR = (Table.Color or C3(1,1,1)) | |
931 | local TIME = (Table.Time or 45) | |
932 | local SOUNDID = (Table.SoundID or nil) | |
933 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
934 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
935 | coroutine.resume(coroutine.create(function() | |
936 | local PLAYSSOUND = false | |
937 | local SOUND = nil | |
938 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
939 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
940 | PLAYSSOUND = true | |
941 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
942 | end | |
943 | EFFECT.Color = COLOR | |
944 | local MSH = nil | |
945 | if TYPE == "Sphere" then | |
946 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
947 | elseif TYPE == "Block" then | |
948 | MSH = IT("BlockMesh",EFFECT) | |
949 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
950 | elseif TYPE == "Wave" then | |
951 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
952 | elseif TYPE == "Ring" then | |
953 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
954 | elseif TYPE == "Slash" then | |
955 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
956 | elseif TYPE == "Round Slash" then | |
957 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
958 | elseif TYPE == "Swirl" then | |
959 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
960 | elseif TYPE == "Skull" then | |
961 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
962 | elseif TYPE == "Crystal" then | |
963 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
964 | end | |
965 | if MSH ~= nil then | |
966 | local MOVESPEED = nil | |
967 | if MOVEDIRECTION ~= nil then | |
968 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
969 | end | |
970 | local GROWTH = SIZE - ENDSIZE | |
971 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
972 | if TYPE == "Block" then | |
973 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
974 | else | |
975 | EFFECT.CFrame = CFRAME | |
976 | end | |
977 | for LOOP = 1, TIME+1 do | |
978 | Swait() | |
979 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
980 | if TYPE == "Wave" then | |
981 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
982 | end | |
983 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
984 | if TYPE == "Block" then | |
985 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
986 | else | |
987 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
988 | end | |
989 | if MOVEDIRECTION ~= nil then | |
990 | local ORI = EFFECT.Orientation | |
991 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
992 | EFFECT.Orientation = ORI | |
993 | end | |
994 | end | |
995 | if PLAYSSOUND == false then | |
996 | EFFECT:remove() | |
997 | else | |
998 | SOUND.Stopped:Connect(function() | |
999 | EFFECT:remove() | |
1000 | end) | |
1001 | end | |
1002 | else | |
1003 | if PLAYSSOUND == false then | |
1004 | EFFECT:remove() | |
1005 | else | |
1006 | repeat Swait() until SOUND.Playing == false | |
1007 | EFFECT:remove() | |
1008 | end | |
1009 | end | |
1010 | end)) | |
1011 | end | |
1012 | local chara = Character | |
1013 | function chat(...) | |
1014 | local txxt = {...} | |
1015 | local ch = coroutine.wrap(function() | |
1016 | if chara:FindFirstChild("Chatt")~= nil then | |
1017 | Character:FindFirstChild("Chatt"):destroy() | |
1018 | end | |
1019 | local txt = Instance.new("BillboardGui", chara) | |
1020 | txt.Adornee = chara.Head | |
1021 | txt.Name = "Chatt" | |
1022 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
1023 | txt.StudsOffset = Vector3.new(-9, 7, 0) | |
1024 | local text = Instance.new("TextLabel", txt) | |
1025 | text.Size = UDim2.new(10, 0, 7, 0) | |
1026 | text.TextSize = 32 | |
1027 | text.Font = Enum.Font.Antique | |
1028 | text.TextScaled = false | |
1029 | text.BackgroundTransparency = 1 | |
1030 | text.TextColor3 = Color3.new(0,0,0) | |
1031 | text.TextStrokeTransparency = 0 | |
1032 | text.TextStrokeColor3 = Color3.new(0/0, 0/0, 0/0) | |
1033 | text.Text = "" | |
1034 | txxt = table.concat(txxt,"\t") | |
1035 | for i = 1, #txxt do | |
1036 | text.Text = txxt:sub(1,i) | |
1037 | ||
1038 | end | |
1039 | wait(2) | |
1040 | for trans = 0,1,00.1 do | |
1041 | text.TextTransparency = trans | |
1042 | text.TextStrokeTransparency = trans | |
1043 | wait() | |
1044 | end | |
1045 | wait() | |
1046 | txt:destroy() | |
1047 | end) | |
1048 | ||
1049 | ch(...) | |
1050 | end | |
1051 | Player.Chatted:connect(chat) | |
1052 | function MakeForm(PART,TYPE) | |
1053 | if TYPE == "Cyl" then | |
1054 | local MSH = IT("CylinderMesh",PART) | |
1055 | elseif TYPE == "Ball" then | |
1056 | local MSH = IT("SpecialMesh",PART) | |
1057 | MSH.MeshType = "Sphere" | |
1058 | elseif TYPE == "Wedge" then | |
1059 | local MSH = IT("SpecialMesh",PART) | |
1060 | MSH.MeshType = "Wedge" | |
1061 | end | |
1062 | end | |
1063 | ||
1064 | function SpawnTrail(FROM,TO,BIG) | |
1065 | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Black", "Trail", VT(0,0,0)) | |
1066 | MakeForm(TRAIL,"Cyl") | |
1067 | local DIST = (FROM - TO).Magnitude | |
1068 | if BIG == true then | |
1069 | TRAIL.Size = VT(1,DIST,1) | |
1070 | else | |
1071 | TRAIL.Size = VT(1,DIST,1) | |
1072 | end | |
1073 | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
1074 | coroutine.resume(coroutine.create(function() | |
1075 | for i = 1, 205 do | |
1076 | Swait() | |
1077 | TRAIL.Transparency = TRAIL.Transparency + 0.3 | |
1078 | end | |
1079 | TRAIL:remove() | |
1080 | end)) | |
1081 | end | |
1082 | ||
1083 | Debris = game:GetService("Debris") | |
1084 | ||
1085 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
1086 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
1087 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
1088 | end | |
1089 | ||
1090 | function turnto(position) | |
1091 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
1092 | end | |
1093 | ||
1094 | --//=================================\\ | |
1095 | --|| WEAPON CREATION | |
1096 | --\\=================================// | |
1097 | ||
1098 | m=Instance.new('Model',Character) | |
1099 | it=Instance.new | |
1100 | function nooutline(part) | |
1101 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
1102 | end | |
1103 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
1104 | local fp=it("Part") | |
1105 | fp.formFactor=formfactor | |
1106 | fp.Parent=parent | |
1107 | fp.Reflectance=reflectance | |
1108 | fp.Transparency=transparency | |
1109 | fp.CanCollide=false | |
1110 | fp.Locked=true | |
1111 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
1112 | fp.Name=name | |
1113 | fp.Size=size | |
1114 | fp.Position=Character.Torso.Position | |
1115 | nooutline(fp) | |
1116 | fp.Material=material | |
1117 | fp:BreakJoints() | |
1118 | return fp | |
1119 | end | |
1120 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1121 | local mesh=it(Mesh) | |
1122 | mesh.Parent=part | |
1123 | if Mesh=="SpecialMesh" then | |
1124 | mesh.MeshType=meshtype | |
1125 | mesh.MeshId=meshid | |
1126 | end | |
1127 | mesh.Offset=offset | |
1128 | mesh.Scale=scale | |
1129 | return mesh | |
1130 | end | |
1131 | function weld(parent,part0,part1,c0,c1) | |
1132 | local weld=it("Weld") | |
1133 | weld.Parent=parent | |
1134 | weld.Part0=part0 | |
1135 | weld.Part1=part1 | |
1136 | weld.C0=c0 | |
1137 | weld.C1=c1 | |
1138 | return weld | |
1139 | end | |
1140 | ||
1141 | Handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle",Vector3.new(4, 1, 2)) | |
1142 | Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.606956482, -6.08631992, -4.85469818, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
1143 | Emitter=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1144 | Emitterweld=weld(m,Handle,Emitter,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.74092484, 3.18198395, 2.45869446, 0, -0.999999464, 1.49011594e-08, 0.999999881, 1.77635684e-15, 5.96046448e-08, -5.96046448e-08, 8.94069672e-08, 0.999999464)) | |
1145 | Emitter1=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter1",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1146 | Emitter1weld=weld(m,Handle,Emitter1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.50817871, 4.67385864, 2.45869446, -0.923879385, -0.382683396, 0, 0.382683396, -0.923879504, 1.63912773e-07, -5.96046448e-08, 8.94069672e-08, 0.999999464)) | |
1147 | Emitter10=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter10",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1148 | Emitter10weld=weld(m,Handle,Emitter10,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.50072479, 5.10736465, 2.45648956, -0.923879385, 0.382683367, 0, -0.382683426, -0.923879266, -8.94069672e-08, 0, -5.96046448e-08, 0.999999642)) | |
1149 | Emitter11=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter11",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1150 | Emitter11weld=weld(m,Handle,Emitter11,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.80597305, 5.41551208, -2.45868683, 0.382683426, -0.923879206, 1.1920929e-07, -0.923879385, -0.382683426, -1.78813934e-07, 2.38418579e-07, 2.98023224e-08, -0.999999642)) | |
1151 | Emitter12=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter12",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1152 | Emitter12weld=weld(m,Handle,Emitter12,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.55233765, 5.10635376, -2.45868683, 0.923879504, -0.382683367, 1.49011612e-07, -0.382683396, -0.923879266, -8.94069672e-08, 2.38418579e-07, 2.98023224e-08, -0.999999642)) | |
1153 | Emitter13=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter13",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1154 | Emitter13weld=weld(m,Handle,Emitter13,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.74092484, 4.31216431, -2.45868683, 0, -0.999999464, 1.49011594e-08, -0.999999881, -1.42108547e-14, -2.38418579e-07, 2.38418579e-07, 2.98023224e-08, -0.999999642)) | |
1155 | Emitter14=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter14",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1156 | Emitter14weld=weld(m,Handle,Emitter14,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.31216431, 3.74092484, -2.45868683, 0.999999881, 1.42108547e-14, 2.38418579e-07, 0, -0.999999464, 1.49011594e-08, 2.38418579e-07, 2.98023224e-08, -0.999999642)) | |
1157 | Emitter15=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter15",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1158 | Emitter15weld=weld(m,Handle,Emitter15,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.14199066, 4.15154266, -2.45868683, -0.707106709, -0.707106411, 0, -0.707106709, 0.70710659, -1.49011612e-07, 1.78813934e-07, -8.94069672e-08, -0.999999642)) | |
1159 | Emitter16=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter16",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1160 | Emitter16weld=weld(m,Handle,Emitter16,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.75449371, 4.31216431, -2.45869446, 0, -0.999999464, 1.49011594e-08, -0.999999881, 2.66453526e-15, -5.96046448e-08, 5.96046448e-08, -8.94069672e-08, -0.999999464)) | |
1161 | Emitter17=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter17",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1162 | Emitter17weld=weld(m,Handle,Emitter17,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.23797226, 5.42060089, -2.45868683, -0.382683307, -0.923879385, 0, -0.923879504, 0.382683337, -1.49011612e-07, 1.78813934e-07, -8.94069672e-08, -0.999999642)) | |
1163 | Emitter18=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter18",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1164 | Emitter18weld=weld(m,Handle,Emitter18,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00675582886, 5.8644104, -2.45868683, 0, -0.999999523, 8.94069601e-08, -0.999999881, -1.77635684e-14, -1.49011612e-07, 1.78813934e-07, -8.94069672e-08, -0.999999642)) | |
1165 | Emitter19=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter19",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1166 | Emitter19weld=weld(m,Handle,Emitter19,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.81681824, 4.3685379, 2.45868683, -0.382683426, -0.923879385, 0, 0.923879504, -0.382683396, 8.94069672e-08, -1.78813934e-07, 8.94069672e-08, 0.999999642)) | |
1167 | Emitter2=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter2",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1168 | Emitter2weld=weld(m,Handle,Emitter2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.568016052, 5.29289341, 2.45648956, -0.999999881, 0, 0, 0, -0.999999702, -5.96046377e-08, 0, -5.96046448e-08, 0.999999642)) | |
1169 | Emitter20=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter20",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1170 | Emitter20weld=weld(m,Handle,Emitter20,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.568016052, 5.30652666, -2.45868683, -0.999999881, 0, 0, 0, 0.999999702, 5.96046377e-08, 0, 5.96046448e-08, -0.999999642)) | |
1171 | Emitter21=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter21",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1172 | Emitter21weld=weld(m,Handle,Emitter21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.55550385, 4.68522263, -2.45868683, -0.923879385, 0.382683337, 0, 0.382683307, 0.923879266, 8.94069672e-08, 0, 5.96046448e-08, -0.999999642)) | |
1173 | Emitter22=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter22",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1174 | Emitter22weld=weld(m,Handle,Emitter22,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.5059433, 5.11996078, -2.45868683, -0.923879385, -0.382683367, 0, -0.382683426, 0.923879266, 8.94069672e-08, 0, 5.96046448e-08, -0.999999642)) | |
1175 | Emitter23=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter23",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1176 | Emitter23weld=weld(m,Handle,Emitter23,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.15154266, 4.14199066, -2.45868683, 0.707106709, -0.70710659, 1.49011612e-07, -0.707106709, -0.707106411, 0, 1.78813934e-07, -8.94069672e-08, -0.999999642)) | |
1177 | Emitter24=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter24",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1178 | Emitter24weld=weld(m,Handle,Emitter24,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.15393066, 3.35063171, -2.45868683, -0.707106709, 0.707106471, -2.98023224e-08, 0.707106709, 0.707106471, -2.98023224e-08, 0, 5.96046448e-08, -0.999999642)) | |
1179 | Emitter25=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter25",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1180 | Emitter25weld=weld(m,Handle,Emitter25,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.35063171, 4.15393066, -2.45868683, -0.707106709, -0.707106411, 0, -0.707106709, 0.707106411, 0, 0, 5.96046448e-08, -0.999999642)) | |
1181 | Emitter26=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter26",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1182 | Emitter26weld=weld(m,Handle,Emitter26,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.25045013, 5.41542816, -2.45868683, 0.382683456, -0.923879504, 1.63912773e-07, -0.923879504, -0.382683367, -8.94069672e-08, 1.78813934e-07, -8.94069672e-08, -0.999999642)) | |
1183 | Emitter27=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter27",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1184 | Emitter27weld=weld(m,Handle,Emitter27,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.394340515, 5.70398712, -2.45869446, -0.707106709, -0.707106471, 2.98023224e-08, -0.707106709, 0.707106411, -2.98023224e-08, 5.96046448e-08, -8.94069672e-08, -0.999999464)) | |
1185 | Emitter28=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter28",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1186 | Emitter28weld=weld(m,Handle,Emitter28,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.25100708, 4.37654877, 2.45868683, 0.382683396, -0.923879504, 1.63912773e-07, 0.923879504, 0.382683396, 1.49011612e-07, -2.38418579e-07, -2.98023224e-08, 0.999999642)) | |
1187 | Emitter29=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter29",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1188 | Emitter29weld=weld(m,Handle,Emitter29,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18198395, 3.75449371, 2.45868683, 0.999999881, 1.42108547e-14, 2.38418579e-07, 0, 0.999999464, -1.49011594e-08, -2.38418579e-07, -2.98023224e-08, 0.999999642)) | |
1189 | Emitter3=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter3",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1190 | Emitter3weld=weld(m,Handle,Emitter3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.55028534, 4.6726265, 2.45648956, -0.923879385, -0.382683337, 0, 0.382683307, -0.923879266, -8.94069672e-08, 0, -5.96046448e-08, 0.999999642)) | |
1191 | Emitter30=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter30",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1192 | Emitter30weld=weld(m,Handle,Emitter30,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34073639, 3.35028839, 2.45868683, 0.707106709, -0.70710659, 1.49011612e-07, 0.707106709, 0.707106411, 0, -1.78813934e-07, 8.94069672e-08, 0.999999642)) | |
1193 | Emitter31=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter31",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1194 | Emitter31weld=weld(m,Handle,Emitter31,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.81850815, 5.4207077, -2.45869446, -0.382683396, -0.923879385, 0, -0.923879504, 0.382683396, -8.94069672e-08, 5.96046448e-08, -8.94069672e-08, -0.999999464)) | |
1195 | Emitter32=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter32",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1196 | Emitter32weld=weld(m,Handle,Emitter32,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.54714203, 5.11889267, -2.45869446, -0.923879385, -0.382683396, 0, -0.382683426, 0.923879206, -1.1920929e-07, 5.96046448e-08, -8.94069672e-08, -0.999999464)) | |
1197 | Emitter33=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter33",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1198 | Emitter33weld=weld(m,Handle,Emitter33,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.80434036, 4.37371063, 2.45868683, 0.382683307, -0.923879504, 1.78813934e-07, 0.923879504, 0.382683337, 8.94069672e-08, -1.78813934e-07, 8.94069672e-08, 0.999999642)) | |
1199 | Emitter34=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter34",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1200 | Emitter34weld=weld(m,Handle,Emitter34,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.31216431, 3.75449371, -2.45869446, -0.999999881, -1.77635684e-15, -5.96046448e-08, 0, 0.999999464, -1.49011594e-08, 5.96046448e-08, -8.94069672e-08, -0.999999464)) | |
1201 | Emitter35=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter35",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1202 | Emitter35weld=weld(m,Handle,Emitter35,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.50298309, 4.68639374, 2.45868683, 0.923879385, -0.382683426, 1.78813934e-07, 0.382683456, 0.923879147, 4.47034836e-08, -2.38418579e-07, -2.98023224e-08, 0.999999642)) | |
1203 | Emitter36=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter36",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1204 | Emitter36weld=weld(m,Handle,Emitter36,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00675582886, 4.73126984, 2.45868683, 0, -0.999999523, 8.94069601e-08, 0.999999881, 1.77635684e-14, 1.49011612e-07, -1.78813934e-07, 8.94069672e-08, 0.999999642)) | |
1205 | Emitter37=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter37",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1206 | Emitter37weld=weld(m,Handle,Emitter37,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.404823303, 4.9048233, 2.45868683, 0.707106709, -0.707106471, 1.49011612e-07, 0.707106709, 0.707106531, 8.94069672e-08, -2.38418579e-07, -2.98023224e-08, 0.999999642)) | |
1207 | Emitter38=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter38",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1208 | Emitter38weld=weld(m,Handle,Emitter38,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.75449371, 3.18198395, 2.45868683, 0, -0.999999464, 1.49011594e-08, 0.999999881, 1.42108547e-14, 2.38418579e-07, -2.38418579e-07, -2.98023224e-08, 0.999999642)) | |
1209 | Emitter39=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter39",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1210 | Emitter39weld=weld(m,Handle,Emitter39,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.35028839, 3.34073639, 2.45868683, -0.707106709, -0.707106411, 0, 0.707106709, -0.70710659, 1.49011612e-07, -1.78813934e-07, 8.94069672e-08, 0.999999642)) | |
1211 | Emitter4=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter4",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1212 | Emitter4weld=weld(m,Handle,Emitter4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.18198395, 3.74092484, 2.45869446, -0.999999881, 2.66453526e-15, -5.96046448e-08, 0, -0.999999464, 1.49011594e-08, -5.96046448e-08, 8.94069672e-08, 0.999999464)) | |
1213 | Emitter5=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter5",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1214 | Emitter5weld=weld(m,Handle,Emitter5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.23846817, 4.37135315, 2.45869446, -0.382683426, -0.923879206, 8.94069672e-08, 0.923879385, -0.382683396, 5.96046448e-08, -5.96046448e-08, 8.94069672e-08, 0.999999464)) | |
1215 | Emitter6=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter6",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1216 | Emitter6weld=weld(m,Handle,Emitter6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.395233154, 4.89523315, 2.45869446, -0.707106709, -0.707106471, 2.98023224e-08, 0.707106709, -0.707106411, 2.98023224e-08, -5.96046448e-08, 8.94069672e-08, 0.999999464)) | |
1217 | Emitter7=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter7",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1218 | Emitter7weld=weld(m,Handle,Emitter7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.34099579, 4.14429474, 2.45648956, -0.707106709, 0.707106411, 0, -0.707106709, -0.707106411, 0, 0, -5.96046448e-08, 0.999999642)) | |
1219 | Emitter8=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter8",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1220 | Emitter8weld=weld(m,Handle,Emitter8,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.403930664, 5.69439697, -2.45868683, 0.707106709, -0.707106471, 1.49011612e-07, -0.707106709, -0.707106531, -8.94069672e-08, 2.38418579e-07, 2.98023224e-08, -0.999999642)) | |
1221 | Emitter9=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter9",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
1222 | Emitter9weld=weld(m,Handle,Emitter9,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.14429474, 3.34099579, 2.45648956, -0.707106709, -0.707106471, 2.98023224e-08, 0.707106709, -0.707106471, 2.98023224e-08, 0, -5.96046448e-08, 0.999999642)) | |
1223 | ||
1224 | ||
1225 | local particleemitter = Instance.new("ParticleEmitter", Emitter) | |
1226 | ||
1227 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1228 | particleemitter.LightEmission = 1 | |
1229 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1230 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1231 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1232 | particleemitter.Rate = 200 | |
1233 | local particleemitter = Instance.new("ParticleEmitter", Emitter1) | |
1234 | ||
1235 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1236 | particleemitter.LightEmission = 1 | |
1237 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1238 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1239 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1240 | particleemitter.Rate = 200 | |
1241 | local particleemitter = Instance.new("ParticleEmitter", Emitter2) | |
1242 | ||
1243 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1244 | particleemitter.LightEmission = 1 | |
1245 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1246 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1247 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1248 | particleemitter.Rate = 200 | |
1249 | local particleemitter = Instance.new("ParticleEmitter", Emitter3) | |
1250 | ||
1251 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1252 | particleemitter.LightEmission = 1 | |
1253 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1254 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1255 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1256 | particleemitter.Rate = 200 | |
1257 | local particleemitter = Instance.new("ParticleEmitter", Emitter4) | |
1258 | ||
1259 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1260 | particleemitter.LightEmission = 1 | |
1261 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1262 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1263 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1264 | particleemitter.Rate = 200 | |
1265 | local particleemitter = Instance.new("ParticleEmitter", Emitter5) | |
1266 | ||
1267 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1268 | particleemitter.LightEmission = 1 | |
1269 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1270 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1271 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1272 | particleemitter.Rate = 200 | |
1273 | local particleemitter = Instance.new("ParticleEmitter", Emitter6) | |
1274 | ||
1275 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1276 | particleemitter.LightEmission = 1 | |
1277 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1278 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1279 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1280 | particleemitter.Rate = 200 | |
1281 | local particleemitter = Instance.new("ParticleEmitter", Emitter7) | |
1282 | ||
1283 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1284 | particleemitter.LightEmission = 1 | |
1285 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1286 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1287 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1288 | particleemitter.Rate = 200 | |
1289 | local particleemitter = Instance.new("ParticleEmitter", Emitter8) | |
1290 | ||
1291 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1292 | particleemitter.LightEmission = 1 | |
1293 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1294 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1295 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1296 | particleemitter.Rate = 200 | |
1297 | local particleemitter = Instance.new("ParticleEmitter", Emitter9) | |
1298 | ||
1299 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1300 | particleemitter.LightEmission = 1 | |
1301 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1302 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1303 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1304 | particleemitter.Rate = 200 | |
1305 | local particleemitter = Instance.new("ParticleEmitter", Emitter10) | |
1306 | ||
1307 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1308 | particleemitter.LightEmission = 1 | |
1309 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1310 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1311 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1312 | particleemitter.Rate = 200 | |
1313 | local particleemitter = Instance.new("ParticleEmitter", Emitter11) | |
1314 | ||
1315 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1316 | particleemitter.LightEmission = 1 | |
1317 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1318 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1319 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1320 | particleemitter.Rate = 200 | |
1321 | local particleemitter = Instance.new("ParticleEmitter", Emitter12) | |
1322 | ||
1323 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1324 | particleemitter.LightEmission = 1 | |
1325 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1326 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1327 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1328 | particleemitter.Rate = 200 | |
1329 | local particleemitter = Instance.new("ParticleEmitter", Emitter13) | |
1330 | ||
1331 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1332 | particleemitter.LightEmission = 1 | |
1333 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1334 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1335 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1336 | particleemitter.Rate = 200 | |
1337 | local particleemitter = Instance.new("ParticleEmitter", Emitter14) | |
1338 | ||
1339 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1340 | particleemitter.LightEmission = 1 | |
1341 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1342 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1343 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1344 | particleemitter.Rate = 200 | |
1345 | local particleemitter = Instance.new("ParticleEmitter", Emitter15) | |
1346 | ||
1347 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1348 | particleemitter.LightEmission = 1 | |
1349 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1350 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1351 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1352 | particleemitter.Rate = 200 | |
1353 | local particleemitter = Instance.new("ParticleEmitter", Emitter16) | |
1354 | ||
1355 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1356 | particleemitter.LightEmission = 1 | |
1357 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1358 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1359 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1360 | particleemitter.Rate = 200 | |
1361 | local particleemitter = Instance.new("ParticleEmitter", Emitter17) | |
1362 | ||
1363 | particleemitter.Color = ColorSequence.new(Color3.new(200/255, 10/255, 10/255),Color3.new(200/255, 10/255, 10/255)) | |
1364 | particleemitter.LightEmission = 1 | |
1365 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1366 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1367 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1368 | particleemitter.Rate = 200 | |
1369 | local particleemitter = Instance.new("ParticleEmitter", Emitter18) | |
1370 | ||
1371 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1372 | particleemitter.LightEmission = 1 | |
1373 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1374 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1375 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1376 | particleemitter.Rate = 200 | |
1377 | local particleemitter = Instance.new("ParticleEmitter", Emitter19) | |
1378 | ||
1379 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1380 | particleemitter.LightEmission = 1 | |
1381 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1382 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1383 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1384 | particleemitter.Rate = 200 | |
1385 | local particleemitter = Instance.new("ParticleEmitter", Emitter20) | |
1386 | ||
1387 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1388 | particleemitter.LightEmission = 1 | |
1389 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1390 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1391 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1392 | particleemitter.Rate = 200 | |
1393 | local particleemitter = Instance.new("ParticleEmitter", Emitter21) | |
1394 | ||
1395 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1396 | particleemitter.LightEmission = 1 | |
1397 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1398 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1399 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1400 | particleemitter.Rate = 200 | |
1401 | local particleemitter = Instance.new("ParticleEmitter", Emitter22) | |
1402 | ||
1403 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1404 | particleemitter.LightEmission = 1 | |
1405 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1406 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1407 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1408 | particleemitter.Rate = 200 | |
1409 | local particleemitter = Instance.new("ParticleEmitter", Emitter23) | |
1410 | ||
1411 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1412 | particleemitter.LightEmission = 1 | |
1413 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1414 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1415 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1416 | particleemitter.Rate = 200 | |
1417 | local particleemitter = Instance.new("ParticleEmitter", Emitter24) | |
1418 | ||
1419 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1420 | particleemitter.LightEmission = 1 | |
1421 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1422 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1423 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1424 | particleemitter.Rate = 200 | |
1425 | local particleemitter = Instance.new("ParticleEmitter", Emitter25) | |
1426 | ||
1427 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1428 | particleemitter.LightEmission = 1 | |
1429 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1430 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1431 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1432 | particleemitter.Rate = 200 | |
1433 | local particleemitter = Instance.new("ParticleEmitter", Emitter26) | |
1434 | ||
1435 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1436 | particleemitter.LightEmission = 1 | |
1437 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1438 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1439 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1440 | particleemitter.Rate = 200 | |
1441 | local particleemitter = Instance.new("ParticleEmitter", Emitter27) | |
1442 | ||
1443 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1444 | particleemitter.LightEmission = 1 | |
1445 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1446 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1447 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1448 | particleemitter.Rate = 200 | |
1449 | local particleemitter = Instance.new("ParticleEmitter", Emitter28) | |
1450 | ||
1451 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1452 | particleemitter.LightEmission = 1 | |
1453 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1454 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1455 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1456 | particleemitter.Rate = 200 | |
1457 | local particleemitter = Instance.new("ParticleEmitter", Emitter29) | |
1458 | ||
1459 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1460 | particleemitter.LightEmission = 1 | |
1461 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1462 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1463 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1464 | particleemitter.Rate = 200 | |
1465 | local particleemitter = Instance.new("ParticleEmitter", Emitter30) | |
1466 | ||
1467 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1468 | particleemitter.LightEmission = 1 | |
1469 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1470 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1471 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1472 | particleemitter.Rate = 200 | |
1473 | local particleemitter = Instance.new("ParticleEmitter", Emitter31) | |
1474 | ||
1475 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1476 | particleemitter.LightEmission = 1 | |
1477 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1478 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1479 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1480 | particleemitter.Rate = 200 | |
1481 | local particleemitter = Instance.new("ParticleEmitter", Emitter32) | |
1482 | ||
1483 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1484 | particleemitter.LightEmission = 1 | |
1485 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1486 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1487 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1488 | particleemitter.Rate = 200 | |
1489 | local particleemitter = Instance.new("ParticleEmitter", Emitter33) | |
1490 | ||
1491 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1492 | particleemitter.LightEmission = 1 | |
1493 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1494 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1495 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1496 | particleemitter.Rate = 200 | |
1497 | local particleemitter = Instance.new("ParticleEmitter", Emitter34) | |
1498 | ||
1499 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1500 | particleemitter.LightEmission = 1 | |
1501 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1502 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1503 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1504 | particleemitter.Rate = 200 | |
1505 | local particleemitter = Instance.new("ParticleEmitter", Emitter35) | |
1506 | ||
1507 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1508 | particleemitter.LightEmission = 1 | |
1509 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1510 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1511 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1512 | particleemitter.Rate = 200 | |
1513 | local particleemitter = Instance.new("ParticleEmitter", Emitter36) | |
1514 | ||
1515 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1516 | particleemitter.LightEmission = 1 | |
1517 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1518 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1519 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1520 | particleemitter.Rate = 200 | |
1521 | local particleemitter = Instance.new("ParticleEmitter", Emitter37) | |
1522 | ||
1523 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1524 | particleemitter.LightEmission = 1 | |
1525 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1526 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1527 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1528 | particleemitter.Rate = 200 | |
1529 | local particleemitter = Instance.new("ParticleEmitter", Emitter38) | |
1530 | ||
1531 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1532 | particleemitter.LightEmission = 1 | |
1533 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1534 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1535 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1536 | particleemitter.Rate = 200 | |
1537 | local particleemitter = Instance.new("ParticleEmitter", Emitter39) | |
1538 | ||
1539 | particleemitter.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) | |
1540 | particleemitter.LightEmission = 1 | |
1541 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1542 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
1543 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
1544 | particleemitter.Rate = 200 | |
1545 | ||
1546 | local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Really red", "Hair", VT(1,1,1),false) | |
1547 | local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.15) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1548 | CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.025, 0.025, 0.02), VT(0,0,0)) | |
1549 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.8,0.21,1)/2,false) | |
1550 | MakeForm(Eye,"Ball") | |
1551 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(-0.1,0.18,0) * ANGLES(RAD(0), RAD(11), RAD(-18)), CF(0, 0, 0.4)) | |
1552 | ||
1553 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.8,0.1,1)/2,false) | |
1554 | MakeForm(Eye,"Ball") | |
1555 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(-0.1,0.18,0) * ANGLES(RAD(0), RAD(11), RAD(-90)), CF(0, 0, 0.4)) | |
1556 | ||
1557 | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(1,0.17,1)/2,false) | |
1558 | MakeForm(Eye,"Ball") | |
1559 | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(-0.08,0.18,-0.16) * ANGLES(RAD(0), RAD(-38), RAD(-90)), CF(0, 0, 0.4)) | |
1560 | ||
1561 | local AT1 = IT("Attachment",RightArm) | |
1562 | AT1.Position = VT(0,-1.15,0) | |
1563 | local AT2 = IT("Attachment",LeftArm) | |
1564 | AT2.Position = VT(0,-1.15,0) | |
1565 | local PE=Instance.new("ParticleEmitter") | |
1566 | PE.Speed = NumberRange.new(2, 3) | |
1567 | PE.Rotation = NumberRange.new(-180, 180) | |
1568 | PE.Color = ColorSequence.new(Color3.new(1, 0.72549, 0.482353),Color3.new(1, 0.72549, 0.482353)) | |
1569 | PE.LightEmission = 0.5 | |
1570 | PE.Texture = "http://www.roblox.com/asset/?id=301261210" | |
1571 | PE.Transparency = NumberSequence.new(1,0,0,1) | |
1572 | PE.Size = NumberSequence.new(0,0.075000002980232,0.025000000372529) | |
1573 | PE.Acceleration = Vector3.new(0, 2.5, 0) | |
1574 | PE.Lifetime = NumberRange.new(1, 3) | |
1575 | PE.Rate = 50 | |
1576 | PE.SpreadAngle = Vector2.new(22.5, 22.5) | |
1577 | PE.VelocitySpread = 22.5 | |
1578 | function particles(art) | |
1579 | local o = PE:Clone() | |
1580 | o.Parent = art | |
1581 | o.Enabled = true | |
1582 | return o | |
1583 | end | |
1584 | ||
1585 | particles(AT1) | |
1586 | particles(AT2) | |
1587 | ||
1588 | ||
1589 | local AT3 = IT("Attachment",RightArm) | |
1590 | AT1.Position = VT(0,-1.15,0) | |
1591 | local AT4 = IT("Attachment",LeftArm) | |
1592 | AT2.Position = VT(0,-1.15,0) | |
1593 | local PE2=Instance.new("ParticleEmitter") | |
1594 | PE2.Speed = NumberRange.new(5, 7) | |
1595 | PE2.Rotation = NumberRange.new(4, 9) | |
1596 | PE2.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0)) | |
1597 | PE2.LightEmission = 0.86000001430511 | |
1598 | PE2.Texture = "http://www.roblox.com/asset/?id=248625108" | |
1599 | PE2.Transparency = NumberSequence.new(0,0.54374998807907,0.73749995231628,0,0.72500002384186,0.45625001192093,0.63749998807907,0,0.52499997615814,0) | |
1600 | PE2.Size = NumberSequence.new(3.3125,2.8125,2.6875,2.5624995231628,2.3125,2.1875,1.7500001192093,0.43749988079071,0.12499988079071) | |
1601 | PE2.Acceleration = Vector3.new(1, 6, 0) | |
1602 | PE2.Lifetime = NumberRange.new(0, 1) | |
1603 | PE2.Rate = 70 | |
1604 | PE2.RotSpeed = NumberRange.new(5, 9) | |
1605 | PE2.SpreadAngle = Vector2.new(28, 28) | |
1606 | PE2.VelocitySpread = 28 | |
1607 | ||
1608 | ||
1609 | function particles(art) | |
1610 | local o = PE2:Clone() | |
1611 | o.Parent = art | |
1612 | o.Enabled = true | |
1613 | return o | |
1614 | end | |
1615 | ||
1616 | ||
1617 | particles(AT3) | |
1618 | particles(AT4) | |
1619 | function turnto(position) | |
1620 | RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0) | |
1621 | end | |
1622 | Void = nil | |
1623 | VoidParts = {} | |
1624 | Equipped = false | |
1625 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
1626 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) | |
1627 | end | |
1628 | ||
1629 | Player = Player | |
1630 | Character = Character | |
1631 | ||
1632 | Humanoid = Character:FindFirstChildOfClass("Humanoid") | |
1633 | Torso = Character:FindFirstChild("Torso") | |
1634 | if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then | |
1635 | return | |
1636 | end | |
1637 | Equipped = true | |
1638 | Void = Instance.new("Model") | |
1639 | Void.Name = "Void" | |
1640 | Angle = 0 | |
1641 | for i = 1, 1 do | |
1642 | local VoidPart = Instance.new("Part") | |
1643 | VoidPart.Name = "VoidPart" | |
1644 | VoidPart.Transparency = 1 | |
1645 | VoidPart.BrickColor = BrickColor.new("Really black") | |
1646 | VoidPart.Material = Enum.Material.Plastic | |
1647 | VoidPart.Shape = Enum.PartType.Block | |
1648 | VoidPart.FormFactor = Enum.FormFactor.Custom | |
1649 | VoidPart.TopSurface = Enum.SurfaceType.Smooth | |
1650 | VoidPart.BottomSurface = Enum.SurfaceType.Smooth | |
1651 | VoidPart.Anchored = true | |
1652 | VoidPart.CanCollide = false | |
1653 | VoidPart.Locked = true | |
1654 | VoidPart.Size = Vector3.new(28, 1.2, 28) | |
1655 | local BlockMesh = Instance.new("BlockMesh") | |
1656 | BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1) | |
1657 | BlockMesh.Parent = VoidPart | |
1658 | VoidPart.Parent = Void | |
1659 | local Star = Instance.new("Decal", VoidPart) | |
1660 | Star.Texture = "http://www.roblox.com/asset/?id=338244520" | |
1661 | --CricleForTarget | |
1662 | --121028264 MagicCircle1 | |
1663 | --160506713 MagicCircle2 | |
1664 | --327794305 MagicCircle3 (Death) | |
1665 | --160508788 MagicCircle4 (Scary) | |
1666 | --124339738 CoolCircle5 | |
1667 | --268043891 Abyss-Demon-Magic-Circle | |
1668 | Star.Face = "Top" | |
1669 | local Light = Instance.new("PointLight", VoidPart) | |
1670 | Light.Color = Color3.new(255,255,255) | |
1671 | Light.Brightness = 200 | |
1672 | Light.Range = 35 | |
1673 | table.insert(VoidParts, VoidPart) | |
1674 | end | |
1675 | Spawn(function() | |
1676 | while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do | |
1677 | if Angle == 360 then | |
1678 | Angle = 0 | |
1679 | end | |
1680 | Angle = Angle + 0.05 | |
1681 | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character}) | |
1682 | if Hit then | |
1683 | if not Void.Parent then | |
1684 | Void.Parent = Character | |
1685 | end | |
1686 | for i, v in pairs(VoidParts) do | |
1687 | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) | |
1688 | end | |
1689 | else | |
1690 | Void.Parent = nil | |
1691 | end | |
1692 | wait() | |
1693 | end | |
1694 | end) | |
1695 | function CreateWeldOrSnapOrMotor1(TYPE, PARENT, PART0, PART1, C0, C1) | |
1696 | local NEWWELD = IT(TYPE) | |
1697 | NEWWELD.Part0 = PART0 | |
1698 | NEWWELD.Part1 = PART1 | |
1699 | NEWWELD.C0 = C0 | |
1700 | NEWWELD.C1 = C1 | |
1701 | NEWWELD.Parent = PARENT | |
1702 | return NEWWELD | |
1703 | end | |
1704 | local SIZE = 1 | |
1705 | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false) | |
1706 | PRT.Color = C3(1,0,0) | |
1707 | MakeForm(PRT,"Ball") | |
1708 | CreateWeldOrSnapOrMotor1("Weld", Head, Head, PRT, CF(0.23,0.17,-.5*SIZE), CF(0, 0, 0)) | |
1709 | ||
1710 | local LASTPART = Head | |
1711 | for i = 1, 20 do | |
1712 | local MATH = (1-(i/25)) | |
1713 | if LASTPART == Head then | |
1714 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
1715 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.5, -0.35) * ANGLES(RAD(-50), RAD(15), RAD(-15)), CF(0, 0, 0)) | |
1716 | LASTPART = Horn | |
1717 | Horn.Color = C3((i*3-3)/0,0,0) | |
1718 | else | |
1719 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
1720 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0)) | |
1721 | LASTPART = Horn | |
1722 | Horn.Color = C3((i*3-3)/0,0,0) | |
1723 | end | |
1724 | end | |
1725 | local LASTPART = Head | |
1726 | for i = 1, 20 do | |
1727 | local MATH = (1-(i/25)) | |
1728 | if LASTPART == Head then | |
1729 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
1730 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.5, -0.35) * ANGLES(RAD(-50), RAD(-15), RAD(15)), CF(0, 0, 0)) | |
1731 | LASTPART = Horn | |
1732 | Horn.Color = C3((i*3-3)/0,0,0) | |
1733 | else | |
1734 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
1735 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0)) | |
1736 | LASTPART = Horn | |
1737 | Horn.Color = C3((i*3-3)/0,0,0) | |
1738 | end | |
1739 | end | |
1740 | local LASTPART = Head | |
1741 | for i = 1, 20 do | |
1742 | local MATH = (1-(i/25)) | |
1743 | if LASTPART == Head then | |
1744 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
1745 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.5, -0.35) * ANGLES(RAD(-50), RAD(40), RAD(-40)), CF(0, 0, 0)) | |
1746 | LASTPART = Horn | |
1747 | Horn.Color = C3((i*3-3)/0,0,0) | |
1748 | else | |
1749 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
1750 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.6), RAD(0)), CF(0, 0, 0)) | |
1751 | LASTPART = Horn | |
1752 | Horn.Color = C3((i*3-3)/0,0,0) | |
1753 | end | |
1754 | end | |
1755 | function swait(num) | |
1756 | if num == 0 or num == nil then | |
1757 | ArtificialHB.Event:wait() | |
1758 | else | |
1759 | for i = 0, num do | |
1760 | ArtificialHB.Event:wait() | |
1761 | end | |
1762 | end | |
1763 | end | |
1764 | function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE) | |
1765 | if TYPE == "Gem" then | |
1766 | local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) | |
1767 | acs.Anchored = false | |
1768 | acs.CanCollide = false | |
1769 | acs.CFrame = PART.CFrame | |
1770 | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET) | |
1771 | weldBetween(PART,acs) | |
1772 | elseif TYPE == "Skull" then | |
1773 | local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) | |
1774 | acs.Anchored = false | |
1775 | acs.CanCollide = false | |
1776 | acs.CFrame = PART.CFrame | |
1777 | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET) | |
1778 | weldBetween(PART,acs) | |
1779 | elseif TYPE == "Eye" then | |
1780 | local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) | |
1781 | acs.Anchored = false | |
1782 | acs.CanCollide = false | |
1783 | acs.CFrame = PART.CFrame | |
1784 | local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET) | |
1785 | weldBetween(PART,acs) | |
1786 | end | |
1787 | end | |
1788 | function NoOutlines(PART) | |
1789 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
1790 | end | |
1791 | local LEFTWINGS = {} | |
1792 | local RIGHTWINGS = {} | |
1793 | local BODY = {} | |
1794 | local Back = CreatePart(3, Character, "Granite", 0, 0, "Black", "Wing", VT(1,1,0.35),false) | |
1795 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0)) | |
1796 | ||
1797 | local ANGLE = 35 | |
1798 | for i = 1, 2 do | |
1799 | local Wing = CreatePart(3, Character, "Granite", 0, 0, "Black", "Wing", VT(0.15,2+(i/2),0.15),false) | |
1800 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0)) | |
1801 | local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Black", "Wing", VT(0.25,1,0.25),false) | |
1802 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0)) | |
1803 | ANGLE = ANGLE - 15 | |
1804 | table.insert(LEFTWINGS,WingWeld) | |
1805 | end | |
1806 | ANGLE = 35 | |
1807 | for i = 1, 7 do | |
1808 | local Wing = CreatePart(3, Character, "Neon", 0, 0, "Black", "Wing", VT(0.15,2+(i/2),0.15),false) | |
1809 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0)) | |
1810 | local Wing2 = CreatePart(3, Character, "Granite", 0, 0, "Black", "Wing", VT(0.25,1,0.25),false) | |
1811 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0)) | |
1812 | ANGLE = ANGLE - 15 | |
1813 | table.insert(RIGHTWINGS,WingWeld) | |
1814 | end | |
1815 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false) | |
1816 | PRT.Color = C3(0,0,0) | |
1817 | local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0)) | |
1818 | CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,2),false) | |
1819 | PRT.Color = C3(0,0,0) | |
1820 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1821 | CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0)) | |
1822 | for i = 1, 16 do | |
1823 | local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false) | |
1824 | FACE.Color = C3(0,0,0) | |
1825 | Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE | |
1826 | CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0)) | |
1827 | end | |
1828 | ||
1829 | local Particle = IT("ParticleEmitter",nil) | |
1830 | Particle.Enabled = false | |
1831 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)}) | |
1832 | Particle.LightEmission = 0.1 | |
1833 | Particle.Rate = 300 | |
1834 | Particle.ZOffset = 2 | |
1835 | Particle.Rotation = NumberRange.new(-180, 180) | |
1836 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
1837 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
1838 | Particle.Color = ColorSequence.new(C3(0,0,0),C3(0,0,0)) | |
1839 | ||
1840 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 5, Size2 = 10, Lifetime1 = 3, Lifetime2 = 3, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
1841 | function ParticleEmitter(Table) | |
1842 | local PRTCL = Particle:Clone() | |
1843 | local Speed = Table.Speed or 5 | |
1844 | local Drag = Table.Drag or 0 | |
1845 | local Size1 = Table.Size1 or 5 | |
1846 | local Size2 = Table.Size2 or 10 | |
1847 | local Lifetime1 = Table.Lifetime1 or 2 | |
1848 | local Lifetime2 = Table.Lifetime2 or 3 | |
1849 | local Parent = Table.Parent or Torso | |
1850 | local Emit = Table.Emit or 100 | |
1851 | local Offset = Table.Offset or 360 | |
1852 | local Acel = Table.Acel or VT(0,0,0) | |
1853 | local Enabled = Table.Enabled or false | |
1854 | PRTCL.Parent = Parent | |
1855 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
1856 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
1857 | PRTCL.Speed = NumberRange.new(Speed) | |
1858 | PRTCL.VelocitySpread = Offset | |
1859 | PRTCL.Drag = Drag | |
1860 | PRTCL.Acceleration = Acel | |
1861 | if Enabled == false then | |
1862 | PRTCL:Emit(Emit) | |
1863 | Debris:AddItem(PRTCL,Lifetime2) | |
1864 | else | |
1865 | PRTCL.Enabled = true | |
1866 | end | |
1867 | return PRTCL | |
1868 | end | |
1869 | ||
1870 | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false) | |
1871 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0)) | |
1872 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
1873 | MakeForm(Part,"Wedge") | |
1874 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1875 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false) | |
1876 | MakeForm(Part,"Wedge") | |
1877 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0)) | |
1878 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false) | |
1879 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1880 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) | |
1881 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1882 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) | |
1883 | MakeForm(Part,"Cyl") | |
1884 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1885 | for i = 1, 8 do | |
1886 | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) | |
1887 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
1888 | end | |
1889 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false) | |
1890 | MakeForm(Part,"Cyl") | |
1891 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1892 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false) | |
1893 | MakeForm(Part,"Ball") | |
1894 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1895 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false) | |
1896 | MakeForm(Part,"Wedge") | |
1897 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0)) | |
1898 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false) | |
1899 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1900 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false) | |
1901 | MakeForm(Part,"Cyl") | |
1902 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1903 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false) | |
1904 | MakeForm(Part,"Cyl") | |
1905 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1906 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false) | |
1907 | MakeForm(Part,"Cyl") | |
1908 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1909 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
1910 | MakeForm(Part,"Wedge") | |
1911 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
1912 | local LASTPART = Handle | |
1913 | for i = 1, 10 do | |
1914 | if LASTPART == Handle then | |
1915 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false) | |
1916 | LASTPART = Part | |
1917 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1918 | else | |
1919 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false) | |
1920 | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0)) | |
1921 | LASTPART = Part | |
1922 | end | |
1923 | end | |
1924 | ||
1925 | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.15,2,0.15),false) | |
1926 | MakeForm(Barrel,"Cyl") | |
1927 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1928 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false) | |
1929 | MakeForm(Part,"Cyl") | |
1930 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0)) | |
1931 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false) | |
1932 | MakeForm(Part,"Wedge") | |
1933 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1934 | local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false) | |
1935 | MakeForm(Hole,"Cyl") | |
1936 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0)) | |
1937 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false) | |
1938 | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1939 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2)) | |
1940 | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false) | |
1941 | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1942 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2)) | |
1943 | coroutine.resume(coroutine.create(function() | |
1944 | while wait() do | |
1945 | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5)) | |
1946 | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5)) | |
1947 | end | |
1948 | end)) | |
1949 | ||
1950 | ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.2, Lifetime2 = 0.5, Parent = Hole, Emit = 140, Offset = 360, Enabled = true, Acel = VT(0,10,0)}) | |
1951 | --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)}) | |
1952 | ||
1953 | for _, c in pairs(Weapon:GetDescendants()) do | |
1954 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
1955 | c.Material = "Glass" | |
1956 | c.Color = C3(0,0,0) | |
1957 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
1958 | c.Color = C3(0,0,0) | |
1959 | c.Material = "Neon" | |
1960 | end | |
1961 | end | |
1962 | ||
1963 | Weapon.Parent = Character | |
1964 | for _, c in pairs(Weapon:GetChildren()) do | |
1965 | if c.ClassName == "Part" then | |
1966 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1967 | end | |
1968 | end | |
1969 | ||
1970 | local BODY = {} | |
1971 | for _, c in pairs(Character:GetDescendants()) do | |
1972 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
1973 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
1974 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1975 | end | |
1976 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name}) | |
1977 | elseif c:IsA("JointInstance") then | |
1978 | table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil}) | |
1979 | end | |
1980 | end | |
1981 | ||
1982 | function refit() | |
1983 | Character.Parent = workspace | |
1984 | for e = 1, #BODY do | |
1985 | if BODY[e] ~= nil then | |
1986 | local STUFF = BODY[e] | |
1987 | local PART = STUFF[1] | |
1988 | local PARENT = STUFF[2] | |
1989 | local MATERIAL = STUFF[3] | |
1990 | local COLOR = STUFF[4] | |
1991 | local TRANSPARENCY = STUFF[5] | |
1992 | --local SIZE = STUFF[6] | |
1993 | local NAME = STUFF[7] | |
1994 | if PART.ClassName == "Part" and PART ~= RootPart then | |
1995 | PART.Material = MATERIAL | |
1996 | PART.Transparency = TRANSPARENCY | |
1997 | PART.Name = NAME | |
1998 | end | |
1999 | if PART.Parent ~= PARENT then | |
2000 | Humanoid:remove() | |
2001 | PART.Parent = PARENT | |
2002 | Humanoid = IT("Humanoid",Character) | |
2003 | end | |
2004 | end | |
2005 | end | |
2006 | end | |
2007 | Neck.Name = "Weld" | |
2008 | RootJoint.Name = "Weld" | |
2009 | RightShoulder.Name = "Weld" | |
2010 | LeftShoulder.Name = "Weld" | |
2011 | RightHip.Name = "Weld" | |
2012 | LeftHip.Name = "Weld" | |
2013 | ||
2014 | spawn(function() | |
2015 | local TweenService = game:GetService("TweenService") | |
2016 | local Colours = {Color3.fromRGB(1,0,0),Color3.fromRGB(1,1,0),Color3.fromRGB(1,1.2,1.2),Color3.fromRGB(0,0,0),Color3.fromRGB(1,0,0),Color3.fromRGB(1,0,1),Color3.fromRGB(1,0,0),Color3.fromRGB(0,0,0)} | |
2017 | local Int = 0 | |
2018 | while wait(0.5) do | |
2019 | if Int == #Colours then Int = 0 end | |
2020 | Int = Int+1 | |
2021 | TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play() | |
2022 | end | |
2023 | end) | |
2024 | local SKILLTEXTCOLOR = C3(0, 0, 0) | |
2025 | local SKILLFONT = "Fantasy" | |
2026 | local SKILLTEXTSIZE = 7 | |
2027 | ||
2028 | Weapon.Parent = Character | |
2029 | Humanoid.Parent = Character | |
2030 | Humanoid.Died:connect(function() | |
2031 | refit() | |
2032 | end) | |
2033 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
2034 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
2035 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
2036 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
2037 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.825, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
2038 | local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.265, 0, 0.755, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") | |
2039 | local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.465, 0, 0.755, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame") | |
2040 | local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, -40), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame") | |
2041 | local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, -40), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame") | |
2042 | ||
2043 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Q] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1") | |
2044 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[E] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2") | |
2045 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[R] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3") | |
2046 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[T] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4") | |
2047 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Y] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5") | |
2048 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[U] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6") | |
2049 | local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[I] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7") | |
2050 | local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[O] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8") | |
2051 | local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[P] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 9") | |
2052 | function printbye(Name) | |
2053 | 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, "} | |
2054 | warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") | |
2055 | end | |
2056 | ||
2057 | workspace.ChildAdded:connect(function(instance) | |
2058 | for BANISH = 1, #TOBANISH do | |
2059 | if TOBANISH[BANISH] ~= nil then | |
2060 | if instance.Name == TOBANISH[BANISH] then | |
2061 | coroutine.resume(coroutine.create(function() | |
2062 | printbye(instance.Name) | |
2063 | instance:ClearAllChildren() | |
2064 | Debris:AddItem(instance,0.0005) | |
2065 | end)) | |
2066 | end | |
2067 | end | |
2068 | end | |
2069 | end) | |
2070 | ||
2071 | --//=================================\\ | |
2072 | --|| PROTECT | |
2073 | --\\=================================// | |
2074 | ||
2075 | --//=================================\\ | |
2076 | --|| DAMAGING | |
2077 | --\\=================================// | |
2078 | ||
2079 | function Banish(Foe) | |
2080 | if Foe then | |
2081 | coroutine.resume(coroutine.create(function() | |
2082 | --if game.Players:FindFirstChild(Foe.Name) then | |
2083 | table.insert(TOBANISH,Foe.Name) | |
2084 | printbye(Foe.Name) | |
2085 | --end | |
2086 | Foe.Archivable = true | |
2087 | local CLONE = Foe:Clone() | |
2088 | Foe:Destroy() | |
2089 | CLONE.Parent = Effects | |
2090 | CLONE:BreakJoints() | |
2091 | local MATERIALS = {"Glass","Neon"} | |
2092 | for _, c in pairs(CLONE:GetDescendants()) do | |
2093 | if c:IsA("BasePart") then | |
2094 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
2095 | CreateSound(340722848, c, 10, 1, false) | |
2096 | end | |
2097 | c.Anchored = true | |
2098 | c.Transparency = c.Transparency + 0.2 | |
2099 | c.Material = MATERIALS[MRANDOM(1,2)] | |
2100 | c.Color = C3(0,0,0) | |
2101 | if c.ClassName == "MeshPart" then | |
2102 | c.TextureID = "" | |
2103 | end | |
2104 | if c:FindFirstChildOfClass("SpecialMesh") then | |
2105 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
2106 | end | |
2107 | if c:FindFirstChildOfClass("Decal") then | |
2108 | c:FindFirstChildOfClass("Decal"):remove() | |
2109 | end | |
2110 | c.Name = "Banished" | |
2111 | c.CanCollide = false | |
2112 | else | |
2113 | c:remove() | |
2114 | end | |
2115 | end | |
2116 | local A = false | |
2117 | for i = 1, 35 do | |
2118 | if A == false then | |
2119 | A = true | |
2120 | elseif A == true then | |
2121 | A = false | |
2122 | end | |
2123 | for _, c in pairs(CLONE:GetDescendants()) do | |
2124 | if c:IsA("BasePart") then | |
2125 | c.Anchored = true | |
2126 | c.Material = MATERIALS[MRANDOM(10,20)] | |
2127 | c.Transparency = c.Transparency + 0.8/35 | |
2128 | if A == false then | |
2129 | c.CFrame = c.CFrame*CF(MRANDOM(-450,450)/450,MRANDOM(-450,450)/450,MRANDOM(-450,450)/450) | |
2130 | elseif A == true then | |
2131 | c.CFrame = c.CFrame*CF(MRANDOM(-450,450)/450,MRANDOM(-450,450)/450,MRANDOM(-450,450)/450) | |
2132 | end | |
2133 | end | |
2134 | end | |
2135 | Swait() | |
2136 | end | |
2137 | CLONE:remove() | |
2138 | end)) | |
2139 | end | |
2140 | end | |
2141 | ||
2142 | function ApplyAoE(POSITION,RANGE,ISBANISH) | |
2143 | local CHILDREN = workspace:GetDescendants() | |
2144 | for index, CHILD in pairs(CHILDREN) do | |
2145 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
2146 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
2147 | if HUM then | |
2148 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
2149 | if TORSO then | |
2150 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
2151 | if ISBANISH == true then | |
2152 | Banish(CHILD) | |
2153 | else | |
2154 | if ISBANISH == "Gravity" then | |
2155 | HUM.PlatformStand = true | |
2156 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
2157 | local grav = Instance.new("BodyPosition",TORSO) | |
2158 | grav.D = 15 | |
2159 | grav.P = 20000 | |
2160 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
2161 | grav.position = TORSO.Position | |
2162 | grav.Name = "V3BanishForce"..Player.Name | |
2163 | else | |
2164 | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0) | |
2165 | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) | |
2166 | end | |
2167 | else | |
2168 | HUM.PlatformStand = false | |
2169 | end | |
2170 | end | |
2171 | elseif ISBANISH == "Gravity" then | |
2172 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
2173 | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove() | |
2174 | HUM.PlatformStand = false | |
2175 | end | |
2176 | end | |
2177 | end | |
2178 | end | |
2179 | end | |
2180 | end | |
2181 | end | |
2182 | ||
2183 | --//=================================\\ | |
2184 | --|| ATTACK FUNCTIONS AND STUFF | |
2185 | --\\=================================// | |
2186 | ||
2187 | function Shot() | |
2188 | ATTACK = true | |
2189 | Rooted = false | |
2190 | for i=0, 0.3, 0.1 / Animation_Speed do | |
2191 | Swait() | |
2192 | turnto(Mouse.Hit.p) | |
2193 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.1 / Animation_Speed) | |
2194 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.1 / Animation_Speed) | |
2195 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2196 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.1 / Animation_Speed) | |
2197 | end | |
2198 | repeat | |
2199 | for i=0, 0.3, 0.1 / Animation_Speed do | |
2200 | Swait() | |
2201 | turnto(Mouse.Hit.p) | |
2202 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.1 / Animation_Speed) | |
2203 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0 / Animation_Speed) | |
2204 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0 / Animation_Speed) | |
2205 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0 / Animation_Speed) | |
2206 | end | |
2207 | ||
2208 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
2209 | SpawnTrail(Hole.Position,POS) | |
2210 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
2211 | SpawnTrail(Hole.Position,POS) | |
2212 | if HIT ~= nil then | |
2213 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
2214 | Banish(HIT.Parent) | |
2215 | end | |
2216 | end | |
2217 | WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(240,25,240), Size2 = VT(250,25,270), 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(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2218 | WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(240,25,240), Size2 = VT(260,24,270), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2219 | WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(240,25,240), Size2 = VT(260,24,270), 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(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2220 | WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(240,25,240), Size2 = VT(260,24,270), 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(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2221 | for i=0, 0.3, 0.1 / Animation_Speed do | |
2222 | Swait() | |
2223 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0 / Animation_Speed) | |
2224 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0 / Animation_Speed) | |
2225 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0 / Animation_Speed) | |
2226 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0 / Animation_Speed) | |
2227 | end | |
2228 | until KEYHOLD == false | |
2229 | ATTACK = false | |
2230 | Rooted = false | |
2231 | end | |
2232 | ||
2233 | function AttackTemplate() | |
2234 | ATTACK = true | |
2235 | Rooted = false | |
2236 | for i=0, 0.5, 0.1 / Animation_Speed do | |
2237 | Swait() | |
2238 | 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) | |
2239 | 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) | |
2240 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2241 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2242 | 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) | |
2243 | 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) | |
2244 | end | |
2245 | ATTACK = false | |
2246 | Rooted = false | |
2247 | end | |
2248 | ||
2249 | function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT) | |
2250 | if FLOOR ~= nil then | |
2251 | coroutine.resume(coroutine.create(function() | |
2252 | local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0)) | |
2253 | PART.CFrame = CF(POSITION) | |
2254 | for i = 1, 45 do | |
2255 | local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE) | |
2256 | RingPiece.Material = FLOOR.Material | |
2257 | RingPiece.Color = FLOOR.Color | |
2258 | RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))) | |
2259 | Debris:AddItem(RingPiece, SWAIT) | |
2260 | end | |
2261 | PART:remove() | |
2262 | end)) | |
2263 | end | |
2264 | end | |
2265 | function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH) | |
2266 | if FLOOR ~= nil then | |
2267 | for i = 1, AMOUNT do | |
2268 | do | |
2269 | local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false) | |
2270 | DEBREE.Material = FLOOR.Material | |
2271 | DEBREE.Color = FLOOR.Color | |
2272 | DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))) | |
2273 | DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH)) | |
2274 | coroutine.resume(coroutine.create(function() | |
2275 | Swait(15) | |
2276 | DEBREE.Parent = workspace | |
2277 | DEBREE.CanCollide = true | |
2278 | Debris:AddItem(DEBREE, SWAIT) | |
2279 | end)) | |
2280 | end | |
2281 | end | |
2282 | end | |
2283 | end | |
2284 | local EYES = {} | |
2285 | function ApplyDamage9(Humanoid,Damage,TorsoPart) | |
2286 | local defence = Instance.new("BoolValue",Humanoid.Parent) | |
2287 | defence.Name = ("HitBy"..Player.Name) | |
2288 | game:GetService("Debris"):AddItem(defence, 0.001) | |
2289 | Damage = Damage * DAMAGEMULTIPLIER | |
2290 | if Humanoid.Health ~= 0 then | |
2291 | local CritChance = MRANDOM(1,100) | |
2292 | if Damage > Humanoid.Health then | |
2293 | Damage = math.ceil(Humanoid.Health) | |
2294 | if Damage == 0 then | |
2295 | Damage = 0.1 | |
2296 | end | |
2297 | end | |
2298 | Humanoid.Health = Humanoid.Health - Damage | |
2299 | end | |
2300 | end | |
2301 | ||
2302 | function ApplyAoE2(POSITION, RANGE, MINDMG, MAXDMG, FLING, IZBANISH) | |
2303 | local CHILDREN = workspace:GetDescendants() | |
2304 | for index, CHILD in pairs(CHILDREN) do | |
2305 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
2306 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
2307 | if HUM then | |
2308 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
2309 | if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then | |
2310 | if IZBANISH == true then | |
2311 | Banish(CHILD) | |
2312 | else | |
2313 | local DMG = MRANDOM(MINDMG, MAXDMG) | |
2314 | ApplyDamage9(HUM, DMG, TORSO) | |
2315 | end | |
2316 | if FLING > 0 then | |
2317 | for _, c in pairs(CHILD:GetChildren()) do | |
2318 | if c:IsA("BasePart") then | |
2319 | local bv = Instance.new("BodyVelocity") | |
2320 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
2321 | bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING | |
2322 | bv.Parent = c | |
2323 | Debris:AddItem(bv, 0.05) | |
2324 | end | |
2325 | end | |
2326 | end | |
2327 | end | |
2328 | end | |
2329 | end | |
2330 | end | |
2331 | end | |
2332 | ||
2333 | function Fire_At_Will() | |
2334 | ATTACK = true | |
2335 | Rooted = false | |
2336 | local GYRO = IT("BodyGyro", RootPart) | |
2337 | GYRO.D = 750 | |
2338 | GYRO.P = 2000 | |
2339 | GYRO.MaxTorque = VT(0, 40000, 0) | |
2340 | for i = 0, 0.3, 0.1 / Animation_Speed do | |
2341 | Swait() | |
2342 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
2343 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
2344 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed) | |
2345 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2346 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2347 | if ANIM == "Idle" then | |
2348 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2349 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2350 | elseif ANIM == "Walk" then | |
2351 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2352 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2353 | elseif ANIM == "Jump" or ANIM == "Fall" then | |
2354 | 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) | |
2355 | 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) | |
2356 | end | |
2357 | end | |
2358 | local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "Black", "Sphere", VT(3, 3, 3), false) | |
2359 | MakeForm(BOMB, "Ball") | |
2360 | BOMB.Mesh.Scale = VT(8, 8, 8) | |
2361 | local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0)) | |
2362 | for i = 0, 1.5, 0.1 / Animation_Speed do | |
2363 | Swait() | |
2364 | if MRANDOM(1, 2) == 1 then | |
2365 | for E = 1, #EYES do | |
2366 | if EYES[E] ~= nil then | |
2367 | local EY = EYES[E] | |
2368 | local LIGHTNING = Zap({ | |
2369 | StartPosition = EY.Position, | |
2370 | TargetPosition = BOMB.Position, | |
2371 | Character = Character, | |
2372 | Color = "Really red", | |
2373 | Individual = false, | |
2374 | MaxRange = 7, | |
2375 | SegmentLength = 1, | |
2376 | Offset = 0.3, | |
2377 | SIZE = 0.05 | |
2378 | }) | |
2379 | Debris:AddItem(LIGHTNING.LightningModel, 0.05) | |
2380 | end | |
2381 | end | |
2382 | end | |
2383 | BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1) | |
2384 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
2385 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
2386 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed) | |
2387 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2388 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2389 | if ANIM == "Idle" then | |
2390 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2391 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2392 | elseif ANIM == "Walk" then | |
2393 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2394 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2395 | elseif ANIM == "Jump" or ANIM == "Fall" then | |
2396 | 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) | |
2397 | 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) | |
2398 | end | |
2399 | end | |
2400 | WACKYEFFECT({ | |
2401 | Time = 25, | |
2402 | EffectType = "Ring", | |
2403 | Size = VT(0, 0, 0), | |
2404 | Size2 = VT(25, 25, 0), | |
2405 | Transparency = 0.7, | |
2406 | Transparency2 = 1, | |
2407 | CFrame = RootPart.CFrame * CF(0, -0.25, -1.3), | |
2408 | MoveToPos = nil, | |
2409 | RotationX = 0, | |
2410 | RotationY = 0, | |
2411 | RotationZ = 0, | |
2412 | Material = "Neon", | |
2413 | Color = BOMB.Color, | |
2414 | SoundID = nil, | |
2415 | SoundPitch = nil, | |
2416 | SoundVolume = nil | |
2417 | }) | |
2418 | WACKYEFFECT({ | |
2419 | Time = 50, | |
2420 | EffectType = "Ring", | |
2421 | Size = VT(0, 0, 0), | |
2422 | Size2 = VT(105, 105, 0), | |
2423 | Transparency = 0.7, | |
2424 | Transparency2 = 1, | |
2425 | CFrame = RootPart.CFrame * CF(0, -0.25, -1.3), | |
2426 | MoveToPos = nil, | |
2427 | RotationX = 0, | |
2428 | RotationY = 0, | |
2429 | RotationZ = 0, | |
2430 | Material = "Neon", | |
2431 | Color = BOMB.Color, | |
2432 | SoundID = nil, | |
2433 | SoundPitch = nil, | |
2434 | SoundVolume = nil | |
2435 | }) | |
2436 | BOMB.Anchored = true | |
2437 | WELD:remove() | |
2438 | GYRO:remove() | |
2439 | coroutine.resume(coroutine.create(function() | |
2440 | BOMB.CFrame = CF(BOMB.Position, Mouse.Hit.p) | |
2441 | for i = 1, 500 do | |
2442 | Swait() | |
2443 | BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2) | |
2444 | local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character) | |
2445 | if HITFLOOR ~= nil then | |
2446 | break | |
2447 | end | |
2448 | end | |
2449 | ApplyAoE2(BOMB.Position, 75, 0, 0, 0, true) | |
2450 | for i = 1, 13 do | |
2451 | WACKYEFFECT({ | |
2452 | Time = 35, | |
2453 | EffectType = "Swirl", | |
2454 | Size = VT(0, 0, 0), | |
2455 | Size2 = VT(250, 325, 250) + VT(150, 150, 150) * i, | |
2456 | Transparency = 0, | |
2457 | Transparency2 = 1, | |
2458 | CFrame = BOMB.CFrame, | |
2459 | MoveToPos = nil, | |
2460 | RotationX = 0, | |
2461 | RotationY = 10 * i, | |
2462 | RotationZ = 0, | |
2463 | Material = "Neon", | |
2464 | Color = BOMB.Color, | |
2465 | SoundID = nil, | |
2466 | SoundPitch = nil, | |
2467 | SoundVolume = nil | |
2468 | }) | |
2469 | end | |
2470 | for i = 1, 25 do | |
2471 | WACKYEFFECT({ | |
2472 | Time = 75, | |
2473 | EffectType = "Sphere", | |
2474 | Size = BOMB.Mesh.Scale, | |
2475 | Size2 = VT(200, 200, 200) * i, | |
2476 | Transparency = 0.5, | |
2477 | Transparency2 = 1, | |
2478 | CFrame = BOMB.CFrame, | |
2479 | MoveToPos = nil, | |
2480 | RotationX = 0, | |
2481 | RotationY = 0, | |
2482 | RotationZ = 0, | |
2483 | Material = "Neon", | |
2484 | Color = BOMB.Color, | |
2485 | SoundID = 1222405264, | |
2486 | SoundPitch = 1, | |
2487 | SoundVolume = 10 | |
2488 | }) | |
2489 | end | |
2490 | local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 1, 0), BOMB.Position - VT(0, 1, 0)).lookVector, 15, Character) | |
2491 | if HITFLOOR then | |
2492 | CreateDebreeRing(HITFLOOR, HITPOS, 75, VT(78, 78, 78), 5) | |
2493 | end | |
2494 | BOMB.Transparency = 1 | |
2495 | for i = 1, 75 do | |
2496 | Swait() | |
2497 | CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(0.5, 0.5, 0.5), 5, 150) | |
2498 | end | |
2499 | BOMB:remove() | |
2500 | end)) | |
2501 | ATTACK = false | |
2502 | Rooted = false | |
2503 | end | |
2504 | function TrustIssues() | |
2505 | ATTACK = true | |
2506 | Rooted = false | |
2507 | CreateSound(649634100,Head,10,0.5,false) | |
2508 | for i=1, 80 do | |
2509 | Swait() | |
2510 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15* COS(i / 5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2511 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed) | |
2512 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(-15), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2513 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(15), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2514 | 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) | |
2515 | 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) | |
2516 | end | |
2517 | ATTACK = false | |
2518 | Rooted = false | |
2519 | end | |
2520 | local TOBANISH = {} | |
2521 | function printbye(Name) | |
2522 | 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, "} | |
2523 | warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") | |
2524 | end | |
2525 | local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) | |
2526 | MakeForm(RightHole,"Cyl") | |
2527 | local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) | |
2528 | MakeForm(LeftHole,"Cyl") | |
2529 | local LAUGHS = {189035381,189035323,189035671,872089905} | |
2530 | local asd = Instance.new("ParticleEmitter") | |
2531 | asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0)) | |
2532 | asd.LightEmission = .1 | |
2533 | asd.Texture = "http://www.roblox.com/asset/?ID=291880914" | |
2534 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)}) | |
2535 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
2536 | asd.Transparency = bbb | |
2537 | asd.Size = aaa | |
2538 | asd.ZOffset = .9 | |
2539 | asd.Acceleration = Vector3.new(0, -15, 0) | |
2540 | asd.LockedToPart = false | |
2541 | asd.EmissionDirection = "Back" | |
2542 | asd.Lifetime = NumberRange.new(1, 2) | |
2543 | asd.Rotation = NumberRange.new(-100, 100) | |
2544 | asd.RotSpeed = NumberRange.new(-100, 100) | |
2545 | asd.Speed = NumberRange.new(10) | |
2546 | asd.Enabled = false | |
2547 | asd.VelocitySpread = 999 | |
2548 | function getbloody(victim,amount) | |
2549 | local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size) | |
2550 | PART.CFrame = victim.CFrame | |
2551 | local HITPLAYERSOUNDS = {"356551938","264486467"} | |
2552 | Debris:AddItem(PART,5) | |
2553 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
2554 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
2555 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
2556 | local prtcl = asd:Clone() | |
2557 | prtcl.Parent = PART | |
2558 | prtcl:Emit(amount*10) | |
2559 | end | |
2560 | function Kill(Char) | |
2561 | local NewCharacter = IT("Model",Effects) | |
2562 | NewCharacter.Name = "Ow im ded ;-;" | |
2563 | for _, c in pairs(Char:GetDescendants()) do | |
2564 | if c:IsA("BasePart") and c.Transparency == 0 then | |
2565 | if c.Parent == Char then | |
2566 | getbloody(c,5) | |
2567 | end | |
2568 | c:BreakJoints() | |
2569 | c.Material = "Glass" | |
2570 | c.Color = C3(0.5,0,0) | |
2571 | c.CanCollide = true | |
2572 | c.Transparency = 0.3 | |
2573 | if c:FindFirstChildOfClass("SpecialMesh") then | |
2574 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
2575 | end | |
2576 | if c.Name == "Head" then | |
2577 | c:ClearAllChildren() | |
2578 | c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y) | |
2579 | end | |
2580 | if c.ClassName == "MeshPart" then | |
2581 | c.TextureID = "" | |
2582 | end | |
2583 | if c:FindFirstChildOfClass("BodyPosition") then | |
2584 | c:FindFirstChildOfClass("BodyPosition"):remove() | |
2585 | end | |
2586 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2587 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2588 | end | |
2589 | c.Parent = NewCharacter | |
2590 | c.Name = "DeadPart" | |
2591 | c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15 | |
2592 | c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45)) | |
2593 | end | |
2594 | end | |
2595 | Char:remove() | |
2596 | Debris:AddItem(NewCharacter,5) | |
2597 | end | |
2598 | function Deathbound() | |
2599 | CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false) | |
2600 | ATTACK = true | |
2601 | Rooted = true | |
2602 | for i=0, 0.5, 0.1 / Animation_Speed do | |
2603 | Swait() | |
2604 | 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) | |
2605 | 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) | |
2606 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2607 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2608 | 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) | |
2609 | 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) | |
2610 | end | |
2611 | local DONE = false | |
2612 | local GATE = nil | |
2613 | local GATESPIN = true | |
2614 | coroutine.resume(coroutine.create(function() | |
2615 | repeat | |
2616 | Swait() | |
2617 | if GATE ~= nil then | |
2618 | GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0)) | |
2619 | end | |
2620 | until GATESPIN == false | |
2621 | end)) | |
2622 | coroutine.resume(coroutine.create(function() | |
2623 | repeat | |
2624 | Swait() | |
2625 | 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) | |
2626 | 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) | |
2627 | 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) | |
2628 | 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) | |
2629 | 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) | |
2630 | 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) | |
2631 | until DONE == true | |
2632 | Swait(50) | |
2633 | for i = 1, 305 do | |
2634 | Swait(4) | |
2635 | local FIRED = false | |
2636 | local CHILDREN = workspace:GetDescendants() | |
2637 | for index, CHILD in pairs(CHILDREN) do | |
2638 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
2639 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
2640 | if HUM then | |
2641 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
2642 | if TORSO then | |
2643 | if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then | |
2644 | local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character) | |
2645 | local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15))) | |
2646 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(203,0,203), Size2 = VT(201,202.5,201), 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}) | |
2647 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(203,0,203), Size2 = VT(202,201.5,202), 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}) | |
2648 | SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p) | |
2649 | Banish(CHILD) | |
2650 | FIRED = true | |
2651 | break | |
2652 | end | |
2653 | end | |
2654 | end | |
2655 | end | |
2656 | end | |
2657 | if FIRED == false then | |
2658 | 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))) | |
2659 | WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(230,0,230), Size2 = VT(206,203.5,207), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6}) | |
2660 | WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(230,0,230), Size2 = VT(206,203.5,206), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2661 | SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p) | |
2662 | local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character) | |
2663 | if HITBOD ~= nil then | |
2664 | if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then | |
2665 | Kill(HITBOD.Parent) | |
2666 | end | |
2667 | end | |
2668 | end | |
2669 | end | |
2670 | for i = 1, 305 do | |
2671 | Swait() | |
2672 | GATE.Size = GATE.Size - VT(30,0,30) | |
2673 | end | |
2674 | GATESPIN = false | |
2675 | GATE:remove() | |
2676 | end)) | |
2677 | Swait(15) | |
2678 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character) | |
2679 | GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0)) | |
2680 | local DECAL = IT("Decal",GATE) | |
2681 | DECAL.Texture = "http://www.roblox.com/asset/?id=338244520" | |
2682 | DECAL.Face = "Top" | |
2683 | GATE.CFrame = CF(HITPOS) | |
2684 | CreateSound(160772554, GATE, 7, 1.3, false) | |
2685 | for i = 1, 45 do | |
2686 | Swait() | |
2687 | GATE.Size = GATE.Size + VT(30,0,30) | |
2688 | end | |
2689 | CreateSound(213603013, RightHole, 7, 1, false) | |
2690 | CreateSound(213603013, LeftHole, 7, 1, false) | |
2691 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(3.3,0,3.3), Size2 = VT(6,6,6), 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}) | |
2692 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(3.3,0,3.3), Size2 = VT(6,6,6), 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}) | |
2693 | ATTACK = false | |
2694 | Rooted = false | |
2695 | DONE = true | |
2696 | end | |
2697 | function AddChildrenToTable(FROM, PARENT, DIST, TABLE) | |
2698 | for _, c in pairs(PARENT:GetChildren()) do | |
2699 | if c.ClassName == "Model" then | |
2700 | if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then | |
2701 | local HUMANOID = c:FindFirstChildOfClass("Humanoid") | |
2702 | local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") | |
2703 | if DIST > (TORSO.Position - FROM).Magnitude then | |
2704 | table.insert(TABLE, c) | |
2705 | end | |
2706 | AddChildrenToTable(FROM, c, DIST, TABLE) | |
2707 | elseif c.ClassName == "Folder" then | |
2708 | AddChildrenToTable(FROM, c, DIST, TABLE) | |
2709 | end | |
2710 | end | |
2711 | end | |
2712 | end | |
2713 | function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW) | |
2714 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
2715 | local mesh = IT("SpecialMesh",wave) | |
2716 | mesh.MeshType = "FileMesh" | |
2717 | mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2718 | mesh.Scale = SIZE | |
2719 | mesh.Offset = VT(0,0,0) | |
2720 | wave.CFrame = CFRAME | |
2721 | coroutine.resume(coroutine.create(function(PART) | |
2722 | for i = 1, WAIT do | |
2723 | Swait() | |
2724 | mesh.Scale = mesh.Scale + GROW | |
2725 | if DOESROT == true then | |
2726 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
2727 | end | |
2728 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
2729 | if wave.Transparency > 0.99 then | |
2730 | wave:remove() | |
2731 | end | |
2732 | end | |
2733 | end)) | |
2734 | end | |
2735 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
2736 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
2737 | local mesh = IT("SpecialMesh",wave) | |
2738 | mesh.MeshType = "Sphere" | |
2739 | mesh.Scale = SIZE | |
2740 | mesh.Offset = VT(0,0,0) | |
2741 | wave.CFrame = CFRAME | |
2742 | coroutine.resume(coroutine.create(function(PART) | |
2743 | for i = 1, WAIT do | |
2744 | Swait() | |
2745 | mesh.Scale = mesh.Scale + GROW | |
2746 | wave.Transparency = wave.Transparency + (1/WAIT) | |
2747 | if wave.Transparency > 0.99 then | |
2748 | wave:remove() | |
2749 | end | |
2750 | end | |
2751 | end)) | |
2752 | end | |
2753 | function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW) | |
2754 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true) | |
2755 | local mesh | |
2756 | if KIND == "Base" then | |
2757 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0)) | |
2758 | elseif KIND == "Thin" then | |
2759 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0)) | |
2760 | elseif KIND == "Round" then | |
2761 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0)) | |
2762 | end | |
2763 | wave.CFrame = CFRAME | |
2764 | coroutine.resume(coroutine.create(function(PART) | |
2765 | for i = 1, WAIT do | |
2766 | Swait() | |
2767 | mesh.Scale = mesh.Scale + GROW / 10 | |
2768 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
2769 | if wave.Transparency > 0.99 then | |
2770 | wave:remove() | |
2771 | end | |
2772 | end | |
2773 | end)) | |
2774 | end | |
2775 | function Orbital_Devastor() | |
2776 | local HITBODIES = {} | |
2777 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Pearl", "CenterPart", VT(0, 0, 0)) | |
2778 | local HITFLOOR, ECH, NORMAL = Raycast(Mouse.Hit.p + VT(0, 2, 0), CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0)).lookVector, 10000000, Character) | |
2779 | CENTER.CFrame = CF(ECH) | |
2780 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Laser01", VT(25, 99999, 25)) | |
2781 | MakeForm(RAY, "Cyl") | |
2782 | local RAY2 = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Laser01", VT(28, 99999, 28)) | |
2783 | MakeForm(RAY2, "Cyl") | |
2784 | RAY.CFrame = CF(ECH) | |
2785 | RAY2.CFrame = CF(ECH) | |
2786 | CreateSound("1368573150", CENTER, 10, 0.8) | |
2787 | for i = 1, 10 do | |
2788 | Swait() | |
2789 | RAY.Transparency = RAY.Transparency - 0.2 | |
2790 | RAY.Size = RAY.Size - VT(6, 0, 6) | |
2791 | RAY2.Transparency = RAY2.Transparency - 0.1 | |
2792 | RAY2.Size = RAY2.Size - VT(6, 0, 6) | |
2793 | Slice("Round", 1, 65, CF(ECH) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(1.5, 1, 1.5)) | |
2794 | end | |
2795 | ||
2796 | for i = 1, 10 do | |
2797 | CreateRing(VT(i / 10, i / 10, 0), false, 0, 25, CF(ECH) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(MRANDOM(0, 10) / 10, 0, 0), VT(i / 5, i / 5, 0)) | |
2798 | end | |
2799 | RAY:remove() | |
2800 | RAY2:remove() | |
2801 | CreateSound("1368637781", CENTER, 10, 0.8) | |
2802 | MagicSphere(VT(0, 0, 0), 15, CF(ECH), "Really black", VT(38, 38, 38)) | |
2803 | MagicSphere(VT(2, 2, 2), 25, CF(ECH), "Really black", VT(38, 38, 38)) | |
2804 | AddChildrenToTable(ECH, workspace, 80, HITBODIES) | |
2805 | Debris:AddItem(CENTER, 5) | |
2806 | CreateSound("414517163", CENTER, 10, 0.8) | |
2807 | for i = 1, 5 do | |
2808 | Slice("Round", 0, 35, CF(ECH) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really black", VT(5.5, 0, 5.5)) | |
2809 | end | |
2810 | for e = 1, #HITBODIES do | |
2811 | if HITBODIES[e] ~= nil then | |
2812 | local BOD = HITBODIES[e] | |
2813 | local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso") | |
2814 | if TORS then | |
2815 | BOD:BreakJoints() | |
2816 | for _, c in pairs(BOD:GetChildren()) do | |
2817 | if c.ClassName == "Part" or c.ClassName == "MeshPart" then | |
2818 | local bv = Instance.new("BodyVelocity") | |
2819 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
2820 | bv.velocity = CF(ECH, c.Position).lookVector * 250 | |
2821 | bv.Parent = c | |
2822 | Debris:AddItem(bv, 0.2) | |
2823 | end | |
2824 | end | |
2825 | end | |
2826 | end | |
2827 | end | |
2828 | end | |
2829 | function Eon_Fire() | |
2830 | ATTACK = true | |
2831 | Rooted = true | |
2832 | local GYRO = IT("BodyGyro", RootPart) | |
2833 | GYRO.D = 15 | |
2834 | GYRO.P = 2000 | |
2835 | GYRO.MaxTorque = VT(0, 4000000, 0) | |
2836 | CreateSound("341301115", Head, 5, 1.1) | |
2837 | CreateSound("93724183", Head, 6, 1) | |
2838 | for i = 1, 250 do | |
2839 | Swait() | |
2840 | WACKYEFFECT({ | |
2841 | Time = MRANDOM(5, 15), | |
2842 | EffectType = "Round Slash", | |
2843 | Size = VT(0, 0, 0), | |
2844 | Size2 = VT(0.12, 0, 0.12), | |
2845 | Transparency = 0.5, | |
2846 | Transparency2 = 1, | |
2847 | CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)), | |
2848 | MoveToPos = nil, | |
2849 | RotationX = MRANDOM(-50, 50) / 50, | |
2850 | RotationY = MRANDOM(-50, 50) / 10, | |
2851 | RotationZ = MRANDOM(-50, 50) / 50, | |
2852 | Material = "Neon", | |
2853 | Color = C3(1, 0, 0), | |
2854 | SoundID = nil, | |
2855 | SoundPitch = nil, | |
2856 | SoundVolume = nil | |
2857 | }) | |
2858 | WACKYEFFECT({ | |
2859 | Time = MRANDOM(5, 15), | |
2860 | EffectType = "Round Slash", | |
2861 | Size = VT(0, 0, 0), | |
2862 | Size2 = VT(0.1, 0, 0.1), | |
2863 | Transparency = 0.5, | |
2864 | Transparency2 = 1, | |
2865 | CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)), | |
2866 | MoveToPos = nil, | |
2867 | RotationX = MRANDOM(-50, 50) / 50, | |
2868 | RotationY = MRANDOM(-50, 50) / 10, | |
2869 | RotationZ = MRANDOM(-50, 50) / 50, | |
2870 | Material = "Neon", | |
2871 | Color = C3(1, 0, 0), | |
2872 | SoundID = nil, | |
2873 | SoundPitch = nil, | |
2874 | SoundVolume = nil | |
2875 | }) | |
2876 | WACKYEFFECT({ | |
2877 | Time = MRANDOM(5, 15), | |
2878 | EffectType = "Round Slash", | |
2879 | Size = VT(0, 0, 0), | |
2880 | Size2 = VT(0.46, 0, 0.46), | |
2881 | Transparency = 0.5, | |
2882 | Transparency2 = 1, | |
2883 | CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)), | |
2884 | MoveToPos = nil, | |
2885 | RotationX = MRANDOM(-50, 50) / 50, | |
2886 | RotationY = MRANDOM(-50, 50) / 10, | |
2887 | RotationZ = MRANDOM(-50, 50) / 50, | |
2888 | Material = "Neon", | |
2889 | Color = C3(1, 0, 0), | |
2890 | SoundID = nil, | |
2891 | SoundPitch = nil, | |
2892 | SoundVolume = nil | |
2893 | }) | |
2894 | WACKYEFFECT({ | |
2895 | Time = 5, | |
2896 | EffectType = "Sphere", | |
2897 | Size = VT(i, i, i) / 150, | |
2898 | Size2 = VT(0, 0, 0), | |
2899 | Transparency = 0.5, | |
2900 | Transparency2 = 1, | |
2901 | CFrame = Head.CFrame * CF(0, -0.25, -1), | |
2902 | MoveToPos = nil, | |
2903 | RotationX = 0, | |
2904 | RotationY = 0, | |
2905 | RotationZ = 0, | |
2906 | Material = "Neon", | |
2907 | Color = C3(0, 0, 0), | |
2908 | SoundID = nil, | |
2909 | SoundPitch = nil, | |
2910 | SoundVolume = nil | |
2911 | }) | |
2912 | GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) | |
2913 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.05 / Animation_Speed) | |
2914 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.05 / Animation_Speed) | |
2915 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed) | |
2916 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed) | |
2917 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed) | |
2918 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed) | |
2919 | end | |
2920 | GYRO:remove() | |
2921 | for i = 0, 1, 0.1 / Animation_Speed do | |
2922 | Swait() | |
2923 | WACKYEFFECT({ | |
2924 | Time = 25, | |
2925 | EffectType = "Sphere", | |
2926 | Size = VT(300, 300, 300) / 250, | |
2927 | Size2 = VT(0, 0, 0), | |
2928 | Transparency = 0.5, | |
2929 | Transparency2 = 1, | |
2930 | CFrame = Head.CFrame * CF(0, -0.25, -1), | |
2931 | MoveToPos = nil, | |
2932 | RotationX = 0, | |
2933 | RotationY = 0, | |
2934 | RotationZ = 0, | |
2935 | Material = "Neon", | |
2936 | Color = C3(0, 0, 0), | |
2937 | SoundID = nil, | |
2938 | SoundPitch = nil, | |
2939 | SoundVolume = nil | |
2940 | }) | |
2941 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2942 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2943 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2944 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2945 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2946 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2947 | end | |
2948 | coroutine.resume(coroutine.create(function() | |
2949 | local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "DOOM", VT(3, 3, 3)) | |
2950 | MakeForm(FIREBALL, "Ball") | |
2951 | local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false) | |
2952 | FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2) | |
2953 | for i = 1, 500 do | |
2954 | Swait() | |
2955 | FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2) | |
2956 | local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character) | |
2957 | if HITFLOOR ~= nil then | |
2958 | break | |
2959 | end | |
2960 | end | |
2961 | CreateSound(325132788, Effects, 8, 1, false) | |
2962 | for i = 1, 150 do | |
2963 | Swait() | |
2964 | WACKYEFFECT({ | |
2965 | Time = 85, | |
2966 | EffectType = "Sphere", | |
2967 | Size = FIREBALL.Size, | |
2968 | Size2 = VT(0, 1000, 0), | |
2969 | Transparency = 0.5, | |
2970 | Transparency2 = 1, | |
2971 | CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), | |
2972 | MoveToPos = nil, | |
2973 | RotationX = MRANDOM(-50, 50) / 10, | |
2974 | RotationY = MRANDOM(-50, 50) / 10, | |
2975 | RotationZ = MRANDOM(-50, 50) / 10, | |
2976 | Material = "Neon", | |
2977 | Color = C3(0, 0, 0), | |
2978 | SoundID = nil, | |
2979 | SoundPitch = nil, | |
2980 | SoundVolume = nil | |
2981 | }) | |
2982 | FIREBALL.Size = FIREBALL.Size - VT(3, 3, 3) / 120 | |
2983 | end | |
2984 | Swait(5) | |
2985 | ApplyAoE(FIREBALL.Position, 435, 65, 65, 600, false) | |
2986 | for i = 1, 20 do | |
2987 | WACKYEFFECT({ | |
2988 | Time = 85 + 5 * i, | |
2989 | EffectType = "Slash", | |
2990 | Size = VT(6, 0, 6), | |
2991 | Size2 = VT(42, 0, 42), | |
2992 | Transparency = 0.5, | |
2993 | Transparency2 = 1, | |
2994 | CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), | |
2995 | MoveToPos = nil, | |
2996 | RotationX = MRANDOM(-50, 50) / 50, | |
2997 | RotationY = MRANDOM(-50, 50) / 10, | |
2998 | RotationZ = MRANDOM(-50, 50) / 50, | |
2999 | Material = "Neon", | |
3000 | Color = C3(1, 1, 1), | |
3001 | SoundID = nil, | |
3002 | SoundPitch = nil, | |
3003 | SoundVolume = nil | |
3004 | }) | |
3005 | WACKYEFFECT({ | |
3006 | Time = 185 + 5 * i, | |
3007 | EffectType = "Swirl", | |
3008 | Size = VT(150, 150, 150), | |
3009 | Size2 = VT(700, 700, 700) + VT(150, 150, 150) * i, | |
3010 | Transparency = 0.5, | |
3011 | Transparency2 = 1, | |
3012 | CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)), | |
3013 | MoveToPos = nil, | |
3014 | RotationX = MRANDOM(-50, 50) / 50, | |
3015 | RotationY = MRANDOM(-50, 50) / 10, | |
3016 | RotationZ = MRANDOM(-50, 50) / 50, | |
3017 | Material = "Neon", | |
3018 | Color = C3(0, 0, 0), | |
3019 | SoundID = nil, | |
3020 | SoundPitch = nil, | |
3021 | SoundVolume = nil | |
3022 | }) | |
3023 | WACKYEFFECT({ | |
3024 | Time = 285 + 5 * i, | |
3025 | EffectType = "Round Slash", | |
3026 | Size = VT(3, 0, 3), | |
3027 | Size2 = VT(12, 0, 12), | |
3028 | Transparency = 0.5, | |
3029 | Transparency2 = 1, | |
3030 | CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), | |
3031 | MoveToPos = nil, | |
3032 | RotationX = MRANDOM(-50, 50) / 50, | |
3033 | RotationY = MRANDOM(-50, 50) / 10, | |
3034 | RotationZ = MRANDOM(-50, 50) / 50, | |
3035 | Material = "Neon", | |
3036 | Color = C3(0, 0, 0), | |
3037 | SoundID = nil, | |
3038 | SoundPitch = nil, | |
3039 | SoundVolume = nil | |
3040 | }) | |
3041 | WACKYEFFECT({ | |
3042 | Time = 285 + 5 * i, | |
3043 | EffectType = "Sphere", | |
3044 | Size = VT(650, 650, 650), | |
3045 | Size2 = VT(750, 750, 750) + VT(169, 169, 169) * i, | |
3046 | Transparency = 0.5, | |
3047 | Transparency2 = 1, | |
3048 | CFrame = FIREBALL.CFrame, | |
3049 | MoveToPos = nil, | |
3050 | RotationX = 0, | |
3051 | RotationY = 0, | |
3052 | RotationZ = 0, | |
3053 | Material = "Neon", | |
3054 | Color = C3(0, 0, 0), | |
3055 | SoundID = nil, | |
3056 | SoundPitch = 0, | |
3057 | SoundVolume = 0 | |
3058 | }) | |
3059 | end | |
3060 | wait(1) | |
3061 | WACKYEFFECT({ | |
3062 | Time = 75, | |
3063 | EffectType = "Sphere", | |
3064 | Size = VT(350, 350, 350), | |
3065 | Size2 = VT(4500, 4500, 4500), | |
3066 | Transparency = 0.8, | |
3067 | Transparency2 = 1, | |
3068 | CFrame = FIREBALL.CFrame, | |
3069 | MoveToPos = nil, | |
3070 | RotationX = 0, | |
3071 | RotationY = 0, | |
3072 | RotationZ = 0, | |
3073 | Material = "Neon", | |
3074 | Color = C3(0, 0, 0), | |
3075 | SoundID = nil, | |
3076 | SoundPitch = 0, | |
3077 | SoundVolume = 0 | |
3078 | }) | |
3079 | for i = 1, 20 do | |
3080 | Swait() | |
3081 | ApplyAoE(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, false) | |
3082 | WACKYEFFECT({ | |
3083 | Time = 85, | |
3084 | EffectType = "Sphere", | |
3085 | Size = VT(85, 85, 85), | |
3086 | Size2 = VT(0, 2500, 0), | |
3087 | Transparency = 0.5, | |
3088 | Transparency2 = 1, | |
3089 | CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), | |
3090 | MoveToPos = nil, | |
3091 | RotationX = MRANDOM(-50, 50) / 10, | |
3092 | RotationY = MRANDOM(-50, 50) / 10, | |
3093 | RotationZ = MRANDOM(-50, 50) / 10, | |
3094 | Material = "Neon", | |
3095 | Color = C3(0, 0, 0), | |
3096 | SoundID = nil, | |
3097 | SoundPitch = nil, | |
3098 | SoundVolume = nil | |
3099 | }) | |
3100 | end | |
3101 | FIREBALL:remove() | |
3102 | end)) | |
3103 | WACKYEFFECT({ | |
3104 | Time = 25, | |
3105 | EffectType = "Ring", | |
3106 | Size = VT(0, 0, 0), | |
3107 | Size2 = VT(5.75, 5.75, 0), | |
3108 | Transparency = 0.7, | |
3109 | Transparency2 = 1, | |
3110 | CFrame = Head.CFrame * CF(0, -0.25, -0.75), | |
3111 | MoveToPos = nil, | |
3112 | RotationX = 0, | |
3113 | RotationY = 0, | |
3114 | RotationZ = 0, | |
3115 | Material = "Neon", | |
3116 | Color = C3(0, 0, 0), | |
3117 | SoundID = nil, | |
3118 | SoundPitch = nil, | |
3119 | SoundVolume = nil | |
3120 | }) | |
3121 | WACKYEFFECT({ | |
3122 | Time = 50, | |
3123 | EffectType = "Ring", | |
3124 | Size = VT(0, 0, 0), | |
3125 | Size2 = VT(15, 15, 0), | |
3126 | Transparency = 0.7, | |
3127 | Transparency2 = 1, | |
3128 | CFrame = Head.CFrame * CF(0, -0.25, -0.75), | |
3129 | MoveToPos = nil, | |
3130 | RotationX = 0, | |
3131 | RotationY = 0, | |
3132 | RotationZ = 0, | |
3133 | Material = "Neon", | |
3134 | Color = C3(0, 0, 0), | |
3135 | SoundID = nil, | |
3136 | SoundPitch = nil, | |
3137 | SoundVolume = nil | |
3138 | }) | |
3139 | for i = 0, 1, 0.1 / Animation_Speed do | |
3140 | Swait() | |
3141 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
3142 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
3143 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
3144 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
3145 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
3146 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
3147 | end | |
3148 | ATTACK = false | |
3149 | Rooted = false | |
3150 | end | |
3151 | function SHAKECAM(POSITION, RANGE, INTENSITY, TIME) | |
3152 | local TORSO = Torso | |
3153 | local HUM = Humanoid | |
3154 | if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then | |
3155 | coroutine.wrap(function() | |
3156 | VT = Vector3.new | |
3157 | MRANDOM = math.random | |
3158 | local A = TIME | |
3159 | local B = INTENSITY | |
3160 | local C = true | |
3161 | local HUMANOID = Humanoid | |
3162 | local TIMER = A or 35 | |
3163 | local SHAKE = B or 5 | |
3164 | local FADE = C or true | |
3165 | if HUMANOID then | |
3166 | local FADER = SHAKE / TIMER | |
3167 | for i = 1, TIMER do | |
3168 | wait() | |
3169 | 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) | |
3170 | end | |
3171 | HUMANOID.CameraOffset = VT(0, 0, 0) | |
3172 | end | |
3173 | ||
3174 | end)() | |
3175 | end | |
3176 | end | |
3177 | function Nuke() | |
3178 | ATTACK = true | |
3179 | Rooted = true | |
3180 | local CHARGE = false | |
3181 | local BLASTS = {468991944, 468991990} | |
3182 | coroutine.resume(coroutine.create(function() | |
3183 | repeat | |
3184 | Swait() | |
3185 | 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) | |
3186 | 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) | |
3187 | 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) | |
3188 | 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) | |
3189 | 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) | |
3190 | 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) | |
3191 | until CHARGE == true | |
3192 | for i = 0, 0.4, 0.1 / Animation_Speed do | |
3193 | Swait() | |
3194 | WACKYEFFECT({ | |
3195 | Time = 150, | |
3196 | EffectType = "Sphere", | |
3197 | Size = VT(16, 160, 160), | |
3198 | Size2 = VT(0, 0, 0), | |
3199 | Transparency = 1, | |
3200 | Transparency2 = 0.7, | |
3201 | CFrame = CF(RootPart.Position), | |
3202 | MoveToPos = nil, | |
3203 | RotationX = 0, | |
3204 | RotationY = 0, | |
3205 | RotationZ = 0, | |
3206 | Material = "Neon", | |
3207 | Color = C3(0, 0, 0), | |
3208 | SoundID = nil, | |
3209 | SoundPitch = nil, | |
3210 | SoundVolume = nil | |
3211 | }) | |
3212 | 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) | |
3213 | 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) | |
3214 | 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) | |
3215 | 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) | |
3216 | 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) | |
3217 | 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) | |
3218 | end | |
3219 | coroutine.resume(coroutine.create(function() | |
3220 | local POS = RootPart.Position | |
3221 | wait(0.2) | |
3222 | for i = 1, 5 do | |
3223 | WACKYEFFECT({ | |
3224 | Time = 150, | |
3225 | EffectType = "Sphere", | |
3226 | Size = VT(2, 2, 2), | |
3227 | Size2 = VT(0, 0, 500), | |
3228 | Transparency = 1, | |
3229 | Transparency2 = 0, | |
3230 | CFrame = CF(POS), | |
3231 | MoveToPos = nil, | |
3232 | RotationX = MRANDOM(-2, 2), | |
3233 | RotationY = MRANDOM(-12, 12), | |
3234 | RotationZ = MRANDOM(-2, 2), | |
3235 | Material = "Neon", | |
3236 | Color = C3(0, 1, 0), | |
3237 | SoundID = nil, | |
3238 | SoundPitch = nil, | |
3239 | SoundVolume = nil | |
3240 | }) | |
3241 | end | |
3242 | wait(1) | |
3243 | SHAKECAM(POS, 9999999999, 25, 25) | |
3244 | ApplyAoE(POS, 450, true) | |
3245 | WACKYEFFECT({ | |
3246 | Time = 150, | |
3247 | EffectType = "Sphere", | |
3248 | Size = VT(120, 120, 120), | |
3249 | Size2 = VT(350, 350, 350), | |
3250 | Transparency = 0, | |
3251 | Transparency2 = 1, | |
3252 | CFrame = CF(POS), | |
3253 | MoveToPos = nil, | |
3254 | RotationX = 0, | |
3255 | RotationY = 0, | |
3256 | RotationZ = 0, | |
3257 | Material = "Neon", | |
3258 | Color = C3(0, 1, 0), | |
3259 | SoundID = nil, | |
3260 | SoundPitch = 1, | |
3261 | SoundVolume = 10 | |
3262 | }) | |
3263 | for i = 1, 20 do | |
3264 | WACKYEFFECT({ | |
3265 | Time = 150, | |
3266 | EffectType = "Sphere", | |
3267 | Size = VT(120, 120, 120), | |
3268 | Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3), | |
3269 | Transparency = 0.8, | |
3270 | Transparency2 = 1, | |
3271 | CFrame = CF(POS), | |
3272 | MoveToPos = nil, | |
3273 | RotationX = 0, | |
3274 | RotationY = 0, | |
3275 | RotationZ = 0, | |
3276 | Material = "Neon", | |
3277 | Color = C3(0, 0, 0), | |
3278 | SoundID = nil, | |
3279 | SoundPitch = 1, | |
3280 | SoundVolume = 10 | |
3281 | }) | |
3282 | WACKYEFFECT({ | |
3283 | Time = 150, | |
3284 | EffectType = "Wave", | |
3285 | Size = VT(250, 20, 250), | |
3286 | Size2 = VT(400, 0, 400) * 1.2, | |
3287 | Transparency = 0, | |
3288 | Transparency2 = 1, | |
3289 | CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), | |
3290 | MoveToPos = nil, | |
3291 | RotationX = 0, | |
3292 | RotationY = 0, | |
3293 | RotationZ = 0, | |
3294 | Material = "Neon", | |
3295 | Color = C3(0, 0, 0), | |
3296 | SoundID = nil, | |
3297 | SoundPitch = nil, | |
3298 | SoundVolume = nil | |
3299 | }) | |
3300 | end | |
3301 | local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character) | |
3302 | for i = 1, 5 do | |
3303 | CreateSound(438666077, Effects, 15, 1 - i / 15, false) | |
3304 | WACKYEFFECT({ | |
3305 | Time = 150, | |
3306 | EffectType = "Wave", | |
3307 | Size = VT(150, 2, 150), | |
3308 | Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2, | |
3309 | Transparency = 0, | |
3310 | Transparency2 = 1, | |
3311 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)), | |
3312 | MoveToPos = nil, | |
3313 | RotationX = 0, | |
3314 | RotationY = 0, | |
3315 | RotationZ = 0, | |
3316 | Material = "Neon", | |
3317 | Color = C3(0, 0, 0), | |
3318 | SoundID = nil, | |
3319 | SoundPitch = nil, | |
3320 | SoundVolume = nil | |
3321 | }) | |
3322 | end | |
3323 | end)) | |
3324 | for i = 0, 1, 0.1 / Animation_Speed do | |
3325 | Swait() | |
3326 | 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) | |
3327 | 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) | |
3328 | 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) | |
3329 | 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) | |
3330 | 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) | |
3331 | 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) | |
3332 | end | |
3333 | ATTACK = false | |
3334 | Rooted = false | |
3335 | end)) | |
3336 | for i = 1, 30 do | |
3337 | wait(0.01) | |
3338 | local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150)) | |
3339 | local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character) | |
3340 | if HITFLOOR then | |
3341 | ApplyAoE(HITPOS, 65, true) | |
3342 | local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0)) | |
3343 | WACKYEFFECT({ | |
3344 | Time = 150, | |
3345 | EffectType = "Sphere", | |
3346 | Size = VT(220, 220, 220), | |
3347 | Size2 = VT(850, 850, 850), | |
3348 | Transparency = 0, | |
3349 | Transparency2 = 1, | |
3350 | CFrame = CF(HITPOS), | |
3351 | MoveToPos = nil, | |
3352 | RotationX = 0, | |
3353 | RotationY = 0, | |
3354 | RotationZ = 0, | |
3355 | Material = "Neon", | |
3356 | Color = C3(0, 1, 0), | |
3357 | SoundID = BLASTS[MRANDOM(1, #BLASTS)], | |
3358 | SoundPitch = MRANDOM(9, 12) / 10, | |
3359 | SoundVolume = 10 | |
3360 | }) | |
3361 | for e = 1, 3 do | |
3362 | WACKYEFFECT({ | |
3363 | EffectType = "Wave", | |
3364 | Size = VT(250, 0, 250), | |
3365 | Size2 = VT(400, 0, 400) + VT(e * 6, e / 5, e * 6), | |
3366 | Transparency = 0, | |
3367 | Transparency2 = 1, | |
3368 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)), | |
3369 | MoveToPos = nil, | |
3370 | RotationX = 0, | |
3371 | RotationY = 3, | |
3372 | RotationZ = 0, | |
3373 | Material = "Neon", | |
3374 | Color = C3(0, 0, 0), | |
3375 | SoundID = nil, | |
3376 | SoundPitch = nil, | |
3377 | SoundVolume = nil | |
3378 | }) | |
3379 | WACKYEFFECT({ | |
3380 | Time = 55, | |
3381 | EffectType = "Sphere", | |
3382 | Size = VT(202, 450, 202), | |
3383 | Size2 = VT(250, 450 + e * 75, 25), | |
3384 | Transparency = 0, | |
3385 | Transparency2 = 1, | |
3386 | CFrame = CF(HITPOS) * TURN, | |
3387 | MoveToPos = nil, | |
3388 | RotationX = 0, | |
3389 | RotationY = 0, | |
3390 | RotationZ = 0, | |
3391 | Material = "Neon", | |
3392 | Color = C3(0, 0, 0), | |
3393 | SoundID = nil, | |
3394 | SoundPitch = MRANDOM(9, 12) / 10, | |
3395 | SoundVolume = 10 | |
3396 | }) | |
3397 | end | |
3398 | end | |
3399 | end | |
3400 | CHARGE = true | |
3401 | end | |
3402 | function RealNuke() | |
3403 | ATTACK = true | |
3404 | Rooted = true | |
3405 | local CHARGE = false | |
3406 | local BLASTS = {468991944, 468991990} | |
3407 | coroutine.resume(coroutine.create(function() | |
3408 | repeat | |
3409 | Swait() | |
3410 | 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) | |
3411 | 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) | |
3412 | 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) | |
3413 | 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) | |
3414 | 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) | |
3415 | 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) | |
3416 | until CHARGE == true | |
3417 | for i = 0, 0.4, 0.1 / Animation_Speed do | |
3418 | Swait() | |
3419 | WACKYEFFECT({ | |
3420 | Time = 150, | |
3421 | EffectType = "Sphere", | |
3422 | Size = VT(16, 160, 160), | |
3423 | Size2 = VT(0, 0, 0), | |
3424 | Transparency = 1, | |
3425 | Transparency2 = 0.7, | |
3426 | CFrame = CF(RootPart.Position), | |
3427 | MoveToPos = nil, | |
3428 | RotationX = 0, | |
3429 | RotationY = 0, | |
3430 | RotationZ = 0, | |
3431 | Material = "Neon", | |
3432 | Color = C3(0, 0, 0), | |
3433 | SoundID = nil, | |
3434 | SoundPitch = nil, | |
3435 | SoundVolume = nil | |
3436 | }) | |
3437 | 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) | |
3438 | 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) | |
3439 | 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) | |
3440 | 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) | |
3441 | 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) | |
3442 | 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) | |
3443 | end | |
3444 | coroutine.resume(coroutine.create(function() | |
3445 | local POS = RootPart.Position | |
3446 | wait(0.2) | |
3447 | for i = 1, 5 do | |
3448 | WACKYEFFECT({ | |
3449 | Time = 150, | |
3450 | EffectType = "Sphere", | |
3451 | Size = VT(2, 2, 2), | |
3452 | Size2 = VT(0, 0, 500), | |
3453 | Transparency = 1, | |
3454 | Transparency2 = 0, | |
3455 | CFrame = CF(POS), | |
3456 | MoveToPos = nil, | |
3457 | RotationX = MRANDOM(-2, 2), | |
3458 | RotationY = MRANDOM(-12, 12), | |
3459 | RotationZ = MRANDOM(-2, 2), | |
3460 | Material = "Neon", | |
3461 | Color = C3(0, 1, 0), | |
3462 | SoundID = nil, | |
3463 | SoundPitch = nil, | |
3464 | SoundVolume = nil | |
3465 | }) | |
3466 | end | |
3467 | wait(1) | |
3468 | SHAKECAM(POS, 9999999999, 25, 25) | |
3469 | ApplyAoE(POS, 450, true) | |
3470 | WACKYEFFECT({ | |
3471 | Time = 150, | |
3472 | EffectType = "Sphere", | |
3473 | Size = VT(120, 120, 120), | |
3474 | Size2 = VT(350, 350, 350), | |
3475 | Transparency = 0, | |
3476 | Transparency2 = 1, | |
3477 | CFrame = CF(POS), | |
3478 | MoveToPos = nil, | |
3479 | RotationX = 0, | |
3480 | RotationY = 0, | |
3481 | RotationZ = 0, | |
3482 | Material = "Neon", | |
3483 | Color = C3(0, 1, 0), | |
3484 | SoundID = nil, | |
3485 | SoundPitch = 1, | |
3486 | SoundVolume = 10 | |
3487 | }) | |
3488 | for i = 1, 20 do | |
3489 | WACKYEFFECT({ | |
3490 | Time = 150, | |
3491 | EffectType = "Sphere", | |
3492 | Size = VT(120, 120, 120), | |
3493 | Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3), | |
3494 | Transparency = 0.8, | |
3495 | Transparency2 = 1, | |
3496 | CFrame = CF(POS), | |
3497 | MoveToPos = nil, | |
3498 | RotationX = 0, | |
3499 | RotationY = 0, | |
3500 | RotationZ = 0, | |
3501 | Material = "Neon", | |
3502 | Color = C3(0, 0, 0), | |
3503 | SoundID = nil, | |
3504 | SoundPitch = 1, | |
3505 | SoundVolume = 10 | |
3506 | }) | |
3507 | WACKYEFFECT({ | |
3508 | Time = 150, | |
3509 | EffectType = "Wave", | |
3510 | Size = VT(250, 20, 250), | |
3511 | Size2 = VT(400, 0, 400) * 1.2, | |
3512 | Transparency = 0, | |
3513 | Transparency2 = 1, | |
3514 | CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), | |
3515 | MoveToPos = nil, | |
3516 | RotationX = 0, | |
3517 | RotationY = 0, | |
3518 | RotationZ = 0, | |
3519 | Material = "Neon", | |
3520 | Color = C3(0, 0, 0), | |
3521 | SoundID = nil, | |
3522 | SoundPitch = nil, | |
3523 | SoundVolume = nil | |
3524 | }) | |
3525 | end | |
3526 | local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character) | |
3527 | for i = 1, 5 do | |
3528 | CreateSound(438666077, Effects, 15, 1 - i / 15, false) | |
3529 | WACKYEFFECT({ | |
3530 | Time = 150, | |
3531 | EffectType = "Wave", | |
3532 | Size = VT(200, 2, 200), | |
3533 | Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2, | |
3534 | Transparency = 0, | |
3535 | Transparency2 = 1, | |
3536 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)), | |
3537 | MoveToPos = nil, | |
3538 | RotationX = 0, | |
3539 | RotationY = 0, | |
3540 | RotationZ = 0, | |
3541 | Material = "Neon", | |
3542 | Color = C3(0, 0, 0), | |
3543 | SoundID = nil, | |
3544 | SoundPitch = nil, | |
3545 | SoundVolume = nil | |
3546 | }) | |
3547 | end | |
3548 | end)) | |
3549 | for i = 0, 2, 0.1 / Animation_Speed do | |
3550 | Swait() | |
3551 | 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) | |
3552 | 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) | |
3553 | 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) | |
3554 | 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) | |
3555 | 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) | |
3556 | 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) | |
3557 | end | |
3558 | ATTACK = false | |
3559 | Rooted = false | |
3560 | end)) | |
3561 | for i = 1, 40 do | |
3562 | wait(0.01) | |
3563 | local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150)) | |
3564 | local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character) | |
3565 | if HITFLOOR then | |
3566 | ApplyAoE(HITPOS, 65, true) | |
3567 | local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0)) | |
3568 | WACKYEFFECT({ | |
3569 | Time = 150, | |
3570 | EffectType = "Sphere", | |
3571 | Size = VT(320, 320, 320), | |
3572 | Size2 = VT(850, 850, 850), | |
3573 | Transparency = 0, | |
3574 | Transparency2 = 1, | |
3575 | CFrame = CF(HITPOS), | |
3576 | MoveToPos = nil, | |
3577 | RotationX = 0, | |
3578 | RotationY = 0, | |
3579 | RotationZ = 0, | |
3580 | Material = "Neon", | |
3581 | Color = C3(0, 1, 0), | |
3582 | SoundID = BLASTS[MRANDOM(1, #BLASTS)], | |
3583 | SoundPitch = MRANDOM(9, 12) / 10, | |
3584 | SoundVolume = 10 | |
3585 | }) | |
3586 | for e = 1, 3 do | |
3587 | WACKYEFFECT({ | |
3588 | EffectType = "Wave", | |
3589 | Size = VT(290, 0, 290), | |
3590 | Size2 = VT(480, 0, 490) + VT(e * 6, e / 5, e * 6), | |
3591 | Transparency = 0, | |
3592 | Transparency2 = 1, | |
3593 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)), | |
3594 | MoveToPos = nil, | |
3595 | RotationX = 0, | |
3596 | RotationY = 3, | |
3597 | RotationZ = 0, | |
3598 | Material = "Neon", | |
3599 | Color = C3(0, 0, 0), | |
3600 | SoundID = nil, | |
3601 | SoundPitch = nil, | |
3602 | SoundVolume = nil | |
3603 | }) | |
3604 | WACKYEFFECT({ | |
3605 | Time = 55, | |
3606 | EffectType = "Sphere", | |
3607 | Size = VT(272, 450, 272), | |
3608 | Size2 = VT(290, 490 + e * 75, 25), | |
3609 | Transparency = 0, | |
3610 | Transparency2 = 1, | |
3611 | CFrame = CF(HITPOS) * TURN, | |
3612 | MoveToPos = nil, | |
3613 | RotationX = 0, | |
3614 | RotationY = 0, | |
3615 | RotationZ = 0, | |
3616 | Material = "Neon", | |
3617 | Color = C3(0, 0, 0), | |
3618 | SoundID = nil, | |
3619 | SoundPitch = MRANDOM(9, 12) / 10, | |
3620 | SoundVolume = 10 | |
3621 | }) | |
3622 | end | |
3623 | end | |
3624 | end | |
3625 | CHARGE = true | |
3626 | end | |
3627 | function FakeNuke() | |
3628 | ATTACK = true | |
3629 | Rooted = true | |
3630 | local CHARGE = false | |
3631 | local BLASTS = {468991944, 468991990} | |
3632 | coroutine.resume(coroutine.create(function() | |
3633 | repeat | |
3634 | Swait() | |
3635 | 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) | |
3636 | 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) | |
3637 | 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) | |
3638 | 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) | |
3639 | 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) | |
3640 | 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) | |
3641 | until CHARGE == true | |
3642 | for i = 0, 0.4, 0.1 / Animation_Speed do | |
3643 | Swait() | |
3644 | WACKYEFFECT({ | |
3645 | Time = 150, | |
3646 | EffectType = "Sphere", | |
3647 | Size = VT(16, 16, 16), | |
3648 | Size2 = VT(0, 0, 0), | |
3649 | Transparency = 1, | |
3650 | Transparency2 = 0.7, | |
3651 | CFrame = CF(RootPart.Position), | |
3652 | MoveToPos = nil, | |
3653 | RotationX = 0, | |
3654 | RotationY = 0, | |
3655 | RotationZ = 0, | |
3656 | Material = "Neon", | |
3657 | Color = C3(0, 0, 0), | |
3658 | SoundID = nil, | |
3659 | SoundPitch = nil, | |
3660 | SoundVolume = nil | |
3661 | }) | |
3662 | 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) | |
3663 | 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) | |
3664 | 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) | |
3665 | 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) | |
3666 | 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) | |
3667 | 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) | |
3668 | end | |
3669 | coroutine.resume(coroutine.create(function() | |
3670 | local POS = RootPart.Position | |
3671 | wait(0.2) | |
3672 | for i = 1, 5 do | |
3673 | WACKYEFFECT({ | |
3674 | Time = 150, | |
3675 | EffectType = "Sphere", | |
3676 | Size = VT(2, 2, 2), | |
3677 | Size2 = VT(0, 0, 50), | |
3678 | Transparency = 1, | |
3679 | Transparency2 = 0, | |
3680 | CFrame = CF(POS), | |
3681 | MoveToPos = nil, | |
3682 | RotationX = MRANDOM(-2, 2), | |
3683 | RotationY = MRANDOM(-12, 12), | |
3684 | RotationZ = MRANDOM(-2, 2), | |
3685 | Material = "Neon", | |
3686 | Color = C3(0, 1, 0), | |
3687 | SoundID = nil, | |
3688 | SoundPitch = nil, | |
3689 | SoundVolume = nil | |
3690 | }) | |
3691 | end | |
3692 | wait(1) | |
3693 | SHAKECAM(POS, 9999999999, 25, 25) | |
3694 | ApplyAoE(POS, 450, true) | |
3695 | WACKYEFFECT({ | |
3696 | Time = 150, | |
3697 | EffectType = "Sphere", | |
3698 | Size = VT(12, 12, 12), | |
3699 | Size2 = VT(35, 35, 35), | |
3700 | Transparency = 0, | |
3701 | Transparency2 = 1, | |
3702 | CFrame = CF(POS), | |
3703 | MoveToPos = nil, | |
3704 | RotationX = 0, | |
3705 | RotationY = 0, | |
3706 | RotationZ = 0, | |
3707 | Material = "Neon", | |
3708 | Color = C3(0, 1, 0), | |
3709 | SoundID = nil, | |
3710 | SoundPitch = 1, | |
3711 | SoundVolume = 10 | |
3712 | }) | |
3713 | for i = 1, 20 do | |
3714 | WACKYEFFECT({ | |
3715 | Time = 150, | |
3716 | EffectType = "Sphere", | |
3717 | Size = VT(12, 12, 12), | |
3718 | Size2 = VT(12, 12, 14) + VT(i * 3, i * 3, i * 3), | |
3719 | Transparency = 0.8, | |
3720 | Transparency2 = 1, | |
3721 | CFrame = CF(POS), | |
3722 | MoveToPos = nil, | |
3723 | RotationX = 0, | |
3724 | RotationY = 0, | |
3725 | RotationZ = 0, | |
3726 | Material = "Neon", | |
3727 | Color = C3(0, 0, 0), | |
3728 | SoundID = nil, | |
3729 | SoundPitch = 1, | |
3730 | SoundVolume = 10 | |
3731 | }) | |
3732 | WACKYEFFECT({ | |
3733 | Time = 150, | |
3734 | EffectType = "Wave", | |
3735 | Size = VT(20, 20, 20), | |
3736 | Size2 = VT(40, 0, 40) * 1.2, | |
3737 | Transparency = 0, | |
3738 | Transparency2 = 1, | |
3739 | CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), | |
3740 | MoveToPos = nil, | |
3741 | RotationX = 0, | |
3742 | RotationY = 0, | |
3743 | RotationZ = 0, | |
3744 | Material = "Neon", | |
3745 | Color = C3(0, 0, 0), | |
3746 | SoundID = nil, | |
3747 | SoundPitch = nil, | |
3748 | SoundVolume = nil | |
3749 | }) | |
3750 | end | |
3751 | local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character) | |
3752 | for i = 1, 5 do | |
3753 | CreateSound(438666077, Effects, 15, 1 - i / 15, false) | |
3754 | WACKYEFFECT({ | |
3755 | Time = 150, | |
3756 | EffectType = "Wave", | |
3757 | Size = VT(10, 2, 10), | |
3758 | Size2 = VT(30 + i * 10, 0, 30 + i * 170) * 1.2, | |
3759 | Transparency = 0, | |
3760 | Transparency2 = 1, | |
3761 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)), | |
3762 | MoveToPos = nil, | |
3763 | RotationX = 0, | |
3764 | RotationY = 0, | |
3765 | RotationZ = 0, | |
3766 | Material = "Neon", | |
3767 | Color = C3(0, 0, 0), | |
3768 | SoundID = nil, | |
3769 | SoundPitch = nil, | |
3770 | SoundVolume = nil | |
3771 | }) | |
3772 | end | |
3773 | end)) | |
3774 | for i = 0, 0.5, 0.1 / Animation_Speed do | |
3775 | Swait() | |
3776 | 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) | |
3777 | 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) | |
3778 | 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) | |
3779 | 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) | |
3780 | 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) | |
3781 | 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) | |
3782 | end | |
3783 | ATTACK = false | |
3784 | Rooted = false | |
3785 | end)) | |
3786 | for i = 1, 10 do | |
3787 | wait(0.01) | |
3788 | local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150)) | |
3789 | local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character) | |
3790 | if HITFLOOR then | |
3791 | ApplyAoE(HITPOS, 65, true) | |
3792 | local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0)) | |
3793 | WACKYEFFECT({ | |
3794 | Time = 150, | |
3795 | EffectType = "Sphere", | |
3796 | Size = VT(22, 22, 22), | |
3797 | Size2 = VT(85, 85, 85), | |
3798 | Transparency = 0, | |
3799 | Transparency2 = 1, | |
3800 | CFrame = CF(HITPOS), | |
3801 | MoveToPos = nil, | |
3802 | RotationX = 0, | |
3803 | RotationY = 0, | |
3804 | RotationZ = 0, | |
3805 | Material = "Neon", | |
3806 | Color = C3(0, 1, 0), | |
3807 | SoundID = BLASTS[MRANDOM(1, #BLASTS)], | |
3808 | SoundPitch = MRANDOM(9, 12) / 10, | |
3809 | SoundVolume = 10 | |
3810 | }) | |
3811 | for e = 1, 3 do | |
3812 | WACKYEFFECT({ | |
3813 | EffectType = "Wave", | |
3814 | Size = VT(250, 0, 250), | |
3815 | Size2 = VT(400, 0, 400) + VT(e * 6, e / 5, e * 6), | |
3816 | Transparency = 0, | |
3817 | Transparency2 = 1, | |
3818 | CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)), | |
3819 | MoveToPos = nil, | |
3820 | RotationX = 0, | |
3821 | RotationY = 3, | |
3822 | RotationZ = 0, | |
3823 | Material = "Neon", | |
3824 | Color = C3(0, 0, 0), | |
3825 | SoundID = nil, | |
3826 | SoundPitch = nil, | |
3827 | SoundVolume = nil | |
3828 | }) | |
3829 | WACKYEFFECT({ | |
3830 | Time = 55, | |
3831 | EffectType = "Sphere", | |
3832 | Size = VT(202, 450, 202), | |
3833 | Size2 = VT(250, 450 + e * 75, 25), | |
3834 | Transparency = 0, | |
3835 | Transparency2 = 1, | |
3836 | CFrame = CF(HITPOS) * TURN, | |
3837 | MoveToPos = nil, | |
3838 | RotationX = 0, | |
3839 | RotationY = 0, | |
3840 | RotationZ = 0, | |
3841 | Material = "Neon", | |
3842 | Color = C3(0, 0, 0), | |
3843 | SoundID = nil, | |
3844 | SoundPitch = MRANDOM(9, 12) / 10, | |
3845 | SoundVolume = 10 | |
3846 | }) | |
3847 | end | |
3848 | end | |
3849 | end | |
3850 | text.Text = "Hehe....just missing around" | |
3851 | wait(1) | |
3852 | spawn(function() | |
3853 | local TweenService = game:GetService("TweenService") | |
3854 | local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(235,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0)} | |
3855 | ||
3856 | local Int = 0 | |
3857 | while wait(0.5) do | |
3858 | if Int == #Colours then Int = 0 end | |
3859 | Int = Int+0.8 | |
3860 | TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play() | |
3861 | end | |
3862 | end) | |
3863 | text.Text = "Dark Shooter" | |
3864 | CHARGE = true | |
3865 | end | |
3866 | function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine) | |
3867 | if DoesCourontine == false then | |
3868 | local Direction = CF(Part.Position,ToLocation) | |
3869 | local Distance = (Part.Position - ToLocation).magnitude | |
3870 | for i = 1, AmountOfTime do | |
3871 | Swait() | |
3872 | Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime) | |
3873 | Direction = Part.CFrame | |
3874 | end | |
3875 | Part:remove() | |
3876 | elseif DoesCourontine == true then | |
3877 | coroutine.resume(coroutine.create(function() | |
3878 | local Direction = CF(Part.Position,ToLocation) | |
3879 | local Distance = (Part.Position - ToLocation).magnitude | |
3880 | for i = 1, AmountOfTime do | |
3881 | Swait() | |
3882 | Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime) | |
3883 | Direction = Part.CFrame | |
3884 | end | |
3885 | Part:remove() | |
3886 | end)) | |
3887 | end | |
3888 | end | |
3889 | function MakeForm1(PART,TYPE) | |
3890 | if TYPE == "Cyl" then | |
3891 | local MSH = IT("CylinderMesh",PART) | |
3892 | elseif TYPE == "Ball" then | |
3893 | local MSH = IT("SpecialMesh",PART) | |
3894 | MSH.MeshType = "Sphere" | |
3895 | elseif TYPE == "Wedge" then | |
3896 | local MSH = IT("SpecialMesh",PART) | |
3897 | MSH.MeshType = "Wedge" | |
3898 | end | |
3899 | end | |
3900 | function MagicSphere1(SIZE, WAIT, CFRAME, COLOR, GROW) | |
3901 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true) | |
3902 | local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0)) | |
3903 | wave.CFrame = CFRAME | |
3904 | coroutine.resume(coroutine.create(function(PART) | |
3905 | for i = 1, WAIT do | |
3906 | Swait() | |
3907 | mesh.Scale = mesh.Scale + GROW | |
3908 | wave.Transparency = wave.Transparency + 1 / WAIT | |
3909 | if wave.Transparency > 0.99 then | |
3910 | wave:remove() | |
3911 | end | |
3912 | end | |
3913 | end)) | |
3914 | end | |
3915 | ||
3916 | ||
3917 | ||
3918 | ||
3919 | function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
3920 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
3921 | wave.Color = COLOR | |
3922 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
3923 | wave.CFrame = CFRAME | |
3924 | coroutine.resume(coroutine.create(function(PART) | |
3925 | for i = 1, WAIT do | |
3926 | Swait() | |
3927 | mesh.Scale = mesh.Scale + GROW | |
3928 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
3929 | if DOESROT == true then | |
3930 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
3931 | end | |
3932 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
3933 | if wave.Transparency > 0.99 then | |
3934 | wave:remove() | |
3935 | end | |
3936 | end | |
3937 | end)) | |
3938 | end | |
3939 | function killnearest(position, range, maxstrength) | |
3940 | for i, v in ipairs(workspace:GetChildren()) do | |
3941 | local body = v:GetChildren() | |
3942 | for part = 1, #body do | |
3943 | if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then | |
3944 | if v.ClassName == "Model" then | |
3945 | v:BreakJoints() | |
3946 | end | |
3947 | local bv = Instance.new("BodyVelocity") | |
3948 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
3949 | bv.velocity = CF(position, body[part].Position).lookVector * maxstrength | |
3950 | bv.Parent = body[part] | |
3951 | Debris:AddItem(bv, 0.2) | |
3952 | end | |
3953 | end | |
3954 | if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then | |
3955 | v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength | |
3956 | end | |
3957 | end | |
3958 | end | |
3959 | Player_Size = 1 --Size of the player. | |
3960 | function Supernova() | |
3961 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
3962 | if HITFLOOR ~= nil then | |
3963 | local HITBODIES = {} | |
3964 | ATTACK = true | |
3965 | Rooted = true | |
3966 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Neon", "Star", VT(0,0,0)) | |
3967 | MakeForm(ABSOLUTE,"Ball") | |
3968 | CreateSound("429459101", ABSOLUTE, 10, 1) | |
3969 | for i=0, 10, 0.1 / Animation_Speed do | |
3970 | Swait() | |
3971 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.9,0.9,0.9) | |
3972 | ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0) | |
3973 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
3974 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(2,2,2)) | |
3975 | MakeForm(CHARGE,"Ball") | |
3976 | CHARGE.Color = C3(0,0,0) | |
3977 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15)) | |
3978 | FireArc(CHARGE,ABSOLUTE.Position,45,45,true) | |
3979 | 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) | |
3980 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3981 | 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) | |
3982 | 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) | |
3983 | 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) | |
3984 | 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) | |
3985 | end | |
3986 | CreateSound("907330103", Head, 10, 1.2) | |
3987 | for i = 1, 85 do | |
3988 | Swait() | |
3989 | 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) | |
3990 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
3991 | 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) | |
3992 | 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) | |
3993 | 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) | |
3994 | 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) | |
3995 | end | |
3996 | coroutine.resume(coroutine.create(function() | |
3997 | for i = 1, 13 do | |
3998 | for e = 1, 8 do | |
3999 | Swait() | |
4000 | MagicSphere(VT(2,2,2),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0)) | |
4001 | CreateSwirl(ABSOLUTE.Size/3,45,CF(HITPOS),true,15,BRICKC"Really black".Color,VT(i,0.3,i)*2) | |
4002 | end | |
4003 | for i = 1, 10 do | |
4004 | Slice("Round",0,45,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3) | |
4005 | Slice("Thin",i,65,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(1,0,0),VT(0,0,0)) | |
4006 | end | |
4007 | CreateSwirl(ABSOLUTE.Size/2,35,CF(ABSOLUTE.Position),true,-25,BRICKC"Really red".Color,VT(i,i*2,i)) | |
4008 | CreateSwirl(ABSOLUTE.Size/2,65,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i)) | |
4009 | CreateSound("1259054947", ABSOLUTE, 4, 0.8) | |
4010 | CreateSound("201858144", ABSOLUTE, 10, 0.8) | |
4011 | killnearest(ABSOLUTE.Position,i*18,i) | |
4012 | ABSOLUTE.Size = ABSOLUTE.Size*0.9 | |
4013 | MagicSphere(ABSOLUTE.Size,105,CF(ABSOLUTE.Position),BRICKC"Really red".Color,VT(i,i,i)/1.1) | |
4014 | MagicSphere(ABSOLUTE.Size,95,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i)) | |
4015 | end | |
4016 | ABSOLUTE.Transparency = 1 | |
4017 | Debris:AddItem(ABSOLUTE,10) | |
4018 | end)) | |
4019 | ATTACK = false | |
4020 | Rooted = false | |
4021 | end | |
4022 | end | |
4023 | function Supernova2() | |
4024 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
4025 | if HITFLOOR ~= nil then | |
4026 | local HITBODIES = {} | |
4027 | ATTACK = true | |
4028 | Rooted = true | |
4029 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Neon", "Star", VT(0,0,0)) | |
4030 | MakeForm(ABSOLUTE,"Ball") | |
4031 | CreateSound("429459101", ABSOLUTE, 10, 1) | |
4032 | for i=0, 16, 0.1 / Animation_Speed do | |
4033 | Swait() | |
4034 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.9,0.9,0.9) | |
4035 | ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0) | |
4036 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
4037 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(2,2,2)) | |
4038 | MakeForm(CHARGE,"Ball") | |
4039 | CHARGE.Color = C3(0,0,0) | |
4040 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15)) | |
4041 | FireArc(CHARGE,ABSOLUTE.Position,45,45,true) | |
4042 | 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) | |
4043 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4044 | 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) | |
4045 | 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) | |
4046 | 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) | |
4047 | 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) | |
4048 | end | |
4049 | CreateSound("907330103", Head, 10, 1.2) | |
4050 | wait(2) | |
4051 | CreateSound("1625448638", Head, 8, 0.9) | |
4052 | for i = 1, 95 do | |
4053 | Swait() | |
4054 | 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) | |
4055 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
4056 | 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) | |
4057 | 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) | |
4058 | 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) | |
4059 | 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) | |
4060 | end | |
4061 | coroutine.resume(coroutine.create(function() | |
4062 | for i = 1, 23 do | |
4063 | for e = 1, 8 do | |
4064 | Swait() | |
4065 | MagicSphere(VT(2,2,2),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0)) | |
4066 | CreateSwirl(ABSOLUTE.Size/3,45,CF(HITPOS),true,15,BRICKC"Really black".Color,VT(i,0.3,i)*2) | |
4067 | end | |
4068 | for i = 1, 20 do | |
4069 | Slice("Round",0,45,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3) | |
4070 | Slice("Thin",i,65,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(1,0,0),VT(0,0,0)) | |
4071 | end | |
4072 | CreateSwirl(ABSOLUTE.Size/2,35,CF(ABSOLUTE.Position),true,-25,BRICKC"Really red".Color,VT(i,i*2,i)) | |
4073 | CreateSwirl(ABSOLUTE.Size/2,65,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i)) | |
4074 | CreateSound("1259054947", ABSOLUTE, 4, 0.8) | |
4075 | CreateSound("201858144", ABSOLUTE, 10, 0.8) | |
4076 | killnearest(ABSOLUTE.Position,i*18,i) | |
4077 | ABSOLUTE.Size = ABSOLUTE.Size*0.9 | |
4078 | MagicSphere(ABSOLUTE.Size,105,CF(ABSOLUTE.Position),BRICKC"Really red".Color,VT(i,i,i)/1.1) | |
4079 | MagicSphere(ABSOLUTE.Size,95,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i)) | |
4080 | end | |
4081 | ABSOLUTE.Transparency = 1 | |
4082 | Debris:AddItem(ABSOLUTE,10) | |
4083 | end)) | |
4084 | ATTACK = false | |
4085 | Rooted = false | |
4086 | end | |
4087 | end | |
4088 | local ENERGYSOUND = 1417051162 | |
4089 | local BEAMSOUND = 1417056781 | |
4090 | local EXPLOSIONSOUND = 1417056081 | |
4091 | local TERRAWRATH = {"824687369"} | |
4092 | function Petrify(Foe) | |
4093 | local STONEMODEL = IT("Model", Effects) | |
4094 | local CHILDREN = Foe:GetDescendants() | |
4095 | for index, CHILD in pairs(CHILDREN) do | |
4096 | if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then | |
4097 | CHILD.Parent = STONEMODEL | |
4098 | CHILD.Material = "Neon" | |
4099 | coroutine.resume(coroutine.create(function() | |
4100 | while true do | |
4101 | Swait() | |
4102 | CHILD.Color = Color3.fromRGB(1,0,0) | |
4103 | end | |
4104 | end)) | |
4105 | if CHILD:FindFirstChildOfClass("SpecialMesh") then | |
4106 | local mesh = CHILD:FindFirstChildOfClass("SpecialMesh") | |
4107 | mesh.TextureId = "" | |
4108 | end | |
4109 | if CHILD:FindFirstChildOfClass("Decal") then | |
4110 | local mesh = CHILD:FindFirstChildOfClass("Decal") | |
4111 | mesh:remove() | |
4112 | end | |
4113 | if CHILD.ClassName == "MeshPart" then | |
4114 | CHILD.TextureID = "" | |
4115 | end | |
4116 | if CHILD.ClassName == "UnionOperation" then | |
4117 | CHILD.UsePartColor = true | |
4118 | end | |
4119 | CHILD.CanCollide = true | |
4120 | end | |
4121 | end | |
4122 | Debris:AddItem(STONEMODEL, 5) | |
4123 | end | |
4124 | ||
4125 | function ApplyAoE4(POSITION, RANGE, MINDMG, MAXDMG, FLING, ow) | |
4126 | local CHILDREN = workspace:GetDescendants() | |
4127 | for index, CHILD in pairs(CHILDREN) do | |
4128 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
4129 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
4130 | if HUM then | |
4131 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
4132 | if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then | |
4133 | if ow == true then | |
4134 | Petrify(CHILD) | |
4135 | else | |
4136 | local DMG = MRANDOM(MINDMG, MAXDMG) | |
4137 | ApplyDamage(HUM, DMG, TORSO) | |
4138 | end | |
4139 | if FLING > 0 then | |
4140 | for _, c in pairs(CHILD:GetChildren()) do | |
4141 | if c:IsA("BasePart") then | |
4142 | local bv = Instance.new("BodyVelocity") | |
4143 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
4144 | bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING | |
4145 | bv.Parent = c | |
4146 | Debris:AddItem(bv, 0.05) | |
4147 | end | |
4148 | end | |
4149 | end | |
4150 | end | |
4151 | end | |
4152 | end | |
4153 | end | |
4154 | end | |
4155 | ||
4156 | function Explosion() | |
4157 | ATTACK = true | |
4158 | Rooted = true | |
4159 | for i=0, 1, 0.1 / Animation_Speed do | |
4160 | Swait() | |
4161 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.6 / Animation_Speed) | |
4162 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.6 / Animation_Speed) | |
4163 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed) | |
4164 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.1 / Animation_Speed) | |
4165 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
4166 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
4167 | end | |
4168 | for i=0, 0.4, 0.1 / Animation_Speed do | |
4169 | Swait() | |
4170 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -1, -0.3) * ANGLES(RAD(75), RAD(0), RAD(75)), 1 / Animation_Speed) | |
4171 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 1/ Animation_Speed) | |
4172 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4173 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4174 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.01) * ANGLES(RAD(75), RAD(25), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4175 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4176 | end | |
4177 | CreateSound(TERRAWRATH[MRANDOM(1,#TERRAWRATH)], Torso, 10, 1) | |
4178 | local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "really red", "Beam", VT(0,0,0)) | |
4179 | local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Beam", VT(0,0,0)) | |
4180 | MakeForm(BEAM,"Ball") | |
4181 | MakeForm(BEAM2,"Ball") | |
4182 | BEAM.CFrame = CF(RootPart.Position) | |
4183 | BEAM2.CFrame = CF(RootPart.Position) | |
4184 | for i=1, 120 do | |
4185 | Swait() | |
4186 | BEAM.Size = BEAM.Size + VT(1.7,9,1.7) | |
4187 | BEAM2.Size = BEAM2.Size + VT(4,4,4) | |
4188 | ApplyAoE2(BEAM2.Position,BEAM2.Size.Z/4,8,7,35,true) | |
4189 | BEAM.CFrame = CF(RootPart.Position) | |
4190 | BEAM2.CFrame = CF(RootPart.Position) | |
4191 | WACKYEFFECT({TIME = 5+i, EffectType = "Ring", Size = BEAM2.Size*1.15, Size2 = VT(0,BEAM.Size.Y,0), Transparency = 0.8, Transparency2 = 1, CFrame = BEAM.CFrame * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
4192 | end | |
4193 | WACKYEFFECT({TIME = 75, EffectType = "Crystal", Size = BEAM.Size, Size2 = VT(0,BEAM.Size.Y,0), Transparency = 0, Transparency2 = 0, CFrame = BEAM.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
4194 | WACKYEFFECT({TIME = 75, EffectType = "Sphere", Size = BEAM2.Size, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.6, CFrame = BEAM2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
4195 | WACKYEFFECT({TIME = 75, EffectType = "Ring", Size = BEAM2.Size, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.6, CFrame = BEAM2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
4196 | ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true) | |
4197 | BEAM2:remove() | |
4198 | BEAM:remove() | |
4199 | ATTACK = false | |
4200 | Rooted = false | |
4201 | end | |
4202 | ||
4203 | function ApplyDamage(Humanoid,Damage,OneShot) | |
4204 | Damage = Damage * DAMAGEMULTIPLIER | |
4205 | local DEAD = false | |
4206 | if Humanoid.Health < 2000 and OneShot == false then | |
4207 | if Humanoid.Health - Damage > 0 then | |
4208 | Humanoid.Health = Humanoid.Health - Damage | |
4209 | else | |
4210 | Humanoid.Parent:BreakJoints() | |
4211 | DEAD = true | |
4212 | end | |
4213 | else | |
4214 | DEAD = true | |
4215 | Humanoid.Parent:BreakJoints() | |
4216 | end | |
4217 | if DEAD == true then | |
4218 | local PARTS = {} | |
4219 | for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do | |
4220 | if CHILD:IsA("BasePart") then | |
4221 | table.insert(PARTS,CHILD) | |
4222 | end | |
4223 | end | |
4224 | coroutine.resume(coroutine.create(function() | |
4225 | wait(2) | |
4226 | repeat | |
4227 | Swait() | |
4228 | local PIECE = nil | |
4229 | if MRANDOM(1,5) == 1 then | |
4230 | for E = 1, #PARTS do | |
4231 | if MRANDOM(1,5) == 1 then | |
4232 | PIECE = PARTS[E] | |
4233 | table.remove(PARTS,E) | |
4234 | break | |
4235 | end | |
4236 | end | |
4237 | end | |
4238 | if PIECE ~= nil then | |
4239 | if PIECE.Name == "Head" then | |
4240 | WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2}) | |
4241 | else | |
4242 | WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2}) | |
4243 | end | |
4244 | PIECE:remove() | |
4245 | end | |
4246 | until #PARTS == 0 | |
4247 | end)) | |
4248 | end | |
4249 | end | |
4250 | function ApplyAoE5(POSITION, RANGE, MINDMG, MAXDMG, FLING, EBANISH) | |
4251 | local CHILDREN = workspace:GetDescendants() | |
4252 | for index, CHILD in pairs(CHILDREN) do | |
4253 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
4254 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
4255 | if HUM then | |
4256 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
4257 | if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then | |
4258 | if EBANISH == true then | |
4259 | Banish(CHILD) | |
4260 | else | |
4261 | local DMG = MRANDOM(MINDMG, MAXDMG) | |
4262 | ApplyDamage(HUM, DMG, TORSO) | |
4263 | end | |
4264 | if FLING > 0 then | |
4265 | for _, c in pairs(CHILD:GetChildren()) do | |
4266 | if c:IsA("BasePart") then | |
4267 | local bv = Instance.new("BodyVelocity") | |
4268 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
4269 | bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING | |
4270 | bv.Parent = c | |
4271 | Debris:AddItem(bv, 0.05) | |
4272 | end | |
4273 | end | |
4274 | end | |
4275 | end | |
4276 | end | |
4277 | end | |
4278 | end | |
4279 | end | |
4280 | function ShriekingBlast() | |
4281 | if ANIM ~= "Fall" and ANIM ~= "Jump" then | |
4282 | ATTACK = true | |
4283 | Rooted = true | |
4284 | local GYRO = IT("BodyGyro",RootPart) | |
4285 | GYRO.D = 25 | |
4286 | GYRO.P = 20000 | |
4287 | GYRO.MaxTorque = VT(0,4000000,0) | |
4288 | GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
4289 | CreateSound(429459101,Torso,5,1.5,false) | |
4290 | local GYROING = true | |
4291 | coroutine.resume(coroutine.create(function() | |
4292 | repeat | |
4293 | Swait() | |
4294 | GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) | |
4295 | until GYROING == false | |
4296 | GYRO:Remove() | |
4297 | end)) | |
4298 | for i=0, 1, 0.1 / Animation_Speed do | |
4299 | Swait() | |
4300 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4301 | 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) | |
4302 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4303 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4304 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
4305 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed) | |
4306 | end | |
4307 | for i = 1, 39 do | |
4308 | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(i,0,i)*2, Transparency = 0.8, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,7.5-i) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 50}) | |
4309 | end | |
4310 | CreateSound(1368637781,Torso,5,1.5,false) | |
4311 | WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(52,52,52), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 331666014, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35}) | |
4312 | for index, CHILD in pairs(Character:GetChildren()) do | |
4313 | if CHILD:IsA("BasePart") then | |
4314 | CHILD.Transparency = CHILD.Transparency + 1 | |
4315 | elseif CHILD:IsA("Accessory") then | |
4316 | CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1 | |
4317 | end | |
4318 | end | |
4319 | GYROING = false | |
4320 | coroutine.resume(coroutine.create(function() | |
4321 | coroutine.resume(coroutine.create(function() | |
4322 | for i=1, 55 do | |
4323 | Swait() | |
4324 | RootPart.CFrame = RootPart.CFrame*CF(0,0,(25-i)/25) | |
4325 | end | |
4326 | end)) | |
4327 | repeat | |
4328 | Swait() | |
4329 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4330 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed) | |
4331 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4332 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4333 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed) | |
4334 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed) | |
4335 | until ATTACK == false | |
4336 | end)) | |
4337 | coroutine.resume(coroutine.create(function() | |
4338 | local BULLETCFRAME = RootPart.CFrame | |
4339 | local EXPLODED = false | |
4340 | coroutine.resume(coroutine.create(function() | |
4341 | repeat | |
4342 | Swait() | |
4343 | WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(65,65,65), Size2 = VT(90,90,90), Transparency = 0.3, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35}) | |
4344 | WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(65,65,65), Size2 = VT(105,105,105), Transparency = 0.8, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35}) | |
4345 | until EXPLODED == true | |
4346 | end)) | |
4347 | for i=1, 90 do | |
4348 | Swait() | |
4349 | BULLETCFRAME = BULLETCFRAME*CF(0,0,-((50-i)/15)) | |
4350 | local RAY,HIT,NORM = Raycast(BULLETCFRAME.p,BULLETCFRAME.lookVector,7,Character) | |
4351 | if RAY then | |
4352 | ApplyAoE5(BULLETCFRAME.p,35,42,64,350,true) | |
4353 | WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = CF(HIT,HIT+NORM) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 765590102, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 10}) | |
4354 | break | |
4355 | end | |
4356 | end | |
4357 | wait(0.5) | |
4358 | WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(35,35,35), Size2 = VT(135,135,135), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 0.7, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35}) | |
4359 | WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(35,35,35), Size2 = VT(100,100,100), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 1, SoundVolume = 10, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35}) | |
4360 | for E = 1, 13 do | |
4361 | for i = 1, 25 do | |
4362 | WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/2, Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10}) | |
4363 | end | |
4364 | end | |
4365 | ApplyAoE5(BULLETCFRAME.p,225,65,105,290,true) | |
4366 | EXPLODED = true | |
4367 | for i = 1, 35 do | |
4368 | Swait() | |
4369 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(360,0,360), Transparency = 0.6, Transparency2 = 1, CFrame = BULLETCFRAME * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 1, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2}) | |
4370 | end | |
4371 | end)) | |
4372 | wait(0.5) | |
4373 | for index, CHILD in pairs(Character:GetChildren()) do | |
4374 | if CHILD:IsA("BasePart") then | |
4375 | CHILD.Transparency = CHILD.Transparency - 1 | |
4376 | elseif CHILD:IsA("Accessory") then | |
4377 | CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1 | |
4378 | end | |
4379 | end | |
4380 | ATTACK = false | |
4381 | Rooted = false | |
4382 | end | |
4383 | end | |
4384 | function Chunks(PART) | |
4385 | for i = 1, MRANDOM(3,5) do | |
4386 | coroutine.resume(coroutine.create(function() | |
4387 | local CHUNK = CreatePart(3, workspace, PART.Material, 0, PART.Transparency, PART.BrickColor, "Chunk", VT(0.3,0.3,0.3)*MRANDOM(7,13)/10, false) | |
4388 | CHUNK.CFrame = PART.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
4389 | local CFRAME = PART.CFrame*CF(MRANDOM(-4,4)/2,MRANDOM(-4,4)/2,-6) | |
4390 | CHUNK.Velocity = CF(PART.Position,CFRAME.p).lookVector*MRANDOM(15,65) | |
4391 | wait(0.1) | |
4392 | CHUNK.CanCollide = true | |
4393 | wait(MRANDOM(15,25)/5) | |
4394 | for i = 1, 25 do | |
4395 | Swait() | |
4396 | CHUNK.Transparency = CHUNK.Transparency + 1/25 | |
4397 | end | |
4398 | CHUNK:remove() | |
4399 | end)) | |
4400 | end | |
4401 | end | |
4402 | function CharacterFade(COLOR,TIMER) | |
4403 | coroutine.resume(coroutine.create(function() | |
4404 | local FADE = IT("Model",Effects) | |
4405 | for _, c in pairs(Character:GetChildren()) do | |
4406 | if c.ClassName == "Part" and c ~= RootPart then | |
4407 | local FADER = c:Clone() | |
4408 | FADER.Color = COLOR | |
4409 | FADER.CFrame = c.CFrame | |
4410 | FADER.Parent = FADE | |
4411 | FADER.Anchored = true | |
4412 | FADER.Transparency = 0.25 | |
4413 | FADER:BreakJoints() | |
4414 | FADER.Material = "Glass" | |
4415 | FADER:ClearAllChildren() | |
4416 | if FADER.Name == "Head" then | |
4417 | FADER.Size = VT(1,1,1) | |
4418 | end | |
4419 | end | |
4420 | end | |
4421 | local TRANS = 0.75/TIMER | |
4422 | for i = 1, TIMER do | |
4423 | Swait() | |
4424 | for _, c in pairs(FADE:GetChildren()) do | |
4425 | if c.ClassName == "Part" then | |
4426 | c.Transparency = c.Transparency + TRANS | |
4427 | end | |
4428 | end | |
4429 | end | |
4430 | FADE:remove() | |
4431 | end)) | |
4432 | end | |
4433 | ||
4434 | function Dirtface() | |
4435 | local TARGET = Mouse.Target | |
4436 | if TARGET ~= nil then | |
4437 | if TARGET.Parent:FindFirstChildOfClass("Humanoid") then | |
4438 | local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid") | |
4439 | local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso") | |
4440 | if ROOT and HUM.Health > 0 then | |
4441 | local FOE = Mouse.Target.Parent | |
4442 | local HEAD = FOE:FindFirstChild("Head") | |
4443 | local HITFLOOR = Raycast(ROOT.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.Z, FOE) | |
4444 | if HEAD and HITFLOOR then | |
4445 | ATTACK = true | |
4446 | Rooted = true | |
4447 | CharacterFade(C3(0,0,0),150) | |
4448 | RootPart.CFrame = ROOT.CFrame*CF(0,0,2) | |
4449 | ROOT.Anchored = true | |
4450 | CreateSound(235097614, Torso, 2, 3, false) | |
4451 | for i=0, 0.5, 0.1 / Animation_Speed do | |
4452 | Swait() | |
4453 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
4454 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed) | |
4455 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4456 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4457 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4458 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4459 | end | |
4460 | for i=0, 0.5, 0.1 / Animation_Speed do | |
4461 | Swait() | |
4462 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed) | |
4463 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
4464 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4465 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4466 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4467 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4468 | end | |
4469 | ROOT.Anchored = false | |
4470 | UNANCHOR = false | |
4471 | local DEAD = false | |
4472 | local CFRAME = RootPart.CFrame | |
4473 | CreateSound(260411131, Torso, 2, 3, false) | |
4474 | coroutine.resume(coroutine.create(function() | |
4475 | repeat | |
4476 | Swait() | |
4477 | RootPart.CFrame = CFRAME | |
4478 | HEAD.CFrame = RightArm.CFrame*CF(0,-(1+HEAD.Size.Z/2),0) * ANGLES(RAD(-90), RAD(0), RAD(0)) | |
4479 | HEAD.Velocity = VT(0,0,0) | |
4480 | HUM.PlatformStand = true | |
4481 | until DEAD == true | |
4482 | end)) | |
4483 | for i=0, 0.5, 0.1 / Animation_Speed do | |
4484 | Swait() | |
4485 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed) | |
4486 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
4487 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed) | |
4488 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4489 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4490 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4491 | end | |
4492 | for i=0, 0.5, 0.1 / Animation_Speed do | |
4493 | Swait() | |
4494 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
4495 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * COS(SINE / 12)), RAD(0), RAD(15)), 1 / Animation_Speed) | |
4496 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 1, 0) * ANGLES(RAD(60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4497 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4498 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4499 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4500 | end | |
4501 | local ERUPT = function() | |
4502 | local HITFLOOR,HITPOS = Raycast(HEAD.CFrame*CF(0,0.2,0).p+VT(0,0.2,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.X, FOE) | |
4503 | if HITFLOOR then | |
4504 | for i = 1, 15 do | |
4505 | CreateFlyingDebree(HITFLOOR,CF(HITPOS),MRANDOM(1,2),VT(MRANDOM(10,60)/20,MRANDOM(10,60)/20,MRANDOM(10,60)/20),5,MRANDOM(45,85)) | |
4506 | end | |
4507 | Chunks(HEAD) | |
4508 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(12,12,11), Size2 = VT(65,0,65), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 765590102, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 4}) | |
4509 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(12,12,11), Size2 = VT(65,0,65), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 130779009, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 4}) | |
4510 | end | |
4511 | end | |
4512 | local ATE = false | |
4513 | local DEPTH = 1 | |
4514 | coroutine.resume(coroutine.create(function() | |
4515 | repeat | |
4516 | Swait() | |
4517 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)), 1 / Animation_Speed) | |
4518 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(-15)), 1 / Animation_Speed) | |
4519 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 1-DEPTH/5, -DEPTH/8) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
4520 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
4521 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4522 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed) | |
4523 | until ATE == true | |
4524 | end)) | |
4525 | wait() | |
4526 | ERUPT() | |
4527 | wait(1) | |
4528 | ERUPT() | |
4529 | DEPTH = 2 | |
4530 | wait(1) | |
4531 | ERUPT() | |
4532 | DEPTH = 2.5 | |
4533 | wait(1) | |
4534 | ERUPT() | |
4535 | ERUPT() | |
4536 | wait(1) | |
4537 | ERUPT() | |
4538 | ERUPT() | |
4539 | ERUPT() | |
4540 | ERUPT() | |
4541 | ERUPT() | |
4542 | ERUPT() | |
4543 | HEAD:remove() | |
4544 | DEAD = true | |
4545 | ApplyDamage(HUM,0,true) | |
4546 | wait(0.2) | |
4547 | ATE = true | |
4548 | UNANCHOR = true | |
4549 | ATTACK = false | |
4550 | Rooted = false | |
4551 | end | |
4552 | end | |
4553 | end | |
4554 | end | |
4555 | end | |
4556 | function Destruction_Beam() | |
4557 | local HITBODIES = {} | |
4558 | local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Pearl", "CenterPart", VT(0, 0, 0)) | |
4559 | local HITFLOOR, ECH, NORMAL = Raycast(Mouse.Hit.p + VT(0, 2, 0), CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0)).lookVector, 10000000, Character) | |
4560 | CENTER.CFrame = CF(ECH) | |
4561 | local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Laser01", VT(35, 99999, 25)) | |
4562 | MakeForm(RAY, "Cyl") | |
4563 | local RAY2 = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Laser01", VT(38, 99999, 28)) | |
4564 | MakeForm(RAY2, "Cyl") | |
4565 | RAY.CFrame = CF(ECH) | |
4566 | RAY2.CFrame = CF(ECH) | |
4567 | CreateSound("1368573150", CENTER, 20, 2.8) | |
4568 | for i = 1, 100 do | |
4569 | Swait() | |
4570 | RAY.Transparency = RAY.Transparency - 0.01 | |
4571 | RAY.Size = RAY.Size - VT(1.25, 1, 1.25) | |
4572 | RAY2.Transparency = RAY2.Transparency - 0.012 | |
4573 | RAY2.Size = RAY2.Size - VT(1.28, 1, 1.28) | |
4574 | end | |
4575 | for i = 1, 100 do | |
4576 | CreateRing(VT(i / 10, i / 10, 0), false, 0, 25, CF(ECH) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(MRANDOM(0, 10) / 10, 0, 0), VT(i / 5, i / 5, 0)) | |
4577 | end | |
4578 | RAY:remove() | |
4579 | RAY2:remove() | |
4580 | CreateSound("1368637781", CENTER, 10, 0.8) | |
4581 | MagicSphere(VT(0, 0, 0), 15, CF(ECH), "Really red", VT(8, 8, 8)) | |
4582 | MagicSphere(VT(1, 1, 1), 25, CF(ECH), "Really black", VT(8, 8, 8)) | |
4583 | Debris:AddItem(CENTER, 5) | |
4584 | CreateSound("414517163", CENTER, 10, 0.8) | |
4585 | for i = 1, 100 do | |
4586 | Slice("Round", 1, 65, CF(ECH) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(1.5, 1, 1.5)) | |
4587 | end | |
4588 | for e = 1, #HITBODIES do | |
4589 | if HITBODIES[e] ~= nil then | |
4590 | local BOD = HITBODIES[e] | |
4591 | local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso") | |
4592 | if TORS then | |
4593 | BOD:BreakJoints() | |
4594 | for _, c in pairs(BOD:GetChildren()) do | |
4595 | if c.ClassName == "Part" or c.ClassName == "MeshPart" then | |
4596 | local bv = Instance.new("BodyVelocity") | |
4597 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
4598 | bv.velocity = CF(ECH, c.Position).lookVector * 250 | |
4599 | bv.Parent = c | |
4600 | Debris:AddItem(bv, 0.2) | |
4601 | end | |
4602 | end | |
4603 | end | |
4604 | end | |
4605 | end | |
4606 | end | |
4607 | function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW) | |
4608 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0)) | |
4609 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8)) | |
4610 | wave.CFrame = CFRAME | |
4611 | coroutine.resume(coroutine.create(function(PART) | |
4612 | for i = 1, WAIT do | |
4613 | Swait() | |
4614 | mesh.Scale = mesh.Scale + GROW | |
4615 | mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8)) | |
4616 | if DOESROT == true then | |
4617 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0) | |
4618 | end | |
4619 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
4620 | if wave.Transparency > 0.99 then | |
4621 | wave:remove() | |
4622 | end | |
4623 | end | |
4624 | end)) | |
4625 | end | |
4626 | local ULTTAUNTS = { | |
4627 | "907332997", | |
4628 | "907332670", | |
4629 | "907330103" | |
4630 | } | |
4631 | function Absoluteum() | |
4632 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) | |
4633 | if HITFLOOR ~= nil then | |
4634 | do | |
4635 | local HITBODIES = {} | |
4636 | ATTACK = true | |
4637 | Rooted = true | |
4638 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "ABSOLUTEUM", VT(0, 0, 0)) | |
4639 | MakeForm(ABSOLUTE, "Ball") | |
4640 | CreateSound("416200578", RootPart, 10, 1) | |
4641 | for i = 0, 12, 0.1 / Animation_Speed do | |
4642 | Swait() | |
4643 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.9, 0.9, 0.9) | |
4644 | ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0) | |
4645 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
4646 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really black ", "ABSOLUTEUM", VT(2, 2, 2)) | |
4647 | MakeForm(CHARGE, "Ball") | |
4648 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15)) | |
4649 | FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true) | |
4650 | 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) | |
4651 | 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) | |
4652 | 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) | |
4653 | 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) | |
4654 | 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) | |
4655 | 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) | |
4656 | end | |
4657 | CreateSound(ULTTAUNTS[MRANDOM(1, #ULTTAUNTS)], Head, 10, 0.9) | |
4658 | CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10) | |
4659 | for i = 1, 45 do | |
4660 | Swait() | |
4661 | 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) | |
4662 | 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) | |
4663 | 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) | |
4664 | 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) | |
4665 | 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) | |
4666 | 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) | |
4667 | end | |
4668 | coroutine.resume(coroutine.create(function() | |
4669 | local IMPACT = false | |
4670 | local BULLET = ABSOLUTE | |
4671 | MakeForm(BULLET, "Ball") | |
4672 | BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p) | |
4673 | for i = 1, 500 do | |
4674 | Swait() | |
4675 | BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2) | |
4676 | local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character) | |
4677 | MagicSphere(VT(30, 30, 30), 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 blue", VT(-10, -10, -10) / 55) | |
4678 | if HIT ~= nil then | |
4679 | IMPACT = true | |
4680 | break | |
4681 | end | |
4682 | end | |
4683 | if IMPACT == false then | |
4684 | for i = 1, 50 do | |
4685 | Swait() | |
4686 | BULLET.Size = BULLET.Size * 0.9 | |
4687 | end | |
4688 | BULLET:remove() | |
4689 | else | |
4690 | CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10) | |
4691 | for i = 1, 175 do | |
4692 | Swait() | |
4693 | BULLET.Size = BULLET.Size * 0.99 | |
4694 | Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really blue", VT(i, 0, i) / 85) | |
4695 | end | |
4696 | CreateSound("438666001", BULLET, 10, 3) | |
4697 | Swait(35) | |
4698 | BULLET.Transparency = 1 | |
4699 | for i = 1, 30 do | |
4700 | for e = 1, 5 do | |
4701 | MagicSphere(VT(0.5, 0.5, 0.5), 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) | |
4702 | 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) | |
4703 | end | |
4704 | AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES) | |
4705 | CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10) | |
4706 | CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10) | |
4707 | CreateSound("1259054947", BULLET, 10, MRANDOM(8, 13) / 10) | |
4708 | MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2) | |
4709 | Swait(5) | |
4710 | for e = 1, #HITBODIES do | |
4711 | if HITBODIES[e] ~= nil then | |
4712 | local BOD = HITBODIES[e] | |
4713 | local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso") | |
4714 | if TORS then | |
4715 | BOD:BreakJoints() | |
4716 | for _, c in pairs(BOD:GetChildren()) do | |
4717 | if c.ClassName == "Part" or c.ClassName == "MeshPart" then | |
4718 | local bv = Instance.new("BodyVelocity") | |
4719 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
4720 | bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250 | |
4721 | bv.Parent = c | |
4722 | Debris:AddItem(bv, 0.2) | |
4723 | end | |
4724 | end | |
4725 | end | |
4726 | end | |
4727 | end | |
4728 | CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Really black", VT(i, 0, i) * 2) | |
4729 | end | |
4730 | MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(0, 0, 150), VT(12, 12, 12)) | |
4731 | Debris:AddItem(BULLET, 10) | |
4732 | end | |
4733 | end)) | |
4734 | ATTACK = false | |
4735 | Rooted = false | |
4736 | end | |
4737 | end | |
4738 | end | |
4739 | function Absoluteum2() | |
4740 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) | |
4741 | if HITFLOOR ~= nil then | |
4742 | do | |
4743 | local HITBODIES = {} | |
4744 | ATTACK = true | |
4745 | Rooted = true | |
4746 | local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "ABSOLUTEUM", VT(0, 0, 0)) | |
4747 | MakeForm(ABSOLUTE, "Ball") | |
4748 | CreateSound("416200578", RootPart, 10, 1) | |
4749 | for i = 0, 18, 0.1 / Animation_Speed do | |
4750 | Swait() | |
4751 | ABSOLUTE.Size = ABSOLUTE.Size + VT(0.9, 0.9, 0.9) | |
4752 | ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0) | |
4753 | ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
4754 | local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really black ", "ABSOLUTEUM", VT(8, 8,8)) | |
4755 | MakeForm(CHARGE, "Ball") | |
4756 | CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-35, 35), -35, MRANDOM(-35, 35)) | |
4757 | FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true) | |
4758 | 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))), 0.5 / Animation_Speed) | |
4759 | 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))), 0.5 / Animation_Speed) | |
4760 | 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, 0.5 / Animation_Speed) | |
4761 | 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, 0.5 / Animation_Speed) | |
4762 | 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)), 0.5 / Animation_Speed) | |
4763 | 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)), 0.5 / Animation_Speed) | |
4764 | end | |
4765 | CreateSound(ULTTAUNTS[MRANDOM(1, #ULTTAUNTS)], Head, 10, 0.9) | |
4766 | CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10) | |
4767 | for i = 1, 75 do | |
4768 | Swait() | |
4769 | 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))), 0.5 / Animation_Speed) | |
4770 | 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) | |
4771 | 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, 0.5 / Animation_Speed) | |
4772 | 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, 0.5 / Animation_Speed) | |
4773 | 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)), 0.5 / Animation_Speed) | |
4774 | 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)), 0.5 / Animation_Speed) | |
4775 | end | |
4776 | coroutine.resume(coroutine.create(function() | |
4777 | local IMPACT = false | |
4778 | local BULLET = ABSOLUTE | |
4779 | MakeForm(BULLET, "Ball") | |
4780 | BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p) | |
4781 | for i = 1, 500 do | |
4782 | Swait() | |
4783 | BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2) | |
4784 | local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character) | |
4785 | MagicSphere(VT(30, 30, 30), 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 black", VT(-10, -10, -10) / 55) | |
4786 | if HIT ~= nil then | |
4787 | IMPACT = true | |
4788 | break | |
4789 | end | |
4790 | end | |
4791 | if IMPACT == false then | |
4792 | for i = 1, 60 do | |
4793 | Swait() | |
4794 | BULLET.Size = BULLET.Size * 0.9 | |
4795 | end | |
4796 | BULLET:remove() | |
4797 | else | |
4798 | CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10) | |
4799 | for i = 1, 195 do | |
4800 | Swait() | |
4801 | BULLET.Size = BULLET.Size * 0.99 | |
4802 | Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really blue", VT(i, 0, i) / 85) | |
4803 | end | |
4804 | CreateSound("438666001", BULLET, 10, 3) | |
4805 | Swait(35) | |
4806 | BULLET.Transparency = 1 | |
4807 | for i = 1, 30 do | |
4808 | for e = 1, 5 do | |
4809 | MagicSphere(VT(0.5, 0.5, 0.5), 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) | |
4810 | 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) | |
4811 | end | |
4812 | AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES) | |
4813 | CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10) | |
4814 | CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10) | |
4815 | CreateSound("1259054947", BULLET, 10, MRANDOM(8, 13) / 10) | |
4816 | MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2) | |
4817 | Swait(5) | |
4818 | for e = 1, #HITBODIES do | |
4819 | if HITBODIES[e] ~= nil then | |
4820 | local BOD = HITBODIES[e] | |
4821 | local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso") | |
4822 | if TORS then | |
4823 | BOD:BreakJoints() | |
4824 | for _, c in pairs(BOD:GetChildren()) do | |
4825 | if c.ClassName == "Part" or c.ClassName == "MeshPart" then | |
4826 | local bv = Instance.new("BodyVelocity") | |
4827 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
4828 | bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250 | |
4829 | bv.Parent = c | |
4830 | Debris:AddItem(bv, 0.2) | |
4831 | end | |
4832 | end | |
4833 | end | |
4834 | end | |
4835 | end | |
4836 | CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Really black", VT(i, 0, i) * 2) | |
4837 | end | |
4838 | MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(0, 0, 150), VT(12, 12, 12)) | |
4839 | Debris:AddItem(BULLET, 10) | |
4840 | end | |
4841 | end)) | |
4842 | ATTACK = false | |
4843 | Rooted = false | |
4844 | end | |
4845 | end | |
4846 | end | |
4847 | function CastWarpOutlines(TARGET) | |
4848 | coroutine.resume(coroutine.create(function() | |
4849 | local T = TARGET:GetChildren() | |
4850 | for i = 1, # T do | |
4851 | local child = T[i] | |
4852 | if child.ClassName == "Part" or child.ClassName == "MeshPart" then | |
4853 | local clone = child:Clone() | |
4854 | clone.Parent = Effects | |
4855 | clone.Anchored = true | |
4856 | clone.CanCollide = false | |
4857 | clone:ClearAllChildren() | |
4858 | clone.CFrame = child.CFrame | |
4859 | if clone.Name == "Head" then | |
4860 | if TARGET:FindFirstChildOfClass("MeshPart") == nil then | |
4861 | clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y) | |
4862 | end | |
4863 | end | |
4864 | if clone.ClassName == "MeshPart" then | |
4865 | clone.TextureID = "" | |
4866 | end | |
4867 | clone.BrickColor = BRICKC"Black" | |
4868 | clone.Material = "Neon" | |
4869 | coroutine.resume(coroutine.create(function() | |
4870 | for i = 1, 200 do | |
4871 | Swait() | |
4872 | clone.Transparency = clone.Transparency + 0.005 | |
4873 | clone.Size = clone.Size + VT(0.001,0.001,0.001) | |
4874 | end | |
4875 | clone:remove() | |
4876 | end)) | |
4877 | end | |
4878 | end | |
4879 | end)) | |
4880 | end | |
4881 | function Bloodbath() | |
4882 | local HASSTARTED = false | |
4883 | local target = nil | |
4884 | local targettorso = nil | |
4885 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
4886 | if Mouse.Target.Parent.Humanoid.PlatformStand == false then | |
4887 | target = Mouse.Target.Parent.Humanoid | |
4888 | targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso") | |
4889 | end | |
4890 | end | |
4891 | if target ~= nil then | |
4892 | CreateSound("305685800", Head, 10, 1) | |
4893 | targettorso.Anchored = true | |
4894 | HASSTARTED = true | |
4895 | ATTACK = true | |
4896 | Rooted = true | |
4897 | CastWarpOutlines(Character) | |
4898 | RootPart.CFrame = targettorso.CFrame * CF(0,0,2) | |
4899 | coroutine.resume(coroutine.create(function() | |
4900 | Swait(10*100) | |
4901 | if HASSTARTED == true then | |
4902 | ATTACK = false | |
4903 | Rooted = false | |
4904 | UNANCHOR = true | |
4905 | end | |
4906 | end)) | |
4907 | UNANCHOR = false | |
4908 | RootPart.Anchored = true | |
4909 | coroutine.resume(coroutine.create(function() | |
4910 | for i=0, 1, 0.1 / Animation_Speed do | |
4911 | Swait() | |
4912 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.05 / Animation_Speed) | |
4913 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.05 / Animation_Speed) | |
4914 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed) | |
4915 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed) | |
4916 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed) | |
4917 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed) | |
4918 | end | |
4919 | for i=0, 1, 0.1 / Animation_Speed do | |
4920 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(85)), 0.5 / Animation_Speed) | |
4921 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-85)), 0.5 / Animation_Speed) | |
4922 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
4923 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
4924 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
4925 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
4926 | end | |
4927 | getbloody(targettorso,25) | |
4928 | Swait(5) | |
4929 | targettorso:remove() | |
4930 | Swait(15) | |
4931 | ATTACK = false | |
4932 | Rooted = false | |
4933 | HASSTARTED = false | |
4934 | UNANCHOR = true | |
4935 | end)) | |
4936 | end | |
4937 | end | |
4938 | local MODE = "Main" | |
4939 | local SONG = 580177661 | |
4940 | PITCH = 0.98 | |
4941 | --Lightning({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}) | |
4942 | function Lightning(Table) | |
4943 | local Color = Table.Color or C3(1,1,1) | |
4944 | local StartPos = Table.Start or Torso.Position | |
4945 | local EndPos = Table.End or Mouse.Hit.p | |
4946 | local SegmentLength = Table.SegmentL or 2 | |
4947 | local Thickness = Table.Thickness or 0.1 | |
4948 | local Dissapear = Table.DoesFade or false | |
4949 | local Parent = Table.Ignore or Character | |
4950 | local MaxDist = Table.MaxDist or 400 | |
4951 | local Branches = Table.Branches or false | |
4952 | local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent) | |
4953 | local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength) | |
4954 | local LIGHTNINGMODEL = IT("Model",Effects) | |
4955 | LIGHTNINGMODEL.Name = "Lightning" | |
4956 | local LastBolt = nil | |
4957 | for E = 1, DISTANCE do | |
4958 | local ExtraSize = (DISTANCE-E)/15 | |
4959 | local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize)) | |
4960 | PART.Color = Color | |
4961 | MakeForm(PART,"Cyl") | |
4962 | if LastBolt == nil then | |
4963 | PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
4964 | else | |
4965 | 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,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
4966 | end | |
4967 | LastBolt = PART | |
4968 | if Branches == true then | |
4969 | local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2)) | |
4970 | if CHOICE == 1 then | |
4971 | local LASTBRANCH = nil | |
4972 | for i = 1, MRANDOM(2,5) do | |
4973 | local ExtraSize2 = ((DISTANCE-E)/25)/i | |
4974 | local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2)) | |
4975 | PART.Color = Color | |
4976 | MakeForm(PART,"Cyl") | |
4977 | if LASTBRANCH == nil then | |
4978 | 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) | |
4979 | else | |
4980 | 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) | |
4981 | end | |
4982 | LASTBRANCH = PART | |
4983 | end | |
4984 | end | |
4985 | end | |
4986 | end | |
4987 | if Dissapear == true then | |
4988 | coroutine.resume(coroutine.create(function() | |
4989 | for i = 1, 10 do | |
4990 | Swait() | |
4991 | for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do | |
4992 | if c.ClassName == "Part" then | |
4993 | c.Transparency = i/10 | |
4994 | end | |
4995 | end | |
4996 | end | |
4997 | LIGHTNINGMODEL:remove() | |
4998 | end)) | |
4999 | elseif Dissapear == false then | |
5000 | Debris:AddItem(LIGHTNINGMODEL,0.1) | |
5001 | end | |
5002 | return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL} | |
5003 | end | |
5004 | ||
5005 | function Switch() | |
5006 | ATTACK = true | |
5007 | Rooted = true | |
5008 | if MODE == "Main" then | |
5009 | CreateSound(178038408, Character, 5, 1, false) | |
5010 | SONG = 1873219898 | |
5011 | VOLUME = 3 | |
5012 | PITCH = 1 | |
5013 | sick.TimePosition = 0 | |
5014 | top.ShirtTemplate = "rbxassetid://22636556" | |
5015 | bottom.PantsTemplate = "rbxassetid://22649545" | |
5016 | for i=0, 1.5, 0.1 / Animation_Speed do | |
5017 | Swait() | |
5018 | 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) | |
5019 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5020 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(80), RAD(75), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5021 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5022 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5023 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5024 | end | |
5025 | for i=0, 2.5, 0.1 / Animation_Speed do | |
5026 | Swait() | |
5027 | 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) | |
5028 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5029 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5030 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5031 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5032 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5033 | end | |
5034 | WACKYEFFECT({Time = 55, EffectType = "Sphere", Size = VT(3.55,3.55,3.55), Size2 = VT(95,95,95), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(0,0,0), SoundID = 743521450, SoundPitch = 0.95, SoundVolume = 6}) | |
5035 | WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(3.55,3.5,3.5), Size2 = VT(130,3.5,3.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(1,0,0), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6}) | |
5036 | WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(3.5,3.5,3.55), Size2 = VT(3.5,3.5,130), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(0,0,0), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6}) | |
5037 | WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(3.5,3.55,3.5), Size2 = VT(3.5,130,3.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(1,0,0), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6}) | |
5038 | CameraEnshaking(15,25) | |
5039 | spawn(function() | |
5040 | local TweenService = game:GetService("TweenService") | |
5041 | local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(235,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0)} | |
5042 | ||
5043 | local Int = 0 | |
5044 | while wait(0.5) do | |
5045 | if Int == #Colours then Int = 0 end | |
5046 | Int = Int+0.8 | |
5047 | TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play() | |
5048 | end | |
5049 | end) | |
5050 | text.Text = "Dark Shooter" | |
5051 | MODE = "Superior" | |
5052 | SKILL1TEXT:remove() | |
5053 | SKILL2TEXT:remove() | |
5054 | SKILL3TEXT:remove() | |
5055 | SKILL4TEXT:remove() | |
5056 | SKILL5TEXT:remove() | |
5057 | SKILL6TEXT:remove() | |
5058 | SKILL7TEXT:remove() | |
5059 | SKILL8TEXT:remove() | |
5060 | SKILL9TEXT:remove() | |
5061 | SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Q] True Absoluteum", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1") | |
5062 | SKILL2TEXT = CreateLabel(SKILL2FRAME, "[E] True Supernova", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2") | |
5063 | SKILL3TEXT = CreateLabel(SKILL3FRAME, "[R] True Nuke", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3") | |
5064 | SKILL4TEXT = CreateLabel(SKILL4FRAME, "[T] STOMP!(Can spam)", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4") | |
5065 | SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Y] CONTINUE", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5") | |
5066 | SKILL6TEXT = CreateLabel(SKILL6FRAME, "[U] CONTINUE", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6") | |
5067 | SKILL7TEXT = CreateLabel(SKILL7FRAME, "[I] CONTINUE", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7") | |
5068 | SKILL8TEXT = CreateLabel(SKILL8FRAME, "[O] CONTINUE", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8") | |
5069 | SKILL9TEXT = CreateLabel(SKILL9FRAME, "[P] CONTINUE", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8") | |
5070 | elseif MODE == "Superior" then | |
5071 | CreateSound(147722227, Torso, 4, 1.3, false) | |
5072 | for i=0, 1.5, 0.1 / Animation_Speed do | |
5073 | Swait() | |
5074 | 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) | |
5075 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5076 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(80), RAD(75), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5077 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5078 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5079 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5080 | end | |
5081 | for i=0, 1.5, 0.1 / Animation_Speed do | |
5082 | Swait() | |
5083 | 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) | |
5084 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5085 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5086 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5087 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5088 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5089 | end | |
5090 | SONG = 580177661 | |
5091 | PITCH = 0.98 | |
5092 | top.ShirtTemplate = "rbxassetid://2322829627" | |
5093 | bottom.PantsTemplate = "rbxassetid://2322834332" | |
5094 | spawn(function() | |
5095 | local TweenService = game:GetService("TweenService") | |
5096 | local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0)} | |
5097 | local Int = 0 | |
5098 | while wait(0.5) do | |
5099 | if Int == #Colours then Int = 0 end | |
5100 | Int = Int+1.4 | |
5101 | TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play() | |
5102 | end | |
5103 | end) | |
5104 | text.Text = "Dead Shooter" | |
5105 | MODE = "Main" | |
5106 | SKILL1TEXT:remove() | |
5107 | SKILL2TEXT:remove() | |
5108 | SKILL3TEXT:remove() | |
5109 | SKILL4TEXT:remove() | |
5110 | SKILL5TEXT:remove() | |
5111 | SKILL6TEXT:remove() | |
5112 | SKILL7TEXT:remove() | |
5113 | SKILL8TEXT:remove() | |
5114 | SKILL9TEXT:remove() | |
5115 | SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Q] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1") | |
5116 | SKILL2TEXT = CreateLabel(SKILL2FRAME, "[E] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2") | |
5117 | SKILL3TEXT = CreateLabel(SKILL3FRAME, "[R] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3") | |
5118 | SKILL4TEXT = CreateLabel(SKILL4FRAME, "[T] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4") | |
5119 | SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Y] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5") | |
5120 | SKILL6TEXT = CreateLabel(SKILL6FRAME, "[U] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6") | |
5121 | SKILL7TEXT = CreateLabel(SKILL7FRAME, "[I] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7") | |
5122 | SKILL8TEXT = CreateLabel(SKILL8FRAME, "[O] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8") | |
5123 | SKILL9TEXT = CreateLabel(SKILL9FRAME, "[P] LOCKED", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8") | |
5124 | end | |
5125 | ATTACK = false | |
5126 | Rooted = false | |
5127 | end | |
5128 | function TimeStop () | |
5129 | local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
5130 | CHOICE = 6 | |
5131 | CreateSound(1690475123, Character, 5, 1, false) | |
5132 | PITCH = 0.98 | |
5133 | VOLUME = 2 | |
5134 | chat ("Enough...") | |
5135 | back = CreateSound(1841228386, Character, 9999, 1, false) | |
5136 | local killsky = Instance.new('Sky', game:GetService'Lighting') | |
5137 | killsky.SkyboxBk = "rbxassetid://1013852" | |
5138 | killsky.SkyboxDn = "rbxassetid://1013853" | |
5139 | killsky.SkyboxFt = "rbxassetid://1013850" | |
5140 | killsky.SkyboxLf = "rbxassetid://1013851" | |
5141 | killsky.SkyboxRt = "rbxassetid://1013849" | |
5142 | killsky.SkyboxUp = "rbxassetid://1013854" | |
5143 | killsky.StarCount = 0 | |
5144 | killsky.SunAngularSize = 0 | |
5145 | killsky.MoonAngularSize = 0 | |
5146 | killsky.MoonTextureId = "" | |
5147 | killsky.CelestialBodiesShown = false | |
5148 | game.Lighting.FogColor = Color3.new(1,1,0) | |
5149 | game.Lighting.FogEnd = 1400 | |
5150 | if HITFLOOR ~= nil then | |
5151 | ATTACK = false | |
5152 | Rooted = false | |
5153 | local RINGSPIN = true | |
5154 | local CONSTRUCTING = true | |
5155 | local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0)) | |
5156 | RING.Color = C3(0,0,0) | |
5157 | MakeForm(RING,"Cyl") | |
5158 | RING.CFrame = CF(HITPOS) | |
5159 | coroutine.resume(coroutine.create(function() | |
5160 | repeat | |
5161 | Swait() | |
5162 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
5163 | until CONSTRUCTING == false | |
5164 | repeat | |
5165 | Swait() | |
5166 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
5167 | until RINGSPIN == false | |
5168 | for i = 1, 25 do | |
5169 | Swait() | |
5170 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
5171 | RING.Size = RING.Size - VT(0.15,0,0.15) | |
5172 | --DECAL.Transparency = DECAL.Transparency + 1/25 | |
5173 | RING.Transparency = RING.Transparency + 1/25 | |
5174 | end | |
5175 | RING:remove() | |
5176 | end)) | |
5177 | for i = 1, 15 do | |
5178 | Swait() | |
5179 | RING.Size = RING.Size + VT(0,0,0) | |
5180 | RING.Transparency = RING.Transparency - 1/15 | |
5181 | end | |
5182 | end | |
5183 | local RANDOMEFFECT = MRANDOM(1) | |
5184 | local BASE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2)) | |
5185 | BASE.Color = C3(0,0,0) | |
5186 | BASE.Transparency = 1 | |
5187 | BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z)) | |
5188 | if RANDOMEFFECT == 1 then | |
5189 | local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3)) | |
5190 | FIELD.CFrame = BASE.CFrame | |
5191 | MakeForm(FIELD,"Ball") | |
5192 | for i = 1, 50 do | |
5193 | Swait() | |
5194 | FIELD.Size = VT(0,0,0) | |
5195 | FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0) | |
5196 | end | |
5197 | end | |
5198 | wait(0.2) | |
5199 | local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3)) | |
5200 | FIELD.CFrame = BASE.CFrame | |
5201 | local LOOP = CreateSound(1393698948, Character, 0, 1, true) | |
5202 | coroutine.resume(coroutine.create(function() | |
5203 | for i = 1, 75 do | |
5204 | Swait() | |
5205 | LOOP.Volume = LOOP.Volume + 10/75 | |
5206 | LOOP.Parent = FIELD | |
5207 | local CHILDREN = workspace:GetDescendants() | |
5208 | for index, CHILD in pairs(CHILDREN) do | |
5209 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
5210 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
5211 | if HUM then | |
5212 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
5213 | if TORSO then | |
5214 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then | |
5215 | HUM.Health = HUM.Health - 0 | |
5216 | TORSO.Velocity = VT(0,5,0) | |
5217 | HUM.PlatformStand = true | |
5218 | if TORSO.RotVelocity.Magnitude < 15 then | |
5219 | TORSO.Anchored = true | |
5220 | end | |
5221 | end | |
5222 | end | |
5223 | end | |
5224 | end | |
5225 | end | |
5226 | FIELD.Size = FIELD.Size + VT(90,90,90) | |
5227 | FIELD.Transparency = FIELD.Transparency + 0.8/75 | |
5228 | end | |
5229 | for i = 1, 500 do | |
5230 | Swait() | |
5231 | LOOP.Parent = FIELD | |
5232 | local CHILDREN = workspace:GetDescendants() | |
5233 | for index, CHILD in pairs(CHILDREN) do | |
5234 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
5235 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
5236 | if HUM then | |
5237 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
5238 | if TORSO then | |
5239 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then | |
5240 | TORSO.Velocity = VT(0,5,0) | |
5241 | HUM.Health = HUM.Health - 0 | |
5242 | HUM.PlatformStand = true | |
5243 | if TORSO.RotVelocity.Magnitude < 15 then | |
5244 | TORSO.Anchored = true | |
5245 | end | |
5246 | end | |
5247 | end | |
5248 | end | |
5249 | end | |
5250 | end | |
5251 | end | |
5252 | wait (20) | |
5253 | back:Remove() | |
5254 | CreateSound(1538466750, Character, 99999, 1, false) | |
5255 | chat ("I will let you go") | |
5256 | killsky:Remove() | |
5257 | game.Lighting.FogEnd = 90000000 | |
5258 | wait (5) | |
5259 | CHOICE = MRANDOM (1,5) | |
5260 | for i = 1, 25 do | |
5261 | Swait() | |
5262 | LOOP.Volume = LOOP.Volume + 10/25 | |
5263 | LOOP.Parent = FIELD | |
5264 | local CHILDREN = workspace:GetDescendants() | |
5265 | for index, CHILD in pairs(CHILDREN) do | |
5266 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
5267 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
5268 | if HUM then | |
5269 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
5270 | if TORSO then | |
5271 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then | |
5272 | TORSO.Velocity = VT(0,5,0) | |
5273 | HUM.Health = HUM.Health - 0 | |
5274 | HUM.PlatformStand = false | |
5275 | if TORSO.RotVelocity.Magnitude < 15 then | |
5276 | TORSO.Anchored = false | |
5277 | end | |
5278 | end | |
5279 | end | |
5280 | end | |
5281 | end | |
5282 | FIELD.Size = FIELD.Size - VT(3,3,3) | |
5283 | FIELD.Transparency = FIELD.Transparency + 0.2/25 | |
5284 | end | |
5285 | end | |
5286 | end)) | |
5287 | FIELD:Remove() | |
5288 | ATTACK = false | |
5289 | Rooted = false | |
5290 | end | |
5291 | ||
5292 | --/=================================\\ | |
5293 | --|| ASSIGN THINGS TO KEYS | |
5294 | --\\=================================// | |
5295 | ||
5296 | function MouseDown(Mouse) | |
5297 | HOLD = true | |
5298 | if ATTACK == false then | |
5299 | end | |
5300 | end | |
5301 | ||
5302 | function MouseUp(Mouse) | |
5303 | HOLD = false | |
5304 | end | |
5305 | ||
5306 | function KeyDown(Key) | |
5307 | KEYHOLD = true | |
5308 | if Key == "z" and ATTACK == false then | |
5309 | Shot() | |
5310 | end | |
5311 | ||
5312 | if Key == "b" and ATTACK == false then | |
5313 | Fire_At_Will() | |
5314 | end | |
5315 | ||
5316 | if Key == "c" and ATTACK == false then | |
5317 | TrustIssues() | |
5318 | wait(0.1) | |
5319 | Deathbound() | |
5320 | end | |
5321 | ||
5322 | if Key == "v" and ATTACK == false then | |
5323 | Orbital_Devastor() | |
5324 | end | |
5325 | ||
5326 | if Key == "x" and ATTACK == false then | |
5327 | TrustIssues() | |
5328 | wait(0.1) | |
5329 | Eon_Fire() | |
5330 | end | |
5331 | if Key == "n" and ATTACK == false then | |
5332 | TrustIssues() | |
5333 | wait(0.1) | |
5334 | Nuke() | |
5335 | end | |
5336 | if Key == "m" and ATTACK == false then | |
5337 | TrustIssues() | |
5338 | wait(0.1) | |
5339 | Supernova() | |
5340 | ||
5341 | end | |
5342 | if Key == "f" and ATTACK == false then | |
5343 | Explosion() | |
5344 | end | |
5345 | if Key == "g" and ATTACK == false then | |
5346 | ShriekingBlast() | |
5347 | end | |
5348 | if Key == "h" and ATTACK == false then | |
5349 | Dirtface() | |
5350 | end | |
5351 | if Key == "j" and ATTACK == false then | |
5352 | Destruction_Beam() | |
5353 | end | |
5354 | ||
5355 | if Key == "k" and ATTACK == false then | |
5356 | TrustIssues() | |
5357 | wait(0.1) | |
5358 | Absoluteum() | |
5359 | end | |
5360 | if Key == "l" and ATTACK == false then | |
5361 | Bloodbath() | |
5362 | wait(0.1) | |
5363 | TrustIssues() | |
5364 | end | |
5365 | if Key == "1" and ATTACK == false then | |
5366 | Switch() | |
5367 | end | |
5368 | if Key == "q" and ATTACK == false then | |
5369 | if MODE == "Superior" then | |
5370 | Absoluteum2() | |
5371 | end | |
5372 | end | |
5373 | if Key == "e" and ATTACK == false then | |
5374 | if MODE == "Superior" then | |
5375 | Supernova2() | |
5376 | end | |
5377 | end | |
5378 | if Key == "r" and ATTACK == false then | |
5379 | if MODE == "Superior" then | |
5380 | FakeNuke() | |
5381 | wait(0.5) | |
5382 | TrustIssues() | |
5383 | wait(1) | |
5384 | RealNuke() | |
5385 | end | |
5386 | end | |
5387 | if Key == "t" and ATTACK == false then | |
5388 | if MODE == "Superior" then | |
5389 | TimeStop() | |
5390 | ||
5391 | end | |
5392 | ||
5393 | end | |
5394 | if Key == "u" and ATTACK == false then | |
5395 | if MODE == "Superior" then | |
5396 | ||
5397 | end | |
5398 | ||
5399 | end | |
5400 | if Key == "y" and ATTACK == false then | |
5401 | if MODE == "Superior" then | |
5402 | ||
5403 | end | |
5404 | ||
5405 | end | |
5406 | if Key == "i" and ATTACK == false then | |
5407 | if MODE == "Superior" then | |
5408 | end | |
5409 | ||
5410 | end | |
5411 | if Key == "o" and ATTACK == false then | |
5412 | if MODE == "Superior" then | |
5413 | end | |
5414 | ||
5415 | end | |
5416 | if Key == "p" and ATTACK == false then | |
5417 | ||
5418 | end | |
5419 | end | |
5420 | ||
5421 | function KeyUp(Key) | |
5422 | KEYHOLD = false | |
5423 | end | |
5424 | ||
5425 | Mouse.Button1Down:connect(function(NEWKEY) | |
5426 | MouseDown(NEWKEY) | |
5427 | end) | |
5428 | Mouse.Button1Up:connect(function(NEWKEY) | |
5429 | MouseUp(NEWKEY) | |
5430 | end) | |
5431 | Mouse.KeyDown:connect(function(NEWKEY) | |
5432 | KeyDown(NEWKEY) | |
5433 | end) | |
5434 | Mouse.KeyUp:connect(function(NEWKEY) | |
5435 | KeyUp(NEWKEY) | |
5436 | end) | |
5437 | ||
5438 | --//=================================\\ | |
5439 | --\\=================================// | |
5440 | ||
5441 | ||
5442 | function unanchor() | |
5443 | if UNANCHOR == true then | |
5444 | g = Character:GetChildren() | |
5445 | for i = 1, #g do | |
5446 | if g[i].ClassName == "Part" then | |
5447 | g[i].Anchored = false | |
5448 | end | |
5449 | end | |
5450 | end | |
5451 | end | |
5452 | ||
5453 | ||
5454 | --//=================================\\ | |
5455 | --|| WRAP THE WHOLE SCRIPT UP | |
5456 | --\\=================================// | |
5457 | ||
5458 | Humanoid.Changed:connect(function(Jump) | |
5459 | if Jump == "Jump" and (Disable_Jump == true) then | |
5460 | Humanoid.Jump = false | |
5461 | end | |
5462 | end) | |
5463 | ||
5464 | sick.AncestryChanged:Connect(function() | |
5465 | sick.Parent = Character | |
5466 | end) | |
5467 | ||
5468 | while true do | |
5469 | Swait() | |
5470 | script.Parent = WEAPONGUI | |
5471 | ANIMATE.Parent = nil | |
5472 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
5473 | v:Stop(); | |
5474 | end | |
5475 | if Character:FindFirstChildOfClass("Humanoid") == nil then | |
5476 | Humanoid = IT("Humanoid",Character) | |
5477 | end | |
5478 | Humanoid.HipHeight = 2 | |
5479 | SINE = SINE + CHANGE | |
5480 | for LW = 1, #LEFTWINGS do | |
5481 | if LEFTWINGS[LW] ~= nil then | |
5482 | LEFTWINGS[LW].C1 = Clerp(LEFTWINGS[LW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4.5 * SIN(SINE / 12)), RAD(1), RAD(-3 + 3 * SIN(SINE / 12))), 0.4 / Animation_Speed) | |
5483 | end | |
5484 | end | |
5485 | for RW = 1, #RIGHTWINGS do | |
5486 | if RIGHTWINGS[RW] ~= nil then | |
5487 | RIGHTWINGS[RW].C1 = Clerp(RIGHTWINGS[RW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4.5 * SIN(SINE / 12)), RAD(1), RAD(3 - 3 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5488 | end | |
5489 | end | |
5490 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
5491 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
5492 | HairWeld1.C1 = Clerp(HairWeld1.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 1.5 * SIN(SINE / 12) - 2.5 * COS(SINE / 12)), RAD(4.5 * SIN(SINE / 12))), 0.6 / Animation_Speed) | |
5493 | HoodWeld.C1 = Clerp(HoodWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 12) - 1.75 * COS(SINE / 12)), RAD(2.75 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5494 | if ATTACK == false then | |
5495 | if TORSOVELOCITY < 1 then | |
5496 | 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) | |
5497 | 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) | |
5498 | 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) | |
5499 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5500 | 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) | |
5501 | 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) | |
5502 | elseif TORSOVELOCITY > 1 then | |
5503 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5504 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5505 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.6) * ANGLES(RAD(165), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
5506 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5507 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5508 | 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) | |
5509 | end | |
5510 | end | |
5511 | if MODE == "Superior" then | |
5512 | if TORSOVELOCITY < 1 then | |
5513 | 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(0)), 1 / Animation_Speed) | |
5514 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5515 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
5516 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5517 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5518 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5519 | elseif TORSOVELOCITY > 1 then | |
5520 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
5521 | 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) | |
5522 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
5523 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
5524 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
5525 | 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) | |
5526 | end | |
5527 | end | |
5528 | unanchor() | |
5529 | Humanoid.MaxHealth = "inf" | |
5530 | Humanoid.Health = "inf" | |
5531 | if Rooted == false then | |
5532 | Disable_Jump = false | |
5533 | Humanoid.WalkSpeed = Speed | |
5534 | elseif Rooted == true then | |
5535 | Disable_Jump = true | |
5536 | Humanoid.WalkSpeed = 0 | |
5537 | end | |
5538 | if INTRO == false and INSTANT == false then | |
5539 | INTRO = true | |
5540 | coroutine.resume(coroutine.create(function() | |
5541 | sick:Play() | |
5542 | sick:Resume() | |
5543 | Intro() | |
5544 | end)) | |
5545 | end | |
5546 | if INSTANT == true then | |
5547 | if TRANSFORMED == false then | |
5548 | sick.TimePosition = 20.7 | |
5549 | sick:Play() | |
5550 | sick:Resume() | |
5551 | end | |
5552 | TRANSFORMED = true | |
5553 | end | |
5554 | refit() | |
5555 | if Head:FindFirstChild("face") then | |
5556 | Head.face.Texture = "rbxassetid://900134257" | |
5557 | end | |
5558 | sick.SoundId = "rbxassetid://"..SONG | |
5559 | sick.Looped = true | |
5560 | sick.Pitch = PITCH | |
5561 | sick.Volume = VOLUME | |
5562 | sick.Parent = Torso | |
5563 | sick:Resume() | |
5564 | if INTRO == false and INSTANT == false then | |
5565 | INTRO = true | |
5566 | coroutine.resume(coroutine.create(function() | |
5567 | sick:Play() | |
5568 | sick:Resume() | |
5569 | Intro() | |
5570 | end)) | |
5571 | end | |
5572 | if INSTANT == true then | |
5573 | if TRANSFORMED == false then | |
5574 | sick.TimePosition = 20.7 | |
5575 | sick:Play() | |
5576 | sick:Resume() | |
5577 | end | |
5578 | TRANSFORMED = true | |
5579 | end | |
5580 | script.Parent = PlayerGui | |
5581 | Character.Parent = workspace | |
5582 | Humanoid.Parent = Character | |
5583 | end | |
5584 | ||
5585 | --sick.Playing = false | |
5586 | Humanoid.Name = "Dead = Banisher"..Player.Name | |
5587 | --//=================================\\ | |
5588 | --\\=================================// | |
5589 | ||
5590 | ||
5591 | ||
5592 | ||
5593 | ||
5594 | --//====================================================\\-- | |
5595 | --|| END OF SCRIPT | |
5596 | --\\====================================================//-- |