Tool wont spawn/teleport

Original:
Im trying to set a tools position when it spawns

game.ServerScriptService.Randomizer.Event:Connect(function()
	if script.Parent.Parent.Parent == workspace then
		local number = math.random(1,25)
		if number == 1 then
			print("FatL")
		else
			local cheese = game.ReplicatedStorage.Tools.Revolver:Clone()
			cheese.Parent = workspace
			cheese.PrimaryPart.CFrame = (CFrame.new(script.Parent.Position) ) ---HERE
			print("Spawned")
		end
	end
end)
cheese.PrimaryPart.CFrame = script.Parent.CFrame
1 Like

it’s because the Position is a Vector3, not a CFrame

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.