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

My TextButton In My SurfaceGui Does Not Do Anything!?

I Have Tried Everything It Just Has Not Worked! Could I Have Some Help Please?

                                    My Code Is As Stated Below.

script.Parent.MouseButton1Click:Connect(function()
	script.Parent.BackgroundTransparency = 1
	script.Parent.TextTransparency = 1
	-----------------------------------
	      -- // Hi There // --
	      script.Parent.Parent.ImageLabel.Image = 1645312040
	      -- // Time Until Next Picture // --
	                  wait(2)
	      -- // I Made Team Thunder For // --
	      script.Parent.Parent.ImageLabel.Image = 1645346723
	      -- // Time until Next Picture // --
	                  wait(3)
	      -- // Our Plans // --
	      script.Parent.Parent.ImageLabel.Image = 1648267543
	      -- // Time Until Credits // --
	                   wait(2)
	      -- // Credits // --
	      script.Parent.Parent.ImageLabel.Image = 1648286332

	      
	game.Players.LocalPlayer.MoviesWatched.Value = game.Players.LocalPlayer.MoviesWatched.Value + 1
end)


1 comment

0

No I did not, If You Read It Properly Its game.Players.LocalPlayer.MoviesWatched.Value = game.Players.LocalPlayer.MoviesWatched.Value + 1 ...

1 answer

It does not work because it is in the Workspace. Place it in The StarterGui and set its Adornee to the part you want it to be on. In the workspace it's just a simple textlabel. in the startergui / playergui it has functionality

1 comment

0

An Adornee Is Not A Thing.

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