I'm making it that there is a ClickDetector inside the Baseplate, and that if you click on the baseplate, then a part will appear wherever you click, but it seems to not work and gives me the error - > GetMouse is not a valid member of players.
Here is my script.
local b = script.Parent.Baseplate
local plr = game:GetService("Players")
local mouse = plr:GetMouse()
b.ClickDetector.MouseClick:Connect(function()
local part = Instance.new("Part")
part.Position = mouse.Position
end)
I'm also confused as to how I would put it on the axis of the base plate EDIT

2 comments
You get the mouse from the Player, not Players
Now it gives me the error "13:29:44.744 - The current identity (2) cannot create a Player (lacking permission 4)"