of     1   

LordDamionDevil
#183515429Saturday, February 13, 2016 5:34 PM GMT

Hey so I'm trying to make a loading thing and it works with a value but... it dosen't work i tried whiel ture do and etcf but cant figure it out this is the part where I gave up local loadingprozent = script.loadingprozent local plr = game.Players.LocalPlayer if loadingprozent.Value == 0 then while true do script.Parent.Text = 'Loading Game Assets: '..loadingprozent.Value..'%' wait(0.1) wait(0.2) loadingprozent.Value = loadingprozent.Value + 1 end end while true do if loadingprozent.Value >= 100 then loadingprozent:Destory() script.Parent.Text = 'Welcome, '..plr.Name..'!' end wait(0.2) end Please Help
LordDamionDevil
#183517827Saturday, February 13, 2016 6:07 PM GMT

bump?
LordDamionDevil
#183527525Saturday, February 13, 2016 8:19 PM GMT

PLEASE HELP ME ;(
cofunction
#183528161Saturday, February 13, 2016 8:28 PM GMT

local loadingprozent = script.loadingprozent local plr = game.Players.LocalPlayer local updatetext local updatetextprozent = coroutine.create(function() if loadingprozent.Value == 0 then while true do script.Parent.Text = 'Loading Game Assets: '..loadingprozent.Value..'%' wait(0.1) wait(0.2) loadingprozent.Value = loadingprozent.Value + 1 end end end) local loadprozent = coroutine.create(function() while true do if loadingprozent.Value >= 100 then loadingprozent:Destory() script.Parent.Text = 'Welcome, '..plr.Name..'!' end wait(0.2) end end) coroutine.resume(updatetextprozent) coroutine.resume(loadprozent)
2sp00ky4y0u
#183528226Saturday, February 13, 2016 8:29 PM GMT

i have a solution do this: for i = 1,100,+1? do yourtextthingy.Text = i..'%'
2sp00ky4y0u
#183528482Saturday, February 13, 2016 8:32 PM GMT

have your gui and stuff ready but game.Players.PlayerAdded:connect(function() your gui thingy make it visible or something idk, for i = 0, 100, 1 do thingy that has the text you want thing.Text = 'Loading Assets:'..i..'%' end?
LordDamionDevil
#183529008Saturday, February 13, 2016 8:38 PM GMT

@Advanced What do you mean with this part: local updatetext local updatetextprozent
cofunction
#183529317Saturday, February 13, 2016 8:42 PM GMT

"local updatetextprozent" is just the name of the coroutine function.
LordDamionDevil
#183530167Saturday, February 13, 2016 8:54 PM GMT

Didn't work ;(
TimeTicks
#183530368Saturday, February 13, 2016 8:56 PM GMT

--local script inside ReplicatedFirst local cp = game:GetService("ContentProvider") local gui = game.Players.LocalPlayer:WaitForChild("PlayerGui") gui:SetTopbarTransparency(0) local screen = Instance.new("ScreenGui") screen.Parent = gui local label = Instance.new("TextLabel") label.Parent = screen label.Text = "Please wait" label.Size = UDim2.new(1,0,1,0) label.Font = Enum.Font.SourceSans label.FontSize = Enum.FontSize.Size24 label.BackgroundColor3 = Color3.new(222/255, 222/255, 222/255) label.Active = true script.Parent:RemoveDefaultLoadingScreen() local count = 0 local start = tick() local assets = { 259811967, 259812063, 259812109, 259812109, 259793973, 259812182, 259812211, 259794435, 259794453, 259794475, 259794484, 259794500, 259794517, 254637171, 254643239, 254643676, } for i, v in next, assets do cp:Preload("rbxassetid://" ..v) end local largest = 0 local size = cp.RequestQueueSize while wait(0.05) and cp.RequestQueueSize > 0 do local current = math.floor(((1-cp.RequestQueueSize/size)*100)+0.5)/100*100 if current > largest then label.Text = string.rep(".",count).."Loading Assets: "..current.."%"..string.rep(".",count) count = (count + 1) % 4 largest = current end end if cp.RequestQueueSize == 0 then count = 0 for i = 7,0,-1 do label.Text = string.rep(".",count).." Waiting for the game "..string.rep(".",count) count = (count + 1) % 4 wait(0.5) end label.Text = "Finished!" wait(1) for i = 0,1,0.01 do label.BackgroundTransparency = i label.TextTransparency = i wait(0.01) end screen:Destroy() end
LordDamionDevil
#183530813Saturday, February 13, 2016 9:02 PM GMT

Thanks that works but I want to make it show up a Menu after Loading is done..

    of     1