while true do local args = { } local remote = game:GetService("ReplicatedStorage"):WaitForChild("addcash") if remote:IsA("RemoteEvent") then remote:FireServer(unpack(args)) elseif remote:IsA("RemoteFunction") then local result = remote:InvokeServer(unpack(args)) print("Result:", result) end task.wait(0.001) end