I m making a game where random events will happen and one of the events is i want to put a sweeper onto the field
local Sweeper = game:GetService("ReplicatedStorage").Sweeper:Clone()
Sweeper.Parent = game.Workspace
That's my current script for moving it out of ReplicatedStorage to the workspace but it isn't working. please help

3 comments
It is a server script
That's what I'm asking you. Check the properties of the script and see if it's a local script. If it is, copy paste the code into a server script in ServerScriptStorage.
yeah its a server script in server script service