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

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

Asked by 7 years ago
Edited by OldPalHappy 7 years ago

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?

0
Explain more please. OldPalHappy 1477 — 7y
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 BoomyTrevor 0 — 7y
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? BoomyTrevor 0 — 7y
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? BoomyTrevor 0 — 7y

1 answer

Log in to vote
3
Answered by
RubenKan 3615 Moderation Voter Administrator Community Moderator
7 years ago

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.

0
Thanks How wood I script that I'm new to scripting so I'm still learning how to get things to work. BoomyTrevor 0 — 7y
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" BoomyTrevor 0 — 7y
Ad

Answer this question