Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- autotheme = "classic"; -- type >styles in game with the setting below set to "true" to view the styles [not done]
- themechangable = true;
- local style = autotheme
- owner.Chatted:Connect(function(msg,rec)
- local lowerm = msg:lower()
- local splitm = lowerm:split(" ")
- local str = game.Chat:FilterStringForBroadcast(msg,owner)
- if style == "typer" then
- local function talkr(txtobj,text)
- for i=1,#text,1 do
- txtobj.Text = string.sub(text,1,i)
- local blip = Instance.new("Sound",txtobj.Parent.Parent)
- blip.SoundId = "rbxassetid://131238032"
- blip:Play()
- delay(.5,function()
- blip:Destroy()
- end)
- wait()
- end
- end
- local BillboardGui0 = Instance.new("BillboardGui")
- local TextLabel1 = Instance.new("TextLabel")
- BillboardGui0.Name = "b"
- BillboardGui0.Parent = owner.Character.Head
- BillboardGui0.Enabled = true
- BillboardGui0.Size = UDim2.new(7, 0, 1, 0)
- BillboardGui0.Active = true
- BillboardGui0.ClipsDescendants = true
- BillboardGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- BillboardGui0.StudsOffset = Vector3.new(0, 3, 0)
- TextLabel1.Name = "t"
- TextLabel1.Parent = BillboardGui0
- TextLabel1.Size = UDim2.new(1, 0, 1, 0)
- TextLabel1.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel1.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel1.BackgroundTransparency = 1
- TextLabel1.Font = Enum.Font.Arcade
- TextLabel1.FontSize = Enum.FontSize.Size14
- TextLabel1.TextColor = BrickColor.new("Hot pink")
- TextLabel1.TextColor3 = Color3.new(1, 0, 0.984314)
- TextLabel1.TextScaled = true
- TextLabel1.TextSize = 14
- TextLabel1.TextStrokeTransparency = 0
- TextLabel1.TextWrap = true
- TextLabel1.TextWrapped = true
- talkr(TextLabel1,str)
- wait(2)
- local ts = game:GetService("TweenService")
- local info = TweenInfo.new(2,Enum.EasingStyle.Cubic,Enum.EasingDirection.InOut,0,false,0)
- local goals = {TextTransparency = 1, TextStrokeTransparency = 1}
- local anim1 = ts:Create(TextLabel1,info,goals)
- anim1:Play()
- wait(2)
- BillboardGui0:Destroy()
- elseif style == "classic" then
- game.Chat:Chat(owner.Character,str,Enum.ChatColor.White)
- end
- if splitm[1] == ">style" then
- if themechangable then
- if splitm[2] == "typer" then
- style = "typer"
- elseif splitm[2] == "classic" then
- style = "classic"
- end
- end
- end
- end)
Add Comment
Please, Sign In to add comment