I need to make script when player clicking on button - it creates a ball on map but this ball must be visible ONLY to this player, how to make that?
2 Likes
wdym “client” like local script?
1 Like
You can have a normal script inside of your button and it will run only for the client (player) if you change its “RunContext” property to “Client”
2 Likes
You can use RemoteEvents >> FireClient(Player)
or Create a ServerScript(Script)
and change his Property called RunContext
to “Client” I think the default one is “Legacy”.
2 Likes
-- do this on button clicked
local part = Instance.new("Part")
part.Size = size
part.CFrame = CFrame
part.Name = name
part.Parent = workpace
nvm i didn’t notice it was solved already
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.