Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Created with ttyyuu12345's compiler
- --ttyyuu12345 is not responsible for damages caused to your game
- --This plugin does not remove things
- --ttyyuu12345 cannot be held resonsible for manual deletion for the purpose of testing
- --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments
- --Thank you for using my plugin and enjoy :)
- --It is free to use, however I do accept donations
- --Errors:
- Create = function(itemClass,tabl)
- local item = Instance.new(itemClass)
- for i,v in pairs(tabl) do
- local a,b = ypcall(function() return item[i] end)
- if a then
- item[i] = tabl[i]
- end
- end
- return item
- end
- function runDummyScript(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Create("Model",{
- ["Name"] = "Nuke",
- ["Parent"] = mas,
- })
- o2 = Create("Part",{
- ["Name"] = "Tip",
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Black"),
- ["Position"] = Vector3.new(44.9099045, 5908.60059, 31.0297127),
- ["CFrame"] = CFrame.new(44.9099045, 5908.60059, 31.0297127, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(6, 10, 6),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.105882, 0.164706, 0.207843),
- })
- o3 = Create("Script",{
- ["Name"] = "Touch",
- ["Parent"] = o2,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- shockRing = Instance.new("Part")
- shockRing.formFactor = 2
- shockRing.Size = Vector3.new(50, 0.4, 50)
- shockRing.Anchored = true
- shockRing.Locked = true
- shockRing.CanCollide = false
- shockRing.archivable = false
- shockRing.TopSurface = 0
- shockRing.BottomSurface = 0
- shockRing.Transparency = 1
- local decal = Instance.new("Decal")
- decal.Face = 1
- decal.Texture = "http://www.roblox.com/asset/?version=1&id=1280730"
- decal.Parent = shockRing
- local bottomDecal = decal:Clone()
- bottomDecal.Face = 4
- bottomDecal.Parent = shockRing
- debounce = true
- function activate(hit)
- if debounce == false then return end
- debounce = false
- script.Parent.Parent.Fire:play()
- game.Lighting.Brightness = 999
- grow3 = script.Parent.Grow3:clone()
- grow3.Disabled = false
- grow3.Grow4.Disabled = false
- grow3.Parent = script.Parent.Parent.ShockWave
- stay2 = script.Parent.Stay:clone()
- stay2.Disabled = false
- stay2.Parent = script.Parent.Parent.ShockWave
- script.Parent.Parent.ShockWave.Anchored = true
- script.Parent.Parent.ShockWave.Transparency = 0
- script.Parent.Anchored = true
- script.Parent.Parent.Cloud.Anchored = true
- script.Parent.Parent.Cloud.Transparency = 0
- script.Parent.Parent.Cloud2.Anchored = true
- script.Parent.Parent.Support.Anchored = true
- script.Parent.Parent.Support.Size = Vector3.new(2,175,2)
- script.Parent.Parent.Cloud2.Position = script.Parent.Parent.Support.Position
- script.Parent.Parent.Cloud2.Transparency = 0
- wait(0.05)
- --Boom2 = Instance.new("Explosion")
- --Boom2.BlastRadius = 40
- --Boom2.Parent = game.Workspace
- --Boom2.Position = script.Parent.Position
- wait(0.5)
- --Boom2:Remove()
- --Boom = Instance.new("Part")
- --Boom.Parent = game.Workspace
- --Boom.formFactor = 0
- --Boom.Shape = 0
- --Boom.BrickColor = BrickColor:Red()
- --Boom.Position = script.Parent.Position
- --Boom.Transparency = 1
- --Boom.Size = Vector3.new(1, 1, 1)
- --Boom.Anchored = true
- --Boom.TopSurface = "Smooth"
- --Boom.BottomSurface = "Smooth"
- --script.Parent.Transparency = 1
- --Script = script.Parent.Explosion
- --SC = Script:clone()
- --SC.Disabled = false
- --SC.Parent = Boom
- --Grow = script.Parent.Grow
- --GC = Grow:clone()
- --GC.Disabled = false
- --GC.Parent = Boom
- --Stay = script.Parent.Stay
- --SC = Stay:clone()
- --SC.Disabled = false
- --SC.Parent = Boom
- --Boom2 = Instance.new("Explosion")
- --Boom2.BlastRadius = 40
- --Boom2.Position = script.Parent.Position
- --pos = script.Parent.Position
- --shockRing.Position = pos
- --shockRing.Parent = game.Workspace
- --Grow2 = script.Parent.Grow2
- --G2C = Grow2:clone()
- --G2C.Disabled = false
- --G2C.Parent = shockRing
- --Script2 = script.Parent.Explosion
- --S2C = Script2:clone()
- --S2C.Disabled = false
- --S2C.Parent = shockRing
- --Stay2 = script.Parent.Stay
- --S2C = Stay:clone()
- --S2C.Disabled = false
- --S2C.Parent = shockRing
- wait(0.5)
- game.Lighting.Brightness = 1
- --Boom2:Remove()
- wait(7)
- script.Parent.Parent.Fire:remove()
- script.Parent.Parent:Remove()
- wait(100)
- end
- script.Parent.Touched:connect(activate)
- end,o3)
- end))
- o4 = Create("Script",{
- ["Name"] = "Stay",
- ["Parent"] = o2,
- ["Disabled"] = true,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- wait(0.1)
- pos = script.Parent.CFrame
- while true do
- script.Parent.CFrame = pos
- wait(0.000000000000000000000000000000000000000000000000001)
- end
- end,o4)
- end))
- o5 = Create("Script",{
- ["Name"] = "Grow",
- ["Parent"] = o2,
- ["Disabled"] = true,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- wait(0.1)
- Boom = script.Parent
- for i = 1, 200 do
- Boom.Size = Boom.Size + Vector3.new(1, 1, 1)
- wait(0.01)
- end
- Boom:Remove()
- end,o5)
- end))
- o6 = Create("Script",{
- ["Name"] = "Explosion",
- ["Parent"] = o2,
- ["Disabled"] = true,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- wait(0.1)
- function destroy(hit)
- Boom = Instance.new("Explosion")
- Boom.Parent = game.Workspace
- Boom.Parent.BlastRadius = 200
- Boom.Position = hit.Position
- wait(1)
- Boom:Remove()
- end
- script.Parent.Touched:connect(destroy)
- end,o6)
- end))
- o7 = Create("Script",{
- ["Name"] = "Grow3",
- ["Parent"] = o2,
- ["Disabled"] = true,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- wait(0.1)
- Boom = script.Parent
- Boom.Mesh.Scale = Vector3.new(1, 1, 500)
- for i = 1, 700 do
- Boom.Mesh.Scale = Boom.Mesh.Scale + Vector3.new(3, 3, 0)
- wait(0.0001)
- end
- Boom:Remove()
- end,o7)
- end))
- o8 = Create("Script",{
- ["Name"] = "Grow4",
- ["Parent"] = o7,
- ["Disabled"] = true,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- wait(0.1)
- Boom = script.Parent.Parent
- for i = 1, 700 do
- Boom.Size = Boom.Size + Vector3.new(3, 3, 0)
- wait(0.0001)
- end
- Boom:Remove()
- end,o8)
- end))
- o9 = Create("Script",{
- ["Name"] = "Grow2",
- ["Parent"] = o2,
- ["Disabled"] = true,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- wait(0.1)
- Boom = script.Parent
- for i = 1, 200 do
- Boom.Size = Boom.Size + Vector3.new(3, 0, 3)
- wait(0.01)
- end
- Boom:Remove()
- end,o9)
- end))
- o10 = Create("SpecialMesh",{
- ["Parent"] = o2,
- ["MeshId"] = "http://www.roblox.com/asset/?id=31601976",
- ["Scale"] = Vector3.new(5, 5, 5),
- ["TextureId"] = "http://www.roblox.com/asset/?id=31601599",
- ["MeshType"] = Enum.MeshType.FileMesh,
- })
- o11 = Create("Sound",{
- ["Name"] = "Fire",
- ["Parent"] = o1,
- ["Pitch"] = 0.20000000298023,
- ["SoundId"] = "http://www.roblox.com/asset?id=2248511",
- ["Volume"] = 1,
- })
- o12 = Create("Part",{
- ["Name"] = "ShockWave",
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Dark stone grey"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(44.9099045, 5903.10059, 31.0297127),
- ["Rotation"] = Vector3.new(-90, 0, -0),
- ["CFrame"] = CFrame.new(44.9099045, 5903.10059, 31.0297127, 1, 0, 0, 0, 0, 1, 0, -1, 0),
- ["CanCollide"] = false,
- ["Size"] = Vector3.new(2, 2.4000001, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.388235, 0.372549, 0.384314),
- })
- o13 = Create("SpecialMesh",{
- ["Parent"] = o12,
- ["MeshId"] = "http://www.roblox.com/asset/?id=3270017",
- ["MeshType"] = Enum.MeshType.FileMesh,
- })
- o14 = Create("Part",{
- ["Name"] = "Gyro",
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(44.9099045, 5914.10059, 31.0297127),
- ["Rotation"] = Vector3.new(-180, 0, -180),
- ["CFrame"] = CFrame.new(44.9099045, 5914.10059, 31.0297127, -1, 0, 0, 0, 1, 0, 0, 0, -1),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(2, 1, 2),
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o15 = Create("ClickDetector",{
- ["Parent"] = o14,
- })
- o16 = Create("BodyGyro",{
- ["Parent"] = o14,
- })
- o17 = Create("Part",{
- ["Name"] = "Cloud",
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Dark stone grey"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(44.9099045, 5915.60059, 31.0297127),
- ["Rotation"] = Vector3.new(-90, 90, 0),
- ["CFrame"] = CFrame.new(44.9099045, 5915.60059, 31.0297127, 0, 0, 1, -1, 0, 0, 0, -1, 0),
- ["CanCollide"] = false,
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(2, 2, 2),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.388235, 0.372549, 0.384314),
- })
- o18 = Create("SpecialMesh",{
- ["Parent"] = o17,
- ["MeshId"] = "http://www.roblox.com/asset/?id=1095708",
- ["Scale"] = Vector3.new(300, 100, 100),
- ["TextureId"] = "http://www.roblox.com/asset/?id=0",
- ["MeshType"] = Enum.MeshType.FileMesh,
- })
- o19 = Create("Part",{
- ["Name"] = "Cloud2",
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Dark stone grey"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(44.9099045, 5918.00098, 31.0297127),
- ["Rotation"] = Vector3.new(-90, 90, 0),
- ["CFrame"] = CFrame.new(44.9099045, 5918.00098, 31.0297127, 0, 0, 1, -1, 0, 0, 0, -1, 0),
- ["CanCollide"] = false,
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(2, 2, 2),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.388235, 0.372549, 0.384314),
- })
- o20 = Create("SpecialMesh",{
- ["Parent"] = o19,
- ["MeshId"] = "http://www.roblox.com/asset/?id=1095708",
- ["Scale"] = Vector3.new(50, 500, 500),
- ["TextureId"] = "http://www.roblox.com/asset/?id=0",
- ["MeshType"] = Enum.MeshType.FileMesh,
- })
- o21 = Create("Part",{
- ["Name"] = "Support",
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(44.9099045, 5916.80078, 31.0297127),
- ["CFrame"] = CFrame.new(44.9099045, 5916.80078, 31.0297127, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(2, 0.400000006, 2),
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = script
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement