11:02:58.058 - attempt to call a nil value (x2)
I've used print to determine which script this is in.
LocalScript (1)
local playerGui = game.Players.LocalPlayer:WaitForChild("PlayerGui")
function leftClick()
local existp = playerGui.OrderGui.Naem.TBO.Text
game.ReplicatedStorage.MilkshakeVanilla:FireServer(existp)
print("VanillaClick")
end
script.Parent.MouseButton1Click:Connect(leftClick)
Script
game.ReplicatedStorage.MilkshakeVanilla.OnServerEvent:Connect(function(plr,existp)
print ("serverscript")
game.Workspace.Functions.WhoOrdered.Value = existp
game.ReplicatedStorage.MilkshakeVanilla2:FireAllClients()
print ("fired all clients")
end)
LocalScript (2), the one with the error. It does NOT print "game," nor do anything further in the script
game.ReplicatedStorage.MilkshakeVanilla2.OnClientEvent:Connect()
print ("game")
print(game.Workspace.Functions.WhoOrdered.Value)
local existp = game.Workspace.Functions.WhoOrdered.Value
script.Parent.Text = "Vanilla Milkshake by 2ndlocal "..existp
print ("got milkshakevanilla2")
print (existp)
So... any reccomendations?

4 comments
The code is malformed...? Where is your function callback?
I don't have any.
So what is line 1 in your last snippet? It's a blank :Connect()?
Yes, it is a blank connect..?