SHOW:
|
|
- or go back to the newest paste.
| 1 | --fixed by Scenius | |
| 2 | plr = game.Players.LocalPlayer | |
| 3 | repeat | |
| 4 | wait(0.4) | |
| 5 | until plr.Character | |
| 6 | chr = plr.Character | |
| 7 | human = chr:FindFirstChild("Humanoid")
| |
| 8 | mouse = plr:GetMouse() | |
| 9 | selected = false | |
| 10 | equipd = false | |
| 11 | tors = chr.Torso | |
| 12 | rarm = chr["Right Arm"] | |
| 13 | larm = chr["Left Arm"] | |
| 14 | rleg = chr["Right Leg"] | |
| 15 | lleg = chr["Left Leg"] | |
| 16 | hrp = chr.HumanoidRootPart | |
| 17 | head = chr.Head | |
| 18 | anim = human.Animator | |
| 19 | activu = false | |
| 20 | Heartbeat = Instance.new("BindableEvent")
| |
| 21 | Heartbeat.Name = "Heartbeat" | |
| 22 | Heartbeat.Parent = script | |
| 23 | frame = 0.03333333333333333 | |
| 24 | tf = 0 | |
| 25 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 26 | tf = tf + s | |
| 27 | if tf >= frame then | |
| 28 | for i = 1, math.floor(tf / frame) do | |
| 29 | Heartbeat:Fire() | |
| 30 | end | |
| 31 | tf = tf - frame * math.floor(tf / frame) | |
| 32 | end | |
| 33 | end) | |
| 34 | function swait(num) | |
| 35 | if num == 0 or num == nil then | |
| 36 | Heartbeat.Event:wait() | |
| 37 | else | |
| 38 | for i = 1, num do | |
| 39 | Heartbeat.Event:wait() | |
| 40 | end | |
| 41 | end | |
| 42 | end | |
| 43 | local Mus = Instance.new("Sound",chr)
| |
| 44 | - | Mus.SoundId = "rbxassetid://627727416" |
| 44 | + | Mus.SoundId = "rbxassetid://1254826809" |
| 45 | Mus.Pitch = 1 | |
| 46 | Mus.Volume = 1 | |
| 47 | Mus.Looped = true | |
| 48 | Mus:Play() | |
| 49 | tool = Instance.new("Tool")
| |
| 50 | tool.CanBeDropped = false | |
| 51 | tool.RequiresHandle = false | |
| 52 | tool.Name = "fir" | |
| 53 | tool.Parent = plr.Backpack | |
| 54 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 55 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 56 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 57 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 58 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 59 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 60 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 61 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 62 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 63 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 64 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 65 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 66 | RS = tors:FindFirstChild("Right Shoulder")
| |
| 67 | LS = tors:FindFirstChild("Left Shoulder")
| |
| 68 | RH = tors:FindFirstChild("Right Hip")
| |
| 69 | LH = tors:FindFirstChild("Left Hip")
| |
| 70 | RJ = hrp:FindFirstChild("RootJoint")
| |
| 71 | N = tors:FindFirstChild("Neck")
| |
| 72 | cf = CFrame.new | |
| 73 | ang = CFrame.Angles | |
| 74 | rd = math.rad | |
| 75 | rd2 = math.random | |
| 76 | function nooutline(p) | |
| 77 | p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10 | |
| 78 | end | |
| 79 | function makepart(color, name, reflec, mater, parnt, cfram) | |
| 80 | local port = Instance.new("Part")
| |
| 81 | port.BrickColor = BrickColor.new(color) | |
| 82 | port.Name = name | |
| 83 | nooutline(port) | |
| 84 | port.Reflectance = reflec | |
| 85 | port.Material = mater | |
| 86 | port.Anchored = false | |
| 87 | port.CanCollide = false | |
| 88 | port.Locked = true | |
| 89 | port.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 90 | port.Parent = parnt | |
| 91 | return port | |
| 92 | end | |
| 93 | function makemesh(meshtype, scale, meshid, parent) | |
| 94 | local mes = Instance.new("SpecialMesh")
| |
| 95 | mes.MeshType = meshtype | |
| 96 | mes.Scale = scale | |
| 97 | if meshtype == "FileMesh" then | |
| 98 | mes.MeshId = meshid | |
| 99 | end | |
| 100 | mes.Parent = parent | |
| 101 | return mes | |
| 102 | end | |
| 103 | function makeweld(parent, p0, p1, c0, c1) | |
| 104 | local wel = Instance.new("Weld")
| |
| 105 | wel.Part0 = p0 | |
| 106 | wel.Part1 = p1 | |
| 107 | wel.C0 = c0 | |
| 108 | if c1 ~= nil then | |
| 109 | wel.C1 = c1 | |
| 110 | end | |
| 111 | wel.Parent = parent | |
| 112 | return wel | |
| 113 | end | |
| 114 | function smokz(prnt) | |
| 115 | s = Instance.new("Smoke")
| |
| 116 | s.Color = Color3.new(1, 1, 1) | |
| 117 | s.Enabled = false | |
| 118 | s.Name = "smok" | |
| 119 | s.Opacity = 0.5 | |
| 120 | s.RiseVelocity = 0.2 | |
| 121 | s.Size = 0.1 | |
| 122 | s.Parent = prnt | |
| 123 | end | |
| 124 | function glow(tz, paz, smokinz, length) | |
| 125 | if tz.Parent:FindFirstChildOfClass("Humanoid") and paz.Transparency == 1 then
| |
| 126 | do | |
| 127 | local s = Instance.new("Sound")
| |
| 128 | s.SoundId = "rbxassetid://298181829" | |
| 129 | s.Volume = 0.25 | |
| 130 | s.Pitch = math.random(9, 11) / 10 | |
| 131 | s.Parent = paz | |
| 132 | s:Play() | |
| 133 | paz.Transparency = 0.7 | |
| 134 | if smokinz == true then | |
| 135 | paz.smok.Enabled = true | |
| 136 | end | |
| 137 | delay(length, function() | |
| 138 | paz.Transparency = 1 | |
| 139 | paz.smok.Enabled = false | |
| 140 | s:Destroy() | |
| 141 | end) | |
| 142 | end | |
| 143 | end | |
| 144 | end | |
| 145 | function makeglow() | |
| 146 | for _, p in pairs(chr:GetChildren()) do | |
| 147 | if p.ClassName == "Accessory" then | |
| 148 | do | |
| 149 | local h = p:FindFirstChildOfClass("Part")
| |
| 150 | local nh = h:Clone() | |
| 151 | nh.Parent = nil | |
| 152 | nh.CFrame = h.CFrame | |
| 153 | nh.Transparency = 1 | |
| 154 | nh.Name = "Glow" | |
| 155 | nh.Material = "Neon" | |
| 156 | - | nh.BrickColor = BrickColor.new("Bright orange")
|
| 156 | + | nh.BrickColor = BrickColor.new("Crimson")
|
| 157 | nh.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5) | |
| 158 | nh.Parent = h | |
| 159 | makeweld(nh, nh, h, cf(0, 0, 0)) | |
| 160 | local m = nh:FindFirstChildOfClass("SpecialMesh")
| |
| 161 | m.Scale = m.Scale + Vector3.new(0.06, 0.06, 0.06) | |
| 162 | m.TextureId = "" | |
| 163 | smokz(nh) | |
| 164 | nh.Touched:connect(function(po) | |
| 165 | glow(po, nh, true, 0.8) | |
| 166 | end) | |
| 167 | end | |
| 168 | elseif p.ClassName == "Part" and p ~= hrp then | |
| 169 | do | |
| 170 | local n = p:Clone() | |
| 171 | n.Parent = nil | |
| 172 | n.Transparency = 1 | |
| 173 | n.Material = "Neon" | |
| 174 | n.Name = "Glow" | |
| 175 | - | n.BrickColor = BrickColor.new("Bright orange")
|
| 175 | + | n.BrickColor = BrickColor.new("Crimson")
|
| 176 | n.CFrame = p.CFrame | |
| 177 | n.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5) | |
| 178 | n.Parent = p | |
| 179 | makeweld(n, n, p, cf(0, 0, 0)) | |
| 180 | smokz(n) | |
| 181 | n.Touched:connect(function(po) | |
| 182 | glow(po, n, true, 0.8) | |
| 183 | end) | |
| 184 | if n:FindFirstChildOfClass("Decal") then
| |
| 185 | n:FindFirstChildOfClass("Decal"):Destroy()
| |
| 186 | end | |
| 187 | if p:FindFirstChildOfClass("SpecialMesh") then
| |
| 188 | local c = p:FindFirstChildOfClass("SpecialMesh"):Clone()
| |
| 189 | c.Parent = nil | |
| 190 | c.Scale = c.Scale + Vector3.new(0.05, 0.05, 0.05) | |
| 191 | c.Parent = n | |
| 192 | else | |
| 193 | local m = Instance.new("BlockMesh")
| |
| 194 | m.Scale = Vector3.new(1.05, 1.025, 1.05) | |
| 195 | if p == tors then | |
| 196 | m.Scale = Vector3.new(1.05, 1.05, 1.05) | |
| 197 | end | |
| 198 | m.Parent = n | |
| 199 | end | |
| 200 | end | |
| 201 | end | |
| 202 | end | |
| 203 | end | |
| 204 | makeglow() | |
| 205 | function fglow(glopart, duration) | |
| 206 | for _ = 1, 4 do | |
| 207 | swait() | |
| 208 | glopart.Transparency = glopart.Transparency - 0.075 | |
| 209 | end | |
| 210 | delay(duration, function() | |
| 211 | for _ = 1, 4 do | |
| 212 | swait() | |
| 213 | glopart.Transparency = glopart.Transparency + 0.075 | |
| 214 | end | |
| 215 | end) | |
| 216 | end | |
| 217 | function lerpz(joint, prop, cfrmz, alp) | |
| 218 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
| 219 | end | |
| 220 | function resetlerp() | |
| 221 | RJ.C0 = RJC0 | |
| 222 | RJ.C1 = RJC1 | |
| 223 | N.C0 = NC0 | |
| 224 | N.C1 = NC1 | |
| 225 | RS.C0 = RSC0 | |
| 226 | RS.C1 = RSC1 | |
| 227 | LS.C0 = LSC0 | |
| 228 | LS.C1 = LSC1 | |
| 229 | RH.C0 = RHC0 | |
| 230 | RH.C1 = RHC1 | |
| 231 | LH.C0 = LHC0 | |
| 232 | end | |
| 233 | ||
| 234 | ||
| 235 | ||
| 236 | ||
| 237 | ||
| 238 | ||
| 239 | ||
| 240 | ||
| 241 | ||
| 242 | ||
| 243 | ||
| 244 | function RFistDamage() | |
| 245 | ||
| 246 | end | |
| 247 | function rsmash() | |
| 248 | if activu == true or selected == false then | |
| 249 | return | |
| 250 | end | |
| 251 | coroutine.resume(coroutine.create(function() | |
| 252 | fglow(rarm.Glow, 3) | |
| 253 | end)) | |
| 254 | activu = true | |
| 255 | ||
| 256 | human.WalkSpeed = human.WalkSpeed - 13 | |
| 257 | animo(false) | |
| 258 | local Mus = Instance.new("Sound",workspace)
| |
| 259 | Mus.SoundId = "rbxassetid://624164065" | |
| 260 | Mus.Pitch = 1.1 | |
| 261 | Mus.Volume = 1 | |
| 262 | Mus.Looped = false | |
| 263 | wait(0.3) | |
| 264 | Mus:Play() | |
| 265 | local pe = Instance.new("ParticleEmitter")
| |
| 266 | - | pe.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 266 | + | pe.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 267 | pe.LightEmission = 0.9 | |
| 268 | pe.Size = NumberSequence.new(0.5) | |
| 269 | pe.Texture = "rbxassetid://272050333" | |
| 270 | pe.Transparency = NumberSequence.new(0.1) | |
| 271 | pe.Lifetime = NumberRange.new(0.1) | |
| 272 | pe.Rate = 1 | |
| 273 | pe.RotSpeed = NumberRange.new(360) | |
| 274 | pe.Speed = NumberRange.new(3) | |
| 275 | pe.VelocitySpread = 360 | |
| 276 | pe.Parent = rarm.Glow | |
| 277 | local pe2 = Instance.new("ParticleEmitter")
| |
| 278 | - | pe2.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 278 | + | pe2.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 279 | pe2.LightEmission = 0.9 | |
| 280 | pe2.Size = NumberSequence.new(5) | |
| 281 | pe2.Texture = "rbxassetid://516107903" | |
| 282 | pe2.Transparency = NumberSequence.new(0.4) | |
| 283 | pe2.ZOffset = 2 | |
| 284 | pe2.Enabled = false | |
| 285 | pe2.LockedToPart = true | |
| 286 | pe2.Lifetime = NumberRange.new(0.07) | |
| 287 | pe2.Rate = 8 | |
| 288 | pe2.Rotation = NumberRange.new(0, 360) | |
| 289 | pe2.RotSpeed = NumberRange.new(0) | |
| 290 | pe2.Speed = NumberRange.new(0) | |
| 291 | pe2.VelocitySpread = 180 | |
| 292 | pe2.Parent = rarm.Glow | |
| 293 | for _ = 1, 45 do | |
| 294 | swait() | |
| 295 | lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2) | |
| 296 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2) | |
| 297 | lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(25, 35)), rd(rd2(-15, -5)), rd(rd2(80, 90))), 0.2) | |
| 298 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 299 | lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2) | |
| 300 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2) | |
| 301 | lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2) | |
| 302 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 303 | lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2) | |
| 304 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 305 | pe.Rate = pe.Rate + 25 | |
| 306 | end | |
| 307 | pe2.Enabled = true | |
| 308 | pe.Speed = NumberRange.new(10) | |
| 309 | for _ = 1, 30 do | |
| 310 | swait() | |
| 311 | lerpz(RJ, "C0", RJC0 * cf(0, 1.2, -0.2) * ang(rd(5), rd(6), rd(-109)), 0.2) | |
| 312 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-6), rd(96)), 0.2) | |
| 313 | lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(10, 20)), rd(rd2(-25, -15)), rd(rd2(100, 110))), 0.2) | |
| 314 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-46)), 0.2) | |
| 315 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.2) | |
| 316 | lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.2) | |
| 317 | lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2) | |
| 318 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.2) | |
| 319 | ||
| 320 | end | |
| 321 | for l = 1, 3 do | |
| 322 | swait() | |
| 323 | lerpz(RJ, "C0", RJC0 * cf(0.4, -1.6, -0.2) * ang(rd(5), rd(6), rd(60)), 0.3 + l / 4) | |
| 324 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-4), rd(-35)), 0.3 + l / 4) | |
| 325 | lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(-58), rd(95)), 0.3 + l / 4) | |
| 326 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.3 + l / 4) | |
| 327 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-66)), 0.3 + l / 4) | |
| 328 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.3 + l / 4) | |
| 329 | lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.3 + l / 4) | |
| 330 | lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.3 + l / 4) | |
| 331 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.3 + l / 4) | |
| 332 | end | |
| 333 | pe:Destroy() | |
| 334 | pe2:Destroy() | |
| 335 | for i = 1,10 do | |
| 336 | KABOOMZ() | |
| 337 | wait(.5) | |
| 338 | end | |
| 339 | rarm.Glow.smok.Enabled = true | |
| 340 | for _ = 1, 8 do | |
| 341 | swait() | |
| 342 | lerpz(RJ, "C0", RJC0 * cf(1.5, -1.6, -0.7) * ang(rd(5), rd(18), rd(95)), 0.8) | |
| 343 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-10), rd(-15)), 0.8) | |
| 344 | lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(40), rd(65)), 0.8) | |
| 345 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.8) | |
| 346 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-86)), 0.8) | |
| 347 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.8) | |
| 348 | lerpz(RH, "C0", RHC0 * cf(0, 0.7, 0) * ang(rd(-6), rd(-39), rd(24)), 0.8) | |
| 349 | lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-20)), 0.8) | |
| 350 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.8) | |
| 351 | end | |
| 352 | wait(1.5) | |
| 353 | animo(true) | |
| 354 | human.WalkSpeed = human.WalkSpeed + 13 | |
| 355 | for _ = 1, 24 do | |
| 356 | swait() | |
| 357 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 358 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 359 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 360 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 361 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 362 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 363 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 364 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 365 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 366 | end | |
| 367 | resetlerp() | |
| 368 | rarm.Glow.smok.Enabled = false | |
| 369 | activu = false | |
| 370 | end | |
| 371 | ||
| 372 | ||
| 373 | ||
| 374 | ||
| 375 | local debris=game:service"Debris" | |
| 376 | vt = Vector3.new | |
| 377 | bc = BrickColor.new | |
| 378 | ||
| 379 | ||
| 380 | ||
| 381 | ||
| 382 | ||
| 383 | ||
| 384 | ||
| 385 | ||
| 386 | ||
| 387 | ||
| 388 | ||
| 389 | ||
| 390 | function Ring() | |
| 391 | ||
| 392 | ||
| 393 | local effspwn = Instance.new("Part")
| |
| 394 | local model = Instance.new("Model")
| |
| 395 | game.Debris:AddItem(model, 20) | |
| 396 | model.Name = "smasheffects" | |
| 397 | model.Parent = workspace | |
| 398 | effspwn.Name = "spwnr" | |
| 399 | effspwn.Size = Vector3.new(1, 1, 1) | |
| 400 | effspwn.Anchored = true | |
| 401 | effspwn.CanCollide = false | |
| 402 | effspwn.Transparency = 1 | |
| 403 | effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
| 404 | effspwn.Parent = model | |
| 405 | ||
| 406 | for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do | |
| 407 | if v:FindFirstChild('Humanoid') then
| |
| 408 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
| 409 | v.Humanoid.PlatformStand = true | |
| 410 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
| |
| 411 | end | |
| 412 | end | |
| 413 | coroutine.resume(coroutine.create(function() | |
| 414 | local shok = Instance.new("Part")
| |
| 415 | shok.Name = "wring1" | |
| 416 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 416 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 417 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 418 | shok.Size = Vector3.new(1, 1, 1) | |
| 419 | shok.Anchored = true | |
| 420 | shok.Material = "Neon" | |
| 421 | shok.Transparency = 0.25 | |
| 422 | shok.CanCollide = false | |
| 423 | shok.Parent = model | |
| 424 | game.Debris:AddItem(shok, 12) | |
| 425 | local mesh = Instance.new("SpecialMesh")
| |
| 426 | mesh.MeshType = "FileMesh" | |
| 427 | mesh.MeshId = "rbxassetid://3270017" | |
| 428 | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) | |
| 429 | mesh.Parent = shok | |
| 430 | for e = 1, 30 do | |
| 431 | wait() | |
| 432 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3) | |
| 433 | shok.Transparency = shok.Transparency + 0.002 | |
| 434 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 435 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 436 | end | |
| 437 | for e = 1, 38 do | |
| 438 | wait() | |
| 439 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
| 440 | shok.Transparency = shok.Transparency + 0.002 | |
| 441 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 442 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 443 | end | |
| 444 | for e = 1, 24 do | |
| 445 | wait() | |
| 446 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
| 447 | shok.Transparency = shok.Transparency + 0.03 | |
| 448 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 449 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 450 | end | |
| 451 | end)) | |
| 452 | coroutine.resume(coroutine.create(function() | |
| 453 | local shok = Instance.new("Part")
| |
| 454 | shok.Name = "wring2" | |
| 455 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 455 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 456 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 457 | shok.Size = Vector3.new(1, 1, 1) | |
| 458 | shok.Anchored = true | |
| 459 | shok.Material = "Neon" | |
| 460 | shok.Transparency = 0.25 | |
| 461 | shok.CanCollide = false | |
| 462 | shok.Parent = model | |
| 463 | game.Debris:AddItem(shok, 12) | |
| 464 | local mesh = Instance.new("SpecialMesh")
| |
| 465 | mesh.MeshType = "FileMesh" | |
| 466 | mesh.MeshId = "rbxassetid://3270017" | |
| 467 | mesh.Scale = Vector3.new(12, 12, 0.05) | |
| 468 | mesh.Parent = shok | |
| 469 | for e = 1, 30 do | |
| 470 | wait() | |
| 471 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3) | |
| 472 | shok.Transparency = shok.Transparency + 0.002 | |
| 473 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 474 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 475 | end | |
| 476 | for e = 1, 38 do | |
| 477 | wait() | |
| 478 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
| 479 | shok.Transparency = shok.Transparency + 0.002 | |
| 480 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 481 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 482 | end | |
| 483 | for e = 1, 24 do | |
| 484 | wait() | |
| 485 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
| 486 | shok.Transparency = shok.Transparency + 0.03 | |
| 487 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 488 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 489 | end | |
| 490 | end)) | |
| 491 | ||
| 492 | coroutine.resume(coroutine.create(function() | |
| 493 | local shok = Instance.new("Part")
| |
| 494 | shok.Name = "shokwve" | |
| 495 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 495 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 496 | shok.Position = effspwn.Position + Vector3.new(0, 5, 0) | |
| 497 | shok.Size = Vector3.new(1, 1, 1) | |
| 498 | shok.Anchored = true | |
| 499 | shok.Material = "Neon" | |
| 500 | shok.Transparency = 0.6 | |
| 501 | shok.CanCollide = false | |
| 502 | shok.Parent = model | |
| 503 | game.Debris:AddItem(shok, 12) | |
| 504 | local mesh = Instance.new("SpecialMesh")
| |
| 505 | mesh.MeshType = "FileMesh" | |
| 506 | mesh.MeshId = "rbxassetid://489415447" | |
| 507 | mesh.Scale = Vector3.new(1, 1, 1) | |
| 508 | mesh.Parent = shok | |
| 509 | for e = 1, 12 do | |
| 510 | wait() | |
| 511 | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) | |
| 512 | shok.Transparency = shok.Transparency + 0.002 | |
| 513 | end | |
| 514 | for e = 1, 32 do | |
| 515 | wait() | |
| 516 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
| 517 | shok.Transparency = shok.Transparency + 0.002 | |
| 518 | end | |
| 519 | for e = 1, 24 do | |
| 520 | wait() | |
| 521 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
| 522 | shok.Transparency = shok.Transparency + 0.03 | |
| 523 | end | |
| 524 | end)) | |
| 525 | coroutine.resume(coroutine.create(function() | |
| 526 | local shok = Instance.new("Part")
| |
| 527 | shok.Name = "shock2" | |
| 528 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 528 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 529 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 530 | shok.Size = Vector3.new(1, 1, 1) | |
| 531 | shok.Anchored = true | |
| 532 | shok.Material = "Neon" | |
| 533 | shok.Transparency = 0.35 | |
| 534 | shok.CanCollide = false | |
| 535 | shok.Parent = model | |
| 536 | game.Debris:AddItem(shok, 12) | |
| 537 | local mesh = Instance.new("SpecialMesh")
| |
| 538 | mesh.MeshType = "FileMesh" | |
| 539 | mesh.MeshId = "rbxassetid://489415447" | |
| 540 | mesh.Scale = Vector3.new(12, 12, 12) | |
| 541 | mesh.Parent = shok | |
| 542 | for e = 1, 15 do | |
| 543 | wait() | |
| 544 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 545 | shok.Transparency = shok.Transparency + 0.004 | |
| 546 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 547 | end | |
| 548 | for e = 1, 16 do | |
| 549 | wait() | |
| 550 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 551 | shok.Transparency = shok.Transparency + 0.004 | |
| 552 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 553 | end | |
| 554 | for e = 1, 12 do | |
| 555 | wait() | |
| 556 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 557 | shok.Transparency = shok.Transparency + 0.06 | |
| 558 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 559 | end | |
| 560 | end)) | |
| 561 | coroutine.resume(coroutine.create(function() | |
| 562 | local shok = Instance.new("Part")
| |
| 563 | shok.Name = "shock3" | |
| 564 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 564 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 565 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 566 | shok.Size = Vector3.new(1, 1, 1) | |
| 567 | shok.Anchored = true | |
| 568 | shok.Material = "Neon" | |
| 569 | shok.Transparency = 0.35 | |
| 570 | shok.CanCollide = false | |
| 571 | shok.Parent = model | |
| 572 | game.Debris:AddItem(shok, 12) | |
| 573 | local mesh = Instance.new("SpecialMesh")
| |
| 574 | mesh.MeshType = "FileMesh" | |
| 575 | mesh.MeshId = "rbxassetid://489415447" | |
| 576 | mesh.Scale = Vector3.new(12, 12, 12) | |
| 577 | mesh.Parent = shok | |
| 578 | for e = 1, 15 do | |
| 579 | wait() | |
| 580 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 581 | shok.Transparency = shok.Transparency + 0.004 | |
| 582 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 583 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 584 | end | |
| 585 | for e = 1, 16 do | |
| 586 | wait() | |
| 587 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 588 | shok.Transparency = shok.Transparency + 0.004 | |
| 589 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 590 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 591 | end | |
| 592 | for e = 1, 12 do | |
| 593 | wait() | |
| 594 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
| 595 | shok.Transparency = shok.Transparency + 0.06 | |
| 596 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 597 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 598 | end | |
| 599 | end)) | |
| 600 | ||
| 601 | end | |
| 602 | function Landing() | |
| 603 | ||
| 604 | ||
| 605 | ||
| 606 | ||
| 607 | ||
| 608 | ||
| 609 | ROW = function(out, trans, s, wt, t, ang, plus) | |
| 610 | for i = 1, 360, 360/t do | |
| 611 | local c = Instance.new("Part", game.Workspace)
| |
| 612 | c.FormFactor = 3 | |
| 613 | c.TopSurface = 0 | |
| 614 | c.BottomSurface = 0 | |
| 615 | c.Size = s | |
| 616 | c.Anchored = true | |
| 617 | c.CanCollide = wt | |
| 618 | c.Material=workspace.Base.Material | |
| 619 | c.Transparency = trans | |
| 620 | c.BrickColor = workspace.Base.BrickColor | |
| 621 | c.CFrame = CFrame.new(tors.CFrame.x,0,tors.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
| 622 | c.Locked=true | |
| 623 | game.Debris:AddItem(c,15) | |
| 624 | end | |
| 625 | end | |
| 626 | ||
| 627 | ||
| 628 | ||
| 629 | ||
| 630 | ||
| 631 | ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
| 632 | Ring() | |
| 633 | ||
| 634 | ||
| 635 | ||
| 636 | ||
| 637 | ||
| 638 | end | |
| 639 | ||
| 640 | ||
| 641 | ||
| 642 | ||
| 643 | ||
| 644 | ||
| 645 | ||
| 646 | function newRay(start,face,range,wat) | |
| 647 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
| 648 | hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
| 649 | return rey,hit,pos | |
| 650 | end | |
| 651 | ||
| 652 | ||
| 653 | ||
| 654 | ||
| 655 | function jum() | |
| 656 | if activu == true or selected == false then | |
| 657 | return | |
| 658 | end | |
| 659 | coroutine.resume(coroutine.create(function() | |
| 660 | fglow(rleg.Glow, 1) | |
| 661 | fglow(lleg.Glow, 1) | |
| 662 | end)) | |
| 663 | activu = true | |
| 664 | human.WalkSpeed = human.WalkSpeed - 13 | |
| 665 | local pe = Instance.new("ParticleEmitter")
| |
| 666 | - | pe.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 666 | + | pe.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 667 | pe.LightEmission = 0.9 | |
| 668 | pe.Size = NumberSequence.new(0.5) | |
| 669 | pe.Texture = "rbxassetid://272050333" | |
| 670 | pe.Transparency = NumberSequence.new(0.1) | |
| 671 | pe.Lifetime = NumberRange.new(0.1) | |
| 672 | pe.Rate = 250 | |
| 673 | pe.RotSpeed = NumberRange.new(360) | |
| 674 | pe.Speed = NumberRange.new(3) | |
| 675 | pe.VelocitySpread = 360 | |
| 676 | pe.Parent = rleg.Glow | |
| 677 | local pea = pe:Clone() | |
| 678 | pea.Parent = lleg.Glow | |
| 679 | local pe2 = Instance.new("ParticleEmitter")
| |
| 680 | - | pe2.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 680 | + | pe2.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 681 | pe2.LightEmission = 0.9 | |
| 682 | pe2.Size = NumberSequence.new(5) | |
| 683 | pe2.Texture = "rbxassetid://516107903" | |
| 684 | pe2.Transparency = NumberSequence.new(0.4) | |
| 685 | pe2.ZOffset = 2 | |
| 686 | pe2.Enabled = true | |
| 687 | pe2.LockedToPart = true | |
| 688 | pe2.Lifetime = NumberRange.new(0.07) | |
| 689 | pe2.Rate = 8 | |
| 690 | pe2.Rotation = NumberRange.new(0, 360) | |
| 691 | pe2.RotSpeed = NumberRange.new(0) | |
| 692 | pe2.Speed = NumberRange.new(0) | |
| 693 | pe2.VelocitySpread = 180 | |
| 694 | pe2.Parent = lleg.Glow | |
| 695 | local pea2 = pe2:Clone() | |
| 696 | pea2.Parent = rleg.Glow | |
| 697 | for l = 1, 30 do | |
| 698 | swait() | |
| 699 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40) | |
| 700 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40) | |
| 701 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40) | |
| 702 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
| 703 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40) | |
| 704 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
| 705 | lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40) | |
| 706 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
| 707 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40) | |
| 708 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
| 709 | end | |
| 710 | pe:Destroy() | |
| 711 | pe2:Destroy() | |
| 712 | pea:Destroy() | |
| 713 | pea2:Destroy() | |
| 714 | human.WalkSpeed = 50 | |
| 715 | BV = Instance.new("BodyVelocity", tors)
| |
| 716 | BV.maxForce = Vector3.new(0,100000,0) | |
| 717 | BV.P = 100000 | |
| 718 | BV.velocity = Vector3.new(0,800,0) | |
| 719 | KABOOMZ2() | |
| 720 | coroutine.resume(coroutine.create(function() | |
| 721 | swait(3) | |
| 722 | BV:Destroy() | |
| 723 | end)) | |
| 724 | for _ = 1, 18 do | |
| 725 | swait() | |
| 726 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-3), rd(0), rd(0)), 0.6) | |
| 727 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-12), rd(0), rd(0)), 0.6) | |
| 728 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-9), rd(-9), rd(-15)), 0.6) | |
| 729 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 730 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-9), rd(9), rd(15)), 0.6) | |
| 731 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 732 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(-12)), 0.6) | |
| 733 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 734 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(12)), 0.6) | |
| 735 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 736 | end | |
| 737 | for _ = 1, 18 do | |
| 738 | swait() | |
| 739 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 740 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 741 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 742 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 743 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 744 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 745 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 746 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 747 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 748 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 749 | end | |
| 750 | resetlerp() | |
| 751 | local ry,ht,ps=nil,nil,nil | |
| 752 | while ht==nil do | |
| 753 | ry,ht,ps=newRay(hrp.CFrame*CFrame.new(0,-2,0),hrp.CFrame*CFrame.new(0,-3,0),4.1,{chr})
| |
| 754 | wait() | |
| 755 | end | |
| 756 | human.WalkSpeed = 0 | |
| 757 | Landing() | |
| 758 | z = Instance.new("Sound",tors)
| |
| 759 | z.SoundId = "rbxassetid://142070127" | |
| 760 | z.Volume = 2 | |
| 761 | wait(.1) | |
| 762 | z:Play() | |
| 763 | ||
| 764 | for l = 1, 30 do | |
| 765 | swait() | |
| 766 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40) | |
| 767 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40) | |
| 768 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40) | |
| 769 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
| 770 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40) | |
| 771 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
| 772 | lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40) | |
| 773 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
| 774 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40) | |
| 775 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
| 776 | end | |
| 777 | resetlerp() | |
| 778 | human.WalkSpeed = 16 | |
| 779 | ||
| 780 | activu = false | |
| 781 | end | |
| 782 | ||
| 783 | ||
| 784 | ||
| 785 | local acos = math.acos | |
| 786 | local sqrt = math.sqrt | |
| 787 | local Vec3 = Vector3.new | |
| 788 | local fromAxisAngle = CFrame.fromAxisAngle | |
| 789 | ||
| 790 | local function toAxisAngle(CFr) | |
| 791 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
| 792 | local Angle = math.acos((R00+R11+R22-1)/2) | |
| 793 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 794 | A = A == 0 and 0.00001 or A | |
| 795 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 796 | B = B == 0 and 0.00001 or B | |
| 797 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 798 | C = C == 0 and 0.00001 or C | |
| 799 | local x = (R21-R12)/sqrt(A) | |
| 800 | local y = (R02-R20)/sqrt(B) | |
| 801 | local z = (R10-R01)/sqrt(C) | |
| 802 | return Vec3(x,y,z),Angle | |
| 803 | end | |
| 804 | ||
| 805 | function ApplyTrig(Num,Func) | |
| 806 | local Min,Max = Func(0),Func(1) | |
| 807 | local i = Func(Num) | |
| 808 | return (i-Min)/(Max-Min) | |
| 809 | --[[if Func == "sin" then | |
| 810 | return (math.sin((1-Num)*math.pi)+1)/2 | |
| 811 | elseif Func == "cos" then | |
| 812 | return (math.cos((1-Num)*math.pi)+1)/2 | |
| 813 | end]] | |
| 814 | end | |
| 815 | ||
| 816 | function LerpCFrame(CFrame1,CFrame2,Num) | |
| 817 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
| 818 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
| 819 | end | |
| 820 | ||
| 821 | function Crater(Torso,Radius) | |
| 822 | spawn(function() | |
| 823 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
| 824 | local Ignore = {}
| |
| 825 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 826 | if v.Character ~= nil then | |
| 827 | Ignore[#Ignore+1] = v.Character | |
| 828 | end | |
| 829 | end | |
| 830 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
| 831 | if Hit == nil then return end | |
| 832 | local Parts = {}
| |
| 833 | for i = 1,360,10 do | |
| 834 | local P = Instance.new("Part",Torso.Parent)
| |
| 835 | P.Anchored = true | |
| 836 | P.FormFactor = "Custom" | |
| 837 | P.BrickColor = Hit.BrickColor | |
| 838 | P.Material = Hit.Material | |
| 839 | P.TopSurface = "Smooth" | |
| 840 | P.BottomSurface = "Smooth" | |
| 841 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
| 842 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
| 843 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
| |
| 844 | if math.random(0,5) == 0 then -- rubble | |
| 845 | local P = Instance.new("Part",Torso.Parent)
| |
| 846 | P.Anchored = true | |
| 847 | P.FormFactor = "Custom" | |
| 848 | P.BrickColor = Hit.BrickColor | |
| 849 | P.Material = Hit.Material | |
| 850 | P.TopSurface = "Smooth" | |
| 851 | P.BottomSurface = "Smooth" | |
| 852 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
| 853 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
| 854 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
| |
| 855 | end | |
| 856 | end | |
| 857 | for i = 0,1,0.05 do | |
| 858 | for i2,v in pairs(Parts) do | |
| 859 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
| 860 | end | |
| 861 | wait(0.02) | |
| 862 | end | |
| 863 | for i,v in pairs(Parts) do | |
| 864 | if v[1].Size.X > 2.1 then | |
| 865 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
| 866 | end | |
| 867 | v[1].Anchored = false | |
| 868 | end | |
| 869 | for i = 0,1,0.05 do | |
| 870 | for i2,v in pairs(Parts) do | |
| 871 | v[1].Transparency = i | |
| 872 | if i == 1 then | |
| 873 | v[1]:Destroy() | |
| 874 | elseif i >= 0.25 then | |
| 875 | v[1].CanCollide = false | |
| 876 | end | |
| 877 | end | |
| 878 | wait(0.02) | |
| 879 | end | |
| 880 | Parts = nil | |
| 881 | end) | |
| 882 | end | |
| 883 | ||
| 884 | ||
| 885 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 886 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 887 | local List = {}
| |
| 888 | for i,v in pairs(workspace:GetChildren())do | |
| 889 | if v:IsA("Model")then
| |
| 890 | if v:findFirstChild("Torso")then
| |
| 891 | if v ~= chr then | |
| 892 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 893 | table.insert(List,v) | |
| 894 | end | |
| 895 | end | |
| 896 | end | |
| 897 | end | |
| 898 | end | |
| 899 | return List | |
| 900 | end | |
| 901 | ||
| 902 | function KABOOMZ() | |
| 903 | local effspwn = Instance.new("Part")
| |
| 904 | coroutine.resume(coroutine.create(function() | |
| 905 | local sound1 = Instance.new("Sound")
| |
| 906 | sound1.SoundId = "rbxassetid://138137702" | |
| 907 | sound1.MaxDistance = 300 | |
| 908 | sound1.EmitterSize = 20 | |
| 909 | sound1.Volume = 5 | |
| 910 | sound1.Pitch = 0.95 | |
| 911 | sound1.Parent = effspwn | |
| 912 | local sound2 = Instance.new("Sound")
| |
| 913 | sound2.SoundId = "rbxassetid://157878578" | |
| 914 | sound2.MaxDistance = 300 | |
| 915 | sound2.EmitterSize = 20 | |
| 916 | sound2.Volume = 2 | |
| 917 | sound2.Pitch = 0.9 | |
| 918 | sound2.Parent = effspwn | |
| 919 | local sound3 = Instance.new("Sound")
| |
| 920 | sound3.SoundId = "rbxassetid://138250406" | |
| 921 | sound2.MaxDistance = 400 | |
| 922 | sound2.EmitterSize = 30 | |
| 923 | sound2.Volume = 1.5 | |
| 924 | sound2.Pitch = 0.6 | |
| 925 | sound2.Parent = effspwn | |
| 926 | sound2:Play() | |
| 927 | wait() | |
| 928 | sound1:Play() | |
| 929 | sound3:Play() | |
| 930 | end)) | |
| 931 | local model = Instance.new("Model")
| |
| 932 | game.Debris:AddItem(model, 20) | |
| 933 | model.Name = "smasheffects" | |
| 934 | model.Parent = workspace | |
| 935 | effspwn.Name = "spwnr" | |
| 936 | effspwn.Size = Vector3.new(1, 1, 1) | |
| 937 | effspwn.Anchored = true | |
| 938 | effspwn.CanCollide = false | |
| 939 | effspwn.Transparency = 1 | |
| 940 | effspwn.CFrame = rarm.CFrame * CFrame.new(0, -0.7, 0) | |
| 941 | effspwn.Parent = model | |
| 942 | ||
| 943 | Crater(head,60) | |
| 944 | ||
| 945 | for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do | |
| 946 | if v:FindFirstChild('Humanoid') then
| |
| 947 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
| 948 | v.Humanoid.PlatformStand = true | |
| 949 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
| |
| 950 | end | |
| 951 | end | |
| 952 | coroutine.resume(coroutine.create(function() | |
| 953 | local shok = Instance.new("Part")
| |
| 954 | shok.Name = "whoosh" | |
| 955 | - | shok.BrickColor = BrickColor.new("Bright orange")
|
| 955 | + | shok.BrickColor = BrickColor.new("Crimson")
|
| 956 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 957 | shok.Size = Vector3.new(1, 1, 1) | |
| 958 | shok.Anchored = true | |
| 959 | shok.Material = "Neon" | |
| 960 | shok.Transparency = 0.1 | |
| 961 | shok.CanCollide = false | |
| 962 | shok.Parent = model | |
| 963 | game.Debris:AddItem(shok, 12) | |
| 964 | local mesh = Instance.new("SpecialMesh")
| |
| 965 | mesh.MeshType = "FileMesh" | |
| 966 | mesh.MeshId = "rbxassetid://437347603" | |
| 967 | mesh.Scale = Vector3.new(0.8, 0.8, 0.3) | |
| 968 | mesh.Parent = shok | |
| 969 | for e = 1, 8 do | |
| 970 | wait() | |
| 971 | mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22) | |
| 972 | shok.Transparency = shok.Transparency + 0.035 | |
| 973 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -14), 0.4) | |
| 974 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29)) | |
| 975 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 976 | end | |
| 977 | for e = 1, 16 do | |
| 978 | wait() | |
| 979 | mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12) | |
| 980 | shok.Transparency = shok.Transparency + 0.11 | |
| 981 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -5), 0.4) | |
| 982 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15)) | |
| 983 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 984 | end | |
| 985 | end)) | |
| 986 | coroutine.resume(coroutine.create(function() | |
| 987 | local shok = Instance.new("Part")
| |
| 988 | shok.Name = "wring1" | |
| 989 | - | shok.BrickColor = BrickColor.new("Bright orange")
|
| 989 | + | shok.BrickColor = BrickColor.new("Crimson")
|
| 990 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 991 | shok.Size = Vector3.new(1, 1, 1) | |
| 992 | shok.Anchored = true | |
| 993 | shok.Material = "Neon" | |
| 994 | shok.Transparency = 0.25 | |
| 995 | shok.CanCollide = false | |
| 996 | shok.Parent = model | |
| 997 | game.Debris:AddItem(shok, 12) | |
| 998 | local mesh = Instance.new("SpecialMesh")
| |
| 999 | mesh.MeshType = "FileMesh" | |
| 1000 | mesh.MeshId = "rbxassetid://3270017" | |
| 1001 | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) | |
| 1002 | mesh.Parent = shok | |
| 1003 | for e = 1, 30 do | |
| 1004 | wait() | |
| 1005 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3) | |
| 1006 | shok.Transparency = shok.Transparency + 0.002 | |
| 1007 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 1008 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 1009 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1010 | ||
| 1011 | end | |
| 1012 | for e = 1, 38 do | |
| 1013 | wait() | |
| 1014 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
| 1015 | shok.Transparency = shok.Transparency + 0.002 | |
| 1016 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1017 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 1018 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1019 | ||
| 1020 | end | |
| 1021 | for e = 1, 24 do | |
| 1022 | wait() | |
| 1023 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
| 1024 | shok.Transparency = shok.Transparency + 0.03 | |
| 1025 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1026 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 1027 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1028 | ||
| 1029 | end | |
| 1030 | end)) | |
| 1031 | coroutine.resume(coroutine.create(function() | |
| 1032 | local shok = Instance.new("Part")
| |
| 1033 | shok.Name = "wring2" | |
| 1034 | - | shok.BrickColor = BrickColor.new("Bright orange")
|
| 1034 | + | shok.BrickColor = BrickColor.new("Crimson")
|
| 1035 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 1036 | shok.Size = Vector3.new(1, 1, 1) | |
| 1037 | shok.Anchored = true | |
| 1038 | shok.Material = "Neon" | |
| 1039 | shok.Transparency = 0.25 | |
| 1040 | shok.CanCollide = false | |
| 1041 | shok.Parent = model | |
| 1042 | game.Debris:AddItem(shok, 12) | |
| 1043 | local mesh = Instance.new("SpecialMesh")
| |
| 1044 | mesh.MeshType = "FileMesh" | |
| 1045 | mesh.MeshId = "rbxassetid://3270017" | |
| 1046 | mesh.Scale = Vector3.new(12, 12, 0.05) | |
| 1047 | mesh.Parent = shok | |
| 1048 | for e = 1, 30 do | |
| 1049 | wait() | |
| 1050 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3) | |
| 1051 | shok.Transparency = shok.Transparency + 0.002 | |
| 1052 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 1053 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 1054 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1055 | ||
| 1056 | end | |
| 1057 | for e = 1, 38 do | |
| 1058 | wait() | |
| 1059 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
| 1060 | shok.Transparency = shok.Transparency + 0.002 | |
| 1061 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1062 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 1063 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1064 | ||
| 1065 | end | |
| 1066 | for e = 1, 24 do | |
| 1067 | wait() | |
| 1068 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
| 1069 | shok.Transparency = shok.Transparency + 0.03 | |
| 1070 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1071 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 1072 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1073 | ||
| 1074 | end | |
| 1075 | end)) | |
| 1076 | coroutine.resume(coroutine.create(function() | |
| 1077 | local shok = Instance.new("Part")
| |
| 1078 | shok.Name = "coil1" | |
| 1079 | - | shok.BrickColor = BrickColor.new("Bright orange")
|
| 1079 | + | shok.BrickColor = BrickColor.new("Crimson")
|
| 1080 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1081 | shok.Size = Vector3.new(1, 1, 1) | |
| 1082 | shok.Anchored = true | |
| 1083 | shok.Material = "Neon" | |
| 1084 | shok.Transparency = 0.25 | |
| 1085 | shok.CanCollide = false | |
| 1086 | shok.Parent = model | |
| 1087 | game.Debris:AddItem(shok, 12) | |
| 1088 | local mesh = Instance.new("SpecialMesh")
| |
| 1089 | mesh.MeshType = "FileMesh" | |
| 1090 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 1091 | mesh.Scale = Vector3.new(12, 12, 12) | |
| 1092 | mesh.Parent = shok | |
| 1093 | for e = 1, 15 do | |
| 1094 | wait() | |
| 1095 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 1096 | shok.Transparency = shok.Transparency + 0.004 | |
| 1097 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 1098 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 1099 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1100 | ||
| 1101 | end | |
| 1102 | for e = 1, 16 do | |
| 1103 | wait() | |
| 1104 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 1105 | shok.Transparency = shok.Transparency + 0.004 | |
| 1106 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1107 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 1108 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1109 | ||
| 1110 | end | |
| 1111 | for e = 1, 12 do | |
| 1112 | wait() | |
| 1113 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 1114 | shok.Transparency = shok.Transparency + 0.06 | |
| 1115 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1116 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 1117 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1118 | ||
| 1119 | end | |
| 1120 | end)) | |
| 1121 | coroutine.resume(coroutine.create(function() | |
| 1122 | local shok = Instance.new("Part")
| |
| 1123 | shok.Name = "coil2" | |
| 1124 | - | shok.BrickColor = BrickColor.new("Bright orange")
|
| 1124 | + | shok.BrickColor = BrickColor.new("Crimson")
|
| 1125 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1126 | shok.Size = Vector3.new(1, 1, 1) | |
| 1127 | shok.Anchored = true | |
| 1128 | shok.Material = "Neon" | |
| 1129 | shok.Transparency = 0.25 | |
| 1130 | shok.CanCollide = false | |
| 1131 | shok.Parent = model | |
| 1132 | game.Debris:AddItem(shok, 12) | |
| 1133 | local mesh = Instance.new("SpecialMesh")
| |
| 1134 | mesh.MeshType = "FileMesh" | |
| 1135 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 1136 | mesh.Scale = Vector3.new(6, 12, 6) | |
| 1137 | mesh.Parent = shok | |
| 1138 | for e = 1, 15 do | |
| 1139 | wait() | |
| 1140 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
| 1141 | shok.Transparency = shok.Transparency + 0.005 | |
| 1142 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 1143 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
| 1144 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1145 | ||
| 1146 | end | |
| 1147 | for e = 1, 16 do | |
| 1148 | wait() | |
| 1149 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
| 1150 | shok.Transparency = shok.Transparency + 0.005 | |
| 1151 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1152 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
| 1153 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1154 | ||
| 1155 | end | |
| 1156 | for e = 1, 12 do | |
| 1157 | wait() | |
| 1158 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
| 1159 | shok.Transparency = shok.Transparency + 0.09 | |
| 1160 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1161 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
| 1162 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1163 | ||
| 1164 | end | |
| 1165 | end)) | |
| 1166 | coroutine.resume(coroutine.create(function() | |
| 1167 | local shok = Instance.new("Part")
| |
| 1168 | shok.Name = "shokwve" | |
| 1169 | - | shok.BrickColor = BrickColor.new("Bright orange")
|
| 1169 | + | shok.BrickColor = BrickColor.new("Crimson")
|
| 1170 | shok.Position = effspwn.Position - Vector3.new(0, 0.8, 0) | |
| 1171 | shok.Size = Vector3.new(1, 1, 1) | |
| 1172 | shok.Anchored = true | |
| 1173 | shok.Material = "Neon" | |
| 1174 | shok.Transparency = 0.6 | |
| 1175 | shok.CanCollide = false | |
| 1176 | shok.Parent = model | |
| 1177 | game.Debris:AddItem(shok, 12) | |
| 1178 | local mesh = Instance.new("SpecialMesh")
| |
| 1179 | mesh.MeshType = "FileMesh" | |
| 1180 | mesh.MeshId = "rbxassetid://489415447" | |
| 1181 | mesh.Scale = Vector3.new(1, 1, 1) | |
| 1182 | mesh.Parent = shok | |
| 1183 | for e = 1, 12 do | |
| 1184 | wait() | |
| 1185 | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) | |
| 1186 | shok.Transparency = shok.Transparency + 0.002 | |
| 1187 | end | |
| 1188 | for e = 1, 32 do | |
| 1189 | wait() | |
| 1190 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
| 1191 | shok.Transparency = shok.Transparency + 0.002 | |
| 1192 | end | |
| 1193 | for e = 1, 24 do | |
| 1194 | wait() | |
| 1195 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
| 1196 | shok.Transparency = shok.Transparency + 0.03 | |
| 1197 | end | |
| 1198 | end)) | |
| 1199 | coroutine.resume(coroutine.create(function() | |
| 1200 | local shok = Instance.new("Part")
| |
| 1201 | shok.Name = "shock2" | |
| 1202 | - | shok.BrickColor = BrickColor.new("Bright orange")
|
| 1202 | + | shok.BrickColor = BrickColor.new("Crimson")
|
| 1203 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 1204 | shok.Size = Vector3.new(1, 1, 1) | |
| 1205 | shok.Anchored = true | |
| 1206 | shok.Material = "Neon" | |
| 1207 | shok.Transparency = 0.35 | |
| 1208 | shok.CanCollide = false | |
| 1209 | shok.Parent = model | |
| 1210 | game.Debris:AddItem(shok, 12) | |
| 1211 | local mesh = Instance.new("SpecialMesh")
| |
| 1212 | mesh.MeshType = "FileMesh" | |
| 1213 | mesh.MeshId = "rbxassetid://489415447" | |
| 1214 | mesh.Scale = Vector3.new(12, 12, 12) | |
| 1215 | mesh.Parent = shok | |
| 1216 | for e = 1, 15 do | |
| 1217 | wait() | |
| 1218 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 1219 | shok.Transparency = shok.Transparency + 0.004 | |
| 1220 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 1221 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1222 | ||
| 1223 | end | |
| 1224 | for e = 1, 16 do | |
| 1225 | wait() | |
| 1226 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 1227 | shok.Transparency = shok.Transparency + 0.004 | |
| 1228 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 1229 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1230 | ||
| 1231 | end | |
| 1232 | for e = 1, 12 do | |
| 1233 | wait() | |
| 1234 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 1235 | shok.Transparency = shok.Transparency + 0.06 | |
| 1236 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 1237 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1238 | ||
| 1239 | end | |
| 1240 | end)) | |
| 1241 | coroutine.resume(coroutine.create(function() | |
| 1242 | local shok = Instance.new("Part")
| |
| 1243 | shok.Name = "shock3" | |
| 1244 | - | shok.BrickColor = BrickColor.new("Bright orange")
|
| 1244 | + | shok.BrickColor = BrickColor.new("Crimson")
|
| 1245 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 1246 | shok.Size = Vector3.new(1, 1, 1) | |
| 1247 | shok.Anchored = true | |
| 1248 | shok.Material = "Neon" | |
| 1249 | shok.Transparency = 0.35 | |
| 1250 | shok.CanCollide = false | |
| 1251 | shok.Parent = model | |
| 1252 | game.Debris:AddItem(shok, 12) | |
| 1253 | local mesh = Instance.new("SpecialMesh")
| |
| 1254 | mesh.MeshType = "FileMesh" | |
| 1255 | mesh.MeshId = "rbxassetid://489415447" | |
| 1256 | mesh.Scale = Vector3.new(12, 12, 12) | |
| 1257 | mesh.Parent = shok | |
| 1258 | for e = 1, 15 do | |
| 1259 | wait() | |
| 1260 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 1261 | shok.Transparency = shok.Transparency + 0.004 | |
| 1262 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 1263 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 1264 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1265 | ||
| 1266 | end | |
| 1267 | for e = 1, 16 do | |
| 1268 | wait() | |
| 1269 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 1270 | shok.Transparency = shok.Transparency + 0.004 | |
| 1271 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 1272 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 1273 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1274 | ||
| 1275 | end | |
| 1276 | for e = 1, 12 do | |
| 1277 | wait() | |
| 1278 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
| 1279 | shok.Transparency = shok.Transparency + 0.06 | |
| 1280 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 1281 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 1282 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1283 | ||
| 1284 | end | |
| 1285 | end)) | |
| 1286 | end | |
| 1287 | function KABOOMZ2() | |
| 1288 | local effspwn = Instance.new("Part")
| |
| 1289 | coroutine.resume(coroutine.create(function() | |
| 1290 | local sound1 = Instance.new("Sound")
| |
| 1291 | sound1.SoundId = "rbxassetid://138137702" | |
| 1292 | sound1.MaxDistance = 300 | |
| 1293 | sound1.EmitterSize = 20 | |
| 1294 | sound1.Volume = 2.5 | |
| 1295 | sound1.Pitch = 0.65 | |
| 1296 | sound1.Parent = effspwn | |
| 1297 | local sound2 = Instance.new("Sound")
| |
| 1298 | sound2.SoundId = "rbxassetid://157878578" | |
| 1299 | sound2.MaxDistance = 300 | |
| 1300 | sound2.EmitterSize = 20 | |
| 1301 | sound2.Volume = 1 | |
| 1302 | sound2.Pitch = 0.7 | |
| 1303 | sound2.Parent = effspwn | |
| 1304 | local sound3 = Instance.new("Sound")
| |
| 1305 | sound3.SoundId = "rbxassetid://138250406" | |
| 1306 | sound2.MaxDistance = 400 | |
| 1307 | sound2.EmitterSize = 30 | |
| 1308 | sound2.Volume = 0.5 | |
| 1309 | sound2.Pitch = 0.5 | |
| 1310 | sound2.Parent = effspwn | |
| 1311 | sound2:Play() | |
| 1312 | wait() | |
| 1313 | sound1:Play() | |
| 1314 | sound3:Play() | |
| 1315 | end)) | |
| 1316 | local model = Instance.new("Model")
| |
| 1317 | game.Debris:AddItem(model, 20) | |
| 1318 | model.Name = "smasheffects" | |
| 1319 | model.Parent = workspace | |
| 1320 | effspwn.Name = "spwnr" | |
| 1321 | effspwn.Size = Vector3.new(1, 1, 1) | |
| 1322 | effspwn.Anchored = true | |
| 1323 | effspwn.CanCollide = false | |
| 1324 | effspwn.Transparency = 1 | |
| 1325 | effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
| 1326 | effspwn.Parent = model | |
| 1327 | ||
| 1328 | ||
| 1329 | ||
| 1330 | ||
| 1331 | ||
| 1332 | Crater(head,60) | |
| 1333 | Crater(head,120) | |
| 1334 | ||
| 1335 | for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do | |
| 1336 | if v:FindFirstChild('Humanoid') then
| |
| 1337 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
| 1338 | v.Humanoid.PlatformStand = true | |
| 1339 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
| |
| 1340 | end | |
| 1341 | end | |
| 1342 | ||
| 1343 | coroutine.resume(coroutine.create(function() | |
| 1344 | local shok = Instance.new("Part")
| |
| 1345 | shok.Name = "whoosh" | |
| 1346 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 1346 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 1347 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 1348 | shok.Size = Vector3.new(1, 1, 1) | |
| 1349 | shok.Anchored = true | |
| 1350 | shok.Material = "Neon" | |
| 1351 | shok.Transparency = 0.1 | |
| 1352 | shok.CanCollide = false | |
| 1353 | shok.Parent = model | |
| 1354 | game.Debris:AddItem(shok, 12) | |
| 1355 | local mesh = Instance.new("SpecialMesh")
| |
| 1356 | mesh.MeshType = "FileMesh" | |
| 1357 | mesh.MeshId = "rbxassetid://437347603" | |
| 1358 | mesh.Scale = Vector3.new(0.8, 0.8, 0.3) | |
| 1359 | mesh.Parent = shok | |
| 1360 | ||
| 1361 | ||
| 1362 | ||
| 1363 | ||
| 1364 | ||
| 1365 | for e = 1, 8 do | |
| 1366 | wait() | |
| 1367 | mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22) | |
| 1368 | shok.Transparency = shok.Transparency + 0.035 | |
| 1369 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4) | |
| 1370 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29)) | |
| 1371 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1372 | ||
| 1373 | end | |
| 1374 | for e = 1, 16 do | |
| 1375 | wait() | |
| 1376 | mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12) | |
| 1377 | shok.Transparency = shok.Transparency + 0.11 | |
| 1378 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4) | |
| 1379 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15)) | |
| 1380 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 1381 | ||
| 1382 | end | |
| 1383 | end)) | |
| 1384 | coroutine.resume(coroutine.create(function() | |
| 1385 | local shok = Instance.new("Part")
| |
| 1386 | shok.Name = "wring1" | |
| 1387 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 1387 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 1388 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 1389 | shok.Size = Vector3.new(1, 1, 1) | |
| 1390 | shok.Anchored = true | |
| 1391 | shok.Material = "Neon" | |
| 1392 | shok.Transparency = 0.25 | |
| 1393 | shok.CanCollide = false | |
| 1394 | shok.Parent = model | |
| 1395 | game.Debris:AddItem(shok, 12) | |
| 1396 | local mesh = Instance.new("SpecialMesh")
| |
| 1397 | mesh.MeshType = "FileMesh" | |
| 1398 | mesh.MeshId = "rbxassetid://3270017" | |
| 1399 | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) | |
| 1400 | mesh.Parent = shok | |
| 1401 | for e = 1, 30 do | |
| 1402 | wait() | |
| 1403 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3) | |
| 1404 | shok.Transparency = shok.Transparency + 0.002 | |
| 1405 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 1406 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 1407 | end | |
| 1408 | for e = 1, 38 do | |
| 1409 | wait() | |
| 1410 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
| 1411 | shok.Transparency = shok.Transparency + 0.002 | |
| 1412 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1413 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 1414 | end | |
| 1415 | for e = 1, 24 do | |
| 1416 | wait() | |
| 1417 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
| 1418 | shok.Transparency = shok.Transparency + 0.03 | |
| 1419 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1420 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 1421 | end | |
| 1422 | end)) | |
| 1423 | coroutine.resume(coroutine.create(function() | |
| 1424 | local shok = Instance.new("Part")
| |
| 1425 | shok.Name = "wring2" | |
| 1426 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 1426 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 1427 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 1428 | shok.Size = Vector3.new(1, 1, 1) | |
| 1429 | shok.Anchored = true | |
| 1430 | shok.Material = "Neon" | |
| 1431 | shok.Transparency = 0.25 | |
| 1432 | shok.CanCollide = false | |
| 1433 | shok.Parent = model | |
| 1434 | game.Debris:AddItem(shok, 12) | |
| 1435 | local mesh = Instance.new("SpecialMesh")
| |
| 1436 | mesh.MeshType = "FileMesh" | |
| 1437 | mesh.MeshId = "rbxassetid://3270017" | |
| 1438 | mesh.Scale = Vector3.new(12, 12, 0.05) | |
| 1439 | mesh.Parent = shok | |
| 1440 | for e = 1, 30 do | |
| 1441 | wait() | |
| 1442 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3) | |
| 1443 | shok.Transparency = shok.Transparency + 0.002 | |
| 1444 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 1445 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 1446 | end | |
| 1447 | for e = 1, 38 do | |
| 1448 | wait() | |
| 1449 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
| 1450 | shok.Transparency = shok.Transparency + 0.002 | |
| 1451 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1452 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 1453 | end | |
| 1454 | for e = 1, 24 do | |
| 1455 | wait() | |
| 1456 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
| 1457 | shok.Transparency = shok.Transparency + 0.03 | |
| 1458 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1459 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 1460 | end | |
| 1461 | end)) | |
| 1462 | coroutine.resume(coroutine.create(function() | |
| 1463 | local shok = Instance.new("Part")
| |
| 1464 | shok.Name = "coil1" | |
| 1465 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 1465 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 1466 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1467 | shok.Size = Vector3.new(1, 1, 1) | |
| 1468 | shok.Anchored = true | |
| 1469 | shok.Material = "Neon" | |
| 1470 | shok.Transparency = 0.25 | |
| 1471 | shok.CanCollide = false | |
| 1472 | shok.Parent = model | |
| 1473 | game.Debris:AddItem(shok, 12) | |
| 1474 | local mesh = Instance.new("SpecialMesh")
| |
| 1475 | mesh.MeshType = "FileMesh" | |
| 1476 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 1477 | mesh.Scale = Vector3.new(12, 12, 12) | |
| 1478 | mesh.Parent = shok | |
| 1479 | for e = 1, 15 do | |
| 1480 | wait() | |
| 1481 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 1482 | shok.Transparency = shok.Transparency + 0.004 | |
| 1483 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 1484 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 1485 | end | |
| 1486 | for e = 1, 16 do | |
| 1487 | wait() | |
| 1488 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 1489 | shok.Transparency = shok.Transparency + 0.004 | |
| 1490 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1491 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 1492 | end | |
| 1493 | for e = 1, 12 do | |
| 1494 | wait() | |
| 1495 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 1496 | shok.Transparency = shok.Transparency + 0.06 | |
| 1497 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1498 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 1499 | end | |
| 1500 | end)) | |
| 1501 | coroutine.resume(coroutine.create(function() | |
| 1502 | local shok = Instance.new("Part")
| |
| 1503 | shok.Name = "coil2" | |
| 1504 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 1504 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 1505 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1506 | shok.Size = Vector3.new(1, 1, 1) | |
| 1507 | shok.Anchored = true | |
| 1508 | shok.Material = "Neon" | |
| 1509 | shok.Transparency = 0.25 | |
| 1510 | shok.CanCollide = false | |
| 1511 | shok.Parent = model | |
| 1512 | game.Debris:AddItem(shok, 12) | |
| 1513 | local mesh = Instance.new("SpecialMesh")
| |
| 1514 | mesh.MeshType = "FileMesh" | |
| 1515 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 1516 | mesh.Scale = Vector3.new(6, 12, 6) | |
| 1517 | mesh.Parent = shok | |
| 1518 | for e = 1, 15 do | |
| 1519 | wait() | |
| 1520 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
| 1521 | shok.Transparency = shok.Transparency + 0.005 | |
| 1522 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 1523 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
| 1524 | end | |
| 1525 | for e = 1, 16 do | |
| 1526 | wait() | |
| 1527 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
| 1528 | shok.Transparency = shok.Transparency + 0.005 | |
| 1529 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1530 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
| 1531 | end | |
| 1532 | for e = 1, 12 do | |
| 1533 | wait() | |
| 1534 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
| 1535 | shok.Transparency = shok.Transparency + 0.09 | |
| 1536 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 1537 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
| 1538 | end | |
| 1539 | end)) | |
| 1540 | coroutine.resume(coroutine.create(function() | |
| 1541 | local shok = Instance.new("Part")
| |
| 1542 | shok.Name = "shokwve" | |
| 1543 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 1543 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 1544 | shok.Position = effspwn.Position + Vector3.new(0, 5, 0) | |
| 1545 | shok.Size = Vector3.new(1, 1, 1) | |
| 1546 | shok.Anchored = true | |
| 1547 | shok.Material = "Neon" | |
| 1548 | shok.Transparency = 0.6 | |
| 1549 | shok.CanCollide = false | |
| 1550 | shok.Parent = model | |
| 1551 | game.Debris:AddItem(shok, 12) | |
| 1552 | local mesh = Instance.new("SpecialMesh")
| |
| 1553 | mesh.MeshType = "FileMesh" | |
| 1554 | mesh.MeshId = "rbxassetid://489415447" | |
| 1555 | mesh.Scale = Vector3.new(1, 1, 1) | |
| 1556 | mesh.Parent = shok | |
| 1557 | for e = 1, 12 do | |
| 1558 | wait() | |
| 1559 | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) | |
| 1560 | shok.Transparency = shok.Transparency + 0.002 | |
| 1561 | end | |
| 1562 | for e = 1, 32 do | |
| 1563 | wait() | |
| 1564 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
| 1565 | shok.Transparency = shok.Transparency + 0.002 | |
| 1566 | end | |
| 1567 | for e = 1, 24 do | |
| 1568 | wait() | |
| 1569 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
| 1570 | shok.Transparency = shok.Transparency + 0.03 | |
| 1571 | end | |
| 1572 | end)) | |
| 1573 | coroutine.resume(coroutine.create(function() | |
| 1574 | local shok = Instance.new("Part")
| |
| 1575 | shok.Name = "shock2" | |
| 1576 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 1576 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 1577 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 1578 | shok.Size = Vector3.new(1, 1, 1) | |
| 1579 | shok.Anchored = true | |
| 1580 | shok.Material = "Neon" | |
| 1581 | shok.Transparency = 0.35 | |
| 1582 | shok.CanCollide = false | |
| 1583 | shok.Parent = model | |
| 1584 | game.Debris:AddItem(shok, 12) | |
| 1585 | local mesh = Instance.new("SpecialMesh")
| |
| 1586 | mesh.MeshType = "FileMesh" | |
| 1587 | mesh.MeshId = "rbxassetid://489415447" | |
| 1588 | mesh.Scale = Vector3.new(12, 12, 12) | |
| 1589 | mesh.Parent = shok | |
| 1590 | for e = 1, 15 do | |
| 1591 | wait() | |
| 1592 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 1593 | shok.Transparency = shok.Transparency + 0.004 | |
| 1594 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 1595 | end | |
| 1596 | for e = 1, 16 do | |
| 1597 | wait() | |
| 1598 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 1599 | shok.Transparency = shok.Transparency + 0.004 | |
| 1600 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 1601 | end | |
| 1602 | for e = 1, 12 do | |
| 1603 | wait() | |
| 1604 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 1605 | shok.Transparency = shok.Transparency + 0.06 | |
| 1606 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 1607 | end | |
| 1608 | end)) | |
| 1609 | coroutine.resume(coroutine.create(function() | |
| 1610 | local shok = Instance.new("Part")
| |
| 1611 | shok.Name = "shock3" | |
| 1612 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 1612 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 1613 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 1614 | shok.Size = Vector3.new(1, 1, 1) | |
| 1615 | shok.Anchored = true | |
| 1616 | shok.Material = "Neon" | |
| 1617 | shok.Transparency = 0.35 | |
| 1618 | shok.CanCollide = false | |
| 1619 | shok.Parent = model | |
| 1620 | game.Debris:AddItem(shok, 12) | |
| 1621 | local mesh = Instance.new("SpecialMesh")
| |
| 1622 | mesh.MeshType = "FileMesh" | |
| 1623 | mesh.MeshId = "rbxassetid://489415447" | |
| 1624 | mesh.Scale = Vector3.new(12, 12, 12) | |
| 1625 | mesh.Parent = shok | |
| 1626 | for e = 1, 15 do | |
| 1627 | wait() | |
| 1628 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 1629 | shok.Transparency = shok.Transparency + 0.004 | |
| 1630 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 1631 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 1632 | end | |
| 1633 | for e = 1, 16 do | |
| 1634 | wait() | |
| 1635 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 1636 | shok.Transparency = shok.Transparency + 0.004 | |
| 1637 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 1638 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 1639 | end | |
| 1640 | for e = 1, 12 do | |
| 1641 | wait() | |
| 1642 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
| 1643 | shok.Transparency = shok.Transparency + 0.06 | |
| 1644 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 1645 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 1646 | end | |
| 1647 | end)) | |
| 1648 | end | |
| 1649 | ||
| 1650 | ||
| 1651 | ||
| 1652 | tor = chr.Torso | |
| 1653 | Debounce = false | |
| 1654 | ||
| 1655 | Invis = function() | |
| 1656 | for i = 1,20 do | |
| 1657 | chr['Right Arm'].Transparency = chr['Right Arm'].Transparency + .05 | |
| 1658 | chr['Left Arm'].Transparency = chr['Left Arm'].Transparency + .05 | |
| 1659 | chr['Right Leg'].Transparency = chr['Right Leg'].Transparency + .05 | |
| 1660 | chr['Left Leg'].Transparency = chr['Left Leg'].Transparency + .05 | |
| 1661 | chr['Head'].Transparency = chr['Head'].Transparency + .05 | |
| 1662 | chr['Torso'].Transparency = chr['Torso'].Transparency + .05 | |
| 1663 | chr.Head['face'].Transparency = chr.Head['face'].Transparency + .05 | |
| 1664 | game["Run Service"].RenderStepped:wait() | |
| 1665 | end | |
| 1666 | end | |
| 1667 | ||
| 1668 | Vis = function() | |
| 1669 | for i = 1,20 do | |
| 1670 | chr['Right Arm'].Transparency = chr['Right Arm'].Transparency - .05 | |
| 1671 | chr['Left Arm'].Transparency = chr['Left Arm'].Transparency - .05 | |
| 1672 | chr['Right Leg'].Transparency = chr['Right Leg'].Transparency - .05 | |
| 1673 | chr['Left Leg'].Transparency = chr['Left Leg'].Transparency - .05 | |
| 1674 | chr['Head'].Transparency = chr['Head'].Transparency - .05 | |
| 1675 | chr['Torso'].Transparency = chr['Torso'].Transparency - .05 | |
| 1676 | chr.Head['face'].Transparency = chr.Head['face'].Transparency - .05 | |
| 1677 | game["Run Service"].RenderStepped:wait() | |
| 1678 | end | |
| 1679 | end | |
| 1680 | ||
| 1681 | Fade = function(Part) | |
| 1682 | if Part:IsA'Part' then | |
| 1683 | for i = 1,20 do | |
| 1684 | Part.Transparency = Part.Transparency + .05 | |
| 1685 | Part.Size = Part.Size - Vector3.new(.04,.04,.04) | |
| 1686 | Part.CFrame = Part.CFrame * CFrame.new(0,-.1,0) | |
| 1687 | wait() | |
| 1688 | end | |
| 1689 | Part:Destroy() | |
| 1690 | end | |
| 1691 | end | |
| 1692 | ||
| 1693 | Teleport = function(cx,cy,cz) | |
| 1694 | Debounce = true | |
| 1695 | tor.Anchored = true | |
| 1696 | Invis() | |
| 1697 | --MakeTpPart() | |
| 1698 | tor.Anchored = false | |
| 1699 | tor.CFrame = CFrame.new(cx,cy,cz) * CFrame.new(0,3,0) | |
| 1700 | tor.Anchored = true | |
| 1701 | Vis() | |
| 1702 | tor.Anchored = false | |
| 1703 | Debounce = false | |
| 1704 | end; | |
| 1705 | ||
| 1706 | ||
| 1707 | ||
| 1708 | tps = Instance.new("Sound",chr)
| |
| 1709 | tps.SoundId = "http://www.roblox.com/asset/?id = 449860746" | |
| 1710 | tps.Volume = 30 | |
| 1711 | ||
| 1712 | ||
| 1713 | function Tele() | |
| 1714 | human.WalkSpeed = 0 | |
| 1715 | if activu == true or selected == false then | |
| 1716 | return | |
| 1717 | end | |
| 1718 | coroutine.resume(coroutine.create(function() | |
| 1719 | fglow(rleg.Glow, 1) | |
| 1720 | fglow(lleg.Glow, 1) | |
| 1721 | end)) | |
| 1722 | activu = true | |
| 1723 | local pe = Instance.new("ParticleEmitter")
| |
| 1724 | - | pe.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 1724 | + | pe.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 1725 | pe.LightEmission = 0.9 | |
| 1726 | pe.Size = NumberSequence.new(0.5) | |
| 1727 | pe.Texture = "rbxassetid://272050333" | |
| 1728 | pe.Transparency = NumberSequence.new(0.1) | |
| 1729 | pe.Lifetime = NumberRange.new(0.1) | |
| 1730 | pe.Rate = 250 | |
| 1731 | pe.RotSpeed = NumberRange.new(360) | |
| 1732 | pe.Speed = NumberRange.new(3) | |
| 1733 | pe.VelocitySpread = 360 | |
| 1734 | pe.Parent = rleg.Glow | |
| 1735 | local pea = pe:Clone() | |
| 1736 | pea.Parent = lleg.Glow | |
| 1737 | local pe2 = Instance.new("ParticleEmitter")
| |
| 1738 | - | pe2.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 1738 | + | pe2.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 1739 | pe2.LightEmission = 0.9 | |
| 1740 | pe2.Size = NumberSequence.new(5) | |
| 1741 | pe2.Texture = "rbxassetid://516107903" | |
| 1742 | pe2.Transparency = NumberSequence.new(0.4) | |
| 1743 | pe2.ZOffset = 2 | |
| 1744 | pe2.Enabled = true | |
| 1745 | pe2.LockedToPart = true | |
| 1746 | pe2.Lifetime = NumberRange.new(0.07) | |
| 1747 | pe2.Rate = 8 | |
| 1748 | pe2.Rotation = NumberRange.new(0, 360) | |
| 1749 | pe2.RotSpeed = NumberRange.new(0) | |
| 1750 | pe2.Speed = NumberRange.new(0) | |
| 1751 | pe2.VelocitySpread = 180 | |
| 1752 | pe2.Parent = lleg.Glow | |
| 1753 | local pea2 = pe2:Clone() | |
| 1754 | pea2.Parent = rleg.Glow | |
| 1755 | ||
| 1756 | for l = 1, 30 do | |
| 1757 | swait() | |
| 1758 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40) | |
| 1759 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40) | |
| 1760 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40) | |
| 1761 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
| 1762 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40) | |
| 1763 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
| 1764 | lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40) | |
| 1765 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
| 1766 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40) | |
| 1767 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
| 1768 | end | |
| 1769 | ||
| 1770 | pe:Destroy() | |
| 1771 | pe2:Destroy() | |
| 1772 | pea:Destroy() | |
| 1773 | pea2:Destroy() | |
| 1774 | local rng = Instance.new("Part", chr)
| |
| 1775 | rng.Anchored = true | |
| 1776 | - | rng.BrickColor = BrickColor.new("Institutional white")
|
| 1776 | + | rng.BrickColor = BrickColor.new("Bright red")
|
| 1777 | rng.CanCollide = false | |
| 1778 | rng.FormFactor = 3 | |
| 1779 | rng.Name = "Ring" | |
| 1780 | rng.Size = Vector3.new(1, 1, 1) | |
| 1781 | rng.Transparency = 0.5 | |
| 1782 | rng.TopSurface = 0 | |
| 1783 | rng.BottomSurface = 0 | |
| 1784 | rng.Position = tors.Position - Vector3.new(0,2,0) | |
| 1785 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1786 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1787 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1788 | rngm.Scale = Vector3.new(1, 1, 2) | |
| 1789 | coroutine.wrap(function() | |
| 1790 | for i = 1, 60, 8 do | |
| 1791 | rngm.Scale = Vector3.new(1.2 + i*1.1, 1.2 + i*1.1, 1) | |
| 1792 | rng.Transparency = i/60 | |
| 1793 | wait() | |
| 1794 | end | |
| 1795 | wait() | |
| 1796 | rng:Destroy() | |
| 1797 | end)() | |
| 1798 | tps:Play() | |
| 1799 | Teleport(mouse.Hit.X,mouse.Hit.Y,mouse.Hit.Z) | |
| 1800 | resetlerp() | |
| 1801 | human.WalkSpeed = 16 | |
| 1802 | activu = false | |
| 1803 | ||
| 1804 | end | |
| 1805 | ||
| 1806 | ||
| 1807 | ||
| 1808 | ||
| 1809 | boom3 = Instance.new("Sound",chr)
| |
| 1810 | boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019" | |
| 1811 | boom3.Volume = 50 | |
| 1812 | ||
| 1813 | ||
| 1814 | ||
| 1815 | ||
| 1816 | ||
| 1817 | gprop = {}
| |
| 1818 | function materialhit(hit) | |
| 1819 | if hit.Parent ~= chr and hit.Parent.Parent ~= chr and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then
| |
| 1820 | gprop = {hit.BrickColor,hit.Material}
| |
| 1821 | end | |
| 1822 | end | |
| 1823 | chr["Left Leg"].Touched:connect(materialhit) | |
| 1824 | chr["Right Leg"].Touched:connect(materialhit) | |
| 1825 | ||
| 1826 | ||
| 1827 | function KickBoom() | |
| 1828 | local effspwn = Instance.new("Part")
| |
| 1829 | local model = Instance.new("Model")
| |
| 1830 | game.Debris:AddItem(model, 20) | |
| 1831 | model.Name = "smasheffects" | |
| 1832 | model.Parent = chr | |
| 1833 | effspwn.Name = "spwnr" | |
| 1834 | effspwn.Size = Vector3.new(1, 1, 1) | |
| 1835 | effspwn.Anchored = true | |
| 1836 | effspwn.CanCollide = false | |
| 1837 | effspwn.Transparency = 1 | |
| 1838 | effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
| 1839 | effspwn.Parent = model | |
| 1840 | ||
| 1841 | for i = 1, 15 do | |
| 1842 | local gtrace = Instance.new("Part",game.Workspace)
| |
| 1843 | gtrace.BrickColor = gprop[1] | |
| 1844 | gtrace.Material = gprop[2] | |
| 1845 | gtrace.Size = Vector3.new(16,16,16) | |
| 1846 | gtrace.Anchored = true | |
| 1847 | gtrace.CanCollide = false | |
| 1848 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
| 1849 | local gdisp = coroutine.wrap(function() | |
| 1850 | wait(3) | |
| 1851 | for i = 1, 9 do | |
| 1852 | wait(.1) | |
| 1853 | gtrace.Transparency = gtrace.Transparency + .1 | |
| 1854 | end | |
| 1855 | gtrace:Destroy() | |
| 1856 | end) | |
| 1857 | gdisp() | |
| 1858 | end | |
| 1859 | ||
| 1860 | Crater(head,67) | |
| 1861 | ||
| 1862 | for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do | |
| 1863 | if v:FindFirstChild('Humanoid') then
| |
| 1864 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
| 1865 | v.Humanoid.PlatformStand = true | |
| 1866 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 250
| |
| 1867 | end | |
| 1868 | end | |
| 1869 | ||
| 1870 | coroutine.resume(coroutine.create(function() | |
| 1871 | local shok = Instance.new("Part")
| |
| 1872 | shok.Name = "shock3" | |
| 1873 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 1873 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 1874 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 1875 | shok.Size = Vector3.new(1, 1, 1) | |
| 1876 | shok.Anchored = true | |
| 1877 | shok.Material = "Neon" | |
| 1878 | shok.Transparency = 0.35 | |
| 1879 | shok.CanCollide = false | |
| 1880 | shok.Parent = model | |
| 1881 | game.Debris:AddItem(shok, 12) | |
| 1882 | local mesh = Instance.new("SpecialMesh")
| |
| 1883 | mesh.MeshType = "FileMesh" | |
| 1884 | mesh.MeshId = "rbxassetid://489415447" | |
| 1885 | mesh.Scale = Vector3.new(19, 19, 19) | |
| 1886 | mesh.Parent = shok | |
| 1887 | for e = 1, 15 do | |
| 1888 | wait() | |
| 1889 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 1890 | shok.Transparency = shok.Transparency + 0.004 | |
| 1891 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 1892 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 1893 | end | |
| 1894 | for e = 1, 16 do | |
| 1895 | wait() | |
| 1896 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 1897 | shok.Transparency = shok.Transparency + 0.004 | |
| 1898 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 1899 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 1900 | end | |
| 1901 | for e = 1, 12 do | |
| 1902 | wait() | |
| 1903 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
| 1904 | shok.Transparency = shok.Transparency + 0.06 | |
| 1905 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 1906 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 1907 | end | |
| 1908 | end)) | |
| 1909 | ||
| 1910 | ||
| 1911 | coroutine.resume(coroutine.create(function() | |
| 1912 | local shok = Instance.new("Part")
| |
| 1913 | shok.Name = "shock3" | |
| 1914 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 1914 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 1915 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 1916 | shok.Size = Vector3.new(1, 1, 1) | |
| 1917 | shok.Anchored = true | |
| 1918 | shok.Material = "Neon" | |
| 1919 | shok.Transparency = 0.35 | |
| 1920 | shok.CanCollide = false | |
| 1921 | shok.Parent = model | |
| 1922 | game.Debris:AddItem(shok, 12) | |
| 1923 | local mesh = Instance.new("SpecialMesh")
| |
| 1924 | mesh.MeshType = "FileMesh" | |
| 1925 | mesh.MeshId = "rbxassetid://489415447" | |
| 1926 | mesh.Scale = Vector3.new(47, 47, 47) | |
| 1927 | mesh.Parent = shok | |
| 1928 | for e = 1, 15 do | |
| 1929 | wait() | |
| 1930 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 1931 | shok.Transparency = shok.Transparency + 0.004 | |
| 1932 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 1933 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 1934 | end | |
| 1935 | for e = 1, 16 do | |
| 1936 | wait() | |
| 1937 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 1938 | shok.Transparency = shok.Transparency + 0.004 | |
| 1939 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 1940 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 1941 | end | |
| 1942 | for e = 1, 12 do | |
| 1943 | wait() | |
| 1944 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
| 1945 | shok.Transparency = shok.Transparency + 0.06 | |
| 1946 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 1947 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 1948 | end | |
| 1949 | end)) | |
| 1950 | ||
| 1951 | coroutine.resume(coroutine.create(function() | |
| 1952 | local shok = Instance.new("Part")
| |
| 1953 | shok.Name = "shock3" | |
| 1954 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 1954 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 1955 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 1956 | shok.Size = Vector3.new(1, 1, 1) | |
| 1957 | shok.Anchored = true | |
| 1958 | shok.Material = "Neon" | |
| 1959 | shok.Transparency = 0.35 | |
| 1960 | shok.CanCollide = false | |
| 1961 | shok.Parent = model | |
| 1962 | game.Debris:AddItem(shok, 12) | |
| 1963 | local mesh = Instance.new("SpecialMesh")
| |
| 1964 | mesh.MeshType = "FileMesh" | |
| 1965 | mesh.MeshId = "rbxassetid://489415447" | |
| 1966 | mesh.Scale = Vector3.new(79, 79, 79) | |
| 1967 | mesh.Parent = shok | |
| 1968 | for e = 1, 15 do | |
| 1969 | wait() | |
| 1970 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 1971 | shok.Transparency = shok.Transparency + 0.004 | |
| 1972 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 1973 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 1974 | end | |
| 1975 | for e = 1, 16 do | |
| 1976 | wait() | |
| 1977 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 1978 | shok.Transparency = shok.Transparency + 0.004 | |
| 1979 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 1980 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 1981 | end | |
| 1982 | for e = 1, 12 do | |
| 1983 | wait() | |
| 1984 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
| 1985 | shok.Transparency = shok.Transparency + 0.06 | |
| 1986 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 1987 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 1988 | end | |
| 1989 | end)) | |
| 1990 | end | |
| 1991 | ||
| 1992 | ||
| 1993 | ||
| 1994 | ||
| 1995 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 1996 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 1997 | end | |
| 1998 | cam = workspace.CurrentCamera | |
| 1999 | ||
| 2000 | ||
| 2001 | ||
| 2002 | ||
| 2003 | ||
| 2004 | ||
| 2005 | ||
| 2006 | ||
| 2007 | function NoOutline(Part) | |
| 2008 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 2009 | end | |
| 2010 | ||
| 2011 | ||
| 2012 | ||
| 2013 | ||
| 2014 | it = Instance.new | |
| 2015 | ||
| 2016 | ||
| 2017 | ||
| 2018 | ||
| 2019 | ||
| 2020 | ||
| 2021 | ||
| 2022 | ||
| 2023 | ||
| 2024 | ||
| 2025 | so = function(id,par,vol,pit) | |
| 2026 | coroutine.resume(coroutine.create(function() | |
| 2027 | local sou = Instance.new("Sound",par or workspace)
| |
| 2028 | sou.Volume=vol | |
| 2029 | sou.Pitch=pit or 1 | |
| 2030 | sou.SoundId=id | |
| 2031 | swait() | |
| 2032 | sou:play() | |
| 2033 | game:GetService("Debris"):AddItem(sou,6)
| |
| 2034 | end)) | |
| 2035 | end | |
| 2036 | ||
| 2037 | ||
| 2038 | function Stom() | |
| 2039 | ||
| 2040 | cf=CFrame.new | |
| 2041 | angles=CFrame.Angles | |
| 2042 | euler=CFrame.fromEulerAnglesXYZ | |
| 2043 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 2044 | RootPart=chr.HumanoidRootPart | |
| 2045 | RootJoint=RootPart.RootJoint | |
| 2046 | RootCF=euler(-1.57,0,3.14) | |
| 2047 | ||
| 2048 | function QuaternionFromCFrame(cf) | |
| 2049 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 2050 | local trace = m00 + m11 + m22 | |
| 2051 | if trace > 0 then | |
| 2052 | local s = math.sqrt(1 + trace) | |
| 2053 | local recip = 0.5/s | |
| 2054 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 2055 | else | |
| 2056 | local i = 0 | |
| 2057 | if m11 > m00 then | |
| 2058 | i = 1 | |
| 2059 | end | |
| 2060 | if m22 > (i == 0 and m00 or m11) then | |
| 2061 | i = 2 | |
| 2062 | end | |
| 2063 | if i == 0 then | |
| 2064 | local s = math.sqrt(m00-m11-m22+1) | |
| 2065 | local recip = 0.5/s | |
| 2066 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 2067 | elseif i == 1 then | |
| 2068 | local s = math.sqrt(m11-m22-m00+1) | |
| 2069 | local recip = 0.5/s | |
| 2070 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 2071 | elseif i == 2 then | |
| 2072 | local s = math.sqrt(m22-m00-m11+1) | |
| 2073 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 2074 | end | |
| 2075 | end | |
| 2076 | end | |
| 2077 | ||
| 2078 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 2079 | local xs, ys, zs = x + x, y + y, z + z | |
| 2080 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 2081 | local xx = x*xs | |
| 2082 | local xy = x*ys | |
| 2083 | local xz = x*zs | |
| 2084 | local yy = y*ys | |
| 2085 | local yz = y*zs | |
| 2086 | local zz = z*zs | |
| 2087 | 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)) | |
| 2088 | end | |
| 2089 | ||
| 2090 | function QuaternionSlerp(a, b, t) | |
| 2091 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 2092 | local startInterp, finishInterp; | |
| 2093 | if cosTheta >= 0.0001 then | |
| 2094 | if (1 - cosTheta) > 0.0001 then | |
| 2095 | local theta = math.acos(cosTheta) | |
| 2096 | local invSinTheta = 1/math.sin(theta) | |
| 2097 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 2098 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 2099 | else | |
| 2100 | startInterp = 1-t | |
| 2101 | finishInterp = t | |
| 2102 | end | |
| 2103 | else | |
| 2104 | if (1+cosTheta) > 0.0001 then | |
| 2105 | local theta = math.acos(-cosTheta) | |
| 2106 | local invSinTheta = 1/math.sin(theta) | |
| 2107 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 2108 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 2109 | else | |
| 2110 | startInterp = t-1 | |
| 2111 | finishInterp = t | |
| 2112 | end | |
| 2113 | end | |
| 2114 | 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 | |
| 2115 | end | |
| 2116 | ||
| 2117 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 2118 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 2119 | end | |
| 2120 | ||
| 2121 | function clerp(a,b,t) | |
| 2122 | local qa = {QuaternionFromCFrame(a)}
| |
| 2123 | local qb = {QuaternionFromCFrame(b)}
| |
| 2124 | local ax, ay, az = a.x, a.y, a.z | |
| 2125 | local bx, by, bz = b.x, b.y, b.z | |
| 2126 | local _t = 1-t | |
| 2127 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 2128 | end | |
| 2129 | ||
| 2130 | ||
| 2131 | ||
| 2132 | if activu == true or selected == false then | |
| 2133 | return | |
| 2134 | end | |
| 2135 | coroutine.resume(coroutine.create(function() | |
| 2136 | fglow(lleg.Glow, 6) | |
| 2137 | end)) | |
| 2138 | activu = true | |
| 2139 | local pe = Instance.new("ParticleEmitter")
| |
| 2140 | - | pe.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 2140 | + | pe.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 2141 | pe.LightEmission = 0.9 | |
| 2142 | pe.Size = NumberSequence.new(0.5) | |
| 2143 | pe.Texture = "rbxassetid://272050333" | |
| 2144 | pe.Transparency = NumberSequence.new(0.1) | |
| 2145 | pe.Lifetime = NumberRange.new(0.1) | |
| 2146 | pe.Rate = 250 | |
| 2147 | pe.RotSpeed = NumberRange.new(360) | |
| 2148 | pe.Speed = NumberRange.new(3) | |
| 2149 | pe.VelocitySpread = 360 | |
| 2150 | pe.Parent = lleg.Glow | |
| 2151 | local pea = pe:Clone() | |
| 2152 | pea.Parent = lleg.Glow | |
| 2153 | wait(0.5) | |
| 2154 | local pe2 = Instance.new("ParticleEmitter")
| |
| 2155 | - | pe2.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 2155 | + | pe2.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 2156 | pe2.LightEmission = 0.9 | |
| 2157 | pe2.Size = NumberSequence.new(5) | |
| 2158 | pe2.Texture = "rbxassetid://516107903" | |
| 2159 | pe2.Transparency = NumberSequence.new(0.4) | |
| 2160 | pe2.ZOffset = 2 | |
| 2161 | pe2.Enabled = true | |
| 2162 | pe2.LockedToPart = true | |
| 2163 | pe2.Lifetime = NumberRange.new(0.07) | |
| 2164 | pe2.Rate = 8 | |
| 2165 | pe2.Rotation = NumberRange.new(0, 360) | |
| 2166 | pe2.RotSpeed = NumberRange.new(0) | |
| 2167 | pe2.Speed = NumberRange.new(0) | |
| 2168 | pe2.VelocitySpread = 180 | |
| 2169 | pe2.Parent = lleg.Glow | |
| 2170 | local pea2 = pe2:Clone() | |
| 2171 | pea2.Parent = lleg.Glow | |
| 2172 | local Mus = Instance.new("Sound",workspace)
| |
| 2173 | Mus.SoundId = "rbxassetid://802518140" | |
| 2174 | Mus.Pitch = 1 | |
| 2175 | Mus.Volume = 90000 | |
| 2176 | Mus.Looped = false | |
| 2177 | wait(0.9) | |
| 2178 | Mus:Play() | |
| 2179 | ||
| 2180 | ||
| 2181 | ||
| 2182 | human.WalkSpeed = 0 | |
| 2183 | for i = 0,1,0.1 do | |
| 2184 | swait() | |
| 2185 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2186 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
| 2187 | RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3) | |
| 2188 | LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 2189 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
| 2190 | LH.C0=clerp(LH.C0,cf(-1,-.1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
| 2191 | end | |
| 2192 | wait(1) | |
| 2193 | for i = 0,1,0.1 do | |
| 2194 | swait() | |
| 2195 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 2196 | tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 2197 | RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3) | |
| 2198 | LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) | |
| 2199 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
| 2200 | LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
| 2201 | end | |
| 2202 | KickBoom() | |
| 2203 | so("http://roblox.com/asset/?id=144699494",lleg,2,1.1)
| |
| 2204 | so("http://roblox.com/asset/?id=321321137",lleg,1,1)
| |
| 2205 | so("http://roblox.com/asset/?id=506384002",lleg,1,1)
| |
| 2206 | so("http://roblox.com/asset/?id=157878578",lleg,25,1)
| |
| 2207 | so("http://roblox.com/asset/?id=165970126",lleg,25,1)
| |
| 2208 | ||
| 2209 | wait(3) | |
| 2210 | human.WalkSpeed = 16 | |
| 2211 | pe:Destroy() | |
| 2212 | pe2:Destroy() | |
| 2213 | pea:Destroy() | |
| 2214 | pea2:Destroy() | |
| 2215 | resetlerp() | |
| 2216 | activu = false | |
| 2217 | end | |
| 2218 | ||
| 2219 | ||
| 2220 | ||
| 2221 | ||
| 2222 | ||
| 2223 | function Smash() | |
| 2224 | for i = 1, 15 do | |
| 2225 | local gtrace = Instance.new("Part",game.Workspace)
| |
| 2226 | gtrace.BrickColor = gprop[1] | |
| 2227 | gtrace.Material = gprop[2] | |
| 2228 | gtrace.Size = Vector3.new(19,19,19) | |
| 2229 | gtrace.Anchored = true | |
| 2230 | gtrace.CanCollide = false | |
| 2231 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-60,60),-6,math.random(-60,60))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
| 2232 | local gdisp = coroutine.wrap(function() | |
| 2233 | wait(7) | |
| 2234 | for i = 1, 9 do | |
| 2235 | wait(.1) | |
| 2236 | gtrace.Transparency = gtrace.Transparency + .1 | |
| 2237 | end | |
| 2238 | gtrace:Destroy() | |
| 2239 | end) | |
| 2240 | gdisp() | |
| 2241 | end | |
| 2242 | ||
| 2243 | Crater(head,67) | |
| 2244 | end | |
| 2245 | ||
| 2246 | function Smash2() | |
| 2247 | for i = 1, 15 do | |
| 2248 | local gtrace = Instance.new("Part",game.Workspace)
| |
| 2249 | gtrace.BrickColor = gprop[1] | |
| 2250 | gtrace.Material = gprop[2] | |
| 2251 | gtrace.Size = Vector3.new(19,19,19) | |
| 2252 | gtrace.Anchored = true | |
| 2253 | gtrace.CanCollide = false | |
| 2254 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
| 2255 | local gdisp = coroutine.wrap(function() | |
| 2256 | wait(7) | |
| 2257 | for i = 1, 9 do | |
| 2258 | wait(.1) | |
| 2259 | gtrace.Transparency = gtrace.Transparency + .1 | |
| 2260 | end | |
| 2261 | gtrace:Destroy() | |
| 2262 | end) | |
| 2263 | gdisp() | |
| 2264 | end | |
| 2265 | ||
| 2266 | end | |
| 2267 | ||
| 2268 | function Smash3() | |
| 2269 | for i = 1, 15 do | |
| 2270 | local gtrace = Instance.new("Part",game.Workspace)
| |
| 2271 | gtrace.BrickColor = gprop[1] | |
| 2272 | gtrace.Material = gprop[2] | |
| 2273 | gtrace.Size = Vector3.new(19,19,19) | |
| 2274 | gtrace.Anchored = true | |
| 2275 | gtrace.CanCollide = false | |
| 2276 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-50,50),-6,math.random(-50,50))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
| 2277 | local gdisp = coroutine.wrap(function() | |
| 2278 | wait(7) | |
| 2279 | for i = 1, 9 do | |
| 2280 | wait(.1) | |
| 2281 | gtrace.Transparency = gtrace.Transparency + .1 | |
| 2282 | end | |
| 2283 | gtrace:Destroy() | |
| 2284 | end) | |
| 2285 | gdisp() | |
| 2286 | end | |
| 2287 | ||
| 2288 | end | |
| 2289 | ||
| 2290 | ||
| 2291 | function Smash4() | |
| 2292 | for i = 1, 15 do | |
| 2293 | local gtrace = Instance.new("Part",game.Workspace)
| |
| 2294 | gtrace.BrickColor = gprop[1] | |
| 2295 | gtrace.Material = gprop[2] | |
| 2296 | gtrace.Size = Vector3.new(19,19,19) | |
| 2297 | gtrace.Anchored = true | |
| 2298 | gtrace.CanCollide = false | |
| 2299 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-40,40),-6,math.random(-40,40))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
| 2300 | local gdisp = coroutine.wrap(function() | |
| 2301 | wait(7) | |
| 2302 | for i = 1, 9 do | |
| 2303 | wait(.1) | |
| 2304 | gtrace.Transparency = gtrace.Transparency + .1 | |
| 2305 | end | |
| 2306 | gtrace:Destroy() | |
| 2307 | end) | |
| 2308 | gdisp() | |
| 2309 | end | |
| 2310 | ||
| 2311 | end | |
| 2312 | ||
| 2313 | function Smash5() | |
| 2314 | for i = 1, 15 do | |
| 2315 | local gtrace = Instance.new("Part",game.Workspace)
| |
| 2316 | gtrace.BrickColor = gprop[1] | |
| 2317 | gtrace.Material = gprop[2] | |
| 2318 | gtrace.Size = Vector3.new(19,19,19) | |
| 2319 | gtrace.Anchored = true | |
| 2320 | gtrace.CanCollide = false | |
| 2321 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-30,30),-6,math.random(-30,30))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
| 2322 | local gdisp = coroutine.wrap(function() | |
| 2323 | wait(7) | |
| 2324 | for i = 1, 9 do | |
| 2325 | wait(.1) | |
| 2326 | gtrace.Transparency = gtrace.Transparency + .1 | |
| 2327 | end | |
| 2328 | gtrace:Destroy() | |
| 2329 | end) | |
| 2330 | gdisp() | |
| 2331 | end | |
| 2332 | ||
| 2333 | end | |
| 2334 | ||
| 2335 | function Smash6() | |
| 2336 | for i = 1, 15 do | |
| 2337 | local gtrace = Instance.new("Part",game.Workspace)
| |
| 2338 | gtrace.BrickColor = gprop[1] | |
| 2339 | gtrace.Material = gprop[2] | |
| 2340 | gtrace.Size = Vector3.new(19,19,19) | |
| 2341 | gtrace.Anchored = true | |
| 2342 | gtrace.CanCollide = false | |
| 2343 | gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-20,20),-6,math.random(-20,20))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
| 2344 | local gdisp = coroutine.wrap(function() | |
| 2345 | wait(7) | |
| 2346 | for i = 1, 9 do | |
| 2347 | wait(.1) | |
| 2348 | gtrace.Transparency = gtrace.Transparency + .1 | |
| 2349 | end | |
| 2350 | gtrace:Destroy() | |
| 2351 | end) | |
| 2352 | gdisp() | |
| 2353 | end | |
| 2354 | ||
| 2355 | end | |
| 2356 | ||
| 2357 | ||
| 2358 | for i,v in pairs(FindNearestTorso(tors.CFrame.p,99))do | |
| 2359 | if v:FindFirstChild('Humanoid') then
| |
| 2360 | v.Humanoid:TakeDamage(math.random(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999,9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)) | |
| 2361 | v.Humanoid.PlatformStand = true | |
| 2362 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 600
| |
| 2363 | end | |
| 2364 | end | |
| 2365 | ||
| 2366 | ||
| 2367 | function HeavenSmash() | |
| 2368 | ||
| 2369 | ||
| 2370 | if activu == true or selected == false then | |
| 2371 | return | |
| 2372 | end | |
| 2373 | coroutine.resume(coroutine.create(function() | |
| 2374 | fglow(lleg.Glow, 19) | |
| 2375 | fglow(rleg.Glow, 19) | |
| 2376 | fglow(rarm.Glow, 19) | |
| 2377 | fglow(larm.Glow, 19) | |
| 2378 | fglow(head.Glow, 19) | |
| 2379 | fglow(tors.Glow, 19) | |
| 2380 | end)) | |
| 2381 | activu = true | |
| 2382 | local pe = Instance.new("ParticleEmitter")
| |
| 2383 | - | pe.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 2383 | + | pe.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 2384 | pe.LightEmission = 0.9 | |
| 2385 | pe.Size = NumberSequence.new(0.5) | |
| 2386 | pe.Texture = "rbxassetid://272050333" | |
| 2387 | pe.Transparency = NumberSequence.new(0.1) | |
| 2388 | pe.Lifetime = NumberRange.new(0.1) | |
| 2389 | pe.Rate = 250 | |
| 2390 | pe.RotSpeed = NumberRange.new(360) | |
| 2391 | pe.Speed = NumberRange.new(3) | |
| 2392 | pe.VelocitySpread = 360 | |
| 2393 | pe.Parent = lleg.Glow | |
| 2394 | local pea = pe:Clone() | |
| 2395 | pea.Parent = lleg.Glow | |
| 2396 | local pe2 = Instance.new("ParticleEmitter")
| |
| 2397 | - | pe2.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 2397 | + | pe2.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 2398 | pe2.LightEmission = 0.9 | |
| 2399 | pe2.Size = NumberSequence.new(5) | |
| 2400 | pe2.Texture = "rbxassetid://516107903" | |
| 2401 | pe2.Transparency = NumberSequence.new(0.4) | |
| 2402 | pe2.ZOffset = 2 | |
| 2403 | pe2.Enabled = true | |
| 2404 | pe2.LockedToPart = true | |
| 2405 | pe2.Lifetime = NumberRange.new(0.07) | |
| 2406 | pe2.Rate = 8 | |
| 2407 | pe2.Rotation = NumberRange.new(0, 360) | |
| 2408 | pe2.RotSpeed = NumberRange.new(0) | |
| 2409 | pe2.Speed = NumberRange.new(0) | |
| 2410 | pe2.VelocitySpread = 180 | |
| 2411 | pe2.Parent = lleg.Glow | |
| 2412 | local pea2 = pe2:Clone() | |
| 2413 | pea2.Parent = lleg.Glow | |
| 2414 | ||
| 2415 | ||
| 2416 | ||
| 2417 | local pet = Instance.new("ParticleEmitter")
| |
| 2418 | - | pet.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 2418 | + | pet.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 2419 | pet.LightEmission = 0.9 | |
| 2420 | pet.Size = NumberSequence.new(0.5) | |
| 2421 | pet.Texture = "rbxassetid://272050333" | |
| 2422 | pet.Transparency = NumberSequence.new(0.1) | |
| 2423 | pet.Lifetime = NumberRange.new(0.1) | |
| 2424 | pet.Rate = 1 | |
| 2425 | pet.RotSpeed = NumberRange.new(360) | |
| 2426 | pet.Speed = NumberRange.new(3) | |
| 2427 | pet.VelocitySpread = 360 | |
| 2428 | pet.Parent = rarm.Glow | |
| 2429 | local pet2 = Instance.new("ParticleEmitter")
| |
| 2430 | - | pet2.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 2430 | + | pet2.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 2431 | pet2.LightEmission = 0.9 | |
| 2432 | pet2.Size = NumberSequence.new(5) | |
| 2433 | pet2.Texture = "rbxassetid://516107903" | |
| 2434 | pet2.Transparency = NumberSequence.new(0.4) | |
| 2435 | pet2.ZOffset = 2 | |
| 2436 | pet2.Enabled = false | |
| 2437 | pet2.LockedToPart = true | |
| 2438 | pet2.Lifetime = NumberRange.new(0.07) | |
| 2439 | pet2.Rate = 8 | |
| 2440 | pet2.Rotation = NumberRange.new(0, 360) | |
| 2441 | pet2.RotSpeed = NumberRange.new(0) | |
| 2442 | pet2.Speed = NumberRange.new(0) | |
| 2443 | pet2.VelocitySpread = 180 | |
| 2444 | pet2.Parent = rarm.Glow | |
| 2445 | ||
| 2446 | ||
| 2447 | ||
| 2448 | local petl = Instance.new("ParticleEmitter")
| |
| 2449 | - | petl.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 2449 | + | petl.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 2450 | petl.LightEmission = 0.9 | |
| 2451 | petl.Size = NumberSequence.new(0.5) | |
| 2452 | petl.Texture = "rbxassetid://272050333" | |
| 2453 | petl.Transparency = NumberSequence.new(0.1) | |
| 2454 | petl.Lifetime = NumberRange.new(0.1) | |
| 2455 | petl.Rate = 1 | |
| 2456 | petl.RotSpeed = NumberRange.new(360) | |
| 2457 | petl.Speed = NumberRange.new(3) | |
| 2458 | petl.VelocitySpread = 360 | |
| 2459 | petl.Parent = larm.Glow | |
| 2460 | local petl2 = Instance.new("ParticleEmitter")
| |
| 2461 | - | petl2.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 2461 | + | petl2.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 2462 | petl2.LightEmission = 0.9 | |
| 2463 | petl2.Size = NumberSequence.new(5) | |
| 2464 | petl2.Texture = "rbxassetid://516107903" | |
| 2465 | petl2.Transparency = NumberSequence.new(0.4) | |
| 2466 | petl2.ZOffset = 2 | |
| 2467 | petl2.Enabled = false | |
| 2468 | petl2.LockedToPart = true | |
| 2469 | petl2.Lifetime = NumberRange.new(0.07) | |
| 2470 | petl2.Rate = 8 | |
| 2471 | petl2.Rotation = NumberRange.new(0, 360) | |
| 2472 | petl2.RotSpeed = NumberRange.new(0) | |
| 2473 | petl2.Speed = NumberRange.new(0) | |
| 2474 | petl2.VelocitySpread = 180 | |
| 2475 | petl2.Parent = larm.Glow | |
| 2476 | ||
| 2477 | ||
| 2478 | local petl3 = Instance.new("ParticleEmitter")
| |
| 2479 | - | petl3.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 2479 | + | petl3.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 2480 | petl3.LightEmission = 0.9 | |
| 2481 | petl3.Size = NumberSequence.new(0.5) | |
| 2482 | petl3.Texture = "rbxassetid://272050333" | |
| 2483 | petl3.Transparency = NumberSequence.new(0.1) | |
| 2484 | petl3.Lifetime = NumberRange.new(0.1) | |
| 2485 | petl3.Rate = 1 | |
| 2486 | petl3.RotSpeed = NumberRange.new(360) | |
| 2487 | petl3.Speed = NumberRange.new(3) | |
| 2488 | petl3.VelocitySpread = 360 | |
| 2489 | petl3.Parent = head.Glow | |
| 2490 | local petl23 = Instance.new("ParticleEmitter")
| |
| 2491 | - | petl23.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 2491 | + | petl23.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 2492 | petl23.LightEmission = 0.9 | |
| 2493 | petl23.Size = NumberSequence.new(5) | |
| 2494 | petl23.Texture = "rbxassetid://516107903" | |
| 2495 | petl23.Transparency = NumberSequence.new(0.4) | |
| 2496 | petl23.ZOffset = 2 | |
| 2497 | petl23.Enabled = false | |
| 2498 | petl23.LockedToPart = true | |
| 2499 | petl23.Lifetime = NumberRange.new(0.07) | |
| 2500 | petl23.Rate = 8 | |
| 2501 | petl23.Rotation = NumberRange.new(0, 360) | |
| 2502 | petl23.RotSpeed = NumberRange.new(0) | |
| 2503 | petl23.Speed = NumberRange.new(0) | |
| 2504 | petl23.VelocitySpread = 180 | |
| 2505 | petl23.Parent = head.Glow | |
| 2506 | ||
| 2507 | ||
| 2508 | ||
| 2509 | local petl34 = Instance.new("ParticleEmitter")
| |
| 2510 | - | petl34.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 2510 | + | petl34.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 2511 | petl34.LightEmission = 0.9 | |
| 2512 | petl34.Size = NumberSequence.new(0.5) | |
| 2513 | petl34.Texture = "rbxassetid://272050333" | |
| 2514 | petl34.Transparency = NumberSequence.new(0.1) | |
| 2515 | petl34.Lifetime = NumberRange.new(0.1) | |
| 2516 | petl34.Rate = 1 | |
| 2517 | petl34.RotSpeed = NumberRange.new(360) | |
| 2518 | petl34.Speed = NumberRange.new(3) | |
| 2519 | petl34.VelocitySpread = 360 | |
| 2520 | petl34.Parent = rleg.Glow | |
| 2521 | local petl234 = Instance.new("ParticleEmitter")
| |
| 2522 | - | petl234.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 2522 | + | petl234.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 2523 | petl234.LightEmission = 0.9 | |
| 2524 | petl234.Size = NumberSequence.new(5) | |
| 2525 | petl234.Texture = "rbxassetid://516107903" | |
| 2526 | petl234.Transparency = NumberSequence.new(0.4) | |
| 2527 | petl234.ZOffset = 2 | |
| 2528 | petl234.Enabled = false | |
| 2529 | petl234.LockedToPart = true | |
| 2530 | petl234.Rate = 8 | |
| 2531 | petl234.Rotation = NumberRange.new(0, 360) | |
| 2532 | petl234.RotSpeed = NumberRange.new(0) | |
| 2533 | petl234.Speed = NumberRange.new(0) | |
| 2534 | petl234.VelocitySpread = 180 | |
| 2535 | petl234.Parent = rleg.Glow | |
| 2536 | ||
| 2537 | ||
| 2538 | local petl345 = Instance.new("ParticleEmitter")
| |
| 2539 | - | petl345.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 2539 | + | petl345.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 2540 | petl345.LightEmission = 0.9 | |
| 2541 | petl345.Size = NumberSequence.new(0.5) | |
| 2542 | petl345.Texture = "rbxassetid://272050333" | |
| 2543 | petl345.Transparency = NumberSequence.new(0.1) | |
| 2544 | petl345.Lifetime = NumberRange.new(0.1) | |
| 2545 | petl345.Rate = 1 | |
| 2546 | petl345.RotSpeed = NumberRange.new(360) | |
| 2547 | petl345.Speed = NumberRange.new(3) | |
| 2548 | petl345.VelocitySpread = 360 | |
| 2549 | petl345.Parent = tors.Glow | |
| 2550 | local petl2345 = Instance.new("ParticleEmitter")
| |
| 2551 | - | petl2345.Color = ColorSequence.new(Color3.new(255, 255, 0)) |
| 2551 | + | petl2345.Color = ColorSequence.new(Color3.new(255, 0, 0)) |
| 2552 | petl2345.LightEmission = 0.9 | |
| 2553 | petl2345.Size = NumberSequence.new(5) | |
| 2554 | petl2345.Texture = "rbxassetid://516107903" | |
| 2555 | petl2345.Transparency = NumberSequence.new(0.4) | |
| 2556 | petl2345.ZOffset = 2 | |
| 2557 | petl2345.Enabled = false | |
| 2558 | petl2345.LockedToPart = true | |
| 2559 | petl2345.Rate = 8 | |
| 2560 | petl2345.Rotation = NumberRange.new(0, 360) | |
| 2561 | petl2345.RotSpeed = NumberRange.new(0) | |
| 2562 | petl2345.Speed = NumberRange.new(0) | |
| 2563 | petl2345.VelocitySpread = 180 | |
| 2564 | petl2345.Parent = tors.Glow | |
| 2565 | human.WalkSpeed = 0 | |
| 2566 | so("http://www.roblox.com/asset/?id=169445572",head,1.5,1.5)
| |
| 2567 | so("http://www.roblox.com/asset/?id=169380495",head,1.5,1.5)
| |
| 2568 | for l = 1, 30 do | |
| 2569 | swait() | |
| 2570 | lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40) | |
| 2571 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40) | |
| 2572 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40) | |
| 2573 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
| 2574 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40) | |
| 2575 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
| 2576 | lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40) | |
| 2577 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
| 2578 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40) | |
| 2579 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40) | |
| 2580 | end | |
| 2581 | ||
| 2582 | ||
| 2583 | resetlerp() | |
| 2584 | ||
| 2585 | BV = Instance.new("BodyVelocity", tors)
| |
| 2586 | BV.maxForce = Vector3.new(0,200000,0) | |
| 2587 | BV.P = 100000 | |
| 2588 | BV.velocity = Vector3.new(0,150,0) | |
| 2589 | local rng = Instance.new("Part", chr)
| |
| 2590 | rng.Anchored = true | |
| 2591 | - | rng.BrickColor = BrickColor.new("Institutional white")
|
| 2591 | + | rng.BrickColor = BrickColor.new("Bright red")
|
| 2592 | rng.CanCollide = false | |
| 2593 | rng.FormFactor = 3 | |
| 2594 | rng.Name = "Ring" | |
| 2595 | rng.Size = Vector3.new(1, 1, 1) | |
| 2596 | rng.Transparency = 0.5 | |
| 2597 | rng.TopSurface = 0 | |
| 2598 | rng.BottomSurface = 0 | |
| 2599 | rng.Position = tors.Position - Vector3.new(0,2,0) | |
| 2600 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 2601 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2602 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2603 | rngm.Scale = Vector3.new(10, 10, 20) | |
| 2604 | x = Instance.new("Sound",tors)
| |
| 2605 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
| 2606 | x.Looped = false | |
| 2607 | x.Pitch = .7 | |
| 2608 | x.Volume = 30 | |
| 2609 | x:Play() | |
| 2610 | coroutine.wrap(function() | |
| 2611 | for i = 1, 60, 8 do | |
| 2612 | rngm.Scale = Vector3.new(10.20 + i*10.10, 10.20 + i*10.10, 10) | |
| 2613 | rng.Transparency = i/60 | |
| 2614 | wait() | |
| 2615 | end | |
| 2616 | wait() | |
| 2617 | rng:Destroy() | |
| 2618 | end)() | |
| 2619 | wait(2.6) | |
| 2620 | BV:Destroy() | |
| 2621 | tors.Anchored = true | |
| 2622 | wait(3.2) | |
| 2623 | tors.Anchored = false | |
| 2624 | BV = Instance.new("BodyVelocity", tors)
| |
| 2625 | BV.maxForce = Vector3.new(0,-20000,0) | |
| 2626 | BV.P = 1000 | |
| 2627 | BV.velocity = Vector3.new(0,-150,0) | |
| 2628 | wait(1) | |
| 2629 | BV:Destroy() | |
| 2630 | wait(0.01) | |
| 2631 | ||
| 2632 | human.WalkSpeed = 0 | |
| 2633 | boom3:Play() | |
| 2634 | ||
| 2635 | Smash() | |
| 2636 | Smash2() | |
| 2637 | Smash3() | |
| 2638 | Ring() | |
| 2639 | pe:Destroy() | |
| 2640 | pea:Destroy() | |
| 2641 | pea2:Destroy() | |
| 2642 | pe2:Destroy() | |
| 2643 | wait(2) | |
| 2644 | human.WalkSpeed = 16 | |
| 2645 | activu = false | |
| 2646 | end | |
| 2647 | ||
| 2648 | ||
| 2649 | ||
| 2650 | sound = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"])
| |
| 2651 | sound.SoundId = "rbxassetid://220025776" | |
| 2652 | sound.Volume = 6 | |
| 2653 | ||
| 2654 | sound2 = Instance.new("Sound", game.Players.LocalPlayer.Character["Torso"])
| |
| 2655 | sound2.SoundId = "rbxassetid://386946017" | |
| 2656 | sound2.Volume = 6 | |
| 2657 | ||
| 2658 | sound3 = Instance.new("Sound", game.Players.LocalPlayer.Character)
| |
| 2659 | sound3.SoundId = "rbxassetid://165969964" | |
| 2660 | sound3.Volume = 6 | |
| 2661 | ||
| 2662 | function rip() | |
| 2663 | activu = true | |
| 2664 | local detect = Instance.new("Part", game.Players.LocalPlayer.Character)
| |
| 2665 | detect.Size = Vector3.new(1,1,1) | |
| 2666 | detect:BreakJoints() | |
| 2667 | detect.CanCollide = false | |
| 2668 | local weld = Instance.new("Weld", detect)
| |
| 2669 | weld.Part0 = game.Players.LocalPlayer.Character["Torso"] | |
| 2670 | weld.Part1 = detect | |
| 2671 | weld.C0 = weld.C0 * CFrame.new(0,-1,0) | |
| 2672 | ||
| 2673 | ||
| 2674 | ||
| 2675 | local function attack(prt) | |
| 2676 | local humanoid = prt.Parent:findFirstChild("Humanoid")
| |
| 2677 | if humanoid ~= nil then | |
| 2678 | local torso = prt.Parent:findFirstChild("Torso")
| |
| 2679 | ||
| 2680 | ||
| 2681 | ||
| 2682 | ||
| 2683 | ||
| 2684 | ||
| 2685 | ||
| 2686 | function KABOOMZ3() | |
| 2687 | local effspwn = Instance.new("Part")
| |
| 2688 | coroutine.resume(coroutine.create(function() | |
| 2689 | local sound1 = Instance.new("Sound")
| |
| 2690 | sound1.SoundId = "rbxassetid://138137702" | |
| 2691 | sound1.MaxDistance = 300 | |
| 2692 | sound1.EmitterSize = 20 | |
| 2693 | sound1.Volume = 2.5 | |
| 2694 | sound1.Pitch = 0.65 | |
| 2695 | sound1.Parent = effspwn | |
| 2696 | local sound2 = Instance.new("Sound")
| |
| 2697 | sound2.SoundId = "rbxassetid://157878578" | |
| 2698 | sound2.MaxDistance = 300 | |
| 2699 | sound2.EmitterSize = 20 | |
| 2700 | sound2.Volume = 1 | |
| 2701 | sound2.Pitch = 0.7 | |
| 2702 | sound2.Parent = effspwn | |
| 2703 | local sound3 = Instance.new("Sound")
| |
| 2704 | sound3.SoundId = "rbxassetid://138250406" | |
| 2705 | sound2.MaxDistance = 400 | |
| 2706 | sound2.EmitterSize = 30 | |
| 2707 | sound2.Volume = 0.5 | |
| 2708 | sound2.Pitch = 0.5 | |
| 2709 | sound2.Parent = effspwn | |
| 2710 | sound2:Play() | |
| 2711 | wait() | |
| 2712 | sound1:Play() | |
| 2713 | sound3:Play() | |
| 2714 | end)) | |
| 2715 | local model = Instance.new("Model")
| |
| 2716 | game.Debris:AddItem(model, 20) | |
| 2717 | model.Name = "smasheffects" | |
| 2718 | model.Parent = workspace | |
| 2719 | effspwn.Name = "spwnr" | |
| 2720 | effspwn.Size = Vector3.new(1, 1, 1) | |
| 2721 | effspwn.Anchored = true | |
| 2722 | effspwn.CanCollide = false | |
| 2723 | effspwn.Transparency = 1 | |
| 2724 | effspwn.CFrame = torso.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
| 2725 | effspwn.Parent = model | |
| 2726 | ||
| 2727 | ||
| 2728 | ||
| 2729 | ||
| 2730 | ||
| 2731 | Crater(head,60) | |
| 2732 | Crater(head,120) | |
| 2733 | ||
| 2734 | for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do | |
| 2735 | if v:FindFirstChild('Humanoid') then
| |
| 2736 | v.Humanoid:TakeDamage(math.random(10000020,10000030)) | |
| 2737 | v.Humanoid.PlatformStand = true | |
| 2738 | v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
| |
| 2739 | end | |
| 2740 | end | |
| 2741 | ||
| 2742 | coroutine.resume(coroutine.create(function() | |
| 2743 | local shok = Instance.new("Part")
| |
| 2744 | shok.Name = "whoosh" | |
| 2745 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 2745 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 2746 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 2747 | shok.Size = Vector3.new(1, 1, 1) | |
| 2748 | shok.Anchored = true | |
| 2749 | shok.Material = "Neon" | |
| 2750 | shok.Transparency = 0.1 | |
| 2751 | shok.CanCollide = false | |
| 2752 | shok.Parent = model | |
| 2753 | game.Debris:AddItem(shok, 12) | |
| 2754 | local mesh = Instance.new("SpecialMesh")
| |
| 2755 | mesh.MeshType = "FileMesh" | |
| 2756 | mesh.MeshId = "rbxassetid://437347603" | |
| 2757 | mesh.Scale = Vector3.new(0.8, 0.8, 0.3) | |
| 2758 | mesh.Parent = shok | |
| 2759 | ||
| 2760 | ||
| 2761 | ||
| 2762 | ||
| 2763 | ||
| 2764 | for e = 1, 8 do | |
| 2765 | wait() | |
| 2766 | mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22) | |
| 2767 | shok.Transparency = shok.Transparency + 0.035 | |
| 2768 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4) | |
| 2769 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29)) | |
| 2770 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 2771 | ||
| 2772 | end | |
| 2773 | for e = 1, 16 do | |
| 2774 | wait() | |
| 2775 | mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12) | |
| 2776 | shok.Transparency = shok.Transparency + 0.11 | |
| 2777 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4) | |
| 2778 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15)) | |
| 2779 | hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3) | |
| 2780 | ||
| 2781 | end | |
| 2782 | end)) | |
| 2783 | coroutine.resume(coroutine.create(function() | |
| 2784 | local shok = Instance.new("Part")
| |
| 2785 | shok.Name = "wring1" | |
| 2786 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 2786 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 2787 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 2788 | shok.Size = Vector3.new(1, 1, 1) | |
| 2789 | shok.Anchored = true | |
| 2790 | shok.Material = "Neon" | |
| 2791 | shok.Transparency = 0.25 | |
| 2792 | shok.CanCollide = false | |
| 2793 | shok.Parent = model | |
| 2794 | game.Debris:AddItem(shok, 12) | |
| 2795 | local mesh = Instance.new("SpecialMesh")
| |
| 2796 | mesh.MeshType = "FileMesh" | |
| 2797 | mesh.MeshId = "rbxassetid://3270017" | |
| 2798 | mesh.Scale = Vector3.new(0.1, 0.1, 0.05) | |
| 2799 | mesh.Parent = shok | |
| 2800 | for e = 1, 30 do | |
| 2801 | wait() | |
| 2802 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3) | |
| 2803 | shok.Transparency = shok.Transparency + 0.002 | |
| 2804 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 2805 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 2806 | end | |
| 2807 | for e = 1, 38 do | |
| 2808 | wait() | |
| 2809 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
| 2810 | shok.Transparency = shok.Transparency + 0.002 | |
| 2811 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 2812 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 2813 | end | |
| 2814 | for e = 1, 24 do | |
| 2815 | wait() | |
| 2816 | mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1) | |
| 2817 | shok.Transparency = shok.Transparency + 0.03 | |
| 2818 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 2819 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)) | |
| 2820 | end | |
| 2821 | end)) | |
| 2822 | coroutine.resume(coroutine.create(function() | |
| 2823 | local shok = Instance.new("Part")
| |
| 2824 | shok.Name = "wring2" | |
| 2825 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 2825 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 2826 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
| 2827 | shok.Size = Vector3.new(1, 1, 1) | |
| 2828 | shok.Anchored = true | |
| 2829 | shok.Material = "Neon" | |
| 2830 | shok.Transparency = 0.25 | |
| 2831 | shok.CanCollide = false | |
| 2832 | shok.Parent = model | |
| 2833 | game.Debris:AddItem(shok, 12) | |
| 2834 | local mesh = Instance.new("SpecialMesh")
| |
| 2835 | mesh.MeshType = "FileMesh" | |
| 2836 | mesh.MeshId = "rbxassetid://3270017" | |
| 2837 | mesh.Scale = Vector3.new(12, 12, 0.05) | |
| 2838 | mesh.Parent = shok | |
| 2839 | for e = 1, 30 do | |
| 2840 | wait() | |
| 2841 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3) | |
| 2842 | shok.Transparency = shok.Transparency + 0.002 | |
| 2843 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 2844 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 2845 | end | |
| 2846 | for e = 1, 38 do | |
| 2847 | wait() | |
| 2848 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
| 2849 | shok.Transparency = shok.Transparency + 0.002 | |
| 2850 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 2851 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 2852 | end | |
| 2853 | for e = 1, 24 do | |
| 2854 | wait() | |
| 2855 | mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1) | |
| 2856 | shok.Transparency = shok.Transparency + 0.03 | |
| 2857 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 2858 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2)) | |
| 2859 | end | |
| 2860 | end)) | |
| 2861 | coroutine.resume(coroutine.create(function() | |
| 2862 | local shok = Instance.new("Part")
| |
| 2863 | shok.Name = "coil1" | |
| 2864 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 2864 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 2865 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 2866 | shok.Size = Vector3.new(1, 1, 1) | |
| 2867 | shok.Anchored = true | |
| 2868 | shok.Material = "Neon" | |
| 2869 | shok.Transparency = 0.25 | |
| 2870 | shok.CanCollide = false | |
| 2871 | shok.Parent = model | |
| 2872 | game.Debris:AddItem(shok, 12) | |
| 2873 | local mesh = Instance.new("SpecialMesh")
| |
| 2874 | mesh.MeshType = "FileMesh" | |
| 2875 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2876 | mesh.Scale = Vector3.new(12, 12, 12) | |
| 2877 | mesh.Parent = shok | |
| 2878 | for e = 1, 15 do | |
| 2879 | wait() | |
| 2880 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 2881 | shok.Transparency = shok.Transparency + 0.004 | |
| 2882 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 2883 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 2884 | end | |
| 2885 | for e = 1, 16 do | |
| 2886 | wait() | |
| 2887 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 2888 | shok.Transparency = shok.Transparency + 0.004 | |
| 2889 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 2890 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 2891 | end | |
| 2892 | for e = 1, 12 do | |
| 2893 | wait() | |
| 2894 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 2895 | shok.Transparency = shok.Transparency + 0.06 | |
| 2896 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 2897 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 2898 | end | |
| 2899 | end)) | |
| 2900 | coroutine.resume(coroutine.create(function() | |
| 2901 | local shok = Instance.new("Part")
| |
| 2902 | shok.Name = "coil2" | |
| 2903 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 2903 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 2904 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 2905 | shok.Size = Vector3.new(1, 1, 1) | |
| 2906 | shok.Anchored = true | |
| 2907 | shok.Material = "Neon" | |
| 2908 | shok.Transparency = 0.25 | |
| 2909 | shok.CanCollide = false | |
| 2910 | shok.Parent = model | |
| 2911 | game.Debris:AddItem(shok, 12) | |
| 2912 | local mesh = Instance.new("SpecialMesh")
| |
| 2913 | mesh.MeshType = "FileMesh" | |
| 2914 | mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2915 | mesh.Scale = Vector3.new(6, 12, 6) | |
| 2916 | mesh.Parent = shok | |
| 2917 | for e = 1, 15 do | |
| 2918 | wait() | |
| 2919 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
| 2920 | shok.Transparency = shok.Transparency + 0.005 | |
| 2921 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
| 2922 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
| 2923 | end | |
| 2924 | for e = 1, 16 do | |
| 2925 | wait() | |
| 2926 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
| 2927 | shok.Transparency = shok.Transparency + 0.005 | |
| 2928 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 2929 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
| 2930 | end | |
| 2931 | for e = 1, 12 do | |
| 2932 | wait() | |
| 2933 | mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1) | |
| 2934 | shok.Transparency = shok.Transparency + 0.09 | |
| 2935 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4) | |
| 2936 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)) | |
| 2937 | end | |
| 2938 | end)) | |
| 2939 | coroutine.resume(coroutine.create(function() | |
| 2940 | local shok = Instance.new("Part")
| |
| 2941 | shok.Name = "shokwve" | |
| 2942 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 2942 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 2943 | shok.Position = effspwn.Position + Vector3.new(0, 5, 0) | |
| 2944 | shok.Size = Vector3.new(1, 1, 1) | |
| 2945 | shok.Anchored = true | |
| 2946 | shok.Material = "Neon" | |
| 2947 | shok.Transparency = 0.6 | |
| 2948 | shok.CanCollide = false | |
| 2949 | shok.Parent = model | |
| 2950 | game.Debris:AddItem(shok, 12) | |
| 2951 | local mesh = Instance.new("SpecialMesh")
| |
| 2952 | mesh.MeshType = "FileMesh" | |
| 2953 | mesh.MeshId = "rbxassetid://489415447" | |
| 2954 | mesh.Scale = Vector3.new(1, 1, 1) | |
| 2955 | mesh.Parent = shok | |
| 2956 | for e = 1, 12 do | |
| 2957 | wait() | |
| 2958 | mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2) | |
| 2959 | shok.Transparency = shok.Transparency + 0.002 | |
| 2960 | end | |
| 2961 | for e = 1, 32 do | |
| 2962 | wait() | |
| 2963 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
| 2964 | shok.Transparency = shok.Transparency + 0.002 | |
| 2965 | end | |
| 2966 | for e = 1, 24 do | |
| 2967 | wait() | |
| 2968 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5) | |
| 2969 | shok.Transparency = shok.Transparency + 0.03 | |
| 2970 | end | |
| 2971 | end)) | |
| 2972 | coroutine.resume(coroutine.create(function() | |
| 2973 | local shok = Instance.new("Part")
| |
| 2974 | shok.Name = "shock2" | |
| 2975 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 2975 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 2976 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 2977 | shok.Size = Vector3.new(1, 1, 1) | |
| 2978 | shok.Anchored = true | |
| 2979 | shok.Material = "Neon" | |
| 2980 | shok.Transparency = 0.35 | |
| 2981 | shok.CanCollide = false | |
| 2982 | shok.Parent = model | |
| 2983 | game.Debris:AddItem(shok, 12) | |
| 2984 | local mesh = Instance.new("SpecialMesh")
| |
| 2985 | mesh.MeshType = "FileMesh" | |
| 2986 | mesh.MeshId = "rbxassetid://489415447" | |
| 2987 | mesh.Scale = Vector3.new(12, 12, 12) | |
| 2988 | mesh.Parent = shok | |
| 2989 | for e = 1, 15 do | |
| 2990 | wait() | |
| 2991 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 2992 | shok.Transparency = shok.Transparency + 0.004 | |
| 2993 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 2994 | end | |
| 2995 | for e = 1, 16 do | |
| 2996 | wait() | |
| 2997 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 2998 | shok.Transparency = shok.Transparency + 0.004 | |
| 2999 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 3000 | end | |
| 3001 | for e = 1, 12 do | |
| 3002 | wait() | |
| 3003 | mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5) | |
| 3004 | shok.Transparency = shok.Transparency + 0.06 | |
| 3005 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0)) | |
| 3006 | end | |
| 3007 | end)) | |
| 3008 | coroutine.resume(coroutine.create(function() | |
| 3009 | local shok = Instance.new("Part")
| |
| 3010 | shok.Name = "shock3" | |
| 3011 | - | shok.BrickColor = BrickColor.new("Institutional white")
|
| 3011 | + | shok.BrickColor = BrickColor.new("Bright red")
|
| 3012 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 3013 | shok.Size = Vector3.new(1, 1, 1) | |
| 3014 | shok.Anchored = true | |
| 3015 | shok.Material = "Neon" | |
| 3016 | shok.Transparency = 0.35 | |
| 3017 | shok.CanCollide = false | |
| 3018 | shok.Parent = model | |
| 3019 | game.Debris:AddItem(shok, 12) | |
| 3020 | local mesh = Instance.new("SpecialMesh")
| |
| 3021 | mesh.MeshType = "FileMesh" | |
| 3022 | mesh.MeshId = "rbxassetid://489415447" | |
| 3023 | mesh.Scale = Vector3.new(12, 12, 12) | |
| 3024 | mesh.Parent = shok | |
| 3025 | for e = 1, 15 do | |
| 3026 | wait() | |
| 3027 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 3028 | shok.Transparency = shok.Transparency + 0.004 | |
| 3029 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 3030 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 3031 | end | |
| 3032 | for e = 1, 16 do | |
| 3033 | wait() | |
| 3034 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5) | |
| 3035 | shok.Transparency = shok.Transparency + 0.004 | |
| 3036 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 3037 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 3038 | end | |
| 3039 | for e = 1, 12 do | |
| 3040 | wait() | |
| 3041 | mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5) | |
| 3042 | shok.Transparency = shok.Transparency + 0.06 | |
| 3043 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
| 3044 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
| 3045 | end | |
| 3046 | end)) | |
| 3047 | end | |
| 3048 | ||
| 3049 | ||
| 3050 | ||
| 3051 | if torso ~= nil then | |
| 3052 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0 | |
| 3053 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0 | |
| 3054 | for i = 1,5 do | |
| 3055 | wait() | |
| 3056 | game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.25) | |
| 3057 | game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.25) | |
| 3058 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.25,0,0) | |
| 3059 | end | |
| 3060 | sound:Play() | |
| 3061 | local bodyVel = Instance.new("BodyPosition", torso)
| |
| 3062 | bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,1000,0) | |
| 3063 | bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 3064 | wait(2) | |
| 3065 | torso.Anchored = true | |
| 3066 | for i = 1,5 do | |
| 3067 | wait() | |
| 3068 | game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.25) | |
| 3069 | game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.25) | |
| 3070 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0) | |
| 3071 | end | |
| 3072 | for i = 1,5 do | |
| 3073 | wait() | |
| 3074 | game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.08) | |
| 3075 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.08,0,0) | |
| 3076 | end | |
| 3077 | wait(1) | |
| 3078 | local bodyvel = Instance.new("BodyPosition" , game.Players.LocalPlayer.Character.Torso)
| |
| 3079 | bodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 3080 | bodyvel.Position = torso.Position | |
| 3081 | for i = 1,5 do | |
| 3082 | wait() | |
| 3083 | game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0) | |
| 3084 | game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.08) | |
| 3085 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.15,0,0) | |
| 3086 | end | |
| 3087 | wait(2) | |
| 3088 | bodyVel:destroy() | |
| 3089 | game.Players.LocalPlayer.Character.Torso.Anchored = true | |
| 3090 | torso.Anchored = false | |
| 3091 | humanoid.PlatformStand = true | |
| 3092 | local bodyVel = Instance.new("BodyPosition", torso)
| |
| 3093 | bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,1000,0) | |
| 3094 | bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 3095 | sound2:Play() | |
| 3096 | ||
| 3097 | wait(1.2) | |
| 3098 | game.Players.LocalPlayer.Character.Torso.Anchored = false | |
| 3099 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 3100 | game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 3101 | game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 3102 | game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 3103 | activu = false | |
| 3104 | wait(0.5) | |
| 3105 | bodyvel:destroy() | |
| 3106 | local ROW3 = function(out, trans, s, wt, t, ang, plus) | |
| 3107 | for i = 1, 360, 360/t do | |
| 3108 | local c = Instance.new("Part", game.Workspace)
| |
| 3109 | c.FormFactor = 3 | |
| 3110 | c.TopSurface = 0 | |
| 3111 | c.BottomSurface = 0 | |
| 3112 | c.Size = s | |
| 3113 | c.Anchored = true | |
| 3114 | c.CanCollide = wt | |
| 3115 | c.Material=workspace.Base.Material | |
| 3116 | c.Transparency = trans | |
| 3117 | c.BrickColor = workspace.Base.BrickColor | |
| 3118 | c.CFrame = CFrame.new(torso.CFrame.x,0,torso.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
| 3119 | c.Locked=true | |
| 3120 | game.Debris:AddItem(c,25) | |
| 3121 | end | |
| 3122 | end | |
| 3123 | ||
| 3124 | ||
| 3125 | ||
| 3126 | ||
| 3127 | sound3:Play() | |
| 3128 | ROW3(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
| 3129 | game.Players.LocalPlayer.Character.Torso.Anchored = true | |
| 3130 | KABOOMZ3() | |
| 3131 | wait(0.1) | |
| 3132 | ||
| 3133 | game.Players.LocalPlayer.Character.Torso.Anchored = false | |
| 3134 | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 | |
| 3135 | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50 | |
| 3136 | ||
| 3137 | ||
| 3138 | end | |
| 3139 | end | |
| 3140 | end | |
| 3141 | detect.Touched:connect(attack) | |
| 3142 | wait(0.1) | |
| 3143 | detect:destroy() | |
| 3144 | activu = false | |
| 3145 | end | |
| 3146 | ||
| 3147 | ||
| 3148 | ||
| 3149 | function hito(partoz, magn, dmg, debtim) | |
| 3150 | for _, guy in pairs(workspace:GetChildren()) do | |
| 3151 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= chr and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
| |
| 3152 | do | |
| 3153 | local humz = guy:FindFirstChild("Humanoid")
| |
| 3154 | local hed = guy:FindFirstChild("Head")
| |
| 3155 | humz:TakeDamage(dmg) | |
| 3156 | local db = Instance.new("StringValue")
| |
| 3157 | db.Name = "alabo" | |
| 3158 | db.Parent = hed | |
| 3159 | delay(debtim, function() | |
| 3160 | db:Destroy() | |
| 3161 | end) | |
| 3162 | end | |
| 3163 | end | |
| 3164 | end | |
| 3165 | end | |
| 3166 | function animo(yep) | |
| 3167 | if yep == true then | |
| 3168 | anim.Parent = human | |
| 3169 | chr.Animate.Disabled = false | |
| 3170 | elseif yep == false then | |
| 3171 | chr.Animate.Disabled = true | |
| 3172 | anim.Parent = nil | |
| 3173 | end | |
| 3174 | end | |
| 3175 | mouse.KeyDown:connect(function(key) | |
| 3176 | if key == "e" then | |
| 3177 | rsmash() | |
| 3178 | end | |
| 3179 | if key == "t" then | |
| 3180 | jum() | |
| 3181 | end | |
| 3182 | if key == "r" then | |
| 3183 | Tele() | |
| 3184 | end | |
| 3185 | if key == "q" then | |
| 3186 | Stom() | |
| 3187 | end | |
| 3188 | if key == "f" then | |
| 3189 | HeavenSmash() | |
| 3190 | end | |
| 3191 | if key == "h" then | |
| 3192 | rip() | |
| 3193 | end | |
| 3194 | end) | |
| 3195 | tool.Equipped:connect(function() | |
| 3196 | selected = true | |
| 3197 | end) | |
| 3198 | tool.Unequipped:connect(function() | |
| 3199 | selected = false | |
| 3200 | end) |