Hello! So this is a script that, when clicked makes a surfaceGui appear. It does work, but I need it to be on a local scale so only the player clicking can see it. I tried putting the following into a LocalScript as opposed to a script but it just meant the entire thing didn’t work. Can someone please help me out? Thanks!
local ClickDetector = script.Parent.ClickDetector
script.Parent.Attacks.Tribrid.Visible = true
It should work as intended, but you’ll need to have the LocalScript parented under something that it is allowed to run under. That could could be the player’s character, their backpack, their PlayerScripts folder, etc., but if the BillboardGui isn’t under any of those places, the script won’t run. In that case, you’d need just need to move the script and change your references.