Hey y’all, quick question about a text button issue I am encountering.
I have a setup where an R15 rig dummy walks down a set path and then turns around and walks back. I created walking and idle animations, and now am attempting to create a text button over his head.
I created a billboard GUI and then inserted a frame, followed by a text button inside the frame.
Here is a video that details the issue:
Issue.wmv (1.6 MB)
I have one script, which is inside the text button. It is a server script which reads as follows:
local button = script.Parent
button.Activated:Connect(function()
print("hello")
end)
Of course there will be more, I am just using this to test the button.
What solutions have I tried?
Well at first, I figured the issue must have been the code running on a server script inside of the workspace, so I transferred the code into a LocalScript and wrote it as follows:
local button = workspace.R15.Billboard.Frame.TextButton
and then used the same activation code as above.
I also tried simply only using a a billboardGUI and TextButton (so removing the frame) and using the exact same code.
Lastly, I wrote the code in a separate LocalScript inside StarterPlayerScripts, using all variations above, and none worked.
Any help is appreciated, thank you.