i'm kinda stuck with this code. i don't know what to do with it. but i have a pretty rough amount of code to do it. since i'm going to only allow players to build on a brick called plot i think it's gonna be pretty long. but i'm really stuck right now. don't know what to do.

print("Loaded Cropfarm")
local cropfarm = game.ServerStorage.CropFarm
local Player = game.Players.LocalPlayer
local mouse = Player:GetMouse()
script.Parent.MouseButton1Click:connect(function()
	local clonedfarm = cropfarm:Clone
	while true do
		CFrame.new.
	end
end)

2 comments

0

Straight away I see an error - you cannot access ServerStorage and the LocalPlayer in the same script.

0

Besides that, you aren't explaining your question at all..