Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local BillboardGui = Instance.new("BillboardGui")
- local Frame = Instance.new("Frame")
- local Text = Instance.new("TextBox")
- BillboardGui.MaxDistance = 50
- BillboardGui.Name = "Type"
- BillboardGui.Parent = owner.Character.Head
- BillboardGui.Active = true
- BillboardGui.Size = UDim2.new(15.5, 0, 15, 0)
- BillboardGui.StudsOffset = Vector3.new(0, 6, 0)
- Frame.Name = "Framer"
- Frame.Parent = BillboardGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BackgroundTransparency = 1
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.209999993, 0, 0.209999993, 0)
- Frame.Selectable = true
- Frame.Size = UDim2.new(0.600000024, 0, 0.699999988, 0)
- Text.Name = "Labeler"
- Text.Parent = Frame
- Text.BackgroundColor3 = Color3.new(0, 0, 0)
- Text.BackgroundTransparency = 1
- Text.BorderColor3 = Color3.new(0, 0, 0)
- Text.Position = UDim2.new(0.200000003, 0, 0.150000006, 0)
- Text.Size = UDim2.new(0.600000024, 0, 0.699999988, 0)
- Text.ClearTextOnFocus = false
- Text.Text = "1 bobux"
- Text.TextColor3 = Color3.new(255, 255, 255)
- Text.TextSize = 100
- Text.TextScaled = true
- Text.Font = "Arcade"
- soundid = "rbxassetid://1313873191"
- local A = Instance.new("Sound", owner.Character.Head)
- local B = Instance.new("Sound", owner.Character.Head)
- local C = Instance.new("Sound", owner.Character.Head)
- local Exclaim = Instance.new("Sound", owner.Character.Head)
- Exclaim.SoundId = "rbxassetid://2792106439"
- Exclaim.Volume = 3
- local Question = Instance.new("Sound", owner.Character.Head)
- Question.SoundId = "rbxassetid://1848278719"
- Question.Volume = 3
- local Huh = Instance.new("Sound", owner.Character.Head)
- Huh.SoundId = "rbxassetid://1842068241"
- Huh.Volume = 3
- A.SoundId = soundid
- A.Volume = 1
- B.SoundId = soundid
- B.Volume = 1
- C.SoundId = soundid
- C.Volume = 1
- owner.Chatted:connect(function(m)
- local length = string.len(m)
- local l = 0
- local stringo = ""
- local letter
- local hasexcl = 0
- local hasques = 0
- local match = string.match(m, "!")
- if match == "!" then
- Exclaim:Play()
- hasexcl = 1
- end
- match = string.match(m, "?")
- if match == "?" then
- Question:Play()
- hasques = 1
- end
- for i = 1, length do
- wait()
- l = l +1
- letter = string.sub(m, l,l)
- stringo = stringo..letter
- Text.Text = stringo
- local D = math.random(1,3)
- if D == 1 then
- A:Play()
- A.PlaybackSpeed = math.random(1,2)
- end
- if D == 2 then
- B:Play()
- B.PlaybackSpeed = math.random(1,2)
- end
- if D == 3 then
- C:Play()
- C.PlaybackSpeed = math.random(1,2)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement