Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Loading script that worked suddenly doesnt?

Asked by 4 years ago

I have a loading script thats been in my game and suddenly it stopped working

01co = game:GetService("ContentProvider")
02plr = game.Players.LocalPlayer
03gui = plr.PlayerGui.Loading_Screen
04blur = Instance.new("BlurEffect", game.Lighting)
05blur.Size = 20
06gui.Loading_Frame.Visible = true
07game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
08assets = game:GetDescendants()
09for i = 1, #assets do
10    local percent = i/#assets
11    local int = math.floor(i/#assets * 100)
12    local asset = assets[i]
13    co:PreloadAsync({asset})
14    gui.Loading_Frame.Slider.Size = UDim2.new(percent, 0, 1, 0)
15    gui.Loading_Frame.Percent_Display.Text = int.."%"
View all 28 lines...

ive tried uninstalling and reinstalling roblox, completely rescripting it and everything, plz help error message: 12:29:37.912 - BackgroundImage is not a valid member of Frame 12:29:37.916 - Stack Begin 12:29:37.918 - Script 'Players.Vetrodex.PlayerScripts.ChatScript.ChatMain.ChannelsTab', Line 212 - function AnimGuiObjects 12:29:37.919 - Script 'Players.Vetrodex.PlayerScripts.ChatScript.ChatMain.ChannelsTab', Line 262 - function Update 12:29:37.920 - Script 'Players.Vetrodex.PlayerScripts.ChatScript.ChatMain.ChannelsBar', Line 352 - function Update 12:29:37.920 - Script 'Players.Vetrodex.PlayerScripts.ChatScript.ChatMain.ChatWindow', Line 650 - function Update 12:29:37.921 - Script 'Players.Vetrodex.PlayerScripts.ChatScript.ChatMain', Line 192 12:29:37.922 - Stack End

0
also nothing in the error message has anything to do with the gui its all roblox Vetrodex 22 — 4y
0
this is not a free model lol i scripted this Vetrodex 22 — 4y
0
and u deleted it lol Vetrodex 22 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

i found it never mind, i was reorginizing it and didnt change the script that removed the loading screen so it deleted start gui or something like that lol

Ad

Answer this question