script.Parent.DialogChoiceSelected:Connect(function(player, choice)
if choice.Name == "Ca" then
if player.leaderstats.Money.Value >= 1000 then
player.leaderstats.Money.Value = player.leaderstats.Money.Value - 1000
player.TeamColor = BrickColor.new("Bright green")
else
--Whatever you want to happen if they don't have enough money
end
elseif choice.Name == "Maybe some other time" then
--Blahblahblah
end
end)
not sure what edits to give it but when I go into the server and bring up the output log there aren't any detected errors. I'm betting its a simple solution that I'm not seeing since I'm not very adept at script making. In studio it does exactly what I want it to, pay 1000 money to switch teams but when I play on roblox server it doesnt seem to want to work. Do I need to add WaitForChild?

8 comments
The DialogChoiceSelected event does not work in FilteringEnabled. It basically doesn't work anymore. You will need to create custom dialogues using GUIs.
is there a way to turn FilteringEnabled off?
no FE is always on because of the update, even if you turn it off
So I dont need this script whatsoever?
That is correct, buddyo. You're gonna have to make your own dialog GUI as incapaz said.
dang I just watched a vid over this, theres a load of scripting involved. this is gonna be a fun project lol
Lol. Good luck with it though, dude.
thanks ima need a lot more than luck this seems like a huge pain not gonna lie lol