#if Boolvalue.Value == true, not working
23 messages · Page 1 of 1 (latest)
Be warn, game.StarterGui is the folder cloned in every respawn for every player, and won't do anything for guis already in players. Use player.PlayerGui for get his current gui and script events and visible changes
Sorry if you know already it >v<'
oh I didnt even notice that flaw in the code when I came by lol
** You are now Level 1! **
check if Boolvalue.Value is printing a valid value or not
You haven't event connected, it's normal ?
Alrighty, Also the likely hood is that script.Parent.Cutscene is not being defined properly, or its an invalid animation type
You want test if it's true immediately when script running ?
ReadAnim is defined but then you have the cutscene defined inside the player?
Did the value is true when the script run ?
so this script is inside of greg I understand?
Ok but the script doesn't look for changeing value here
It might be easiest if you just submit the animation to roblox and then call the id instead @ivory grail
I havent done a lot of humanoid animating but do you need an animator for NPAs? (Non Player Anims)
No, but have it to run every time the value is changed by the click script ? I'm sorry if i haven't undestand that you already answer to this
Must it be adaptative ?
There is more efficient to check every time value, the event .Changed, who fire when the value is changed
wait is likely going to be depreciated, I'd do task wait or heartbeat (depending on situation)
Test value in a loop is more heavy for the machine than run only when there is changes ^-^
while wait loops are very inefficient, laggy, and old. Likely best bet is to run an animid so it only needs to grab it from the database and not from the character, also can make it easier to load it to multiple people.
Also if you want to run the cutscene without rerunning the entire script, try putting a few lines to check when the value changes, and if its true then run.
** You are now Level 8! **
On my mind, it have to test the value firstly, and if false then put a value.Changed:Wait() and you know that after this line, value will be true