#Text distribution changing when I move away from text label

1 messages · Page 1 of 1 (latest)

lapis bridge
#

When I move backwards or forwards, the text "glitches" and looks like its changing, what could be causing this ?

stray nebula
#

Is the text always on top set to true?

lapis bridge
stray nebula
#

Can you show me how the text handler script looks?

lapis bridge
#
local ReplicatedStorage = game:GetService('ReplicatedStorage')
local Workspace = game:GetService('Workspace')

local questData = require(ReplicatedStorage.QuestData)
local questTextSenderEvent = ReplicatedStorage.QuestTextSender
local text = script.Parent.TextLabel
local questText = nil
local ProximityPrompt = workspace["Quest Giver"].ProximityPrompt


questTextSenderEvent.OnClientEvent:Connect(function(step: number, compleat: boolean, questName: string)
    
    ProximityPrompt.Enabled = false
    if compleat then
        questText = "You have completed the quest"
        for i=1, string.len(questText) do wait(0.015)
            
            text.Text = string.sub(questText,1,i)
        end
        
        wait(3)
        
        text.Text = ""
        
    else
        
        questText = questData[questName].Steps[step].Dialog
        
        for i=1, string.len(questText) do wait(0.015)
            
            text.Text = string.sub(questText,1,i)
        end
        
        wait(3)
        
        text.Text = ""
    end
    
    ProximityPrompt.Enabled = true
    
end)
lapis bridge
stray nebula
#

Try disabling text wrapping

toxic mulchBOT
#

studio** You are now Level 1! **studio

stray nebula
#

In the text label

lapis bridge
stray nebula
#

That s the only solution ik

lapis bridge