
Keyless

local UserInputService = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local remoteEvent = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("FromClient"):WaitForChild("Push")
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end -- Ignore UI interactions
if input.UserInputType == Enum.UserInputType.MouseButton1 then -- Left mouse button
remoteEvent:FireServer()
end
end)
W Works