#Could anyone please help me?

1 messages · Page 1 of 1 (latest)

crystal lion
#

With making a church monitor that displays music text and that i can change it anytime?

#

As i'm making it but i'm not sure how to do it

bold grove
harsh grove
chilly furnace
crystal lion
#

No

#

I have a bit of code

#

But it isnt working

hushed tapir
crystal lion
#

pov: you dont read

leaden prism
crystal lion
#

idk wdym

#

a

#

local textLabel = script.Parent:WaitForChild("TextLabel")
local textBox = script.Parent:WaitForChild("TextBox")
local startButton = script.Parent:WaitForChild("TextButton")
-- moves first character
local scrolling = false

function scrollText(text)
scrolling = true
while scrolling do
text = text:sub(2) .. text:sub(1,1) --
textLabel.Text = text
wait(0.1) -- how fast will text move
end
end

startButton.MouseButton1Click:Connect(function()
scrolling = false
wait(0.1)
scrollText(textBox.Text)
end)

#

or this one i thinl

#

because i have 2

#

local textLabel = script.Parent:WaitForChild("TextLabel")
local textBox = script.Parent:WaitForChild("TextBox")
local startButton = script.Parent:WaitForChild("TextButton")

local scrolling = false

function scrollText(text)
scrolling = true
while scrolling do
text = text:sub(2) .. text:sub(1,1) -- przesuwa pierwszy znak na koniec
textLabel.Text = text
wait(0.1) -- prędkość przewijania
end
end

startButton.MouseButton1Click:Connect(function()
scrolling = false
wait(0.1)
scrollText(textBox.Text)
end)

leaden prism
#

Use this format for the code

crystal lion
#

Uh

kind walrusBOT
#

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

leaden prism
#

Like on Discord, use that so it formats better

crystal lion
#

local textLabel = script.Parent:WaitForChild("TextLabel")
local textBox = script.Parent:WaitForChild("TextBox")
local startButton = script.Parent:WaitForChild("TextButton")

local scrolling = false

function scrollText(text)
    scrolling = true
    while scrolling do
        text = text:sub(2) .. text:sub(1,1) -- przesuwa pierwszy znak na koniec
        textLabel.Text = text
        wait(0.1) -- prędkość przewijania
    end
end

startButton.MouseButton1Click:Connect(function()
    scrolling = false
    wait(0.1)
    scrollText(textBox.Text)
end
leaden prism
#

That's better

crystal lion
#

or this one

#

local textLabel = script.Parent:WaitForChild("TextLabel")
local textBox = script.Parent:WaitForChild("TextBox")
local startButton = script.Parent:WaitForChild("TextButton")
-- moves first character
local scrolling = false

function scrollText(text)
    scrolling = true
    while scrolling do
        text = text:sub(2) .. text:sub(1,1) -- 
        textLabel.Text = text
        wait(0.1) -- how fast will text move
    end
end

startButton.MouseButton1Click:Connect(function()
    scrolling = false
    wait(0.1)
    scrollText(textBox.Text)
end
leaden prism
crystal lion
#

uh

#

you said to do that

#

in the codeblock emoji

leaden prism
crystal lion
#

a

#

I removed print thingy

leaden prism
crystal lion
#

not sure

#

k here u go

#

removed these

#

quotes etc

#

And im making a church monitor that looks like that

#

a similar one

leaden prism
crystal lion
leaden prism
crystal lion
#

I was kinda using it

#

But

#

It wasnt working

#

And im making a monitor that will display song text

#

And that i will be able to edit text in a ui

leaden prism
crystal lion
#

Not really sure what do u mean 😅

kind walrusBOT
#

studio** You are now Level 2! **studio

leaden prism
# crystal lion Not really sure what do u mean 😅

You posted code. I assumed that was the script you were using but wasn't working.

I suggested changes. You edited the code you posted here.

But did you make those same changes to the code in Roblox Studio

crystal lion
#

I had the same code there and on roblox

#

And it didnt work like I expected

#

It to work

leaden prism
# crystal lion It to work

Okay so the code isn't causing any errors but it's not doing what you want it to do, that right? after my suggested changes?

crystal lion
#

Yeah.

leaden prism
crystal lion
#

Uh

#

Ill tell you when i get to my pc oki

#

Probably 10 mins

#

Screen GUI > LocalScript

leaden prism
crystal lion
#

Yeah

#

I think so

leaden prism
crystal lion
#

? Sorry im not
That good in english

#

And dont know what you really mean

leaden prism
crystal lion
#

Yes i had it there

leaden prism
crystal lion
#

It doesnt display anything at all

#

Or change anything

#

The script

leaden prism
crystal lion
#

Yes.

#

And that i could change it using a chat command or a ui

#

Its just what’s easier for u

leaden prism
#

I'm not sure I understand.

If it's not a SurfaceGUI, it's not going to show on the monitor

crystal lion
#

I had a surface gui

#

Kinda

#

But removed it

leaden prism
crystal lion
#

Because it didn’t work

leaden prism
# crystal lion Because it didn’t work

It could be an issue if you put SurfaceGui in StaterGui

You'd have to either set the Adornee property to the screen or put the SurfaceGui on the monitor itself and change the script to a ServerScript

crystal lion
#

Uh

kind walrusBOT
#

studio** You are now Level 3! **studio