Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local char = game.Players.youngmacka123.Character
- local player = game.Players.youngmacka123
- local airhorn = Instance.new("Part")
- airhorn.Size = Vector3.new(0, 2, 1)
- airhorn.Transparency = 1
- airhorn.Parent = char
- airhorn.Name = "airhorn"
- airhorn.Anchored = false
- airhorn.CanCollide = true
- airhorn.Position = char["Right Arm"].Position - Vector3.new(0.3, 2.5, 0)
- local texture1 = Instance.new("Decal")
- texture1.Texture = "rbxassetid://176775644"
- texture1.Parent = airhorn
- texture1.Face = "Left"
- local texture2 = Instance.new("Decal")
- texture2.Texture = "rbxassetid://176775644"
- texture2.Parent = airhorn
- texture2.Face = "Right"
- local weld = Instance.new("Weld")
- weld.Parent = airhorn
- weld.Part0 = airhorn
- weld.Part1 = char["Right Arm"]
- char["Right Arm"].Transparency = 1
- local ScreenGui = Instance.new("ScreenGui")
- local noise = Instance.new("TextButton")
- ScreenGui.Parent = player.PlayerGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- noise.Name = "noise"
- noise.Parent = ScreenGui
- noise.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
- noise.BackgroundTransparency = 0.30000001192093
- noise.BorderColor3 = Color3.new(0, 0, 0)
- noise.BorderSizePixel = 3
- noise.Position = UDim2.new(0.210732982, 0, 0.814393938, 0)
- noise.Size = UDim2.new(0, 415, 0, 98)
- noise.Font = Enum.Font.SourceSans
- noise.Text = "sound"
- noise.TextColor3 = Color3.new(0, 0, 0)
- noise.TextScaled = true
- noise.TextSize = 14
- noise.TextWrapped = true
- noise.MouseButton1Click:Connect(function()
- local sound = Instance.new("Sound")
- sound.Parent = airhorn
- sound.Playing = true
- sound.MaxDistance = 50
- sound.EmitterSize = 50
- sound.SoundId = "rbxassetid://190236369"
- local bullet = Instance.new("Part")
- bullet.Parent = airhorn
- bullet.Shape = "Ball"
- bullet.Material = "Neon"
- bullet.BrickColor = BrickColor.new("Really red")
- bullet.Transparency = 0.7
- bullet.Position = airhorn.Position
- bullet.Anchored = true
- bullet.CanCollide = false
- wait(0.12)
- bullet.Transparency = 0.5
- wait(0.12)
- bullet.Transparency = 0.2
- wait(0.12)
- bullet.Transparency = 0.5
- wait(0.12)
- bullet.Transparency = 0.7
- wait(0.12)
- bullet:Destroy()
- wait(5)
- sound:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement