Roblox/Scripts/click remove.lua
Max White a565b61c64 Add scripts
All working scripts
2024-10-22 02:11:10 +02:00

18 lines
563 B
Lua

local Plr = game:GetService("Players").LocalPlayer
local Mouse = Plr:GetMouse()
Mouse.Button1Down:connect(function()
-- NOTE: The if statements gets an indent or '4' spaces from the start of the line
if not game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.LeftControl) then
-- This gets 2 indents or '8' spaces from the start of the line
return end
if not Mouse.Target then
-- This also gets 2 indents or '8' spaces from the start of the line
return end
Mouse.Target:Destroy()
end)