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

Local models in folder not local?

Asked by 3 years ago
Edited 3 years ago

Hello! I come to scritpinghelpers for help. In my game, I want to make some models local so that players can use the models without other players using their models. I have a folder inside replicated storage storing my models, pushing models. I then inserted a local script inside the starter player scripts with the following code:

local push = game.ReplicatedStorage:WaitForChild("PushPlatforms")
local pushclone = push:Clone()
print("Cloned model folder")

pushclone.Parent = workspace:WaitForChild("Tower of Troubling Tutorials")
print("Success! Placed folder inside the Tower of Troubling Tutorials inside the workspace!")

This script is supposed to get the pushmodel folder, clone it, and put it inside another folder in the workspace called "Tower of Troubling Tutorials". If everything works, it is supposed to print the two statements I put in the code. I tested it out, and it cloned them, placed it in the workspace, and printed the statements. Why can players still use other players local models?

1 answer

Log in to vote
0
Answered by 3 years ago

Everyone will load the script if you place it in StarterPlayerScripts and everyone will also see it and have the same features.

Ad

Answer this question