Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Hello Again I want ask for you all how to get localplayer bool value is true or not?

Hello Again I want ask for you all how to get localplayer bool value is true or not? i mean i created folder that when player joins its creates 1 bool value so the bool value is a gun save to inventory so i making shop that u click button its will remove money will add a bool value true and in inventory i will can equip if the boolvalue will be true so how i need to check if it is? true value and then get item to my backpack when i will click equip button!?

1 answer

✓ Accepted answer

For example you can do it like this to check if a boolvalue is true.

local BoolValue = script.Parent.BoolValue

if BoolValue.Value then
	print("BoolValue is true")
else
	print("BoolValue is not true.")
end

2 comments

0

Thanks Alot I love you "LIKE HELPER" !:D

0

Glad i could help

This discussion is preserved as it was. New answers, comments, and votes are closed.