I'm trying to make it where if a value is NOT blank it will fire an event, but instead, it does nothing even tho the value isn't blank. I get no errors at all. What's the problem?
ButtonsFolder.PlayButton.MouseButton1Click:Connect(function()
if not ValuesFolder.Class.Value == nil then
ReplicatedStorage.Events.SpawnEvent:FireServer(ValuesFolder.Class.Value)
else
print("Please Select a Class")
end
end)

2 comments
What's the ClassName of the instance?
StringValue2