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

how do i make a billboard gui only be seen by a local player that has it on their gun?

So I have 2 players holding a gun with a billboard gui just to make it look cool, but I want it so only the player who owns the gun sees the billboard gui and not able to see others gui is there any way to make this work or am I'm just wasting my time on this and should just to startergui?

4 comments

0

Explain more please.

0

ya its kind of hard to explain idk if i can put pictures on here I'm a little new to scripting I have been only learning it for like a mouth now on my own and with some friends

0

lets say if I want only 1 player to see a part and the others cant see it is there a way to script its so only the 1 player can see it?

0

I heard about local parts and saw it on the roblox wiki but it only seams to work with parts that spawned idk if maybe I missed something but I want to just script and say its a local part maybe?

1 answer

You can put the billboard Gui inside of the players PlayerGui, and set it's Adornee to the part you want it on. Then only that player will be able to see the gui.

2 comments

0

Thanks How wood I script that I'm new to scripting so I'm still learning how to get things to work.

0

I tried game.Players.LocalPlayer.PlayerGui.PlayersAmmoGui.Adornee = script.Parent.GunGuiPart its works in Roblox Studio but not in test server it says "GunGuiPart is not a valid member of Model"

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