Hello there! I’m currently having this weird error:
FindFirstChild is not a valid member of RBXScriptSignal
My LocalScript is placed in StarterGui, It’s just a simple script that keeps checking if the player has a folder called Saude in their Character and if not it will clone the Folder into their Character.
LocalScript
local player = game.Players.LocalPlayer
local character = player.CharacterAdded
local Saude = game.StarterPlayer.StarterCharacterScripts:WaitForChild("Saude")
while true do
if character:FindFirstChild(Saude) then
print("player has Saude System")
else
local SaudeClone = Saude:Clone()
SaudeClone.Parent = character
end
wait()
end
If you are wondering why I’m cloning something into the local character even though the Saude Folder is placed in StarterCharacterScripts, well the reason for that is that I have a Skin Shop system and whenever you change skins the Saude folder begins to disappear out of thin air sometimes.
Thanks for reading!