Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

can someone help me, i dont know how to make the text in a textlabel change?

Asked by
0nsg 0
3 years ago

im trying to make a game where you fight squidward like a boss (im quite new to scripting) and i cant figure out how to get the text to change

This is my script:

while true do script.Parent.Text = "Objective: Find The Fish" game.workspace.Fish.ClickDetector.MouseClick:Connect(function() script.Parent.Text = "Objective: Survive Squidward" end) end

Can anyone help me out?

0
is this a server script or a local script? PaleNoobs 37 — 3y

Answer this question