I'm creating a script for sonic speed simulator but when I print the value of the dropdown, it prints as this weird binary table rather than the string. Is this normal? Or am I doing something wrong? Even if I select another option, the table stays the same and doesn't change.
Code:
local WorldSelection = Chaos:CreateDropdown({
Name = "Select a world",
Options = {"Green Hill", "Lost Valley", "Emerald Hill", "Hill Top"},
CurrentOption = {"Green Hill"},
MultipleOptions = false,
Callback = function(Value)
SelectedHatchWorld = Value
print(Value)
end
})
local RaritySelection = Chaos:CreateDropdown({
Name = "Select a rarity",
Options = {"Epic", "Legendary", "Exotic"},
CurrentOption = {"Epic"},
MultipleOptions = false,
Callback = function(Value)
SelectedRarity = Value
print(Value)
end
})
I'm creating a script for sonic speed simulator but when I print the value of the dropdown, it prints as this weird binary table rather than the string. Is this normal? Or am I doing something wrong? Even if I select another option, the table stays the same and doesn't change.
Code:
local WorldSelection = Chaos:CreateDropdown({ Name = "Select a world", Options = {"Green Hill", "Lost Valley", "Emerald Hill", "Hill Top"}, CurrentOption = {"Green Hill"}, MultipleOptions = false, Callback = function(Value) SelectedHatchWorld = Value print(Value) end })
local RaritySelection = Chaos:CreateDropdown({ Name = "Select a rarity", Options = {"Epic", "Legendary", "Exotic"}, CurrentOption = {"Epic"}, MultipleOptions = false, Callback = function(Value) SelectedRarity = Value print(Value) end })
Image: