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

How to make part that is different for all players?

Asked by
imKirda 4491 Moderation Voter Community Moderator
4 years ago
Edited 3 years ago

I want to make for example a swing, one brick and 4 ropes but there is a problem, when i make it all players see it as one block so if one jumps on it others will see the part swinging but what i need is to make that this part will be local for everyone, so if someone jumps on it, it will only swing for that person and other's people part won't be affected.

it's in Roblox.

0
Make sure your code works with filtering enabled such as using remote events or module scripts to communicate with the server and clients. AlmostADemon 50 — 4y
0
That's exactly what i needed! Thanks! imKirda 4491 — 4y

1 answer

Log in to vote
0
Answered by
Xapelize 2658 Moderation Voter Community Moderator
4 years ago

you can use a local script to make it works, but remote events just fire to every server...

maybe this is an example, that if you click it, the brick color just change at the clicked person screen... (local script and insert it into a part):

local part = script.Parent
local clickdetector = game.Instance.new("ClickDetector", part)

clickdetector.MouseClick:Connect(function()
    part.BrickColor = BrickColor.Random()
end)

If this helped to you, please mark this as answer! thanks :)

0
what Xapelize 2658 — 2y
Ad

Answer this question