You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I would like to be able to send the three variables right. -
What is the issue? Include screenshots / videos if possible!
The issue is that my local script that send the variables send doubles.
They should bePlayer, Color, Name
but the script sendPlayer, Player, Color
.
I’ve checked the contenute of the variables before sending them, but they are all right. They arrive wrong to the event linked script tho.
Local Script
Event:FireServer(player, Color, Nome)
Script linked to the event
local function Send(Player, Color, Name)
--Variables swapped here.
--Player has the player Value
--Name has the Color value (when it should have the name)
--Color has the player value (when it should have the color)
end
Event.OnServerEvent:Connect(Send)
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
tried searching around why, found nothing.