SHOW:
|
|
- or go back to the newest paste.
1 | -------------------|| | |
2 | --------------------\\ | |
3 | --||||||||||]]]]]]]]]\\ | |
4 | ---------------------\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ | |
5 | --EDIT BY INFINITEONEWITHDANK NAME OF SCRIPT: BURNING HOPE REBORN I WILL BURN ALL YOU OF YOU TO DUST AND FUFILL EVERYONE'S HOPES AND DREAMS|]]>> | |
6 | ---------------------/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
7 | --||||||||||]]]]]]]]]// | |
8 | --------------------// | |
9 | -------------------|| | |
10 | local Player = game:GetService("Players").TameDoNotClick | |
11 | local Mouse,mouse,UserInputService,ContextActionService | |
12 | do | |
13 | script.Parent = Player.Character | |
14 | local CAS = {Actions={}} | |
15 | local Event = Instance.new("RemoteEvent") | |
16 | Event.Name = "UserInput_Event" | |
17 | Event.Parent = Player.Character | |
18 | local fakeEvent = function() | |
19 | local t = {_fakeEvent=true} | |
20 | t.Connect = function(self,f)self.Function=f end | |
21 | t.connect = t.Connect | |
22 | return t | |
23 | end | |
24 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
25 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
26 | function CAS:BindAction(name,fun,touch,...) | |
27 | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} | |
28 | end | |
29 | function CAS:UnbindAction(name) | |
30 | CAS.Actions[name] = nil | |
31 | end | |
32 | local function te(self,ev,...) | |
33 | local t = m[ev] | |
34 | if t and t._fakeEvent and t.Function then | |
35 | t.Function(...) | |
36 | end | |
37 | end | |
38 | m.TrigEvent = te | |
39 | UIS.TrigEvent = te | |
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
46 | if io.UserInputState == Enum.UserInputState.Begin then | |
47 | m:TrigEvent("Button1Down") | |
48 | else | |
49 | m:TrigEvent("Button1Up") | |
50 | end | |
51 | else | |
52 | for n,t in pairs(CAS.Actions) do | |
53 | for _,k in pairs(t.Keys) do | |
54 | if k==io.KeyCode then | |
55 | t.Function(t.Name,io.UserInputState,io) | |
56 | end | |
57 | end | |
58 | end | |
59 | if io.UserInputState == Enum.UserInputState.Begin then | |
60 | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) | |
61 | UIS:TrigEvent("InputBegan",io,false) | |
62 | else | |
63 | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) | |
64 | UIS:TrigEvent("InputEnded",io,false) | |
65 | end | |
66 | end | |
67 | end) | |
68 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
69 | end | |
70 | ||
71 | script.Name = "BurningHopeReborn" | |
72 | script:ClearAllChildren() | |
73 | ||
74 | print("Edit By InfiniteOneWithdank, Shackluster/PityPolygon Made The Original Base Of This Script") | |
75 | print("======| BURNING HOPE REBORN |======") | |
76 | warn("I Have Awakened Once More But I Am Not Like Before..") | |
77 | ||
78 | wait(0.2) | |
79 | ||
80 | Player = game:GetService("Players").TameDoNotClick | |
81 | PlayerGui = Player.PlayerGui | |
82 | Cam = workspace.CurrentCamera | |
83 | Backpack = Player.Backpack | |
84 | Character = Player.Character | |
85 | Humanoid = Character.Humanoid | |
86 | RootPart = Character.HumanoidRootPart | |
87 | Torso = Character.Torso | |
88 | Head = Character.Head | |
89 | RightArm = Character["Right Arm"] | |
90 | LeftArm = Character["Left Arm"] | |
91 | RightLeg = Character["Right Leg"] | |
92 | LeftLeg = Character["Left Leg"] | |
93 | RootJoint = RootPart.RootJoint | |
94 | Neck = Torso.Neck | |
95 | RightShoulder = Torso["Right Shoulder"] | |
96 | LeftShoulder = Torso["Left Shoulder"] | |
97 | RightHip = Torso["Right Hip"] | |
98 | LeftHip = Torso["Left Hip"] | |
99 | - | local p = game:GetService("Players").EnderSeba |
99 | + | local p = game:GetService("Players").TameDoNotClick |
100 | - | local plr = game:GetService("Players").EnderSeba |
100 | + | local plr = game:GetService("Players").TameDoNotClick |
101 | - | local player = game:GetService("Players").EnderSeba |
101 | + | local player = game:GetService("Players").TameDoNotClick |
102 | local char = p.Character | |
103 | local larm = char:WaitForChild("Left Arm") | |
104 | local rarm = char:WaitForChild("Right Arm") | |
105 | local lleg = char:WaitForChild("Left Leg") | |
106 | local rleg = char:WaitForChild("Right Leg") | |
107 | local hed = char:WaitForChild("Head") | |
108 | local torso = char:WaitForChild("Torso") | |
109 | local root = char:WaitForChild("HumanoidRootPart") | |
110 | local hum = char:FindFirstChildOfClass("Humanoid") | |
111 | local debris = game:GetService("Debris") | |
112 | local run = game:GetService("RunService") | |
113 | local rs = run.RenderStepped | |
114 | local cam = workspace.CurrentCamera | |
115 | local DAMAGEMULTIPLIER = 1 | |
116 | local TIME = 0 | |
117 | ||
118 | IT = Instance.new | |
119 | CF = CFrame.new | |
120 | cf = CFrame.new | |
121 | VT = Vector3.new | |
122 | RAD = math.rad | |
123 | C3 = Color3.new | |
124 | UD2 = UDim2.new | |
125 | BRICKC = BrickColor.new | |
126 | ANGLES = CFrame.Angles | |
127 | angles = CFrame.Angles | |
128 | EULER = CFrame.fromEulerAnglesXYZ | |
129 | COS = math.cos | |
130 | ACOS = math.acos | |
131 | SIN = math.sin | |
132 | ASIN = math.asin | |
133 | ABS = math.abs | |
134 | MRANDOM = math.random | |
135 | FLOOR = math.floor | |
136 | CRGB = Color3.fromRGB | |
137 | ||
138 | ----------------------------------- | |
139 | --||/////// Fire Is My Creation \\\\\\\\||-- | |
140 | --><Values | |
141 | Animation_Speed = 3 | |
142 | local FORCERESET = false | |
143 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
144 | local Speed = 16 | |
145 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
146 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
147 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
148 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
149 | local DAMAGEMULTIPLIER = 1 | |
150 | local ANIM = "Idle" | |
151 | local ATTACK = false | |
152 | local EQUIPPED = false | |
153 | local HOLD = false | |
154 | local COMBO = 1 | |
155 | local Rooted = false | |
156 | local SINE = 0 | |
157 | local sine = 0 | |
158 | local KEYHOLD = false | |
159 | local CHANGE = 2 / Animation_Speed | |
160 | local WALKINGANIM = false | |
161 | local VALUE1 = false | |
162 | local VALUE2 = false | |
163 | local ROBLOXIDLEANIMATION = IT("Animation") | |
164 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
165 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
166 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
167 | local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
168 | WEAPONGUI.Name = "BanishV3Gui" | |
169 | local Weapon = IT("Model") | |
170 | Weapon.Name = "Adds" | |
171 | local Effects = IT("Folder", Weapon) | |
172 | Effects.Name = "Effects" | |
173 | local ANIMATOR = Humanoid.Animator | |
174 | local ANIMATE = Character:FindFirstChild("Animate") | |
175 | local UNANCHOR = true | |
176 | local TOBANISH = {} | |
177 | local Effects2 = {} | |
178 | local LEVEL = 6 --Burning Hope's Level This Will Be Enhanced Once Reborned But This Number Stays The Same | |
179 | local SIZE = 1 | |
180 | local Decal = IT("Decal") | |
181 | script.Parent = PlayerGui | |
182 | ||
183 | local sick = IT("Sound",RootPart) | |
184 | ||
185 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
186 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
187 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
188 | ----------------------------------- | |
189 | ||
190 | ||
191 | ----------------------------------- | |
192 | ---------------------------------> | |
193 | ----------------------------------- | |
194 | ||
195 | ArtificialHB = Instance.new("BindableEvent", script) | |
196 | ArtificialHB.Name = "ArtificialHB" | |
197 | ||
198 | script:WaitForChild("ArtificialHB") | |
199 | ||
200 | frame = Frame_Speed | |
201 | tf = 0 | |
202 | allowframeloss = false | |
203 | tossremainder = false | |
204 | lastframe = tick() | |
205 | script.ArtificialHB:Fire() | |
206 | ||
207 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
208 | tf = tf + s | |
209 | if tf >= frame then | |
210 | if allowframeloss then | |
211 | script.ArtificialHB:Fire() | |
212 | lastframe = tick() | |
213 | else | |
214 | for i = 1, math.floor(tf / frame) do | |
215 | script.ArtificialHB:Fire() | |
216 | end | |
217 | lastframe = tick() | |
218 | end | |
219 | if tossremainder then | |
220 | tf = 0 | |
221 | else | |
222 | tf = tf - frame * math.floor(tf / frame) | |
223 | end | |
224 | end | |
225 | end) | |
226 | ||
227 | ----------------------------------- | |
228 | ||
229 | --><Rainbow Function Fixed | |
230 | local cR=255 | |
231 | local cG=0 | |
232 | local cB=0 | |
233 | local flg5=1 local omgidk=1 | |
234 | local add=10.5 | |
235 | game:GetService('RunService').Heartbeat:connect(function() | |
236 | if omgidk>10000 then omgidk=0 end | |
237 | omgidk=omgidk+1 | |
238 | if cR>=255 then flg5=1 end | |
239 | if cG>=255 then flg5=2 end | |
240 | if cB>=255 then flg5=3 end | |
241 | if flg5==1 then cR=cR-add cG=cG+add end | |
242 | if flg5==2 then cG=cG-add cB=cB+add end | |
243 | if flg5==3 then cB=cB-add cR=cR+add end | |
244 | end) | |
245 | ||
246 | --><ALL OF THE MODELS AND PARTICLES | |
247 | ||
248 | m=Instance.new('Model',Character) | |
249 | it=Instance.new | |
250 | function nooutline(part) | |
251 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
252 | end | |
253 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
254 | local fp=it("Part") | |
255 | fp.formFactor=formfactor | |
256 | fp.Parent=parent | |
257 | fp.Reflectance=reflectance | |
258 | fp.Transparency=transparency | |
259 | fp.CanCollide=false | |
260 | fp.Locked=true | |
261 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
262 | fp.Name=name | |
263 | fp.Size=size | |
264 | fp.Position=Character.Torso.Position | |
265 | nooutline(fp) | |
266 | fp.Material=material | |
267 | fp:BreakJoints() | |
268 | return fp | |
269 | end | |
270 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
271 | local mesh=it(Mesh) | |
272 | mesh.Parent=part | |
273 | if Mesh=="SpecialMesh" then | |
274 | mesh.MeshType=meshtype | |
275 | mesh.MeshId=meshid | |
276 | end | |
277 | mesh.Offset=offset | |
278 | mesh.Scale=scale | |
279 | return mesh | |
280 | end | |
281 | function weld(parent,part0,part1,c0,c1) | |
282 | local weld=it("Weld") | |
283 | weld.Parent=parent | |
284 | weld.Part0=part0 | |
285 | weld.Part1=part1 | |
286 | weld.C0=c0 | |
287 | weld.C1=c1 | |
288 | return weld | |
289 | end | |
290 | ||
291 | Handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle",Vector3.new(4, 1, 2)) | |
292 | 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)) | |
293 | Emitter=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
294 | 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)) | |
295 | Emitter1=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter1",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
296 | 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)) | |
297 | Emitter10=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter10",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
298 | 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)) | |
299 | Emitter11=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter11",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
300 | 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)) | |
301 | Emitter12=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter12",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
302 | 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)) | |
303 | Emitter13=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter13",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
304 | 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)) | |
305 | Emitter14=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter14",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
306 | 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)) | |
307 | Emitter15=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter15",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
308 | 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)) | |
309 | Emitter16=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter16",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
310 | 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)) | |
311 | Emitter17=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter17",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
312 | 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)) | |
313 | Emitter18=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter18",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
314 | 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)) | |
315 | Emitter19=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter19",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
316 | 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)) | |
317 | Emitter2=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter2",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
318 | 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)) | |
319 | Emitter20=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter20",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
320 | 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)) | |
321 | Emitter21=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter21",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
322 | 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)) | |
323 | Emitter22=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter22",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
324 | 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)) | |
325 | Emitter23=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter23",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
326 | 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)) | |
327 | Emitter24=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter24",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
328 | 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)) | |
329 | Emitter25=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter25",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
330 | 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)) | |
331 | Emitter26=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter26",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
332 | 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)) | |
333 | Emitter27=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter27",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
334 | 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)) | |
335 | Emitter28=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter28",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
336 | 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)) | |
337 | Emitter29=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter29",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
338 | 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)) | |
339 | Emitter3=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter3",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
340 | 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)) | |
341 | Emitter30=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter30",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
342 | 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)) | |
343 | Emitter31=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter31",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
344 | 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)) | |
345 | Emitter32=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter32",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
346 | 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)) | |
347 | Emitter33=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter33",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
348 | 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)) | |
349 | Emitter34=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter34",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
350 | 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)) | |
351 | Emitter35=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter35",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
352 | 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)) | |
353 | Emitter36=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter36",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
354 | 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)) | |
355 | Emitter37=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter37",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
356 | 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)) | |
357 | Emitter38=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter38",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
358 | 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)) | |
359 | Emitter39=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter39",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
360 | 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)) | |
361 | Emitter4=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter4",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
362 | 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)) | |
363 | Emitter5=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter5",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
364 | 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)) | |
365 | Emitter6=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter6",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
366 | 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)) | |
367 | Emitter7=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter7",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
368 | 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)) | |
369 | Emitter8=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter8",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
370 | 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)) | |
371 | Emitter9=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter9",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
372 | 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)) | |
373 | ||
374 | ||
375 | local particleemitter = Instance.new("ParticleEmitter", Emitter) | |
376 | ||
377 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
378 | particleemitter.LightEmission = 1 | |
379 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
380 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
381 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
382 | particleemitter.Rate = 200 | |
383 | local particleemitter = Instance.new("ParticleEmitter", Emitter1) | |
384 | ||
385 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
386 | particleemitter.LightEmission = 1 | |
387 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
388 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
389 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
390 | particleemitter.Rate = 200 | |
391 | local particleemitter = Instance.new("ParticleEmitter", Emitter2) | |
392 | ||
393 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
394 | particleemitter.LightEmission = 1 | |
395 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
396 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
397 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
398 | particleemitter.Rate = 200 | |
399 | local particleemitter = Instance.new("ParticleEmitter", Emitter3) | |
400 | ||
401 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
402 | particleemitter.LightEmission = 1 | |
403 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
404 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
405 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
406 | particleemitter.Rate = 200 | |
407 | local particleemitter = Instance.new("ParticleEmitter", Emitter4) | |
408 | ||
409 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
410 | particleemitter.LightEmission = 1 | |
411 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
412 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
413 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
414 | particleemitter.Rate = 200 | |
415 | local particleemitter = Instance.new("ParticleEmitter", Emitter5) | |
416 | ||
417 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
418 | particleemitter.LightEmission = 1 | |
419 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
420 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
421 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
422 | particleemitter.Rate = 200 | |
423 | local particleemitter = Instance.new("ParticleEmitter", Emitter6) | |
424 | ||
425 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
426 | particleemitter.LightEmission = 1 | |
427 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
428 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
429 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
430 | particleemitter.Rate = 200 | |
431 | local particleemitter = Instance.new("ParticleEmitter", Emitter7) | |
432 | ||
433 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
434 | particleemitter.LightEmission = 1 | |
435 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
436 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
437 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
438 | particleemitter.Rate = 200 | |
439 | local particleemitter = Instance.new("ParticleEmitter", Emitter8) | |
440 | ||
441 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
442 | particleemitter.LightEmission = 1 | |
443 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
444 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
445 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
446 | particleemitter.Rate = 200 | |
447 | local particleemitter = Instance.new("ParticleEmitter", Emitter9) | |
448 | ||
449 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
450 | particleemitter.LightEmission = 1 | |
451 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
452 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
453 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
454 | particleemitter.Rate = 200 | |
455 | local particleemitter = Instance.new("ParticleEmitter", Emitter10) | |
456 | ||
457 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
458 | particleemitter.LightEmission = 1 | |
459 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
460 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
461 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
462 | particleemitter.Rate = 200 | |
463 | local particleemitter = Instance.new("ParticleEmitter", Emitter11) | |
464 | ||
465 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
466 | particleemitter.LightEmission = 1 | |
467 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
468 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
469 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
470 | particleemitter.Rate = 200 | |
471 | local particleemitter = Instance.new("ParticleEmitter", Emitter12) | |
472 | ||
473 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
474 | particleemitter.LightEmission = 1 | |
475 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
476 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
477 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
478 | particleemitter.Rate = 200 | |
479 | local particleemitter = Instance.new("ParticleEmitter", Emitter13) | |
480 | ||
481 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
482 | particleemitter.LightEmission = 1 | |
483 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
484 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
485 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
486 | particleemitter.Rate = 200 | |
487 | local particleemitter = Instance.new("ParticleEmitter", Emitter14) | |
488 | ||
489 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
490 | particleemitter.LightEmission = 1 | |
491 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
492 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
493 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
494 | particleemitter.Rate = 200 | |
495 | local particleemitter = Instance.new("ParticleEmitter", Emitter15) | |
496 | ||
497 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
498 | particleemitter.LightEmission = 1 | |
499 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
500 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
501 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
502 | particleemitter.Rate = 200 | |
503 | local particleemitter = Instance.new("ParticleEmitter", Emitter16) | |
504 | ||
505 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
506 | particleemitter.LightEmission = 1 | |
507 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
508 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
509 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
510 | particleemitter.Rate = 200 | |
511 | local particleemitter = Instance.new("ParticleEmitter", Emitter17) | |
512 | ||
513 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
514 | particleemitter.LightEmission = 1 | |
515 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
516 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
517 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
518 | particleemitter.Rate = 200 | |
519 | local particleemitter = Instance.new("ParticleEmitter", Emitter18) | |
520 | ||
521 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
522 | particleemitter.LightEmission = 1 | |
523 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
524 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
525 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
526 | particleemitter.Rate = 200 | |
527 | local particleemitter = Instance.new("ParticleEmitter", Emitter19) | |
528 | ||
529 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
530 | particleemitter.LightEmission = 1 | |
531 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
532 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
533 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
534 | particleemitter.Rate = 200 | |
535 | local particleemitter = Instance.new("ParticleEmitter", Emitter20) | |
536 | ||
537 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
538 | particleemitter.LightEmission = 1 | |
539 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
540 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
541 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
542 | particleemitter.Rate = 200 | |
543 | local particleemitter = Instance.new("ParticleEmitter", Emitter21) | |
544 | ||
545 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
546 | particleemitter.LightEmission = 1 | |
547 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
548 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
549 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
550 | particleemitter.Rate = 200 | |
551 | local particleemitter = Instance.new("ParticleEmitter", Emitter22) | |
552 | ||
553 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
554 | particleemitter.LightEmission = 1 | |
555 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
556 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
557 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
558 | particleemitter.Rate = 200 | |
559 | local particleemitter = Instance.new("ParticleEmitter", Emitter23) | |
560 | ||
561 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
562 | particleemitter.LightEmission = 1 | |
563 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
564 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
565 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
566 | particleemitter.Rate = 200 | |
567 | local particleemitter = Instance.new("ParticleEmitter", Emitter24) | |
568 | ||
569 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
570 | particleemitter.LightEmission = 1 | |
571 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
572 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
573 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
574 | particleemitter.Rate = 200 | |
575 | local particleemitter = Instance.new("ParticleEmitter", Emitter25) | |
576 | ||
577 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
578 | particleemitter.LightEmission = 1 | |
579 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
580 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
581 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
582 | particleemitter.Rate = 200 | |
583 | local particleemitter = Instance.new("ParticleEmitter", Emitter26) | |
584 | ||
585 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
586 | particleemitter.LightEmission = 1 | |
587 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
588 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
589 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
590 | particleemitter.Rate = 200 | |
591 | local particleemitter = Instance.new("ParticleEmitter", Emitter27) | |
592 | ||
593 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
594 | particleemitter.LightEmission = 1 | |
595 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
596 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
597 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
598 | particleemitter.Rate = 200 | |
599 | local particleemitter = Instance.new("ParticleEmitter", Emitter28) | |
600 | ||
601 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
602 | particleemitter.LightEmission = 1 | |
603 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
604 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
605 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
606 | particleemitter.Rate = 200 | |
607 | local particleemitter = Instance.new("ParticleEmitter", Emitter29) | |
608 | ||
609 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
610 | particleemitter.LightEmission = 1 | |
611 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
612 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
613 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
614 | particleemitter.Rate = 200 | |
615 | local particleemitter = Instance.new("ParticleEmitter", Emitter30) | |
616 | ||
617 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
618 | particleemitter.LightEmission = 1 | |
619 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
620 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
621 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
622 | particleemitter.Rate = 200 | |
623 | local particleemitter = Instance.new("ParticleEmitter", Emitter31) | |
624 | ||
625 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
626 | particleemitter.LightEmission = 1 | |
627 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
628 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
629 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
630 | particleemitter.Rate = 200 | |
631 | local particleemitter = Instance.new("ParticleEmitter", Emitter32) | |
632 | ||
633 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
634 | particleemitter.LightEmission = 1 | |
635 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
636 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
637 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
638 | particleemitter.Rate = 200 | |
639 | local particleemitter = Instance.new("ParticleEmitter", Emitter33) | |
640 | ||
641 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
642 | particleemitter.LightEmission = 1 | |
643 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
644 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
645 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
646 | particleemitter.Rate = 200 | |
647 | local particleemitter = Instance.new("ParticleEmitter", Emitter34) | |
648 | ||
649 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
650 | particleemitter.LightEmission = 1 | |
651 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
652 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
653 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
654 | particleemitter.Rate = 200 | |
655 | local particleemitter = Instance.new("ParticleEmitter", Emitter35) | |
656 | ||
657 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
658 | particleemitter.LightEmission = 1 | |
659 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
660 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
661 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
662 | particleemitter.Rate = 200 | |
663 | local particleemitter = Instance.new("ParticleEmitter", Emitter36) | |
664 | ||
665 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
666 | particleemitter.LightEmission = 1 | |
667 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
668 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
669 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
670 | particleemitter.Rate = 200 | |
671 | local particleemitter = Instance.new("ParticleEmitter", Emitter37) | |
672 | ||
673 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
674 | particleemitter.LightEmission = 1 | |
675 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
676 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
677 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
678 | particleemitter.Rate = 200 | |
679 | local particleemitter = Instance.new("ParticleEmitter", Emitter38) | |
680 | ||
681 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
682 | particleemitter.LightEmission = 1 | |
683 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
684 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
685 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
686 | particleemitter.Rate = 200 | |
687 | local particleemitter = Instance.new("ParticleEmitter", Emitter39) | |
688 | ||
689 | particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039)) | |
690 | particleemitter.LightEmission = 1 | |
691 | particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
692 | particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279) | |
693 | particleemitter.Lifetime = NumberRange.new(2, 2) | |
694 | particleemitter.Rate = 200 | |
695 | ||
696 | function sandbox(var,func) | |
697 | local env = getfenv(func) | |
698 | local newenv = setmetatable({},{ | |
699 | __index = function(self,k) | |
700 | if k=="script" then | |
701 | return var | |
702 | else | |
703 | return env[k] | |
704 | end | |
705 | end, | |
706 | }) | |
707 | setfenv(func,newenv) | |
708 | return func | |
709 | end | |
710 | function NS(...) | |
711 | local tab = {...} | |
712 | local fat = {} | |
713 | for i = 1, #tab do | |
714 | local v = tab[i] | |
715 | table.insert(fat,NumberSequenceKeypoint.new(v[1],v[2])) | |
716 | end | |
717 | return NumberSequence.new(fat); | |
718 | end | |
719 | ||
720 | cors = {} | |
721 | mas = Instance.new("Model",game:GetService("Lighting")) | |
722 | ParticleEmitter0 = Instance.new("ParticleEmitter") | |
723 | ParticleEmitter1 = Instance.new("ParticleEmitter") | |
724 | ParticleEmitter2 = Instance.new("ParticleEmitter") | |
725 | ParticleEmitter0.Name = "Flames" | |
726 | ParticleEmitter0.Parent = mas | |
727 | ParticleEmitter0.Speed = NumberRange.new(0, 15) | |
728 | ParticleEmitter0.Rotation = NumberRange.new(0, 360) | |
729 | ParticleEmitter0.Enabled = false | |
730 | ParticleEmitter0.LightEmission = 1 | |
731 | ParticleEmitter0.LightInfluence = 1 | |
732 | ParticleEmitter0.Transparency = NumberSequence.new(1,0) | |
733 | ParticleEmitter0.ZOffset = 1 | |
734 | ParticleEmitter0.Size = NumberSequence.new(10,0) | |
735 | ParticleEmitter0.EmissionDirection = Enum.NormalId.Back | |
736 | ParticleEmitter0.Lifetime = NumberRange.new(0, 2) | |
737 | ParticleEmitter0.Rate = 9999 | |
738 | ParticleEmitter0.RotSpeed = NumberRange.new(-25, 25) | |
739 | ParticleEmitter0.SpreadAngle = Vector2.new(25, 25) | |
740 | ParticleEmitter0.VelocitySpread = 25 | |
741 | ParticleEmitter0.Texture = "rbxasset://textures/particles/sparkles_main.dds" | |
742 | ParticleEmitter1.Name = "Death" | |
743 | ParticleEmitter1.Parent = mas | |
744 | ParticleEmitter1.Rotation = NumberRange.new(0, 360) | |
745 | ParticleEmitter1.Enabled = false | |
746 | ParticleEmitter1.LightEmission = 0.75 | |
747 | ParticleEmitter1.Texture = "rbxasset://textures/particles/sparkles_main.dds" | |
748 | ParticleEmitter1.Transparency = NS({0,0.47540986537933},{.168,0.37704920768738},{.457,0.25683063268661},{.803,0.4426229596138},{.948,0.62841534614563},{1,1}) | |
749 | ParticleEmitter1.ZOffset = 0.5 | |
750 | ParticleEmitter1.Size = NS({0,1},{.656,1.8032789230347},{.843,1.4207655191422},{1,0}) | |
751 | ParticleEmitter1.Acceleration = Vector3.new(0, 35, 0) | |
752 | ParticleEmitter1.Drag = 5 | |
753 | ParticleEmitter1.EmissionDirection = Enum.NormalId.Right | |
754 | ParticleEmitter1.Lifetime = NumberRange.new(0, 1) | |
755 | ParticleEmitter1.Rate = 999 | |
756 | ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56) | |
757 | ParticleEmitter1.SpreadAngle = Vector2.new(360, 360) | |
758 | ParticleEmitter1.VelocitySpread = 360 | |
759 | ParticleEmitter2.Name = "Wing" | |
760 | ParticleEmitter2.Parent = mas | |
761 | ParticleEmitter2.Rotation = NumberRange.new(0, 360) | |
762 | ParticleEmitter2.Enabled = false | |
763 | ParticleEmitter2.LightEmission = 1 | |
764 | ParticleEmitter2.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
765 | ParticleEmitter2.Size = NS({0,0.05464494228363},{.193,1.0382515192032},{.352,1.3661205768585},{1,0}) | |
766 | ParticleEmitter2.Acceleration = Vector3.new(0, -7, 15) | |
767 | ParticleEmitter2.Lifetime = NumberRange.new(0.80000001192093, 0.80000001192093) | |
768 | ParticleEmitter2.LockedToPart = true | |
769 | ParticleEmitter2.Rate = 300 | |
770 | ||
771 | for i,v in pairs(mas:GetChildren()) do | |
772 | v.Parent = script | |
773 | pcall(function() v:MakeJoints() end) | |
774 | end | |
775 | mas:Destroy() | |
776 | for i,v in pairs(cors) do | |
777 | spawn(function() | |
778 | pcall(v) | |
779 | end) | |
780 | end | |
781 | ||
782 | --//Start Body Particles \\-- | |
783 | ||
784 | local RightAura = Instance.new('ParticleEmitter') | |
785 | RightAura.Name = "Aura" | |
786 | RightAura.Texture = "rbxassetid://1200947142" | |
787 | RightAura.Parent = rleg | |
788 | RightAura.LightEmission = 1 | |
789 | RightAura.Enabled = true | |
790 | RightAura.Color = ColorSequence.new(BrickColor.new("Lime green").Color) | |
791 | RightAura.Size = NumberSequence.new(1.1) | |
792 | RightAura.LockedToPart = true | |
793 | RightAura.Lifetime = NumberRange.new(2) | |
794 | RightAura.Rate = 30 | |
795 | RightAura.Speed = NumberRange.new(0.1) | |
796 | RightAura.Rotation = NumberRange.new(-360,360) | |
797 | RightAura.EmissionDirection = "Top" | |
798 | RightAura.ZOffset = -1 | |
799 | ||
800 | local RightLow = Instance.new('ParticleEmitter') | |
801 | RightLow.Name = "Aura" | |
802 | RightLow.Texture = "rbxassetid://1200947142" | |
803 | RightLow.Parent = lleg | |
804 | RightLow.LightEmission = 1 | |
805 | RightLow.Enabled = true | |
806 | RightLow.Color = ColorSequence.new(BrickColor.new("Lime green").Color) | |
807 | RightLow.Size = NumberSequence.new(1.1) | |
808 | RightLow.LockedToPart = true | |
809 | RightLow.Lifetime = NumberRange.new(2) | |
810 | RightLow.Rate = 30 | |
811 | RightLow.Speed = NumberRange.new(0.1) | |
812 | RightLow.Rotation = NumberRange.new(-360,360) | |
813 | RightLow.EmissionDirection = "Top" | |
814 | RightLow.ZOffset = -1 | |
815 | ||
816 | local LeftLow = Instance.new('ParticleEmitter') | |
817 | LeftLow.Name = "Aura" | |
818 | LeftLow.Texture = "rbxassetid://1200947142" | |
819 | LeftLow.Parent = larm | |
820 | LeftLow.LightEmission = 1 | |
821 | LeftLow.Enabled = true | |
822 | LeftLow.Color = ColorSequence.new(BrickColor.new("Lime green").Color) | |
823 | LeftLow.Size = NumberSequence.new(1.1) | |
824 | LeftLow.LockedToPart = true | |
825 | LeftLow.Lifetime = NumberRange.new(2) | |
826 | LeftLow.Rate = 30 | |
827 | LeftLow.Speed = NumberRange.new(0.1) | |
828 | LeftLow.Rotation = NumberRange.new(-360,360) | |
829 | LeftLow.EmissionDirection = "Top" | |
830 | LeftLow.ZOffset = -1 | |
831 | ||
832 | local LeftLegu = Instance.new('ParticleEmitter') | |
833 | LeftLegu.Name = "Aura" | |
834 | LeftLegu.Texture = "rbxassetid://1200947142" | |
835 | LeftLegu.Parent = rarm | |
836 | LeftLegu.LightEmission = 1 | |
837 | LeftLegu.Enabled = true | |
838 | LeftLegu.Color = ColorSequence.new(BrickColor.new("Lime green").Color) | |
839 | LeftLegu.Size = NumberSequence.new(1.1) | |
840 | LeftLegu.LockedToPart = true | |
841 | LeftLegu.Lifetime = NumberRange.new(2) | |
842 | LeftLegu.Rate = 30 | |
843 | LeftLegu.Speed = NumberRange.new(0.1) | |
844 | LeftLegu.Rotation = NumberRange.new(-360,360) | |
845 | LeftLegu.EmissionDirection = "Top" | |
846 | LeftLegu.ZOffset = -1 | |
847 | wait(0.1) | |
848 | ||
849 | local Small = Instance.new('ParticleEmitter') | |
850 | Small.Name = "Aura" | |
851 | Small.Texture = "rbxassetid://242102147" | |
852 | Small.Parent = torso | |
853 | Small.LightEmission = 1 | |
854 | Small.Enabled = true | |
855 | Small.Color = ColorSequence.new(BrickColor.new("Bright green").Color) | |
856 | Small.Size = NumberSequence.new(0.5) | |
857 | Small.LockedToPart = false | |
858 | Small.Lifetime = NumberRange.new(0.5) | |
859 | Small.Rate = 150 | |
860 | Small.Speed = NumberRange.new(4) | |
861 | Small.Rotation = NumberRange.new(-50,50) | |
862 | Small.EmissionDirection = "Top" | |
863 | Small.ZOffset = 2 | |
864 | local Small2 = Instance.new('ParticleEmitter') | |
865 | Small2.Name = "Aura" | |
866 | Small2.Texture = "rbxassetid://242102147" | |
867 | Small2.Parent = rarm | |
868 | Small2.LightEmission = 1 | |
869 | Small2.Enabled = true | |
870 | Small2.Color = ColorSequence.new(BrickColor.new("Bright green").Color) | |
871 | Small2.Size = NumberSequence.new(0.5) | |
872 | Small2.LockedToPart = false | |
873 | Small2.Lifetime = NumberRange.new(0.5) | |
874 | Small2.Rate = 150 | |
875 | Small2.Speed = NumberRange.new(4) | |
876 | Small2.Rotation = NumberRange.new(-50,50) | |
877 | Small2.EmissionDirection = "Top" | |
878 | Small2.ZOffset = 2 | |
879 | local Small3 = Instance.new('ParticleEmitter') | |
880 | Small3.Name = "Aura" | |
881 | Small3.Texture = "rbxassetid://242102147" | |
882 | Small3.Parent = larm | |
883 | Small3.LightEmission = 1 | |
884 | Small3.Enabled = true | |
885 | Small3.Color = ColorSequence.new(BrickColor.new("Bright green").Color) | |
886 | Small3.Size = NumberSequence.new(0.5) | |
887 | Small3.LockedToPart = false | |
888 | Small3.Lifetime = NumberRange.new(0.5) | |
889 | Small3.Rate = 150 | |
890 | Small3.Speed = NumberRange.new(4) | |
891 | Small3.Rotation = NumberRange.new(-50,50) | |
892 | Small3.EmissionDirection = "Top" | |
893 | Small3.ZOffset = 2 | |
894 | local Small4 = Instance.new('ParticleEmitter') | |
895 | Small4.Name = "Aura" | |
896 | Small4.Texture = "rbxassetid://242102147" | |
897 | Small4.Parent = rleg | |
898 | Small4.LightEmission = 1 | |
899 | Small4.Enabled = true | |
900 | Small4.Color = ColorSequence.new(BrickColor.new("Bright green").Color) | |
901 | Small4.Size = NumberSequence.new(0.5) | |
902 | Small4.LockedToPart = false | |
903 | Small4.Lifetime = NumberRange.new(0.5) | |
904 | Small4.Rate = 150 | |
905 | Small4.Speed = NumberRange.new(4) | |
906 | Small4.Rotation = NumberRange.new(-50,50) | |
907 | Small4.EmissionDirection = "Top" | |
908 | Small4.ZOffset = 2 | |
909 | local Small5 = Instance.new('ParticleEmitter') | |
910 | Small5.Name = "Aura" | |
911 | Small5.Texture = "rbxassetid://242102147" | |
912 | Small5.Parent = lleg | |
913 | Small5.LightEmission = 1 | |
914 | Small5.Enabled = true | |
915 | Small5.Color = ColorSequence.new(BrickColor.new("Bright green").Color) | |
916 | Small5.Size = NumberSequence.new(0.5) | |
917 | Small5.LockedToPart = false | |
918 | Small5.Lifetime = NumberRange.new(0.5) | |
919 | Small5.Rate = 150 | |
920 | Small5.Speed = NumberRange.new(4) | |
921 | Small5.Rotation = NumberRange.new(-50,50) | |
922 | Small5.EmissionDirection = "Top" | |
923 | Small5.ZOffset = 2 | |
924 | local Small6 = Instance.new('ParticleEmitter') | |
925 | Small6.Name = "Aura" | |
926 | Small6.Texture = "rbxassetid://242102147" | |
927 | Small6.Parent = hed | |
928 | Small6.LightEmission = 1 | |
929 | Small6.Enabled = true | |
930 | Small6.Color = ColorSequence.new(BrickColor.new("Bright green").Color) | |
931 | Small6.Size = NumberSequence.new(0.5) | |
932 | Small6.LockedToPart = false | |
933 | Small6.Lifetime = NumberRange.new(0.5) | |
934 | Small6.Rate = 150 | |
935 | Small6.Speed = NumberRange.new(4) | |
936 | Small6.Rotation = NumberRange.new(-50,50) | |
937 | Small6.EmissionDirection = "Top" | |
938 | Small6.ZOffset = 2 | |
939 | local MUI = false | |
940 | ||
941 | local FZcharge3 = Instance.new("ParticleEmitter",Grab) | |
942 | FZcharge3.Texture = "rbxassetid://1468162128" | |
943 | FZcharge3.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) | |
944 | FZcharge3.EmissionDirection = "Top" | |
945 | FZcharge3.Speed = NumberRange.new(2) | |
946 | FZcharge3.Size = NumberSequence.new(0.6,0) | |
947 | FZcharge3.Enabled = true | |
948 | FZcharge3.Drag = 1.2 | |
949 | FZcharge3.LockedToPart = true | |
950 | FZcharge3.Lifetime = NumberRange.new(1) | |
951 | FZcharge3.Rate = 55 | |
952 | FZcharge3.LightEmission = 0.3 | |
953 | FZcharge3.Rotation = NumberRange.new(-5,5) | |
954 | FZcharge3.VelocitySpread = 0.2 | |
955 | FZcharge3.ZOffset = 2.5 | |
956 | UILight = Instance.new("PointLight",torso) | |
957 | UILight.Enabled = true | |
958 | UILight.Name = "BurningLight" | |
959 | UILight.Color = Color3.new(0,0,255) | |
960 | UILight.Range = 11 | |
961 | UILight.Brightness = 700 | |
962 | ||
963 | local HairAura = Instance.new('ParticleEmitter') | |
964 | HairAura.Name = "Aura" | |
965 | HairAura.Texture = "rbxassetid://1200947142" | |
966 | HairAura.Parent = hed | |
967 | HairAura.LightEmission = 1 | |
968 | HairAura.Enabled = true | |
969 | HairAura.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
970 | HairAura.Size = NumberSequence.new(1.9) | |
971 | HairAura.LockedToPart = true | |
972 | HairAura.Lifetime = NumberRange.new(2) | |
973 | HairAura.Rate = 5 | |
974 | HairAura.Speed = NumberRange.new(0.1) | |
975 | HairAura.Rotation = NumberRange.new(-360,360) | |
976 | HairAura.EmissionDirection = "Top" | |
977 | HairAura.ZOffset = -1 | |
978 | ||
979 | ||
980 | local RightAura = Instance.new('ParticleEmitter') | |
981 | RightAura.Name = "Aura" | |
982 | RightAura.Texture = "rbxassetid://1200947142" | |
983 | RightAura.Parent = rleg | |
984 | RightAura.LightEmission = 1 | |
985 | RightAura.Enabled = true | |
986 | RightAura.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
987 | RightAura.Size = NumberSequence.new(1.9) | |
988 | RightAura.LockedToPart = true | |
989 | RightAura.Lifetime = NumberRange.new(2) | |
990 | RightAura.Rate = 5 | |
991 | RightAura.Speed = NumberRange.new(0.1) | |
992 | RightAura.Rotation = NumberRange.new(-360,360) | |
993 | RightAura.EmissionDirection = "Top" | |
994 | RightAura.ZOffset = -1 | |
995 | ||
996 | local RightLow = Instance.new('ParticleEmitter') | |
997 | RightLow.Name = "Aura" | |
998 | RightLow.Texture = "rbxassetid://1200947142" | |
999 | RightLow.Parent = lleg | |
1000 | RightLow.LightEmission = 1 | |
1001 | RightLow.Enabled = true | |
1002 | RightLow.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1003 | RightLow.Size = NumberSequence.new(1.9) | |
1004 | RightLow.LockedToPart = true | |
1005 | RightLow.Lifetime = NumberRange.new(2) | |
1006 | RightLow.Rate = 5 | |
1007 | RightLow.Speed = NumberRange.new(0.1) | |
1008 | RightLow.Rotation = NumberRange.new(-360,360) | |
1009 | RightLow.EmissionDirection = "Top" | |
1010 | RightLow.ZOffset = -1 | |
1011 | ||
1012 | local LeftLow = Instance.new('ParticleEmitter') | |
1013 | LeftLow.Name = "Aura" | |
1014 | LeftLow.Texture = "rbxassetid://1200947142" | |
1015 | LeftLow.Parent = larm | |
1016 | LeftLow.LightEmission = 1 | |
1017 | LeftLow.Enabled = true | |
1018 | LeftLow.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1019 | LeftLow.Size = NumberSequence.new(1.9) | |
1020 | LeftLow.LockedToPart = true | |
1021 | LeftLow.Lifetime = NumberRange.new(2) | |
1022 | LeftLow.Rate = 5 | |
1023 | LeftLow.Speed = NumberRange.new(0.1) | |
1024 | LeftLow.Rotation = NumberRange.new(-360,360) | |
1025 | LeftLow.EmissionDirection = "Top" | |
1026 | LeftLow.ZOffset = -1 | |
1027 | ||
1028 | local LeftLegp = Instance.new('ParticleEmitter') | |
1029 | LeftLegp.Name = "Aura" | |
1030 | LeftLegp.Texture = "rbxassetid://1200947142" | |
1031 | LeftLegp.Parent = rarm | |
1032 | LeftLegp.LightEmission = 1 | |
1033 | LeftLegp.Enabled = true | |
1034 | LeftLegp.Color = ColorSequence.new(BrickColor.new("Really red").Color) | |
1035 | LeftLegp.Size = NumberSequence.new(1.9) | |
1036 | LeftLegp.LockedToPart = true | |
1037 | LeftLegp.Lifetime = NumberRange.new(2) | |
1038 | LeftLegp.Rate = 5 | |
1039 | LeftLegp.Speed = NumberRange.new(0.1) | |
1040 | LeftLegp.Rotation = NumberRange.new(-360,360) | |
1041 | LeftLegp.EmissionDirection = "Top" | |
1042 | LeftLegp.ZOffset = -1 | |
1043 | ||
1044 | --\\ End Body Particles //-- | |
1045 | ||
1046 | --// Name Of God \\-- | |
1047 | ||
1048 | local txt = Instance.new("BillboardGui", Character) | |
1049 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1050 | local velocity = RootPart.Velocity.y | |
1051 | char = Player.Character | |
1052 | local txt = Instance.new("BillboardGui", Character) | |
1053 | txt.Adornee = Character.Head | |
1054 | txt.Name = "_status" | |
1055 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
1056 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
1057 | local text = Instance.new("TextLabel", txt) | |
1058 | text.Size = UDim2.new(10, 0, 7, 0) | |
1059 | text.TextScaled = true | |
1060 | text.FontSize = "Size24" | |
1061 | text.TextSize = 31 | |
1062 | text.TextTransparency = 0 | |
1063 | text.BackgroundTransparency = 1 | |
1064 | text.TextTransparency = 0 | |
1065 | text.TextStrokeTransparency = 1 | |
1066 | text.Font = "Bodoni" | |
1067 | text.Text = "Burning Hope" | |
1068 | ||
1069 | --\\ What A Powerful Name For A God //-- | |
1070 | ||
1071 | --// Voice Of The Flames \\-- | |
1072 | ||
1073 | function chatfunc(text) | |
1074 | local chat = coroutine.wrap(function() | |
1075 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
1076 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
1077 | end | |
1078 | local Bill = Instance.new("BillboardGui",Character) | |
1079 | Bill.Size = UDim2.new(0,100,0,40) | |
1080 | Bill.StudsOffset = Vector3.new(0,2,0) | |
1081 | Bill.Adornee = Character.Head | |
1082 | Bill.Name = "TalkingBillBoard" | |
1083 | local Hehe = Instance.new("TextLabel",Bill) | |
1084 | Hehe.BackgroundTransparency = 1 | |
1085 | Hehe.BorderSizePixel = 0 | |
1086 | Hehe.Text = "" | |
1087 | Hehe.Font = "Bodoni" | |
1088 | Hehe.TextSize = 40 | |
1089 | Hehe.TextStrokeTransparency = 0 | |
1090 | Hehe.Size = UDim2.new(1,0,0.5,0) | |
1091 | coroutine.resume(coroutine.create(function() | |
1092 | while Hehe ~= nil do | |
1093 | Swait() | |
1094 | Hehe.Position = UDim2.new(math.random(-.2,.2),math.random(-1,1),.05,math.random(-1,1)) | |
1095 | Hehe.Rotation = math.random(-5,5) | |
1096 | Hehe.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
1097 | Hehe.TextStrokeColor3 = Color3.fromRGB(cR,cG,cB) | |
1098 | end | |
1099 | end)) | |
1100 | for i = 1,string.len(text),1 do | |
1101 | Swait() | |
1102 | Hehe.Text = string.sub(text,1,i) | |
1103 | end | |
1104 | Swait(90)--Re[math.random(1, 93)] | |
1105 | for i = 0, 1, .025 do | |
1106 | Swait() | |
1107 | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) | |
1108 | Hehe.TextStrokeTransparency = i | |
1109 | Hehe.TextTransparency = i | |
1110 | end | |
1111 | Bill:Destroy() | |
1112 | end) | |
1113 | chat() | |
1114 | end | |
1115 | ||
1116 | function onChatted(msg) | |
1117 | chatfunc(msg) | |
1118 | end | |
1119 | ||
1120 | Player.Chatted:connect(onChatted) | |
1121 | ||
1122 | --\\ Now We Can Continue On With The Rest Of The Things You Require You Are Now REBORN //-- | |
1123 | ||
1124 | --><Some Functions | |
1125 | ||
1126 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
1127 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
1128 | end | |
1129 | ||
1130 | function PositiveAngle(NUMBER) | |
1131 | if NUMBER >= 0 then | |
1132 | NUMBER = 0 | |
1133 | end | |
1134 | return NUMBER | |
1135 | end | |
1136 | ||
1137 | function NegativeAngle(NUMBER) | |
1138 | if NUMBER <= 0 then | |
1139 | NUMBER = 0 | |
1140 | end | |
1141 | return NUMBER | |
1142 | end | |
1143 | ||
1144 | function Swait(NUMBER) | |
1145 | if NUMBER == 0 or NUMBER == nil then | |
1146 | ArtificialHB.Event:wait() | |
1147 | else | |
1148 | for i = 1, NUMBER do | |
1149 | ArtificialHB.Event:wait() | |
1150 | end | |
1151 | end | |
1152 | end | |
1153 | ||
1154 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
1155 | local NEWMESH = IT(MESH) | |
1156 | if MESH == "SpecialMesh" then | |
1157 | NEWMESH.MeshType = MESHTYPE | |
1158 | if MESHID ~= "nil" and MESHID ~= "" then | |
1159 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
1160 | end | |
1161 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
1162 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
1163 | end | |
1164 | end | |
1165 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
1166 | NEWMESH.Scale = SCALE | |
1167 | NEWMESH.Parent = PARENT | |
1168 | return NEWMESH | |
1169 | end | |
1170 | ||
1171 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
1172 | local NEWPART = IT("Part") | |
1173 | NEWPART.formFactor = FORMFACTOR | |
1174 | NEWPART.Reflectance = REFLECTANCE | |
1175 | NEWPART.Transparency = TRANSPARENCY | |
1176 | NEWPART.CanCollide = false | |
1177 | NEWPART.Locked = true | |
1178 | NEWPART.Anchored = true | |
1179 | if ANCHOR == false then | |
1180 | NEWPART.Anchored = false | |
1181 | end | |
1182 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
1183 | NEWPART.Name = NAME | |
1184 | NEWPART.Size = SIZE | |
1185 | NEWPART.Position = Torso.Position | |
1186 | NEWPART.Material = MATERIAL | |
1187 | NEWPART:BreakJoints() | |
1188 | NEWPART.Parent = PARENT | |
1189 | return NEWPART | |
1190 | end | |
1191 | ||
1192 | local function weldBetween(a, b) | |
1193 | local weldd = Instance.new("ManualWeld") | |
1194 | weldd.Part0 = a | |
1195 | weldd.Part1 = b | |
1196 | weldd.C0 = CFrame.new() | |
1197 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
1198 | weldd.Parent = a | |
1199 | return weldd | |
1200 | end | |
1201 | ||
1202 | function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW) | |
1203 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0)) | |
1204 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8)) | |
1205 | wave.CFrame = CFRAME | |
1206 | coroutine.resume(coroutine.create(function(PART) | |
1207 | for i = 1, WAIT do | |
1208 | Swait() | |
1209 | mesh.Scale = mesh.Scale + GROW | |
1210 | mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8)) | |
1211 | if DOESROT == true then | |
1212 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0) | |
1213 | end | |
1214 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
1215 | if wave.Transparency > 0.99 then | |
1216 | wave:remove() | |
1217 | end | |
1218 | end | |
1219 | end)) | |
1220 | end | |
1221 | function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW) | |
1222 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0)) | |
1223 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0)) | |
1224 | wave.CFrame = CFRAME | |
1225 | coroutine.resume(coroutine.create(function(PART) | |
1226 | for i = 1, WAIT do | |
1227 | Swait() | |
1228 | mesh.Scale = mesh.Scale + GROW | |
1229 | if DOESROT == true then | |
1230 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0) | |
1231 | end | |
1232 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
1233 | if wave.Transparency > 0.99 then | |
1234 | wave:remove() | |
1235 | end | |
1236 | end | |
1237 | end)) | |
1238 | end | |
1239 | function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW) | |
1240 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true) | |
1241 | wave.Color = COLOR | |
1242 | local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0)) | |
1243 | wave.CFrame = CFRAME | |
1244 | coroutine.resume(coroutine.create(function(PART) | |
1245 | for i = 1, WAIT do | |
1246 | Swait() | |
1247 | mesh.Scale = mesh.Scale + GROW | |
1248 | wave.Transparency = wave.Transparency + 1 / WAIT | |
1249 | if wave.Transparency > 0.99 then | |
1250 | wave:remove() | |
1251 | end | |
1252 | end | |
1253 | end)) | |
1254 | end | |
1255 | ||
1256 | function MagicRing() | |
1257 | local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Warphole", VT(0, 0, 0)) | |
1258 | O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
1259 | local decal = Decal:Clone() | |
1260 | decal.Parent = O1 | |
1261 | decal.Face = "Top" | |
1262 | decal.Texture = "http://www.roblox.com/asset/?id=647661410" | |
1263 | local decal2 = Decal:Clone() | |
1264 | decal2.Parent = O1 | |
1265 | decal2.Face = "Bottom" | |
1266 | decal2.Texture = "http://www.roblox.com/asset/?id=647661410" | |
1267 | return O1 | |
1268 | end | |
1269 | function MagicRing2(PART,CFRAME) | |
1270 | local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0,0,0),false) | |
1271 | local WELD = CreateWeldOrSnapOrMotor("Weld", PART, PART, RING, CFRAME, CF(0, 0, 0)) | |
1272 | local MESH = IT("BlockMesh",RING) | |
1273 | local BOTTOMTEXTURE = Decal:Clone() | |
1274 | BOTTOMTEXTURE.Parent = RING | |
1275 | BOTTOMTEXTURE.Face = "Bottom" | |
1276 | BOTTOMTEXTURE.Name = "BottomTexture" | |
1277 | local TOPTEXTURE = Decal:Clone() | |
1278 | TOPTEXTURE.Parent = RING | |
1279 | TOPTEXTURE.Face = "Top" | |
1280 | TOPTEXTURE.Name = "TopTexture" | |
1281 | local LIGHT = IT("PointLight",RING) | |
1282 | BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=647661410" | |
1283 | TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=647661410" | |
1284 | return RING,WELD,MESH | |
1285 | end | |
1286 | ||
1287 | function Chunks(PART) | |
1288 | for i = 1, MRANDOM(3,5) do | |
1289 | coroutine.resume(coroutine.create(function() | |
1290 | 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) | |
1291 | CHUNK.CFrame = PART.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
1292 | local CFRAME = PART.CFrame*CF(MRANDOM(-4,4)/2,MRANDOM(-4,4)/2,-6) | |
1293 | CHUNK.Velocity = CF(PART.Position,CFRAME.p).lookVector*MRANDOM(15,65) | |
1294 | wait(0.1) | |
1295 | CHUNK.CanCollide = true | |
1296 | wait(MRANDOM(15,25)/5) | |
1297 | for i = 1, 25 do | |
1298 | Swait() | |
1299 | CHUNK.Transparency = CHUNK.Transparency + 1/25 | |
1300 | end | |
1301 | CHUNK:remove() | |
1302 | end)) | |
1303 | end | |
1304 | end | |
1305 | ||
1306 | function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH) | |
1307 | if FLOOR ~= nil then | |
1308 | for i = 1, AMOUNT do | |
1309 | local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false) | |
1310 | DEBREE.Material = FLOOR.Material | |
1311 | DEBREE.Color = FLOOR.Color | |
1312 | DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
1313 | DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH)) | |
1314 | coroutine.resume(coroutine.create(function() | |
1315 | Swait(15) | |
1316 | DEBREE.Parent = workspace | |
1317 | DEBREE.CanCollide = true | |
1318 | Debris:AddItem(DEBREE,SWAIT) | |
1319 | end)) | |
1320 | end | |
1321 | end | |
1322 | end | |
1323 | ||
1324 | function QuaternionFromCFrame(cf) | |
1325 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
1326 | local trace = m00 + m11 + m22 | |
1327 | if trace > 0 then | |
1328 | local s = math.sqrt(1 + trace) | |
1329 | local recip = 0.5 / s | |
1330 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
1331 | else | |
1332 | local i = 0 | |
1333 | if m11 > m00 then | |
1334 | i = 1 | |
1335 | end | |
1336 | if m22 > (i == 0 and m00 or m11) then | |
1337 | i = 2 | |
1338 | end | |
1339 | if i == 0 then | |
1340 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
1341 | local recip = 0.5 / s | |
1342 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
1343 | elseif i == 1 then | |
1344 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
1345 | local recip = 0.5 / s | |
1346 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
1347 | elseif i == 2 then | |
1348 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
1349 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
1350 | end | |
1351 | end | |
1352 | end | |
1353 | ||
1354 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
1355 | local xs, ys, zs = x + x, y + y, z + z | |
1356 | local wx, wy, wz = w * xs, w * ys, w * zs | |
1357 | local xx = x * xs | |
1358 | local xy = x * ys | |
1359 | local xz = x * zs | |
1360 | local yy = y * ys | |
1361 | local yz = y * zs | |
1362 | local zz = z * zs | |
1363 | 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)) | |
1364 | end | |
1365 | ||
1366 | function QuaternionSlerp(a, b, t) | |
1367 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
1368 | local startInterp, finishInterp; | |
1369 | if cosTheta >= 0.0001 then | |
1370 | if (1 - cosTheta) > 0.0001 then | |
1371 | local theta = ACOS(cosTheta) | |
1372 | local invSinTheta = 1 / SIN(theta) | |
1373 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
1374 | finishInterp = SIN(t * theta) * invSinTheta | |
1375 | else | |
1376 | startInterp = 1 - t | |
1377 | finishInterp = t | |
1378 | end | |
1379 | else | |
1380 | if (1 + cosTheta) > 0.0001 then | |
1381 | local theta = ACOS(-cosTheta) | |
1382 | local invSinTheta = 1 / SIN(theta) | |
1383 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
1384 | finishInterp = SIN(t * theta) * invSinTheta | |
1385 | else | |
1386 | startInterp = t - 1 | |
1387 | finishInterp = t | |
1388 | end | |
1389 | end | |
1390 | 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 | |
1391 | end | |
1392 | ||
1393 | function Clerp(a, b, t) | |
1394 | local qa = {QuaternionFromCFrame(a)} | |
1395 | local qb = {QuaternionFromCFrame(b)} | |
1396 | local ax, ay, az = a.x, a.y, a.z | |
1397 | local bx, by, bz = b.x, b.y, b.z | |
1398 | local _t = 1 - t | |
1399 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
1400 | end | |
1401 | ||
1402 | function clerp(a, b, t) | |
1403 | local qa = {QuaternionFromCFrame(a)} | |
1404 | local qb = {QuaternionFromCFrame(b)} | |
1405 | local ax, ay, az = a.x, a.y, a.z | |
1406 | local bx, by, bz = b.x, b.y, b.z | |
1407 | local _t = 1 - t | |
1408 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
1409 | end | |
1410 | ||
1411 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
1412 | local frame = IT("Frame") | |
1413 | frame.BackgroundTransparency = TRANSPARENCY | |
1414 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
1415 | frame.Position = POSITION | |
1416 | frame.Size = SIZE | |
1417 | frame.BackgroundColor3 = COLOR | |
1418 | frame.BorderColor3 = BORDERCOLOR | |
1419 | frame.Name = NAME | |
1420 | frame.Parent = PARENT | |
1421 | return frame | |
1422 | end | |
1423 | ||
1424 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
1425 | local label = IT("TextLabel") | |
1426 | label.BackgroundTransparency = 1 | |
1427 | label.Size = UD2(1, 0, 1, 0) | |
1428 | label.Position = UD2(0, 0, 0, 0) | |
1429 | label.TextColor3 = TEXTCOLOR | |
1430 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
1431 | label.TextTransparency = TRANSPARENCY | |
1432 | label.FontSize = TEXTFONTSIZE | |
1433 | label.Font = TEXTFONT | |
1434 | label.BorderSizePixel = BORDERSIZEPIXEL | |
1435 | label.TextScaled = false | |
1436 | label.Text = TEXT | |
1437 | label.Name = NAME | |
1438 | label.Parent = PARENT | |
1439 | return label | |
1440 | end | |
1441 | ||
1442 | function NoOutlines(PART) | |
1443 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
1444 | end | |
1445 | ||
1446 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
1447 | local NEWWELD = IT(TYPE) | |
1448 | NEWWELD.Part0 = PART0 | |
1449 | NEWWELD.Part1 = PART1 | |
1450 | NEWWELD.C0 = C0 | |
1451 | NEWWELD.C1 = C1 | |
1452 | NEWWELD.Parent = PARENT | |
1453 | return NEWWELD | |
1454 | end | |
1455 | ||
1456 | local S = IT("Sound") | |
1457 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
1458 | local NEWSOUND = nil | |
1459 | coroutine.resume(coroutine.create(function() | |
1460 | NEWSOUND = S:Clone() | |
1461 | NEWSOUND.Parent = PARENT | |
1462 | NEWSOUND.Volume = VOLUME | |
1463 | NEWSOUND.Pitch = PITCH | |
1464 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
1465 | NEWSOUND:play() | |
1466 | if DOESLOOP == true then | |
1467 | NEWSOUND.Looped = true | |
1468 | else | |
1469 | repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT | |
1470 | NEWSOUND:remove() | |
1471 | end | |
1472 | end)) | |
1473 | return NEWSOUND | |
1474 | end | |
1475 | ||
1476 | local Fire = Instance.new("Sound",Character) | |
1477 | Fire.SoundId = "rbxassetid://158853971" | |
1478 | Fire.Pitch = 1 | |
1479 | Fire.Looped = false | |
1480 | Fire.Volume = 4 | |
1481 | ||
1482 | local SolarCharge = Instance.new("Sound",Character) | |
1483 | SolarCharge.SoundId = "rbxassetid://852135845" | |
1484 | SolarCharge.Pitch = 1 | |
1485 | SolarCharge.Looped = false | |
1486 | SolarCharge.Volume = 4 | |
1487 | ||
1488 | function CFrameFromTopBack(at, top, back) | |
1489 | local right = top:Cross(back) | |
1490 | 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) | |
1491 | end | |
1492 | ||
1493 | function CheckTableForString(Table, String) | |
1494 | for i, v in pairs(Table) do | |
1495 | if string.find(string.lower(String), string.lower(v)) then | |
1496 | return true | |
1497 | end | |
1498 | end | |
1499 | return false | |
1500 | end | |
1501 | function CheckIntangible(Hit) | |
1502 | local ProjectileNames = { | |
1503 | "Water", | |
1504 | "Arrow", | |
1505 | "Projectile", | |
1506 | "Effect", | |
1507 | "Rail", | |
1508 | "Lightning", | |
1509 | "Bullet" | |
1510 | } | |
1511 | if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then | |
1512 | return true | |
1513 | end | |
1514 | return false | |
1515 | end | |
1516 | Debris = game:GetService("Debris") | |
1517 | function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
1518 | local Ignore = type(Ignore) == "table" and Ignore or {Ignore} | |
1519 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore) | |
1520 | if RayHit and CheckIntangible(RayHit) then | |
1521 | if DelayIfHit then | |
1522 | wait() | |
1523 | end | |
1524 | RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit) | |
1525 | end | |
1526 | return RayHit, RayPos, RayNormal | |
1527 | end | |
1528 | BaseLightning = IT("Part") | |
1529 | BaseLightning.Anchored = true | |
1530 | BaseLightning.CanCollide = false | |
1531 | BaseLightning.Material = "Neon" | |
1532 | local LightningBolts = {} | |
1533 | function Zap(Table) | |
1534 | local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color | |
1535 | local Duration = Table.Duration or 2 | |
1536 | local Offset = Table.Offset or 2 | |
1537 | local Individualize = Table.Individualize or false | |
1538 | local MaxRange = Table.MaxRange or 200 | |
1539 | local SegmentLength = Table.SegmentLength or 5 | |
1540 | local Transparency = Table.Transparency or 0 | |
1541 | local Ignore = Table.Ignore or {} | |
1542 | local SIZE = Table.SIZE or 0.3 | |
1543 | if not (StartPos and TargetPos) or not Character then | |
1544 | return | |
1545 | end | |
1546 | local LightningModel = IT("Folder", Effects) | |
1547 | LightningModel.Name = "ZAPP" | |
1548 | for i, v in pairs({Character, LightningModel}) do | |
1549 | table.insert(Ignore, v) | |
1550 | end | |
1551 | local LastPos = StartPos | |
1552 | local Direction = CFrame.new(StartPos, TargetPos).lookVector | |
1553 | local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false) | |
1554 | local RayLength = (StartPos - RayPos).Magnitude | |
1555 | local Struck = false | |
1556 | local TotalSegments = math.ceil(RayLength / SegmentLength) | |
1557 | Direction = CFrame.new(StartPos, RayPos).lookVector | |
1558 | local LightningBolt = IT("Model", Effects) | |
1559 | LightningBolt.Name = "Lightning" | |
1560 | if not Individualize then | |
1561 | table.insert(LightningBolts, LightningBolt) | |
1562 | end | |
1563 | LastBolt = LightningBolt | |
1564 | Debris:AddItem(LightningBolt, Duration) | |
1565 | LightningBolt.Parent = LightningModel | |
1566 | for i = 1, TotalSegments do | |
1567 | if not Struck then | |
1568 | local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset) | |
1569 | local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy | |
1570 | local SegmentVec = NewPos - LastPos | |
1571 | local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false) | |
1572 | local RayVec = LastPos - RayPos | |
1573 | local LightningPart = BaseLightning:Clone() | |
1574 | LightningPart.BrickColor = BrickColor.new(Color) | |
1575 | LightningPart.Transparency = Transparency | |
1576 | LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude) | |
1577 | LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2)) | |
1578 | table.insert(Effects2, { | |
1579 | LightningPart, | |
1580 | "Disappear", | |
1581 | 0.025, | |
1582 | 1, | |
1583 | 1, | |
1584 | 1, | |
1585 | 2 | |
1586 | }) | |
1587 | local CylinderMesh = IT("CylinderMesh", LightningPart) | |
1588 | local OrigCF = LightningPart.CFrame | |
1589 | LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y) | |
1590 | LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0) | |
1591 | LightningPart.Parent = LightningBolt | |
1592 | LastPos = NewPos | |
1593 | end | |
1594 | end | |
1595 | return { | |
1596 | RayHit = RayHit, | |
1597 | RayPos = RayPos, | |
1598 | RayNormal = RayNormal, | |
1599 | LightningModel = LightningModel | |
1600 | } | |
1601 | end | |
1602 | ||
1603 | function WACKYEFFECT(Table) | |
1604 | local TYPE = (Table.EffectType or "Sphere") | |
1605 | local SIZE = (Table.Size or VT(6,6,6)) | |
1606 | local ENDSIZE = (Table.Size2 or VT(7,7,7)) | |
1607 | local TRANSPARENCY = (Table.Transparency or 0) | |
1608 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
1609 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
1610 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
1611 | local ROTATION1 = (Table.RotationX or 0) | |
1612 | local ROTATION2 = (Table.RotationY or 0) | |
1613 | local ROTATION3 = (Table.RotationZ or 0) | |
1614 | local MATERIAL = (Table.Material or "Neon") | |
1615 | local COLOR = (Table.Color or C3(1,1,1)) | |
1616 | local TIME = (Table.Time or 45) | |
1617 | local SOUNDID = (Table.SoundID or nil) | |
1618 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
1619 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
1620 | coroutine.resume(coroutine.create(function() | |
1621 | local PLAYSSOUND = false | |
1622 | local SOUND = nil | |
1623 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
1624 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
1625 | PLAYSSOUND = true | |
1626 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
1627 | end | |
1628 | EFFECT.Color = COLOR | |
1629 | local MSH = nil | |
1630 | if TYPE == "Sphere" then | |
1631 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
1632 | elseif TYPE == "Block" then | |
1633 | MSH = IT("BlockMesh",EFFECT) | |
1634 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
1635 | elseif TYPE == "Wave" then | |
1636 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
1637 | elseif TYPE == "Ring" then | |
1638 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
1639 | elseif TYPE == "Slash" then | |
1640 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
1641 | elseif TYPE == "Round Slash" then | |
1642 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
1643 | elseif TYPE == "Swirl" then | |
1644 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
1645 | elseif TYPE == "Skull" then | |
1646 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
1647 | elseif TYPE == "Crystal" then | |
1648 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
1649 | end | |
1650 | if MSH ~= nil then | |
1651 | local MOVESPEED = nil | |
1652 | if MOVEDIRECTION ~= nil then | |
1653 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
1654 | end | |
1655 | local GROWTH = SIZE - ENDSIZE | |
1656 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
1657 | if TYPE == "Block" then | |
1658 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
1659 | else | |
1660 | EFFECT.CFrame = CFRAME | |
1661 | end | |
1662 | for LOOP = 1, TIME+1 do | |
1663 | Swait() | |
1664 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
1665 | if TYPE == "Wave" then | |
1666 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
1667 | end | |
1668 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
1669 | if TYPE == "Block" then | |
1670 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
1671 | else | |
1672 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
1673 | end | |
1674 | if MOVEDIRECTION ~= nil then | |
1675 | local ORI = EFFECT.Orientation | |
1676 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
1677 | EFFECT.Orientation = ORI | |
1678 | end | |
1679 | end | |
1680 | if PLAYSSOUND == false then | |
1681 | EFFECT:remove() | |
1682 | else | |
1683 | repeat Swait() until SOUND.Playing == false | |
1684 | EFFECT:remove() | |
1685 | end | |
1686 | else | |
1687 | if PLAYSSOUND == false then | |
1688 | EFFECT:remove() | |
1689 | else | |
1690 | repeat Swait() until SOUND.Playing == false | |
1691 | EFFECT:remove() | |
1692 | end | |
1693 | end | |
1694 | end)) | |
1695 | end | |
1696 | ||
1697 | function MakeForm(PART,TYPE) | |
1698 | if TYPE == "Cyl" then | |
1699 | local MSH = IT("CylinderMesh",PART) | |
1700 | elseif TYPE == "Ball" then | |
1701 | local MSH = IT("SpecialMesh",PART) | |
1702 | MSH.MeshType = "Sphere" | |
1703 | elseif TYPE == "Wedge" then | |
1704 | local MSH = IT("SpecialMesh",PART) | |
1705 | MSH.MeshType = "Wedge" | |
1706 | end | |
1707 | end | |
1708 | function SpawnTrail(FROM,TO,BIG) | |
1709 | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10)) | |
1710 | MakeForm(TRAIL,"Cyl") | |
1711 | local cR=255 | |
1712 | local cG=0 | |
1713 | local cB=0 | |
1714 | local flg5=1 local omgidk=1 | |
1715 | local add=15 | |
1716 | game:GetService("RunService").Heartbeat:Connect(function() | |
1717 | if omgidk>10000 then omgidk=0 end | |
1718 | omgidk=omgidk+1 | |
1719 | if cR>=255 then flg5=1 end | |
1720 | if cG>=255 then flg5=2 end | |
1721 | if cB>=255 then flg5=3 end | |
1722 | if flg5==1 then cR=cR-add cG=cG+add end | |
1723 | if flg5==2 then cG=cG-add cB=cB+add end | |
1724 | if flg5==3 then cB=cB-add cR=cR+add end | |
1725 | color=Color3.fromRGB(cR,cG,cB) | |
1726 | TRAIL.Color = color | |
1727 | end) | |
1728 | local DIST = (FROM - TO).Magnitude | |
1729 | if BIG == true then | |
1730 | TRAIL.Size = VT(5,DIST,5) | |
1731 | else | |
1732 | TRAIL.Size = VT(5,DIST,5) | |
1733 | end | |
1734 | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
1735 | coroutine.resume(coroutine.create(function() | |
1736 | for i = 1, 55 do | |
1737 | Swait() | |
1738 | TRAIL.Transparency = TRAIL.Transparency + 0.01 | |
1739 | end | |
1740 | TRAIL:remove() | |
1741 | end)) | |
1742 | end | |
1743 | ||
1744 | Debris = game:GetService("Debris") | |
1745 | ||
1746 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
1747 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
1748 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
1749 | end | |
1750 | ||
1751 | function turnto(position) | |
1752 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
1753 | end | |
1754 | ||
1755 | local Particle = IT("ParticleEmitter",nil) | |
1756 | Particle.Enabled = false | |
1757 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)}) | |
1758 | Particle.LightEmission = 0.5 | |
1759 | Particle.Rate = 150 | |
1760 | Particle.ZOffset = 0.2 | |
1761 | Particle.Rotation = NumberRange.new(-180, 180) | |
1762 | Particle.RotSpeed = NumberRange.new(-180, 180) | |
1763 | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
1764 | Particle.Color = ColorSequence.new(C3(255,128,0),C3(0,155,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191)) | |
1765 | ||
1766 | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
1767 | function ParticleEmitter(Table) | |
1768 | local PRTCL = Particle:Clone() | |
1769 | local Speed = Table.Speed or 5 | |
1770 | local Drag = Table.Drag or 0 | |
1771 | local Size1 = Table.Size1 or 1 | |
1772 | local Size2 = Table.Size2 or 5 | |
1773 | local Lifetime1 = Table.Lifetime1 or 1 | |
1774 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
1775 | local Parent = Table.Parent or Torso | |
1776 | local Emit = Table.Emit or 100 | |
1777 | local Offset = Table.Offset or 360 | |
1778 | local Acel = Table.Acel or VT(0,0,0) | |
1779 | local Enabled = Table.Enabled or false | |
1780 | PRTCL.Parent = Parent | |
1781 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
1782 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
1783 | PRTCL.Speed = NumberRange.new(Speed) | |
1784 | PRTCL.VelocitySpread = Offset | |
1785 | PRTCL.Drag = Drag | |
1786 | PRTCL.Acceleration = Acel | |
1787 | if Enabled == false then | |
1788 | PRTCL:Emit(Emit) | |
1789 | Debris:AddItem(PRTCL,Lifetime2) | |
1790 | else | |
1791 | PRTCL.Enabled = true | |
1792 | end | |
1793 | return PRTCL | |
1794 | end | |
1795 | ||
1796 | --><Misc And Some Stuff | |
1797 | ||
1798 | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false) | |
1799 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0)) | |
1800 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
1801 | MakeForm(Part,"Wedge") | |
1802 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) | |
1803 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false) | |
1804 | MakeForm(Part,"Wedge") | |
1805 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0)) | |
1806 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false) | |
1807 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1808 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) | |
1809 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1810 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) | |
1811 | MakeForm(Part,"Cyl") | |
1812 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1813 | for i = 1, 8 do | |
1814 | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) | |
1815 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) | |
1816 | end | |
1817 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false) | |
1818 | MakeForm(Part,"Cyl") | |
1819 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1820 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false) | |
1821 | MakeForm(Part,"Ball") | |
1822 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1823 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false) | |
1824 | MakeForm(Part,"Wedge") | |
1825 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0)) | |
1826 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false) | |
1827 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1828 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false) | |
1829 | MakeForm(Part,"Cyl") | |
1830 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1831 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false) | |
1832 | MakeForm(Part,"Cyl") | |
1833 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1834 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false) | |
1835 | MakeForm(Part,"Cyl") | |
1836 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1837 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
1838 | MakeForm(Part,"Wedge") | |
1839 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) | |
1840 | local LASTPART = Handle | |
1841 | for i = 1, 10 do | |
1842 | if LASTPART == Handle then | |
1843 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false) | |
1844 | LASTPART = Part | |
1845 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1846 | else | |
1847 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.20,0),false) | |
1848 | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0)) | |
1849 | LASTPART = Part | |
1850 | end | |
1851 | end | |
1852 | ||
1853 | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false) | |
1854 | MakeForm(Barrel,"Cyl") | |
1855 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1856 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false) | |
1857 | MakeForm(Part,"Cyl") | |
1858 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0)) | |
1859 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false) | |
1860 | MakeForm(Part,"Wedge") | |
1861 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) | |
1862 | local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false) | |
1863 | MakeForm(Hole,"Cyl") | |
1864 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0)) | |
1865 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false) | |
1866 | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1867 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2)) | |
1868 | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false) | |
1869 | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) | |
1870 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2)) | |
1871 | coroutine.resume(coroutine.create(function() | |
1872 | while wait() do | |
1873 | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5)) | |
1874 | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5)) | |
1875 | end | |
1876 | end)) | |
1877 | ||
1878 | ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)}) | |
1879 | --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)}) | |
1880 | ||
1881 | local cR=255 | |
1882 | local cG=0 | |
1883 | local cB=0 | |
1884 | local flg5=1 local omgidk=1 | |
1885 | local add=15 | |
1886 | game:GetService("RunService").Heartbeat:Connect(function() | |
1887 | if omgidk>10000 then omgidk=0 end | |
1888 | omgidk=omgidk+1 | |
1889 | if cR>=255 then flg5=1 end | |
1890 | if cG>=255 then flg5=2 end | |
1891 | if cB>=255 then flg5=3 end | |
1892 | if flg5==1 then cR=cR-add cG=cG+add end | |
1893 | if flg5==2 then cG=cG-add cB=cB+add end | |
1894 | if flg5==3 then cB=cB-add cR=cR+add end | |
1895 | color=Color3.fromRGB(cR,cG,cB) | |
1896 | for _, c in pairs(Weapon:GetDescendants()) do | |
1897 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
1898 | c.Material = "Glass" | |
1899 | c.Color = C3(0,0,0) | |
1900 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
1901 | c.Color = color | |
1902 | c.Material = "Neon" | |
1903 | end | |
1904 | end | |
1905 | end) | |
1906 | Weapon.Parent = Character | |
1907 | for _, c in pairs(Weapon:GetChildren()) do | |
1908 | if c.ClassName == "Part" then | |
1909 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
1910 | end | |
1911 | end | |
1912 | ||
1913 | function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
1914 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
1915 | local mesh = IT("SpecialMesh",wave) | |
1916 | mesh.MeshType = "FileMesh" | |
1917 | mesh.MeshId = "http://www.roblox.com/asset/?id=1078075" | |
1918 | mesh.Scale = SIZE | |
1919 | mesh.Offset = VT(0,0,-SIZE.X/8) | |
1920 | wave.CFrame = CFRAME | |
1921 | coroutine.resume(coroutine.create(function(PART) | |
1922 | for i = 1, WAIT do | |
1923 | Swait() | |
1924 | mesh.Scale = mesh.Scale + GROW | |
1925 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
1926 | if DOESROT == true then | |
1927 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
1928 | end | |
1929 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
1930 | if wave.Transparency > 0.99 then | |
1931 | wave:remove() | |
1932 | end | |
1933 | end | |
1934 | end)) | |
1935 | end | |
1936 | ||
1937 | function CreateWave2(inair,size,doesrotate,rotatedirection,waitt,part,offset,color) | |
1938 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0)) | |
1939 | local mesh = IT("SpecialMesh",wave) | |
1940 | mesh.MeshType = "FileMesh" | |
1941 | mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1942 | mesh.Scale = VT(size,size,size) | |
1943 | mesh.Offset = VT(0,0,-size/8) | |
1944 | wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0)) | |
1945 | coroutine.resume(coroutine.create(function(PART) | |
1946 | for i = 1, waitt do | |
1947 | Swait() | |
1948 | mesh.Scale = mesh.Scale + VT(size/5,0,size/5) | |
1949 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
1950 | if doesrotate == true then | |
1951 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0) | |
1952 | end | |
1953 | wave.Transparency = wave.Transparency + (0.5/waitt) | |
1954 | if wave.Transparency > 0.99 then | |
1955 | wave:remove() | |
1956 | end | |
1957 | end | |
1958 | end)) | |
1959 | end | |
1960 | ||
1961 | local BODY = {} | |
1962 | ||
1963 | for e = 1, #BODY do | |
1964 | if BODY[e] ~= nil then | |
1965 | local STUFF = BODY[e] | |
1966 | local PART = STUFF[1] | |
1967 | local PARENT = STUFF[2] | |
1968 | local MATERIAL = STUFF[3] | |
1969 | local COLOR = STUFF[4] | |
1970 | local TRANSPARENCY = STUFF[5] | |
1971 | if PART.ClassName == "Part" and PART ~= RootPart then | |
1972 | PART.Material = MATERIAL | |
1973 | PART.Color = COLOR | |
1974 | PART.Transparency = TRANSPARENCY | |
1975 | end | |
1976 | PART.AncestryChanged:Connect(function() | |
1977 | PART.Parent = PARENT | |
1978 | end) | |
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 | if PART.ClassName == "Part" and PART ~= RootPart then | |
1993 | PART.Material = MATERIAL | |
1994 | PART.Color = COLOR | |
1995 | PART.Transparency = TRANSPARENCY | |
1996 | end | |
1997 | if PART.Parent ~= PARENT then | |
1998 | Humanoid:remove() | |
1999 | PART.Parent = PARENT | |
2000 | Humanoid = IT("Humanoid",Character) | |
2001 | end | |
2002 | end | |
2003 | end | |
2004 | end | |
2005 | ||
2006 | Humanoid.Died:connect(function() | |
2007 | refit() | |
2008 | ATTACK = false | |
2009 | end) | |
2010 | ||
2011 | Humanoid.HealthChanged:connect(function() | |
2012 | ATTACK = false | |
2013 | refit() | |
2014 | end) | |
2015 | ||
2016 | local SKILLTEXTCOLOR = C3(0,0,0) | |
2017 | local SKILLFONT = "Code" | |
2018 | local SKILLTEXTSIZE = 7 | |
2019 | ||
2020 | --><ALL SKILL TEXTS | |
2021 | ||
2022 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
2023 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
2024 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
2025 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
2026 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
2027 | local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") | |
2028 | local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame") | |
2029 | local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.66, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame") | |
2030 | local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.62, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame") | |
2031 | local SKILL10FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.58, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 10 Frame") | |
2032 | ||
2033 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1") | |
2034 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "BURNING HOPE REBORN BY INFINITEONEWITHDANK", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2") | |
2035 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3") | |
2036 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4") | |
2037 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[E]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5") | |
2038 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6") | |
2039 | local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 7") | |
2040 | local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[Q]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 8") | |
2041 | local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[F]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 9") | |
2042 | local SKILL10TEXT = CreateLabel(SKILL10FRAME, "[R]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 10") | |
2043 | ||
2044 | --><Attack Stuffs B | |
2045 | ||
2046 | function printbye(Name) | |
2047 | local MESSAGES = {"BURN, "} | |
2048 | chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name.."!!") | |
2049 | end | |
2050 | ||
2051 | workspace.ChildAdded:connect(function(instance) | |
2052 | for BANISH = 1, #TOBANISH do | |
2053 | if TOBANISH[BANISH] ~= nil then | |
2054 | if instance.Name == TOBANISH[BANISH] then | |
2055 | coroutine.resume(coroutine.create(function() | |
2056 | printbye(instance.Name) | |
2057 | instance:ClearAllChildren() | |
2058 | Debris:AddItem(instance,0.0005) | |
2059 | end)) | |
2060 | end | |
2061 | end | |
2062 | end | |
2063 | end) | |
2064 | ||
2065 | function Banish(Foe) | |
2066 | if Foe then | |
2067 | coroutine.resume(coroutine.create(function() | |
2068 | --if game.Players:FindFirstChild(Foe.Name) then | |
2069 | table.insert(TOBANISH,Foe.Name) | |
2070 | printbye(Foe.Name) | |
2071 | --end | |
2072 | Foe.Archivable = true | |
2073 | local CLONE = Foe:Clone() | |
2074 | Foe:Destroy() | |
2075 | CLONE.Parent = Effects | |
2076 | CLONE:BreakJoints() | |
2077 | local MATERIALS = {"Neon","Neon"} | |
2078 | for _, c in pairs(CLONE:GetDescendants()) do | |
2079 | if c:IsA("BasePart") then | |
2080 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
2081 | CreateSound(340722848, c, 10, 1, false) | |
2082 | end | |
2083 | c.Anchored = true | |
2084 | c.Transparency = c.Transparency + 0.2 | |
2085 | c.Material = MATERIALS[MRANDOM(1,2)] | |
2086 | c.Color = C3(0,0,0) | |
2087 | if c.Name == "Head" then | |
2088 | WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Skull", Size = VT(c.Size.Z,c.Size.Y,c.Size.Z)*3, Size2 = (VT(c.Size.Z,c.Size.Y,c.Size.Z)*3)*MRANDOM(7,14)/10, Transparency = c.Transparency, Transparency2 = 1, CFrame = c.CFrame, MoveToPos = c.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,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2089 | else | |
2090 | WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = c.Size, Size2 = c.Size*MRANDOM(7,14)/10, Transparency = c.Transparency, Transparency2 = 1, CFrame = c.CFrame, MoveToPos = c.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,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2091 | end | |
2092 | if c.ClassName == "MeshPart" then | |
2093 | c.TextureID = "" | |
2094 | end | |
2095 | if c:FindFirstChildOfClass("SpecialMesh") then | |
2096 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
2097 | end | |
2098 | if c:FindFirstChildOfClass("Decal") then | |
2099 | c:FindFirstChildOfClass("Decal"):remove() | |
2100 | end | |
2101 | c.Name = "Banished" | |
2102 | c.CanCollide = false | |
2103 | else | |
2104 | c:remove() | |
2105 | end | |
2106 | end | |
2107 | local A = false | |
2108 | for i = 1, 35 do | |
2109 | if A == false then | |
2110 | A = true | |
2111 | elseif A == true then | |
2112 | A = false | |
2113 | end | |
2114 | for _, c in pairs(CLONE:GetDescendants()) do | |
2115 | if c:IsA("BasePart") then | |
2116 | c.Anchored = true | |
2117 | c.Material = MATERIALS[MRANDOM(1,2)] | |
2118 | c.Transparency = c.Transparency + 0.8/35 | |
2119 | if A == false then | |
2120 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
2121 | elseif A == true then | |
2122 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
2123 | end | |
2124 | end | |
2125 | end | |
2126 | Swait() | |
2127 | end | |
2128 | CLONE:remove() | |
2129 | end)) | |
2130 | end | |
2131 | end | |
2132 | ||
2133 | function Rainbowify(model,collide,timer) | |
2134 | local RAINBOWMODEL = IT("Model", Effects) | |
2135 | local PARTS = model:GetChildren() | |
2136 | for index, part in pairs(PARTS) do | |
2137 | if part:IsA("Part") and part.Parent.ClassName ~= "Folder" then | |
2138 | part.Parent = RAINBOWMODEL | |
2139 | coroutine.resume(coroutine.create(function() | |
2140 | while true do | |
2141 | Swait() | |
2142 | part.Color = Color3.fromRGB(cR,cG,cB) | |
2143 | end | |
2144 | end)) | |
2145 | if collide == true then | |
2146 | part.CanCollide = true | |
2147 | else | |
2148 | part.CanCollide = false | |
2149 | end | |
2150 | end | |
2151 | end | |
2152 | Debris:AddItem(RAINBOWMODEL, timer) | |
2153 | end | |
2154 | function Burned(Char) | |
2155 | local NewCharacter = IT("Model",Effects) | |
2156 | NewCharacter.Name = "Ow im ded ;-;" | |
2157 | for _, c in pairs(Char:GetDescendants()) do | |
2158 | if c:IsA("BasePart") and c.Transparency == 0 then | |
2159 | if c.Parent == Char then | |
2160 | ||
2161 | end | |
2162 | c:BreakJoints() | |
2163 | c.Material = "Neon" | |
2164 | c.Color = Color3.fromRGB(cR,cG,cB) | |
2165 | c.CanCollide = true | |
2166 | c.Transparency = 0.3 | |
2167 | if c:FindFirstChildOfClass("SpecialMesh") then | |
2168 | c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
2169 | end | |
2170 | if c.Name == "Head" then | |
2171 | c:ClearAllChildren() | |
2172 | c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y) | |
2173 | end | |
2174 | if c.ClassName == "MeshPart" then | |
2175 | c.TextureID = "" | |
2176 | end | |
2177 | if c:FindFirstChildOfClass("BodyPosition") then | |
2178 | c:FindFirstChildOfClass("BodyPosition"):remove() | |
2179 | end | |
2180 | if c:FindFirstChildOfClass("ParticleEmitter") then | |
2181 | c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
2182 | end | |
2183 | c.Parent = NewCharacter | |
2184 | c.Name = "DeadPart" | |
2185 | c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15 | |
2186 | c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45)) | |
2187 | end | |
2188 | end | |
2189 | Char:remove() | |
2190 | Fire:Play() | |
2191 | Debris:AddItem(NewCharacter,5) | |
2192 | end | |
2193 | function killnearest(position, range, maxstrength) | |
2194 | for i, v in ipairs(workspace:GetChildren()) do | |
2195 | do | |
2196 | local body = v:GetChildren() | |
2197 | for part = 1, #body do | |
2198 | if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then | |
2199 | if v.ClassName == "Model" then | |
2200 | v:BreakJoints() | |
2201 | end | |
2202 | local bv = Instance.new("BodyVelocity") | |
2203 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
2204 | bv.velocity = CF(position, body[part].Position).lookVector * maxstrength | |
2205 | bv.Parent = body[part] | |
2206 | Debris:AddItem(bv, 0.2) | |
2207 | body[part].Parent = Effects | |
2208 | body[part].Material = "Neon" | |
2209 | body[part].BrickColor = BRICKC("Deep orange") | |
2210 | coroutine.resume(coroutine.create(function() | |
2211 | wait(5) | |
2212 | if body[part].Parent == Effects then | |
2213 | body[part]:remove() | |
2214 | end | |
2215 | end)) | |
2216 | end | |
2217 | end | |
2218 | if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then | |
2219 | v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength | |
2220 | end | |
2221 | end | |
2222 | end | |
2223 | end | |
2224 | function ApplyAoE(POSITION,RANGE,ISBANISH) | |
2225 | local CHILDREN = workspace:GetDescendants() | |
2226 | for index, CHILD in pairs(CHILDREN) do | |
2227 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
2228 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
2229 | if HUM then | |
2230 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
2231 | if TORSO then | |
2232 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
2233 | if ISBANISH == true then | |
2234 | Banish(CHILD) | |
2235 | else | |
2236 | if ISBANISH == "Gravity" then | |
2237 | HUM.PlatformStand = true | |
2238 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
2239 | local grav = Instance.new("BodyPosition",TORSO) | |
2240 | grav.D = 15 | |
2241 | grav.P = 20000 | |
2242 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
2243 | grav.position = TORSO.Position | |
2244 | grav.Name = "V3BanishForce"..Player.Name | |
2245 | else | |
2246 | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0) | |
2247 | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) | |
2248 | end | |
2249 | else | |
2250 | HUM.PlatformStand = false | |
2251 | end | |
2252 | end | |
2253 | elseif ISBANISH == "Gravity" then | |
2254 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then | |
2255 | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove() | |
2256 | HUM.PlatformStand = false | |
2257 | end | |
2258 | end | |
2259 | end | |
2260 | end | |
2261 | end | |
2262 | end | |
2263 | end | |
2264 | function ApplyAoE2(POSITION, RANGE, MINDMG, MAXDMG, FLING, ow) | |
2265 | local CHILDREN = workspace:GetDescendants() | |
2266 | for index, CHILD in pairs(CHILDREN) do | |
2267 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
2268 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
2269 | if HUM then | |
2270 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
2271 | if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then | |
2272 | if ow == true then | |
2273 | Burned(CHILD) | |
2274 | else | |
2275 | print("that doesnt hurt haha") | |
2276 | end | |
2277 | if FLING > 0 then | |
2278 | for _, c in pairs(CHILD:GetChildren()) do | |
2279 | if c:IsA("BasePart") then | |
2280 | local bv = Instance.new("BodyVelocity") | |
2281 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
2282 | bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING | |
2283 | bv.Parent = c | |
2284 | Debris:AddItem(bv, 0.05) | |
2285 | end | |
2286 | end | |
2287 | end | |
2288 | end | |
2289 | end | |
2290 | end | |
2291 | end | |
2292 | end | |
2293 | function ApplyAoE3(POSITION, RANGE, MINDMG, MAXDMG, FLING, IZBANISH) | |
2294 | local CHILDREN = workspace:GetDescendants() | |
2295 | for index, CHILD in pairs(CHILDREN) do | |
2296 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
2297 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
2298 | if HUM then | |
2299 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
2300 | if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then | |
2301 | if IZBANISH == true then | |
2302 | Banish(CHILD) | |
2303 | else | |
2304 | local DMG = MRANDOM(MINDMG, MAXDMG) | |
2305 | print("you can do WAY better than that xd") | |
2306 | end | |
2307 | if FLING > 0 then | |
2308 | for _, c in pairs(CHILD:GetChildren()) do | |
2309 | if c:IsA("BasePart") then | |
2310 | local bv = Instance.new("BodyVelocity") | |
2311 | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) | |
2312 | bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING | |
2313 | bv.Parent = c | |
2314 | Debris:AddItem(bv, 0.05) | |
2315 | end | |
2316 | end | |
2317 | end | |
2318 | end | |
2319 | end | |
2320 | end | |
2321 | end | |
2322 | end | |
2323 | function ApplyAoE4(POSITION,RANGE) | |
2324 | local KILLS = 0 | |
2325 | for index, CHILD in pairs(workspace:GetDescendants()) do | |
2326 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
2327 | local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
2328 | if HUM then | |
2329 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
2330 | if TORSO then | |
2331 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
2332 | Banish(CHILD) | |
2333 | KILLS = KILLS + 1 | |
2334 | end | |
2335 | end | |
2336 | end | |
2337 | end | |
2338 | end | |
2339 | if KILLS > 0 then | |
2340 | return true | |
2341 | else | |
2342 | return false | |
2343 | end | |
2344 | end | |
2345 | ||
2346 | function Shot() | |
2347 | ATTACK = true | |
2348 | Rooted = false | |
2349 | for i=0, 0.05, 0.1 / Animation_Speed do | |
2350 | Swait() | |
2351 | turnto(Mouse.Hit.p) | |
2352 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
2353 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
2354 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2355 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2356 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2357 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2358 | end | |
2359 | repeat | |
2360 | for i=0, 0.05, 0.1 / Animation_Speed do | |
2361 | Swait() | |
2362 | turnto(Mouse.Hit.p) | |
2363 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
2364 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
2365 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2366 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2367 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2368 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2369 | end | |
2370 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
2371 | SpawnTrail(Hole.Position,POS) | |
2372 | if HIT ~= nil then | |
2373 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
2374 | Banish(HIT.Parent) | |
2375 | end | |
2376 | end | |
2377 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(1,0,1), Size2 = VT(6,7.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2378 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = color, SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2379 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2380 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2381 | for i=0, 0.05, 0.1 / Animation_Speed do | |
2382 | Swait() | |
2383 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
2384 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed) | |
2385 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2386 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2387 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2388 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2389 | end | |
2390 | until KEYHOLD == false | |
2391 | ATTACK = false | |
2392 | Rooted = false | |
2393 | end | |
2394 | ||
2395 | function SCORCHING_PULLSAR() | |
2396 | local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character) | |
2397 | local POWER = LEVEL | |
2398 | ATTACK = true | |
2399 | Rooted = true | |
2400 | if POWER <= 6 then | |
2401 | do | |
2402 | local CENTER = MagicRing() | |
2403 | CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0)) | |
2404 | CreateSound("907333294", CENTER, 10, 1) | |
2405 | chatfunc("YOU WILL KNOW PAIN!!") | |
2406 | local RAIN = {} | |
2407 | for i = 1, 65 do | |
2408 | Swait() | |
2409 | CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) | |
2410 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2411 | 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) | |
2412 | 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) | |
2413 | 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) | |
2414 | 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) | |
2415 | 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) | |
2416 | 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) | |
2417 | end | |
2418 | local ORB = CreatePart(3, Effects, "Neon", 0, 1, "New yeller", "ORB", VT(4, 4, 4)) | |
2419 | MakeForm(ORB, "Ball") | |
2420 | wait(0.10) | |
2421 | SolarCharge:Play() | |
2422 | CreateSound("782353443", ORB, 10, 0.5) | |
2423 | for i = 0, 5, 0.1 / Animation_Speed do | |
2424 | Swait() | |
2425 | ORB.CFrame = RootPart.CFrame * CF(0, 5 + ORB.Size.Y / 2, 0) | |
2426 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 10 | |
2427 | ORB.Transparency = 0 | |
2428 | local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)) | |
2429 | local RANGE = (POS - ORB.Position).Magnitude | |
2430 | local ZAPTABLE = Zap({ | |
2431 | StartPosition = POS, | |
2432 | TargetPosition = ORB.Position, | |
2433 | Character = workspace, | |
2434 | Color = "Really black", | |
2435 | Individual = true, | |
2436 | MaxRange = RANGE, | |
2437 | SegmentLength = POWER * 2, | |
2438 | Offset = 1 | |
2439 | }) | |
2440 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
2441 | 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) | |
2442 | 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) | |
2443 | 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) | |
2444 | 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) | |
2445 | 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) | |
2446 | 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) | |
2447 | end | |
2448 | coroutine.resume(coroutine.create(function() | |
2449 | if POWER <= 3 then | |
2450 | local AIMPOS = Mouse.Hit.p | |
2451 | local O1 = MagicRing() | |
2452 | local O2 = MagicRing() | |
2453 | local O3 = MagicRing() | |
2454 | O1.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
2455 | O2.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0) | |
2456 | O3.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0) | |
2457 | for i = 1, 25 do | |
2458 | Swait() | |
2459 | O1.Size = O1.Size + VT(POWER, 0, POWER) | |
2460 | O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5 | |
2461 | O3.Size = O3.Size + VT(POWER, 0, POWER) / 2 | |
2462 | end | |
2463 | local DIST = (ORB.Position - AIMPOS).Magnitude | |
2464 | for i = 1, 75 do | |
2465 | Swait(3) | |
2466 | CreateRing(VT(0, 0, 0), false, 0, 45, CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5) | |
2467 | killnearest(ORB.Position, ORB.Size.X, 200) | |
2468 | local ZAPTABLE = Zap({ | |
2469 | SIZE = POWER * 2, | |
2470 | StartPosition = ORB.Position, | |
2471 | TargetPosition = AIMPOS + VT(MRANDOM(-POWER * 15, POWER * 15), 0, MRANDOM(-POWER * 15, POWER * 15)) * 2, | |
2472 | Character = Character, | |
2473 | Color = "Deep orange", | |
2474 | Individual = true, | |
2475 | MaxRange = POWER * 400, | |
2476 | SegmentLength = DIST / 25, | |
2477 | Offset = 3 + DIST / 350 | |
2478 | }) | |
2479 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
2480 | MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Really black").Color, ORB.Size / 15) | |
2481 | killnearest(ZAPTABLE.RayPos, POWER * 45, 60) | |
2482 | CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ZAPTABLE.RayPos), true, 5, "Dark orange", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24)) | |
2483 | end | |
2484 | local SIZE = ORB.Size | |
2485 | for i = 1, 25 do | |
2486 | Swait() | |
2487 | ORB.Size = ORB.Size - SIZE / 25 | |
2488 | O1.Size = O1.Size - VT(POWER, 0, POWER) | |
2489 | O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5 | |
2490 | O3.Size = O3.Size - VT(POWER, 0, POWER) / 2 | |
2491 | end | |
2492 | ORB:remove() | |
2493 | O1:remove() | |
2494 | O2:remove() | |
2495 | O3:remove() | |
2496 | elseif POWER > 3 then | |
2497 | local O1 = MagicRing() | |
2498 | local O2 = MagicRing() | |
2499 | local O3 = MagicRing() | |
2500 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
2501 | O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0) | |
2502 | O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0) | |
2503 | for i = 1, 25 do | |
2504 | Swait() | |
2505 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
2506 | O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0) | |
2507 | O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0) | |
2508 | O1.Size = O1.Size + VT(POWER, 0, POWER) | |
2509 | O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5 | |
2510 | O3.Size = O3.Size + VT(POWER, 0, POWER) / 2 | |
2511 | end | |
2512 | for i = 1, 75 do | |
2513 | for i = 1, 5 do | |
2514 | Swait() | |
2515 | O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0) | |
2516 | O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0) | |
2517 | O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0) | |
2518 | end | |
2519 | killnearest(ORB.Position, ORB.Size.X, 200) | |
2520 | CreateRing(VT(0, 0, 0), false, 0, 45, CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5) | |
2521 | local DIST = (ORB.Position - Mouse.Hit.p).Magnitude | |
2522 | local ZAPTABLE = Zap({ | |
2523 | SIZE = POWER, | |
2524 | StartPosition = ORB.Position, | |
2525 | TargetPosition = Mouse.Hit.p, | |
2526 | Character = Character, | |
2527 | Color = "Bright green", | |
2528 | Individual = true, | |
2529 | MaxRange = POWER * 400, | |
2530 | SegmentLength = DIST / 25, | |
2531 | Offset = 3 + DIST / 350 | |
2532 | }) | |
2533 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
2534 | MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Lime green").Color, ORB.Size / 15) | |
2535 | killnearest(ZAPTABLE.RayPos, POWER * 45, 60) | |
2536 | CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ZAPTABLE.RayPos), true, 5, "Forest green", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24)) | |
2537 | end | |
2538 | local SIZE = ORB.Size | |
2539 | for i = 1, 25 do | |
2540 | Swait() | |
2541 | ORB.Size = ORB.Size - SIZE / 25 | |
2542 | O1.Size = O1.Size - VT(POWER, 0, POWER) | |
2543 | O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5 | |
2544 | O3.Size = O3.Size - VT(POWER, 0, POWER) / 2 | |
2545 | end | |
2546 | ORB:remove() | |
2547 | O1:remove() | |
2548 | O2:remove() | |
2549 | O3:remove() | |
2550 | end | |
2551 | coroutine.resume(coroutine.create(function() | |
2552 | for i = 1, 65 do | |
2553 | Swait() | |
2554 | CENTER.Size = CENTER.Size - VT(POWER, 0, POWER) | |
2555 | CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0)) | |
2556 | end | |
2557 | CENTER:remove() | |
2558 | end)) | |
2559 | end)) | |
2560 | end | |
2561 | elseif POWER > 6 then | |
2562 | do | |
2563 | local FINISHED = false | |
2564 | local YIN = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "YIN", VT(25, 25, 25)) | |
2565 | local YAN = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "YAN", VT(65, 25, 65)) | |
2566 | coroutine.resume(coroutine.create(function() | |
2567 | local LOOP = 0 | |
2568 | repeat | |
2569 | YIN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, 200) | |
2570 | YAN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, -200) | |
2571 | LOOP = LOOP + 5 | |
2572 | MagicSphere(VT(500, 5, 500), 65, CF(YIN.Position), BRICKC("Really blue").Color, VT(-1, -0.001, -1) * 2) | |
2573 | MagicSphere(VT(500, 5, 500), 65, CF(YAN.Position), C3(1, 1, 1), VT(-1, -0.001, -1) * 2) | |
2574 | Swait() | |
2575 | until FINISHED == true | |
2576 | YIN:remove() | |
2577 | YAN:remove() | |
2578 | end)) | |
2579 | CreateSound("438666077", Effects, 10, 1) | |
2580 | for i = 0, 1, 0.1 / Animation_Speed do | |
2581 | Swait() | |
2582 | 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) | |
2583 | 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) | |
2584 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(65), RAD(0), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2585 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(65), RAD(0), RAD(-90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2586 | 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) | |
2587 | 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) | |
2588 | end | |
2589 | local ORB = CreatePart(3, Effects, "Neon", 0, 0, "White", "ORB", VT(6, 6, 6)) | |
2590 | MakeForm(ORB, "Ball") | |
2591 | ORB.CFrame = CF(HITPOS + VT(0, 150, 0)) | |
2592 | for i = 0, 8, 0.1 / Animation_Speed do | |
2593 | Swait() | |
2594 | if MRANDOM(1, 8) == 1 then | |
2595 | local RANGE1 = (ORB.Position - YIN.Position).Magnitude | |
2596 | local RANGE2 = (ORB.Position - YAN.Position).Magnitude | |
2597 | local ZAPTABLE1 = Zap({ | |
2598 | SIZE = POWER / 3, | |
2599 | StartPosition = YIN.Position, | |
2600 | TargetPosition = ORB.Position, | |
2601 | Character = workspace, | |
2602 | Color = "Pearl", | |
2603 | Individual = true, | |
2604 | MaxRange = RANGE1, | |
2605 | SegmentLength = 25, | |
2606 | Offset = 6 | |
2607 | }) | |
2608 | local ZAPTABLE2 = Zap({ | |
2609 | SIZE = POWER / 3, | |
2610 | StartPosition = YAN.Position, | |
2611 | TargetPosition = ORB.Position, | |
2612 | Character = workspace, | |
2613 | Color = "Dark Indigo", | |
2614 | Individual = true, | |
2615 | MaxRange = RANGE1, | |
2616 | SegmentLength = 25, | |
2617 | Offset = 6 | |
2618 | }) | |
2619 | Debris:AddItem(ZAPTABLE1.LightningModel, 0.1) | |
2620 | Debris:AddItem(ZAPTABLE2.LightningModel, 0.1) | |
2621 | end | |
2622 | ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 15 | |
2623 | 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) | |
2624 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed) | |
2625 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2626 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(-90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2627 | 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) | |
2628 | 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) | |
2629 | end | |
2630 | FINISHED = true | |
2631 | coroutine.resume(coroutine.create(function() | |
2632 | for i = 1, 6 do | |
2633 | for e = 1, 10 do | |
2634 | Swait() | |
2635 | Slice("Thin", ORB.Size.X / 15, 15, ORB.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Pearl", VT(-0.01, 0, -0.01)) | |
2636 | ORB.Size = ORB.Size * 0.97 | |
2637 | killnearest(ORB.Position, ORB.Size.X * 3, 200) | |
2638 | CreateWave(VT(ORB.Size.X, 35, ORB.Size.X), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5 + e * 5), RAD(0)), false, 0, C3(1, 1, 1), VT(POWER, 0, POWER)) | |
2639 | end | |
2640 | local POS = ORB.Position | |
2641 | for i = 1, 5 do | |
2642 | CreateRing(VT(0, 0, 0), false, 0, 8 * i, CF(POS) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5) | |
2643 | end | |
2644 | CreateRing(VT(0, 0, 0), false, 0, 45, CF(POS) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(1, 1, 1), VT(POWER, POWER, 0)) | |
2645 | for e = 1, 10 do | |
2646 | Swait() | |
2647 | if MRANDOM(1, 5) == 1 then | |
2648 | local POS = CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))) * CF(0, 0, -POWER * 25).p | |
2649 | local ZAPTABLE = Zap({ | |
2650 | SIZE = POWER, | |
2651 | StartPosition = ORB.Position, | |
2652 | TargetPosition = POS, | |
2653 | Character = workspace, | |
2654 | Color = "New yeller", | |
2655 | Individual = true, | |
2656 | MaxRange = POWER * 75, | |
2657 | SegmentLength = POWER * 5, | |
2658 | Offset = 3 | |
2659 | }) | |
2660 | Debris:AddItem(ZAPTABLE.LightningModel, 0.1) | |
2661 | end | |
2662 | ORB.Size = ORB.Size * 1.05 | |
2663 | killnearest(ORB.Position, ORB.Size.X * 3, 200) | |
2664 | CreateWave(VT(ORB.Size.X, 35, ORB.Size.X), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5 + e * 5), RAD(0)), false, 0, C3(1, 1, 1), VT(POWER, 0, POWER)) | |
2665 | end | |
2666 | end | |
2667 | local POS = ORB.Position | |
2668 | for e = 1, 10 do | |
2669 | Swait() | |
2670 | ORB.Transparency = ORB.Transparency + 0.1 | |
2671 | end | |
2672 | ORB:remove() | |
2673 | killnearest(POS, POWER * 35, 200) | |
2674 | for i = 1, 5 do | |
2675 | CreateRing(VT(0, 0, 0), false, 0, 8 * i, CF(POS) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5) | |
2676 | end | |
2677 | CreateRing(VT(0, 0, 0), false, 0, 45, CF(POS) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(1, 1, 1), VT(POWER, POWER, 0)) | |
2678 | end)) | |
2679 | end | |
2680 | end | |
2681 | ATTACK = false | |
2682 | Rooted = false | |
2683 | end | |
2684 | ||
2685 | function Rainbow_Bullet() | |
2686 | ATTACK = true | |
2687 | Rooted = false | |
2688 | for i=0, 0.05, 0.1 / Animation_Speed do | |
2689 | Swait() | |
2690 | turnto(Mouse.Hit.p) | |
2691 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
2692 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
2693 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2694 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2695 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2696 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2697 | end | |
2698 | repeat | |
2699 | for i=0, 0.05, 0.1 / Animation_Speed do | |
2700 | Swait() | |
2701 | turnto(Mouse.Hit.p) | |
2702 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
2703 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
2704 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2705 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2706 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2707 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2708 | end | |
2709 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
2710 | SpawnTrail(Hole.Position,POS) | |
2711 | if HIT ~= nil then | |
2712 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
2713 | Rainbowify(HIT.Parent,true,4) | |
2714 | Fire:Play() | |
2715 | end | |
2716 | end | |
2717 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame, MoveToPos = LeftArm.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
2718 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 80}) | |
2719 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,LeftArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2720 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,LeftArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) | |
2721 | for i=0, 0.1, 0.1 / Animation_Speed do | |
2722 | Swait() | |
2723 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
2724 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed) | |
2725 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2726 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2727 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2728 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2729 | end | |
2730 | until KEYHOLD == false | |
2731 | ATTACK = false | |
2732 | Rooted = false | |
2733 | end | |
2734 | ||
2735 | function AttackTemplate() | |
2736 | ATTACK = true | |
2737 | Rooted = false | |
2738 | for i=0, 1, 0.1 / Animation_Speed do | |
2739 | Swait() | |
2740 | 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) | |
2741 | 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) | |
2742 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
2743 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2744 | 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) | |
2745 | 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) | |
2746 | end | |
2747 | ATTACK = false | |
2748 | Rooted = false | |
2749 | end | |
2750 | ||
2751 | function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping) | |
2752 | local dmg = math.random(min,max) | |
2753 | for i,v in ipairs(workspace:GetChildren()) do | |
2754 | if v:FindFirstChild("HitBy"..Player.Name) == nil then | |
2755 | local body = v:GetChildren() | |
2756 | for part = 1, #body do | |
2757 | if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
2758 | if(body[part].Position - position).Magnitude < radius then | |
2759 | if v.ClassName == "Model" then | |
2760 | if v:FindFirstChild("Humanoid") then | |
2761 | if v.Humanoid.Health ~= 0 then | |
2762 | if CanBeDodgedByJumping == true then | |
2763 | if body[part].Position.Y < position.Y+5 then | |
2764 | if math.random(1,100) < critrate+1 then | |
2765 | v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier | |
2766 | else | |
2767 | v.Humanoid.Health = v.Humanoid.Health - dmg | |
2768 | end | |
2769 | local defence = Instance.new("BoolValue",v) | |
2770 | defence.Name = ("HitBy"..Player.Name) | |
2771 | end | |
2772 | else | |
2773 | if beserk == true then | |
2774 | Banish(v) | |
2775 | end | |
2776 | if math.random(1,100) < critrate+1 then | |
2777 | v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier | |
2778 | else | |
2779 | v.Humanoid.Health = v.Humanoid.Health - dmg | |
2780 | end | |
2781 | local defence = Instance.new("BoolValue",v) | |
2782 | defence.Name = ("HitBy"..Player.Name) | |
2783 | end | |
2784 | end | |
2785 | body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength | |
2786 | end | |
2787 | end | |
2788 | end | |
2789 | end | |
2790 | end | |
2791 | end | |
2792 | if v:FindFirstChild("HitBy"..Player.Name) then | |
2793 | v:FindFirstChild("HitBy"..Player.Name):remove() | |
2794 | end | |
2795 | end | |
2796 | end | |
2797 | ||
2798 | function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW) | |
2799 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true) | |
2800 | local mesh | |
2801 | if KIND == "Base" then | |
2802 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0)) | |
2803 | elseif KIND == "Thin" then | |
2804 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0)) | |
2805 | elseif KIND == "Round" then | |
2806 | mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0)) | |
2807 | end | |
2808 | wave.CFrame = CFRAME | |
2809 | coroutine.resume(coroutine.create(function(PART) | |
2810 | for i = 1, WAIT do | |
2811 | Swait() | |
2812 | mesh.Scale = mesh.Scale + GROW / 10 | |
2813 | wave.Transparency = wave.Transparency + 0.5 / WAIT | |
2814 | if wave.Transparency > 0.99 then | |
2815 | wave:remove() | |
2816 | end | |
2817 | end | |
2818 | end)) | |
2819 | end | |
2820 | ||
2821 | function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW) | |
2822 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true) | |
2823 | wave.Color = COLOR | |
2824 | local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0)) | |
2825 | wave.CFrame = CFRAME | |
2826 | coroutine.resume(coroutine.create(function(PART) | |
2827 | for i = 1, WAIT do | |
2828 | Swait() | |
2829 | mesh.Scale = mesh.Scale + GROW | |
2830 | wave.Transparency = wave.Transparency + 1 / WAIT | |
2831 | if wave.Transparency > 0.99 then | |
2832 | wave:remove() | |
2833 | end | |
2834 | end | |
2835 | end)) | |
2836 | end | |
2837 | ||
2838 | function Intro() | |
2839 | ATTACK = true | |
2840 | Rooted = true | |
2841 | Fire:Play() | |
2842 | chatfunc("I am back but now..") | |
2843 | for i=0, 1, 0.1 / Animation_Speed do | |
2844 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2845 | 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) | |
2846 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
2847 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
2848 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-11), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2849 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-11), RAD(0), RAD(0)), 1 / Animation_Speed) | |
2850 | end | |
2851 | wait(5) | |
2852 | for i=0, 1, 0.1 / Animation_Speed do | |
2853 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2854 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)), 0.15 / Animation_Speed) | |
2855 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2856 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
2857 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
2858 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
2859 | end | |
2860 | chatfunc("Its Time I Show You What It Really Means TO BURN!!") | |
2861 | for i = 1, 15 do | |
2862 | for i = 1, 45 do | |
2863 | Swait() | |
2864 | Slice("Round",2,25,RootPart.CFrame*CF(0,MRANDOM(-15,15),0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(0.1,0,0.1)) | |
2865 | MagicSphere(VT(0, 0, 0), 15, Torso.CFrame*CF(0,MRANDOM(-0,0),0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))), C3(0,0.5,0), VT(1, 0.1, 0.1)) | |
2866 | end | |
2867 | for i = 1, 6 do | |
2868 | Slice("Thin",2,25,RootPart.CFrame*CF(0,MRANDOM(-15,15),0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-15,15))),"Really black",VT(0.1,0,0.1)) | |
2869 | end | |
2870 | wait(3) | |
2871 | ATTACK = false | |
2872 | Rooted = false | |
2873 | MUI = true | |
2874 | end | |
2875 | end | |
2876 | ||
2877 | function PunishingWall() | |
2878 | ATTACK = true | |
2879 | Rooted = true | |
2880 | for i=0, 2, 0.1 / Animation_Speed do | |
2881 | Swait() | |
2882 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed) | |
2883 | 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.5 / Animation_Speed) | |
2884 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2885 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2886 | 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) | |
2887 | 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) | |
2888 | end | |
2889 | coroutine.resume(coroutine.create(function() | |
2890 | local POS = RootPart.CFrame * CF(0,0,-5) | |
2891 | local OFFSET = 0.1 | |
2892 | chatfunc("PUNISHING WALL!") | |
2893 | local WallPiece = CreatePart(3, Effects, "Neon", 0, 0.75, "Lime green", "Neon", VT(25,175,25)) | |
2894 | WallPiece.CFrame = POS | |
2895 | AoEDamage(WallPiece.Position,36,33,34,35,true,2,2,false) | |
2896 | WallPiece.CanCollide = true | |
2897 | coroutine.resume(coroutine.create(function() | |
2898 | Swait(150) | |
2899 | WallPiece.Anchored = false | |
2900 | WallPiece.CanCollide = false | |
2901 | end)) | |
2902 | for i = 1, 2 do | |
2903 | coroutine.resume(coroutine.create(function() | |
2904 | local OFF = OFFSET | |
2905 | for i = 1, 30 do | |
2906 | Swait() | |
2907 | local WallPiece = CreatePart(3, Effects, "Neon", 0, 0.75, "Medium green", "Neon", VT(25,175,25)) | |
2908 | WallPiece.CanCollide = true | |
2909 | WallPiece.CFrame = POS*CF(OFF*(i*10),0,0) | |
2910 | coroutine.resume(coroutine.create(function() | |
2911 | Swait(150-i*1.3) | |
2912 | WallPiece.Anchored = false | |
2913 | WallPiece.CanCollide = false | |
2914 | end)) | |
2915 | AoEDamage(WallPiece.Position,36,33,34,35,true,2,2,false) | |
2916 | end | |
2917 | end)) | |
2918 | OFFSET = OFFSET - 0.2 | |
2919 | end | |
2920 | end)) | |
2921 | for i=0, 2, 0.1 / Animation_Speed do | |
2922 | Swait() | |
2923 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.5 / Animation_Speed) | |
2924 | 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.5 / Animation_Speed) | |
2925 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(20), RAD(45), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
2926 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
2927 | 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) | |
2928 | 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) | |
2929 | end | |
2930 | ATTACK = false | |
2931 | Rooted = false | |
2932 | end | |
2933 | ||
2934 | function ThroughTheFire() | |
2935 | ATTACK = true | |
2936 | Rooted = false | |
2937 | CreateSound(1591825950, Torso, 10, 1) | |
2938 | CreateWave2(0,3.5,false,0.2,100,RootPart,-2,"Lime green") | |
2939 | CreateWave2(0,5,false,-0.2,100,RootPart,-2,"Really red") | |
2940 | ApplyAoE2(Torso.Position, 150, 0, 0, 0, true) | |
2941 | local POS = RootPart.Orientation | |
2942 | RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0)) | |
2943 | RootPart.Orientation = POS | |
2944 | RootJoint.Parent = RootPart | |
2945 | ATTACK = false | |
2946 | Rooted = false | |
2947 | end | |
2948 | ||
2949 | function BurningStomp() | |
2950 | ATTACK = true | |
2951 | Rooted = true | |
2952 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
2953 | coroutine.resume(coroutine.create(function() | |
2954 | Swait(65) | |
2955 | CreateSound(262562442,RightLeg,60,1,false) | |
2956 | CreateFlyingDebree(HITFLOOR,CF(HITPOS),10,VT(5,5,5),4,125) | |
2957 | WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0.55,0)*SIZE, Size2 = VT(200,4,200), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.96, SoundVolume = 10}) | |
2958 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,7.5,0)*SIZE, Size2 = VT(100,6.5,100), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.96, SoundVolume = 10}) | |
2959 | ApplyAoE3(HITPOS,78,45,67,75,true) | |
2960 | end)) | |
2961 | for i=0, 1.9999999999999999, 0.1 / Animation_Speed do | |
2962 | WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0.25,0.25,0.25), Transparency = 0.5, Transparency2 = 1, CFrame = Hole.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
2963 | Swait() | |
2964 | RightHip.C0=Clerp(RightHip.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + sick.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + sick.PlaybackLoudness/450)),.4) | |
2965 | LeftHip.C0=Clerp(LeftHip.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - sick.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + sick.PlaybackLoudness/500)),.4) | |
2966 | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + sick.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(30)),.4) | |
2967 | Neck.C0=clerp(Neck.C0,NECKC0*angles(math.rad(10 + 2 * math.cos(sine / 28) - sick.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-30)),.4) | |
2968 | LeftShoulder.C0=Clerp(LeftShoulder.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4) | |
2969 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed) | |
2970 | end | |
2971 | for i=0, 0.4, 0.1 / Animation_Speed do | |
2972 | Swait() | |
2973 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed) | |
2974 | 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) | |
2975 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
2976 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
2977 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed) | |
2978 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
2979 | end | |
2980 | ATTACK = false | |
2981 | Rooted = false | |
2982 | end | |
2983 | ||
2984 | function SolarTrap() | |
2985 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 3.7*SIZE, Character) | |
2986 | ATTACK = true | |
2987 | Rooted = true | |
2988 | UNANCHOR = false | |
2989 | local RING,WELD,MESH = MagicRing2(RootPart,CF(0,0,0)) | |
2990 | WELD:remove() | |
2991 | RING.Anchored = true | |
2992 | RING.CFrame = CF(HITPOS) | |
2993 | local RINGON = true | |
2994 | CreateSound(299058146,RING,10,1,false) | |
2995 | coroutine.resume(coroutine.create(function() | |
2996 | coroutine.resume(coroutine.create(function() | |
2997 | for i = 1, 70 do | |
2998 | Swait() | |
2999 | MESH.Scale = MESH.Scale + VT(15,0,15) | |
3000 | end | |
3001 | end)) | |
3002 | repeat | |
3003 | Swait() | |
3004 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(2), RAD(0)) | |
3005 | until RINGON == false | |
3006 | for i = 1, 70 do | |
3007 | Swait() | |
3008 | MESH.Scale = MESH.Scale - VT(15,0,15) | |
3009 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(2), RAD(0)) | |
3010 | end | |
3011 | RING:remove() | |
3012 | end)) | |
3013 | for i=0, 0.6, 0.1 / Animation_Speed do | |
3014 | Swait() | |
3015 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.3*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
3016 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
3017 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed) | |
3018 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.3 / Animation_Speed) | |
3019 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(60), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
3020 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(25), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
3021 | end | |
3022 | EXPLODE = function(POS) | |
3023 | coroutine.resume(coroutine.create(function() | |
3024 | local CFRAME = CF(POS) | |
3025 | for e = 1, 16 do | |
3026 | local AREA = CF(CFRAME * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) * CF(0,MRANDOM(-25,35),MRANDOM(-75,75)).p) | |
3027 | for i = 1, 3 do | |
3028 | WACKYEFFECT({Time = MRANDOM(30,40), EffectType = "Sphere", Size = VT(5,15,5), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = AREA, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 231917744, SoundPitch = 1, SoundVolume = 5}) | |
3029 | end | |
3030 | wait(0.1) | |
3031 | local DETONATE = ApplyAoE(AREA.p,75) | |
3032 | for i = 1, 5 do | |
3033 | WACKYEFFECT({Time = MRANDOM(10,40), EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(120,1,120), Transparency = 0.3, Transparency2 = 1, CFrame = AREA * 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 = 1, SoundVolume = 5}) | |
3034 | WACKYEFFECT({Time = MRANDOM(30,40)*3, EffectType = "Sphere", Size = VT(5,15,5)*3, Size2 = VT(15,20,15)*5, Transparency = 0.5, Transparency2 = 1, CFrame = AREA, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 376976397, SoundPitch = 0.8, SoundVolume = 5}) | |
3035 | end | |
3036 | if DETONATE == true then | |
3037 | EXPLODE(AREA.p) | |
3038 | end | |
3039 | wait(0.07) | |
3040 | end | |
3041 | end)) | |
3042 | end | |
3043 | coroutine.resume(coroutine.create(function() | |
3044 | local LOOP = 0 | |
3045 | local RESPOND = false | |
3046 | for i = 1, 450 do | |
3047 | Swait() | |
3048 | LOOP = LOOP + 1 | |
3049 | local REACT = ApplyAoE(RING.Position,25) | |
3050 | if REACT == true then | |
3051 | RESPOND = true | |
3052 | break | |
3053 | else | |
3054 | if LOOP >= 10 then | |
3055 | for i = 1, 3 do | |
3056 | WACKYEFFECT({Time = MRANDOM(10,40), EffectType = "Wave", Size = VT(15,0,15), Size2 = VT(31,1,31), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RING.Position) * ANGLES(RAD(MRANDOM(0,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) | |
3057 | end | |
3058 | end | |
3059 | end | |
3060 | end | |
3061 | RINGON = false | |
3062 | if RESPOND == true then | |
3063 | EXPLODE(RING.Position+VT(0,15,0)) | |
3064 | end | |
3065 | end)) | |
3066 | for i=1, 100 do | |
3067 | Swait() | |
3068 | RootPart.CFrame = RootPart.CFrame * CF(0,((100-i)/100)*2,0.6) | |
3069 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3070 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3071 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3072 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3073 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3074 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(25), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3075 | end | |
3076 | UNANCHOR = true | |
3077 | ATTACK = false | |
3078 | Rooted = false | |
3079 | end | |
3080 | ||
3081 | function EveryonesHopesAndDreams() | |
3082 | ATTACK = true | |
3083 | Rooted = true | |
3084 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 3.7*SIZE, Character) | |
3085 | local RING,WELD,MESH = MagicRing2(RootPart,CF(0,0,0)) | |
3086 | WELD:remove() | |
3087 | RING.Anchored = true | |
3088 | RING.CFrame = CF(HITPOS) | |
3089 | local RINGON = true | |
3090 | CreateSound(299058146,Effects,10,0.8,false) | |
3091 | coroutine.resume(coroutine.create(function() | |
3092 | coroutine.resume(coroutine.create(function() | |
3093 | for i = 1, 240 do | |
3094 | Swait() | |
3095 | MESH.Scale = MESH.Scale + VT(45,0,45) | |
3096 | end | |
3097 | end)) | |
3098 | repeat | |
3099 | Swait() | |
3100 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(2), RAD(0)) | |
3101 | until RINGON == false | |
3102 | for i = 1, 240 do | |
3103 | Swait() | |
3104 | MESH.Scale = MESH.Scale - VT(45,0,45) | |
3105 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(2), RAD(0)) | |
3106 | end | |
3107 | RING:remove() | |
3108 | end)) | |
3109 | for i=0, 4, 0.1 / Animation_Speed do | |
3110 | Swait() | |
3111 | local AREA = RootPart.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(2,18)) | |
3112 | local TIMER = MRANDOM(30,50)/2 | |
3113 | WACKYEFFECT({Time = TIMER, EffectType = "Sphere", Size = VT(3,3,3)/1.1, Size2 = VT(0,15,0)/1.1, Transparency = 0, Transparency2 = 0, CFrame = AREA, MoveToPos = AREA.p+VT(0,MRANDOM(35,60),0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5}) | |
3114 | WACKYEFFECT({Time = TIMER, EffectType = "Sphere", Size = VT(3,3,3), Size2 = VT(0,15,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = AREA, MoveToPos = AREA.p+VT(0,MRANDOM(35,60),0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5}) | |
3115 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.3*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
3116 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
3117 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed) | |
3118 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.3 / Animation_Speed) | |
3119 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(60), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
3120 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(25), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
3121 | end | |
3122 | CreateSound(376976397,Effects,10,0.2,false) | |
3123 | CreateSound(231917744,Effects,10,0.2,false) | |
3124 | coroutine.resume(coroutine.create(function() | |
3125 | local BOOM = CreatePart(3, Effects, "Neon", 0, 0.2, BRICKC("Lime green"), "Effect", VT(0,0,0), true) | |
3126 | MakeForm(BOOM,"Ball") | |
3127 | local BOOM2 = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Effect", VT(0,0,0), true) | |
3128 | MakeForm(BOOM2,"Ball") | |
3129 | for i = 1, 250 do | |
3130 | Swait() | |
3131 | BOOM.Size = BOOM.Size + VT(0.7,0.7,0.7)*2 | |
3132 | BOOM2.Size = BOOM.Size - VT(0.3,0.3,0.3) | |
3133 | ApplyAoE4(BOOM.Position,BOOM.Size.X/2) | |
3134 | local AREA = BOOM.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,BOOM.Size.X/1.7) | |
3135 | local TIMER = MRANDOM(30,50) | |
3136 | WACKYEFFECT({Time = TIMER, EffectType = "Sphere", Size = VT(3,3,3)/1.1, Size2 = VT(0,15,0)/1.1, Transparency = 0, Transparency2 = 0, CFrame = AREA, MoveToPos = AREA.p+VT(0,MRANDOM(35,60),0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5}) | |
3137 | WACKYEFFECT({Time = TIMER, EffectType = "Sphere", Size = VT(3,3,3), Size2 = VT(0,15,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = AREA, MoveToPos = AREA.p+VT(0,MRANDOM(35,60),0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5}) | |
3138 | end | |
3139 | RINGON = false | |
3140 | for i = 1, 20 do | |
3141 | Swait() | |
3142 | BOOM.Transparency = BOOM.Transparency + 0.8/20 | |
3143 | BOOM2.Transparency = BOOM2.Transparency + 1/20 | |
3144 | end | |
3145 | BOOM:remove() | |
3146 | BOOM2:remove() | |
3147 | end)) | |
3148 | repeat | |
3149 | Swait() | |
3150 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3151 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3152 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(140), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
3153 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(140), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
3154 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(-15), RAD(60), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3155 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(-15), RAD(-60), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
3156 | until RINGON == false | |
3157 | ATTACK = false | |
3158 | Rooted = false | |
3159 | end | |
3160 | ||
3161 | ||
3162 | ||
3163 | --><Assign Things To Keys | |
3164 | ||
3165 | function MouseDown(Mouse) | |
3166 | if ATTACK == false then | |
3167 | end | |
3168 | end | |
3169 | ||
3170 | function MouseUp(Mouse) | |
3171 | HOLD = false | |
3172 | end | |
3173 | ||
3174 | function KeyDown(Key) | |
3175 | KEYHOLD = true | |
3176 | if Key == "z" and ATTACK == false then | |
3177 | Shot() | |
3178 | end | |
3179 | ||
3180 | if Key == "b" and ATTACK == false then | |
3181 | SCORCHING_PULLSAR() | |
3182 | end | |
3183 | ||
3184 | if Key == "c" and ATTACK == false then | |
3185 | TOBANISH = {} | |
3186 | chatfunc("I Set You Free Of My Hell") | |
3187 | end | |
3188 | ||
3189 | if Key == "v" and ATTACK == false then | |
3190 | ThroughTheFire() | |
3191 | end | |
3192 | ||
3193 | if Key == "e" and ATTACK == false then | |
3194 | PunishingWall() | |
3195 | end | |
3196 | ||
3197 | if Key == "q" and ATTACK == false then | |
3198 | BurningStomp() | |
3199 | end | |
3200 | ||
3201 | if Key == "f" and ATTACK == false then | |
3202 | EveryonesHopesAndDreams() | |
3203 | end | |
3204 | ||
3205 | if Key == "r" and ATTACK == false then | |
3206 | SolarTrap() | |
3207 | end | |
3208 | ||
3209 | if Key == "x" and ATTACK == false then | |
3210 | Rainbow_Bullet() | |
3211 | end | |
3212 | end | |
3213 | ||
3214 | function KeyUp(Key) | |
3215 | KEYHOLD = false | |
3216 | end | |
3217 | ||
3218 | Mouse.Button1Down:connect(function(NEWKEY) | |
3219 | MouseDown(NEWKEY) | |
3220 | end) | |
3221 | Mouse.Button1Up:connect(function(NEWKEY) | |
3222 | MouseUp(NEWKEY) | |
3223 | end) | |
3224 | Mouse.KeyDown:connect(function(NEWKEY) | |
3225 | KeyDown(NEWKEY) | |
3226 | end) | |
3227 | Mouse.KeyUp:connect(function(NEWKEY) | |
3228 | KeyUp(NEWKEY) | |
3229 | end) | |
3230 | ||
3231 | --><:Thonkering: | |
3232 | function unanchor() | |
3233 | if UNANCHOR == true then | |
3234 | g = Character:GetChildren() | |
3235 | for i = 1, #g do | |
3236 | if g[i].ClassName == "Part" then | |
3237 | g[i].Anchored = false | |
3238 | end | |
3239 | end | |
3240 | end | |
3241 | end | |
3242 | ||
3243 | ||
3244 | --><Wrap The Script | |
3245 | Humanoid.Changed:connect(function(Jump) | |
3246 | if Jump == "Jump" and (Disable_Jump == true) then | |
3247 | Humanoid.Jump = false | |
3248 | end | |
3249 | end) | |
3250 | ||
3251 | local INTRO = true | |
3252 | local CONNECT = nil | |
3253 | ||
3254 | while true do | |
3255 | Swait() | |
3256 | ANIMATE.Parent = nil | |
3257 | if Character:FindFirstChildOfClass("Humanoid") == nil then | |
3258 | Humanoid = IT("Humanoid",Character) | |
3259 | end | |
3260 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
3261 | v:Stop(); | |
3262 | end | |
3263 | SINE = SINE + CHANGE | |
3264 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
3265 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
3266 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
3267 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
3268 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
3269 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
3270 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
3271 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
3272 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
3273 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
3274 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3275 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3276 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3277 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3278 | end | |
3279 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
3280 | ANIM = "Jump" | |
3281 | if ATTACK == false then | |
3282 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3283 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3284 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3285 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
3286 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
3287 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
3288 | end | |
3289 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
3290 | ANIM = "Fall" | |
3291 | if ATTACK == false then | |
3292 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3293 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
3294 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3295 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
3296 | 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) | |
3297 | 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) | |
3298 | end | |
3299 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
3300 | ANIM = "Idle" | |
3301 | if ATTACK == false then | |
3302 | 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) | |
3303 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3304 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.2, -0.3) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3305 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
3306 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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) | |
3307 | 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) | |
3308 | end | |
3309 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
3310 | ANIM = "Walk" | |
3311 | if ATTACK == false then | |
3312 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3313 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
3314 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
3315 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed) | |
3316 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
3317 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
3318 | end | |
3319 | end | |
3320 | unanchor() | |
3321 | Humanoid.MaxHealth = "inf" | |
3322 | Humanoid.Health = "inf" | |
3323 | SKILL1TEXT.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
3324 | SKILL2TEXT.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
3325 | SKILL3TEXT.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
3326 | SKILL4TEXT.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
3327 | SKILL5TEXT.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
3328 | SKILL6TEXT.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
3329 | SKILL7TEXT.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
3330 | SKILL8TEXT.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
3331 | SKILL9TEXT.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
3332 | SKILL10TEXT.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
3333 | RightArm.Color = Color3.fromRGB(cR,cG,cB) | |
3334 | SKILL2TEXT.Rotation = math.random(-3,3) | |
3335 | SKILL2TEXT.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3)) | |
3336 | text.TextColor3 = Color3.fromRGB(cR,cG,cB) | |
3337 | if Rooted == false then | |
3338 | Disable_Jump = false | |
3339 | Humanoid.WalkSpeed = Speed | |
3340 | elseif Rooted == true then | |
3341 | Disable_Jump = true | |
3342 | Humanoid.WalkSpeed = 0 | |
3343 | end | |
3344 | if INTRO == true then | |
3345 | INTRO = false | |
3346 | coroutine.resume(coroutine.create(function() | |
3347 | Intro() | |
3348 | end)) | |
3349 | end | |
3350 | refit() | |
3351 | sick.SoundId = "rbxassetid://2557672037" | |
3352 | sick.Looped = true | |
3353 | sick.Pitch = 1 | |
3354 | sick.Volume = 4 | |
3355 | sick.Playing = true | |
3356 | if sick.Parent ~= RootPart then | |
3357 | sick = IT("Sound",RootPart) | |
3358 | end | |
3359 | end | |
3360 | if MUI == true then | |
3361 | for _, c in pairs(Character:GetChildren()) do | |
3362 | if c.ClassName == "ParticleEmitter" then | |
3363 | c.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB)) | |
3364 | end | |
3365 | end | |
3366 | ||
3367 | for _, c in pairs(RightLeg:GetChildren()) do | |
3368 | if c.ClassName == "ParticleEmitter" then | |
3369 | c.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB)) | |
3370 | end | |
3371 | end | |
3372 | ||
3373 | for _, c in pairs(RightArm:GetChildren()) do | |
3374 | if c.ClassName == "ParticleEmitter" then | |
3375 | c.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB)) | |
3376 | end | |
3377 | end | |
3378 | ||
3379 | for _, c in pairs(LeftLeg:GetChildren()) do | |
3380 | if c.ClassName == "ParticleEmitter" then | |
3381 | c.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB)) | |
3382 | end | |
3383 | end | |
3384 | ||
3385 | for _, c in pairs(LeftArm:GetChildren()) do | |
3386 | if c.ClassName == "ParticleEmitter" then | |
3387 | c.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB)) | |
3388 | end | |
3389 | end | |
3390 | ||
3391 | for _, c in pairs(Torso:GetChildren()) do | |
3392 | if c.ClassName == "ParticleEmitter" then | |
3393 | c.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB)) | |
3394 | end | |
3395 | end | |
3396 | ||
3397 | for _, c in pairs(Head:GetChildren()) do | |
3398 | if c.ClassName == "ParticleEmitter" then | |
3399 | c.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB)) | |
3400 | end | |
3401 | end | |
3402 | ||
3403 | for _, c in pairs(Weapon:GetChildren()) do | |
3404 | if c.ClassName == "ParticleEmitter" then | |
3405 | c.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB)) | |
3406 | end | |
3407 | end | |
3408 | ||
3409 | local d = Character:FindFirstChild("FZcharge4") | |
3410 | if d then | |
3411 | d.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB)) | |
3412 | end | |
3413 | end | |
3414 | ||
3415 | --><Gay Hobos That Are Blacklisted | |
3416 | if Player.Name == "Yiruy" or Player.Name == "CragBlock" or Player.Name == "blackvipdude29" then | |
3417 | Player:Kick("SR.PELO INTENSIFIES") | |
3418 | end | |
3419 | ||
3420 | ----------------------------------- | |
3421 | ||
3422 | -------------------|| | |
3423 | --------------------\\ | |
3424 | --||||||||||]]]]]]]]]\\ | |
3425 | ---------------------\\\\\\\\\\\\\\\\\\\\ | |
3426 | --END OF EDIT BY INFINITEONEWITHDANK|]]>> | |
3427 | ---------------------//////////////////// | |
3428 | --||||||||||]]]]]]]]]// | |
3429 | --------------------// | |
3430 | -------------------|| |