Issue with spawning boulders

Hello!

I am making another game for funnies, and every time I try to spawn in this boulder I’m simply met with

Boulder is not a valid member of ReplicatedStorage “ReplicatedStorage”

The boulder is in ReplicatedStorage, but it just disappears when playing, switching the script into ServerScriptService does nothing too. Putting the part in ServerStorage also doesn’t do anything.

Any help would be appreciated.

Thanks.

	while true do
		local RandomPosition = Vector3.new(math.random(197.85, 1126.738),-74.9, 1126.738)
	local NewBoulder = game.ReplicatedStorage.Boulder
		NewBoulder.Position = RandomPosition
	NewBoulder.Parent = workspace
	NewBoulder.Anchored = false
		wait(math.random(10,20))
	end

local NewBoulder = game.ReplicatedStorage.Boulder:Clone()

1 Like

thank you i need sleep god aaaaaaaaaaaa

1 Like