wirky11
(Wirky)
January 23, 2023, 11:30am
#1
I made a subtitle script but I can’t get the correct feel for it so please if someone can improve it then it will be appreciated
local subtitle = script.Parent.SubtitleTemplate.Subtitle:Clone(script.Parent)
game.ReplicatedStorage.Game.Events.Subtitle_Sender.OnClientEvent:Connect(function(Character,Text,CharacterColor,TextColor)
subtitle.Parent = script.Parent
subtitle.Visible = true
subtitle.Character.Text = Character
subtitle.Text.Text = Text
subtitle.Character.TextColor3 = CharacterColor
subtitle.Text.TextColor3 = TextColor
wait(2)
while true do
subtitle.Position = subtitle.Position - UDim2.new(0, 0, 0, 50)
wait(2)
end
end)
1 Like
Hmmmm…
Hey there pal! Can you tell me what this code Is supposed to do In higher detail? Is It in a GUI, a SurfaceGUI or a BillboardGUI? I will also need a video showcasing what this script does.
wirky11
(Wirky)
January 23, 2023, 11:46am
#3
wirky11
(Wirky)
January 23, 2023, 11:49am
#5
also i will show the entrie startergui so you can see the things
edit: i meant the subtitles thing (sorry i dont know why im that rushed)
What will happen to this code? Video record, because my computer is damaged
It means that if player says in the chat, gui appears
wirky11
(Wirky)
January 23, 2023, 5:18pm
#9
no erm it was a test command form adonis to show how the GUI works