freaked
|
  |
 |
| Joined: 28 Jan 2008 |
| Total Posts: 34558 |
|
| |
|
ash135
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 2802 |
|
| |
|
hunta11
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6393 |
|
| |
|
|
| 14 Dec 2010 07:15 PM |
| Its a value, so it isn't in the global visibility. |
|
|
| Report Abuse |
|
|
Scriptoar
|
  |
| Joined: 25 Aug 2010 |
| Total Posts: 4025 |
|
| |
|
GemHound
|
  |
| Joined: 02 Sep 2010 |
| Total Posts: 817 |
|
|
| 14 Dec 2010 07:16 PM |
well, it isn't. (use properties while you are making your scripts) It would be valid for Frame, TextButton, TextLabel, etc. |
|
|
| Report Abuse |
|
|
freaked
|
  |
 |
| Joined: 28 Jan 2008 |
| Total Posts: 34558 |
|
|
| 14 Dec 2010 07:16 PM |
| @Swordphin123 How would I fix it? |
|
|
| Report Abuse |
|
|
| |
|
freaked
|
  |
 |
| Joined: 28 Jan 2008 |
| Total Posts: 34558 |
|
|
| 14 Dec 2010 07:17 PM |
Script:
local Screen = script.Parent local Config = Screen.Config local Player = Screen.Parent.Parent local Filter = Screen.Filter local Content = Screen.Content local imgs = { "http://www.roblox.com/asset/?id=32930590"; "http://www.roblox.com/asset/?id=32964138"; "http://www.roblox.com/asset/?id=33077105"; "http://www.roblox.com/asset/?id=32913708"; "http://www.roblox.com/asset/?id=32913696"; "http://www.roblox.com/asset/?id=33032458"; }
function loadImgs() for i,img in pairs(imgs) do local id = tonumber(img:sub(33)) Screen.Img.Image = img game:GetService("InsertService"):LoadAsset(id) local percent = tostring(math.floor(((i/#imgs)*100)+0.5)) Content.Slide1.Info.Text = (percent .. "%") Content.Slide1.InfoBold.Text = (percent .. "%") end end
function loadMaps() print("Works") end
function FilterFade(start,finish,step) for i = start,finish,0.03/step do Filter.BackgroundTransparency = i wait() end Filter.BackgroundTransparency = finish end
if not Player:FindFirstChild(Config.TAG_NAME.Value) then local tag = Instance.new("IntValue") tag.Name = Config.TAG_NAME.Value tag.Parent = Player
Filter.Visible = true for _,frame in pairs(Content:GetChildren()) do frame.Visible = false end wait(Config.Padding_Time.Value) for _,frame in pairs(Content:GetChildren()) do frame.Visible = true FilterFade(0,1,Config.Fade_Time.Value) loadImgs() wait(Config.Display_Time.Value) FilterFade(1,0,-Config.Fade_Time.Value) frame.Visible = false end for _,frame in pairs(Content:GetChildren()) do frame.Visible = true FilterFade(0,1,Config.Fade_Time.Value) loadMaps() wait(Config.Display_Time.Value) FilterFade(1,0,-Config.Fade_Time.Value) frame.Visible = false end end wait(Config.Padding_Time.Value) Screen.Background.Visible = false FilterFade(0,1,Config.Fade_Time.Value)
Screen:Remove() |
|
|
| Report Abuse |
|
|
freaked
|
  |
 |
| Joined: 28 Jan 2008 |
| Total Posts: 34558 |
|
| |
|
ash135
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 2802 |
|
| |
|
| |
|
GemHound
|
  |
| Joined: 02 Sep 2010 |
| Total Posts: 817 |
|
|
| 14 Dec 2010 07:21 PM |
| what is Screen? the ScreenGui? If it is, that would be a problem. |
|
|
| Report Abuse |
|
|
GemHound
|
  |
| Joined: 02 Sep 2010 |
| Total Posts: 817 |
|
|
| 14 Dec 2010 07:21 PM |
| nvr mind. its script.Parent. |
|
|
| Report Abuse |
|
|
| |
|
GemHound
|
  |
| Joined: 02 Sep 2010 |
| Total Posts: 817 |
|
|
| 14 Dec 2010 07:33 PM |
and at the end(not sure if I'm right or wrong) wouldn't Screen.Background.Visible = false be this? Screen.Visible = 1 correct me if I am wrong. |
|
|
| Report Abuse |
|
|
freaked
|
  |
 |
| Joined: 28 Jan 2008 |
| Total Posts: 34558 |
|
|
| 14 Dec 2010 07:36 PM |
Thanks ash135. It fixed the problem.
Thank you everyone for responding! :) |
|
|
| Report Abuse |
|
|
freaked
|
  |
 |
| Joined: 28 Jan 2008 |
| Total Posts: 34558 |
|
|
| 14 Dec 2010 07:37 PM |
| @GemHound No, Visible is a BoolValue, not IntValue. |
|
|
| Report Abuse |
|
|
Wowgnomes
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
| |
|