sykokilla
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 838 |
|
|
| 24 Oct 2014 03:49 PM |
This script is suppose to make words on my GUI fade in and out, it works in STUDIO but not in online mode?:/
I posted it in a pastebin to keep the format for easier reading: http://pastebin.com/1FQvApY6 |
|
|
| Report Abuse |
|
|
Tomarty
|
  |
| Joined: 08 Dec 2008 |
| Total Posts: 591 |
|
|
| 24 Oct 2014 03:52 PM |
| When you test in the studio the client and the server are the same thing, try using "Start Server" and "Start Player" to test |
|
|
| Report Abuse |
|
|
sykokilla
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 838 |
|
|
| 24 Oct 2014 03:53 PM |
| Alright, thanks for that info. Would you happen to know what's wrong with this script though? |
|
|
| Report Abuse |
|
|
Tomarty
|
  |
| Joined: 08 Dec 2008 |
| Total Posts: 591 |
|
|
| 24 Oct 2014 03:57 PM |
also try putting: wait(0.1) or something at the top of the script, that may be an easy fix for a possible glitch where scripts run before gui objects are added
Press F9 while online in your game, if there is a red error, the glitch should be easy to fix |
|
|
| Report Abuse |
|
|
sykokilla
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 838 |
|
|
| 24 Oct 2014 04:09 PM |
| Nothing happens when i press f9? |
|
|
| Report Abuse |
|
|
|
| 24 Oct 2014 04:11 PM |
Actually I recommend using either wait(2) or:
repeat wait() until game.Players.LocalPlayer -- Use this method only if your in a local script
Put these in the very beginning of the script |
|
|
| Report Abuse |
|
|
sykokilla
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 838 |
|
|
| 24 Oct 2014 04:16 PM |
| It fixed it... Wtf? That doesn't mean any sense though? Please explain. |
|
|
| Report Abuse |
|
|
|
| 24 Oct 2014 04:20 PM |
| Basically localscrpts run before the character loads, so we have to wait for the character to join so it actually has an effect on them |
|
|
| Report Abuse |
|
|
sykokilla
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 838 |
|
|
| 24 Oct 2014 04:22 PM |
| Oh, alright. Well thank you for the help man! Much love. |
|
|
| Report Abuse |
|
|
sykokilla
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 838 |
|
|
| 24 Oct 2014 11:50 PM |
It broke again for some reason?:/
|
|
|
| Report Abuse |
|
|
sykokilla
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 838 |
|
|
| 25 Oct 2014 01:24 AM |
| For some reason the GUI only breaks for the 1st person to join the server? |
|
|
| Report Abuse |
|
|
Casualist
|
  |
| Joined: 26 Jun 2014 |
| Total Posts: 4443 |
|
| |
|
sykokilla
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 838 |
|
|
| 25 Oct 2014 02:23 AM |
it's at the very top in the pastebin... But here it is non-formatted.
local Screen = script.Parent local Config = Screen.Config local Filter = Screen.Filter local Content = Screen.Content function FilterFade(start,finish,step) for i = start,finish,0.03/step do Filter.BackgroundTransparency = i wait() end Filter.BackgroundTransparency = finish end Filter.Visible = true for _,image in pairs(Content:GetChildren()) do image.Visible = false end wait(Config.Padding_Time.Value) for _,image in pairs(Content:GetChildren()) do image.Visible = true FilterFade(0,1,Config.Fade_Time.Value) wait(Config.Display_Time.Value) FilterFade(1,0,-Config.Fade_Time.Value) image.Visible = false wait(Config.Display_Time.Value) end wait(Config.Padding_Time.Value) Screen.Background.Visible = false FilterFade(0,1,Config.Fade_Time.Value) Screen:Remove() |
|
|
| Report Abuse |
|
|
sykokilla
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 838 |
|
| |
|
sykokilla
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 838 |
|
| |
|
sykokilla
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 838 |
|
| |
|
sykokilla
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 838 |
|
| |
|
sykokilla
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 838 |
|
| |
|
sykokilla
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 838 |
|
| |
|
sykokilla
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 838 |
|
| |
|
sykokilla
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 838 |
|
| |
|