well can someone help me incorporate that Mouse.Origin.x to a tool that onclick makes a part? I can't get mine to work although it's probably obvious why it doesn't to you guys because I suck at scripting
sucky script below (doesn't work at all)
local player = game.Player.LocalPlayer
local Mouse = player:GetMouse()
local target = Mouse.Origin.x
local target2 = Mouse.Origin.y
local bin = script.Parent
bin.Selected:connect(function(Mouse)
Mouse.Button1Down:connect(function()
local part = Instance.new('Part',game.Workspace)
part.Name = player.Name..'FigurePart'
part.Transparency = 1
end)
end)
|