local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Mouse = Player:GetMouse()
local Button = script.Parent
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RemoteFolder = ReplicatedStorage:WaitForChild("Remotes")
local EnemyFolder = ReplicatedStorage:WaitForChild("Enemies")
local Remote = RemoteFolder:WaitForChild("Remote1")
Button.MouseButton1Down:Connect(function(x, y, Mouse)
Remote:FireSever()
end)
When I try to index the Mouse Parameter it just says “attempt to index local mouse a nil value”