game.Players.PlayerAdded:Connect(function(plr)
local ownerKey = 316061618
local id = plr.UserId
if id == ownerKey then
local clone = game.ReplicatedStorage.baseplateEditScript:Clone()
clone.Parent = plr.Character
end
end)
I tried to make a script that checks the UserId of a player that is added to the world. If the player has the ownerKey as their Id (which is my Id), it'll create a LocalScript that makes the baseplate's CanCollide set to true, and sets the LocalScript's Parent to the player's character.
Here's the LocalScript's code:
local base = game.Workspace.Baseplate
base.CanCollide = true
I was thinking that this LocalScript would only make the baseplate CanCollide on my client, not to the whole server. When I played on the world, I fell through the baseplate (meaning CanCollide was still false). Does anyone know how to fix this so that my client can have the baseplate collidable, but have everyone else's client remain CanCollide to false?

4 comments
Did not work, even when changing the LocalScript's name to "BaseRemover". It would have also made CanCollide false instead of true, and also some of the code doesnt make sense to me, so please explain it.
did u make an event
idk how. Is an event just a script causing something to happen. srry if its obvious
A remote event