I left Roblox for a while, for like 2 years, and I’ve forgotten about everything I knew about Lua.
I’m just trying to pass and argument through an event (very simple)
I learned java so its different not having like classes or types for objects. lua is weird fr
local list = {"1","2","3","5"}
script.Parent.UpdateServers.OnServerEvent:Connect(function()
print("fired")
script.Parent.UpdateServers:FireClient(list)
end)
Unable to cast value to Object
It prints “fired” but then it throws an error
I know the answer is gonna be something really easy but keep in mind I haven’t touched roblox studio in 2 years.