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"))
- Model0 = Instance.new("Model")
- Tool1 = Instance.new("Tool")
- Part2 = Instance.new("Part")
- Sound3 = Instance.new("Sound")
- CylinderMesh4 = Instance.new("CylinderMesh")
- Decal5 = Instance.new("Decal")
- Script6 = Instance.new("Script")
- Part7 = Instance.new("Part")
- Sound8 = Instance.new("Sound")
- CylinderMesh9 = Instance.new("CylinderMesh")
- Part10 = Instance.new("Part")
- SpecialMesh11 = Instance.new("SpecialMesh")
- Script12 = Instance.new("Script")
- Model0.Parent = mas
- Tool1.Name = "AirHorn"
- Tool1.Parent = Model0
- Tool1.TextureId = "http://www.roblox.com/asset/?id=179012130"
- Tool1.ToolTip = "Fixed by BinaryReallyRed."
- Part2.Name = "Handle"
- Part2.Parent = Tool1
- Part2.Material = Enum.Material.SmoothPlastic
- Part2.BrickColor = BrickColor.new("Institutional white")
- Part2.Rotation = Vector3.new(-180, 0, -180)
- Part2.FormFactor = Enum.FormFactor.Custom
- Part2.Size = Vector3.new(1, 1, 1)
- Part2.CFrame = CFrame.new(-8.6999979, 0.500009, -37.1000023, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part2.Position = Vector3.new(-8.6999979, 0.500009, -37.1000023)
- Part2.Orientation = Vector3.new(0, 180, 0)
- Part2.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Sound3.Parent = Part2
- Sound3.SoundId = "http://www.roblox.com/asset/?id=170037553"
- Sound3.Volume = 1
- CylinderMesh4.Parent = Part2
- CylinderMesh4.Scale = Vector3.new(0.899999976, 1.20000005, 0.899999976)
- CylinderMesh4.Scale = Vector3.new(0.899999976, 1.20000005, 0.899999976)
- Decal5.Parent = Part2
- Decal5.Texture = "http://www.roblox.com/asset/?id=179012130"
- Script6.Parent = Tool1
- table.insert(cors,sandbox(Script6,function()
- local Tool = script.Parent;
- enabled = true
- function onActivated()
- if not enabled then
- return
- end
- Tool.Handle.Sound:Play()
- wait(.2)
- end
- function onEquipped()
- end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- end))
- Part7.Parent = Tool1
- Part7.Material = Enum.Material.SmoothPlastic
- Part7.BrickColor = BrickColor.new("Really red")
- Part7.Rotation = Vector3.new(-180, 0, -180)
- Part7.FormFactor = Enum.FormFactor.Custom
- Part7.Size = Vector3.new(0.600000024, 0.400000036, 0.600000024)
- Part7.CFrame = CFrame.new(-8.6999979, 1.20000994, -37.1000023, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.Color = Color3.new(1, 0, 0)
- Part7.Position = Vector3.new(-8.6999979, 1.20000994, -37.1000023)
- Part7.Orientation = Vector3.new(0, 180, 0)
- Part7.Color = Color3.new(1, 0, 0)
- Sound8.Parent = Part7
- Sound8.SoundId = "http://www.roblox.com/asset/?id=170037553"
- Sound8.Volume = 1
- CylinderMesh9.Parent = Part7
- CylinderMesh9.Scale = Vector3.new(0.899999976, 1.20000005, 0.899999976)
- CylinderMesh9.Scale = Vector3.new(0.899999976, 1.20000005, 0.899999976)
- Part10.Parent = Tool1
- Part10.Material = Enum.Material.SmoothPlastic
- Part10.BrickColor = BrickColor.new("Really red")
- Part10.Rotation = Vector3.new(-90, 90, 0)
- Part10.FormFactor = Enum.FormFactor.Custom
- Part10.Size = Vector3.new(0.600000024, 0.600000024, 1)
- Part10.CFrame = CFrame.new(-8.6999979, 1.30000806, -37.1000023, 0, 0, 1, -1, 0, 0, 0, -1, 0)
- Part10.Color = Color3.new(1, 0, 0)
- Part10.Position = Vector3.new(-8.6999979, 1.30000806, -37.1000023)
- Part10.Orientation = Vector3.new(0, 90, -90)
- Part10.Color = Color3.new(1, 0, 0)
- SpecialMesh11.Parent = Part10
- SpecialMesh11.MeshId = "http://www.roblox.com/asset/?id=29086478"
- SpecialMesh11.Scale = Vector3.new(0.800000012, 0.349999994, 0.800000012)
- SpecialMesh11.TextureId = "http://www.roblox.com/asset/?id=29086192"
- SpecialMesh11.VertexColor = Vector3.new(1, 0, 0)
- SpecialMesh11.MeshType = Enum.MeshType.FileMesh
- SpecialMesh11.Scale = Vector3.new(0.800000012, 0.349999994, 0.800000012)
- Script12.Name = "InstaWeld"
- Script12.Parent = Tool1
- table.insert(cors,sandbox(Script12,function()
- local prev
- local parts = script.Parent:GetChildren()
- for i = 1,#parts do
- if (parts[i].className == "Part") then
- if (prev ~= nil)then
- local weld = Instance.new("Weld")
- weld.Part0 = prev
- weld.Part1 = parts[i]
- weld.C0 = prev.CFrame:inverse()
- weld.C1 = parts[i].CFrame:inverse()
- weld.Parent = prev
- end
- prev = parts[i]
- end
- end
- 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
Add Comment
Please, Sign In to add comment