Okay so I have a bedroll im working on. I have it as a tool and then I want to copy the actual bed out of Replicated Storage. I want the actual bed to be transparent green when it can be placed down and transparent red when it cannot be placed down. Also I need the bed to follow the player's mouse and be snapped to the baseplate.
--sleepy?
local tool = script.Parent
local placementItem = game.ReplicatedStorage.Placements.furniture.bed
local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()
tool.Equipped:connect(function(equip)
if equip then
local cp = placementItem:Clone()
cp.Parent = game.Workspace
cp.CFrame = mouse.Hit
end
end)
What should I do?

1 comment
It all works. I just need the stuff in the desc above. And cp.Frame = mouse.Hit doesn't work right either.