So I have been using roblox studio normally, I start working on an information gui and out of nowhere internal scripts that I haven't made start saying things are missing and the weirdest thing, my scripts start saying playergui is missing, all of them! Then I check my player and its not there! What is happening? It appears to happen as soon as I use this script:
sleeptext = "bunch of random text"
script.Parent.Cancel.MouseButton1Click:Connect(function()
script.Parent.Parent.Parent:Destroy()
end)
script.Parent.Sleep.MouseButton1Click:Connect(function()
-- bug happens here
script.Parent.ScrollingFrame.TextLabel.Text = sleeptext
end)
Here us what happens when the script breaks: 22:52:14.184 - BackgroundImage is not a valid member of Frame 22:52:14.185 - Stack Begin 22:52:14.185 - Script 'Players.Futuristic_Paladin.PlayerScripts.ChatScript.ChatMain.ChannelsTab', Line 212 - method AnimGuiObjects 22:52:14.186 - Script 'Players.Futuristic_Paladin.PlayerScripts.ChatScript.ChatMain.ChannelsTab', Line 262 - method Update 22:52:14.187 - Script 'Players.Futuristic_Paladin.PlayerScripts.ChatScript.ChatMain.ChannelsBar', Line 352 - method Update 22:52:14.187 - Script 'Players.Futuristic_Paladin.PlayerScripts.ChatScript.ChatMain.ChatWindow', Line 650 - method Update 22:52:14.188 - Script 'Players.Futuristic_Paladin.PlayerScripts.ChatScript.ChatMain', Line 187 22:52:14.188 - Stack End 22:52:19.808 - PlayerGui is not a valid member of Player 22:52:19.810 - Stack Begin 22:52:19.811 - Script 'Workspace.Futuristic_Paladin.LocalScript', Line 12 22:52:19.811 - Stack End
Sorry for any inexplicitness, I just really don't understand whats wrong and why its only just happened. I was using this exact script minutes ago to double-check if it worked and this just happens. I also restarted studio

1 comment
thanks I will try and fix thiis