Idk what to do for the brickcolor thing. I'm trying to assign the brickcolor from a brickcolor value.
local XYZValue = script.Parent.Handle.XYZValue
local plr = game.Players.LocalPlayer
function Click()
local Part = Instance.new("Part", game.Workspace.CloneFolder)
Part.Size = XYZValue.Value
Part.Position = plr.Character:WaitForChild("Humanoid").TargetPoint
Part.CanCollide = script.Parent.Handle.CanCollideValue.Value
Part.Anchored = script.Parent.Handle.AnchoredValue.Value
Part.Color = script.Parent.Handle.ColorValue.Value
end
script.Parent.Activated:Connect(Click)
FIXED!!!

1 comment
It still says smth about 'new'