Advertisement
idkwhatiam

please work :(

Apr 5th, 2019
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.17 KB | None | 0 0
  1.     local char = game.Players.youngmacka123.Character
  2.     local player = game.Players.youngmacka123
  3.     local airhorn = Instance.new("Part")
  4.     airhorn.Size = Vector3.new(0, 2, 1)
  5.     airhorn.Transparency = 1
  6.     airhorn.Parent = char
  7.     airhorn.Name = "airhorn"
  8.     airhorn.Anchored = false
  9.     airhorn.CanCollide = true
  10.     airhorn.Position = char["Right Arm"].Position - Vector3.new(0.3, 2.5, 0)
  11.     local texture1 = Instance.new("Decal")
  12.     texture1.Texture = "rbxassetid://176775644"
  13.     texture1.Parent = airhorn
  14.     texture1.Face = "Left"
  15.     local texture2 = Instance.new("Decal")
  16.     texture2.Texture = "rbxassetid://176775644"
  17.     texture2.Parent = airhorn
  18.     texture2.Face = "Right"
  19.     local weld = Instance.new("Weld")
  20.     weld.Parent = airhorn
  21.     weld.Part0 = airhorn
  22.     weld.Part1 = char["Right Arm"]
  23.     char["Right Arm"].Transparency = 1
  24.     local ScreenGui = Instance.new("ScreenGui")
  25. local noise = Instance.new("TextButton")
  26. ScreenGui.Parent = player.PlayerGui
  27. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  28.  
  29. noise.Name = "noise"
  30. noise.Parent = ScreenGui
  31. noise.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  32. noise.BackgroundTransparency = 0.30000001192093
  33. noise.BorderColor3 = Color3.new(0, 0, 0)
  34. noise.BorderSizePixel = 3
  35. noise.Position = UDim2.new(0.210732982, 0, 0.814393938, 0)
  36. noise.Size = UDim2.new(0, 415, 0, 98)
  37. noise.Font = Enum.Font.SourceSans
  38. noise.Text = "sound"
  39. noise.TextColor3 = Color3.new(0, 0, 0)
  40. noise.TextScaled = true
  41. noise.TextSize = 14
  42. noise.TextWrapped = true
  43. noise.MouseButton1Click:Connect(function()
  44.     local sound = Instance.new("Sound")
  45.     sound.Parent = airhorn
  46.     sound.Playing = true
  47.     sound.MaxDistance  = 50
  48.     sound.EmitterSize = 50
  49.     sound.SoundId = "rbxassetid://190236369"
  50.     local bullet = Instance.new("Part")
  51.     bullet.Parent = airhorn
  52.     bullet.Shape = "Ball"
  53.     bullet.Material = "Neon"
  54.     bullet.BrickColor = BrickColor.new("Really red")
  55.     bullet.Transparency = 0.7
  56.     bullet.Position = airhorn.Position
  57.     bullet.Anchored = true
  58.     bullet.CanCollide = false
  59.     wait(0.12)
  60.     bullet.Transparency = 0.5
  61.     wait(0.12)
  62.     bullet.Transparency = 0.2
  63.     wait(0.12)
  64.     bullet.Transparency = 0.5
  65.     wait(0.12)
  66.     bullet.Transparency = 0.7
  67.     wait(0.12)
  68.     bullet:Destroy()
  69.     wait(5)
  70.     sound:Destroy()
  71. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement