SHOW:
|
|
- or go back to the newest paste.
| 1 | -- Script | |
| 2 | ||
| 3 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 6 | local RealPlayer = Player | |
| 7 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
| |
| 8 | ||
| 9 | wait(1) | |
| 10 | ||
| 11 | ||
| 12 | --// Script made by Cronizete | |
| 13 | --// Please dont check the code its ugly | |
| 14 | --// Who ever has this and youre not the maker of this script then you just stole it unless I released it to the public or whatever but yeah | |
| 15 | --// Please, if you're going to showcase this. Make sure to give credits to me :D | |
| 16 | --// Anyways, enjoy the script!!!!!!!!!!!!!!! | |
| 17 | ||
| 18 | ||
| 19 | plr = game.Players.LocalPlayer | |
| 20 | char = plr.Character | |
| 21 | ff = Instance.new('ForceField', char)
| |
| 22 | ff.Visible = false | |
| 23 | mouse = plr:GetMouse() | |
| 24 | human = char.Humanoid | |
| 25 | torso = char.Torso | |
| 26 | root = char.HumanoidRootPart | |
| 27 | lleg = char["Left Leg"] | |
| 28 | rleg = char["Right Leg"] | |
| 29 | larm = char["Left Arm"] | |
| 30 | rarm = char["Right Arm"] | |
| 31 | head = char.Head | |
| 32 | lshold = torso["Left Shoulder"] | |
| 33 | rshold = torso["Right Shoulder"] | |
| 34 | neck = torso.Neck | |
| 35 | lhip = torso["Left Hip"] | |
| 36 | rhip = torso["Right Hip"] | |
| 37 | lscf = lshold.C0 | |
| 38 | rscf = rshold.C0 | |
| 39 | ncf = neck.C0 | |
| 40 | lhcf = lhip.C0 | |
| 41 | rhcf = rhip.C0 | |
| 42 | rad = math.rad | |
| 43 | random = math.random | |
| 44 | sin = math.sin | |
| 45 | cos = math.cos | |
| 46 | floor = math.floor | |
| 47 | lsho = lshold.C0 | |
| 48 | rsho = rshold.C0 | |
| 49 | cd1 = true | |
| 50 | cd2 = true | |
| 51 | ||
| 52 | function harmlessexplo() | |
| 53 | sph = Instance.new('Part', char)
| |
| 54 | sph.Anchored = true | |
| 55 | sph.CFrame = char.Torso.CFrame | |
| 56 | sph.CanCollide = false | |
| 57 | sph.Anchored = true | |
| 58 | sph.Transparency = 0 | |
| 59 | sph.Material = "Neon" | |
| 60 | sph.Shape = "Ball" | |
| 61 | sph.Size = Vector3.new(0.2,0.2,0.2) | |
| 62 | for i = 1,50 do | |
| 63 | wait() | |
| 64 | sph.Size = sph.Size + Vector3.new(4,4,4) | |
| 65 | sph.Transparency = sph.Transparency + 0.05 | |
| 66 | sph.CFrame = char.Torso.CFrame | |
| 67 | end | |
| 68 | sph:Destroy() | |
| 69 | end | |
| 70 | ||
| 71 | function entrance() | |
| 72 | ||
| 73 | for _,q in pairs(char:GetChildren()) do | |
| 74 | if q:IsA('Accessory') then
| |
| 75 | q:Destroy() | |
| 76 | end | |
| 77 | ||
| 78 | a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
| |
| 79 | a.MeshId = "279174949" | |
| 80 | a.BodyPart = "LeftArm" | |
| 81 | ||
| 82 | a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
| |
| 83 | a.MeshId = "319336109" | |
| 84 | a.BodyPart = "LeftLeg" | |
| 85 | ||
| 86 | a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
| |
| 87 | a.MeshId = "279174886" | |
| 88 | a.BodyPart = "RightArm" | |
| 89 | ||
| 90 | a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
| |
| 91 | a.MeshId = "319336155" | |
| 92 | a.BodyPart = "RightLeg" | |
| 93 | ||
| 94 | a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
| |
| 95 | a.MeshId = "376169183" | |
| 96 | a.BodyPart = "Torso" | |
| 97 | ||
| 98 | if q:IsA('Shirt') then
| |
| 99 | q.ShirtTemplate = "rbxassetid://704100781" | |
| 100 | end | |
| 101 | ||
| 102 | if q:IsA('Pants') then
| |
| 103 | q.PantsTemplate = "rbxassetid://704102680" | |
| 104 | end | |
| 105 | ||
| 106 | char["Left Arm"].BrickColor = BrickColor.new('Cyan')
| |
| 107 | char["Right Arm"].BrickColor = BrickColor.new('Cyan')
| |
| 108 | ||
| 109 | if q.Name ~= "HumanoidRootPart" and q:IsA('Part') then
| |
| 110 | q.Transparency = 1 | |
| 111 | end | |
| 112 | end | |
| 113 | ||
| 114 | char.Humanoid.HipHeight = 60 | |
| 115 | wait(.05) | |
| 116 | char.Torso.Anchored = true | |
| 117 | ||
| 118 | sph = Instance.new('Part', char)
| |
| 119 | sph.Anchored = true | |
| 120 | sph.CFrame = char.Torso.CFrame | |
| 121 | sph.CanCollide = false | |
| 122 | sph.Anchored = true | |
| 123 | sph.Transparency = 0 | |
| 124 | sph.Material = "Neon" | |
| 125 | sph.Shape = "Ball" | |
| 126 | sph.Size = Vector3.new(0.2,0.2,0.2) | |
| 127 | sp = Instance.new('SpecialMesh', sph)
| |
| 128 | sp.MeshId = "http://www.roblox.com/Asset/?id=9982590" | |
| 129 | sp.Scale = Vector3.new(0.2,0.2,0.2) | |
| 130 | a = 0 | |
| 131 | ||
| 132 | for i = 1, 25 do | |
| 133 | sph.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255)) | |
| 134 | sp.Scale = sp.Scale + Vector3.new(0.3,0.3,0.3) | |
| 135 | sph.Rotation = Vector3.new( a, a, a) | |
| 136 | wait() | |
| 137 | a = a+3 | |
| 138 | end | |
| 139 | for _,e in pairs(char:GetChildren()) do | |
| 140 | if e:IsA('Accessory') then
| |
| 141 | e.Handle.Transparency = 0 | |
| 142 | end | |
| 143 | if e.Name ~= "HumanoidRootPart" and e:IsA('Part') then
| |
| 144 | e.Transparency = 0 | |
| 145 | end | |
| 146 | end | |
| 147 | for i = 1, 115 do | |
| 148 | sph.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255)) | |
| 149 | sph.Transparency = sph.Transparency + 0.01 | |
| 150 | sph.Rotation = Vector3.new( a, a, a) | |
| 151 | wait() | |
| 152 | a = a+15 | |
| 153 | end | |
| 154 | char.Torso.Anchored = false | |
| 155 | char.Humanoid.HipHeight = 0 | |
| 156 | end | |
| 157 | ||
| 158 | function chat(chatt) | |
| 159 | local text = Instance.new("BillboardGui", game.Players.LocalPlayer.Character)
| |
| 160 | text.Size = UDim2.new(0,100,0,40) | |
| 161 | text.StudsOffset = Vector3.new(0,3,0) | |
| 162 | text.Adornee = game.Players.LocalPlayer.Character.Head | |
| 163 | text.Name = "1" | |
| 164 | local text1 = Instance.new("TextLabel",text)
| |
| 165 | text1.BackgroundTransparency = 1 | |
| 166 | text1.TextStrokeTransparency = 1 | |
| 167 | text1.TextTransparency = 1 | |
| 168 | text1.BorderSizePixel = 0 | |
| 169 | text1.Text = chatt | |
| 170 | text1.Font = "Fantasy" | |
| 171 | text1.FontSize = "Size36" | |
| 172 | text1.TextStrokeTransparency = 0 | |
| 173 | text1.TextColor3 = Color3.new(1,1,1) | |
| 174 | text1.TextStrokeColor3 = Color3.new(0,0,0) | |
| 175 | text1.Size = UDim2.new(1,0,0.5,0) | |
| 176 | for i=1,15 do | |
| 177 | wait() | |
| 178 | text1.TextStrokeTransparency = text1.TextStrokeTransparency - 0.1 | |
| 179 | text1.TextTransparency = text1.TextTransparency - 0.1 | |
| 180 | end | |
| 181 | wait(1) | |
| 182 | for i=1,25 do | |
| 183 | wait() | |
| 184 | text1.TextStrokeTransparency = text1.TextStrokeTransparency + 0.1 | |
| 185 | text1.TextTransparency = text1.TextTransparency + 0.1 | |
| 186 | end | |
| 187 | end | |
| 188 | ||
| 189 | function explo() | |
| 190 | sph = Instance.new('Part', char)
| |
| 191 | sph.Touched:connect(function(hit) | |
| 192 | if hit.Parent:FindFirstChild('Humanoid') then
| |
| 193 | if hit.Parent.Name ~= plr.Name then | |
| 194 | hit.Parent:Destroy() | |
| 195 | else | |
| 196 | end | |
| 197 | end | |
| 198 | end) | |
| 199 | sph.Anchored = true | |
| 200 | sph.CFrame = char.Torso.CFrame | |
| 201 | sph.CanCollide = false | |
| 202 | sph.Anchored = true | |
| 203 | sph.Transparency = 0 | |
| 204 | sph.Material = "Neon" | |
| 205 | sph.Shape = "Ball" | |
| 206 | sph.Size = Vector3.new(0.2,0.2,0.2) | |
| 207 | for i = 1,50 do | |
| 208 | wait() | |
| 209 | sph.Size = sph.Size + Vector3.new(4,4,4) | |
| 210 | sph.Transparency = sph.Transparency + 0.03 | |
| 211 | sph.CFrame = char.Torso.CFrame | |
| 212 | end | |
| 213 | sph:Destroy() | |
| 214 | end | |
| 215 | ||
| 216 | --// Main script, don't touch if you don't know how to script or you might ruin the script. | |
| 217 | ||
| 218 | entrance() | |
| 219 | ||
| 220 | mouse.Button1Down:connect(function() | |
| 221 | if cd1 then | |
| 222 | if mouse.Target.Parent:FindFirstChild('Humanoid') then
| |
| 223 | cd1 = false | |
| 224 | local target = mouse.Target.Parent | |
| 225 | target:FindFirstChild('Torso').Anchored = true
| |
| 226 | for i=0,1,0.1 do | |
| 227 | rshold.C0 = rshold.C0:lerp(CFrame.new(0.9,0.5,-0.1)*CFrame.Angles(rad(-90),rad(90),rad(-180)),i) | |
| 228 | wait() | |
| 229 | end | |
| 230 | chat("破壊する!")
| |
| 231 | wait(.5) | |
| 232 | particle = Instance.new('Part', workspace)
| |
| 233 | particle.Anchored = true | |
| 234 | particle.CFrame = target:FindFirstChild('Torso').CFrame
| |
| 235 | particle.CanCollide = false | |
| 236 | particle.Anchored = true | |
| 237 | particle.Transparency = 1 | |
| 238 | particle.Size = Vector3.new(6.52, 10.36, 6.34) | |
| 239 | local pe = Instance.new("ParticleEmitter")
| |
| 240 | pe.Acceleration = Vector3.new(7, 7, 7) | |
| 241 | pe.Lifetime = NumberRange.new(1, 4) | |
| 242 | pe.Rate = 500 | |
| 243 | pe.RotSpeed = NumberRange.new(7, 7) | |
| 244 | pe.LightEmission = 0.700 | |
| 245 | pe.Rotation = NumberRange.new(0, 0) | |
| 246 | pe.Size = NumberSequence.new({
| |
| 247 | NumberSequenceKeypoint.new(0, 1, 0), | |
| 248 | NumberSequenceKeypoint.new(1, 10, 0), | |
| 249 | NumberSequenceKeypoint.new(1, 10, 0) | |
| 250 | }) | |
| 251 | pe.Texture = "http://www.roblox.com/asset/?id=242996110" | |
| 252 | pe.Transparency = NumberSequence.new({
| |
| 253 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 254 | NumberSequenceKeypoint.new(0.4, 0.3, 0), | |
| 255 | NumberSequenceKeypoint.new(1, 1, 1) | |
| 256 | }) | |
| 257 | pe.ZOffset = 5 | |
| 258 | pe.VelocitySpread = 360 | |
| 259 | pe.Parent = particle | |
| 260 | pe.Enabled = true | |
| 261 | wait(1) | |
| 262 | pe.Enabled = false | |
| 263 | target:Destroy() | |
| 264 | for i=0,1,0.1 do | |
| 265 | rshold.C0 = rshold.C0:lerp(rsho,i) | |
| 266 | wait() | |
| 267 | end | |
| 268 | wait(1) | |
| 269 | cd1 = true | |
| 270 | end | |
| 271 | end | |
| 272 | end) | |
| 273 | ||
| 274 | mouse.KeyDown:connect(function(key) | |
| 275 | if key == "t" then | |
| 276 | if cd1 then | |
| 277 | cd1 = false | |
| 278 | particle = Instance.new('Part', workspace)
| |
| 279 | particle.Anchored = true | |
| 280 | particle.CFrame = char:FindFirstChild('Torso').CFrame
| |
| 281 | particle.CanCollide = false | |
| 282 | particle.Anchored = true | |
| 283 | particle.Transparency = 1 | |
| 284 | particle.Size = Vector3.new(6.52, 10.36, 6.34) | |
| 285 | local pe = Instance.new("ParticleEmitter")
| |
| 286 | pe.Acceleration = Vector3.new(7, 7, 7) | |
| 287 | pe.Lifetime = NumberRange.new(1, 4) | |
| 288 | pe.Rate = 500 | |
| 289 | pe.RotSpeed = NumberRange.new(7, 7) | |
| 290 | pe.LightEmission = 0.700 | |
| 291 | pe.Rotation = NumberRange.new(0, 0) | |
| 292 | pe.Size = NumberSequence.new({
| |
| 293 | NumberSequenceKeypoint.new(0, 1, 0), | |
| 294 | NumberSequenceKeypoint.new(1, 10, 0), | |
| 295 | NumberSequenceKeypoint.new(1, 10, 0) | |
| 296 | }) | |
| 297 | pe.Texture = "http://www.roblox.com/asset/?id=242996110" | |
| 298 | pe.Transparency = NumberSequence.new({
| |
| 299 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 300 | NumberSequenceKeypoint.new(0.4, 0.3, 0), | |
| 301 | NumberSequenceKeypoint.new(1, 1, 1) | |
| 302 | }) | |
| 303 | pe.ZOffset = 5 | |
| 304 | pe.VelocitySpread = 360 | |
| 305 | pe.Parent = particle | |
| 306 | pe.Enabled = true | |
| 307 | wait(.3) | |
| 308 | char.Torso.CFrame = mouse.Hit | |
| 309 | pe.Enabled = false | |
| 310 | harmlessexplo() | |
| 311 | wait(3) | |
| 312 | cd1 = true | |
| 313 | end | |
| 314 | end | |
| 315 | ||
| 316 | if key == "q" then | |
| 317 | if cd2 then | |
| 318 | cd2 = false | |
| 319 | for i=0,1,0.1 do | |
| 320 | lshold.C0 = lshold.C0:lerp(CFrame.new(-1.3,0.7,-0.1)*CFrame.Angles(rad(25),-rad(20),-rad(90)),i) | |
| 321 | rshold.C0 = rshold.C0:lerp(CFrame.new(1.3,0.7,-0.1)*CFrame.Angles(rad(25),rad(20),rad(90)),i) | |
| 322 | wait() | |
| 323 | end | |
| 324 | ||
| 325 | local pe = Instance.new("ParticleEmitter")
| |
| 326 | pe.Acceleration = Vector3.new(3, 3, 3) | |
| 327 | pe.Lifetime = NumberRange.new(0.1, 0.5) | |
| 328 | pe.Rate = 4000 | |
| 329 | pe.RotSpeed = NumberRange.new(0, 0) | |
| 330 | pe.LightEmission = 0.700 | |
| 331 | pe.Rotation = NumberRange.new(0, 0) | |
| 332 | pe.Size = NumberSequence.new({
| |
| 333 | NumberSequenceKeypoint.new(0, 1, 0), | |
| 334 | NumberSequenceKeypoint.new(0.1, 1, 0), | |
| 335 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 336 | }) | |
| 337 | pe.Texture = "http://www.roblox.com/asset/?id=242996110" | |
| 338 | pe.Transparency = NumberSequence.new({
| |
| 339 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 340 | NumberSequenceKeypoint.new(0.4, 0.3, 0), | |
| 341 | NumberSequenceKeypoint.new(1, 1, 1) | |
| 342 | }) | |
| 343 | pe.ZOffset = 5 | |
| 344 | pe.VelocitySpread = 360 | |
| 345 | pe.Parent = char["Right Arm"] | |
| 346 | pe1 = pe:Clone() | |
| 347 | pe1.Parent = char["Left Arm"] | |
| 348 | wait(.05) | |
| 349 | pe.Enabled = true | |
| 350 | ||
| 351 | wait(.05) | |
| 352 | ||
| 353 | for i= 1, 100 do | |
| 354 | char.Humanoid.HipHeight = char.Humanoid.HipHeight + 0.5 | |
| 355 | wait() | |
| 356 | end | |
| 357 | ||
| 358 | wait(.03) | |
| 359 | ||
| 360 | chat("このような世界が消えなければなりません!")
| |
| 361 | wait(.07) | |
| 362 | -----------/The final explosion\\----------- | |
| 363 | --[[Movelist | |
| 364 | Instant explosion. | |
| 365 | ---------]] | |
| 366 | ||
| 367 | Player=game:GetService("Players").LocalPlayer
| |
| 368 | Character=Player.Character | |
| 369 | hum = Character.noneofurbusiness | |
| 370 | LeftArm=Character["Left Arm"] | |
| 371 | LeftLeg=Character["Left Leg"] | |
| 372 | RightArm=Character["Right Arm"] | |
| 373 | RightLeg=Character["Right Leg"] | |
| 374 | Root=Character["HumanoidRootPart"] | |
| 375 | Head=Character["Head"] | |
| 376 | Torso=Character["Torso"] | |
| 377 | Neck=Torso["Neck"] | |
| 378 | place = Torso | |
| 379 | hum.WalkSpeed = 0 | |
| 380 | hum.JumpPower = 0 | |
| 381 | ||
| 382 | pcall(function() | |
| 383 | ||
| 384 | camera = workspace.CurrentCamera | |
| 385 | camera.CameraType = Enum.CameraType.Scriptable | |
| 386 | camera.CoordinateFrame = Torso.CFrame * CFrame.new(0,5,-15) * CFrame.Angles(0,math.rad(180),0) | |
| 387 | coroutine.wrap(function() | |
| 388 | for i = 1, 75 do | |
| 389 | wait() | |
| 390 | end | |
| 391 | gf = 5 | |
| 392 | fg = -30 | |
| 393 | for i = 1, 580 do | |
| 394 | gf = gf + 0 | |
| 395 | fg = fg + 2.5 | |
| 396 | camera.CoordinateFrame = Torso.CFrame * CFrame.new(0,5 + gf,-15 - fg ) * CFrame.Angles(0,math.rad(180),0) | |
| 397 | wait() | |
| 398 | end | |
| 399 | for i = 1, 250 do | |
| 400 | wait() | |
| 401 | end | |
| 402 | coroutine.wrap(function() | |
| 403 | for i = 1, 1000 do | |
| 404 | for i,v in pairs(hum.Parent:GetDescendants()) do | |
| 405 | if v:IsA("Part") then v.Transparency = v.Transparency + 0.025
| |
| 406 | end | |
| 407 | end | |
| 408 | wait() | |
| 409 | end | |
| 410 | end)() | |
| 411 | camera.CameraType = Enum.CameraType.Custom | |
| 412 | end)() | |
| 413 | end) | |
| 414 | ||
| 415 | local remote = NS ([==[ | |
| 416 | Player=owner | |
| 417 | Character=Player.Character | |
| 418 | hum = Character.noneofurbusiness | |
| 419 | LeftArm=Character["Left Arm"] | |
| 420 | LeftLeg=Character["Left Leg"] | |
| 421 | RightArm=Character["Right Arm"] | |
| 422 | RightLeg=Character["Right Leg"] | |
| 423 | Root=Character["HumanoidRootPart"] | |
| 424 | Head=Character["Head"] | |
| 425 | Torso=Character["Torso"] | |
| 426 | Neck=Torso["Neck"] | |
| 427 | walking = false | |
| 428 | jumping = false | |
| 429 | allowgrassy = false | |
| 430 | zxc = false | |
| 431 | matte = nil | |
| 432 | colori = nil | |
| 433 | bigball = false | |
| 434 | attacking = false | |
| 435 | laughing = false | |
| 436 | running = false | |
| 437 | downpress = false | |
| 438 | taim = nil | |
| 439 | change = 0 | |
| 440 | ws = 0 | |
| 441 | jp = 0 | |
| 442 | appi = false | |
| 443 | tauntdebounce = false | |
| 444 | position = nil | |
| 445 | lastexplosion = false | |
| 446 | staybooming = false | |
| 447 | MseGuide = true | |
| 448 | levitate = false | |
| 449 | firsttime5 = false | |
| 450 | notallowedtransform = false | |
| 451 | settime = 0 | |
| 452 | firsttime2 = false | |
| 453 | sine = 0 | |
| 454 | t = 0 | |
| 455 | combo1 = true | |
| 456 | dgs = 75 | |
| 457 | combo2 = false | |
| 458 | firsttime3 = false | |
| 459 | combo3 = false | |
| 460 | local bl = {907530553,907527750,907527912}
| |
| 461 | colortable = {"Really black","Really red"}
| |
| 462 | colors = #colortable | |
| 463 | blz = #bl | |
| 464 | local aces = {1880203893,1881287656,1881287420,1881288034}
| |
| 465 | ace = #aces | |
| 466 | local laughs = {2011349649,2011349983,2011351501,2011352223,2011355991,2011356475}
| |
| 467 | laugh = #laughs | |
| 468 | mouse = Player:GetMouse() | |
| 469 | RunSrv = game:GetService("RunService")
| |
| 470 | RenderStepped = game:GetService("RunService").RenderStepped
| |
| 471 | removeuseless = game:GetService("Debris")
| |
| 472 | damageall={}
| |
| 473 | Repeater={}
| |
| 474 | Repeater2={}
| |
| 475 | magictable={}
| |
| 476 | nonmeshRepeater={}
| |
| 477 | nonmeshRepeater2={}
| |
| 478 | dmgii={}
| |
| 479 | DamageAll2={}
| |
| 480 | SlowlyFade={}
| |
| 481 | th1={}
| |
| 482 | lolzor={}
| |
| 483 | lolzor2={}
| |
| 484 | th2={}
| |
| 485 | keyYsize={}
| |
| 486 | blocktrail={}
| |
| 487 | keyYtransparency={}
| |
| 488 | th3={}
| |
| 489 | laughingtable={}
| |
| 490 | Extreme={}
| |
| 491 | ExtremeM={}
| |
| 492 | ExtremeM2={}
| |
| 493 | m3={}
| |
| 494 | th4={}
| |
| 495 | th5={}
| |
| 496 | UpMover={}
| |
| 497 | openshocktable={}
| |
| 498 | LessSize={}
| |
| 499 | ForwardMover={}
| |
| 500 | FadeIn={}
| |
| 501 | signtransparency={}
| |
| 502 | signmover={}
| |
| 503 | signrotator={}
| |
| 504 | ||
| 505 | FireBall = Instance.new("Sound",LeftArm)
| |
| 506 | FireBall.SoundId = "rbxassetid://842332424" | |
| 507 | FireBall.Volume = 5 | |
| 508 | FireBall.Pitch = 2.5 | |
| 509 | ||
| 510 | BigFireBall = Instance.new("Sound",LeftArm)
| |
| 511 | BigFireBall.SoundId = "rbxassetid://842332424" | |
| 512 | BigFireBall.Volume = 8 | |
| 513 | BigFireBall.Pitch = 1.5 | |
| 514 | ||
| 515 | local HEADLERP = Instance.new("ManualWeld")
| |
| 516 | HEADLERP.Parent = Head | |
| 517 | HEADLERP.Part0 = Head | |
| 518 | HEADLERP.Part1 = Torso | |
| 519 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 520 | ||
| 521 | local TORSOLERP = Instance.new("ManualWeld")
| |
| 522 | TORSOLERP.Parent = Root | |
| 523 | TORSOLERP.Part0 = Torso | |
| 524 | TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 525 | ||
| 526 | local ROOTLERP = Instance.new("ManualWeld")
| |
| 527 | ROOTLERP.Parent = Root | |
| 528 | ROOTLERP.Part0 = Root | |
| 529 | ROOTLERP.Part1 = Torso | |
| 530 | ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 531 | ||
| 532 | local RIGHTARMLERP = Instance.new("ManualWeld")
| |
| 533 | RIGHTARMLERP.Parent = RightArm | |
| 534 | RIGHTARMLERP.Part0 = RightArm | |
| 535 | RIGHTARMLERP.Part1 = Torso | |
| 536 | RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 537 | ||
| 538 | local LEFTARMLERP = Instance.new("ManualWeld")
| |
| 539 | LEFTARMLERP.Parent = LeftArm | |
| 540 | LEFTARMLERP.Part0 = LeftArm | |
| 541 | LEFTARMLERP.Part1 = Torso | |
| 542 | LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 543 | ||
| 544 | local RIGHTLEGLERP = Instance.new("ManualWeld")
| |
| 545 | RIGHTLEGLERP.Parent = RightLeg | |
| 546 | RIGHTLEGLERP.Part0 = RightLeg | |
| 547 | RIGHTLEGLERP.Part1 = Torso | |
| 548 | RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 549 | ||
| 550 | local LEFTLEGLERP = Instance.new("ManualWeld")
| |
| 551 | LEFTLEGLERP.Parent = LeftLeg | |
| 552 | LEFTLEGLERP.Part0 = LeftLeg | |
| 553 | LEFTLEGLERP.Part1 = Torso | |
| 554 | LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 555 | ||
| 556 | local function weldBetween(a, b) | |
| 557 | local weld = Instance.new("ManualWeld", a)
| |
| 558 | weld.Part0 = a | |
| 559 | weld.Part1 = b | |
| 560 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 561 | return weld | |
| 562 | end | |
| 563 | ||
| 564 | function makeblockytrail() | |
| 565 | coroutine.wrap(function() | |
| 566 | while true do | |
| 567 | for i,v in pairs(blocktrail) do | |
| 568 | smke = Instance.new("Part",v)
| |
| 569 | smke.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
| 570 | smke.Material = "Neon" | |
| 571 | smke.Anchored = true | |
| 572 | smke.CanCollide = false | |
| 573 | removeuseless:AddItem(smke,2) | |
| 574 | end | |
| 575 | swait() | |
| 576 | end | |
| 577 | end)() | |
| 578 | end | |
| 579 | ||
| 580 | local function ci(x, c, y, n) | |
| 581 | so = Instance.new("Sound", x)
| |
| 582 | so.SoundId = c | |
| 583 | so.Volume = y | |
| 584 | so.Looped = n | |
| 585 | end | |
| 586 | ||
| 587 | function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR) | |
| 588 | A = Instance.new("Attachment", PARENT)
| |
| 589 | A.Position = POSITION1 | |
| 590 | A.Name = "A" | |
| 591 | B = Instance.new("Attachment", PARENT)
| |
| 592 | B.Position = POSITION2 | |
| 593 | B.Name = "B" | |
| 594 | tr1 = Instance.new("Trail", PARENT)
| |
| 595 | tr1.Attachment0 = A | |
| 596 | tr1.Attachment1 = B | |
| 597 | tr1.Enabled = true | |
| 598 | tr1.Lifetime = LIFETIME | |
| 599 | tr1.TextureMode = "Static" | |
| 600 | tr1.LightInfluence = 0 | |
| 601 | tr1.Color = COLOR | |
| 602 | tr1.Transparency = NumberSequence.new(0, 1) | |
| 603 | end | |
| 604 | ||
| 605 | function clean() | |
| 606 | damageall={}
| |
| 607 | Repeater={}
| |
| 608 | Repeater2={}
| |
| 609 | nonmeshRepeater={}
| |
| 610 | nonmeshRepeater2={}
| |
| 611 | dmgii={}
| |
| 612 | DamageAll2={}
| |
| 613 | SlowlyFade={}
| |
| 614 | th1={}
| |
| 615 | th2={}
| |
| 616 | th3={}
| |
| 617 | Extreme={}
| |
| 618 | ExtremeM={}
| |
| 619 | ExtremeM2={}
| |
| 620 | m3={}
| |
| 621 | th4={}
| |
| 622 | th5={}
| |
| 623 | UpMover={}
| |
| 624 | openshocktable={}
| |
| 625 | LessSize={}
| |
| 626 | ForwardMover={}
| |
| 627 | FadeIn={}
| |
| 628 | signtransparency={}
| |
| 629 | signmover={}
| |
| 630 | signrotator={}
| |
| 631 | end | |
| 632 | ||
| 633 | coroutine.wrap(function() | |
| 634 | while wait() do | |
| 635 | hum.WalkSpeed = ws | |
| 636 | hum.JumpPower = jp | |
| 637 | end | |
| 638 | end)() | |
| 639 | godmode = coroutine.wrap(function() | |
| 640 | for i,v in pairs(Character:GetChildren()) do | |
| 641 | if v:IsA("BasePart") and v ~= Root then
| |
| 642 | v.Anchored = false | |
| 643 | end | |
| 644 | end | |
| 645 | while true do | |
| 646 | hum.MaxHealth = math.huge | |
| 647 | wait(0.0000001) | |
| 648 | hum.Health = math.huge | |
| 649 | wait() | |
| 650 | end | |
| 651 | end) | |
| 652 | godmode() | |
| 653 | ff = Instance.new("ForceField", Character)
| |
| 654 | ff.Visible = false | |
| 655 | ||
| 656 | coroutine.wrap(function() | |
| 657 | for i,v in pairs(Character:GetChildren()) do | |
| 658 | if v.Name == "Animate" then v:Remove() | |
| 659 | end | |
| 660 | end | |
| 661 | end)() | |
| 662 | ||
| 663 | function damagealll(Radius,Position) | |
| 664 | local Returning = {}
| |
| 665 | for _,v in pairs(workspace:GetChildren()) do | |
| 666 | if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
| |
| 667 | if v:FindFirstChild("Torso") then
| |
| 668 | local Mag = (v.Torso.Position - Position).magnitude | |
| 669 | if Mag < Radius then | |
| 670 | table.insert(Returning,v) | |
| 671 | end | |
| 672 | elseif v:FindFirstChild("UpperTorso") then
| |
| 673 | local Mag = (v.UpperTorso.Position - Position).magnitude | |
| 674 | if Mag < Radius then | |
| 675 | table.insert(Returning,v) | |
| 676 | end | |
| 677 | end | |
| 678 | end | |
| 679 | end | |
| 680 | return Returning | |
| 681 | end | |
| 682 | ||
| 683 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 684 | ArtificialHB.Name = "Heartbeat" | |
| 685 | script:WaitForChild("Heartbeat")
| |
| 686 | ||
| 687 | frame = 1 / 60 | |
| 688 | tf = 0 | |
| 689 | allowframeloss = false | |
| 690 | tossremainder = false | |
| 691 | ||
| 692 | ||
| 693 | lastframe = tick() | |
| 694 | script.Heartbeat:Fire() | |
| 695 | ||
| 696 | ||
| 697 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 698 | tf = tf + s | |
| 699 | if tf >= frame then | |
| 700 | if allowframeloss then | |
| 701 | script.Heartbeat:Fire() | |
| 702 | lastframe = tick() | |
| 703 | else | |
| 704 | for i = 1, math.floor(tf / frame) do | |
| 705 | script.Heartbeat:Fire() | |
| 706 | end | |
| 707 | lastframe = tick() | |
| 708 | end | |
| 709 | if tossremainder then | |
| 710 | tf = 0 | |
| 711 | else | |
| 712 | tf = tf - frame * math.floor(tf / frame) | |
| 713 | end | |
| 714 | end | |
| 715 | end) | |
| 716 | ||
| 717 | function swait(num) | |
| 718 | if num == 0 or num == nil then | |
| 719 | game:service("RunService").Stepped:wait(0)
| |
| 720 | else | |
| 721 | for i = 0, num do | |
| 722 | game:service("RunService").Stepped:wait(0)
| |
| 723 | end | |
| 724 | end | |
| 725 | end | |
| 726 | ||
| 727 | ||
| 728 | function SOUND(PARENT,ID,VOL,LOOP,REMOVE) | |
| 729 | so = Instance.new("Sound")
| |
| 730 | so.Parent = PARENT | |
| 731 | so.SoundId = "rbxassetid://"..ID | |
| 732 | so.Volume = VOL | |
| 733 | so.Looped = LOOP | |
| 734 | so:Play() | |
| 735 | removeuseless:AddItem(so,REMOVE) | |
| 736 | end | |
| 737 | ||
| 738 | warn("I'm gonna crush you, and throw you into the wind. Made by Supr14")
| |
| 739 | ||
| 740 | function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 741 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 742 | end | |
| 743 | ||
| 744 | function ray2(StartPos, EndPos, Distance, Ignore) | |
| 745 | local DIRECTION = CFrame.new(StartPos,EndPos).lookVector | |
| 746 | return ray(StartPos, DIRECTION, Distance, Ignore) | |
| 747 | end | |
| 748 | sacrifice = Instance.new("Sound",Torso)
| |
| 749 | sacrifice.SoundId = "rbxassetid://2123165301" | |
| 750 | sacrifice.Volume = 10 | |
| 751 | sacrifice:Play() | |
| 752 | explosiontable = {}
| |
| 753 | x = 0 | |
| 754 | coroutine.wrap(function() | |
| 755 | for i = 1, 400 do | |
| 756 | swait() | |
| 757 | x = x + 15 | |
| 758 | for i,v in pairs(explosiontable) do | |
| 759 | v.Scale = v.Scale + Vector3.new(4,.6,4) | |
| 760 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(x),0) | |
| 761 | v.Parent.Transparency = v.Parent.Transparency + .025 | |
| 762 | end | |
| 763 | end | |
| 764 | end)() | |
| 765 | coroutine.wrap(function() | |
| 766 | for i = 1, 25 do | |
| 767 | shockwave3 = Instance.new("Part", Torso)
| |
| 768 | shockwave3.Size = Vector3.new(1,1,1) | |
| 769 | shockwave3.CanCollide = false | |
| 770 | shockwave3.Anchored = true | |
| 771 | shockwave3.Name = "shockwav" | |
| 772 | shockwave3.Transparency = .5 | |
| 773 | shockwave3.BrickColor = BrickColor.new("White")
| |
| 774 | shockwave3.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-3,0) | |
| 775 | shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
| |
| 776 | shockwavemesh3.Scale = Vector3.new(1,1,1) | |
| 777 | shockwavemesh3.MeshId = "rbxassetid://20329976" | |
| 778 | table.insert(explosiontable,shockwavemesh3) | |
| 779 | swait(5) | |
| 780 | end | |
| 781 | end)() | |
| 782 | for i = 1, 50 do | |
| 783 | settime = 0.05 | |
| 784 | sine = sine + change | |
| 785 | change = 1 | |
| 786 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.5) | |
| 787 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),.5) | |
| 788 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1,.3) * CFrame.Angles(math.rad(-100),math.rad(-13 + 2 *math.sin(sine/1)),math.rad(5 * math.sin(sine/1))), 0.5) | |
| 789 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.3) * CFrame.Angles(math.rad(-100),math.rad(13 + 2 *math.sin(sine/1)),math.rad(5 * math.sin(sine/1))), 0.5) | |
| 790 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.5) | |
| 791 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, -.25) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.5) | |
| 792 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.5) | |
| 793 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, -.25) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.5) | |
| 794 | swait() | |
| 795 | end | |
| 796 | explosiontable2={}
| |
| 797 | explosiontable3={}
| |
| 798 | TheExplosion = Instance.new("Part",LeftArm)
| |
| 799 | TheExplosion.BrickColor = BrickColor.new("White")
| |
| 800 | TheExplosion.Material = "Neon" | |
| 801 | TheExplosion.Shape = "Ball" | |
| 802 | TheExplosion.Anchored = true | |
| 803 | TheExplosion.CanCollide = false | |
| 804 | TheExplosion.CFrame = CFrame.new(Torso.Position) | |
| 805 | TheExplosion.Size = Vector3.new(8,8,8) | |
| 806 | TheExplosion.Transparency = 0.5 | |
| 807 | shockwave2 = Instance.new("Part", LeftArm)
| |
| 808 | shockwave2.Size = Vector3.new(1,1,1) | |
| 809 | shockwave2.CanCollide = false | |
| 810 | shockwave2.Anchored = true | |
| 811 | shockwave2.Transparency = 1 | |
| 812 | shockwave2.BrickColor = BrickColor.new("White")
| |
| 813 | shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-3,0) | |
| 814 | shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
| |
| 815 | shockwavemesh2.Scale = Vector3.new(3,1,3) | |
| 816 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
| 817 | table.insert(explosiontable2,shockwavemesh2) | |
| 818 | shockwave = Instance.new("Part", LeftArm)
| |
| 819 | shockwave.Size = Vector3.new(1,1,1) | |
| 820 | shockwave.CanCollide = false | |
| 821 | shockwave.Anchored = true | |
| 822 | shockwave.Transparency = 1 | |
| 823 | shockwave.BrickColor = BrickColor.new("White")
| |
| 824 | shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-3,0) | |
| 825 | shockwavemesh = Instance.new("SpecialMesh", shockwave)
| |
| 826 | shockwavemesh.Scale = Vector3.new(3,1,3) | |
| 827 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
| 828 | table.insert(explosiontable3,shockwavemesh) | |
| 829 | coroutine.wrap(function() | |
| 830 | for i = 1, 23 do | |
| 831 | TheExplosion.Transparency = 1 | |
| 832 | swait(1) | |
| 833 | TheExplosion.Transparency = 0.5 | |
| 834 | swait(1) | |
| 835 | end | |
| 836 | coroutine.wrap(function() | |
| 837 | for i = 1, 50 do | |
| 838 | wait(2.5) | |
| 839 | shocks = TheExplosion:Clone() | |
| 840 | shocks.Parent = Torso | |
| 841 | shocks.Name = "shock" | |
| 842 | swait() | |
| 843 | end | |
| 844 | end)() | |
| 845 | n = 0 | |
| 846 | f = 0 | |
| 847 | dmgal = 0 | |
| 848 | shockwave.Transparency = .5 | |
| 849 | shockwave2.Transparency = .5 | |
| 850 | for i = 1, 125 do | |
| 851 | dmgal = dmgal + .25 | |
| 852 | local Hit = damagealll(dmgal,TheExplosion.Position) | |
| 853 | for _,v in pairs(Hit) do | |
| 854 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(10+dmgal,20+dmgal))
| |
| 855 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 856 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 857 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 858 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*20 | |
| 859 | removeuseless:AddItem(vel,.1) | |
| 860 | end | |
| 861 | n = n + 16 | |
| 862 | f = f - 16 | |
| 863 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(.25,.05,.25) | |
| 864 | ||
| 865 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(.25,.05,.25) | |
| 866 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+7),0) | |
| 867 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0-7),0) | |
| 868 | ||
| 869 | TheExplosion.Transparency = TheExplosion.Transparency - .0040 | |
| 870 | TheExplosion.Size = TheExplosion.Size + Vector3.new(.25,.25,.25) | |
| 871 | swait() | |
| 872 | end | |
| 873 | for i = 1, 920 do | |
| 874 | dmgal = dmgal + 1 | |
| 875 | local Hit = damagealll(dmgal/1.5,TheExplosion.Position) | |
| 876 | for _,v in pairs(Hit) do | |
| 877 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(10+dmgal,20+dmgal))
| |
| 878 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 879 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 880 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 881 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*20 | |
| 882 | removeuseless:AddItem(vel,.1) | |
| 883 | end | |
| 884 | n = n + 4 | |
| 885 | f = f - 4 | |
| 886 | for i,v in pairs(explosiontable2) do | |
| 887 | v.Scale = v.Scale + Vector3.new(1,.1,1) | |
| 888 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(n),0) | |
| 889 | end | |
| 890 | for i,v in pairs(explosiontable3) do | |
| 891 | v.Scale = v.Scale + Vector3.new(1,.1,1) | |
| 892 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(f),0) | |
| 893 | end | |
| 894 | TheExplosion.Transparency = TheExplosion.Transparency - .0025 | |
| 895 | TheExplosion.Size = TheExplosion.Size + Vector3.new(1,1,1) | |
| 896 | swait() | |
| 897 | end | |
| 898 | for i = 1, 850 do | |
| 899 | n = n + 18 | |
| 900 | f = f - 18 | |
| 901 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(1,.1,1) | |
| 902 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(1,.1,1) | |
| 903 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+14),0) | |
| 904 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0-14),0) | |
| 905 | TheExplosion.Transparency = TheExplosion.Transparency - .0025 | |
| 906 | swait() | |
| 907 | end | |
| 908 | coroutine.wrap(function() | |
| 909 | for i = 1, 1000 do | |
| 910 | for i,v in pairs(hum.Parent:GetDescendants()) do | |
| 911 | if v:IsA("Part") then v.Transparency = v.Transparency + 0.025
| |
| 912 | end | |
| 913 | end | |
| 914 | wait() | |
| 915 | end | |
| 916 | end)() | |
| 917 | for i = 1, 50 do | |
| 918 | n = n + 4 | |
| 919 | f = f - 4 | |
| 920 | for i,v in pairs(explosiontable2) do | |
| 921 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(n),0) | |
| 922 | v.Parent.Transparency = v.Parent.Transparency + 0.05 | |
| 923 | end | |
| 924 | for i,v in pairs(explosiontable3) do | |
| 925 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(f),0) | |
| 926 | v.Parent.Transparency = v.Parent.Transparency + 0.05 | |
| 927 | end | |
| 928 | TheExplosion.Transparency = TheExplosion.Transparency + .015 | |
| 929 | swait() | |
| 930 | end | |
| 931 | for i,v in pairs(explosiontable2) do | |
| 932 | v:Remove() | |
| 933 | end | |
| 934 | for i,v in pairs(explosiontable3) do | |
| 935 | v:Remove() | |
| 936 | end | |
| 937 | TheExplosion:Remove() | |
| 938 | for i,v in pairs(Torso:GetChildren()) do | |
| 939 | if v.Name == "shocks" then | |
| 940 | v:Remove() | |
| 941 | end | |
| 942 | end | |
| 943 | hum.Parent:BreakJoints() | |
| 944 | for i = 1, 1500 do | |
| 945 | for i,v in pairs(Torso:GetChildren()) do | |
| 946 | if v.Name == "shocks" then | |
| 947 | for i = 1, 20 do | |
| 948 | v.Transparency = v.Transparency + 0.05 | |
| 949 | swait() | |
| 950 | end | |
| 951 | end | |
| 952 | end | |
| 953 | swait() | |
| 954 | end | |
| 955 | end)() | |
| 956 | for i = 1, 25 do | |
| 957 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 958 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.4) | |
| 959 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,0,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.4) | |
| 960 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.4) | |
| 961 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 1.8, -.4) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-10)), 0.4) | |
| 962 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 1.8, -.4) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(10)), 0.4) | |
| 963 | swait() | |
| 964 | end | |
| 965 | lastexplosion = true | |
| 966 | for i = 1, 400 do | |
| 967 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.45, .1) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
| 968 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.25,0) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0)),.05) | |
| 969 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.5, 2, .3) * CFrame.Angles(math.rad(14), math.rad(-20), math.rad(90)), 0.05) | |
| 970 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, .3) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.05) | |
| 971 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3, 2, .5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-10)), 0.05) | |
| 972 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3, 2, .5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(10)), 0.05) | |
| 973 | swait() | |
| 974 | end | |
| 975 | ]==], owner.Character):WaitForChild 'ServerRemote'; | |
| 976 | mouse = owner:GetMouse (); | |
| 977 | explo() | |
| 978 | wait(.04) | |
| 979 | for i=0,1,0.1 do | |
| 980 | lshold.C0 = lshold.C0:lerp(lsho,i) | |
| 981 | rshold.C0 = rshold.C0:lerp(rsho,i) | |
| 982 | wait() | |
| 983 | end | |
| 984 | pe.Enabled = false | |
| 985 | pe1.Enabled = fasle | |
| 986 | char.Humanoid.HipHeight = 0 | |
| 987 | wait(5) | |
| 988 | cd2 = true | |
| 989 | end | |
| 990 | end | |
| 991 | end) | |
| 992 | ||
| 993 | while wait() do | |
| 994 | char.Humanoid.MaxHealth = 99999 | |
| 995 | char.Humanoid.Health = char.Humanoid.MaxHealth | |
| 996 | end |