SHOW:
|
|
- or go back to the newest paste.
| 1 | wait(0.016666666666666666) | |
| 2 | plr = game.Players.LocalPlayer | |
| 3 | mse = plr:GetMouse() | |
| 4 | sound = Instance.new("Sound", game.Workspace)
| |
| 5 | sound.SoundId = "https://www.roblox.com/asset/?id=520743795" | |
| 6 | sound.Volume = 10 | |
| 7 | canworld = true | |
| 8 | mse.KeyDown:connect(function(key) | |
| 9 | key = key:lower() | |
| 10 | if key == "g" then | |
| 11 | if canworld == false then return end | |
| 12 | if canworld then | |
| 13 | canworld = false | |
| 14 | sound:Play() | |
| 15 | local function spawnpart() | |
| 16 | sphere = Instance.new("Part")
| |
| 17 | --game.Debris:AddItem(sphere,3) | |
| 18 | local sm = Instance.new("SpecialMesh", sphere)
| |
| 19 | sm.MeshType = "Sphere" | |
| 20 | sphere.Transparency = 0.5 | |
| 21 | sphere.Anchored = true | |
| 22 | sphere.CanCollide = false | |
| 23 | sphere.Material = "SmoothPlastic" | |
| 24 | sphere.BrickColor = BrickColor.new("Lapis")
| |
| 25 | end | |
| 26 | ||
| 27 | local function weld(lol) | |
| 28 | local weld = Instance.new("Weld", plr.Character.Torso)
| |
| 29 | weld.Part0 = plr.Character.Torso | |
| 30 | weld.Part1 = lol | |
| 31 | weld.C0 = plr.Character.Torso.CFrame:inverse() | |
| 32 | weld.C1 = lol.CFrame:inverse() | |
| 33 | end | |
| 34 | wait(0.1) | |
| 35 | spawnpart() | |
| 36 | for i, v in pairs(game.Players:GetChildren()) do | |
| 37 | t = v.Character:FindFirstChild("Torso")
| |
| 38 | if t then | |
| 39 | t.Anchored = true | |
| 40 | plr.Character:FindFirstChild("Torso").Anchored = false
| |
| 41 | end | |
| 42 | RA = v.Character:FindFirstChild("Right Arm")
| |
| 43 | if RA then | |
| 44 | RA.Anchored = true | |
| 45 | plr.Character:FindFirstChild("Right Arm").Anchored = false
| |
| 46 | end | |
| 47 | LA = v.Character:FindFirstChild("Left Arm")
| |
| 48 | if LA then | |
| 49 | LA.Anchored = true | |
| 50 | plr.Character:FindFirstChild("Left Arm").Anchored = false
| |
| 51 | end | |
| 52 | RL = v.Character:FindFirstChild("Right Leg")
| |
| 53 | if RL then | |
| 54 | RL.Anchored = true | |
| 55 | plr.Character:FindFirstChild("Right Leg").Anchored = false
| |
| 56 | end | |
| 57 | LL = v.Character:FindFirstChild("Left Leg")
| |
| 58 | if LL then | |
| 59 | LL.Anchored = true | |
| 60 | plr.Character:FindFirstChild("Left Leg").Anchored = false
| |
| 61 | end | |
| 62 | end | |
| 63 | weld(sphere) | |
| 64 | cce = Instance.new("ColorCorrectionEffect", game.Lighting)
| |
| 65 | cce.Saturation = -0.85 | |
| 66 | --game.Debris:AddItem(cce, 5) | |
| 67 | sphere.Parent = game.Workspace | |
| 68 | for i = 1,10 do | |
| 69 | sphere.Size = sphere.Size + Vector3.new(0,0,0) | |
| 70 | wait(0) | |
| 71 | end | |
| 72 | --wait(0.001) | |
| 73 | ||
| 74 | end | |
| 75 | end | |
| 76 | end | |
| 77 | ) | |
| 78 | ||
| 79 | mse.KeyDown:connect(function(key) | |
| 80 | key = key:lower() | |
| 81 | if key == "h" then | |
| 82 | canworld = true | |
| 83 | for i, v in pairs(game.Players:GetChildren()) do | |
| 84 | t = v.Character:FindFirstChild("Torso")
| |
| 85 | if t then | |
| 86 | t.Anchored = false | |
| 87 | end | |
| 88 | RA = v.Character:FindFirstChild("Right Arm")
| |
| 89 | if RA then | |
| 90 | RA.Anchored = false | |
| 91 | end | |
| 92 | LA = v.Character:FindFirstChild("Left Arm")
| |
| 93 | if LA then | |
| 94 | LA.Anchored = false | |
| 95 | end | |
| 96 | RL = v.Character:FindFirstChild("Right Leg")
| |
| 97 | if RL then | |
| 98 | RL.Anchored = false | |
| 99 | end | |
| 100 | LL = v.Character:FindFirstChild("Left Leg")
| |
| 101 | if LL then | |
| 102 | LL.Anchored = false | |
| 103 | end | |
| 104 | end | |
| 105 | cce.Saturation = 0 | |
| 106 | sphere:Destroy() | |
| 107 | end | |
| 108 | end) | |
| 109 | ||
| 110 | wait(0.016666666666666666) | |
| 111 | ||
| 112 | ||
| 113 | player=game:GetService('Players').LocalPlayer
| |
| 114 | c=player.Character | |
| 115 | local color="Crimson" | |
| 116 | local transPoints = {
| |
| 117 | NumberSequenceKeypoint.new(0,.819,.0375), | |
| 118 | NumberSequenceKeypoint.new(.207,.594,.0187), | |
| 119 | NumberSequenceKeypoint.new(.4,.55,.031), | |
| 120 | NumberSequenceKeypoint.new(.57,.619,.05), | |
| 121 | NumberSequenceKeypoint.new(.76,.8,.0375), | |
| 122 | NumberSequenceKeypoint.new(1,1,0), | |
| 123 | } | |
| 124 | local sizePoints = {
| |
| 125 | NumberSequenceKeypoint.new(0,0.505,0), | |
| 126 | NumberSequenceKeypoint.new(1,0,0), | |
| 127 | } | |
| 128 | local Size = NumberSequence.new(sizePoints) | |
| 129 | local Transparency = NumberSequence.new(transPoints) | |
| 130 | efxBlock = Instance.new("Part",c)
| |
| 131 | efxBlock.CanCollide=false | |
| 132 | efxBlock.BrickColor = BrickColor.new(color) | |
| 133 | efxBlock.Material = "Neon" | |
| 134 | efxBlock.FormFactor = "Custom" | |
| 135 | efxBlock.Transparency = .3 | |
| 136 | efxBlock.Size = Vector3.new(.25,.25,.25) | |
| 137 | local mesh = Instance.new("SpecialMesh",efxBlock)
| |
| 138 | mesh.MeshType = Enum.MeshType.Sphere | |
| 139 | mesh.Scale = Vector3.new(1,1,1) | |
| 140 | local particles = Instance.new("ParticleEmitter",efxBlock)
| |
| 141 | particles.Color = ColorSequence.new(Color3.new(200/255, 10/255, 10/255),Color3.new(255/255, 0/255, 0/255)) | |
| 142 | particles.LightEmission = .7 | |
| 143 | particles.Size = Size | |
| 144 | particles.Name = "Fire" | |
| 145 | particles.Transparency = Transparency | |
| 146 | particles.LockedToPart = false | |
| 147 | particles.VelocityInheritance = .5 | |
| 148 | particles.LockedToPart = false | |
| 149 | particles.Rate = 70 | |
| 150 | particles.Texture = "rbxassetid://56562006" | |
| 151 | particles.Lifetime = NumberRange.new(2,2) | |
| 152 | particles.RotSpeed = NumberRange.new(100,100) | |
| 153 | particles.Speed = NumberRange.new(1,1) | |
| 154 | local offset = Vector3.new(-0.11, .23, -0.5) | |
| 155 | local weld = Instance.new("Weld",c.Head)
| |
| 156 | weld.Part0 = c.Head | |
| 157 | weld.Part1 = efxBlock | |
| 158 | weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(50),math.rad(40)) | |
| 159 | efxBlock.Parent = c | |
| 160 | efxBlock2 = Instance.new("Part",c)
| |
| 161 | efxBlock2.CanCollide=false | |
| 162 | efxBlock2.BrickColor = BrickColor.new(color) | |
| 163 | efxBlock2.Material = "Neon" | |
| 164 | efxBlock2.FormFactor = "Custom" | |
| 165 | efxBlock2.Transparency = .3 | |
| 166 | efxBlock2.Size = Vector3.new(.25,.25,.25) | |
| 167 | local mesh2 = Instance.new("SpecialMesh",efxBlock2)
| |
| 168 | mesh2.MeshType = Enum.MeshType.Sphere | |
| 169 | mesh2.Scale = Vector3.new(1,1,1) | |
| 170 | local particles2 = Instance.new("ParticleEmitter",efxBlock2)
| |
| 171 | particles2.Color =ColorSequence.new(Color3.new(200/255, 10/255, 10/255),Color3.new(255/255, 0/255, 0/255)) | |
| 172 | particles2.LightEmission = .2 | |
| 173 | particles2.Size = Size | |
| 174 | particles2.Name = "Fire" | |
| 175 | particles2.Transparency = Transparency | |
| 176 | particles2.LockedToPart = false | |
| 177 | particles2.VelocityInheritance = .5 | |
| 178 | particles2.LockedToPart = false | |
| 179 | particles2.Rate = 70 | |
| 180 | particles2.Texture = "rbxassetid://56562006" | |
| 181 | particles2.Lifetime = NumberRange.new(2,2) | |
| 182 | particles2.RotSpeed = NumberRange.new(100,100) | |
| 183 | particles2.Speed = NumberRange.new(1,1) | |
| 184 | local offset = Vector3.new(0.11, .23, -0.5) | |
| 185 | local weld2 = Instance.new("Weld",c.Head)
| |
| 186 | weld2.Part0 = c.Head | |
| 187 | weld2.Part1 = efxBlock2 | |
| 188 | weld2.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(40),math.rad(50),math.rad(-40)) | |
| 189 | efxBlock2.Parent = c | |
| 190 | ||
| 191 | ||
| 192 | --[[Qaeo Armory. ]]-- | |
| 193 | - | local Player = game.Players.UilmateGate |
| 193 | + | local Player = game.Players.EnderWolfMage |
| 194 | local Character = Player.Character | |
| 195 | local Humanoid = Character.Humanoid | |
| 196 | local mouse = Player:GetMouse() | |
| 197 | local effect = Instance.new('Model', Character)
| |
| 198 | effect.Name = "Effects" | |
| 199 | local m = Instance.new('Model', Character)
| |
| 200 | m.Name = "WeaponModel" | |
| 201 | local LeftArm = Character["Left Arm"] | |
| 202 | local RightArm = Character["Right Arm"] | |
| 203 | local LeftLeg = Character["Left Leg"] | |
| 204 | local RightLeg = Character["Right Leg"] | |
| 205 | local Head = Character.Head | |
| 206 | local Torso = Character.Torso | |
| 207 | local cam = game.Workspace.CurrentCamera | |
| 208 | local RootPart = Character.HumanoidRootPart | |
| 209 | local RootJoint = RootPart.RootJoint | |
| 210 | local cf = CFrame.new | |
| 211 | local mr = math.rad | |
| 212 | local Anim = false | |
| 213 | local angles = CFrame.Angles | |
| 214 | local ud = UDim2.new | |
| 215 | local c3 = Color3.new | |
| 216 | ||
| 217 | local NeckCF = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 218 | ||
| 219 | ||
| 220 | function clerp(a, b, t) | |
| 221 | return a:lerp(b, t) | |
| 222 | end | |
| 223 | ||
| 224 | ||
| 225 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 226 | local Create = RbxUtility.Create | |
| 227 | ||
| 228 | function RemoveOutlines(part) | |
| 229 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 230 | end | |
| 231 | ||
| 232 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 233 | local Part = Create("Part"){
| |
| 234 | Parent = Parent, | |
| 235 | Reflectance = Reflectance, | |
| 236 | Transparency = Transparency, | |
| 237 | CanCollide = false, | |
| 238 | Locked = true, | |
| 239 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 240 | Name = Name, | |
| 241 | Size = Size, | |
| 242 | Material = Material, | |
| 243 | } | |
| 244 | RemoveOutlines(Part) | |
| 245 | return Part | |
| 246 | end | |
| 247 | ||
| 248 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 249 | local Msh = Create(Mesh){
| |
| 250 | Parent = Part, | |
| 251 | Offset = OffSet, | |
| 252 | Scale = Scale, | |
| 253 | } | |
| 254 | if Mesh == "SpecialMesh" then | |
| 255 | Msh.MeshType = MeshType | |
| 256 | Msh.MeshId = MeshId | |
| 257 | end | |
| 258 | return Msh | |
| 259 | end | |
| 260 | ||
| 261 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 262 | ArtificialHB.Name = "Heartbeat" | |
| 263 | ||
| 264 | script:WaitForChild("Heartbeat")
| |
| 265 | ||
| 266 | ||
| 267 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 268 | tf = tf + s | |
| 269 | if tf >= frame then | |
| 270 | if allowframeloss then | |
| 271 | script.Heartbeat:Fire() | |
| 272 | lastframe = tick() | |
| 273 | else | |
| 274 | for i = 1, math.floor(tf / frame) do | |
| 275 | script.Heartbeat:Fire() | |
| 276 | end | |
| 277 | lastframe = tick() | |
| 278 | end | |
| 279 | if tossremainder then | |
| 280 | tf = 0 | |
| 281 | else | |
| 282 | tf = tf - frame * math.floor(tf / frame) | |
| 283 | end | |
| 284 | end | |
| 285 | end) | |
| 286 | ||
| 287 | function swait(num) | |
| 288 | if num == 0 or num == nil then | |
| 289 | ArtificialHB.Event:wait() | |
| 290 | else | |
| 291 | for i = 0, num do | |
| 292 | ArtificialHB.Event:wait() | |
| 293 | end | |
| 294 | end | |
| 295 | end | |
| 296 | ||
| 297 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 298 | local Weld = Create("Weld"){
| |
| 299 | Parent = Parent, | |
| 300 | Part0 = Part0, | |
| 301 | Part1 = Part1, | |
| 302 | C0 = C0, | |
| 303 | C1 = C1, | |
| 304 | } | |
| 305 | return Weld | |
| 306 | end | |
| 307 | ||
| 308 | function rayCast(Position, Direction, Range, Ignore) | |
| 309 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 310 | end | |
| 311 | ||
| 312 | ||
| 313 | ||
| 314 | local function getclosest(obj, distance) | |
| 315 | local last, lastx = distance + 1 | |
| 316 | for i, v in pairs(workspace:GetChildren()) do | |
| 317 | if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
| |
| 318 | local t = v.Torso | |
| 319 | local dist = (t.Position - obj.Position).magnitude | |
| 320 | if dist <= distance then | |
| 321 | if dist < last then | |
| 322 | last = dist | |
| 323 | lastx = v | |
| 324 | end | |
| 325 | end | |
| 326 | end | |
| 327 | end | |
| 328 | return lastx | |
| 329 | end | |
| 330 | ||
| 331 | Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 332 | if hit.Parent == nil then | |
| 333 | return | |
| 334 | end | |
| 335 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 336 | for _, v in pairs(hit.Parent:children()) do | |
| 337 | if v:IsA("Humanoid") then
| |
| 338 | h = v | |
| 339 | end | |
| 340 | end | |
| 341 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 342 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 343 | if hit.Parent.DebounceHit.Value == true then | |
| 344 | return | |
| 345 | end | |
| 346 | end | |
| 347 | local c = Create("ObjectValue"){
| |
| 348 | Name = "creator", | |
| 349 | Value = game:service("Players").UilmateGate,
| |
| 350 | Parent = h, | |
| 351 | } | |
| 352 | game:GetService("Debris"):AddItem(c, .5)
| |
| 353 | if HitSound ~= nil and HitPitch ~= nil then | |
| 354 | CreateSound(HitSound, hit, 1, HitPitch) | |
| 355 | end | |
| 356 | ||
| 357 | ||
| 358 | if Type == "Knockdown" then | |
| 359 | local hum = hit.Parent.Humanoid | |
| 360 | hum.PlatformStand = true | |
| 361 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 362 | swait(1) | |
| 363 | HHumanoid.PlatformStand = false | |
| 364 | end), hum) | |
| 365 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 366 | local bodvol = Create("BodyVelocity"){
| |
| 367 | velocity = angle * knockback, | |
| 368 | P = 0, | |
| 369 | maxForce = Vector3.new(0, 0, 8e+000), | |
| 370 | Parent = hit, | |
| 371 | } | |
| 372 | local rl = Create("BodyAngularVelocity"){
| |
| 373 | P = 0, | |
| 374 | maxTorque = Vector3.new(0, 0, 0) * 0, | |
| 375 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 376 | Parent = hit, | |
| 377 | } | |
| 378 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 379 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 380 | elseif Type == "Normal" then | |
| 381 | local vp = Create("BodyVelocity"){
| |
| 382 | P = 0, | |
| 383 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 384 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 385 | } | |
| 386 | if knockback > 0 then | |
| 387 | vp.Parent = hit.Parent.Torso | |
| 388 | end | |
| 389 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 390 | elseif Type == "Up" then | |
| 391 | local bodyVelocity = Create("BodyVelocity"){
| |
| 392 | velocity = vt(0, 20, 0), | |
| 393 | P = 0, | |
| 394 | maxForce = Vector3.new(0, 0, 8e+000), | |
| 395 | Parent = hit, | |
| 396 | } | |
| 397 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 398 | elseif Type == "DarkUp" then | |
| 399 | coroutine.resume(coroutine.create(function() | |
| 400 | for i = 0,1,0.1 do | |
| 401 | swait() | |
| 402 | BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame,5, 5, 5, 1, 1, 1, .08,1)
| |
| 403 | end | |
| 404 | end)) | |
| 405 | local bodyVelocity = Create("BodyVelocity"){
| |
| 406 | velocity = vt(0, 20, 0), | |
| 407 | P = 0, | |
| 408 | maxForce = Vector3.new(0, 0, 8e+000), | |
| 409 | Parent = hit, | |
| 410 | ||
| 411 | } | |
| 412 | hit.Parent.Torso.Anchored = true | |
| 413 | coroutine.resume(coroutine.create(function(Part) | |
| 414 | swait(1.5) | |
| 415 | Part.Anchored = false | |
| 416 | end), hit.Parent.Torso) | |
| 417 | game:GetService("Debris"):AddItem(BodPos, 0)
| |
| 418 | game:GetService("Debris"):AddItem(BodGy, 0)
| |
| 419 | end | |
| 420 | local debounce = Create("BoolValue"){
| |
| 421 | Name = "DebounceHit", | |
| 422 | Parent = hit.Parent, | |
| 423 | Value = true, | |
| 424 | } | |
| 425 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 426 | c = Instance.new("ObjectValue")
| |
| 427 | c.Name = "creator" | |
| 428 | c.Value = Player | |
| 429 | c.Parent = h | |
| 430 | game:GetService("Debris"):AddItem(c, .5)
| |
| 431 | end | |
| 432 | end | |
| 433 | ||
| 434 | function ShowDamage(Pos, Text, Time, Color) | |
| 435 | local Rate = (1 / 30) | |
| 436 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 437 | local Text = (Text or "") | |
| 438 | local Time = (Time or 2) | |
| 439 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 440 | local EffectPart = CreatePart(effect, "Granite", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0)) | |
| 441 | EffectPart.Anchored = true | |
| 442 | local BillboardGui = Create("BillboardGui"){
| |
| 443 | Size = UDim2.new(3, 0, 3, 0), | |
| 444 | Adornee = EffectPart, | |
| 445 | Parent = EffectPart, | |
| 446 | } | |
| 447 | ||
| 448 | game.Debris:AddItem(EffectPart, (Time + 0.1)) | |
| 449 | EffectPart.Parent = game:GetService("Workspace")
| |
| 450 | delay(0, function() | |
| 451 | local Frames = (Time / Rate) | |
| 452 | for Frame = 1, Frames do | |
| 453 | wait(Rate) | |
| 454 | local Percent = (Frame / Frames) | |
| 455 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 456 | TextLabel.TextTransparency = Percent | |
| 457 | end | |
| 458 | if EffectPart and EffectPart.Parent then | |
| 459 | EffectPart:Destroy() | |
| 460 | end | |
| 461 | end) | |
| 462 | end | |
| 463 | function MagniDamage(Part,magni,mindam,maxdam,knock,Type) | |
| 464 | for _,c in pairs(workspace:children()) do | |
| 465 | local hum=c:findFirstChild("Humanoid")
| |
| 466 | if hum~=nil then | |
| 467 | local head=c:findFirstChild("Torso")
| |
| 468 | if head~=nil then | |
| 469 | local targ=head.Position-Part.Position | |
| 470 | local mag=targ.magnitude | |
| 471 | if mag<=magni and c.Name~=Player.Name then | |
| 472 | --Damagefunc(head,mindam,maxdam,knock,Type,RootPart,.2,1,nil,1) | |
| 473 | Damagefunc(head, head, mindam,maxdam, knock, Type, RootPart, .1, "http://www.roblox.com/asset/?id=231917784", 1) | |
| 474 | end | |
| 475 | end | |
| 476 | end | |
| 477 | end | |
| 478 | end | |
| 479 | --[[GAUNTLETBUILD]]-- | |
| 480 | ||
| 481 | ||
| 482 | Player=game:GetService("Players").LocalPlayer
| |
| 483 | Character=Player.Character | |
| 484 | PlayerGui=Player.PlayerGui | |
| 485 | Backpack=Player.Backpack | |
| 486 | Torso=Character.Torso | |
| 487 | Head=Character.Head | |
| 488 | Humanoid=Character.Humanoid | |
| 489 | m=Instance.new('Model',Character)
| |
| 490 | LeftArm=Character["Left Arm"] | |
| 491 | LeftLeg=Character["Left Leg"] | |
| 492 | RightArm=Character["Right Arm"] | |
| 493 | RightLeg=Character["Right Leg"] | |
| 494 | LS=Torso["Left Shoulder"] | |
| 495 | LH=Torso["Left Hip"] | |
| 496 | RS=Torso["Right Shoulder"] | |
| 497 | RH=Torso["Right Hip"] | |
| 498 | Face = Head.face | |
| 499 | Neck=Torso.Neck | |
| 500 | it=Instance.new | |
| 501 | attacktype=1 | |
| 502 | vt=Vector3.new | |
| 503 | cf=CFrame.new | |
| 504 | euler=CFrame.fromEulerAnglesXYZ | |
| 505 | angles=CFrame.Angles | |
| 506 | cloaked=false | |
| 507 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 508 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 509 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 510 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 511 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 512 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 513 | RootPart=Character.HumanoidRootPart | |
| 514 | RootJoint=RootPart.RootJoint | |
| 515 | RootCF=euler(-1.57,0,3.14) | |
| 516 | attack = false | |
| 517 | attackdebounce = false | |
| 518 | deb=false | |
| 519 | equipped=true | |
| 520 | hand=false | |
| 521 | MMouse=nil | |
| 522 | combo=0 | |
| 523 | mana=0 | |
| 524 | trispeed=.2 | |
| 525 | attackmode='none' | |
| 526 | local idle=0 | |
| 527 | local Anim="Idle" | |
| 528 | local Effects={}
| |
| 529 | local gun=false | |
| 530 | local shoot=false | |
| 531 | player=nil | |
| 532 | mana=0 | |
| 533 | local CurrentMode = "Unsheathed" | |
| 534 | ||
| 535 | mouse=Player:GetMouse() | |
| 536 | --save shoulders | |
| 537 | RSH, LSH=nil, nil | |
| 538 | --welds | |
| 539 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 540 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 541 | LH=Torso["Left Hip"] | |
| 542 | RH=Torso["Right Hip"] | |
| 543 | TorsoColor=Torso.BrickColor | |
| 544 | function NoOutline(Part) | |
| 545 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 546 | end | |
| 547 | player=Player | |
| 548 | ch=Character | |
| 549 | RSH=ch.Torso["Right Shoulder"] | |
| 550 | LSH=ch.Torso["Left Shoulder"] | |
| 551 | -- | |
| 552 | RSH.Parent=nil | |
| 553 | LSH.Parent=nil | |
| 554 | -- | |
| 555 | RW.Name="Right Shoulder" | |
| 556 | RW.Part0=ch.Torso | |
| 557 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 558 | RW.C1=cf(0, 0.5, 0) | |
| 559 | RW.Part1=ch["Right Arm"] | |
| 560 | RW.Parent=ch.Torso | |
| 561 | -- | |
| 562 | LW.Name="Left Shoulder" | |
| 563 | LW.Part0=ch.Torso | |
| 564 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 565 | LW.C1=cf(0, 0.5, 0) | |
| 566 | LW.Part1=ch["Left Arm"] | |
| 567 | LW.Parent=ch.Torso | |
| 568 | ||
| 569 | local function weldBetween(a, b) | |
| 570 | local weldd = Instance.new("ManualWeld")
| |
| 571 | weldd.Part0 = a | |
| 572 | weldd.Part1 = b | |
| 573 | weldd.C0 = CFrame.new() | |
| 574 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 575 | weldd.Parent = a | |
| 576 | return weldd | |
| 577 | end | |
| 578 | ||
| 579 | function nooutline(part) | |
| 580 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 581 | end | |
| 582 | ||
| 583 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
| 584 | local fp=it("Part")
| |
| 585 | fp.formFactor=formfactor | |
| 586 | fp.Parent=parent | |
| 587 | fp.Reflectance=reflectance | |
| 588 | fp.Transparency=transparency | |
| 589 | fp.CanCollide=false | |
| 590 | fp.Locked=true | |
| 591 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
| 592 | fp.Name=name | |
| 593 | fp.Size=size | |
| 594 | fp.Position=Character.Torso.Position | |
| 595 | nooutline(fp) | |
| 596 | fp.Material=material | |
| 597 | fp:BreakJoints() | |
| 598 | return fp | |
| 599 | end | |
| 600 | ||
| 601 | function swait(num) | |
| 602 | if num==0 or num==nil then | |
| 603 | game:service'RunService'.Heartbeat:wait(0) | |
| 604 | else | |
| 605 | for i=0,num do | |
| 606 | game:service'RunService'.Heartbeat:wait(0) | |
| 607 | end | |
| 608 | end | |
| 609 | end | |
| 610 | ||
| 611 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 612 | local mesh=it(Mesh) | |
| 613 | mesh.Parent=part | |
| 614 | if Mesh=="SpecialMesh" then | |
| 615 | mesh.MeshType=meshtype | |
| 616 | mesh.MeshId=meshid | |
| 617 | end | |
| 618 | mesh.Offset=offset | |
| 619 | mesh.Scale=scale | |
| 620 | return mesh | |
| 621 | end | |
| 622 | ||
| 623 | function weld(parent,part0,part1,c0,c1) | |
| 624 | local weld=it("Weld")
| |
| 625 | weld.Parent=parent | |
| 626 | weld.Part0=part0 | |
| 627 | weld.Part1=part1 | |
| 628 | weld.C0=c0 | |
| 629 | weld.C1=c1 | |
| 630 | return weld | |
| 631 | end | |
| 632 | ||
| 633 | ||
| 634 | local function CFrameFromTopBack(at, top, back) | |
| 635 | local right = top:Cross(back) | |
| 636 | return CFrame.new(at.x, at.y, at.z, | |
| 637 | right.x, top.x, back.x, | |
| 638 | right.y, top.y, back.y, | |
| 639 | right.z, top.z, back.z) | |
| 640 | end | |
| 641 | ||
| 642 | function Triangle(a, b, c) | |
| 643 | local edg1 = (c-a):Dot((b-a).unit) | |
| 644 | local edg2 = (a-b):Dot((c-b).unit) | |
| 645 | local edg3 = (b-c):Dot((a-c).unit) | |
| 646 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
| 647 | a, b, c = a, b, c | |
| 648 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
| 649 | a, b, c = b, c, a | |
| 650 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
| 651 | a, b, c = c, a, b | |
| 652 | else | |
| 653 | assert(false, "unreachable") | |
| 654 | end | |
| 655 | ||
| 656 | local len1 = (c-a):Dot((b-a).unit) | |
| 657 | local len2 = (b-a).magnitude - len1 | |
| 658 | local width = (a + (b-a).unit*len1 - c).magnitude | |
| 659 | ||
| 660 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
| 661 | ||
| 662 | local list = {}
| |
| 663 | ||
| 664 | if len1 > 0.01 then | |
| 665 | local w1 = Instance.new('WedgePart', m)
| |
| 666 | game:GetService("Debris"):AddItem(w1,5)
| |
| 667 | w1.Material = "SmoothPlastic" | |
| 668 | w1.FormFactor = 'Custom' | |
| 669 | w1.BrickColor = BrickColor.new("Crimson")
| |
| 670 | w1.Transparency = 0 | |
| 671 | w1.Reflectance = 0 | |
| 672 | w1.Material = "Neon" | |
| 673 | w1.CanCollide = false | |
| 674 | NoOutline(w1) | |
| 675 | local sz = Vector3.new(0.2, width, len1) | |
| 676 | w1.Size = sz | |
| 677 | local sp = Instance.new("SpecialMesh",w1)
| |
| 678 | sp.MeshType = "Wedge" | |
| 679 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
| 680 | w1:BreakJoints() | |
| 681 | w1.Anchored = true | |
| 682 | w1.Parent = workspace | |
| 683 | w1.Transparency = 0.3 | |
| 684 | table.insert(Effects,{w1,"Disappear",.03})
| |
| 685 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 686 | table.insert(list,w1) | |
| 687 | end | |
| 688 | if len2 > 0.01 then | |
| 689 | local w2 = Instance.new('WedgePart', m)
| |
| 690 | game:GetService("Debris"):AddItem(w2,5)
| |
| 691 | w2.Material = "SmoothPlastic" | |
| 692 | w2.FormFactor = 'Custom' | |
| 693 | w2.BrickColor = BrickColor.new("Crimson")
| |
| 694 | w2.Transparency = 0 | |
| 695 | w2.Reflectance = 0 | |
| 696 | w2.Material = "Neon" | |
| 697 | w2.CanCollide = false | |
| 698 | NoOutline(w2) | |
| 699 | local sz = Vector3.new(0.2, width, len2) | |
| 700 | w2.Size = sz | |
| 701 | local sp = Instance.new("SpecialMesh",w2)
| |
| 702 | sp.MeshType = "Wedge" | |
| 703 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
| 704 | w2:BreakJoints() | |
| 705 | w2.Anchored = true | |
| 706 | w2.Parent = workspace | |
| 707 | w2.Transparency = 0.3 | |
| 708 | table.insert(Effects,{w2,"Disappear",.03})
| |
| 709 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
| 710 | table.insert(list,w2) | |
| 711 | end | |
| 712 | return unpack(list) | |
| 713 | end | |
| 714 | ||
| 715 | ||
| 716 | so = function(id,par,vol,pit) | |
| 717 | coroutine.resume(coroutine.create(function() | |
| 718 | local sou = Instance.new("Sound",par or workspace)
| |
| 719 | sou.Volume=vol | |
| 720 | sou.Pitch=pit or 1 | |
| 721 | sou.SoundId=id | |
| 722 | swait() | |
| 723 | sou:play() | |
| 724 | game:GetService("Debris"):AddItem(sou,6)
| |
| 725 | end)) | |
| 726 | end | |
| 727 | ||
| 728 | function clerp(a,b,t) | |
| 729 | local qa = {QuaternionFromCFrame(a)}
| |
| 730 | local qb = {QuaternionFromCFrame(b)}
| |
| 731 | local ax, ay, az = a.x, a.y, a.z | |
| 732 | local bx, by, bz = b.x, b.y, b.z | |
| 733 | local _t = 1-t | |
| 734 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 735 | end | |
| 736 | ||
| 737 | function QuaternionFromCFrame(cf) | |
| 738 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 739 | local trace = m00 + m11 + m22 | |
| 740 | if trace > 0 then | |
| 741 | local s = math.sqrt(1 + trace) | |
| 742 | local recip = 0.5/s | |
| 743 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 744 | else | |
| 745 | local i = 0 | |
| 746 | if m11 > m00 then | |
| 747 | i = 1 | |
| 748 | end | |
| 749 | if m22 > (i == 0 and m00 or m11) then | |
| 750 | i = 2 | |
| 751 | end | |
| 752 | if i == 0 then | |
| 753 | local s = math.sqrt(m00-m11-m22+1) | |
| 754 | local recip = 0.5/s | |
| 755 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 756 | elseif i == 1 then | |
| 757 | local s = math.sqrt(m11-m22-m00+1) | |
| 758 | local recip = 0.5/s | |
| 759 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 760 | elseif i == 2 then | |
| 761 | local s = math.sqrt(m22-m00-m11+1) | |
| 762 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 763 | end | |
| 764 | end | |
| 765 | end | |
| 766 | ||
| 767 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 768 | local xs, ys, zs = x + x, y + y, z + z | |
| 769 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 770 | local xx = x*xs | |
| 771 | local xy = x*ys | |
| 772 | local xz = x*zs | |
| 773 | local yy = y*ys | |
| 774 | local yz = y*zs | |
| 775 | local zz = z*zs | |
| 776 | 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)) | |
| 777 | end | |
| 778 | ||
| 779 | function QuaternionSlerp(a, b, t) | |
| 780 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 781 | local startInterp, finishInterp; | |
| 782 | if cosTheta >= 0.0001 then | |
| 783 | if (1 - cosTheta) > 0.0001 then | |
| 784 | local theta = math.acos(cosTheta) | |
| 785 | local invSinTheta = 1/math.sin(theta) | |
| 786 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 787 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 788 | else | |
| 789 | startInterp = 1-t | |
| 790 | finishInterp = t | |
| 791 | end | |
| 792 | else | |
| 793 | if (1+cosTheta) > 0.0001 then | |
| 794 | local theta = math.acos(-cosTheta) | |
| 795 | local invSinTheta = 1/math.sin(theta) | |
| 796 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 797 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 798 | else | |
| 799 | startInterp = t-1 | |
| 800 | finishInterp = t | |
| 801 | end | |
| 802 | end | |
| 803 | 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 | |
| 804 | end | |
| 805 | ||
| 806 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 807 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 808 | end | |
| 809 | ||
| 810 | Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
| 811 | if hit.Parent==nil then | |
| 812 | return | |
| 813 | end | |
| 814 | local h=hit.Parent:FindFirstChild("Humanoid")
| |
| 815 | for _,v in pairs(hit.Parent:children()) do | |
| 816 | if v:IsA("Humanoid") then
| |
| 817 | h=v | |
| 818 | end | |
| 819 | end | |
| 820 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
| |
| 821 | h=hit.Parent.Parent:FindFirstChild("Humanoid")
| |
| 822 | end | |
| 823 | if hit.Parent.className=="Hat" then | |
| 824 | hit=hit.Parent.Parent:findFirstChild("Head")
| |
| 825 | end | |
| 826 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 827 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
| |
| 828 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 829 | return | |
| 830 | end]] | |
| 831 | -- hs(hit,1.2) | |
| 832 | local c=Instance.new("ObjectValue")
| |
| 833 | c.Name="creator" | |
| 834 | c.Value=game:service("Players").LocalPlayer
| |
| 835 | c.Parent=h | |
| 836 | game:GetService("Debris"):AddItem(c,.5)
| |
| 837 | local Damage=math.random(minim,maxim) | |
| 838 | -- h:TakeDamage(Damage) | |
| 839 | local blocked=false | |
| 840 | local block=hit.Parent:findFirstChild("Block")
| |
| 841 | if block~=nil then | |
| 842 | print(block.className) | |
| 843 | if block.className=="NumberValue" then | |
| 844 | if block.Value>0 then | |
| 845 | blocked=true | |
| 846 | if decreaseblock==nil then | |
| 847 | block.Value=block.Value-1 | |
| 848 | end | |
| 849 | end | |
| 850 | end | |
| 851 | if block.className=="IntValue" then | |
| 852 | if block.Value>0 then | |
| 853 | blocked=true | |
| 854 | if decreaseblock~=nil then | |
| 855 | block.Value=block.Value-1 | |
| 856 | end | |
| 857 | end | |
| 858 | end | |
| 859 | end | |
| 860 | if blocked==false then | |
| 861 | -- h:TakeDamage(Damage) | |
| 862 | h.Health=h.Health-Damage | |
| 863 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color) | |
| 864 | else | |
| 865 | h.Health=h.Health-(Damage/2) | |
| 866 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
| |
| 867 | end | |
| 868 | if Type=="Knockdown" then | |
| 869 | local hum=hit.Parent.Humanoid | |
| 870 | hum.PlatformStand=true | |
| 871 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 872 | swait(1) | |
| 873 | HHumanoid.PlatformStand=false | |
| 874 | end),hum) | |
| 875 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 876 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 877 | local bodvol=Instance.new("BodyVelocity")
| |
| 878 | bodvol.velocity=angle*knockback | |
| 879 | bodvol.P=5000 | |
| 880 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 881 | bodvol.Parent=hit | |
| 882 | local rl=Instance.new("BodyAngularVelocity")
| |
| 883 | rl.P=3000 | |
| 884 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 885 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 886 | rl.Parent=hit | |
| 887 | game:GetService("Debris"):AddItem(bodvol,.5)
| |
| 888 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 889 | elseif Type=="Normal" then | |
| 890 | local vp=Instance.new("BodyVelocity")
| |
| 891 | vp.P=500 | |
| 892 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 893 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 894 | if KnockbackType==1 then | |
| 895 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
| 896 | elseif KnockbackType==2 then | |
| 897 | vp.velocity=Property.CFrame.lookVector*knockback | |
| 898 | end | |
| 899 | if knockback>0 then | |
| 900 | vp.Parent=hit.Parent.Torso | |
| 901 | end | |
| 902 | game:GetService("Debris"):AddItem(vp,.5)
| |
| 903 | elseif Type=="Up" then | |
| 904 | local bodyVelocity=Instance.new("BodyVelocity")
| |
| 905 | bodyVelocity.velocity=vt(0,60,0) | |
| 906 | bodyVelocity.P=5000 | |
| 907 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 908 | bodyVelocity.Parent=hit | |
| 909 | game:GetService("Debris"):AddItem(bodyVelocity,1)
| |
| 910 | local rl=Instance.new("BodyAngularVelocity")
| |
| 911 | rl.P=3000 | |
| 912 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 913 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
| 914 | rl.Parent=hit | |
| 915 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 916 | elseif Type=="Snare" then | |
| 917 | local bp=Instance.new("BodyPosition")
| |
| 918 | bp.P=2000 | |
| 919 | bp.D=100 | |
| 920 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 921 | bp.position=hit.Parent.Torso.Position | |
| 922 | bp.Parent=hit.Parent.Torso | |
| 923 | game:GetService("Debris"):AddItem(bp,1)
| |
| 924 | elseif Type=="Target" then | |
| 925 | local Targetting = false | |
| 926 | if Targetting==false then | |
| 927 | ZTarget=hit.Parent.Torso | |
| 928 | coroutine.resume(coroutine.create(function(Part) | |
| 929 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 930 | swait(5) | |
| 931 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 932 | end),ZTarget) | |
| 933 | local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
| |
| 934 | local targetgui=Instance.new("BillboardGui")
| |
| 935 | targetgui.Parent=ZTarget | |
| 936 | targetgui.Size=UDim2.new(10,100,10,100) | |
| 937 | local targ=Instance.new("ImageLabel")
| |
| 938 | targ.Parent=targetgui | |
| 939 | targ.BackgroundTransparency=1 | |
| 940 | targ.Image="rbxassetid://4834067" | |
| 941 | targ.Size=UDim2.new(1,0,1,0) | |
| 942 | cam.CameraType="Scriptable" | |
| 943 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 944 | local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 945 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 946 | Targetting=true | |
| 947 | RocketTarget=ZTarget | |
| 948 | for i=1,Property do | |
| 949 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
| 950 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
| 951 | swait() | |
| 952 | end | |
| 953 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
| 954 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 955 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 956 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
| 957 | end | |
| 958 | Targetting=false | |
| 959 | RocketTarget=nil | |
| 960 | targetgui.Parent=nil | |
| 961 | cam.CameraType="Custom" | |
| 962 | end | |
| 963 | end | |
| 964 | local debounce=Instance.new("BoolValue")
| |
| 965 | debounce.Name="DebounceHit" | |
| 966 | debounce.Parent=hit.Parent | |
| 967 | debounce.Value=true | |
| 968 | game:GetService("Debris"):AddItem(debounce,Delay)
| |
| 969 | c=Instance.new("ObjectValue")
| |
| 970 | c.Name="creator" | |
| 971 | c.Value=Player | |
| 972 | c.Parent=h | |
| 973 | game:GetService("Debris"):AddItem(c,.5)
| |
| 974 | end | |
| 975 | end | |
| 976 | ||
| 977 | ||
| 978 | function ShowDamage(Pos, Text, Time, Color) | |
| 979 | local Rate = (1 / 30) | |
| 980 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 981 | local Text = (Text or "") | |
| 982 | local Time = (Time or 2) | |
| 983 | local Color = (Color or Color3.new(1, 0, 0)) | |
| 984 | local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
| |
| 985 | EffectPart.Anchored = true | |
| 986 | local BillboardGui = Instance.new("BillboardGui")
| |
| 987 | BillboardGui.Size = UDim2.new(3, 0, 3, 0) | |
| 988 | BillboardGui.Adornee = EffectPart | |
| 989 | local TextLabel = Instance.new("TextLabel")
| |
| 990 | TextLabel.BackgroundTransparency = 1 | |
| 991 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
| 992 | TextLabel.Text = Text | |
| 993 | TextLabel.TextColor3 = Color | |
| 994 | TextLabel.TextScaled = true | |
| 995 | TextLabel.Font = Enum.Font.ArialBold | |
| 996 | TextLabel.Parent = BillboardGui | |
| 997 | BillboardGui.Parent = EffectPart | |
| 998 | game.Debris:AddItem(EffectPart, (Time + 0.1)) | |
| 999 | EffectPart.Parent = game:GetService("Workspace")
| |
| 1000 | Delay(0, function() | |
| 1001 | local Frames = (Time / Rate) | |
| 1002 | for Frame = 1, Frames do | |
| 1003 | wait(Rate) | |
| 1004 | local Percent = (Frame / Frames) | |
| 1005 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 1006 | TextLabel.TextTransparency = Percent | |
| 1007 | end | |
| 1008 | if EffectPart and EffectPart.Parent then | |
| 1009 | EffectPart:Destroy() | |
| 1010 | end | |
| 1011 | end) | |
| 1012 | end | |
| 1013 | ||
| 1014 | ||
| 1015 | Handle=CreatePart(m,Enum.Material.Plastic,0,1,"Really black","Handle",Vector3.new(1, 2, 1)) | |
| 1016 | HandleWeld=CreateWeld(m,Character["Left Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1017 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.400000006, 0.200000000, 0.391803533)) | |
| 1018 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00170910358, 0.426063061, 0.250946999, 0, 0, 1, 1, 0, 0, 0, 1, 0)) | |
| 1019 | CreateMesh("CylinderMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1020 | Gauntlet=CreatePart(m,Enum.Material.Neon,0.20000000298023,0,"Crimson","Gauntlet",Vector3.new(0.258658201, 0.200000000, 0.573440075)) | |
| 1021 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.203461885, -0.48864007, -0.0044709444, 4.37113883e-008, -1, -0, -1, -4.37113883e-008, 0, 0, 0, -1)) | |
| 1022 | CreateMesh("CylinderMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.409600139, 1))
| |
| 1023 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.200000000, 0.200000000, 0.440942347)) | |
| 1024 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.426593065, -0.546391964, 0.918878555, 0.999990702, 2.98012779e-008, 8.74204602e-008, 8.74208013e-008, -4.37074696e-008, -0.999994516, -2.98012068e-008, 0.999992967, -4.37075443e-008)) | |
| 1025 | CreateMesh("SpecialMesh",Gauntlet,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.300000012, 1))
| |
| 1026 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1027 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.42876029, -1.01365781, -0.767811179, 0.999991059, -6.17115942e-011, 8.74170212e-008, -4.40588632e-009, -0.998758912, 0.0496952161, 8.73061055e-008, -0.0496964529, -0.998757422)) | |
| 1028 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 0.924366355, 0.381782174))
| |
| 1029 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1030 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.428760052, -0.892453015, -0.807372808, 0.999991059, -6.17115942e-011, 8.74170212e-008, -8.4616417e-008, -0.251781702, 0.967776597, 2.19505409e-008, -0.967778385, -0.251782417)) | |
| 1031 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 0.24958688, 0.652564883))
| |
| 1032 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1033 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.42876029, -0.63158226, -0.7832129, 0.999991059, -6.17115942e-011, 8.74170212e-008, -3.07645145e-008, -0.936270058, 0.351264119, 8.18248793e-008, -0.351265728, -0.936268985)) | |
| 1034 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 0.574241579, 0.246783000))
| |
| 1035 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.39495039, 0.231524959)) | |
| 1036 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.428760052, 0.950384974, -0.247115135, 0.999991059, -7.32925045e-008, 1.2953376e-007, 1.26662769e-007, 0.876098931, -0.48211813, -7.81493696e-008, 0.482119918, 0.876098156)) | |
| 1037 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 1, 0.698982835))
| |
| 1038 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1039 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.428760052, 1.05713069, -0.217769146, 0.999991059, -7.32925045e-008, 1.2953376e-007, 1.21776424e-007, 0.903293252, -0.429008901, -8.55644799e-008, 0.42901063, 0.903292358)) | |
| 1040 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 0.920574069, 0.886762559))
| |
| 1041 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Crimson","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1042 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.428672791, -0.811039448, -0.47626245, -1, 1.39469776e-007, -1.04093033e-007, -1.42407572e-007, -0.999585867, 0.0287777316, -1.00006317e-007, 0.0287777316, 0.999585927)) | |
| 1043 | CreateMesh("SpecialMesh",Gauntlet,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.638325214, 0.354741037, 0.839350581))
| |
| 1044 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.39225781, 0.231524959)) | |
| 1045 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.428760052, -0.287223339, -0.408565998, 0.999991059, -6.17115942e-011, 8.74170212e-008, -3.4356205e-008, -0.919804037, 0.392362297, 8.03829465e-008, -0.392363966, -0.919803143)) | |
| 1046 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 1, 0.296892524))
| |
| 1047 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.309666455, 0.231524959)) | |
| 1048 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.42876029, 0.0923166871, -1.41141391, 0.999991059, -6.17115942e-011, 8.74170212e-008, -8.02367452e-008, -0.397548497, 0.917573273, 3.46962281e-008, -0.91757524, -0.397548974)) | |
| 1049 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 1, 0.296892524))
| |
| 1050 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Crimson","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.200000000)) | |
| 1051 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.428673029, -1.32678056, 0.36812675, 1, -5.80489399e-008, 8.30497981e-008, 1.15070975e-009, -0.813071191, -0.582164407, 1.01319415e-007, 0.582164347, -0.813071132)) | |
| 1052 | CreateMesh("SpecialMesh",Gauntlet,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.638325214, 0.246782988, 0.671622157))
| |
| 1053 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Crimson","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1054 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.428673267, -1.07605505, -0.455021143, 1, -5.80489399e-008, 8.30497981e-008, -5.79590669e-008, -0.999999404, -0.0010817619, 8.31125533e-008, 0.00108176202, -0.999999404)) | |
| 1055 | CreateMesh("SpecialMesh",Gauntlet,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.638325214, 0.246782988, 0.501703441))
| |
| 1056 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.419264466, 0.411000073)) | |
| 1057 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.428760052, -0.751726627, 0.142127156, 0.999991059, -6.17115942e-011, 8.74170212e-008, 6.15858227e-008, -0.709198594, -0.705000579, 6.20399021e-008, 0.705000877, -0.709196687)) | |
| 1058 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 1, 1))
| |
| 1059 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.23677887)) | |
| 1060 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.42876029, 0.529774725, -1.18722296, 0.999991059, -6.17115942e-011, 8.74170212e-008, -8.70623467e-008, -0.0907128751, 0.995869935, 7.86855026e-009, -0.995871544, -0.090713881)) | |
| 1061 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 0.671763837, 1))
| |
| 1062 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Crimson","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1063 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.428673267, -1.28243613, -0.0307444334, 1, -5.80489399e-008, 8.30497981e-008, -2.68000075e-008, -0.941967368, -0.335704595, 9.77175034e-008, 0.335704595, -0.941967428)) | |
| 1064 | CreateMesh("SpecialMesh",Gauntlet,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.638325214, 0.246782988, 0.501703441))
| |
| 1065 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Crimson","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.200000000)) | |
| 1066 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.428672791, -1.15294123, 0.528338909, -1, 1.39469776e-007, -1.04093033e-007, -1.67689322e-007, -0.612187386, 0.790712833, 4.65560994e-008, 0.790712833, 0.612187386)) | |
| 1067 | CreateMesh("SpecialMesh",Gauntlet,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.638325214, 0.354741037, 0.839350581))
| |
| 1068 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1069 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.42876029, -0.341382861, -1.14824247, 0.999991059, -6.17115942e-011, 8.74170212e-008, -4.97993611e-008, -0.822267175, 0.569090307, 7.1845605e-008, -0.569092155, -0.822266579)) | |
| 1070 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 0.78151232, 0.246783000))
| |
| 1071 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1072 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.42876029, -0.402444124, -1.10538316, 0.999991059, -6.17115942e-011, 8.74170212e-008, -4.97993611e-008, -0.822267175, 0.569090307, 7.1845605e-008, -0.569092155, -0.822266579)) | |
| 1073 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 0.818957686, 0.246783000))
| |
| 1074 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1075 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.42876029, 0.446254849, -0.856919527, 0.999991059, -6.17115942e-011, 8.74170212e-008, -8.58718039e-008, -0.187891513, 0.982182443, 1.6364524e-008, -0.982184172, -0.187892362)) | |
| 1076 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 0.70530355, 0.548964381))
| |
| 1077 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Crimson","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1078 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.428673029, -0.922772884, -0.184746742, 1, -5.80489399e-008, 8.30497981e-008, -4.0516845e-008, -0.980331898, -0.197356105, 9.2872682e-008, 0.19735612, -0.980331957)) | |
| 1079 | CreateMesh("SpecialMesh",Gauntlet,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.638325214, 0.246782988, 0.501703441))
| |
| 1080 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1081 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.42876029, -1.23243713, -0.425246477, 0.999991059, -6.17115942e-011, 8.74170212e-008, 7.68518671e-009, -0.996060371, -0.0886164978, 8.70787176e-008, 0.0886154771, -0.996058702)) | |
| 1082 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 0.818151057, 0.436751723))
| |
| 1083 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1084 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.42876029, 1.06461573, -0.0355733633, 0.999991059, -6.17115942e-011, 8.74170212e-008, -4.43504291e-008, 0.861382246, 0.507946849, -7.53313000e-008, -0.50794661, 0.861380279)) | |
| 1085 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 0.413985074, 0.246783000))
| |
| 1086 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.246551782, 0.231524959)) | |
| 1087 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.42876029, -1.08962464, -0.177579045, 0.999991059, -6.17115942e-011, 8.74170212e-008, 2.56790000e-008, -0.955669105, -0.294424921, 8.35604794e-008, 0.294424295, -0.955667257)) | |
| 1088 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 1, 0.436751723))
| |
| 1089 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1090 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.42876029, -1.08597493, 0.0664023161, 0.999991059, -6.17115942e-011, 8.74170212e-008, 6.07444974e-008, -0.718631387, -0.695383072, 6.28639185e-008, 0.69538337, -0.718629539)) | |
| 1091 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 0.574241579, 0.246783000))
| |
| 1092 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1093 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.428760052, 1.01148272, -0.690451503, 0.999991059, -7.32925045e-008, 1.2953376e-007, 6.32696171e-008, 0.997121453, 0.0757488385, -1.34713517e-007, -0.0757478103, 0.997119784)) | |
| 1094 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 0.909575045, 0.259762019))
| |
| 1095 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.273165107, 0.231524959)) | |
| 1096 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.428760052, -0.259484291, -0.488063812, -0.999991059, 2.26776606e-008, -2.97083602e-009, -1.96902548e-008, -0.91970557, -0.392595381, -1.16357342e-008, -0.392594934, 0.919703662)) | |
| 1097 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 1, 0.296892524))
| |
| 1098 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.286055744, 0.231524959)) | |
| 1099 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.428760052, -0.678235769, 0.00904345512, -0.999991059, 2.26776606e-008, -2.97083602e-009, -1.6893523e-008, -0.64479959, 0.764342666, 1.54177044e-008, 0.764344573, 0.644799471)) | |
| 1100 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 1, 0.386303514))
| |
| 1101 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.339292318, 0.231524959)) | |
| 1102 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.42876029, -0.914015293, -0.468653083, 0.999991059, -6.17115942e-011, 8.74170212e-008, 2.64092641e-008, -0.953055978, -0.302776843, 8.33325657e-008, 0.302776217, -0.95305407)) | |
| 1103 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 1, 0.453658611))
| |
| 1104 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1105 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.428760052, 0.235749483, -0.495378733, 0.999991059, -6.17115942e-011, 8.74170212e-008, -8.70623467e-008, -0.0907128751, 0.995869935, 7.86855026e-009, -0.995871544, -0.090713881)) | |
| 1106 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 0.246782988, 0.462971479))
| |
| 1107 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1108 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.42876029, 0.937824488, -0.711343527, 0.999991059, -6.17115942e-011, 8.74170212e-008, -7.98698352e-008, 0.405826926, 0.913942933, -3.5532743e-008, -0.913943946, 0.405825227)) | |
| 1109 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 0.660133958, 0.529687405))
| |
| 1110 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.456175089, 0.231524959)) | |
| 1111 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.42876029, -0.679037333, 0.0586334467, 0.999991059, -6.17115942e-011, 8.74170212e-008, 6.67916495e-008, -0.644607663, -0.764506102, 5.63971838e-008, 0.764506519, -0.644605756)) | |
| 1112 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 1, 0.879870117))
| |
| 1113 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.380059451, 0.231524959)) | |
| 1114 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.428760052, -0.451583624, 1.13617229, 0.999991059, -7.32925045e-008, 1.2953376e-007, 8.14007706e-009, -0.842098892, -0.53931272, 1.48608592e-007, 0.539312541, -0.842097044)) | |
| 1115 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 1, 0.246783000))
| |
| 1116 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Crimson","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1117 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.428673267, -0.957550764, -0.448067904, 1, -5.80489399e-008, 8.30497981e-008, -6.00646786e-008, -0.999700067, 0.0244808961, 8.16038153e-008, -0.0244808923, -0.999700008)) | |
| 1118 | CreateMesh("SpecialMesh",Gauntlet,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.638325214, 0.246782988, 0.501703441))
| |
| 1119 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1120 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.42876029, -1.37245035, -0.0176885724, 0.999991059, -6.17115942e-011, 8.74170212e-008, 4.55656846e-008, -0.85303545, -0.521842599, 7.46025108e-008, 0.52184236, -0.853033483)) | |
| 1121 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 0.246782988, 0.296892524))
| |
| 1122 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.231524959, 0.231524959)) | |
| 1123 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.428760052, 0.579863906, 0.118592024, 0.999991059, -6.17115942e-011, 8.74170212e-008, 6.97600626e-008, 0.603199244, -0.797581792, -5.26811164e-008, 0.797583699, 0.603199184)) | |
| 1124 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 0.246782988, 0.593930602))
| |
| 1125 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.231524959, 0.370192826, 0.240202487)) | |
| 1126 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.428760052, 0.783998132, 0.0905356407, 0.999991059, -7.32925045e-008, 1.2953376e-007, 1.43291103e-007, 0.709372401, -0.70482415, -4.02297786e-008, 0.704826057, 0.709372044)) | |
| 1127 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.805267513, 1, 1))
| |
| 1128 | Gauntlet=CreatePart(m,Enum.Material.Plastic,0,1,"Medium stone grey","Gauntlet",Vector3.new(0.200000000, 0.200000000, 0.200000000)) | |
| 1129 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.422935009, 0.907258272, -0.625602961, -1, 0, 0, 0, 1, 8.19563866e-008, 0, 8.19563866e-008, -1)) | |
| 1130 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1131 | Gauntlet=CreatePart(m,Enum.Material.Neon,0.20000000298023,0,"Crimson","Gauntlet",Vector3.new(0.200000000, 0.200000000, 0.200000000)) | |
| 1132 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.489952087, 0.31979394, -0.105430007, 1, 0, 0, 0, 1, 1.04308128e-007, -0, -1.04308128e-007, 1)) | |
| 1133 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.409600139, 0.163840041, 0.122880042))
| |
| 1134 | Gauntlet=CreatePart(m,Enum.Material.Neon,0.20000000298023,0,"Crimson","Gauntlet",Vector3.new(0.200000000, 0.200000000, 0.200000000)) | |
| 1135 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.489821911, 0.17368865, -0.259762168, 1, 0, 0, 0, 0.748115599, 0.663568437, -0, -0.663568437, 0.748115599)) | |
| 1136 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(0.409600139, 0.163840041, 0.327680081))
| |
| 1137 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.217698172, 0.200000000, 0.573440075)) | |
| 1138 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.203764915, -0.48931098, -0.0044709444, 4.37113883e-008, -1, -0, -1, -4.37113883e-008, 0, 0, 0, -1)) | |
| 1139 | CreateMesh("CylinderMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.409600139, 1))
| |
| 1140 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.200000000, 0.300000012, 0.539472759)) | |
| 1141 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.406566143, -0.294134498, -0.0367438793, 0.999990702, -1.17223436e-007, -1.5063506e-012, 1.49213975e-012, -4.37074696e-008, 0.999994516, -1.1722318e-007, -0.999992967, -4.37075407e-008)) | |
| 1142 | CreateMesh("SpecialMesh",Gauntlet,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1143 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Crimson","Gauntlet",Vector3.new(0.200000000, 0.300000012, 0.739472747)) | |
| 1144 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.424662828, -0.374135852, 0.0636603832, 0.999990702, -1.17223436e-007, -1.5063506e-012, 1.49213975e-012, -4.37074696e-008, 0.999994516, -1.1722318e-007, -0.999992967, -4.37075407e-008)) | |
| 1145 | CreateMesh("SpecialMesh",Gauntlet,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1146 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.260531932, 0.327742636, 0.200000000)) | |
| 1147 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.390960097, 0.851227045, -0.42659688, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1148 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1149 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(1.04097319, 0.400000006, 0.200000000)) | |
| 1150 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000404000282, 0.496125937, -0.426604986, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1151 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1152 | Gauntlet=CreatePart(m,Enum.Material.Fabric,0,0,"Black","Gauntlet",Vector3.new(1.04097319, 0.313941956, 0.200000000)) | |
| 1153 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000404000282, 0.142029047, 0.416924, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1154 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.899999976))
| |
| 1155 | Gauntlet=CreatePart(m,Enum.Material.Fabric,0,0,"Black","Gauntlet",Vector3.new(1.04089689, 0.321497977, 0.371126413)) | |
| 1156 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000074078751, 0.852937937, -0.1445539, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1157 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1158 | Gauntlet=CreatePart(m,Enum.Material.Fabric,0,0,"Black","Gauntlet",Vector3.new(1.04097319, 0.475822091, 0.471101999)) | |
| 1159 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000404000282, 0.535552979, 0.272330999, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1160 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1161 | Gauntlet=CreatePart(m,Enum.Material.Fabric,0,0,"Black","Gauntlet",Vector3.new(1.03959084, 0.311371684, 0.440942347)) | |
| 1162 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000095894051, 0.14190793, -0.10928297, 2.98000897e-008, -8.74208013e-008, -0.999994516, -4.37062404e-008, 0.999992967, -8.74209434e-008, 0.999990702, 4.37063434e-008, 2.97998355e-008)) | |
| 1163 | CreateMesh("SpecialMesh",Gauntlet,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1164 | Gauntlet=CreatePart(m,Enum.Material.Fabric,0,0,"Black","Gauntlet",Vector3.new(1.04097319, 0.400000006, 0.417200027)) | |
| 1165 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000404000282, 0.497238874, -0.167351007, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1166 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1167 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Maroon","Gauntlet",Vector3.new(0.200000048, 0.200000048, 0.200000048)) | |
| 1168 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00710308552, 0.479765892, 0.533432007, -1.49011612e-007, 0, -1, 0, 1, 0, 1, 0, -1.49011612e-007)) | |
| 1169 | CreateMesh("SpecialMesh",Gauntlet,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=14028428",Vector3.new(0, 0, 0),Vector3.new(0.200000000, 0.200000000, 0.00999999978))
| |
| 1170 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.240531921, 0.327742636, 0.200000000)) | |
| 1171 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00555408001, 0.851255894, -0.426604986, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1172 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1173 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.260531902, 0.327742636, 0.200000000)) | |
| 1174 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.389816999, 0.849853992, -0.426613092, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1175 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1176 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.200000000, 0.300000012, 0.539472759)) | |
| 1177 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406925201, -0.294096351, -0.0372304916, -0.999990702, -1.17223436e-007, -8.74204602e-008, 8.74208013e-008, -4.37074696e-008, -0.999994516, 1.17223173e-007, -0.999992967, 4.37075514e-008)) | |
| 1178 | CreateMesh("SpecialMesh",Gauntlet,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1179 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Crimson","Gauntlet",Vector3.new(0.200000000, 0.300000012, 0.739472747)) | |
| 1180 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.424593925, -0.374097943, 0.0631697178, -0.999990702, -1.17223436e-007, -8.74204602e-008, 8.74208013e-008, -4.37074696e-008, -0.999994516, 1.17223173e-007, -0.999992967, 4.37075514e-008)) | |
| 1181 | CreateMesh("SpecialMesh",Gauntlet,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1182 | Gauntlet=CreatePart(m,Enum.Material.Fabric,0,0,"Black","Gauntlet",Vector3.new(0.851227105, 0.242580935, 0.479655445)) | |
| 1183 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0952759981, 0.894896984, 0.269463062, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1184 | CreateMesh("BlockMesh",Gauntlet,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 1185 | Gauntlet=CreatePart(m,Enum.Material.Granite,0.20000000298023,0,"Really black","Gauntlet",Vector3.new(0.200000000, 0.200000000, 0.200000000)) | |
| 1186 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.5, 0.519942999, 0.0784150362, 0, 1, 0, 1, 0, 0, 0, 0, -1)) | |
| 1187 | CreateMesh("SpecialMesh",Gauntlet,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.100000001, 0.769999981))
| |
| 1188 | Gauntlet=CreatePart(m,Enum.Material.Neon,0.20000000298023,0,"Maroon","Gauntlet",Vector3.new(0.200000000, 0.200000000, 0.200000000)) | |
| 1189 | GauntletWeld=CreateWeld(m,Handle,Gauntlet,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.5, 0.520308971, 0.0784150362, 0, 1, 0, 1, 0, 0, 0, 0, -1)) | |
| 1190 | CreateMesh("SpecialMesh",Gauntlet,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.109999999, 0.100000001))
| |
| 1191 | ||
| 1192 | Character = game.Players.LocalPlayer.Character | |
| 1193 | Head = Character.Head | |
| 1194 | ||
| 1195 | CV="Blue" | |
| 1196 | p = game.Players.LocalPlayer | |
| 1197 | char = p.Character | |
| 1198 | local txt = Instance.new("BillboardGui", char)
| |
| 1199 | txt.Adornee = char .Head | |
| 1200 | txt.Name = "_status" | |
| 1201 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 1202 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 1203 | local text = Instance.new("TextLabel", txt)
| |
| 1204 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 1205 | text.FontSize = "Size24" | |
| 1206 | text.TextScaled = true | |
| 1207 | text.TextTransparency = 0 | |
| 1208 | text.BackgroundTransparency = 1 | |
| 1209 | text.TextTransparency = 0 | |
| 1210 | text.TextStrokeTransparency = 0 | |
| 1211 | text.Font = "SciFi" | |
| 1212 | text.TextStrokeColor3 = Color3.new(255,0,.0) | |
| 1213 | ||
| 1214 | v=Instance.new("Part")
| |
| 1215 | v.Name = "ColorBrick" | |
| 1216 | v.Parent=p.Character | |
| 1217 | v.FormFactor="Symmetric" | |
| 1218 | v.Anchored=true | |
| 1219 | v.CanCollide=false | |
| 1220 | v.BottomSurface="Smooth" | |
| 1221 | v.TopSurface="Smooth" | |
| 1222 | v.Size=Vector3.new(10,5,3) | |
| 1223 | v.Transparency=1 | |
| 1224 | v.CFrame=char.Torso.CFrame | |
| 1225 | v.BrickColor=BrickColor.new(CV) | |
| 1226 | v.Transparency=1 | |
| 1227 | text.TextColor3 = Color3.new(0,0,.0) | |
| 1228 | v.Shape="Block" | |
| 1229 | text.Text = "Void" | |
| 1230 | ||
| 1231 | local s = Instance.new("Sound",char)
| |
| 1232 | s.Name = "BGMusic" | |
| 1233 | s.SoundId = "rbxassetid://0" | |
| 1234 | s.Pitch = 1 | |
| 1235 | s.Volume = 0 | |
| 1236 | s.Looped = true | |
| 1237 | s.archivable = false | |
| 1238 | s.Parent = char.Head | |
| 1239 | wait(0.1) | |
| 1240 | s:play() | |
| 1241 | ||
| 1242 | Instance.new("ForceField", game.Players.LocalPlayer.Character)
| |
| 1243 | print("Void Loaded.")
| |
| 1244 | print("Unleash the deadly fire to anyone to destroy.")
| |
| 1245 | p = game.Players.LocalPlayer | |
| 1246 | char = p.Character | |
| 1247 | torso = char.Torso | |
| 1248 | neck = char.Torso.Neck | |
| 1249 | ||
| 1250 | Player=game:GetService("Players").LocalPlayer
| |
| 1251 | Character=Player.Character | |
| 1252 | PlayerGui=Player.PlayerGui | |
| 1253 | Backpack=Player.Backpack | |
| 1254 | Torso=Character.Torso | |
| 1255 | Head=Character.Head | |
| 1256 | Humanoid=Character.Humanoid | |
| 1257 | LeftArm=Character["Left Arm"] | |
| 1258 | LeftLeg=Character["Left Leg"] | |
| 1259 | RightArm=Character["Right Arm"] | |
| 1260 | RightLeg=Character["Right Leg"] | |
| 1261 | cam=game.Workspace.CurrentCamera | |
| 1262 | LS=Torso["Left Shoulder"] | |
| 1263 | LH=Torso["Left Hip"] | |
| 1264 | RS=Torso["Right Shoulder"] | |
| 1265 | RH=Torso["Right Hip"] | |
| 1266 | Face = Head.face | |
| 1267 | Neck=Torso.Neck | |
| 1268 | it=Instance.new | |
| 1269 | attacktype=1 | |
| 1270 | vt=Vector3.new | |
| 1271 | cf=CFrame.new | |
| 1272 | euler=CFrame.fromEulerAnglesXYZ | |
| 1273 | angles=CFrame.Angles | |
| 1274 | cloaked=false | |
| 1275 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1276 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1277 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 1278 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 1279 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1280 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1281 | RootPart=Character.HumanoidRootPart | |
| 1282 | RootJoint=RootPart.RootJoint | |
| 1283 | RootCF=euler(-1.57,0,3.14) | |
| 1284 | attack = false | |
| 1285 | bounce=false | |
| 1286 | cooldown=false | |
| 1287 | deeznuts=false | |
| 1288 | attackdebounce = false | |
| 1289 | deb=false | |
| 1290 | equipped=true | |
| 1291 | hand=false | |
| 1292 | MMouse=nil | |
| 1293 | combo=0 | |
| 1294 | mana=0 | |
| 1295 | trispeed=.2 | |
| 1296 | attackmode='none' | |
| 1297 | local idle=0 | |
| 1298 | local Anim="Idle" | |
| 1299 | local Effects={}
| |
| 1300 | local gun=false | |
| 1301 | local shoot=false | |
| 1302 | player=nil | |
| 1303 | mana=0 | |
| 1304 | cam = workspace.CurrentCamera | |
| 1305 | ZTarget = nil | |
| 1306 | RocketTarget = nil | |
| 1307 | local m = Instance.new("Model",Character)
| |
| 1308 | m.Name = "WeaponModel" | |
| 1309 | ||
| 1310 | mouse=Player:GetMouse() | |
| 1311 | --save shoulders | |
| 1312 | RSH, LSH=nil, nil | |
| 1313 | --welds | |
| 1314 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 1315 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 1316 | LH=Torso["Left Hip"] | |
| 1317 | RH=Torso["Right Hip"] | |
| 1318 | TorsoColor=Torso.BrickColor | |
| 1319 | function NoOutline(Part) | |
| 1320 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 1321 | end | |
| 1322 | player=Player | |
| 1323 | ch=Character | |
| 1324 | RSH=ch.Torso["Right Shoulder"] | |
| 1325 | LSH=ch.Torso["Left Shoulder"] | |
| 1326 | -- | |
| 1327 | RSH.Parent=nil | |
| 1328 | LSH.Parent=nil | |
| 1329 | -- | |
| 1330 | RW.Name="Right Shoulder" | |
| 1331 | RW.Part0=ch.Torso | |
| 1332 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 1333 | RW.C1=cf(0, 0.5, 0) | |
| 1334 | RW.Part1=ch["Right Arm"] | |
| 1335 | RW.Parent=ch.Torso | |
| 1336 | -- | |
| 1337 | LW.Name="Left Shoulder" | |
| 1338 | LW.Part0=ch.Torso | |
| 1339 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 1340 | LW.C1=cf(0, 0.5, 0) | |
| 1341 | LW.Part1=ch["Left Arm"] | |
| 1342 | LW.Parent=ch.Torso | |
| 1343 | ||
| 1344 | function swait(num) | |
| 1345 | if num==0 or num==nil then | |
| 1346 | game:service'RunService'.Heartbeat:wait(0) | |
| 1347 | else | |
| 1348 | for i=0,num do | |
| 1349 | game:service'RunService'.Heartbeat:wait(0) | |
| 1350 | end | |
| 1351 | end | |
| 1352 | end | |
| 1353 | ||
| 1354 | ||
| 1355 | local Player = game.Players.localPlayer | |
| 1356 | local Character = Player.Character | |
| 1357 | local red = 255 | |
| 1358 | local green = 255 | |
| 1359 | local blue = 255 | |
| 1360 | local Humanoid = Character.Humanoid | |
| 1361 | local mouse = Player:GetMouse() | |
| 1362 | local m = Instance.new("Model", Character)
| |
| 1363 | m.Name = "WeaponModel" | |
| 1364 | local LeftArm = Character["Left Arm"] | |
| 1365 | local RightArm = Character["Right Arm"] | |
| 1366 | local LeftLeg = Character["Left Leg"] | |
| 1367 | local RightLeg = Character["Right Leg"] | |
| 1368 | local Head = Character.Head | |
| 1369 | local Torso = Character.Torso | |
| 1370 | local cam = game.Workspace.CurrentCamera | |
| 1371 | local RootPart = Character.HumanoidRootPart | |
| 1372 | local RootJoint = RootPart.RootJoint | |
| 1373 | local equipped = false | |
| 1374 | local attack = false | |
| 1375 | local Anim = "Idle" | |
| 1376 | local idle = 0 | |
| 1377 | local attacktype = 1 | |
| 1378 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1379 | local velocity = RootPart.Velocity.y | |
| 1380 | local sine = 0 | |
| 1381 | local change = 1 | |
| 1382 | local grabbed = false | |
| 1383 | local cn = CFrame.new | |
| 1384 | local mr = math.rad | |
| 1385 | local angles = CFrame.Angles | |
| 1386 | local ud = UDim2.new | |
| 1387 | local c3 = Color3.new | |
| 1388 | local lim = 0 | |
| 1389 | local st = 0 | |
| 1390 | local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 1391 | local attacktype = 1 | |
| 1392 | local ZTarget, RocketTarget = nil, nil | |
| 1393 | local euler = CFrame.fromEulerAnglesXYZ | |
| 1394 | function clerp(a,b,t) | |
| 1395 | local qa = {QuaternionFromCFrame(a)}
| |
| 1396 | local qb = {QuaternionFromCFrame(b)}
| |
| 1397 | local ax, ay, az = a.x, a.y, a.z | |
| 1398 | local bx, by, bz = b.x, b.y, b.z | |
| 1399 | local _t = 1-t | |
| 1400 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 1401 | end | |
| 1402 | ||
| 1403 | function QuaternionFromCFrame(cf) | |
| 1404 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 1405 | local trace = m00 + m11 + m22 | |
| 1406 | if trace > 0 then | |
| 1407 | local s = math.sqrt(1 + trace) | |
| 1408 | local recip = 0.5/s | |
| 1409 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 1410 | else | |
| 1411 | local i = 0 | |
| 1412 | if m11 > m00 then | |
| 1413 | i = 1 | |
| 1414 | end | |
| 1415 | if m22 > (i == 0 and m00 or m11) then | |
| 1416 | i = 2 | |
| 1417 | end | |
| 1418 | if i == 0 then | |
| 1419 | local s = math.sqrt(m00-m11-m22+1) | |
| 1420 | local recip = 0.5/s | |
| 1421 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 1422 | elseif i == 1 then | |
| 1423 | local s = math.sqrt(m11-m22-m00+1) | |
| 1424 | local recip = 0.5/s | |
| 1425 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 1426 | elseif i == 2 then | |
| 1427 | local s = math.sqrt(m22-m00-m11+1) | |
| 1428 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 1429 | end | |
| 1430 | end | |
| 1431 | end | |
| 1432 | ||
| 1433 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 1434 | local xs, ys, zs = x + x, y + y, z + z | |
| 1435 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 1436 | local xx = x*xs | |
| 1437 | local xy = x*ys | |
| 1438 | local xz = x*zs | |
| 1439 | local yy = y*ys | |
| 1440 | local yz = y*zs | |
| 1441 | local zz = z*zs | |
| 1442 | 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)) | |
| 1443 | end | |
| 1444 | ||
| 1445 | function QuaternionSlerp(a, b, t) | |
| 1446 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 1447 | local startInterp, finishInterp; | |
| 1448 | if cosTheta >= 0.0001 then | |
| 1449 | if (1 - cosTheta) > 0.0001 then | |
| 1450 | local theta = math.acos(cosTheta) | |
| 1451 | local invSinTheta = 1/math.sin(theta) | |
| 1452 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 1453 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 1454 | else | |
| 1455 | startInterp = 1-t | |
| 1456 | finishInterp = t | |
| 1457 | end | |
| 1458 | else | |
| 1459 | if (1+cosTheta) > 0.0001 then | |
| 1460 | local theta = math.acos(-cosTheta) | |
| 1461 | local invSinTheta = 1/math.sin(theta) | |
| 1462 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 1463 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 1464 | else | |
| 1465 | startInterp = t-1 | |
| 1466 | finishInterp = t | |
| 1467 | end | |
| 1468 | end | |
| 1469 | 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 | |
| 1470 | end | |
| 1471 | rayCast = function(Position, Direction, Range, Ignore) | |
| 1472 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 1473 | end | |
| 1474 | local v = game.Players.localPlayer | |
| 1475 | local torso = v.Character.Torso | |
| 1476 | ||
| 1477 | plr = game.Players.LocalPlayer | |
| 1478 | char = game.Players.LocalPlayer.Character | |
| 1479 | hum = game.Players.LocalPlayer.Character.Humanoid | |
| 1480 | t = game.Players.LocalPlayer.Character.Torso | |
| 1481 | h = game.Players.LocalPlayer.Character.Head | |
| 1482 | ra = game.Players.LocalPlayer.Character["Right Arm"] | |
| 1483 | la = game.Players.LocalPlayer.Character["Left Arm"] | |
| 1484 | rl = game.Players.LocalPlayer.Character["Right Leg"] | |
| 1485 | ll = game.Players.LocalPlayer.Character["Left Leg"] | |
| 1486 | tors = Character.Torso | |
| 1487 | lleg = Character["Left Leg"] | |
| 1488 | root = Character.HumanoidRootPart | |
| 1489 | hed = Character.Head | |
| 1490 | rleg = Character["Right Leg"] | |
| 1491 | rarm = Character["Right Arm"] | |
| 1492 | larm = Character["Left Arm"] | |
| 1493 | bsize1 = NumberSequenceKeypoint.new(3,3,3) | |
| 1494 | bsize2 = NumberSequenceKeypoint.new(10,10,10) | |
| 1495 | local Effects = {}
| |
| 1496 | attack = false | |
| 1497 | local attacking = false | |
| 1498 | vt = Vector3.new | |
| 1499 | bc = BrickColor.new | |
| 1500 | br = BrickColor.random | |
| 1501 | it = Instance.new | |
| 1502 | cf = CFrame.new | |
| 1503 | euler = CFrame.fromEulerAnglesXYZ | |
| 1504 | angles = CFrame.Angles | |
| 1505 | matr = math.random | |
| 1506 | local colororg = BrickColor.new("Crimson") -- set color u like
| |
| 1507 | local meshtype = "Sphere" -- only for specialmesh | |
| 1508 | mouse = plr:GetMouse() | |
| 1509 | ||
| 1510 | CFuncs = {
| |
| 1511 | ["Part"] = {
| |
| 1512 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 1513 | local Part = Create("Part"){
| |
| 1514 | Parent = Parent, | |
| 1515 | Reflectance = Reflectance, | |
| 1516 | Transparency = Transparency, | |
| 1517 | CanCollide = false, | |
| 1518 | Locked = true, | |
| 1519 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 1520 | Name = Name, | |
| 1521 | Size = Size, | |
| 1522 | Material = Material, | |
| 1523 | } | |
| 1524 | RemoveOutlines(Part) | |
| 1525 | return Part | |
| 1526 | end; | |
| 1527 | }; | |
| 1528 | ||
| 1529 | ["Mesh"] = {
| |
| 1530 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 1531 | local Msh = Create(Mesh){
| |
| 1532 | Parent = Part, | |
| 1533 | Offset = OffSet, | |
| 1534 | Scale = Scale, | |
| 1535 | } | |
| 1536 | if Mesh == "SpecialMesh" then | |
| 1537 | Msh.MeshType = MeshType | |
| 1538 | Msh.MeshId = MeshId | |
| 1539 | end | |
| 1540 | return Msh | |
| 1541 | end; | |
| 1542 | }; | |
| 1543 | ||
| 1544 | ["Mesh"] = {
| |
| 1545 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 1546 | local Msh = Create(Mesh){
| |
| 1547 | Parent = Part, | |
| 1548 | Offset = OffSet, | |
| 1549 | Scale = Scale, | |
| 1550 | } | |
| 1551 | if Mesh == "SpecialMesh" then | |
| 1552 | Msh.MeshType = MeshType | |
| 1553 | Msh.MeshId = MeshId | |
| 1554 | end | |
| 1555 | return Msh | |
| 1556 | end; | |
| 1557 | }; | |
| 1558 | ||
| 1559 | ["Weld"] = {
| |
| 1560 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 1561 | local Weld = Create("Weld"){
| |
| 1562 | Parent = Parent, | |
| 1563 | Part0 = Part0, | |
| 1564 | Part1 = Part1, | |
| 1565 | C0 = C0, | |
| 1566 | C1 = C1, | |
| 1567 | } | |
| 1568 | return Weld | |
| 1569 | end; | |
| 1570 | }; | |
| 1571 | ||
| 1572 | ["Sound"] = {
| |
| 1573 | Create = function(id, par, vol, pit) | |
| 1574 | coroutine.resume(coroutine.create(function() | |
| 1575 | local S = Create("Sound"){
| |
| 1576 | Volume = vol, | |
| 1577 | Pitch = pit or 1, | |
| 1578 | SoundId = id, | |
| 1579 | Parent = par or workspace, | |
| 1580 | } | |
| 1581 | wait() | |
| 1582 | S:play() | |
| 1583 | game:GetService("Debris"):AddItem(S, 6)
| |
| 1584 | end)) | |
| 1585 | end; | |
| 1586 | }; | |
| 1587 | ||
| 1588 | ["ParticleEmitter"] = {
| |
| 1589 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 1590 | local fp = Create("ParticleEmitter"){
| |
| 1591 | Parent = Parent, | |
| 1592 | Color = ColorSequence.new(Color1, Color2), | |
| 1593 | LightEmission = LightEmission, | |
| 1594 | Size = Size, | |
| 1595 | Texture = Texture, | |
| 1596 | Transparency = Transparency, | |
| 1597 | ZOffset = ZOffset, | |
| 1598 | Acceleration = Accel, | |
| 1599 | Drag = Drag, | |
| 1600 | LockedToPart = LockedToPart, | |
| 1601 | VelocityInheritance = VelocityInheritance, | |
| 1602 | EmissionDirection = EmissionDirection, | |
| 1603 | Enabled = Enabled, | |
| 1604 | Lifetime = LifeTime, | |
| 1605 | Rate = Rate, | |
| 1606 | Rotation = Rotation, | |
| 1607 | RotSpeed = RotSpeed, | |
| 1608 | Speed = Speed, | |
| 1609 | VelocitySpread = VelocitySpread, | |
| 1610 | } | |
| 1611 | return fp | |
| 1612 | end; | |
| 1613 | }; | |
| 1614 | ||
| 1615 | CreateTemplate = {
| |
| 1616 | ||
| 1617 | }; | |
| 1618 | } | |
| 1619 | ||
| 1620 | ||
| 1621 | ||
| 1622 | New = function(Object, Parent, Name, Data) | |
| 1623 | local Object = Instance.new(Object) | |
| 1624 | for Index, Value in pairs(Data or {}) do
| |
| 1625 | Object[Index] = Value | |
| 1626 | end | |
| 1627 | Object.Parent = Parent | |
| 1628 | Object.Name = Name | |
| 1629 | return Object | |
| 1630 | end | |
| 1631 | ||
| 1632 | function chatfunc(text) | |
| 1633 | local chat = coroutine.wrap(function() | |
| 1634 | if Character:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 1635 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 1636 | end | |
| 1637 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 1638 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 1639 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 1640 | naeeym2.Adornee = Character.Head | |
| 1641 | naeeym2.Name = "TalkingBillBoard" | |
| 1642 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 1643 | tecks2.BackgroundTransparency = 1 | |
| 1644 | tecks2.BorderSizePixel = 0 | |
| 1645 | tecks2.Text = "" | |
| 1646 | tecks2.Font = "SciFi" | |
| 1647 | tecks2.TextSize = 30 | |
| 1648 | tecks2.TextStrokeTransparency = 0 | |
| 1649 | tecks2.TextColor3 = Color3.new(255,0,0) | |
| 1650 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 1651 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1652 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 1653 | tecks3.BackgroundTransparency = 1 | |
| 1654 | tecks3.BorderSizePixel = 0 | |
| 1655 | tecks3.Text = "" | |
| 1656 | tecks3.Font = "SciFi" | |
| 1657 | tecks3.TextSize = 30 | |
| 1658 | tecks3.TextStrokeTransparency = 0 | |
| 1659 | tecks3.TextColor3 = Color3.new(0.15,0,0) | |
| 1660 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
| 1661 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 1662 | for i = 1,string.len(text),1 do | |
| 1663 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=958262718", Character, .6, .8)
| |
| 1664 | tecks2.Text = string.sub(text,1,i) | |
| 1665 | tecks3.Text = string.sub(text,1,i) | |
| 1666 | wait(0.01) | |
| 1667 | end | |
| 1668 | wait(2) | |
| 1669 | for i = 1, 50 do | |
| 1670 | swait() | |
| 1671 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 1672 | tecks2.Rotation = tecks2.Rotation - .8 | |
| 1673 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 1674 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 1675 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 1676 | tecks3.Rotation = tecks2.Rotation + .8 | |
| 1677 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 1678 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 1679 | end | |
| 1680 | naeeym2:Destroy() | |
| 1681 | end) | |
| 1682 | chat() | |
| 1683 | end | |
| 1684 | function onChatted(msg) | |
| 1685 | chatfunc(msg) | |
| 1686 | end | |
| 1687 | Player.Chatted:connect(onChatted) | |
| 1688 | ||
| 1689 | ||
| 1690 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
| 1691 | if hit.Parent==nil then | |
| 1692 | return | |
| 1693 | end | |
| 1694 | h=hit.Parent:FindFirstChild("Humanoid")
| |
| 1695 | for _,v in pairs(hit.Parent:children()) do | |
| 1696 | if v:IsA("Humanoid") then
| |
| 1697 | h=v | |
| 1698 | end | |
| 1699 | end | |
| 1700 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
| |
| 1701 | h=hit.Parent.Parent:FindFirstChild("Humanoid")
| |
| 1702 | end | |
| 1703 | if hit.Parent.className=="Hat" then | |
| 1704 | hit=hit.Parent.Parent:findFirstChild("Head")
| |
| 1705 | end | |
| 1706 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 1707 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
| |
| 1708 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 1709 | return | |
| 1710 | end]] | |
| 1711 | -- hs(hit,1.2) | |
| 1712 | c=Instance.new("ObjectValue")
| |
| 1713 | c.Name="creator" | |
| 1714 | c.Value=game:service("Players").LocalPlayer
| |
| 1715 | c.Parent=h | |
| 1716 | game:GetService("Debris"):AddItem(c,.5)
| |
| 1717 | Damage=math.random(minim,maxim) | |
| 1718 | -- h:TakeDamage(Damage) | |
| 1719 | blocked=false | |
| 1720 | block=hit.Parent:findFirstChild("Block")
| |
| 1721 | if block~=nil then | |
| 1722 | print(block.className) | |
| 1723 | if block.className=="NumberValue" then | |
| 1724 | if block.Value>0 then | |
| 1725 | blocked=true | |
| 1726 | if decreaseblock==nil then | |
| 1727 | block.Value=block.Value-1 | |
| 1728 | end | |
| 1729 | end | |
| 1730 | end | |
| 1731 | if block.className=="IntValue" then | |
| 1732 | if block.Value>0 then | |
| 1733 | blocked=true | |
| 1734 | if decreaseblock~=nil then | |
| 1735 | block.Value=block.Value-1 | |
| 1736 | end | |
| 1737 | end | |
| 1738 | end | |
| 1739 | end | |
| 1740 | if blocked==false then | |
| 1741 | -- h:TakeDamage(Damage) | |
| 1742 | h.Health=h.Health-Damage | |
| 1743 | showDamage(hit.Parent,Damage,3,TorsoColor) | |
| 1744 | else | |
| 1745 | h.Health=h.Health-(Damage/2) | |
| 1746 | showDamage(hit.Parent,Damage/2,3,BrickColor.new("Really red"))
| |
| 1747 | end | |
| 1748 | if Type=="Knockdown" then | |
| 1749 | hum=hit.Parent.Humanoid | |
| 1750 | hum.PlatformStand=true | |
| 1751 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1752 | swait(1) | |
| 1753 | HHumanoid.PlatformStand=false | |
| 1754 | end),hum) | |
| 1755 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 1756 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 1757 | local bodvol=Instance.new("BodyVelocity")
| |
| 1758 | bodvol.velocity=angle*knockback | |
| 1759 | bodvol.P=5000 | |
| 1760 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 1761 | bodvol.Parent=hit | |
| 1762 | rl=Instance.new("BodyAngularVelocity")
| |
| 1763 | rl.P=3000 | |
| 1764 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 1765 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 1766 | rl.Parent=hit | |
| 1767 | game:GetService("Debris"):AddItem(bodvol,.5)
| |
| 1768 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 1769 | elseif Type=="Normal" then | |
| 1770 | vp=Instance.new("BodyVelocity")
| |
| 1771 | vp.P=500 | |
| 1772 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 1773 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 1774 | if KnockbackType==1 then | |
| 1775 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
| 1776 | elseif KnockbackType==2 then | |
| 1777 | vp.velocity=Property.CFrame.lookVector*knockback | |
| 1778 | end | |
| 1779 | if knockback>0 then | |
| 1780 | vp.Parent=hit.Parent.Torso | |
| 1781 | end | |
| 1782 | game:GetService("Debris"):AddItem(vp,.5)
| |
| 1783 | elseif Type=="Up" then | |
| 1784 | local bodyVelocity=Instance.new("BodyVelocity")
| |
| 1785 | bodyVelocity.velocity=vt(0,10,0) | |
| 1786 | bodyVelocity.P=1000 | |
| 1787 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
| 1788 | bodyVelocity.Parent=hit | |
| 1789 | game:GetService("Debris"):AddItem(bodyVelocity,1)
| |
| 1790 | rl=Instance.new("BodyAngularVelocity")
| |
| 1791 | rl.P=3000 | |
| 1792 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 1793 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
| 1794 | rl.Parent=hit | |
| 1795 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 1796 | elseif Type=="Snare" then | |
| 1797 | bp=Instance.new("BodyPosition")
| |
| 1798 | bp.P=2000 | |
| 1799 | bp.D=100 | |
| 1800 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 1801 | bp.position=hit.Parent.Torso.Position | |
| 1802 | bp.Parent=hit.Parent.Torso | |
| 1803 | game:GetService("Debris"):AddItem(bp,1)
| |
| 1804 | elseif Type=="Target" then | |
| 1805 | if Targetting==false then | |
| 1806 | ZTarget=hit.Parent.Torso | |
| 1807 | coroutine.resume(coroutine.create(function(Part) | |
| 1808 | swait(5) | |
| 1809 | end),ZTarget) | |
| 1810 | TargHum=ZTarget.Parent:findFirstChild("Humanoid")
| |
| 1811 | targetgui=Instance.new("BillboardGui")
| |
| 1812 | targetgui.Parent=ZTarget | |
| 1813 | targetgui.Size=UDim2.new(10,100,10,100) | |
| 1814 | targ=Instance.new("ImageLabel")
| |
| 1815 | targ.Parent=targetgui | |
| 1816 | targ.BackgroundTransparency=1 | |
| 1817 | targ.Image="rbxassetid://4834067" | |
| 1818 | targ.Size=UDim2.new(1,0,1,0) | |
| 1819 | cam.CameraType="Scriptable" | |
| 1820 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 1821 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 1822 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 1823 | Targetting=true | |
| 1824 | RocketTarget=ZTarget | |
| 1825 | for i=1,Property do | |
| 1826 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
| 1827 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
| 1828 | swait() | |
| 1829 | end | |
| 1830 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
| 1831 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 1832 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 1833 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
| 1834 | end | |
| 1835 | Targetting=false | |
| 1836 | RocketTarget=nil | |
| 1837 | targetgui.Parent=nil | |
| 1838 | cam.CameraType="Custom" | |
| 1839 | end | |
| 1840 | end | |
| 1841 | debounce=Instance.new("BoolValue")
| |
| 1842 | debounce.Name="DebounceHit" | |
| 1843 | debounce.Parent=hit.Parent | |
| 1844 | debounce.Value=true | |
| 1845 | game:GetService("Debris"):AddItem(debounce,Delay)
| |
| 1846 | c=Instance.new("ObjectValue")
| |
| 1847 | c.Name="creator" | |
| 1848 | c.Value=Player | |
| 1849 | c.Parent=h | |
| 1850 | game:GetService("Debris"):AddItem(c,.5)
| |
| 1851 | CRIT=false | |
| 1852 | hitDeb=true | |
| 1853 | AttackPos=6 | |
| 1854 | end | |
| 1855 | end | |
| 1856 | ||
| 1857 | showDamage=function(Char,Dealt,du,Color) | |
| 1858 | m=Instance.new("Model")
| |
| 1859 | m.Name="" | |
| 1860 | h=Instance.new("Humanoid")
| |
| 1861 | h.Health=0 | |
| 1862 | h.MaxHealth=0 | |
| 1863 | h.Parent=m | |
| 1864 | c=Instance.new("Part")
| |
| 1865 | c.Transparency=0 | |
| 1866 | c.Material = "Neon" | |
| 1867 | c.BrickColor=bc("Bright red")
| |
| 1868 | c.Name="Head" | |
| 1869 | c.TopSurface=0 | |
| 1870 | c.BottomSurface=0 | |
| 1871 | CV="Hot pink" | |
| 1872 | ||
| 1873 | local txt = Instance.new("BillboardGui", c)
| |
| 1874 | txt.Adornee = c | |
| 1875 | txt.Name = "_status" | |
| 1876 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 1877 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 1878 | local text = Instance.new("TextLabel", txt)
| |
| 1879 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 1880 | text.FontSize = "Size24" | |
| 1881 | text.TextScaled = true | |
| 1882 | text.TextTransparency = 0 | |
| 1883 | text.BackgroundTransparency = 1 | |
| 1884 | text.TextTransparency = 0 | |
| 1885 | text.TextStrokeTransparency = 0 | |
| 1886 | if Dealt < 12 then | |
| 1887 | text.Font = "Highway" | |
| 1888 | elseif Dealt < 20 then | |
| 1889 | text.Font = "SourceSansBold" | |
| 1890 | elseif Dealt >= 20 then | |
| 1891 | text.Font = "Fantasy" | |
| 1892 | end | |
| 1893 | text.TextStrokeColor3 = BrickColor.new("Really black").Color
| |
| 1894 | local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
| |
| 1895 | v=Instance.new("Part")
| |
| 1896 | v.Name = "ColorBrick" | |
| 1897 | v.Parent=c | |
| 1898 | v.FormFactor="Symmetric" | |
| 1899 | v.Anchored=true | |
| 1900 | v.CanCollide=false | |
| 1901 | v.BottomSurface="Smooth" | |
| 1902 | v.TopSurface="Smooth" | |
| 1903 | v.Size=Vector3.new(10,5,3) | |
| 1904 | v.Transparency=1 | |
| 1905 | v.CFrame=c.CFrame | |
| 1906 | v.BrickColor=BrickColor.new(CV) | |
| 1907 | v.Transparency=1 | |
| 1908 | if Dealt < 12 then | |
| 1909 | text.TextColor3 = BrickColor.new("White").Color
| |
| 1910 | elseif Dealt < 20 then | |
| 1911 | text.TextColor3 = BrickColor.new("Bright yellow").Color
| |
| 1912 | elseif Dealt >= 20 then | |
| 1913 | text.TextColor3 = BrickColor.new("Really red").Color
| |
| 1914 | end | |
| 1915 | v.Shape="Block" | |
| 1916 | text.Text = tostring(Dealt).. "!" | |
| 1917 | local dam = Instance.new("Sound",c)
| |
| 1918 | local rndm=math.random(1,#hitsounds) | |
| 1919 | local r=rndm | |
| 1920 | dam.SoundId = "http://www.roblox.com/asset/?id="..hitsounds[r] | |
| 1921 | dam.Volume = 1.25 | |
| 1922 | dam.Pitch = 1 | |
| 1923 | dam:Play() | |
| 1924 | c.formFactor="Plate" | |
| 1925 | c.Transparency = 1 | |
| 1926 | c.Size=Vector3.new(1,.4,1) | |
| 1927 | ms=Instance.new("CylinderMesh")
| |
| 1928 | ms.Scale=Vector3.new(.8,.8,.8) | |
| 1929 | if CRIT==true then | |
| 1930 | ms.Scale=Vector3.new(1,1.25,1) | |
| 1931 | end | |
| 1932 | ms.Parent=c | |
| 1933 | c.Reflectance=0 | |
| 1934 | Instance.new("BodyGyro").Parent=c
| |
| 1935 | c.Parent=m | |
| 1936 | if Char:findFirstChild("Head")~=nil then
| |
| 1937 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 1938 | elseif Char.Parent:findFirstChild("Head")~=nil then
| |
| 1939 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 1940 | end | |
| 1941 | f=Instance.new("BodyPosition")
| |
| 1942 | f.P=2000 | |
| 1943 | f.D=100 | |
| 1944 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 1945 | f.position=c.Position+Vector3.new(0,3,0) | |
| 1946 | f.Parent=c | |
| 1947 | game:GetService("Debris"):AddItem(m,.5+du)
| |
| 1948 | c.CanCollide=false | |
| 1949 | m.Parent=workspace | |
| 1950 | c.CanCollide=false | |
| 1951 | wait(1) | |
| 1952 | for l = 0, 9 do | |
| 1953 | text.TextTransparency = text.TextTransparency + 0.1 | |
| 1954 | text.TextStrokeTransparency = text.TextStrokeTransparency + 0.1 | |
| 1955 | wait() | |
| 1956 | end | |
| 1957 | end | |
| 1958 | ||
| 1959 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) | |
| 1960 | local gui = it(GuiType) | |
| 1961 | gui.Parent = parent | |
| 1962 | gui.Text = text | |
| 1963 | gui.BackgroundTransparency = backtrans | |
| 1964 | gui.BackgroundColor3 = backcol | |
| 1965 | gui.SizeConstraint = "RelativeXY" | |
| 1966 | gui.TextXAlignment = "Center" | |
| 1967 | gui.TextYAlignment = "Center" | |
| 1968 | gui.Position = pos | |
| 1969 | gui.Size = size | |
| 1970 | gui.Font = "SourceSans" | |
| 1971 | gui.FontSize = "Size14" | |
| 1972 | gui.TextWrapped = false | |
| 1973 | gui.TextStrokeTransparency = 0 | |
| 1974 | gui.TextColor = BrickColor.new("White")
| |
| 1975 | return gui | |
| 1976 | end | |
| 1977 | ---- GUI set | |
| 1978 | local basgui = it("GuiMain")
| |
| 1979 | basgui.Parent = Player.PlayerGui | |
| 1980 | basgui.Name = "CooldownsGUI" | |
| 1981 | local basframe = it("Frame")
| |
| 1982 | basframe.Parent = basgui | |
| 1983 | basframe.BackgroundColor3 = Color3.new(255, 255, 255) | |
| 1984 | basframe.BackgroundTransparency = 1 | |
| 1985 | basframe.BorderColor3 = Color3.new(17, 17, 17) | |
| 1986 | basframe.Size = UDim2.new(0.2, 0, 0.2, 0) | |
| 1987 | basframe.Position = UDim2.new(0.8, 0, 0.8, 0) | |
| 1988 | local basicgui = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(0.35, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0))
| |
| 1989 | basicgui.ZIndex = 2 | |
| 1990 | basicgui.Font = "Code" | |
| 1991 | basicgui.BackgroundTransparency = 0.5 | |
| 1992 | basicgui.BorderSizePixel = 0.65 | |
| 1993 | basicgui.TextScaled = true | |
| 1994 | basicgui.Text = "(F)\nVoid's Meteoring" | |
| 1995 | basicgui.TextSize = 24 | |
| 1996 | local basicgui2 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(-0.15, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0))
| |
| 1997 | basicgui2.ZIndex = 2 | |
| 1998 | basicgui2.Font = "Code" | |
| 1999 | basicgui2.BackgroundTransparency = 0.5 | |
| 2000 | basicgui2.BorderSizePixel = 0.65 | |
| 2001 | basicgui2.TextScaled = true | |
| 2002 | basicgui2.Text = "(H)\n Time resumes" | |
| 2003 | basicgui2.TextSize = 24 | |
| 2004 | local basicgui3 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(-0.15, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
| |
| 2005 | basicgui3.ZIndex = 2 | |
| 2006 | basicgui3.Font = "Code" | |
| 2007 | basicgui3.BackgroundTransparency = 0.5 | |
| 2008 | basicgui3.BorderSizePixel = 0.65 | |
| 2009 | basicgui3.TextScaled = true | |
| 2010 | basicgui3.Text = "(Q)\nVoid Blast" | |
| 2011 | basicgui3.TextSize = 24 | |
| 2012 | local basicgui4 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(0.35, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
| |
| 2013 | basicgui4.ZIndex = 2 | |
| 2014 | basicgui4.Font = "Code" | |
| 2015 | basicgui4.BackgroundTransparency = 0.5 | |
| 2016 | basicgui4.BorderSizePixel = 0.65 | |
| 2017 | basicgui4.TextScaled = true | |
| 2018 | basicgui4.Text = "(R)\nVoid's Trapping" | |
| 2019 | basicgui4.TextSize = 24 | |
| 2020 | local basicgui5 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(-0.15, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0))
| |
| 2021 | basicgui5.ZIndex = 2 | |
| 2022 | basicgui5.Font = "Code" | |
| 2023 | basicgui5.BackgroundTransparency = 0.5 | |
| 2024 | basicgui5.BorderSizePixel = 0.65 | |
| 2025 | basicgui5.TextScaled = true | |
| 2026 | basicgui5.Text = "(G)\n Timestop" | |
| 2027 | basicgui5.TextSize = 24 | |
| 2028 | local basicgui6 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(0.35, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0))
| |
| 2029 | basicgui6.ZIndex = 2 | |
| 2030 | basicgui6.Font = "SciFi" | |
| 2031 | basicgui6.BackgroundTransparency = 0.5 | |
| 2032 | basicgui6.BorderSizePixel = 0.65 | |
| 2033 | basicgui6.TextScaled = true | |
| 2034 | basicgui6.Text = "(X)\nDestruction" | |
| 2035 | basicgui6.TextSize = 24 | |
| 2036 | ||
| 2037 | 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))
| |
| 2038 | healthg.ZIndex = 2 | |
| 2039 | healthg.Font = "Code" | |
| 2040 | healthg.BackgroundTransparency = 0.5 | |
| 2041 | healthg.BorderSizePixel = 0.65 | |
| 2042 | healthg.TextScaled = true | |
| 2043 | healthg.Text = "health" | |
| 2044 | healthg.TextSize = 24 | |
| 2045 | ||
| 2046 | char.Humanoid.Animator.Parent = nil | |
| 2047 | ||
| 2048 | ---------------- set a position | |
| 2049 | local handle = Instance.new("Part")
| |
| 2050 | handle.Parent = Character | |
| 2051 | handle.Size = Vector3.new(0.2,0.2,0.2) | |
| 2052 | handle.Archivable = true | |
| 2053 | handle.Transparency = 1 | |
| 2054 | handle.CanCollide = false | |
| 2055 | handle.BrickColor = BrickColor.new("White")
| |
| 2056 | handle.Material = "Neon" | |
| 2057 | local handlmesh = Instance.new("BlockMesh",handle)
| |
| 2058 | handlmesh.Scale = Vector3.new(1,1,1) | |
| 2059 | local handleweld = Instance.new("Weld")
| |
| 2060 | handleweld.Parent = handle | |
| 2061 | handleweld.Part0 = rarm | |
| 2062 | handleweld.Part1 = handle | |
| 2063 | handleweld.C1 = CFrame.new(0, 1.35, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
| 2064 | handleweld.Part0 = rarm | |
| 2065 | ||
| 2066 | ---- yeee boi here comes entrance of inferno | |
| 2067 | ||
| 2068 | hum.WalkSpeed = 5 | |
| 2069 | ||
| 2070 | local dd = Instance.new("ParticleEmitter",handle)
| |
| 2071 | dd.Texture = "http://www.roblox.com/asset/?id=341277531" | |
| 2072 | dd.LightEmission = 1 | |
| 2073 | dd.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2074 | dd.Rate = 50 | |
| 2075 | dd.Lifetime = NumberRange.new(0.5) | |
| 2076 | dd.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2077 | dd.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2078 | dd.Speed = NumberRange.new(0) | |
| 2079 | dd.Rotation = NumberRange.new(0,0) | |
| 2080 | dd.VelocitySpread = 90000 | |
| 2081 | dd.LockedToPart = true | |
| 2082 | dd.RotSpeed = NumberRange.new(0,0) | |
| 2083 | local bon = Instance.new("ParticleEmitter",handle)
| |
| 2084 | bon.Texture = "rbxassetid://341277531" | |
| 2085 | bon.LightEmission = 0.75 | |
| 2086 | bon.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2087 | bon.Rate = 0 | |
| 2088 | bon.Lifetime = NumberRange.new(2.5) | |
| 2089 | bon.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2090 | bon.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2091 | bon.Speed = NumberRange.new(15) | |
| 2092 | bon.Rotation = NumberRange.new(0,0) | |
| 2093 | bon.VelocitySpread = 90000 | |
| 2094 | bon.RotSpeed = NumberRange.new(0,0) | |
| 2095 | local bon2 = Instance.new("ParticleEmitter",handle)
| |
| 2096 | bon2.Texture = "rbxassetid://341277531" | |
| 2097 | bon2.LightEmission = 0.75 | |
| 2098 | bon2.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2099 | bon2.Rate = 0 | |
| 2100 | bon2.Lifetime = NumberRange.new(2.5) | |
| 2101 | bon2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,10,0)})
| |
| 2102 | bon2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2103 | bon2.Speed = NumberRange.new(25) | |
| 2104 | bon2.Rotation = NumberRange.new(0,0) | |
| 2105 | bon2.VelocitySpread = 90000 | |
| 2106 | bon2.RotSpeed = NumberRange.new(0,0) | |
| 2107 | for i = 0,8,0.1 do | |
| 2108 | swait() | |
| 2109 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2110 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 2111 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(100)), 0.3) | |
| 2112 | 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) | |
| 2113 | end | |
| 2114 | dd.Rate = 0 | |
| 2115 | bon.Rate = 99999 | |
| 2116 | bon2.Rate = 99999 | |
| 2117 | ||
| 2118 | local tran = Instance.new("ParticleEmitter",handle)
| |
| 2119 | tran.Texture = "rbxassetid://341277531" | |
| 2120 | tran.LightEmission = 0.75 | |
| 2121 | tran.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2122 | tran.Rate = 99999 | |
| 2123 | tran.Lifetime = NumberRange.new(0.25) | |
| 2124 | tran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2125 | tran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
| |
| 2126 | tran.Speed = NumberRange.new(0) | |
| 2127 | tran.Rotation = NumberRange.new(0,0) | |
| 2128 | tran.VelocitySpread = 90000 | |
| 2129 | tran.LockedToPart = true | |
| 2130 | tran.RotSpeed = NumberRange.new(0,0) | |
| 2131 | local tran2 = Instance.new("ParticleEmitter",handle)
| |
| 2132 | tran2.Texture = "http://www.roblox.com/asset/?id=341277531" | |
| 2133 | tran2.LightEmission = 1 | |
| 2134 | tran2.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2135 | tran2.Rate = 50 | |
| 2136 | tran2.Lifetime = NumberRange.new(0.5) | |
| 2137 | tran2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2138 | tran2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2139 | tran2.Speed = NumberRange.new(0) | |
| 2140 | tran2.Rotation = NumberRange.new(0,0) | |
| 2141 | tran2.VelocitySpread = 90000 | |
| 2142 | tran2.LockedToPart = true | |
| 2143 | tran2.RotSpeed = NumberRange.new(0,0) | |
| 2144 | wait(0.5) | |
| 2145 | bon.Rate = 0 | |
| 2146 | bon2.Rate = 0 | |
| 2147 | wait(3.25) | |
| 2148 | bon:Destroy() | |
| 2149 | bon:Destroy() | |
| 2150 | dd:Destroy() | |
| 2151 | hum.WalkSpeed = 17.8 | |
| 2152 | ----------- | |
| 2153 | ||
| 2154 | function InfernoComet() | |
| 2155 | attack = true | |
| 2156 | chatfunc(" ")
| |
| 2157 | handleweld.Part0 = rarm | |
| 2158 | local tra = Instance.new("ParticleEmitter",handle)
| |
| 2159 | tra.Texture = "rbxassetid://341277531" | |
| 2160 | tra.LightEmission = 0.75 | |
| 2161 | tra.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2162 | tra.Rate = 99999 | |
| 2163 | tra.Lifetime = NumberRange.new(0.25) | |
| 2164 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2165 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
| |
| 2166 | tra.Speed = NumberRange.new(0) | |
| 2167 | tra.Rotation = NumberRange.new(0,0) | |
| 2168 | tra.VelocitySpread = 90000 | |
| 2169 | tra.LockedToPart = true | |
| 2170 | tra.RotSpeed = NumberRange.new(0,0) | |
| 2171 | local tra2 = Instance.new("ParticleEmitter",handle)
| |
| 2172 | tra2.Texture = "http://www.roblox.com/asset/?id=341277531" | |
| 2173 | tra2.LightEmission = 1 | |
| 2174 | tra2.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2175 | tra2.Rate = 50 | |
| 2176 | tra2.Lifetime = NumberRange.new(0.5) | |
| 2177 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2178 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
| |
| 2179 | tra2.Speed = NumberRange.new(0) | |
| 2180 | tra2.Rotation = NumberRange.new(0,0) | |
| 2181 | tra2.VelocitySpread = 90000 | |
| 2182 | tra2.LockedToPart = true | |
| 2183 | tra2.RotSpeed = NumberRange.new(0,0) | |
| 2184 | for i = 0,4,0.1 do | |
| 2185 | swait() | |
| 2186 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
| 2187 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
| 2188 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3) | |
| 2189 | 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) | |
| 2190 | end | |
| 2191 | local sa = Instance.new("Sound",handle)
| |
| 2192 | sa.SoundId = "rbxassetid://133047927" | |
| 2193 | sa.Volume = 1 | |
| 2194 | sa.Pitch = 0.97 | |
| 2195 | sa:Play() | |
| 2196 | tra.Rate = 0 | |
| 2197 | tra2.Rate = 0 | |
| 2198 | local lb = Instance.new("Part")
| |
| 2199 | lb.Parent = char | |
| 2200 | lb.Material = "Neon" | |
| 2201 | lb.Color = BrickColor.new("Really black").Color
| |
| 2202 | lb.CanCollide = false | |
| 2203 | lb.Shape = "Ball" | |
| 2204 | lb.CFrame = handle.CFrame | |
| 2205 | lb.Anchored = true | |
| 2206 | lb.Transparency = 1 | |
| 2207 | lb.Size = vt(1,1,1) | |
| 2208 | local thing = Instance.new("SpecialMesh",lb)
| |
| 2209 | thing.MeshType = meshtype | |
| 2210 | local hitted = false | |
| 2211 | lb.Anchored = false | |
| 2212 | local trail = Instance.new("ParticleEmitter",lb)
| |
| 2213 | trail.Texture = "rbxassetid://341277531" | |
| 2214 | trail.LightEmission = 1 | |
| 2215 | trail.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2216 | trail.Rate = 9999 | |
| 2217 | trail.Lifetime = NumberRange.new(1.5) | |
| 2218 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2219 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2220 | trail.Speed = NumberRange.new(0,0) | |
| 2221 | trail.Rotation = NumberRange.new(0,0) | |
| 2222 | trail.RotSpeed = NumberRange.new(0,0) | |
| 2223 | local bv = Instance.new("BodyVelocity")
| |
| 2224 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 2225 | bv.velocity = mouse.Hit.lookVector *75 | |
| 2226 | bv.Parent = lb | |
| 2227 | wait(0.05) | |
| 2228 | lb.Touched:connect(function(hit) | |
| 2229 | if hitted == false then | |
| 2230 | hitted = true | |
| 2231 | trail.Rate = 0 | |
| 2232 | lb.Anchored = true | |
| 2233 | local aa = Instance.new("Part")
| |
| 2234 | local val = 1*3.5 | |
| 2235 | aa.Parent = lb | |
| 2236 | local exsound = Instance.new("Sound",aa)
| |
| 2237 | exsound.SoundId = "rbxassetid://919941001" | |
| 2238 | exsound.Volume = 3.5 | |
| 2239 | exsound.Pitch = 1 | |
| 2240 | exsound:Play() | |
| 2241 | aa.Material = "Neon" | |
| 2242 | aa.Color = BrickColor.new("Really black").Color
| |
| 2243 | aa.CanCollide = false | |
| 2244 | aa.Shape = "Ball" | |
| 2245 | aa.CFrame = lb.CFrame | |
| 2246 | aa.Anchored = true | |
| 2247 | aa.Transparency = 0 | |
| 2248 | aa.Size = vt(1,1,1) | |
| 2249 | local thinger = Instance.new("SpecialMesh",aa)
| |
| 2250 | thinger.MeshType = meshtype | |
| 2251 | thinger.Scale = vt(15,15,15) | |
| 2252 | local explosion = Instance.new("Explosion",aa)
| |
| 2253 | explosion.Position = aa.Position | |
| 2254 | explosion.BlastRadius = 22.5 | |
| 2255 | explosion.BlastPressure = 100 | |
| 2256 | local exp = Instance.new("ParticleEmitter",aa)
| |
| 2257 | exp.Texture = "rbxassetid://341277531" | |
| 2258 | exp.LightEmission = 1 | |
| 2259 | exp.Color = ColorSequence.new(Color3.new(0,0/255)) | |
| 2260 | exp.Rate = 9000000000 | |
| 2261 | exp.Lifetime = NumberRange.new(1) | |
| 2262 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2263 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2264 | exp.Speed = NumberRange.new(100) | |
| 2265 | exp.VelocitySpread = 9000000 | |
| 2266 | exp.Rotation = NumberRange.new(0,0) | |
| 2267 | exp.RotSpeed = NumberRange.new(0,0) | |
| 2268 | local expa = Instance.new("ParticleEmitter",aa)
| |
| 2269 | expa.Texture = "rbxassetid://341277531" | |
| 2270 | expa.LightEmission = 1 | |
| 2271 | expa.Color = ColorSequence.new(Color3.new(0,0/255)) | |
| 2272 | expa.Rate = 9000000000 | |
| 2273 | expa.Lifetime = NumberRange.new(2.75) | |
| 2274 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
| |
| 2275 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2276 | expa.Speed = NumberRange.new(100) | |
| 2277 | expa.VelocitySpread = 9000000 | |
| 2278 | expa.Rotation = NumberRange.new(0,0) | |
| 2279 | expa.RotSpeed = NumberRange.new(0,0) | |
| 2280 | local exp2 = exp:Clone() | |
| 2281 | exp2.Parent = aa | |
| 2282 | local exp3 = exp:Clone() | |
| 2283 | exp3.Parent = aa | |
| 2284 | local exp4 = exp:Clone() | |
| 2285 | exp4.Parent = aa | |
| 2286 | local exp5 = exp:Clone() | |
| 2287 | exp5.Parent = aa | |
| 2288 | local exp6 = exp:Clone() | |
| 2289 | exp6.Parent = aa | |
| 2290 | local exp7 = exp:Clone() | |
| 2291 | exp7.Parent = aa | |
| 2292 | local expa2 = expa:Clone() | |
| 2293 | expa2.Parent = aa | |
| 2294 | local expa3 = expa:Clone() | |
| 2295 | expa3.Parent = aa | |
| 2296 | local expa4 = expa:Clone() | |
| 2297 | expa4.Parent = aa | |
| 2298 | local expa5 = expa:Clone() | |
| 2299 | expa5.Parent = aa | |
| 2300 | local expa6 = expa:Clone() | |
| 2301 | expa6.Parent = aa | |
| 2302 | local expa7 = expa:Clone() | |
| 2303 | expa7.Parent = aa | |
| 2304 | for i = 0, 1 do | |
| 2305 | val = val - 0.025*3.5 | |
| 2306 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 2307 | wait() | |
| 2308 | end | |
| 2309 | exp.Rate = 0 | |
| 2310 | exp2.Rate = 0 | |
| 2311 | exp3.Rate = 0 | |
| 2312 | exp4.Rate = 0 | |
| 2313 | exp5.Rate = 0 | |
| 2314 | exp6.Rate = 0 | |
| 2315 | exp7.Rate = 0 | |
| 2316 | for i = 0, 1 do | |
| 2317 | val = val - 0.025*3.5 | |
| 2318 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 2319 | wait() | |
| 2320 | end | |
| 2321 | expa.Rate = 0 | |
| 2322 | expa2.Rate = 0 | |
| 2323 | expa3.Rate = 0 | |
| 2324 | expa4.Rate = 0 | |
| 2325 | expa5.Rate = 0 | |
| 2326 | expa6.Rate = 0 | |
| 2327 | expa7.Rate = 0 | |
| 2328 | for i = 0, 21 do | |
| 2329 | val = val - 0.025*3.5 | |
| 2330 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 2331 | wait() | |
| 2332 | end | |
| 2333 | for i = 0, 74 do | |
| 2334 | val = val - 0.0145 | |
| 2335 | aa.Transparency = aa.Transparency + 0.0145 | |
| 2336 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 2337 | wait() | |
| 2338 | end | |
| 2339 | end | |
| 2340 | end) | |
| 2341 | attack = false | |
| 2342 | wait(30) | |
| 2343 | sa:Destroy() | |
| 2344 | tra:Destroy() | |
| 2345 | tra2:Destroy() | |
| 2346 | lb:Destroy() | |
| 2347 | end | |
| 2348 | ||
| 2349 | function InfernoHell() | |
| 2350 | attack = true | |
| 2351 | chatfunc(" ")
| |
| 2352 | handleweld.Part0 = rarm | |
| 2353 | local aura = Instance.new("ParticleEmitter",tors)
| |
| 2354 | aura.Texture = "rbxassetid://341277531" | |
| 2355 | aura.LightEmission = 1 | |
| 2356 | aura.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2357 | aura.Rate = 25 | |
| 2358 | aura.Lifetime = NumberRange.new(0.75) | |
| 2359 | aura.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8.5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2360 | aura.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2361 | aura.Speed = NumberRange.new(15) | |
| 2362 | aura.VelocitySpread = 50 | |
| 2363 | local aura2 = Instance.new("ParticleEmitter",tors)
| |
| 2364 | aura2.Texture = "rbxassetid://341277531" | |
| 2365 | aura2.LightEmission = 1 | |
| 2366 | aura2.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2367 | aura2.Rate = 99999 | |
| 2368 | aura2.Lifetime = NumberRange.new(1.5) | |
| 2369 | aura2.Acceleration = vt(0,45,0) | |
| 2370 | aura2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2371 | aura2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2372 | aura2.Speed = NumberRange.new(-25) | |
| 2373 | aura2.Rotation = NumberRange.new(0,0) | |
| 2374 | aura2.VelocitySpread = 45 | |
| 2375 | aura2.RotSpeed = NumberRange.new(0,0) | |
| 2376 | local auran = Instance.new("ParticleEmitter",tors)
| |
| 2377 | auran.Texture = "rbxassetid://341277531" | |
| 2378 | auran.LightEmission = 1 | |
| 2379 | auran.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2380 | auran.Rate = 0 | |
| 2381 | auran.Lifetime = NumberRange.new(5) | |
| 2382 | auran.Acceleration = vt(0,-45,0) | |
| 2383 | auran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2384 | auran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2385 | auran.Speed = NumberRange.new(65) | |
| 2386 | auran.Rotation = NumberRange.new(0,0) | |
| 2387 | auran.VelocitySpread = 100 | |
| 2388 | auran.RotSpeed = NumberRange.new(0,0) | |
| 2389 | local sa = Instance.new("Sound",handle)
| |
| 2390 | sa.SoundId = "rbxassetid://244578827" | |
| 2391 | sa.Volume = 10 | |
| 2392 | sa.Pitch = 0.895 | |
| 2393 | sa:Play() | |
| 2394 | for i = 0,2,0.1 do | |
| 2395 | swait() | |
| 2396 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 2397 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
| 2398 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(10)), 0.3) | |
| 2399 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.3) | |
| 2400 | 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) | |
| 2401 | 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) | |
| 2402 | end | |
| 2403 | for i = 0, 5 do | |
| 2404 | auran.Rate = 99999 | |
| 2405 | local lb = Instance.new("Part")
| |
| 2406 | lb.Parent = char | |
| 2407 | lb.Material = "Neon" | |
| 2408 | lb.Color = BrickColor.new("Really black").Color
| |
| 2409 | lb.CanCollide = false | |
| 2410 | lb.Size = vt(1,1,1) | |
| 2411 | lb.CFrame = tors.CFrame | |
| 2412 | lb.Rotation = vt(0,0,0) | |
| 2413 | lb.Anchored = true | |
| 2414 | lb.Transparency = 0 | |
| 2415 | local thing = Instance.new("SpecialMesh",lb)
| |
| 2416 | thing.MeshType = "FileMesh" | |
| 2417 | thing.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 2418 | thing.Scale = vt(0,15,0) | |
| 2419 | local chancerot = math.random(1,2) | |
| 2420 | for z = 0, 4 do | |
| 2421 | if chancerot == 1 then | |
| 2422 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
| 2423 | elseif chancerot == 2 then | |
| 2424 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
| 2425 | end | |
| 2426 | lb.Transparency = lb.Transparency + 0.1 | |
| 2427 | thing.Scale = thing.Scale + vt(15,0,15) | |
| 2428 | wait() | |
| 2429 | end | |
| 2430 | auran.Rate = 0 | |
| 2431 | for z = 0, 4 do | |
| 2432 | if chancerot == 1 then | |
| 2433 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
| 2434 | elseif chancerot == 2 then | |
| 2435 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
| 2436 | end | |
| 2437 | lb.Transparency = lb.Transparency + 0.1 | |
| 2438 | thing.Scale = thing.Scale + vt(15,0,15) | |
| 2439 | wait() | |
| 2440 | end | |
| 2441 | lb:Destroy() | |
| 2442 | end | |
| 2443 | chatfunc(" ")
| |
| 2444 | local sa = Instance.new("Sound",handle)
| |
| 2445 | sa.SoundId = "rbxassetid://255679373" | |
| 2446 | sa.Volume = 10 | |
| 2447 | sa.Pitch = 0.75 | |
| 2448 | sa:Play() | |
| 2449 | ||
| 2450 | local sbs = Instance.new("BodyPosition", root)
| |
| 2451 | sbs.P = 3000 | |
| 2452 | sbs.D = 1000 | |
| 2453 | sbs.maxForce = Vector3.new(500000, 500000000, 500000) | |
| 2454 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 1000, 0) | |
| 2455 | for i = 0,24,0.1 do | |
| 2456 | swait() | |
| 2457 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
| 2458 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
| 2459 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3) | |
| 2460 | 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) | |
| 2461 | end | |
| 2462 | local shur = Instance.new("Part",char)
| |
| 2463 | local gahde = Instance.new("Sound",char)
| |
| 2464 | gahde.SoundId = "rbxassetid://402981977" | |
| 2465 | gahde.Volume = 5 | |
| 2466 | gahde.Pitch = 0.6 | |
| 2467 | gahde:Play() | |
| 2468 | shur.Transparency = 1 | |
| 2469 | shur.Material = "Neon" | |
| 2470 | shur.BrickColor = bc("Bright red")
| |
| 2471 | shur.Anchored = true | |
| 2472 | shur.CFrame = tors.CFrame + vt(0,10,0) | |
| 2473 | shur.Size = vt(1,0.2,1) | |
| 2474 | shur.CanCollide = false | |
| 2475 | local dec = Instance.new("Decal",shur)
| |
| 2476 | dec.Texture = "http://www.roblox.com/asset/?id=0" | |
| 2477 | dec.Face = "Top" | |
| 2478 | local dec2 = dec:Clone() | |
| 2479 | dec2.Parent = shur | |
| 2480 | dec2.Face = "Bottom" | |
| 2481 | local Meshshur = Instance.new("CylinderMesh",shur)
| |
| 2482 | Meshshur.Scale = vt(0,1,0) | |
| 2483 | for i = 0, 39 do | |
| 2484 | wait() | |
| 2485 | Meshshur.Scale = Meshshur.Scale + vt(15,0,15) | |
| 2486 | end | |
| 2487 | local sa = Instance.new("Sound",char)
| |
| 2488 | sa.SoundId = "rbxassetid://166218031" | |
| 2489 | sa.Volume = 3.8 | |
| 2490 | sa.Pitch = 0.35 | |
| 2491 | sa:Play() | |
| 2492 | local lb = Instance.new("Part")
| |
| 2493 | lb.Parent = char | |
| 2494 | lb.Material = "Neon" | |
| 2495 | lb.Color = BrickColor.new("Really black").Color
| |
| 2496 | lb.CanCollide = false | |
| 2497 | lb.Shape = "Ball" | |
| 2498 | lb.CFrame = handle.CFrame | |
| 2499 | lb.Anchored = true | |
| 2500 | lb.Transparency = 0 | |
| 2501 | lb.Size = vt(1,1,1) | |
| 2502 | lb.CFrame = handle.CFrame | |
| 2503 | local thing = Instance.new("SpecialMesh",lb)
| |
| 2504 | thing.MeshType = meshtype | |
| 2505 | thing.Scale = vt(0,0,0) | |
| 2506 | for i = 0, 89 do | |
| 2507 | thing.Scale = thing.Scale + vt(2.5,2.5,2.5) | |
| 2508 | lb.CFrame = lb.CFrame + Vector3.new(0,1.425,0) | |
| 2509 | wait() | |
| 2510 | end | |
| 2511 | wait(1) | |
| 2512 | for i = 0, 39 do | |
| 2513 | wait() | |
| 2514 | Meshshur.Scale = Meshshur.Scale - vt(15,0,15) | |
| 2515 | end | |
| 2516 | local sa = Instance.new("Sound",char)
| |
| 2517 | sa.SoundId = "rbxassetid://133047927" | |
| 2518 | sa.Volume = 1 | |
| 2519 | sa.Pitch = 0.95 | |
| 2520 | sa:Play() | |
| 2521 | wait(0.5) | |
| 2522 | shur:Destroy() | |
| 2523 | sbs:Destroy() | |
| 2524 | local sa = Instance.new("Sound",char)
| |
| 2525 | sa.SoundId = "rbxassetid://416328540" | |
| 2526 | sa.Volume = 1.5 | |
| 2527 | sa.Pitch = 0.5 | |
| 2528 | sa:Play() | |
| 2529 | local sa = Instance.new("Sound",char)
| |
| 2530 | sa.SoundId = "rbxassetid://466493476" | |
| 2531 | sa.Volume = 1.5 | |
| 2532 | sa.Pitch = 0.5 | |
| 2533 | sa:Play() | |
| 2534 | aura.Rate = 0 | |
| 2535 | aura2.Rate = 0 | |
| 2536 | local hitted = false | |
| 2537 | lb.Anchored = false | |
| 2538 | local trail = Instance.new("ParticleEmitter",lb)
| |
| 2539 | trail.Texture = "rbxassetid://341277531" | |
| 2540 | trail.LightEmission = 1 | |
| 2541 | trail.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2542 | trail.Rate = 9999 | |
| 2543 | trail.Lifetime = NumberRange.new(2.5) | |
| 2544 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,150,0),NumberSequenceKeypoint.new(1,5,0)})
| |
| 2545 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2546 | trail.Speed = NumberRange.new(100) | |
| 2547 | trail.VelocitySpread = 9000000 | |
| 2548 | trail.Rotation = NumberRange.new(0,0) | |
| 2549 | trail.RotSpeed = NumberRange.new(0,0) | |
| 2550 | local bv = Instance.new("BodyVelocity")
| |
| 2551 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 2552 | bv.velocity = mouse.Hit.lookVector *75 | |
| 2553 | bv.Parent = lb | |
| 2554 | wait(0.05) | |
| 2555 | lb.Touched:connect(function(hit) | |
| 2556 | if hitted == false then | |
| 2557 | hitted = true | |
| 2558 | trail.Rate = 0 | |
| 2559 | lb.Anchored = true | |
| 2560 | local aa = Instance.new("Part")
| |
| 2561 | for i = 0, 9 do | |
| 2562 | lb.Transparency = lb.Transparency + 0.1 | |
| 2563 | local val = 1*3.5 | |
| 2564 | aa.Parent = lb | |
| 2565 | local exsound = Instance.new("Sound",aa)
| |
| 2566 | exsound.SoundId = "rbxassetid://412831137" | |
| 2567 | exsound.Volume = 10 | |
| 2568 | exsound.Pitch = 0.5 | |
| 2569 | exsound:Play() | |
| 2570 | local exsound = Instance.new("Sound",aa)
| |
| 2571 | exsound.SoundId = "rbxassetid://249329549" | |
| 2572 | exsound.Volume = 10 | |
| 2573 | exsound.Pitch = 0.75 | |
| 2574 | exsound:Play() | |
| 2575 | local exsound = Instance.new("Sound",aa)
| |
| 2576 | exsound.SoundId = "rbxassetid://249329549" | |
| 2577 | exsound.Volume = 10 | |
| 2578 | exsound.Pitch = 0.5 | |
| 2579 | exsound:Play() | |
| 2580 | local exsound = Instance.new("Sound",aa)
| |
| 2581 | exsound.SoundId = "rbxassetid://249329549" | |
| 2582 | exsound.Volume = 10 | |
| 2583 | exsound.Pitch = 0.35 | |
| 2584 | exsound:Play() | |
| 2585 | local exsound = Instance.new("Sound",aa)
| |
| 2586 | exsound.SoundId = "rbxassetid://249329549" | |
| 2587 | exsound.Volume = 10 | |
| 2588 | exsound.Pitch = 0.25 | |
| 2589 | exsound:Play() | |
| 2590 | local exsound = Instance.new("Sound",aa)
| |
| 2591 | exsound.SoundId = "rbxassetid://249329549" | |
| 2592 | exsound.Volume = 10 | |
| 2593 | exsound.Pitch = 0.2 | |
| 2594 | exsound:Play() | |
| 2595 | aa.Material = "Neon" | |
| 2596 | aa.Color = BrickColor.new("Black").Color
| |
| 2597 | aa.CanCollide = false | |
| 2598 | aa.Shape = "Ball" | |
| 2599 | aa.CFrame = lb.CFrame | |
| 2600 | aa.Anchored = true | |
| 2601 | aa.Transparency = 0 | |
| 2602 | aa.Size = vt(1,1,1) | |
| 2603 | local thinger = Instance.new("SpecialMesh",aa)
| |
| 2604 | thinger.MeshType = meshtype | |
| 2605 | thinger.Scale = vt(225,225,225) | |
| 2606 | local explosion = Instance.new("Explosion",aa)
| |
| 2607 | explosion.Position = aa.Position | |
| 2608 | explosion.BlastRadius = 500 | |
| 2609 | explosion.BlastPressure = 100 | |
| 2610 | local exp = Instance.new("ParticleEmitter",aa)
| |
| 2611 | exp.Texture = "rbxassetid://341277531" | |
| 2612 | exp.LightEmission = 1 | |
| 2613 | exp.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2614 | exp.Rate = 9000000000 | |
| 2615 | exp.Lifetime = NumberRange.new(1) | |
| 2616 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2617 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2618 | exp.Speed = NumberRange.new(100) | |
| 2619 | exp.VelocitySpread = 9000000 | |
| 2620 | exp.Rotation = NumberRange.new(0,0) | |
| 2621 | exp.RotSpeed = NumberRange.new(0,0) | |
| 2622 | local expa = Instance.new("ParticleEmitter",aa)
| |
| 2623 | expa.Texture = "rbxassetid://341277531" | |
| 2624 | expa.LightEmission = 1 | |
| 2625 | expa.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2626 | expa.Rate = 9000000000 | |
| 2627 | expa.Lifetime = NumberRange.new(2.75) | |
| 2628 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,150,0)})
| |
| 2629 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2630 | expa.Speed = NumberRange.new(100) | |
| 2631 | expa.VelocitySpread = 9000000 | |
| 2632 | expa.Rotation = NumberRange.new(0,0) | |
| 2633 | expa.RotSpeed = NumberRange.new(0,0) | |
| 2634 | local exp2 = exp:Clone() | |
| 2635 | exp2.Parent = aa | |
| 2636 | local exp3 = exp:Clone() | |
| 2637 | exp3.Parent = aa | |
| 2638 | local exp4 = exp:Clone() | |
| 2639 | exp4.Parent = aa | |
| 2640 | local exp5 = exp:Clone() | |
| 2641 | exp5.Parent = aa | |
| 2642 | local exp6 = exp:Clone() | |
| 2643 | exp6.Parent = aa | |
| 2644 | local exp7 = exp:Clone() | |
| 2645 | exp7.Parent = aa | |
| 2646 | local expa2 = expa:Clone() | |
| 2647 | expa2.Parent = aa | |
| 2648 | local expa3 = expa:Clone() | |
| 2649 | expa3.Parent = aa | |
| 2650 | local expa4 = expa:Clone() | |
| 2651 | expa4.Parent = aa | |
| 2652 | local expa5 = expa:Clone() | |
| 2653 | expa5.Parent = aa | |
| 2654 | local expa6 = expa:Clone() | |
| 2655 | expa6.Parent = aa | |
| 2656 | local expa7 = expa:Clone() | |
| 2657 | expa7.Parent = aa | |
| 2658 | for i = 0, 1 do | |
| 2659 | val = val - 0.025*3.5 | |
| 2660 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 2661 | wait() | |
| 2662 | end | |
| 2663 | exp.Rate = 0 | |
| 2664 | exp2.Rate = 0 | |
| 2665 | exp3.Rate = 0 | |
| 2666 | exp4.Rate = 0 | |
| 2667 | exp5.Rate = 0 | |
| 2668 | exp6.Rate = 0 | |
| 2669 | exp7.Rate = 0 | |
| 2670 | for i = 0, 1 do | |
| 2671 | val = val - 0.025*3.5 | |
| 2672 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 2673 | wait() | |
| 2674 | end | |
| 2675 | expa.Rate = 0 | |
| 2676 | expa2.Rate = 0 | |
| 2677 | expa3.Rate = 0 | |
| 2678 | expa4.Rate = 0 | |
| 2679 | expa5.Rate = 0 | |
| 2680 | expa6.Rate = 0 | |
| 2681 | expa7.Rate = 0 | |
| 2682 | for i = 0, 21 do | |
| 2683 | val = val - 0.025*3.5 | |
| 2684 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 2685 | wait() | |
| 2686 | end | |
| 2687 | for i = 0, 4 do | |
| 2688 | val = val - 0.05 | |
| 2689 | aa.Transparency = aa.Transparency + 0.065*4.5 | |
| 2690 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 2691 | wait() | |
| 2692 | end | |
| 2693 | end | |
| 2694 | end | |
| 2695 | end) | |
| 2696 | for i = 0,2,0.1 do | |
| 2697 | swait() | |
| 2698 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
| 2699 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-90)),.3) | |
| 2700 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
| 2701 | 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) | |
| 2702 | end | |
| 2703 | attack = false | |
| 2704 | wait(60) | |
| 2705 | sa:Destroy() | |
| 2706 | sa:Destroy() | |
| 2707 | sa:Destroy() | |
| 2708 | sa:Destroy() | |
| 2709 | sa:Destroy() | |
| 2710 | aura:Destroy() | |
| 2711 | aura2:Destroy() | |
| 2712 | lb:Destroy() | |
| 2713 | end | |
| 2714 | ||
| 2715 | ||
| 2716 | function InfernoMeteor() | |
| 2717 | attack = true | |
| 2718 | chatfunc(" ")
| |
| 2719 | handleweld.Part0 = rarm | |
| 2720 | local tra = Instance.new("ParticleEmitter",handle)
| |
| 2721 | tra.Texture = "rbxassetid://341277531" | |
| 2722 | tra.LightEmission = 0.75 | |
| 2723 | tra.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2724 | tra.Rate = 99999 | |
| 2725 | tra.Lifetime = NumberRange.new(0.25) | |
| 2726 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2727 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
| |
| 2728 | tra.Speed = NumberRange.new(0) | |
| 2729 | tra.Rotation = NumberRange.new(0,0) | |
| 2730 | tra.VelocitySpread = 90000 | |
| 2731 | tra.LockedToPart = true | |
| 2732 | tra.RotSpeed = NumberRange.new(0,0) | |
| 2733 | local tra2 = Instance.new("ParticleEmitter",handle)
| |
| 2734 | tra2.Texture = "http://www.roblox.com/asset/?id=341277531" | |
| 2735 | tra2.LightEmission = 1 | |
| 2736 | tra2.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2737 | tra2.Rate = 50 | |
| 2738 | tra2.Lifetime = NumberRange.new(0.5) | |
| 2739 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2740 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
| |
| 2741 | tra2.Speed = NumberRange.new(0) | |
| 2742 | tra2.Rotation = NumberRange.new(0,0) | |
| 2743 | tra2.VelocitySpread = 90000 | |
| 2744 | tra2.LockedToPart = true | |
| 2745 | tra2.RotSpeed = NumberRange.new(0,0) | |
| 2746 | local sa = Instance.new("Sound",handle)
| |
| 2747 | sa.SoundId = "rbxassetid://400765064" | |
| 2748 | sa.Volume = 1.5 | |
| 2749 | sa.Pitch = 0.975 | |
| 2750 | sa:Play() | |
| 2751 | for i = 0,4,0.1 do | |
| 2752 | swait() | |
| 2753 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
| 2754 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
| 2755 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3) | |
| 2756 | 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) | |
| 2757 | end | |
| 2758 | chatfunc(" ")
| |
| 2759 | local sa = Instance.new("Sound",handle)
| |
| 2760 | sa.SoundId = "rbxassetid://455776420" | |
| 2761 | sa.Volume = 1.5 | |
| 2762 | sa.Pitch = 0.95 | |
| 2763 | sa:Play() | |
| 2764 | tra.Rate = 0 | |
| 2765 | tra2.Rate = 0 | |
| 2766 | local lb = Instance.new("Part")
| |
| 2767 | lb.Parent = char | |
| 2768 | lb.Material = "Neon" | |
| 2769 | lb.Color = BrickColor.new("Really black").Color
| |
| 2770 | lb.CanCollide = false | |
| 2771 | lb.Shape = "Ball" | |
| 2772 | lb.CFrame = handle.CFrame | |
| 2773 | lb.Anchored = true | |
| 2774 | lb.Transparency = 1 | |
| 2775 | lb.Size = vt(1,1,1) | |
| 2776 | local thing = Instance.new("SpecialMesh",lb)
| |
| 2777 | thing.MeshType = meshtype | |
| 2778 | local hitted = false | |
| 2779 | lb.Anchored = false | |
| 2780 | local trail = Instance.new("ParticleEmitter",lb)
| |
| 2781 | trail.Texture = "rbxassetid://341277531" | |
| 2782 | trail.LightEmission = 1 | |
| 2783 | trail.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2784 | trail.Rate = 9999 | |
| 2785 | trail.Lifetime = NumberRange.new(1.5) | |
| 2786 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 2787 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2788 | trail.Speed = NumberRange.new(0,0) | |
| 2789 | trail.Rotation = NumberRange.new(0,0) | |
| 2790 | trail.RotSpeed = NumberRange.new(0,0) | |
| 2791 | local bv = Instance.new("BodyVelocity")
| |
| 2792 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 2793 | bv.velocity = mouse.Hit.lookVector *95 | |
| 2794 | bv.Parent = lb | |
| 2795 | wait(0.05) | |
| 2796 | lb.Touched:connect(function(hit) | |
| 2797 | if hitted == false then | |
| 2798 | hitted = true | |
| 2799 | trail.Rate = 0 | |
| 2800 | lb.Anchored = true | |
| 2801 | local aa = Instance.new("Part")
| |
| 2802 | local val = 1*8 | |
| 2803 | aa.Parent = lb | |
| 2804 | local exsound = Instance.new("Sound",aa)
| |
| 2805 | exsound.SoundId = "rbxassetid://919941001" | |
| 2806 | exsound.Volume = 10 | |
| 2807 | exsound.Pitch = 0.945 | |
| 2808 | exsound:Play() | |
| 2809 | aa.Material = "Neon" | |
| 2810 | aa.Color = BrickColor.new("Really black").Color
| |
| 2811 | aa.CanCollide = false | |
| 2812 | aa.Shape = "Ball" | |
| 2813 | aa.CFrame = lb.CFrame | |
| 2814 | aa.Anchored = true | |
| 2815 | aa.Transparency = 0 | |
| 2816 | aa.Size = vt(1,1,1) | |
| 2817 | local thinger = Instance.new("SpecialMesh",aa)
| |
| 2818 | thinger.MeshType = meshtype | |
| 2819 | thinger.Scale = vt(15,15,15) | |
| 2820 | local explosion = Instance.new("Explosion",aa)
| |
| 2821 | explosion.Position = aa.Position | |
| 2822 | explosion.BlastRadius = 65 | |
| 2823 | explosion.BlastPressure = 100 | |
| 2824 | local exp = Instance.new("ParticleEmitter",aa)
| |
| 2825 | exp.Texture = "rbxassetid://341277531" | |
| 2826 | exp.LightEmission = 1 | |
| 2827 | exp.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2828 | exp.Rate = 9000000000 | |
| 2829 | exp.Lifetime = NumberRange.new(1) | |
| 2830 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2831 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2832 | exp.Speed = NumberRange.new(200) | |
| 2833 | exp.VelocitySpread = 9000000 | |
| 2834 | exp.Rotation = NumberRange.new(0,0) | |
| 2835 | exp.RotSpeed = NumberRange.new(0,0) | |
| 2836 | local expa = Instance.new("ParticleEmitter",aa)
| |
| 2837 | expa.Texture = "rbxassetid://341277531" | |
| 2838 | expa.LightEmission = 1 | |
| 2839 | expa.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2840 | expa.Rate = 9000000000 | |
| 2841 | expa.Lifetime = NumberRange.new(2.75) | |
| 2842 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,125,0)})
| |
| 2843 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2844 | expa.Speed = NumberRange.new(200) | |
| 2845 | expa.VelocitySpread = 9000000 | |
| 2846 | expa.Rotation = NumberRange.new(0,0) | |
| 2847 | expa.RotSpeed = NumberRange.new(0,0) | |
| 2848 | local exp2 = exp:Clone() | |
| 2849 | exp2.Parent = aa | |
| 2850 | local exp3 = exp:Clone() | |
| 2851 | exp3.Parent = aa | |
| 2852 | local exp4 = exp:Clone() | |
| 2853 | exp4.Parent = aa | |
| 2854 | local exp5 = exp:Clone() | |
| 2855 | exp5.Parent = aa | |
| 2856 | local exp6 = exp:Clone() | |
| 2857 | exp6.Parent = aa | |
| 2858 | local exp7 = exp:Clone() | |
| 2859 | exp7.Parent = aa | |
| 2860 | local expa2 = expa:Clone() | |
| 2861 | expa2.Parent = aa | |
| 2862 | local expa3 = expa:Clone() | |
| 2863 | expa3.Parent = aa | |
| 2864 | local expa4 = expa:Clone() | |
| 2865 | expa4.Parent = aa | |
| 2866 | local expa5 = expa:Clone() | |
| 2867 | expa5.Parent = aa | |
| 2868 | local expa6 = expa:Clone() | |
| 2869 | expa6.Parent = aa | |
| 2870 | local expa7 = expa:Clone() | |
| 2871 | expa7.Parent = aa | |
| 2872 | for i = 0, 1 do | |
| 2873 | val = val - 0.025*8 | |
| 2874 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 2875 | wait() | |
| 2876 | end | |
| 2877 | exp.Rate = 0 | |
| 2878 | exp2.Rate = 0 | |
| 2879 | exp3.Rate = 0 | |
| 2880 | exp4.Rate = 0 | |
| 2881 | exp5.Rate = 0 | |
| 2882 | exp6.Rate = 0 | |
| 2883 | exp7.Rate = 0 | |
| 2884 | for i = 0, 1 do | |
| 2885 | val = val - 0.025*8 | |
| 2886 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 2887 | wait() | |
| 2888 | end | |
| 2889 | expa.Rate = 0 | |
| 2890 | expa2.Rate = 0 | |
| 2891 | expa3.Rate = 0 | |
| 2892 | expa4.Rate = 0 | |
| 2893 | expa5.Rate = 0 | |
| 2894 | expa6.Rate = 0 | |
| 2895 | expa7.Rate = 0 | |
| 2896 | for i = 0, 21 do | |
| 2897 | val = val - 0.025*8 | |
| 2898 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 2899 | wait() | |
| 2900 | end | |
| 2901 | for i = 0, 74 do | |
| 2902 | val = val - 0.0145 | |
| 2903 | aa.Transparency = aa.Transparency + 0.0145 | |
| 2904 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 2905 | wait() | |
| 2906 | end | |
| 2907 | end | |
| 2908 | end) | |
| 2909 | attack = false | |
| 2910 | wait(30) | |
| 2911 | sa:Destroy() | |
| 2912 | tra:Destroy() | |
| 2913 | tra2:Destroy() | |
| 2914 | lb:Destroy() | |
| 2915 | end | |
| 2916 | ||
| 2917 | ||
| 2918 | function InfernoWrath() | |
| 2919 | attack = true | |
| 2920 | chatfunc(" ")
| |
| 2921 | for i = 0,4,0.1 do | |
| 2922 | swait() | |
| 2923 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2924 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
| 2925 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 2926 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 2927 | end | |
| 2928 | local ff = Instance.new("ForceField",char)
| |
| 2929 | hum.WalkSpeed = 0 | |
| 2930 | local lb = Instance.new("Part")
| |
| 2931 | lb.Parent = char | |
| 2932 | lb.Material = "Neon" | |
| 2933 | lb.Color = BrickColor.new("Really black").Color
| |
| 2934 | lb.CanCollide = false | |
| 2935 | lb.Shape = "Ball" | |
| 2936 | lb.CFrame = torso.CFrame | |
| 2937 | lb.Anchored = true | |
| 2938 | lb.Transparency = 1 | |
| 2939 | lb.Size = vt(1,1,1) | |
| 2940 | local thing = Instance.new("SpecialMesh",lb)
| |
| 2941 | thing.MeshType = meshtype | |
| 2942 | for i = 0, 4 do | |
| 2943 | local lbr = Instance.new("Part")
| |
| 2944 | lbr.Parent = char | |
| 2945 | lbr.Material = "Neon" | |
| 2946 | lbr.Color = BrickColor.new("Really black").Color
| |
| 2947 | lbr.CanCollide = false | |
| 2948 | lbr.Shape = "Ball" | |
| 2949 | lbr.CFrame = lb.CFrame | |
| 2950 | lbr.Anchored = true | |
| 2951 | lbr.Transparency = 1 | |
| 2952 | lbr.Size = vt(1,1,1) | |
| 2953 | local thinga = Instance.new("SpecialMesh",lbr)
| |
| 2954 | thinga.MeshType = meshtype | |
| 2955 | thinga.Scale = vt(20*6,20*6,20*6) | |
| 2956 | for z = 0, 19 do | |
| 2957 | wait(0.025) | |
| 2958 | lbr.Transparency = lbr.Transparency - 0.05 | |
| 2959 | thinga.Scale = thinga.Scale - vt(1*6,1*6,1*6) | |
| 2960 | end | |
| 2961 | lbr:Destroy() | |
| 2962 | end | |
| 2963 | local aa = Instance.new("Part")
| |
| 2964 | local val = 1*7.5 | |
| 2965 | aa.Parent = lb | |
| 2966 | local exsound = Instance.new("Sound",handle)
| |
| 2967 | exsound.SoundId = "rbxassetid://919941001" | |
| 2968 | exsound.Volume = 10 | |
| 2969 | exsound.Pitch = 1 | |
| 2970 | exsound:Play() | |
| 2971 | aa.Material = "Neon" | |
| 2972 | aa.Color = BrickColor.new("Really black").Color
| |
| 2973 | aa.CanCollide = false | |
| 2974 | aa.Shape = "Ball" | |
| 2975 | aa.CFrame = lb.CFrame | |
| 2976 | aa.Anchored = true | |
| 2977 | aa.Transparency = 0 | |
| 2978 | aa.Size = vt(1,1,1) | |
| 2979 | local thinger = Instance.new("SpecialMesh",aa)
| |
| 2980 | thinger.MeshType = meshtype | |
| 2981 | thinger.Scale = vt(15*1.5,15*1.5,15*1.5) | |
| 2982 | local explosion = Instance.new("Explosion",aa)
| |
| 2983 | explosion.Position = aa.Position | |
| 2984 | explosion.BlastRadius = 50 | |
| 2985 | explosion.BlastPressure = 100 | |
| 2986 | local exp = Instance.new("ParticleEmitter",aa)
| |
| 2987 | exp.Texture = "rbxassetid://341277531" | |
| 2988 | exp.LightEmission = 1 | |
| 2989 | exp.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 2990 | exp.Rate = 9000000000 | |
| 2991 | exp.Lifetime = NumberRange.new(1) | |
| 2992 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2993 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 2994 | exp.Speed = NumberRange.new(115) | |
| 2995 | exp.VelocitySpread = 9000000 | |
| 2996 | exp.Rotation = NumberRange.new(0,0) | |
| 2997 | exp.RotSpeed = NumberRange.new(0,0) | |
| 2998 | local expa = Instance.new("ParticleEmitter",aa)
| |
| 2999 | expa.Texture = "rbxassetid://341277531" | |
| 3000 | expa.LightEmission = 1 | |
| 3001 | expa.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 3002 | expa.Rate = 9000000000 | |
| 3003 | expa.Lifetime = NumberRange.new(2.75) | |
| 3004 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
| |
| 3005 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3006 | expa.Speed = NumberRange.new(115) | |
| 3007 | expa.VelocitySpread = 9000000 | |
| 3008 | expa.Rotation = NumberRange.new(0,0) | |
| 3009 | expa.RotSpeed = NumberRange.new(0,0) | |
| 3010 | local exp2 = exp:Clone() | |
| 3011 | exp2.Parent = aa | |
| 3012 | local exp3 = exp:Clone() | |
| 3013 | exp3.Parent = aa | |
| 3014 | local exp4 = exp:Clone() | |
| 3015 | exp4.Parent = aa | |
| 3016 | local exp5 = exp:Clone() | |
| 3017 | exp5.Parent = aa | |
| 3018 | local exp6 = exp:Clone() | |
| 3019 | exp6.Parent = aa | |
| 3020 | local exp7 = exp:Clone() | |
| 3021 | exp7.Parent = aa | |
| 3022 | local expa2 = expa:Clone() | |
| 3023 | expa2.Parent = aa | |
| 3024 | local expa3 = expa:Clone() | |
| 3025 | expa3.Parent = aa | |
| 3026 | local expa4 = expa:Clone() | |
| 3027 | expa4.Parent = aa | |
| 3028 | local expa5 = expa:Clone() | |
| 3029 | expa5.Parent = aa | |
| 3030 | local expa6 = expa:Clone() | |
| 3031 | expa6.Parent = aa | |
| 3032 | local expa7 = expa:Clone() | |
| 3033 | expa7.Parent = aa | |
| 3034 | for i = 0, 1 do | |
| 3035 | val = val - 0.025*7.5 | |
| 3036 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 3037 | wait() | |
| 3038 | end | |
| 3039 | exp.Rate = 0 | |
| 3040 | exp2.Rate = 0 | |
| 3041 | exp3.Rate = 0 | |
| 3042 | exp4.Rate = 0 | |
| 3043 | exp5.Rate = 0 | |
| 3044 | exp6.Rate = 0 | |
| 3045 | exp7.Rate = 0 | |
| 3046 | for i = 0, 1 do | |
| 3047 | val = val - 0.025*7.5 | |
| 3048 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 3049 | wait() | |
| 3050 | end | |
| 3051 | ff:Destroy() | |
| 3052 | hum.WalkSpeed = 17.8 | |
| 3053 | attack = false | |
| 3054 | expa.Rate = 0 | |
| 3055 | expa2.Rate = 0 | |
| 3056 | expa3.Rate = 0 | |
| 3057 | expa4.Rate = 0 | |
| 3058 | expa5.Rate = 0 | |
| 3059 | expa6.Rate = 0 | |
| 3060 | expa7.Rate = 0 | |
| 3061 | for i = 0, 21 do | |
| 3062 | val = val - 0.025*7.5 | |
| 3063 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 3064 | wait() | |
| 3065 | end | |
| 3066 | for i = 0, 74 do | |
| 3067 | val = val - 0.0145 | |
| 3068 | aa.Transparency = aa.Transparency + 0.0145 | |
| 3069 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 3070 | wait() | |
| 3071 | end | |
| 3072 | wait(5) | |
| 3073 | lb:Destroy() | |
| 3074 | end | |
| 3075 | ||
| 3076 | function InfernoDemise() | |
| 3077 | attack = true | |
| 3078 | chatfunc(" ")
| |
| 3079 | local tra = Instance.new("ParticleEmitter",handle)
| |
| 3080 | tra.Texture = "rbxassetid://341277531" | |
| 3081 | tra.LightEmission = 0.75 | |
| 3082 | tra.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 3083 | tra.Rate = 99999 | |
| 3084 | tra.Lifetime = NumberRange.new(0.25) | |
| 3085 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3086 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
| |
| 3087 | tra.Speed = NumberRange.new(0) | |
| 3088 | tra.Rotation = NumberRange.new(0,0) | |
| 3089 | tra.VelocitySpread = 90000 | |
| 3090 | tra.LockedToPart = true | |
| 3091 | tra.RotSpeed = NumberRange.new(0,0) | |
| 3092 | local tra2 = Instance.new("ParticleEmitter",handle)
| |
| 3093 | tra2.Texture = "http://www.roblox.com/asset/?id=341277531" | |
| 3094 | tra2.LightEmission = 1 | |
| 3095 | tra2.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 3096 | tra2.Rate = 50 | |
| 3097 | tra2.Lifetime = NumberRange.new(0.5) | |
| 3098 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 3099 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
| |
| 3100 | tra2.Speed = NumberRange.new(0) | |
| 3101 | tra2.Rotation = NumberRange.new(0,0) | |
| 3102 | tra2.VelocitySpread = 90000 | |
| 3103 | tra2.LockedToPart = true | |
| 3104 | tra2.RotSpeed = NumberRange.new(0,0) | |
| 3105 | for i = 0,1,0.1 do | |
| 3106 | swait() | |
| 3107 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
| 3108 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
| 3109 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3) | |
| 3110 | 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) | |
| 3111 | end | |
| 3112 | tra.Rate = 0 | |
| 3113 | tra2.Rate = 0 | |
| 3114 | local lb = Instance.new("Part")
| |
| 3115 | lb.Parent = char | |
| 3116 | lb.Material = "Neon" | |
| 3117 | lb.Color = BrickColor.new("Really black").Color
| |
| 3118 | lb.CanCollide = false | |
| 3119 | lb.Shape = "Ball" | |
| 3120 | lb.CFrame = mouse.Hit | |
| 3121 | lb.Anchored = true | |
| 3122 | lb.Transparency = 1 | |
| 3123 | lb.Size = vt(1,1,1) | |
| 3124 | local thing = Instance.new("SpecialMesh",lb)
| |
| 3125 | thing.MeshType = meshtype | |
| 3126 | for i = 0, 4 do | |
| 3127 | local lbr = Instance.new("Part")
| |
| 3128 | lbr.Parent = char | |
| 3129 | lbr.Material = "Neon" | |
| 3130 | lbr.Color = BrickColor.new("Really black").Color
| |
| 3131 | lbr.CanCollide = false | |
| 3132 | lbr.Shape = "Ball" | |
| 3133 | lbr.CFrame = lb.CFrame | |
| 3134 | lbr.Anchored = true | |
| 3135 | lbr.Transparency = 1 | |
| 3136 | lbr.Size = vt(1,1,1) | |
| 3137 | local thinga = Instance.new("SpecialMesh",lbr)
| |
| 3138 | thinga.MeshType = meshtype | |
| 3139 | thinga.Scale = vt(20*4.5,20*4.5,20*4.5) | |
| 3140 | for z = 0, 19 do | |
| 3141 | wait(0.025) | |
| 3142 | lbr.Transparency = lbr.Transparency - 0.05 | |
| 3143 | thinga.Scale = thinga.Scale - vt(1*4.5,1*4.5,1*4.5) | |
| 3144 | end | |
| 3145 | lbr:Destroy() | |
| 3146 | end | |
| 3147 | local aa = Instance.new("Part")
| |
| 3148 | local val = 1*6.25 | |
| 3149 | aa.Parent = lb | |
| 3150 | local exsound = Instance.new("Sound",aa)
| |
| 3151 | exsound.SoundId = "rbxassetid://919941001" | |
| 3152 | exsound.Volume = 4.5 | |
| 3153 | exsound.Pitch = 1 | |
| 3154 | exsound:Play() | |
| 3155 | aa.Material = "Neon" | |
| 3156 | aa.Color = BrickColor.new("Really black").Color
| |
| 3157 | aa.CanCollide = false | |
| 3158 | aa.Shape = "Ball" | |
| 3159 | aa.CFrame = lb.CFrame | |
| 3160 | aa.Anchored = true | |
| 3161 | aa.Transparency = 0 | |
| 3162 | aa.Size = vt(1,1,1) | |
| 3163 | local thinger = Instance.new("SpecialMesh",aa)
| |
| 3164 | thinger.MeshType = meshtype | |
| 3165 | thinger.Scale = vt(15*1.15,15*1.15,15*1.15) | |
| 3166 | local explosion = Instance.new("Explosion",aa)
| |
| 3167 | explosion.Position = aa.Position | |
| 3168 | explosion.BlastRadius = 35 | |
| 3169 | explosion.BlastPressure = 100 | |
| 3170 | local exp = Instance.new("ParticleEmitter",aa)
| |
| 3171 | exp.Texture = "rbxassetid://341277531" | |
| 3172 | exp.LightEmission = 1 | |
| 3173 | exp.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 3174 | exp.Rate = 9000000000 | |
| 3175 | exp.Lifetime = NumberRange.new(1) | |
| 3176 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3177 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3178 | exp.Speed = NumberRange.new(105) | |
| 3179 | exp.VelocitySpread = 9000000 | |
| 3180 | exp.Rotation = NumberRange.new(0,0) | |
| 3181 | exp.RotSpeed = NumberRange.new(0,0) | |
| 3182 | local expa = Instance.new("ParticleEmitter",aa)
| |
| 3183 | expa.Texture = "rbxassetid://296874871" | |
| 3184 | expa.LightEmission = 1 | |
| 3185 | expa.Color = ColorSequence.new(Color3.new(0/0,0/255)) | |
| 3186 | expa.Rate = 9000000000 | |
| 3187 | expa.Lifetime = NumberRange.new(2.75) | |
| 3188 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
| |
| 3189 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 3190 | expa.Speed = NumberRange.new(105) | |
| 3191 | expa.VelocitySpread = 9000000 | |
| 3192 | expa.Rotation = NumberRange.new(0,0) | |
| 3193 | expa.RotSpeed = NumberRange.new(0,0) | |
| 3194 | local exp2 = exp:Clone() | |
| 3195 | exp2.Parent = aa | |
| 3196 | local exp3 = exp:Clone() | |
| 3197 | exp3.Parent = aa | |
| 3198 | local exp4 = exp:Clone() | |
| 3199 | exp4.Parent = aa | |
| 3200 | local exp5 = exp:Clone() | |
| 3201 | exp5.Parent = aa | |
| 3202 | local exp6 = exp:Clone() | |
| 3203 | exp6.Parent = aa | |
| 3204 | local exp7 = exp:Clone() | |
| 3205 | exp7.Parent = aa | |
| 3206 | local expa2 = expa:Clone() | |
| 3207 | expa2.Parent = aa | |
| 3208 | local expa3 = expa:Clone() | |
| 3209 | expa3.Parent = aa | |
| 3210 | local expa4 = expa:Clone() | |
| 3211 | expa4.Parent = aa | |
| 3212 | local expa5 = expa:Clone() | |
| 3213 | expa5.Parent = aa | |
| 3214 | local expa6 = expa:Clone() | |
| 3215 | expa6.Parent = aa | |
| 3216 | local expa7 = expa:Clone() | |
| 3217 | expa7.Parent = aa | |
| 3218 | for i = 0, 1 do | |
| 3219 | val = val - 0.025*6.25 | |
| 3220 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 3221 | wait() | |
| 3222 | end | |
| 3223 | exp.Rate = 0 | |
| 3224 | exp2.Rate = 0 | |
| 3225 | exp3.Rate = 0 | |
| 3226 | exp4.Rate = 0 | |
| 3227 | exp5.Rate = 0 | |
| 3228 | exp6.Rate = 0 | |
| 3229 | exp7.Rate = 0 | |
| 3230 | for i = 0, 1 do | |
| 3231 | val = val - 0.025*6.25 | |
| 3232 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 3233 | wait() | |
| 3234 | end | |
| 3235 | attack = false | |
| 3236 | expa.Rate = 0 | |
| 3237 | expa2.Rate = 0 | |
| 3238 | expa3.Rate = 0 | |
| 3239 | expa4.Rate = 0 | |
| 3240 | expa5.Rate = 0 | |
| 3241 | expa6.Rate = 0 | |
| 3242 | expa7.Rate = 0 | |
| 3243 | for i = 0, 21 do | |
| 3244 | val = val - 0.025*6.25 | |
| 3245 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 3246 | wait() | |
| 3247 | end | |
| 3248 | for i = 0, 74 do | |
| 3249 | val = val - 0.0145 | |
| 3250 | aa.Transparency = aa.Transparency + 0.0145 | |
| 3251 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 3252 | wait() | |
| 3253 | end | |
| 3254 | wait(5) | |
| 3255 | lb:Destroy() | |
| 3256 | tra:Destroy() | |
| 3257 | tra2:Destroy() | |
| 3258 | end | |
| 3259 | ||
| 3260 | mouse.KeyDown:connect(function(key) | |
| 3261 | if key == "q" and attack == false then | |
| 3262 | InfernoComet() | |
| 3263 | end | |
| 3264 | if key == "|" and attack == false then | |
| 3265 | InfernoDemise() | |
| 3266 | end | |
| 3267 | if key == "r" and attack == false then | |
| 3268 | InfernoWrath() | |
| 3269 | end | |
| 3270 | if key == "f" and attack == false then | |
| 3271 | InfernoMeteor() | |
| 3272 | end | |
| 3273 | if key == "x" and attack == false then | |
| 3274 | InfernoHell() | |
| 3275 | end | |
| 3276 | end) | |
| 3277 | ||
| 3278 | game:GetService("RunService").Stepped:connect(function()
| |
| 3279 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 3280 | velocity = RootPart.Velocity.y | |
| 3281 | sine = sine + change | |
| 3282 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
| 3283 | if equipped == true or equipped == false then | |
| 3284 | healthg.Text = math.floor(hum.Health).. "/" ..math.floor(hum.MaxHealth) | |
| 3285 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 3286 | Anim = "Jump" | |
| 3287 | 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) | |
| 3288 | 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) | |
| 3289 | if attack == false then | |
| 3290 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
| 3291 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3) | |
| 3292 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(50)), 0.3) | |
| 3293 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3) | |
| 3294 | end | |
| 3295 | else | |
| 3296 | if RootPart.Velocity.y < -1 and hit == nil then | |
| 3297 | Anim = "Fall" | |
| 3298 | 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) | |
| 3299 | 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) | |
| 3300 | if attack == false then | |
| 3301 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
| 3302 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3) | |
| 3303 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(90)), 0.3) | |
| 3304 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
| 3305 | end | |
| 3306 | else | |
| 3307 | if Torsovelocity < 1 and hit ~= nil then | |
| 3308 | Anim = "Idle" | |
| 3309 | 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) | |
| 3310 | 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) | |
| 3311 | if attack == false then | |
| 3312 | change = 1 | |
| 3313 | 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) | |
| 3314 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(20)),.3) | |
| 3315 | 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) | |
| 3316 | 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) | |
| 3317 | end | |
| 3318 | else | |
| 3319 | if Torsovelocity > 2 and hit ~= nil then | |
| 3320 | Anim = "Walk" | |
| 3321 | 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) | |
| 3322 | 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) | |
| 3323 | if attack == false then | |
| 3324 | 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) | |
| 3325 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-25)),.3) | |
| 3326 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.35, -0.5) * angles(math.rad(20), math.rad(-30), math.rad(-90)), 0.3) | |
| 3327 | 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) | |
| 3328 | end | |
| 3329 | end | |
| 3330 | end | |
| 3331 | end | |
| 3332 | end | |
| 3333 | end | |
| 3334 | end) |