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