|
| 11 Feb 2016 08:30 PM |
here:
local Loading = script.Parent local Warning = script.Parent.Parent.TextLabel local Background = script.Parent.Parent
wait(1) Loading.Text = "Loading: 2%" wait(4) Loading.Text = "Loading: 9%" wait(0.1) Loading.Text = "Loading: 11%" wait(0.1) Loading.Text = "Loading: 12%" wait(0.1) Loading.Text = "Loading: 13%" wait(0.1) Loading.Text = "Loading: 14%" wait(0.1) Loading.Text = "Loading: 15%" wait(0.1) Loading.Text = "Loading: 16%" wait(0.1) Loading.Text = "Loading: 17%" wait(0.1) Loading.Text = "Loading: 18%" wait(0.1) Loading.Text = "Loading: 19%" wait(0.1) Loading.Text = "Loading: 22%" wait(10) Loading.Text = "Loading: 35%" wait(2) Loading.Text = "Loading: 39%" wait(5) Loading.Text = "Loading: 50%" wait(5) Loading.Text = "Loading: 54%" wait(2.5) Loading.Text = "Loading: 61%" wait(10) Loading.Text = "Loading: 77%" wait(4) Loading.Text = "Loading: 89%" wait(5) Loading.Text = "Loading: 98%" wait(2) Loading.Text = "Loading: 99%" wait(10) Loading.Text = "Loading: 100%" wait(0.1) Loading:Remove() Warning:Remove() Background:Remove()
now before the script starts I want to anchor the player's humanoid how would I adapt it into this script? I've tried a few times and it just breaks the script |
|
|
| Report Abuse |
|
|
| |
|
|
| 11 Feb 2016 08:39 PM |
ok I did but I think I need to edit my way of anchoring the torso because it still isn't working do you know any working ways for regular scripts? |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 08:42 PM |
| You want to disable walking? |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 08:43 PM |
ugh loading stuff is annoying and boring y do it no one likes it |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 08:45 PM |
| Well when you see a loading screen in really popular games its not just there for show its actually loading those assets and your data saves. |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 08:45 PM |
yes I want to disable walking
@basket I know its super annoying but I have to, because my place has hundreds of meshes and textures that need to load it looks absolutely awful when first joining the game because everything is grey or invisible lol |
|
|
| Report Abuse |
|
|
Fribet
|
  |
| Joined: 08 Feb 2014 |
| Total Posts: 700 |
|
|
| 11 Feb 2016 08:45 PM |
The inefficiency hurts my eyes, also, why are you making a fake loading screen? It just wastes peoples time
|
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 08:46 PM |
@my yea I don't know how to do it exactly like in said games, so I just did it this way |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 08:47 PM |
@fri that isn't the point of the thread anyway
I just want to know a command for disabling walking and adapting it into this script |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 08:47 PM |
| Fribet hes probably trying to learn a little more about scripting hence him being in the forum... Crazy just set the humanoids walkspeed to 0 |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 08:49 PM |
ok so maybe like game.Workspace.Players.Character.Humanoid.WalkSpeed = 0?????? I honestly have no idea how to do it that's just a guess really |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 08:51 PM |
In a local script:
local player = game.Players.LocalPlayer local character = player.Character if not character or not character.Parent then character = player.CharacterAdded:wait() else local hum = character:FindFirstChild("Humanoid") if hum then hum.WalkSpeed = 0 |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 08:52 PM |
this is in a regular script because it doesn't work in a localscript idk why but should I change it? |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 09:01 PM |
ok well im going to try and make it a localscript then whenever I tried to make it a localscript before though it broke :( |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 09:08 PM |
it broke and I don't know how to fix it so b1 |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 09:11 PM |
local Loading = script.Parent local Warning = script.Parent.Parent.TextLabel local Background = script.Parent.Parent
while game.ContentProvider.RequestQueueSize > 0 do Loading.Text = game.ContentProvider.RequestQueueSize.." assets loading.." end ---after assets loaded |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 09:19 PM |
@lil it doesn't seem to be working |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 09:26 PM |
Im just going to use my original system all I need to know is how to set the humanoid walkspeed to 0 in a regular script (my gui script doesn't work in local)
|
|
|
| Report Abuse |
|
|
| |
|
|
| 11 Feb 2016 09:28 PM |
ok ok for some reason the original code I have isn't working in a localscript any ideas on how to fix it? |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 09:32 PM |
this is irritating and way harder than it should be and I've been working on it for 2 1/2 hours
|
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 09:34 PM |
game.Players.LocalPlayer.CharacterAdded:wait() local Loading = script.Parent local Warning = script.Parent.Parent.TextLabel local Background = script.Parent.Parent
while game.ContentProvider.RequestQueueSize > 0 do Loading.Text = game.ContentProvider.RequestQueueSize.." assets loading.." end ---after assets loaded
|
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 09:34 PM |
| Tell me in exact detail what you want and i can probably make it for you |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 09:45 PM |
@lil the gui just disappears am I doing something wrong?
@my as you can see I have a set load time the textlabel slowly goes up to 100% it works perfectly as is in a regular script however, since you said I can't make a player's walkspeed 0 in a regular script I now need to adapt it so that it works in a localscript b/c it doesn't atm and then of course I need to add the command that will actually make the walkspeed 0 but you already gave me that |
|
|
| Report Abuse |
|
|