ok so like basicaly idk if i use a return function or what for this. please send help???
local thing if begining == true then thing = game.ReplicatedStorage.Wepons.YinYangSword:Clone() begining = false elseif Sword == 1 and begining == false then thing = game.ReplicatedStorage.Wepons.OmegaScavenger:Clone() elseif Sword == 2 and begining == false then thing = game.ReplicatedStorage.Wepons.YinYangSword:Clone() end
COMMUNITY QUESTION
How do i change the value through If statements and keep it throughout function?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Could you elaborate?
Im trying to make it so your able to change wepons and im trying to change the variable of "thing" through the if statements so it can get to the weld and parenting parts
Please put your code in a codeblock, you can do that by selecting the code and clicking on the Lua icon, currently your code is in an inline codeblock