Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

How to fix this change team script for dialogs?

Asked by 9 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.
dialogChoice.Name == "changeteam" then

local char = player.Character
if char ~= nil then
char.Team = BrickColor.new("Bright violet")
end

When the player says the dialog then he will be teamed to Bright violet. But I don't know how to change it.

0
Pls help me AlphaDragon155 7 — 9y

Answer this question