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