Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Make text label in BillbroadGui move up down?

I want make a text label in BillbroadGui can move up and down slowly in a small distance. Just like a hologram to increase realistic of it.

3 comments

0

Just like in screen gui.

0

Like, shifting position up and down by a few pixels to make it appear as though it's floating and trying to keep itself up but adjusts too much and drops back down?

0

yes , plz help me

1 answer

You could use some loops for example!

local text = script.Parent

while true do  -- loops the up and down movement
	for i = 1,30 do
		text.Positon = text.Position + Vector2.new(0,0.3)-- text goes up smoothly by 3
		wait()
	end
	wait(1) -- waits 1 second
	for i = 1,30 do
		text.Positon = text.Position - Vector2.new(0,0.3)-- text goes down again smoothly by 3
		wait()
	end
	wait(1) -- waits another second before repeating
end

`

2 comments

0

I put it in a script and it not work :(

0

Here the error: Workspace.PlayerCounting.BillboardGui.TextLabel.Script:5: bad argument #2 to '?' (UDim2 expected, got Vector2)

This discussion is preserved as it was. New answers, comments, and votes are closed.