Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local UIS = game:GetService("UserInputService")
- local RS = game:GetService("ReplicatedStorage")
- UIS.InputBegan:Connect(function(Input, IsTyping)
- if IsTyping then return end
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then
- RS.Event:FireServer()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement