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