#Client Side GUI replicating on all Clients

26 messages · Page 1 of 1 (latest)

dark hemlock
#

I have a script that makes a BillboardGUI visible on a players screen, but for some reason it keeps replicating on all players’ screens. Here’s the code: So I made a script for a Compass tool that would show a WayPoint whenever you equip it. The problem is, it works, but it shows up on EVERYBODY'S screen. Here's the script:

local player = game:GetService("Players").LocalPlayer
local Compass = script.Parent
local WayPoint = Compass.WayPoint

Compass.Equipped:Connect(function()
    WayPoint.Parent = player.PlayerGui.NpcChatGui

end)

Compass.Unequipped:Connect(function()
    WayPoint.Parent = Compass
end)```
#

(And yes its a local script)

#

Here’s some clips of what the issue happening:

tame token
#

maybe it has smthn to do with the compass tool joeshrug

tame token
#

i mean im not a professional but if this #1311510428668661795 message is a local script then how the heckie could it be doing it for all clients? has to be a server script doing it, but i don't know how your compass tool works

tame token
foggy leaf
#

That script is on the compass

tulip sapphireBOT
#

studio** You are now Level 13! **studio

foggy leaf
#

Since the compass variable is script.parent

dark hemlock
#

The WayPoint is a BillboardGUI

#

@foggy leaf

#

@tame token

tame token
#

is there any other scripts at all

#

that associate with the compass or gui

dark hemlock
#

@tame token I fixed it

#

No worries

foggy leaf
#

Whatd you do @dark hemlock to fix it? Just curious

dark hemlock
#

It does not work on the client side

#

I switched it to server side and it worked

#

@foggy leaf