SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("use h/ and not hl/") end | |
2 | local Player,game,owner = owner,game | |
3 | local RealPlayer = Player | |
4 | do | |
5 | local rp = RealPlayer | |
6 | script.Parent = rp.Character | |
7 | ||
8 | local Event = Instance.new("RemoteEvent") | |
9 | Event.Name = "UserInput_Event" | |
10 | ||
11 | local function fakeEvent() | |
12 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
13 | t.connect = t.Connect | |
14 | return t | |
15 | end | |
16 | ||
17 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()} | |
18 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
19 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
20 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
21 | end} | |
22 | CAS.UnbindAction = CAS.BindAction | |
23 | local function te(self,ev,...) | |
24 | local t = m[ev] | |
25 | if t and t._fakeEvent then | |
26 | for _,f in pairs(t.Functions) do | |
27 | f(...) | |
28 | end | |
29 | end | |
30 | end | |
31 | m.TrigEvent = te | |
32 | UIS.TrigEvent = te | |
33 | ||
34 | Event.OnServerEvent:Connect(function(plr,io) | |
35 | if plr~=rp then return end | |
36 | m.Target = io.Target | |
37 | m.Hit = io.Hit | |
38 | if not io.isMouse then | |
39 | local b = io.UserInputState == Enum.UserInputState.Begin | |
40 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
41 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
42 | end | |
43 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
44 | return m:TrigEvent(b and "Button2Down" or "Button2Up") | |
45 | end | |
46 | for _,t in pairs(CAS.Actions) do | |
47 | for _,k in pairs(t.Keys) do | |
48 | if k==io.KeyCode then | |
49 | t.Function(t.Name,io.UserInputState,io) | |
50 | end | |
51 | end | |
52 | end | |
53 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
54 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
55 | end | |
56 | end) | |
57 | Event.Parent = NLS([==[ | |
58 | local Player = game:GetService("Players").LocalPlayer | |
59 | local Event = script:WaitForChild("UserInput_Event") | |
60 | local Mouse = Player:GetMouse() | |
61 | local UIS = game:GetService("UserInputService") | |
62 | local input = function(io,a) | |
63 | if a then return end | |
64 | --Since InputObject is a client-side instance, we create and pass table instead | |
65 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
66 | end | |
67 | UIS.InputBegan:Connect(input) | |
68 | UIS.InputEnded:Connect(input) | |
69 | local h,t | |
70 | while wait(1/30) do | |
71 | if h~=Mouse.Hit or t~=Mouse.Target then | |
72 | h,t=Mouse.Hit,Mouse.Target | |
73 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
74 | end | |
75 | end]==],Player.Character) | |
76 | ||
77 | local _rg = game | |
78 | ||
79 | local fsmt = { | |
80 | __index = function(self,k) | |
81 | local s = rawget(self,"_RealService") | |
82 | if s then | |
83 | return typeof(s[k])=="function" | |
84 | and function(_,...)return s[k](s,...)end or s[k] | |
85 | end | |
86 | end, | |
87 | __newindex = function(self,k,v) | |
88 | local s = rawget(self,"_RealService") | |
89 | if s then s[k]=v end | |
90 | end | |
91 | } | |
92 | local function FakeService(t,RealService) | |
93 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
94 | return setmetatable(t,fsmt) | |
95 | end | |
96 | local g = { | |
97 | GetService = function(self,s) | |
98 | return rawget(self,s) or _rg:GetService(s) | |
99 | end, | |
100 | Players = FakeService({ | |
101 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
102 | },"Players"), | |
103 | UserInputService = FakeService(UIS,"UserInputService"), | |
104 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
105 | RunService = FakeService({ | |
106 | _btrs = {}, | |
107 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
108 | BindToRenderStep = function(self,name,_,fun) | |
109 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
110 | end, | |
111 | UnbindFromRenderStep = function(self,name) | |
112 | self._btrs[name]:Disconnect() | |
113 | end, | |
114 | },"RunService") | |
115 | } | |
116 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
117 | g.service = g.GetService | |
118 | FakeService(g,game) | |
119 | game,owner = g,g.Players.LocalPlayer | |
120 | end | |
121 | ||
122 | wait(2) | |
123 | Character = game.Players.LocalPlayer.Character | |
124 | Head = Character.Head | |
125 | ||
126 | local P = owner | |
127 | local Char = P.Character | |
128 | local Create = Instance.new | |
129 | ||
130 | ||
131 | for i,v in pairs(Char:GetChildren()) do | |
132 | if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then | |
133 | v:Destroy() | |
134 | end | |
135 | ||
136 | local shadowhead = Create("Part",Char.Head) | |
137 | shadowhead.BrickColor = BrickColor.new("Black") | |
138 | shadowhead.Size = Vector3.new(1.2, 0.6, 1) | |
139 | shadowhead.CanCollide = false | |
140 | local shadowheadmesh = Create("SpecialMesh",shadowhead) | |
141 | shadowheadmesh.MeshType = "Head" | |
142 | shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26) | |
143 | local weld2 = Create("Weld",shadowhead) | |
144 | weld2.Part0 = shadowhead | |
145 | weld2.Part1 = Char.Head | |
146 | weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
147 | ||
148 | local shirt = Instance.new("Shirt",char) | |
149 | shirt.ShirtTemplate = "rbxassetid://140269917" | |
150 | local pants = Instance.new("Pants",char) | |
151 | pants.PantsTemplate = "rbxassetid://140270255" | |
152 | ||
153 | ||
154 | wait(0.2) | |
155 | ||
156 | ||
157 | ||
158 | ||
159 | ||
160 | ||
161 | CV="Blue" | |
162 | p = game.Players.LocalPlayer | |
163 | char = p.Character | |
164 | local txt = Instance.new("BillboardGui", char) | |
165 | txt.Adornee = char .Head | |
166 | txt.Name = "_status" | |
167 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
168 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
169 | local text = Instance.new("TextLabel", txt) | |
170 | text.Size = UDim2.new(10, 0, 7, 0) | |
171 | text.FontSize = "Size24" | |
172 | text.TextScaled = true | |
173 | text.TextTransparency = 0 | |
174 | text.BackgroundTransparency = 1 | |
175 | text.TextTransparency = 0 | |
176 | text.TextStrokeTransparency = 0 | |
177 | text.Font = "Cartoon" | |
178 | - | text.TextStrokeColor3 = Color3.new(0,0,.50) |
178 | + | text.TextStrokeColor3 = Color3.new(0,255,0) |
179 | ||
180 | v=Instance.new("Part") | |
181 | v.Name = "ColorBrick" | |
182 | v.Parent=p.Character | |
183 | v.FormFactor="Symmetric" | |
184 | v.Anchored=true | |
185 | v.CanCollide=false | |
186 | v.BottomSurface="Smooth" | |
187 | v.TopSurface="Smooth" | |
188 | v.Size=Vector3.new(10,5,3) | |
189 | v.Transparency=1 | |
190 | v.CFrame=char.Torso.CFrame | |
191 | v.BrickColor=BrickColor.new(CV) | |
192 | v.Transparency=1 | |
193 | - | text.TextColor3 = Color3.new(0,0,.50) |
193 | + | text.TextColor3 = Color3.new(0,255,0) |
194 | v.Shape="Block" | |
195 | - | text.Text = "Inferno" |
195 | + | text.Text = "Toxic" |
196 | ||
197 | local s = Instance.new("Sound",char) | |
198 | s.Name = "BGMusic" | |
199 | s.SoundId = "rbxassetid://792238435" | |
200 | s.Pitch = 1 | |
201 | s.Volume = 10 | |
202 | s.Looped = true | |
203 | s.archivable = false | |
204 | s.Parent = char.Head | |
205 | wait(0.1) | |
206 | s:play() | |
207 | ||
208 | Instance.new("ForceField", game.Players.LocalPlayer.Character) | |
209 | - | print("Inferno Loaded.") |
209 | + | print("Toxic Loaded.") |
210 | - | print("Unleash the deadly fire to anyone to destroy.") |
210 | + | print("Unleash the deadly toxic to anyone to destroy.") |
211 | p = game.Players.LocalPlayer | |
212 | char = p.Character | |
213 | torso = char.Torso | |
214 | neck = char.Torso.Neck | |
215 | ||
216 | local Player=game:service'Players'.LocalPlayer | |
217 | Character=Player.Character | |
218 | PlayerGui=Player.PlayerGui | |
219 | Backpack=Player.Backpack | |
220 | Torso=Character.Torso | |
221 | Head=Character.Head | |
222 | Humanoid=Character.Humanoid | |
223 | LeftArm=Character["Left Arm"] | |
224 | LeftLeg=Character["Left Leg"] | |
225 | RightArm=Character["Right Arm"] | |
226 | RightLeg=Character["Right Leg"] | |
227 | cam=game.Workspace.CurrentCamera | |
228 | LS=Torso["Left Shoulder"] | |
229 | LH=Torso["Left Hip"] | |
230 | RS=Torso["Right Shoulder"] | |
231 | RH=Torso["Right Hip"] | |
232 | Face = Head.face | |
233 | Neck=Torso.Neck | |
234 | it=Instance.new | |
235 | attacktype=1 | |
236 | vt=Vector3.new | |
237 | cf=CFrame.new | |
238 | euler=CFrame.fromEulerAnglesXYZ | |
239 | angles=CFrame.Angles | |
240 | cloaked=false | |
241 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
242 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
243 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
244 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
245 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
246 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
247 | RootPart=Character.HumanoidRootPart | |
248 | RootJoint=RootPart.RootJoint | |
249 | RootCF=euler(-1.57,0,3.14) | |
250 | attack = false | |
251 | bounce=false | |
252 | cooldown=false | |
253 | deeznuts=false | |
254 | attackdebounce = false | |
255 | deb=false | |
256 | equipped=true | |
257 | hand=false | |
258 | MMouse=nil | |
259 | combo=0 | |
260 | mana=0 | |
261 | trispeed=.2 | |
262 | attackmode='none' | |
263 | local idle=0 | |
264 | local Anim="Idle" | |
265 | local Effects={} | |
266 | local gun=false | |
267 | local shoot=false | |
268 | player=nil | |
269 | mana=0 | |
270 | cam = workspace.CurrentCamera | |
271 | ZTarget = nil | |
272 | RocketTarget = nil | |
273 | local m = Instance.new("Model",Character) | |
274 | m.Name = "WeaponModel" | |
275 | ||
276 | local mouse=Player:GetMouse() | |
277 | --save shoulders | |
278 | RSH, LSH=nil, nil | |
279 | --welds | |
280 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
281 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
282 | LH=Torso["Left Hip"] | |
283 | RH=Torso["Right Hip"] | |
284 | TorsoColor=Torso.BrickColor | |
285 | function NoOutline(Part) | |
286 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
287 | end | |
288 | player=Player | |
289 | ch=Character | |
290 | RSH=ch.Torso["Right Shoulder"] | |
291 | LSH=ch.Torso["Left Shoulder"] | |
292 | -- | |
293 | RSH.Parent=nil | |
294 | LSH.Parent=nil | |
295 | -- | |
296 | RW.Name="Right Shoulder" | |
297 | RW.Part0=ch.Torso | |
298 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
299 | RW.C1=cf(0, 0.5, 0) | |
300 | RW.Part1=ch["Right Arm"] | |
301 | RW.Parent=ch.Torso | |
302 | -- | |
303 | LW.Name="Left Shoulder" | |
304 | LW.Part0=ch.Torso | |
305 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
306 | LW.C1=cf(0, 0.5, 0) | |
307 | LW.Part1=ch["Left Arm"] | |
308 | LW.Parent=ch.Torso | |
309 | ||
310 | function swait(num) | |
311 | if num==0 or num==nil then | |
312 | game:service'RunService'.Heartbeat:wait(0) | |
313 | else | |
314 | for i=0,num do | |
315 | game:service'RunService'.Heartbeat:wait(0) | |
316 | end | |
317 | end | |
318 | end | |
319 | ||
320 | ||
321 | ||
322 | ||
323 | local Player = game.Players.localPlayer | |
324 | local Character = Player.Character | |
325 | local red = 255 | |
326 | local green = 255 | |
327 | local blue = 255 | |
328 | local Humanoid = Character.Humanoid | |
329 | local mouse = Player:GetMouse() | |
330 | local m = Instance.new("Model", Character) | |
331 | m.Name = "WeaponModel" | |
332 | local LeftArm = Character["Left Arm"] | |
333 | local RightArm = Character["Right Arm"] | |
334 | local LeftLeg = Character["Left Leg"] | |
335 | local RightLeg = Character["Right Leg"] | |
336 | local Head = Character.Head | |
337 | local Torso = Character.Torso | |
338 | local cam = game.Workspace.CurrentCamera | |
339 | local RootPart = Character.HumanoidRootPart | |
340 | local RootJoint = RootPart.RootJoint | |
341 | local equipped = false | |
342 | local attack = false | |
343 | local Anim = "Idle" | |
344 | local idle = 0 | |
345 | local attacktype = 1 | |
346 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
347 | local velocity = RootPart.Velocity.y | |
348 | local sine = 0 | |
349 | local change = 1 | |
350 | local grabbed = false | |
351 | local cn = CFrame.new | |
352 | local mr = math.rad | |
353 | local angles = CFrame.Angles | |
354 | local ud = UDim2.new | |
355 | local c3 = Color3.new | |
356 | local lim = 0 | |
357 | local st = 0 | |
358 | local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
359 | local attacktype = 1 | |
360 | local ZTarget, RocketTarget = nil, nil | |
361 | local euler = CFrame.fromEulerAnglesXYZ | |
362 | function clerp(a,b,t) | |
363 | local qa = {QuaternionFromCFrame(a)} | |
364 | local qb = {QuaternionFromCFrame(b)} | |
365 | local ax, ay, az = a.x, a.y, a.z | |
366 | local bx, by, bz = b.x, b.y, b.z | |
367 | local _t = 1-t | |
368 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
369 | end | |
370 | ||
371 | function QuaternionFromCFrame(cf) | |
372 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
373 | local trace = m00 + m11 + m22 | |
374 | if trace > 0 then | |
375 | local s = math.sqrt(1 + trace) | |
376 | local recip = 0.5/s | |
377 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
378 | else | |
379 | local i = 0 | |
380 | if m11 > m00 then | |
381 | i = 1 | |
382 | end | |
383 | if m22 > (i == 0 and m00 or m11) then | |
384 | i = 2 | |
385 | end | |
386 | if i == 0 then | |
387 | local s = math.sqrt(m00-m11-m22+1) | |
388 | local recip = 0.5/s | |
389 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
390 | elseif i == 1 then | |
391 | local s = math.sqrt(m11-m22-m00+1) | |
392 | local recip = 0.5/s | |
393 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
394 | elseif i == 2 then | |
395 | local s = math.sqrt(m22-m00-m11+1) | |
396 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
397 | end | |
398 | end | |
399 | end | |
400 | ||
401 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
402 | local xs, ys, zs = x + x, y + y, z + z | |
403 | local wx, wy, wz = w*xs, w*ys, w*zs | |
404 | local xx = x*xs | |
405 | local xy = x*ys | |
406 | local xz = x*zs | |
407 | local yy = y*ys | |
408 | local yz = y*zs | |
409 | local zz = z*zs | |
410 | 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)) | |
411 | end | |
412 | ||
413 | function QuaternionSlerp(a, b, t) | |
414 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
415 | local startInterp, finishInterp; | |
416 | if cosTheta >= 0.0001 then | |
417 | if (1 - cosTheta) > 0.0001 then | |
418 | local theta = math.acos(cosTheta) | |
419 | local invSinTheta = 1/math.sin(theta) | |
420 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
421 | finishInterp = math.sin(t*theta)*invSinTheta | |
422 | else | |
423 | startInterp = 1-t | |
424 | finishInterp = t | |
425 | end | |
426 | else | |
427 | if (1+cosTheta) > 0.0001 then | |
428 | local theta = math.acos(-cosTheta) | |
429 | local invSinTheta = 1/math.sin(theta) | |
430 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
431 | finishInterp = math.sin(t*theta)*invSinTheta | |
432 | else | |
433 | startInterp = t-1 | |
434 | finishInterp = t | |
435 | end | |
436 | end | |
437 | 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 | |
438 | end | |
439 | rayCast = function(Position, Direction, Range, Ignore) | |
440 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
441 | end | |
442 | local v = game.Players.localPlayer | |
443 | local torso = v.Character.Torso | |
444 | ||
445 | plr = game.Players.LocalPlayer | |
446 | char = game.Players.LocalPlayer.Character | |
447 | hum = game.Players.LocalPlayer.Character.Humanoid | |
448 | t = game.Players.LocalPlayer.Character.Torso | |
449 | h = game.Players.LocalPlayer.Character.Head | |
450 | ra = game.Players.LocalPlayer.Character["Right Arm"] | |
451 | la = game.Players.LocalPlayer.Character["Left Arm"] | |
452 | rl = game.Players.LocalPlayer.Character["Right Leg"] | |
453 | ll = game.Players.LocalPlayer.Character["Left Leg"] | |
454 | tors = Character.Torso | |
455 | lleg = Character["Left Leg"] | |
456 | root = Character.HumanoidRootPart | |
457 | hed = Character.Head | |
458 | rleg = Character["Right Leg"] | |
459 | rarm = Character["Right Arm"] | |
460 | larm = Character["Left Arm"] | |
461 | bsize1 = NumberSequenceKeypoint.new(3,3,3) | |
462 | bsize2 = NumberSequenceKeypoint.new(10,10,10) | |
463 | local Effects = {} | |
464 | attack = false | |
465 | local attacking = false | |
466 | vt = Vector3.new | |
467 | bc = BrickColor.new | |
468 | br = BrickColor.random | |
469 | it = Instance.new | |
470 | cf = CFrame.new | |
471 | euler = CFrame.fromEulerAnglesXYZ | |
472 | angles = CFrame.Angles | |
473 | matr = math.random | |
474 | local colororg = BrickColor.new("Dark indigo") -- set color u like | |
475 | local meshtype = "Sphere" -- only for specialmesh | |
476 | mouse = plr:GetMouse() | |
477 | ||
478 | CFuncs = { | |
479 | ["Part"] = { | |
480 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
481 | local Part = Create("Part"){ | |
482 | Parent = Parent, | |
483 | Reflectance = Reflectance, | |
484 | Transparency = Transparency, | |
485 | CanCollide = false, | |
486 | Locked = true, | |
487 | BrickColor = BrickColor.new(tostring(BColor)), | |
488 | Name = Name, | |
489 | Size = Size, | |
490 | Material = Material, | |
491 | } | |
492 | RemoveOutlines(Part) | |
493 | return Part | |
494 | end; | |
495 | }; | |
496 | ||
497 | ["Mesh"] = { | |
498 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
499 | local Msh = Create(Mesh){ | |
500 | Parent = Part, | |
501 | Offset = OffSet, | |
502 | Scale = Scale, | |
503 | } | |
504 | if Mesh == "SpecialMesh" then | |
505 | Msh.MeshType = MeshType | |
506 | Msh.MeshId = MeshId | |
507 | end | |
508 | return Msh | |
509 | end; | |
510 | }; | |
511 | ||
512 | ["Mesh"] = { | |
513 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
514 | local Msh = Create(Mesh){ | |
515 | Parent = Part, | |
516 | Offset = OffSet, | |
517 | Scale = Scale, | |
518 | } | |
519 | if Mesh == "SpecialMesh" then | |
520 | Msh.MeshType = MeshType | |
521 | Msh.MeshId = MeshId | |
522 | end | |
523 | return Msh | |
524 | end; | |
525 | }; | |
526 | ||
527 | ["Weld"] = { | |
528 | Create = function(Parent, Part0, Part1, C0, C1) | |
529 | local Weld = Create("Weld"){ | |
530 | Parent = Parent, | |
531 | Part0 = Part0, | |
532 | Part1 = Part1, | |
533 | C0 = C0, | |
534 | C1 = C1, | |
535 | } | |
536 | return Weld | |
537 | end; | |
538 | }; | |
539 | ||
540 | ["Sound"] = { | |
541 | Create = function(id, par, vol, pit) | |
542 | coroutine.resume(coroutine.create(function() | |
543 | local S = Create("Sound"){ | |
544 | Volume = vol, | |
545 | Pitch = pit or 1, | |
546 | SoundId = id, | |
547 | Parent = par or workspace, | |
548 | } | |
549 | wait() | |
550 | S:play() | |
551 | game:GetService("Debris"):AddItem(S, 6) | |
552 | end)) | |
553 | end; | |
554 | }; | |
555 | ||
556 | ["ParticleEmitter"] = { | |
557 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
558 | local fp = Create("ParticleEmitter"){ | |
559 | Parent = Parent, | |
560 | Color = ColorSequence.new(Color1, Color2), | |
561 | LightEmission = LightEmission, | |
562 | Size = Size, | |
563 | Texture = Texture, | |
564 | Transparency = Transparency, | |
565 | ZOffset = ZOffset, | |
566 | Acceleration = Accel, | |
567 | Drag = Drag, | |
568 | LockedToPart = LockedToPart, | |
569 | VelocityInheritance = VelocityInheritance, | |
570 | EmissionDirection = EmissionDirection, | |
571 | Enabled = Enabled, | |
572 | Lifetime = LifeTime, | |
573 | Rate = Rate, | |
574 | Rotation = Rotation, | |
575 | RotSpeed = RotSpeed, | |
576 | Speed = Speed, | |
577 | VelocitySpread = VelocitySpread, | |
578 | } | |
579 | return fp | |
580 | end; | |
581 | }; | |
582 | ||
583 | CreateTemplate = { | |
584 | ||
585 | }; | |
586 | } | |
587 | ||
588 | ||
589 | ||
590 | New = function(Object, Parent, Name, Data) | |
591 | local Object = Instance.new(Object) | |
592 | for Index, Value in pairs(Data or {}) do | |
593 | Object[Index] = Value | |
594 | end | |
595 | Object.Parent = Parent | |
596 | Object.Name = Name | |
597 | return Object | |
598 | end | |
599 | ||
600 | function chatfunc(text) | |
601 | local chat = coroutine.wrap(function() | |
602 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
603 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
604 | end | |
605 | local naeeym2 = Instance.new("BillboardGui",Character) | |
606 | naeeym2.Size = UDim2.new(0,100,0,40) | |
607 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
608 | naeeym2.Adornee = Character.Head | |
609 | naeeym2.Name = "TalkingBillBoard" | |
610 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
611 | tecks2.BackgroundTransparency = 1 | |
612 | tecks2.BorderSizePixel = 0 | |
613 | tecks2.Text = "" | |
614 | tecks2.Font = "SciFi" | |
615 | tecks2.TextSize = 30 | |
616 | tecks2.TextStrokeTransparency = 0 | |
617 | - | tecks2.TextColor3 = Color3.new(0.15,0.15,1) |
617 | + | tecks2.TextColor3 = Color3.new(0,255,0) |
618 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
619 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
620 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
621 | tecks3.BackgroundTransparency = 1 | |
622 | tecks3.BorderSizePixel = 0 | |
623 | tecks3.Text = "" | |
624 | tecks3.Font = "SciFi" | |
625 | tecks3.TextSize = 30 | |
626 | tecks3.TextStrokeTransparency = 0 | |
627 | - | tecks3.TextColor3 = Color3.new(0.15,0.15,1) |
627 | + | tecks3.TextColor3 = Color3.new(0,255,0) |
628 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
629 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
630 | for i = 1,string.len(text),1 do | |
631 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8) | |
632 | tecks2.Text = string.sub(text,1,i) | |
633 | tecks3.Text = string.sub(text,1,i) | |
634 | wait(0.01) | |
635 | end | |
636 | wait(2) | |
637 | for i = 1, 50 do | |
638 | swait() | |
639 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
640 | tecks2.Rotation = tecks2.Rotation - .8 | |
641 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
642 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
643 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
644 | tecks3.Rotation = tecks2.Rotation + .8 | |
645 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
646 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
647 | end | |
648 | naeeym2:Destroy() | |
649 | end) | |
650 | chat() | |
651 | end | |
652 | function onChatted(msg) | |
653 | chatfunc(msg) | |
654 | end | |
655 | Player.Chatted:connect(onChatted) | |
656 | ||
657 | ||
658 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
659 | if hit.Parent==nil then | |
660 | return | |
661 | end | |
662 | h=hit.Parent:FindFirstChild("Humanoid") | |
663 | for _,v in pairs(hit.Parent:children()) do | |
664 | if v:IsA("Humanoid") then | |
665 | h=v | |
666 | end | |
667 | end | |
668 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
669 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
670 | end | |
671 | if hit.Parent.className=="Hat" then | |
672 | hit=hit.Parent.Parent:findFirstChild("Head") | |
673 | end | |
674 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
675 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
676 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
677 | return | |
678 | end]] | |
679 | -- hs(hit,1.2) | |
680 | c=Instance.new("ObjectValue") | |
681 | c.Name="creator" | |
682 | c.Value=game:service("Players").LocalPlayer | |
683 | c.Parent=h | |
684 | game:GetService("Debris"):AddItem(c,.5) | |
685 | Damage=math.random(minim,maxim) | |
686 | -- h:TakeDamage(Damage) | |
687 | blocked=false | |
688 | block=hit.Parent:findFirstChild("Block") | |
689 | if block~=nil then | |
690 | print(block.className) | |
691 | if block.className=="NumberValue" then | |
692 | if block.Value>0 then | |
693 | blocked=true | |
694 | if decreaseblock==nil then | |
695 | block.Value=block.Value-1 | |
696 | end | |
697 | end | |
698 | end | |
699 | if block.className=="IntValue" then | |
700 | if block.Value>0 then | |
701 | blocked=true | |
702 | if decreaseblock~=nil then | |
703 | block.Value=block.Value-1 | |
704 | end | |
705 | end | |
706 | end | |
707 | end | |
708 | if blocked==false then | |
709 | -- h:TakeDamage(Damage) | |
710 | h.Health=h.Health-Damage | |
711 | showDamage(hit.Parent,Damage,3,TorsoColor) | |
712 | else | |
713 | h.Health=h.Health-(Damage/2) | |
714 | - | showDamage(hit.Parent,Damage/2,3,BrickColor.new("Bright blue")) |
714 | + | showDamage(hit.Parent,Damage/2,3,BrickColor.new("Lime green")) |
715 | end | |
716 | if Type=="Knockdown" then | |
717 | hum=hit.Parent.Humanoid | |
718 | hum.PlatformStand=true | |
719 | coroutine.resume(coroutine.create(function(HHumanoid) | |
720 | swait(1) | |
721 | HHumanoid.PlatformStand=false | |
722 | end),hum) | |
723 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
724 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
725 | local bodvol=Instance.new("BodyVelocity") | |
726 | bodvol.velocity=angle*knockback | |
727 | bodvol.P=5000 | |
728 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
729 | bodvol.Parent=hit | |
730 | rl=Instance.new("BodyAngularVelocity") | |
731 | rl.P=3000 | |
732 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
733 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
734 | rl.Parent=hit | |
735 | game:GetService("Debris"):AddItem(bodvol,.5) | |
736 | game:GetService("Debris"):AddItem(rl,.5) | |
737 | elseif Type=="Normal" then | |
738 | vp=Instance.new("BodyVelocity") | |
739 | vp.P=500 | |
740 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
741 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
742 | if KnockbackType==1 then | |
743 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
744 | elseif KnockbackType==2 then | |
745 | vp.velocity=Property.CFrame.lookVector*knockback | |
746 | end | |
747 | if knockback>0 then | |
748 | vp.Parent=hit.Parent.Torso | |
749 | end | |
750 | game:GetService("Debris"):AddItem(vp,.5) | |
751 | elseif Type=="Up" then | |
752 | local bodyVelocity=Instance.new("BodyVelocity") | |
753 | bodyVelocity.velocity=vt(0,10,0) | |
754 | bodyVelocity.P=1000 | |
755 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
756 | bodyVelocity.Parent=hit | |
757 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
758 | rl=Instance.new("BodyAngularVelocity") | |
759 | rl.P=3000 | |
760 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
761 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
762 | rl.Parent=hit | |
763 | game:GetService("Debris"):AddItem(rl,.5) | |
764 | elseif Type=="Snare" then | |
765 | bp=Instance.new("BodyPosition") | |
766 | bp.P=2000 | |
767 | bp.D=100 | |
768 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
769 | bp.position=hit.Parent.Torso.Position | |
770 | bp.Parent=hit.Parent.Torso | |
771 | game:GetService("Debris"):AddItem(bp,1) | |
772 | elseif Type=="Target" then | |
773 | if Targetting==false then | |
774 | ZTarget=hit.Parent.Torso | |
775 | coroutine.resume(coroutine.create(function(Part) | |
776 | swait(5) | |
777 | end),ZTarget) | |
778 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
779 | targetgui=Instance.new("BillboardGui") | |
780 | targetgui.Parent=ZTarget | |
781 | targetgui.Size=UDim2.new(10,100,10,100) | |
782 | targ=Instance.new("ImageLabel") | |
783 | targ.Parent=targetgui | |
784 | targ.BackgroundTransparency=1 | |
785 | targ.Image="rbxassetid://4834067" | |
786 | targ.Size=UDim2.new(1,0,1,0) | |
787 | cam.CameraType="Scriptable" | |
788 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
789 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
790 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
791 | Targetting=true | |
792 | RocketTarget=ZTarget | |
793 | for i=1,Property do | |
794 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
795 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
796 | swait() | |
797 | end | |
798 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
799 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
800 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
801 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
802 | end | |
803 | Targetting=false | |
804 | RocketTarget=nil | |
805 | targetgui.Parent=nil | |
806 | cam.CameraType="Custom" | |
807 | end | |
808 | end | |
809 | debounce=Instance.new("BoolValue") | |
810 | debounce.Name="DebounceHit" | |
811 | debounce.Parent=hit.Parent | |
812 | debounce.Value=true | |
813 | game:GetService("Debris"):AddItem(debounce,Delay) | |
814 | c=Instance.new("ObjectValue") | |
815 | c.Name="creator" | |
816 | c.Value=Player | |
817 | c.Parent=h | |
818 | game:GetService("Debris"):AddItem(c,.5) | |
819 | CRIT=false | |
820 | hitDeb=true | |
821 | AttackPos=6 | |
822 | end | |
823 | end | |
824 | ||
825 | showDamage=function(Char,Dealt,du,Color) | |
826 | m=Instance.new("Model") | |
827 | m.Name="" | |
828 | h=Instance.new("Humanoid") | |
829 | h.Health=0 | |
830 | h.MaxHealth=0 | |
831 | h.Parent=m | |
832 | c=Instance.new("Part") | |
833 | c.Transparency=0 | |
834 | c.Material = "Neon" | |
835 | c.BrickColor=bc("Bright red") | |
836 | c.Name="Head" | |
837 | c.TopSurface=0 | |
838 | c.BottomSurface=0 | |
839 | CV="Hot pink" | |
840 | ||
841 | local txt = Instance.new("BillboardGui", c) | |
842 | txt.Adornee = c | |
843 | txt.Name = "_status" | |
844 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
845 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
846 | local text = Instance.new("TextLabel", txt) | |
847 | text.Size = UDim2.new(10, 0, 7, 0) | |
848 | text.FontSize = "Size24" | |
849 | text.TextScaled = true | |
850 | text.TextTransparency = 0 | |
851 | text.BackgroundTransparency = 1 | |
852 | text.TextTransparency = 0 | |
853 | text.TextStrokeTransparency = 0 | |
854 | if Dealt < 12 then | |
855 | text.Font = "Highway" | |
856 | elseif Dealt < 20 then | |
857 | text.Font = "SourceSansBold" | |
858 | elseif Dealt >= 20 then | |
859 | text.Font = "Fantasy" | |
860 | end | |
861 | text.TextStrokeColor3 = BrickColor.new("Really black").Color | |
862 | local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"} | |
863 | v=Instance.new("Part") | |
864 | v.Name = "ColorBrick" | |
865 | v.Parent=c | |
866 | v.FormFactor="Symmetric" | |
867 | v.Anchored=true | |
868 | v.CanCollide=false | |
869 | v.BottomSurface="Smooth" | |
870 | v.TopSurface="Smooth" | |
871 | v.Size=Vector3.new(10,5,3) | |
872 | v.Transparency=1 | |
873 | v.CFrame=c.CFrame | |
874 | v.BrickColor=BrickColor.new(CV) | |
875 | v.Transparency=1 | |
876 | if Dealt < 12 then | |
877 | text.TextColor3 = BrickColor.new("White").Color | |
878 | elseif Dealt < 20 then | |
879 | text.TextColor3 = BrickColor.new("Bright yellow").Color | |
880 | elseif Dealt >= 20 then | |
881 | text.TextColor3 = BrickColor.new("Really red").Color | |
882 | end | |
883 | v.Shape="Block" | |
884 | text.Text = tostring(Dealt).. "!" | |
885 | local dam = Instance.new("Sound",c) | |
886 | local rndm=math.random(1,#hitsounds) | |
887 | local r=rndm | |
888 | dam.SoundId = "http://www.roblox.com/asset/?id="..hitsounds[r] | |
889 | dam.Volume = 1.25 | |
890 | dam.Pitch = 1 | |
891 | dam:Play() | |
892 | c.formFactor="Plate" | |
893 | c.Transparency = 1 | |
894 | c.Size=Vector3.new(1,.4,1) | |
895 | ms=Instance.new("CylinderMesh") | |
896 | ms.Scale=Vector3.new(.8,.8,.8) | |
897 | if CRIT==true then | |
898 | ms.Scale=Vector3.new(1,1.25,1) | |
899 | end | |
900 | ms.Parent=c | |
901 | c.Reflectance=0 | |
902 | Instance.new("BodyGyro").Parent=c | |
903 | c.Parent=m | |
904 | if Char:findFirstChild("Head")~=nil then | |
905 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
906 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
907 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
908 | end | |
909 | f=Instance.new("BodyPosition") | |
910 | f.P=2000 | |
911 | f.D=100 | |
912 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
913 | f.position=c.Position+Vector3.new(0,3,0) | |
914 | f.Parent=c | |
915 | game:GetService("Debris"):AddItem(m,.5+du) | |
916 | c.CanCollide=false | |
917 | m.Parent=workspace | |
918 | c.CanCollide=false | |
919 | wait(1) | |
920 | for l = 0, 9 do | |
921 | text.TextTransparency = text.TextTransparency + 0.1 | |
922 | text.TextStrokeTransparency = text.TextStrokeTransparency + 0.1 | |
923 | wait() | |
924 | end | |
925 | end | |
926 | ||
927 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) | |
928 | local gui = it(GuiType) | |
929 | gui.Parent = parent | |
930 | gui.Text = text | |
931 | gui.BackgroundTransparency = backtrans | |
932 | gui.BackgroundColor3 = backcol | |
933 | gui.SizeConstraint = "RelativeXY" | |
934 | gui.TextXAlignment = "Center" | |
935 | gui.TextYAlignment = "Center" | |
936 | gui.Position = pos | |
937 | gui.Size = size | |
938 | gui.Font = "SourceSans" | |
939 | gui.FontSize = "Size14" | |
940 | gui.TextWrapped = false | |
941 | gui.TextStrokeTransparency = 0 | |
942 | gui.TextColor = BrickColor.new("White") | |
943 | return gui | |
944 | end | |
945 | ---- GUI set | |
946 | local basgui = it("GuiMain") | |
947 | basgui.Parent = Player.PlayerGui | |
948 | basgui.Name = "CooldownsGUI" | |
949 | local basframe = it("Frame") | |
950 | basframe.Parent = basgui | |
951 | basframe.BackgroundColor3 = Color3.new(255, 255, 255) | |
952 | basframe.BackgroundTransparency = 1 | |
953 | basframe.BorderColor3 = Color3.new(17, 17, 17) | |
954 | basframe.Size = UDim2.new(0.2, 0, 0.2, 0) | |
955 | basframe.Position = UDim2.new(0.8, 0, 0.8, 0) | |
956 | - | local basicgui = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(0.35, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0)) |
956 | + | local basicgui = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Lime green").Color, UDim2.new(0.35, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0)) |
957 | basicgui.ZIndex = 2 | |
958 | basicgui.Font = "Highway" | |
959 | basicgui.BackgroundTransparency = 0.5 | |
960 | basicgui.BorderSizePixel = 0.65 | |
961 | basicgui.TextScaled = true | |
962 | - | basicgui.Text = "(F)\nInferno Meteor" |
962 | + | basicgui.Text = "(F)\nToxic Meteor" |
963 | basicgui.TextSize = 24 | |
964 | - | local basicgui2 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(-0.15, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0)) |
964 | + | local basicgui2 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Lime green").Color, UDim2.new(-0.15, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0)) |
965 | basicgui2.ZIndex = 2 | |
966 | basicgui2.Font = "Highway" | |
967 | basicgui2.BackgroundTransparency = 0.5 | |
968 | basicgui2.BorderSizePixel = 0.65 | |
969 | basicgui2.TextScaled = true | |
970 | - | basicgui2.Text = "(E)\nInferno Demise" |
970 | + | basicgui2.Text = "(E)\nToxic Demise" |
971 | basicgui2.TextSize = 24 | |
972 | - | local basicgui3 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(-0.15, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0)) |
972 | + | local basicgui3 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Lime green").Color, UDim2.new(-0.15, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0)) |
973 | basicgui3.ZIndex = 2 | |
974 | basicgui3.Font = "Highway" | |
975 | basicgui3.BackgroundTransparency = 0.5 | |
976 | basicgui3.BorderSizePixel = 0.65 | |
977 | basicgui3.TextScaled = true | |
978 | - | basicgui3.Text = "(Q)\nInferno Comet" |
978 | + | basicgui3.Text = "(Q)\nToxic Comet" |
979 | basicgui3.TextSize = 24 | |
980 | - | local basicgui4 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(0.35, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0)) |
980 | + | local basicgui4 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Lime green").Color, UDim2.new(0.35, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0)) |
981 | basicgui4.ZIndex = 2 | |
982 | basicgui4.Font = "Highway" | |
983 | basicgui4.BackgroundTransparency = 0.5 | |
984 | basicgui4.BorderSizePixel = 0.65 | |
985 | basicgui4.TextScaled = true | |
986 | - | basicgui4.Text = "(R)\nInferno Wrath" |
986 | + | basicgui4.Text = "(R)\nToxic Wrath" |
987 | basicgui4.TextSize = 24 | |
988 | - | local basicgui5 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(-0.15, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0)) |
988 | + | local basicgui5 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Lime green").Color, UDim2.new(-0.15, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0)) |
989 | basicgui5.ZIndex = 2 | |
990 | basicgui5.Font = "Highway" | |
991 | basicgui5.BackgroundTransparency = 0.5 | |
992 | basicgui5.BorderSizePixel = 0.65 | |
993 | basicgui5.TextScaled = true | |
994 | basicgui5.Text = "(Z)\n???" | |
995 | basicgui5.TextSize = 24 | |
996 | - | local basicgui6 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(0.35, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0)) |
996 | + | local basicgui6 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Lime green").Color, UDim2.new(0.35, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0)) |
997 | basicgui6.ZIndex = 2 | |
998 | basicgui6.Font = "Highway" | |
999 | basicgui6.BackgroundTransparency = 0.5 | |
1000 | basicgui6.BorderSizePixel = 0.65 | |
1001 | basicgui6.TextScaled = true | |
1002 | - | basicgui6.Text = "(X)\nInferno Hell" |
1002 | + | basicgui6.Text = "(X)\nToxic Hell" |
1003 | basicgui6.TextSize = 24 | |
1004 | ||
1005 | local healthg = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(-0.15, 0, 0.675, 0), UDim2.new(0.95, 0, 0.15, 0)) | |
1006 | healthg.ZIndex = 2 | |
1007 | healthg.Font = "Highway" | |
1008 | healthg.BackgroundTransparency = 0.5 | |
1009 | healthg.BorderSizePixel = 0.65 | |
1010 | healthg.TextScaled = true | |
1011 | healthg.Text = "health" | |
1012 | healthg.TextSize = 24 | |
1013 | ||
1014 | char.Humanoid.Animator.Parent = nil | |
1015 | ||
1016 | ---------------- set a position | |
1017 | local handle = Instance.new("Part") | |
1018 | handle.Parent = Character | |
1019 | handle.Size = Vector3.new(0.2,0.2,0.2) | |
1020 | handle.Archivable = true | |
1021 | handle.Transparency = 1 | |
1022 | handle.CanCollide = false | |
1023 | handle.BrickColor = BrickColor.new("White") | |
1024 | handle.Material = "Neon" | |
1025 | local handlmesh = Instance.new("BlockMesh",handle) | |
1026 | handlmesh.Scale = Vector3.new(1,1,1) | |
1027 | local handleweld = Instance.new("Weld") | |
1028 | handleweld.Parent = handle | |
1029 | handleweld.Part0 = rarm | |
1030 | handleweld.Part1 = handle | |
1031 | handleweld.C1 = CFrame.new(0, 1.35, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
1032 | handleweld.Part0 = rarm | |
1033 | ||
1034 | - | ---- yeee boi here comes entrance of inferno |
1034 | + | ---- yeee boi here comes entrance of toxic |
1035 | ||
1036 | hum.WalkSpeed = 0 | |
1037 | ||
1038 | local dd = Instance.new("ParticleEmitter",handle) | |
1039 | dd.Texture = "http://www.roblox.com/asset/?id=745304849" | |
1040 | dd.LightEmission = 1 | |
1041 | - | dd.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1041 | + | dd.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1042 | dd.Rate = 50 | |
1043 | dd.Lifetime = NumberRange.new(0.5) | |
1044 | dd.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1045 | dd.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1046 | dd.Speed = NumberRange.new(0) | |
1047 | dd.Rotation = NumberRange.new(-500,500) | |
1048 | dd.VelocitySpread = 90000 | |
1049 | dd.LockedToPart = true | |
1050 | dd.RotSpeed = NumberRange.new(-500,500) | |
1051 | local bon = Instance.new("ParticleEmitter",handle) | |
1052 | - | bon.Texture = "rbxassetid://296874871" |
1052 | + | bon.Texture = "rbxassetid://8238591" |
1053 | bon.LightEmission = 0.75 | |
1054 | - | bon.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1054 | + | bon.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1055 | bon.Rate = 0 | |
1056 | bon.Lifetime = NumberRange.new(2.5) | |
1057 | bon.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1058 | bon.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1059 | bon.Speed = NumberRange.new(15) | |
1060 | bon.Rotation = NumberRange.new(-500,500) | |
1061 | bon.VelocitySpread = 90000 | |
1062 | bon.RotSpeed = NumberRange.new(-500,500) | |
1063 | local bon2 = Instance.new("ParticleEmitter",handle) | |
1064 | - | bon2.Texture = "rbxassetid://296874871" |
1064 | + | bon2.Texture = "rbxassetid://8238591" |
1065 | bon2.LightEmission = 0.75 | |
1066 | - | bon2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1066 | + | bon2.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1067 | bon2.Rate = 0 | |
1068 | bon2.Lifetime = NumberRange.new(2.5) | |
1069 | bon2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,10,0)}) | |
1070 | bon2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1071 | bon2.Speed = NumberRange.new(25) | |
1072 | bon2.Rotation = NumberRange.new(-500,500) | |
1073 | bon2.VelocitySpread = 90000 | |
1074 | bon2.RotSpeed = NumberRange.new(-500,500) | |
1075 | for i = 0,8,0.1 do | |
1076 | swait() | |
1077 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1078 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1079 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(100)), 0.3) | |
1080 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-7.5 + 2.5 * math.cos(sine / 32))), 0.3) | |
1081 | end | |
1082 | dd.Rate = 0 | |
1083 | bon.Rate = 99999 | |
1084 | bon2.Rate = 99999 | |
1085 | ||
1086 | local tran = Instance.new("ParticleEmitter",handle) | |
1087 | - | tran.Texture = "rbxassetid://296874871" |
1087 | + | tran.Texture = "rbxassetid://8238591" |
1088 | tran.LightEmission = 0.75 | |
1089 | - | tran.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1089 | + | tran.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1090 | tran.Rate = 99999 | |
1091 | tran.Lifetime = NumberRange.new(0.25) | |
1092 | tran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1093 | tran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) | |
1094 | tran.Speed = NumberRange.new(0) | |
1095 | tran.Rotation = NumberRange.new(-500,500) | |
1096 | tran.VelocitySpread = 90000 | |
1097 | tran.LockedToPart = true | |
1098 | tran.RotSpeed = NumberRange.new(-500,500) | |
1099 | local tran2 = Instance.new("ParticleEmitter",handle) | |
1100 | tran2.Texture = "http://www.roblox.com/asset/?id=745304849" | |
1101 | tran2.LightEmission = 1 | |
1102 | - | tran2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1102 | + | tran2.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1103 | tran2.Rate = 50 | |
1104 | tran2.Lifetime = NumberRange.new(0.5) | |
1105 | tran2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1106 | tran2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1107 | tran2.Speed = NumberRange.new(0) | |
1108 | tran2.Rotation = NumberRange.new(-500,500) | |
1109 | tran2.VelocitySpread = 90000 | |
1110 | tran2.LockedToPart = true | |
1111 | tran2.RotSpeed = NumberRange.new(-500,500) | |
1112 | wait(0.5) | |
1113 | bon.Rate = 0 | |
1114 | bon2.Rate = 0 | |
1115 | wait(3.25) | |
1116 | bon:Destroy() | |
1117 | bon:Destroy() | |
1118 | dd:Destroy() | |
1119 | hum.WalkSpeed = 16 | |
1120 | ----------- | |
1121 | ||
1122 | - | function InfernoComet() |
1122 | + | function ToxicComet() |
1123 | attack = true | |
1124 | - | chatfunc("Inferno Comet!!") |
1124 | + | chatfunc("Toxic Comet!!") |
1125 | handleweld.Part0 = rarm | |
1126 | local tra = Instance.new("ParticleEmitter",handle) | |
1127 | - | tra.Texture = "rbxassetid://296874871" |
1127 | + | tra.Texture = "rbxassetid://8238591" |
1128 | tra.LightEmission = 0.75 | |
1129 | - | tra.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1129 | + | tra.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1130 | tra.Rate = 99999 | |
1131 | tra.Lifetime = NumberRange.new(0.25) | |
1132 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1133 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) | |
1134 | tra.Speed = NumberRange.new(0) | |
1135 | tra.Rotation = NumberRange.new(-500,500) | |
1136 | tra.VelocitySpread = 90000 | |
1137 | tra.LockedToPart = true | |
1138 | tra.RotSpeed = NumberRange.new(-500,500) | |
1139 | local tra2 = Instance.new("ParticleEmitter",handle) | |
1140 | tra2.Texture = "http://www.roblox.com/asset/?id=745304849" | |
1141 | tra2.LightEmission = 1 | |
1142 | - | tra2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1142 | + | tra2.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1143 | tra2.Rate = 50 | |
1144 | tra2.Lifetime = NumberRange.new(0.5) | |
1145 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1146 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)}) | |
1147 | tra2.Speed = NumberRange.new(0) | |
1148 | tra2.Rotation = NumberRange.new(-500,500) | |
1149 | tra2.VelocitySpread = 90000 | |
1150 | tra2.LockedToPart = true | |
1151 | tra2.RotSpeed = NumberRange.new(-500,500) | |
1152 | for i = 0,4,0.1 do | |
1153 | swait() | |
1154 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1155 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
1156 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3) | |
1157 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
1158 | end | |
1159 | local sa = Instance.new("Sound",handle) | |
1160 | sa.SoundId = "rbxassetid://304448425" | |
1161 | sa.Volume = 1 | |
1162 | sa.Pitch = 1 | |
1163 | sa:Play() | |
1164 | tra.Rate = 0 | |
1165 | tra2.Rate = 0 | |
1166 | local lb = Instance.new("Part") | |
1167 | lb.Parent = char | |
1168 | lb.Material = "Neon" | |
1169 | - | lb.Color = BrickColor.new("Bright blue").Color |
1169 | + | lb.Color = BrickColor.new("Lime green").Color |
1170 | lb.CanCollide = false | |
1171 | lb.Shape = "Ball" | |
1172 | lb.CFrame = handle.CFrame | |
1173 | lb.Anchored = true | |
1174 | lb.Transparency = 1 | |
1175 | lb.Size = vt(1,1,1) | |
1176 | local thing = Instance.new("SpecialMesh",lb) | |
1177 | thing.MeshType = meshtype | |
1178 | local hitted = false | |
1179 | lb.Anchored = false | |
1180 | local trail = Instance.new("ParticleEmitter",lb) | |
1181 | - | trail.Texture = "rbxassetid://296874871" |
1181 | + | trail.Texture = "rbxassetid://8238591" |
1182 | trail.LightEmission = 1 | |
1183 | - | trail.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1183 | + | trail.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1184 | trail.Rate = 9999 | |
1185 | trail.Lifetime = NumberRange.new(1.5) | |
1186 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1187 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1188 | trail.Speed = NumberRange.new(0,0) | |
1189 | trail.Rotation = NumberRange.new(-500,500) | |
1190 | trail.RotSpeed = NumberRange.new(-500,500) | |
1191 | local bv = Instance.new("BodyVelocity") | |
1192 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1193 | bv.velocity = mouse.Hit.lookVector *75 | |
1194 | bv.Parent = lb | |
1195 | wait(0.05) | |
1196 | lb.Touched:connect(function(hit) | |
1197 | if hitted == false then | |
1198 | hitted = true | |
1199 | trail.Rate = 0 | |
1200 | lb.Anchored = true | |
1201 | local aa = Instance.new("Part") | |
1202 | local val = 1*3.5 | |
1203 | aa.Parent = lb | |
1204 | local exsound = Instance.new("Sound",aa) | |
1205 | exsound.SoundId = "rbxassetid://402347142" | |
1206 | exsound.Volume = 3.5 | |
1207 | exsound.Pitch = 1 | |
1208 | exsound:Play() | |
1209 | aa.Material = "Neon" | |
1210 | - | aa.Color = BrickColor.new("Bright blue").Color |
1210 | + | aa.Color = BrickColor.new("Lime green").Color |
1211 | aa.CanCollide = false | |
1212 | aa.Shape = "Ball" | |
1213 | aa.CFrame = lb.CFrame | |
1214 | aa.Anchored = true | |
1215 | aa.Transparency = 0 | |
1216 | aa.Size = vt(1,1,1) | |
1217 | local thinger = Instance.new("SpecialMesh",aa) | |
1218 | thinger.MeshType = meshtype | |
1219 | thinger.Scale = vt(15,15,15) | |
1220 | local explosion = Instance.new("Explosion",aa) | |
1221 | explosion.Position = aa.Position | |
1222 | explosion.BlastRadius = 22.5 | |
1223 | explosion.BlastPressure = 100 | |
1224 | local exp = Instance.new("ParticleEmitter",aa) | |
1225 | - | exp.Texture = "rbxassetid://296874871" |
1225 | + | exp.Texture = "rbxassetid://8238591" |
1226 | exp.LightEmission = 1 | |
1227 | - | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1227 | + | exp.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1228 | exp.Rate = 9000000000 | |
1229 | exp.Lifetime = NumberRange.new(1) | |
1230 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1231 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1232 | exp.Speed = NumberRange.new(100) | |
1233 | exp.VelocitySpread = 9000000 | |
1234 | exp.Rotation = NumberRange.new(-500,500) | |
1235 | exp.RotSpeed = NumberRange.new(-500,500) | |
1236 | local expa = Instance.new("ParticleEmitter",aa) | |
1237 | - | expa.Texture = "rbxassetid://296874871" |
1237 | + | expa.Texture = "rbxassetid://8238591" |
1238 | expa.LightEmission = 1 | |
1239 | - | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1239 | + | expa.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1240 | expa.Rate = 9000000000 | |
1241 | expa.Lifetime = NumberRange.new(2.75) | |
1242 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) | |
1243 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1244 | expa.Speed = NumberRange.new(100) | |
1245 | expa.VelocitySpread = 9000000 | |
1246 | expa.Rotation = NumberRange.new(-500,500) | |
1247 | expa.RotSpeed = NumberRange.new(-500,500) | |
1248 | local exp2 = exp:Clone() | |
1249 | exp2.Parent = aa | |
1250 | local exp3 = exp:Clone() | |
1251 | exp3.Parent = aa | |
1252 | local exp4 = exp:Clone() | |
1253 | exp4.Parent = aa | |
1254 | local exp5 = exp:Clone() | |
1255 | exp5.Parent = aa | |
1256 | local exp6 = exp:Clone() | |
1257 | exp6.Parent = aa | |
1258 | local exp7 = exp:Clone() | |
1259 | exp7.Parent = aa | |
1260 | local expa2 = expa:Clone() | |
1261 | expa2.Parent = aa | |
1262 | local expa3 = expa:Clone() | |
1263 | expa3.Parent = aa | |
1264 | local expa4 = expa:Clone() | |
1265 | expa4.Parent = aa | |
1266 | local expa5 = expa:Clone() | |
1267 | expa5.Parent = aa | |
1268 | local expa6 = expa:Clone() | |
1269 | expa6.Parent = aa | |
1270 | local expa7 = expa:Clone() | |
1271 | expa7.Parent = aa | |
1272 | for i = 0, 1 do | |
1273 | val = val - 0.025*3.5 | |
1274 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1275 | wait() | |
1276 | end | |
1277 | exp.Rate = 0 | |
1278 | exp2.Rate = 0 | |
1279 | exp3.Rate = 0 | |
1280 | exp4.Rate = 0 | |
1281 | exp5.Rate = 0 | |
1282 | exp6.Rate = 0 | |
1283 | exp7.Rate = 0 | |
1284 | for i = 0, 1 do | |
1285 | val = val - 0.025*3.5 | |
1286 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1287 | wait() | |
1288 | end | |
1289 | expa.Rate = 0 | |
1290 | expa2.Rate = 0 | |
1291 | expa3.Rate = 0 | |
1292 | expa4.Rate = 0 | |
1293 | expa5.Rate = 0 | |
1294 | expa6.Rate = 0 | |
1295 | expa7.Rate = 0 | |
1296 | for i = 0, 21 do | |
1297 | val = val - 0.025*3.5 | |
1298 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1299 | wait() | |
1300 | end | |
1301 | for i = 0, 74 do | |
1302 | val = val - 0.0145 | |
1303 | aa.Transparency = aa.Transparency + 0.0145 | |
1304 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1305 | wait() | |
1306 | end | |
1307 | end | |
1308 | end) | |
1309 | attack = false | |
1310 | wait(30) | |
1311 | sa:Destroy() | |
1312 | tra:Destroy() | |
1313 | tra2:Destroy() | |
1314 | lb:Destroy() | |
1315 | end | |
1316 | ||
1317 | - | function InfernoHell() |
1317 | + | function ToxicHell() |
1318 | attack = true | |
1319 | - | chatfunc("INFERNO...") |
1319 | + | chatfunc("Toxic...") |
1320 | handleweld.Part0 = rarm | |
1321 | local aura = Instance.new("ParticleEmitter",tors) | |
1322 | aura.Texture = "rbxassetid://305563617" | |
1323 | aura.LightEmission = 1 | |
1324 | - | aura.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1324 | + | aura.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1325 | aura.Rate = 25 | |
1326 | aura.Lifetime = NumberRange.new(0.75) | |
1327 | aura.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1328 | aura.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1329 | aura.Speed = NumberRange.new(15) | |
1330 | aura.VelocitySpread = 50 | |
1331 | local aura2 = Instance.new("ParticleEmitter",tors) | |
1332 | - | aura2.Texture = "rbxassetid://296874871" |
1332 | + | aura2.Texture = "rbxassetid://8238591" |
1333 | aura2.LightEmission = 1 | |
1334 | - | aura2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1334 | + | aura2.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1335 | aura2.Rate = 99999 | |
1336 | aura2.Lifetime = NumberRange.new(1.5) | |
1337 | aura2.Acceleration = vt(0,45,0) | |
1338 | aura2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1339 | aura2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1340 | aura2.Speed = NumberRange.new(-25) | |
1341 | aura2.Rotation = NumberRange.new(-500,500) | |
1342 | aura2.VelocitySpread = 45 | |
1343 | aura2.RotSpeed = NumberRange.new(-500,500) | |
1344 | local auran = Instance.new("ParticleEmitter",tors) | |
1345 | - | auran.Texture = "rbxassetid://296874871" |
1345 | + | auran.Texture = "rbxassetid://8238591" |
1346 | auran.LightEmission = 1 | |
1347 | - | auran.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1347 | + | auran.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1348 | auran.Rate = 0 | |
1349 | auran.Lifetime = NumberRange.new(5) | |
1350 | auran.Acceleration = vt(0,-45,0) | |
1351 | auran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1352 | auran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1353 | auran.Speed = NumberRange.new(65) | |
1354 | auran.Rotation = NumberRange.new(-500,500) | |
1355 | auran.VelocitySpread = 100 | |
1356 | auran.RotSpeed = NumberRange.new(-500,500) | |
1357 | local sa = Instance.new("Sound",handle) | |
1358 | sa.SoundId = "rbxassetid://431105970" | |
1359 | sa.Volume = 5 | |
1360 | sa.Pitch = 1 | |
1361 | sa:Play() | |
1362 | for i = 0,2,0.1 do | |
1363 | swait() | |
1364 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1365 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
1366 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(10)), 0.3) | |
1367 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.3) | |
1368 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.3) | |
1369 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
1370 | end | |
1371 | for i = 0, 5 do | |
1372 | auran.Rate = 99999 | |
1373 | local lb = Instance.new("Part") | |
1374 | lb.Parent = char | |
1375 | lb.Material = "Neon" | |
1376 | - | lb.Color = BrickColor.new("Bright blue").Color |
1376 | + | lb.Color = BrickColor.new("Lime green").Color |
1377 | lb.CanCollide = false | |
1378 | lb.Size = vt(1,1,1) | |
1379 | lb.CFrame = tors.CFrame | |
1380 | lb.Rotation = vt(0,0,0) | |
1381 | lb.Anchored = true | |
1382 | lb.Transparency = 0 | |
1383 | local thing = Instance.new("SpecialMesh",lb) | |
1384 | thing.MeshType = "FileMesh" | |
1385 | thing.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1386 | thing.Scale = vt(0,15,0) | |
1387 | local chancerot = math.random(1,2) | |
1388 | for z = 0, 4 do | |
1389 | if chancerot == 1 then | |
1390 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
1391 | elseif chancerot == 2 then | |
1392 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
1393 | end | |
1394 | lb.Transparency = lb.Transparency + 0.1 | |
1395 | thing.Scale = thing.Scale + vt(15,0,15) | |
1396 | wait() | |
1397 | end | |
1398 | auran.Rate = 0 | |
1399 | for z = 0, 4 do | |
1400 | if chancerot == 1 then | |
1401 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
1402 | elseif chancerot == 2 then | |
1403 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
1404 | end | |
1405 | lb.Transparency = lb.Transparency + 0.1 | |
1406 | thing.Scale = thing.Scale + vt(15,0,15) | |
1407 | wait() | |
1408 | end | |
1409 | lb:Destroy() | |
1410 | end | |
1411 | chatfunc("HELL!!!") | |
1412 | local sa = Instance.new("Sound",handle) | |
1413 | sa.SoundId = "rbxassetid://416328540" | |
1414 | sa.Volume = 10 | |
1415 | sa.Pitch = 0.75 | |
1416 | sa:Play() | |
1417 | ||
1418 | local sbs = Instance.new("BodyPosition", root) | |
1419 | sbs.P = 3000 | |
1420 | sbs.D = 1000 | |
1421 | sbs.maxForce = Vector3.new(500000, 500000000, 500000) | |
1422 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 1000, 0) | |
1423 | for i = 0,24,0.1 do | |
1424 | swait() | |
1425 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1426 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
1427 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3) | |
1428 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
1429 | end | |
1430 | local shur = Instance.new("Part",char) | |
1431 | local gahde = Instance.new("Sound",char) | |
1432 | gahde.SoundId = "rbxassetid://402981977" | |
1433 | gahde.Volume = 5 | |
1434 | gahde.Pitch = 0.6 | |
1435 | gahde:Play() | |
1436 | shur.Transparency = 1 | |
1437 | shur.Material = "Neon" | |
1438 | shur.BrickColor = bc("Bright red") | |
1439 | shur.Anchored = true | |
1440 | shur.CFrame = tors.CFrame + vt(0,10,0) | |
1441 | shur.Size = vt(1,0.2,1) | |
1442 | shur.CanCollide = false | |
1443 | local dec = Instance.new("Decal",shur) | |
1444 | - | dec.Texture = "http://www.roblox.com/asset/?id=840391577" |
1444 | + | dec.Texture = "http://www.roblox.com/asset/?id=2181012358" |
1445 | dec.Face = "Top" | |
1446 | local dec2 = dec:Clone() | |
1447 | dec2.Parent = shur | |
1448 | dec2.Face = "Bottom" | |
1449 | local Meshshur = Instance.new("CylinderMesh",shur) | |
1450 | Meshshur.Scale = vt(0,1,0) | |
1451 | for i = 0, 39 do | |
1452 | wait() | |
1453 | Meshshur.Scale = Meshshur.Scale + vt(15,0,15) | |
1454 | end | |
1455 | local sa = Instance.new("Sound",char) | |
1456 | sa.SoundId = "rbxassetid://428027602" | |
1457 | sa.Volume = 2.5 | |
1458 | sa.Pitch = 0.5 | |
1459 | sa:Play() | |
1460 | local lb = Instance.new("Part") | |
1461 | lb.Parent = char | |
1462 | lb.Material = "Neon" | |
1463 | - | lb.Color = BrickColor.new("Bright blue").Color |
1463 | + | lb.Color = BrickColor.new("Lime green").Color |
1464 | lb.CanCollide = false | |
1465 | lb.Shape = "Ball" | |
1466 | lb.CFrame = handle.CFrame | |
1467 | lb.Anchored = true | |
1468 | lb.Transparency = 0 | |
1469 | lb.Size = vt(1,1,1) | |
1470 | lb.CFrame = handle.CFrame | |
1471 | local thing = Instance.new("SpecialMesh",lb) | |
1472 | thing.MeshType = meshtype | |
1473 | thing.Scale = vt(0,0,0) | |
1474 | for i = 0, 89 do | |
1475 | thing.Scale = thing.Scale + vt(2.5,2.5,2.5) | |
1476 | lb.CFrame = lb.CFrame + Vector3.new(0,1.425,0) | |
1477 | wait() | |
1478 | end | |
1479 | wait(1) | |
1480 | for i = 0, 39 do | |
1481 | wait() | |
1482 | Meshshur.Scale = Meshshur.Scale - vt(15,0,15) | |
1483 | end | |
1484 | local sa = Instance.new("Sound",char) | |
1485 | sa.SoundId = "rbxassetid://565538688" | |
1486 | sa.Volume = 1 | |
1487 | sa.Pitch = 0.95 | |
1488 | sa:Play() | |
1489 | wait(0.5) | |
1490 | shur:Destroy() | |
1491 | sbs:Destroy() | |
1492 | local sa = Instance.new("Sound",char) | |
1493 | sa.SoundId = "rbxassetid://416328540" | |
1494 | sa.Volume = 1.5 | |
1495 | sa.Pitch = 0.5 | |
1496 | sa:Play() | |
1497 | local sa = Instance.new("Sound",char) | |
1498 | sa.SoundId = "rbxassetid://466493476" | |
1499 | sa.Volume = 1.5 | |
1500 | sa.Pitch = 0.5 | |
1501 | sa:Play() | |
1502 | aura.Rate = 0 | |
1503 | aura2.Rate = 0 | |
1504 | local hitted = false | |
1505 | lb.Anchored = false | |
1506 | local trail = Instance.new("ParticleEmitter",lb) | |
1507 | - | trail.Texture = "rbxassetid://296874871" |
1507 | + | trail.Texture = "rbxassetid://8238591" |
1508 | trail.LightEmission = 1 | |
1509 | - | trail.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1509 | + | trail.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1510 | trail.Rate = 9999 | |
1511 | trail.Lifetime = NumberRange.new(2.5) | |
1512 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,150,0),NumberSequenceKeypoint.new(1,5,0)}) | |
1513 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1514 | trail.Speed = NumberRange.new(100) | |
1515 | trail.VelocitySpread = 9000000 | |
1516 | trail.Rotation = NumberRange.new(-500,500) | |
1517 | trail.RotSpeed = NumberRange.new(-500,500) | |
1518 | local bv = Instance.new("BodyVelocity") | |
1519 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1520 | bv.velocity = mouse.Hit.lookVector *75 | |
1521 | bv.Parent = lb | |
1522 | wait(0.05) | |
1523 | lb.Touched:connect(function(hit) | |
1524 | if hitted == false then | |
1525 | hitted = true | |
1526 | trail.Rate = 0 | |
1527 | lb.Anchored = true | |
1528 | local aa = Instance.new("Part") | |
1529 | for i = 0, 9 do | |
1530 | lb.Transparency = lb.Transparency + 0.1 | |
1531 | local val = 1*3.5 | |
1532 | aa.Parent = lb | |
1533 | local exsound = Instance.new("Sound",aa) | |
1534 | exsound.SoundId = "rbxassetid://412831137" | |
1535 | exsound.Volume = 10 | |
1536 | exsound.Pitch = 0.5 | |
1537 | exsound:Play() | |
1538 | local exsound = Instance.new("Sound",aa) | |
1539 | exsound.SoundId = "rbxassetid://439342426" | |
1540 | exsound.Volume = 10 | |
1541 | exsound.Pitch = 0.75 | |
1542 | exsound:Play() | |
1543 | local exsound = Instance.new("Sound",aa) | |
1544 | exsound.SoundId = "rbxassetid://439342426" | |
1545 | exsound.Volume = 10 | |
1546 | exsound.Pitch = 0.5 | |
1547 | exsound:Play() | |
1548 | local exsound = Instance.new("Sound",aa) | |
1549 | exsound.SoundId = "rbxassetid://439342426" | |
1550 | exsound.Volume = 10 | |
1551 | exsound.Pitch = 0.35 | |
1552 | exsound:Play() | |
1553 | local exsound = Instance.new("Sound",aa) | |
1554 | exsound.SoundId = "rbxassetid://439342426" | |
1555 | exsound.Volume = 10 | |
1556 | exsound.Pitch = 0.25 | |
1557 | exsound:Play() | |
1558 | local exsound = Instance.new("Sound",aa) | |
1559 | exsound.SoundId = "rbxassetid://439342426" | |
1560 | exsound.Volume = 10 | |
1561 | exsound.Pitch = 0.2 | |
1562 | exsound:Play() | |
1563 | aa.Material = "Neon" | |
1564 | - | aa.Color = BrickColor.new("Bright blue").Color |
1564 | + | aa.Color = BrickColor.new("Lime green").Color |
1565 | aa.CanCollide = false | |
1566 | aa.Shape = "Ball" | |
1567 | aa.CFrame = lb.CFrame | |
1568 | aa.Anchored = true | |
1569 | aa.Transparency = 0 | |
1570 | aa.Size = vt(1,1,1) | |
1571 | local thinger = Instance.new("SpecialMesh",aa) | |
1572 | thinger.MeshType = meshtype | |
1573 | thinger.Scale = vt(225,225,225) | |
1574 | local explosion = Instance.new("Explosion",aa) | |
1575 | explosion.Position = aa.Position | |
1576 | explosion.BlastRadius = 500 | |
1577 | explosion.BlastPressure = 100 | |
1578 | local exp = Instance.new("ParticleEmitter",aa) | |
1579 | - | exp.Texture = "rbxassetid://296874871" |
1579 | + | exp.Texture = "rbxassetid://8238591" |
1580 | exp.LightEmission = 1 | |
1581 | - | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1581 | + | exp.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1582 | exp.Rate = 9000000000 | |
1583 | exp.Lifetime = NumberRange.new(1) | |
1584 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1585 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1586 | exp.Speed = NumberRange.new(100) | |
1587 | exp.VelocitySpread = 9000000 | |
1588 | exp.Rotation = NumberRange.new(-500,500) | |
1589 | exp.RotSpeed = NumberRange.new(-500,500) | |
1590 | local expa = Instance.new("ParticleEmitter",aa) | |
1591 | - | expa.Texture = "rbxassetid://296874871" |
1591 | + | expa.Texture = "rbxassetid://8238591" |
1592 | expa.LightEmission = 1 | |
1593 | - | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1593 | + | expa.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1594 | expa.Rate = 9000000000 | |
1595 | expa.Lifetime = NumberRange.new(2.75) | |
1596 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,150,0)}) | |
1597 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1598 | expa.Speed = NumberRange.new(100) | |
1599 | expa.VelocitySpread = 9000000 | |
1600 | expa.Rotation = NumberRange.new(-500,500) | |
1601 | expa.RotSpeed = NumberRange.new(-500,500) | |
1602 | local exp2 = exp:Clone() | |
1603 | exp2.Parent = aa | |
1604 | local exp3 = exp:Clone() | |
1605 | exp3.Parent = aa | |
1606 | local exp4 = exp:Clone() | |
1607 | exp4.Parent = aa | |
1608 | local exp5 = exp:Clone() | |
1609 | exp5.Parent = aa | |
1610 | local exp6 = exp:Clone() | |
1611 | exp6.Parent = aa | |
1612 | local exp7 = exp:Clone() | |
1613 | exp7.Parent = aa | |
1614 | local expa2 = expa:Clone() | |
1615 | expa2.Parent = aa | |
1616 | local expa3 = expa:Clone() | |
1617 | expa3.Parent = aa | |
1618 | local expa4 = expa:Clone() | |
1619 | expa4.Parent = aa | |
1620 | local expa5 = expa:Clone() | |
1621 | expa5.Parent = aa | |
1622 | local expa6 = expa:Clone() | |
1623 | expa6.Parent = aa | |
1624 | local expa7 = expa:Clone() | |
1625 | expa7.Parent = aa | |
1626 | for i = 0, 1 do | |
1627 | val = val - 0.025*3.5 | |
1628 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1629 | wait() | |
1630 | end | |
1631 | exp.Rate = 0 | |
1632 | exp2.Rate = 0 | |
1633 | exp3.Rate = 0 | |
1634 | exp4.Rate = 0 | |
1635 | exp5.Rate = 0 | |
1636 | exp6.Rate = 0 | |
1637 | exp7.Rate = 0 | |
1638 | for i = 0, 1 do | |
1639 | val = val - 0.025*3.5 | |
1640 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1641 | wait() | |
1642 | end | |
1643 | expa.Rate = 0 | |
1644 | expa2.Rate = 0 | |
1645 | expa3.Rate = 0 | |
1646 | expa4.Rate = 0 | |
1647 | expa5.Rate = 0 | |
1648 | expa6.Rate = 0 | |
1649 | expa7.Rate = 0 | |
1650 | for i = 0, 21 do | |
1651 | val = val - 0.025*3.5 | |
1652 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1653 | wait() | |
1654 | end | |
1655 | for i = 0, 4 do | |
1656 | val = val - 0.05 | |
1657 | aa.Transparency = aa.Transparency + 0.065*4.5 | |
1658 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1659 | wait() | |
1660 | end | |
1661 | end | |
1662 | end | |
1663 | end) | |
1664 | for i = 0,2,0.1 do | |
1665 | swait() | |
1666 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1667 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-90)),.3) | |
1668 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
1669 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
1670 | end | |
1671 | attack = false | |
1672 | wait(60) | |
1673 | sa:Destroy() | |
1674 | sa:Destroy() | |
1675 | sa:Destroy() | |
1676 | sa:Destroy() | |
1677 | sa:Destroy() | |
1678 | aura:Destroy() | |
1679 | aura2:Destroy() | |
1680 | lb:Destroy() | |
1681 | end | |
1682 | ||
1683 | ||
1684 | - | function InfernoMeteor() |
1684 | + | function ToxicMeteor() |
1685 | attack = true | |
1686 | - | chatfunc("Inferno...") |
1686 | + | chatfunc("Toxic...") |
1687 | handleweld.Part0 = rarm | |
1688 | local tra = Instance.new("ParticleEmitter",handle) | |
1689 | - | tra.Texture = "rbxassetid://296874871" |
1689 | + | tra.Texture = "rbxassetid://8238591" |
1690 | tra.LightEmission = 0.75 | |
1691 | - | tra.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1691 | + | tra.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1692 | tra.Rate = 99999 | |
1693 | tra.Lifetime = NumberRange.new(0.25) | |
1694 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1695 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) | |
1696 | tra.Speed = NumberRange.new(0) | |
1697 | tra.Rotation = NumberRange.new(-500,500) | |
1698 | tra.VelocitySpread = 90000 | |
1699 | tra.LockedToPart = true | |
1700 | tra.RotSpeed = NumberRange.new(-500,500) | |
1701 | local tra2 = Instance.new("ParticleEmitter",handle) | |
1702 | tra2.Texture = "http://www.roblox.com/asset/?id=745304849" | |
1703 | tra2.LightEmission = 1 | |
1704 | - | tra2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1704 | + | tra2.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1705 | tra2.Rate = 50 | |
1706 | tra2.Lifetime = NumberRange.new(0.5) | |
1707 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1708 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)}) | |
1709 | tra2.Speed = NumberRange.new(0) | |
1710 | tra2.Rotation = NumberRange.new(-500,500) | |
1711 | tra2.VelocitySpread = 90000 | |
1712 | tra2.LockedToPart = true | |
1713 | tra2.RotSpeed = NumberRange.new(-500,500) | |
1714 | local sa = Instance.new("Sound",handle) | |
1715 | sa.SoundId = "rbxassetid://565538688" | |
1716 | sa.Volume = 1.5 | |
1717 | sa.Pitch = 0.975 | |
1718 | sa:Play() | |
1719 | for i = 0,4,0.1 do | |
1720 | swait() | |
1721 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
1722 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
1723 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3) | |
1724 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
1725 | end | |
1726 | chatfunc("Meteor!!") | |
1727 | local sa = Instance.new("Sound",handle) | |
1728 | sa.SoundId = "rbxassetid://304529688" | |
1729 | sa.Volume = 1.5 | |
1730 | sa.Pitch = 0.85 | |
1731 | sa:Play() | |
1732 | tra.Rate = 0 | |
1733 | tra2.Rate = 0 | |
1734 | local lb = Instance.new("Part") | |
1735 | lb.Parent = char | |
1736 | lb.Material = "Neon" | |
1737 | - | lb.Color = BrickColor.new("Bright blue").Color |
1737 | + | lb.Color = BrickColor.new("Lime green").Color |
1738 | lb.CanCollide = false | |
1739 | lb.Shape = "Ball" | |
1740 | lb.CFrame = handle.CFrame | |
1741 | lb.Anchored = true | |
1742 | lb.Transparency = 1 | |
1743 | lb.Size = vt(1,1,1) | |
1744 | local thing = Instance.new("SpecialMesh",lb) | |
1745 | thing.MeshType = meshtype | |
1746 | local hitted = false | |
1747 | lb.Anchored = false | |
1748 | local trail = Instance.new("ParticleEmitter",lb) | |
1749 | - | trail.Texture = "rbxassetid://296874871" |
1749 | + | trail.Texture = "rbxassetid://8238591" |
1750 | trail.LightEmission = 1 | |
1751 | - | trail.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1751 | + | trail.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1752 | trail.Rate = 9999 | |
1753 | trail.Lifetime = NumberRange.new(1.5) | |
1754 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)}) | |
1755 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1756 | trail.Speed = NumberRange.new(0,0) | |
1757 | trail.Rotation = NumberRange.new(-500,500) | |
1758 | trail.RotSpeed = NumberRange.new(-500,500) | |
1759 | local bv = Instance.new("BodyVelocity") | |
1760 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1761 | bv.velocity = mouse.Hit.lookVector *95 | |
1762 | bv.Parent = lb | |
1763 | wait(0.05) | |
1764 | lb.Touched:connect(function(hit) | |
1765 | if hitted == false then | |
1766 | hitted = true | |
1767 | trail.Rate = 0 | |
1768 | lb.Anchored = true | |
1769 | local aa = Instance.new("Part") | |
1770 | local val = 1*8 | |
1771 | aa.Parent = lb | |
1772 | local exsound = Instance.new("Sound",aa) | |
1773 | exsound.SoundId = "rbxassetid://402347142" | |
1774 | exsound.Volume = 10 | |
1775 | exsound.Pitch = 0.945 | |
1776 | exsound:Play() | |
1777 | aa.Material = "Neon" | |
1778 | - | aa.Color = BrickColor.new("Bright blue").Color |
1778 | + | aa.Color = BrickColor.new("Lime green").Color |
1779 | aa.CanCollide = false | |
1780 | aa.Shape = "Ball" | |
1781 | aa.CFrame = lb.CFrame | |
1782 | aa.Anchored = true | |
1783 | aa.Transparency = 0 | |
1784 | aa.Size = vt(1,1,1) | |
1785 | local thinger = Instance.new("SpecialMesh",aa) | |
1786 | thinger.MeshType = meshtype | |
1787 | thinger.Scale = vt(15,15,15) | |
1788 | local explosion = Instance.new("Explosion",aa) | |
1789 | explosion.Position = aa.Position | |
1790 | explosion.BlastRadius = 65 | |
1791 | explosion.BlastPressure = 100 | |
1792 | local exp = Instance.new("ParticleEmitter",aa) | |
1793 | - | exp.Texture = "rbxassetid://296874871" |
1793 | + | exp.Texture = "rbxassetid://8238591" |
1794 | exp.LightEmission = 1 | |
1795 | - | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1795 | + | exp.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1796 | exp.Rate = 9000000000 | |
1797 | exp.Lifetime = NumberRange.new(1) | |
1798 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1799 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1800 | exp.Speed = NumberRange.new(200) | |
1801 | exp.VelocitySpread = 9000000 | |
1802 | exp.Rotation = NumberRange.new(-500,500) | |
1803 | exp.RotSpeed = NumberRange.new(-500,500) | |
1804 | local expa = Instance.new("ParticleEmitter",aa) | |
1805 | - | expa.Texture = "rbxassetid://296874871" |
1805 | + | expa.Texture = "rbxassetid://8238591" |
1806 | expa.LightEmission = 1 | |
1807 | - | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1807 | + | expa.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1808 | expa.Rate = 9000000000 | |
1809 | expa.Lifetime = NumberRange.new(2.75) | |
1810 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,125,0)}) | |
1811 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1812 | expa.Speed = NumberRange.new(200) | |
1813 | expa.VelocitySpread = 9000000 | |
1814 | expa.Rotation = NumberRange.new(-500,500) | |
1815 | expa.RotSpeed = NumberRange.new(-500,500) | |
1816 | local exp2 = exp:Clone() | |
1817 | exp2.Parent = aa | |
1818 | local exp3 = exp:Clone() | |
1819 | exp3.Parent = aa | |
1820 | local exp4 = exp:Clone() | |
1821 | exp4.Parent = aa | |
1822 | local exp5 = exp:Clone() | |
1823 | exp5.Parent = aa | |
1824 | local exp6 = exp:Clone() | |
1825 | exp6.Parent = aa | |
1826 | local exp7 = exp:Clone() | |
1827 | exp7.Parent = aa | |
1828 | local expa2 = expa:Clone() | |
1829 | expa2.Parent = aa | |
1830 | local expa3 = expa:Clone() | |
1831 | expa3.Parent = aa | |
1832 | local expa4 = expa:Clone() | |
1833 | expa4.Parent = aa | |
1834 | local expa5 = expa:Clone() | |
1835 | expa5.Parent = aa | |
1836 | local expa6 = expa:Clone() | |
1837 | expa6.Parent = aa | |
1838 | local expa7 = expa:Clone() | |
1839 | expa7.Parent = aa | |
1840 | for i = 0, 1 do | |
1841 | val = val - 0.025*8 | |
1842 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1843 | wait() | |
1844 | end | |
1845 | exp.Rate = 0 | |
1846 | exp2.Rate = 0 | |
1847 | exp3.Rate = 0 | |
1848 | exp4.Rate = 0 | |
1849 | exp5.Rate = 0 | |
1850 | exp6.Rate = 0 | |
1851 | exp7.Rate = 0 | |
1852 | for i = 0, 1 do | |
1853 | val = val - 0.025*8 | |
1854 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1855 | wait() | |
1856 | end | |
1857 | expa.Rate = 0 | |
1858 | expa2.Rate = 0 | |
1859 | expa3.Rate = 0 | |
1860 | expa4.Rate = 0 | |
1861 | expa5.Rate = 0 | |
1862 | expa6.Rate = 0 | |
1863 | expa7.Rate = 0 | |
1864 | for i = 0, 21 do | |
1865 | val = val - 0.025*8 | |
1866 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1867 | wait() | |
1868 | end | |
1869 | for i = 0, 74 do | |
1870 | val = val - 0.0145 | |
1871 | aa.Transparency = aa.Transparency + 0.0145 | |
1872 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
1873 | wait() | |
1874 | end | |
1875 | end | |
1876 | end) | |
1877 | attack = false | |
1878 | wait(30) | |
1879 | sa:Destroy() | |
1880 | tra:Destroy() | |
1881 | tra2:Destroy() | |
1882 | lb:Destroy() | |
1883 | end | |
1884 | ||
1885 | ||
1886 | - | function InfernoWrath() |
1886 | + | function ToxicWrath() |
1887 | attack = true | |
1888 | - | chatfunc("Inferno Wrath!!") |
1888 | + | chatfunc("Toxic Wrath!!") |
1889 | for i = 0,4,0.1 do | |
1890 | swait() | |
1891 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1892 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
1893 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
1894 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
1895 | end | |
1896 | local ff = Instance.new("ForceField",char) | |
1897 | hum.WalkSpeed = 0 | |
1898 | local lb = Instance.new("Part") | |
1899 | lb.Parent = char | |
1900 | lb.Material = "Neon" | |
1901 | - | lb.Color = BrickColor.new("Bright blue").Color |
1901 | + | lb.Color = BrickColor.new("Lime green").Color |
1902 | lb.CanCollide = false | |
1903 | lb.Shape = "Ball" | |
1904 | lb.CFrame = torso.CFrame | |
1905 | lb.Anchored = true | |
1906 | lb.Transparency = 1 | |
1907 | lb.Size = vt(1,1,1) | |
1908 | local thing = Instance.new("SpecialMesh",lb) | |
1909 | thing.MeshType = meshtype | |
1910 | for i = 0, 4 do | |
1911 | local lbr = Instance.new("Part") | |
1912 | lbr.Parent = char | |
1913 | lbr.Material = "Neon" | |
1914 | - | lbr.Color = BrickColor.new("Bright blue").Color |
1914 | + | lbr.Color = BrickColor.new("Lime green").Color |
1915 | lbr.CanCollide = false | |
1916 | lbr.Shape = "Ball" | |
1917 | lbr.CFrame = lb.CFrame | |
1918 | lbr.Anchored = true | |
1919 | lbr.Transparency = 1 | |
1920 | lbr.Size = vt(1,1,1) | |
1921 | local thinga = Instance.new("SpecialMesh",lbr) | |
1922 | thinga.MeshType = meshtype | |
1923 | thinga.Scale = vt(20*6,20*6,20*6) | |
1924 | for z = 0, 19 do | |
1925 | wait(0.025) | |
1926 | lbr.Transparency = lbr.Transparency - 0.05 | |
1927 | thinga.Scale = thinga.Scale - vt(1*6,1*6,1*6) | |
1928 | end | |
1929 | lbr:Destroy() | |
1930 | end | |
1931 | local aa = Instance.new("Part") | |
1932 | local val = 1*7.5 | |
1933 | aa.Parent = lb | |
1934 | local exsound = Instance.new("Sound",handle) | |
1935 | exsound.SoundId = "rbxassetid://402347142" | |
1936 | exsound.Volume = 10 | |
1937 | exsound.Pitch = 1 | |
1938 | exsound:Play() | |
1939 | aa.Material = "Neon" | |
1940 | - | aa.Color = BrickColor.new("Bright blue").Color |
1940 | + | aa.Color = BrickColor.new("Lime green").Color |
1941 | aa.CanCollide = false | |
1942 | aa.Shape = "Ball" | |
1943 | aa.CFrame = lb.CFrame | |
1944 | aa.Anchored = true | |
1945 | aa.Transparency = 0 | |
1946 | aa.Size = vt(1,1,1) | |
1947 | local thinger = Instance.new("SpecialMesh",aa) | |
1948 | thinger.MeshType = meshtype | |
1949 | thinger.Scale = vt(15*1.5,15*1.5,15*1.5) | |
1950 | local explosion = Instance.new("Explosion",aa) | |
1951 | explosion.Position = aa.Position | |
1952 | explosion.BlastRadius = 50 | |
1953 | explosion.BlastPressure = 100 | |
1954 | local exp = Instance.new("ParticleEmitter",aa) | |
1955 | - | exp.Texture = "rbxassetid://296874871" |
1955 | + | exp.Texture = "rbxassetid://8238591" |
1956 | exp.LightEmission = 1 | |
1957 | - | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1957 | + | exp.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1958 | exp.Rate = 9000000000 | |
1959 | exp.Lifetime = NumberRange.new(1) | |
1960 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1961 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1962 | exp.Speed = NumberRange.new(115) | |
1963 | exp.VelocitySpread = 9000000 | |
1964 | exp.Rotation = NumberRange.new(-500,500) | |
1965 | exp.RotSpeed = NumberRange.new(-500,500) | |
1966 | local expa = Instance.new("ParticleEmitter",aa) | |
1967 | - | expa.Texture = "rbxassetid://296874871" |
1967 | + | expa.Texture = "rbxassetid://8238591" |
1968 | expa.LightEmission = 1 | |
1969 | - | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
1969 | + | expa.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
1970 | expa.Rate = 9000000000 | |
1971 | expa.Lifetime = NumberRange.new(2.75) | |
1972 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) | |
1973 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
1974 | expa.Speed = NumberRange.new(115) | |
1975 | expa.VelocitySpread = 9000000 | |
1976 | expa.Rotation = NumberRange.new(-500,500) | |
1977 | expa.RotSpeed = NumberRange.new(-500,500) | |
1978 | local exp2 = exp:Clone() | |
1979 | exp2.Parent = aa | |
1980 | local exp3 = exp:Clone() | |
1981 | exp3.Parent = aa | |
1982 | local exp4 = exp:Clone() | |
1983 | exp4.Parent = aa | |
1984 | local exp5 = exp:Clone() | |
1985 | exp5.Parent = aa | |
1986 | local exp6 = exp:Clone() | |
1987 | exp6.Parent = aa | |
1988 | local exp7 = exp:Clone() | |
1989 | exp7.Parent = aa | |
1990 | local expa2 = expa:Clone() | |
1991 | expa2.Parent = aa | |
1992 | local expa3 = expa:Clone() | |
1993 | expa3.Parent = aa | |
1994 | local expa4 = expa:Clone() | |
1995 | expa4.Parent = aa | |
1996 | local expa5 = expa:Clone() | |
1997 | expa5.Parent = aa | |
1998 | local expa6 = expa:Clone() | |
1999 | expa6.Parent = aa | |
2000 | local expa7 = expa:Clone() | |
2001 | expa7.Parent = aa | |
2002 | for i = 0, 1 do | |
2003 | val = val - 0.025*7.5 | |
2004 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2005 | wait() | |
2006 | end | |
2007 | exp.Rate = 0 | |
2008 | exp2.Rate = 0 | |
2009 | exp3.Rate = 0 | |
2010 | exp4.Rate = 0 | |
2011 | exp5.Rate = 0 | |
2012 | exp6.Rate = 0 | |
2013 | exp7.Rate = 0 | |
2014 | for i = 0, 1 do | |
2015 | val = val - 0.025*7.5 | |
2016 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2017 | wait() | |
2018 | end | |
2019 | ff:Destroy() | |
2020 | hum.WalkSpeed = 16 | |
2021 | attack = false | |
2022 | expa.Rate = 0 | |
2023 | expa2.Rate = 0 | |
2024 | expa3.Rate = 0 | |
2025 | expa4.Rate = 0 | |
2026 | expa5.Rate = 0 | |
2027 | expa6.Rate = 0 | |
2028 | expa7.Rate = 0 | |
2029 | for i = 0, 21 do | |
2030 | val = val - 0.025*7.5 | |
2031 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2032 | wait() | |
2033 | end | |
2034 | for i = 0, 74 do | |
2035 | val = val - 0.0145 | |
2036 | aa.Transparency = aa.Transparency + 0.0145 | |
2037 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2038 | wait() | |
2039 | end | |
2040 | wait(5) | |
2041 | lb:Destroy() | |
2042 | end | |
2043 | ||
2044 | - | function InfernoDemise() |
2044 | + | function ToxicDemise() |
2045 | attack = true | |
2046 | - | chatfunc("Inferno Demise!!") |
2046 | + | chatfunc("Toxic Demise!!") |
2047 | local tra = Instance.new("ParticleEmitter",handle) | |
2048 | - | tra.Texture = "rbxassetid://296874871" |
2048 | + | tra.Texture = "rbxassetid://8238591" |
2049 | tra.LightEmission = 0.75 | |
2050 | - | tra.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
2050 | + | tra.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
2051 | tra.Rate = 99999 | |
2052 | tra.Lifetime = NumberRange.new(0.25) | |
2053 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2054 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) | |
2055 | tra.Speed = NumberRange.new(0) | |
2056 | tra.Rotation = NumberRange.new(-500,500) | |
2057 | tra.VelocitySpread = 90000 | |
2058 | tra.LockedToPart = true | |
2059 | tra.RotSpeed = NumberRange.new(-500,500) | |
2060 | local tra2 = Instance.new("ParticleEmitter",handle) | |
2061 | tra2.Texture = "http://www.roblox.com/asset/?id=745304849" | |
2062 | tra2.LightEmission = 1 | |
2063 | - | tra2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
2063 | + | tra2.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
2064 | tra2.Rate = 50 | |
2065 | tra2.Lifetime = NumberRange.new(0.5) | |
2066 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2067 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)}) | |
2068 | tra2.Speed = NumberRange.new(0) | |
2069 | tra2.Rotation = NumberRange.new(-500,500) | |
2070 | tra2.VelocitySpread = 90000 | |
2071 | tra2.LockedToPart = true | |
2072 | tra2.RotSpeed = NumberRange.new(-500,500) | |
2073 | for i = 0,1,0.1 do | |
2074 | swait() | |
2075 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
2076 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
2077 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3) | |
2078 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
2079 | end | |
2080 | tra.Rate = 0 | |
2081 | tra2.Rate = 0 | |
2082 | local lb = Instance.new("Part") | |
2083 | lb.Parent = char | |
2084 | lb.Material = "Neon" | |
2085 | - | lb.Color = BrickColor.new("Bright blue").Color |
2085 | + | lb.Color = BrickColor.new("Lime green").Color |
2086 | lb.CanCollide = false | |
2087 | lb.Shape = "Ball" | |
2088 | lb.CFrame = mouse.Hit | |
2089 | lb.Anchored = true | |
2090 | lb.Transparency = 1 | |
2091 | lb.Size = vt(1,1,1) | |
2092 | local thing = Instance.new("SpecialMesh",lb) | |
2093 | thing.MeshType = meshtype | |
2094 | for i = 0, 4 do | |
2095 | local lbr = Instance.new("Part") | |
2096 | lbr.Parent = char | |
2097 | lbr.Material = "Neon" | |
2098 | - | lbr.Color = BrickColor.new("Bright blue").Color |
2098 | + | lbr.Color = BrickColor.new("Lime green").Color |
2099 | lbr.CanCollide = false | |
2100 | lbr.Shape = "Ball" | |
2101 | lbr.CFrame = lb.CFrame | |
2102 | lbr.Anchored = true | |
2103 | lbr.Transparency = 1 | |
2104 | lbr.Size = vt(1,1,1) | |
2105 | local thinga = Instance.new("SpecialMesh",lbr) | |
2106 | thinga.MeshType = meshtype | |
2107 | thinga.Scale = vt(20*4.5,20*4.5,20*4.5) | |
2108 | for z = 0, 19 do | |
2109 | wait(0.025) | |
2110 | lbr.Transparency = lbr.Transparency - 0.05 | |
2111 | thinga.Scale = thinga.Scale - vt(1*4.5,1*4.5,1*4.5) | |
2112 | end | |
2113 | lbr:Destroy() | |
2114 | end | |
2115 | local aa = Instance.new("Part") | |
2116 | local val = 1*6.25 | |
2117 | aa.Parent = lb | |
2118 | local exsound = Instance.new("Sound",aa) | |
2119 | exsound.SoundId = "rbxassetid://402347142" | |
2120 | exsound.Volume = 4.5 | |
2121 | exsound.Pitch = 1 | |
2122 | exsound:Play() | |
2123 | aa.Material = "Neon" | |
2124 | - | aa.Color = BrickColor.new("Bright blue").Color |
2124 | + | aa.Color = BrickColor.new("Lime green").Color |
2125 | aa.CanCollide = false | |
2126 | aa.Shape = "Ball" | |
2127 | aa.CFrame = lb.CFrame | |
2128 | aa.Anchored = true | |
2129 | aa.Transparency = 0 | |
2130 | aa.Size = vt(1,1,1) | |
2131 | local thinger = Instance.new("SpecialMesh",aa) | |
2132 | thinger.MeshType = meshtype | |
2133 | thinger.Scale = vt(15*1.15,15*1.15,15*1.15) | |
2134 | local explosion = Instance.new("Explosion",aa) | |
2135 | explosion.Position = aa.Position | |
2136 | explosion.BlastRadius = 35 | |
2137 | explosion.BlastPressure = 100 | |
2138 | local exp = Instance.new("ParticleEmitter",aa) | |
2139 | - | exp.Texture = "rbxassetid://296874871" |
2139 | + | exp.Texture = "rbxassetid://8238591" |
2140 | exp.LightEmission = 1 | |
2141 | - | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
2141 | + | exp.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
2142 | exp.Rate = 9000000000 | |
2143 | exp.Lifetime = NumberRange.new(1) | |
2144 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2145 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2146 | exp.Speed = NumberRange.new(105) | |
2147 | exp.VelocitySpread = 9000000 | |
2148 | exp.Rotation = NumberRange.new(-500,500) | |
2149 | exp.RotSpeed = NumberRange.new(-500,500) | |
2150 | local expa = Instance.new("ParticleEmitter",aa) | |
2151 | - | expa.Texture = "rbxassetid://296874871" |
2151 | + | expa.Texture = "rbxassetid://8238591" |
2152 | expa.LightEmission = 1 | |
2153 | - | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) |
2153 | + | expa.Color = ColorSequence.new(Color3.new(0,255/255,0/255)) |
2154 | expa.Rate = 9000000000 | |
2155 | expa.Lifetime = NumberRange.new(2.75) | |
2156 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) | |
2157 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2158 | expa.Speed = NumberRange.new(105) | |
2159 | expa.VelocitySpread = 9000000 | |
2160 | expa.Rotation = NumberRange.new(-500,500) | |
2161 | expa.RotSpeed = NumberRange.new(-500,500) | |
2162 | local exp2 = exp:Clone() | |
2163 | exp2.Parent = aa | |
2164 | local exp3 = exp:Clone() | |
2165 | exp3.Parent = aa | |
2166 | local exp4 = exp:Clone() | |
2167 | exp4.Parent = aa | |
2168 | local exp5 = exp:Clone() | |
2169 | exp5.Parent = aa | |
2170 | local exp6 = exp:Clone() | |
2171 | exp6.Parent = aa | |
2172 | local exp7 = exp:Clone() | |
2173 | exp7.Parent = aa | |
2174 | local expa2 = expa:Clone() | |
2175 | expa2.Parent = aa | |
2176 | local expa3 = expa:Clone() | |
2177 | expa3.Parent = aa | |
2178 | local expa4 = expa:Clone() | |
2179 | expa4.Parent = aa | |
2180 | local expa5 = expa:Clone() | |
2181 | expa5.Parent = aa | |
2182 | local expa6 = expa:Clone() | |
2183 | expa6.Parent = aa | |
2184 | local expa7 = expa:Clone() | |
2185 | expa7.Parent = aa | |
2186 | for i = 0, 1 do | |
2187 | val = val - 0.025*6.25 | |
2188 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2189 | wait() | |
2190 | end | |
2191 | exp.Rate = 0 | |
2192 | exp2.Rate = 0 | |
2193 | exp3.Rate = 0 | |
2194 | exp4.Rate = 0 | |
2195 | exp5.Rate = 0 | |
2196 | exp6.Rate = 0 | |
2197 | exp7.Rate = 0 | |
2198 | for i = 0, 1 do | |
2199 | val = val - 0.025*6.25 | |
2200 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2201 | wait() | |
2202 | end | |
2203 | attack = false | |
2204 | expa.Rate = 0 | |
2205 | expa2.Rate = 0 | |
2206 | expa3.Rate = 0 | |
2207 | expa4.Rate = 0 | |
2208 | expa5.Rate = 0 | |
2209 | expa6.Rate = 0 | |
2210 | expa7.Rate = 0 | |
2211 | for i = 0, 21 do | |
2212 | val = val - 0.025*6.25 | |
2213 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2214 | wait() | |
2215 | end | |
2216 | for i = 0, 74 do | |
2217 | val = val - 0.0145 | |
2218 | aa.Transparency = aa.Transparency + 0.0145 | |
2219 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2220 | wait() | |
2221 | end | |
2222 | wait(5) | |
2223 | lb:Destroy() | |
2224 | tra:Destroy() | |
2225 | tra2:Destroy() | |
2226 | end | |
2227 | ||
2228 | mouse.KeyDown:connect(function(key) | |
2229 | if key == "q" and attack == false then | |
2230 | - | InfernoComet() |
2230 | + | ToxicComet() |
2231 | end | |
2232 | if key == "e" and attack == false then | |
2233 | - | InfernoDemise() |
2233 | + | ToxicDemise() |
2234 | end | |
2235 | if key == "r" and attack == false then | |
2236 | - | InfernoWrath() |
2236 | + | ToxicWrath() |
2237 | end | |
2238 | if key == "f" and attack == false then | |
2239 | - | InfernoMeteor() |
2239 | + | ToxicMeteor() |
2240 | end | |
2241 | if key == "x" and attack == false then | |
2242 | - | InfernoHell() |
2242 | + | ToxicHell() |
2243 | end | |
2244 | end) | |
2245 | ||
2246 | game:GetService("RunService").Stepped:connect(function() | |
2247 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2248 | velocity = RootPart.Velocity.y | |
2249 | sine = sine + change | |
2250 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
2251 | if equipped == true or equipped == false then | |
2252 | healthg.Text = math.floor(hum.Health).. "/" ..math.floor(hum.MaxHealth) | |
2253 | if RootPart.Velocity.y > 1 and hit == nil then | |
2254 | Anim = "Jump" | |
2255 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2256 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2257 | if attack == false then | |
2258 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
2259 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3) | |
2260 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(50)), 0.3) | |
2261 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3) | |
2262 | end | |
2263 | else | |
2264 | if RootPart.Velocity.y < -1 and hit == nil then | |
2265 | Anim = "Fall" | |
2266 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2267 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
2268 | if attack == false then | |
2269 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
2270 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3) | |
2271 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(90)), 0.3) | |
2272 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
2273 | end | |
2274 | else | |
2275 | if Torsovelocity < 1 and hit ~= nil then | |
2276 | Anim = "Idle" | |
2277 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(-10),math.rad(0)),.3) | |
2278 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(10),math.rad(0)),.3) | |
2279 | if attack == false then | |
2280 | change = 1 | |
2281 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))* angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
2282 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(20)),.3) | |
2283 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.35, -0.25) * angles(math.rad(20 + 1.5 * math.cos(sine / 32)), math.rad(-30), math.rad(-90)), 0.3) | |
2284 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10 + 1.5 * math.cos(sine / 32))), 0.3) | |
2285 | end | |
2286 | else | |
2287 | if Torsovelocity > 2 and hit ~= nil then | |
2288 | Anim = "Walk" | |
2289 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(-25),math.rad(0 + 50 * math.cos(sine / 6))),.3) | |
2290 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(-25),math.rad(0 + 50 * math.cos(sine / 6))),.3) | |
2291 | if attack == false then | |
2292 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))* angles(math.rad(15),math.rad(0),math.rad(25)),.3) | |
2293 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-25)),.3) | |
2294 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.35, -0.5) * angles(math.rad(20), math.rad(-30), math.rad(-90)), 0.3) | |
2295 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 5)), math.rad(0), math.rad(-10)), 0.3) | |
2296 | end | |
2297 | end | |
2298 | end | |
2299 | end | |
2300 | end | |
2301 | end | |
2302 | end) | |
2303 | end |