Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Script3 = Instance.new("Script")
- Script4 = Instance.new("Script")
- Script5 = Instance.new("Script")
- Tool0.Name = "MeteorXP"
- Tool0.Parent = mas
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.Transparency = 1
- Part1.Rotation = Vector3.new(-0.049999997, -14.2999992, -0.00999999978)
- Part1.RotVelocity = Vector3.new(1, 1, 1)
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.Size = Vector3.new(1, 1, 1)
- Part1.CFrame = CFrame.new(811.456299, 515.916565, 439.3526, 0.969032466, 0.000196625639, -0.246931955, -2.56283859e-21, 0.999999642, 0.000796274282, 0.246932015, -0.000771615712, 0.969032228)
- Part1.Position = Vector3.new(811.456299, 515.916565, 439.3526)
- Part1.Orientation = Vector3.new(-0.049999997, -14.2999992, 0)
- SpecialMesh2.Parent = Tool0
- SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=1290033"
- SpecialMesh2.Scale = Vector3.new(14, 14, 14)
- SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=5971077"
- SpecialMesh2.VertexColor = Vector3.new(0, 2, 0)
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- SpecialMesh2.Scale = Vector3.new(14, 14, 14)
- Script3.Name = "BOOSH"
- Script3.Parent = Tool0
- Script3.Disabled = true
- table.insert(cors,sandbox(Script3,function()
- can = true
- function KABOOM(hit)
- script.Parent.Velocity = Vector3.new(0,0,0)
- if can and hit.Name~=script.Parent.Name then
- can = false
- script.Parent.BodyVelocity.velocity = Vector3.new(0,-350,0)
- script.Parent.Parent.Falling:Stop()
- script.Parent.Parent.Crash:Play()
- script.Parent.BodyAngularVelocity:Remove()
- p = Instance.new("Explosion")
- p.BlastRadius = script.Parent.Size.y*1.5
- p.BlastPressure=p.BlastPressure*2
- p.Parent = game.Workspace
- p.Position = script.Parent.Position
- r = Instance.new("Part")
- r.Anchored = false
- r.Name = "EXPLOSIVE RING"
- r.formFactor = "Plate"
- r.TopSurface = 0
- r.BottomSurface = 0
- r.Transparency = 1
- r.CanCollide = false
- r.Size = Vector3.new(5,.4,5)
- r.CFrame = CFrame.new(script.Parent.Position)
- r.Parent = game.Workspace
- p=Instance.new("BodyPosition")
- p.P=3000
- p.maxForce=Vector3.new(0,5000000000000000000000000000000000000,0)*50000
- p.position=r.Position
- p.Parent=r
- d = Instance.new("Decal")
- d.Texture = "http://www.roblox.com/asset/?id=26356398"
- d.Face = "Top"
- d.Parent = r
- d = Instance.new("Decal")
- d.Texture = "http://www.roblox.com/asset/?id=26356398"
- d.Face = "Bottom"
- d.Parent = r
- s = script.RING:clone()
- s.Disabled = false
- s.Parent = r
- wait(3)
- script.Parent.Parent:Remove()
- end
- end
- script.Parent.Touched:connect(KABOOM)
- end))
- Script4.Name = "RING"
- Script4.Parent = Script3
- Script4.Disabled = true
- table.insert(cors,sandbox(Script4,function()
- function kill(hit)
- h = hit.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- h.Health = h.Health-2
- end
- end
- script.Parent.Touched:connect(kill)
- c = script.Parent.CFrame
- for i=1, 40 do
- script.Parent.Size = script.Parent.Size+Vector3.new(2,0,2)
- script.Parent.CFrame = c*CFrame.fromEulerAnglesXYZ(0,math.pi/20*i,0)
- wait()
- end
- script.Parent:Remove()
- end))
- Script5.Parent = Tool0
- table.insert(cors,sandbox(Script5,function()
- f1 = Instance.new("Sound")
- f1.SoundId = "http://www.roblox.com/asset/?id=3086666"
- f1.Volume = 1
- f1.Pitch=2
- f1.Name = "Falling"
- f2 = Instance.new("Sound")
- f2.SoundId = "http://www.roblox.com/asset/?id=3087031"
- f2.Volume = 2
- f2.Name = "Crash"
- deb = true
- function Fire()
- if not deb then return end
- deb = false
- script.Parent.Name = "MeteorXP(R)"
- for i=1, 4 do
- Look = script.Parent.Parent.Torso.CFrame.lookVector
- Offset=Vector3.new(math.random(-200,200),0,math.random(-200,200))
- Pos = script.Parent.Parent.Humanoid.TargetPoint+Vector3.new(0,565,0)+Offset
- m = Instance.new("Model")
- m.Name = "METEOR!"
- m.Parent = game.Workspace
- p = Instance.new("Part")
- p.Shape = 0
- p.Size = Vector3.new(12,12,12)
- p.TopSurface = 0
- p.BottomSurface = 0
- p.Friction = .5
- p.Elasticity = 0
- p.BrickColor = BrickColor:Black()
- p.Position = Pos
- p.Parent = m
- script.Parent.Mesh:clone().Parent = p
- f = Instance.new("BodyVelocity")
- f.maxForce = Vector3.new(9999999999999999999999999999999999999999999999,999999999999999999999999999999999999999999999,9999999999999999999999999999999999999999999999)
- f.velocity = -(p.Position-script.Parent.Parent.Humanoid.TargetPoint).unit*math.random(200,300)+Vector3.new(math.random(-70,70),0,math.random(-70,70))/2
- f.Parent = p
- r = Instance.new("BodyAngularVelocity")
- r.angularvelocity = Vector3.new(0,math.random(-100,100),0)
- r.maxTorque = Vector3.new(99999999999999999999999,9999999999999999999999,9999999999999999999999999999)
- r.Parent = p
- f = f1:clone()
- f.Parent = m
- f:Play()
- f = f2:clone()
- f.Parent = m
- f:Stop()
- s = script.Parent.BOOSH:clone()
- s.Disabled = false
- s.Parent = p
- wait(.075)
- end
- deb = true
- script.Parent.Name = "MeteorXP"
- end
- script.Parent.Activated:connect(Fire)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement