function Clicked()

local p1 = game.ReplicatedStorage.Cars:findFirstChild("Car1"):clone()
local p2 = game.Players.LocalPlayer --You can tell its a local script by this line. I want this code to be able to work in a normal script.

	if p1 ~= nil then
		p1.Parent = game.Workspace
		wait()
		p1:MoveTo(p2.Character.HumanoidRootPart.Position + Vector3.new(3, 0, 3))
	end
end
script.Parent.MouseButton1Click:connect(Clicked)