local Player = game.Players.LocalPlayer local mouse = Player:GetMouse() local Part = game.Workspace.Baseplate
mouse.Button1Down:Connect(function(clicked) if clicked then Part.Position = Vector3.new(mouse.x,mouse.y,0)
end
end)
local Player = game.Players.LocalPlayer local mouse = Player:GetMouse() local Part = game.Workspace.Baseplate
mouse.Button1Down:Connect(function(clicked) if clicked then Part.Position = Vector3.new(mouse.x,mouse.y,0)
end
end)
local Player = game:GetService("Players").LocalPlayer
local Cursor = Player:GetMouse()
local Part = workspace.Part
Cursor.Button1Down:Connect(function()
if (Cursor.Target ~= nil) then
Part.Position = Cursor.Hit.p
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
remove clicked there is no parameter from Mouse.Button1Down