I’m using an invoke server to send tables from the local script to a script and when I try using this the Invoke server is not firing and I can’t print past the local TanksBought Var any Solutions?
> boxname.Changed:Connect(function()
> local model = nil
>
> for i, object in pairs(game.Workspace.ItemRoller["Box"..boxname.Value]:GetChildren()) do
>
> if object:IsA("Model") then
>
> model = object
> end
> end
>
> local TanksBought = game.ReplicatedStorage.GetToolsBought:InvokeServer() ----freezes right here
> print("pls") --- never runs
> print(TanksBought) ---never runs
>
> for i, Tank in pairs(TanksBought) do
>
> if Tank == model.Name then
>
> script.Parent.Text = "Equipped"
> else
> script.Parent.Text = "Equip"
> end
>
>
>
> end
>
>
> end)