Yahoo Malaysia Web Search

Search results

  1. Jul 7, 2024 · In your script, calling WaitForChild() inside event handlers can lead to inefficiencies, especially if the child objects are not immediately available due to replication delays or network issues. Preloading these references outside of event handlers ensures smoother execution and avoids potential issues like infinite yield warnings.

  2. Apr 4, 2023 · script: local gamepassId = script.GamepassID.Value local service = game:GetService("MarketplaceS… I’m trying to make a VIP chat tag, and to do so I need to require ChatService. I have no clue why I’m getting this yield?

  3. Apr 23, 2023 · I have a lot of scripts in my game and a lot of them have replicated storage. I deleted a remote event because I don’t need it anymore, but I can’t find where it is defined on script because when the console outputs infinite yield possible, I don’t know which script it is. It doesn’t tell me the script name or the line it is on. it doesn’t even tell me if it’s on a server script or ...

  4. Jul 12, 2024 · So basically I want to make a nuke, where only 2 players can have the nuke keys at the same time, for that I am using a module script to count how many keys have been picked up, now the issue is, that it yields infinite for no reason: ModuleScript (ibmkey): local keys = { keys = 0 } return keys The Script responsible for giving out keys: local detector = script.Parent.ClickDetector local ...

  5. May 2, 2021 · Im confused on why my modulescript is infinite yielding, my modulescript is in replicatedstorage and it can’t find a folder in serverscriptservice, why? local sss = game:GetService("ServerScriptService") local library = sss:WaitForChild("Library")

  6. May 19, 2024 · The infinite yield must be coming from another script, I read your code and I couldn’t find PlayerOverhead:WaitForChild("RankContainer") Do you have any other scripts that alter the rank? dreameeyx (Dreameey) May 19, 2024, 11:35am

  7. Aug 13, 2024 · I have been getting multiple "Infinite yield" errors because of the presence of "WaitForChild("Instance")" in some script and the scripts seems to work fine but when i change the "WaitForChild("Instance")" into "script.parent.Instance"(example) the script no longer works.

  8. Aug 28, 2024 · An “Infinite Yield” warning comes from a WaitForChild call, may we get the full code please? SupremeShocksAll (Isaac) August 28, 2024, 2:55am #4

  9. Dec 27, 2023 · On your 3rd line when you do local ScrollingFrame2 = ScreenGui:WaitForChild("ScrollingFrame2"), it won’t run any code past that line until there’s something called ScrollingFrame2 inside of ScreenGui, infinite yield resulting from ScrollingFrame2 never being in ScreenGui, so while in-game (testing in studio) check to see if you’ve mispelled it, if it’s being placed under ScreenGui at ...

  10. Jun 8, 2024 · I made this script and I’m getting Infinite Yield possible and I don’t understand why, the location of the object is correctly. Console warning Where the Script is located “Races” My code local char = script.Parent local player = game.Players:GetPlayerFromCharacter(char) local PlayerData = player:WaitForChild('PlayerData').PlayerStats local RaceValue = PlayerData.Race local ...