How do I make a single player button?

I am in the middle of making a game similar to Juke’s Towers of Hell, and instead of using one of the kits I want to code the objects myself, however, I want to make a button that only effects the player that touches it, like for example, if you press a button a platform appears, only the person that touches the button can see it, every other player who didn’t press the button don’t see anything, how do I achieve this?

Can’t you make a button that when you click it teleports you into a single-player server?

1 Like

You can just use local scripts :slight_smile:

it comes in the name, local vs server scripts.

local scripts effects the client
server scripts (Scripts) effects the server

3 Likes

put the object in da replicated storage and make a local code that make the object back into the workspace so da local player or single player can see it

1 Like