generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

[ Content Deleted ]

Previous Thread :: Next Thread 
freaked is not online. freaked
Top 50 Poster
Joined: 28 Jan 2008
Total Posts: 34558
14 Dec 2010 07:14 PM
How do I fix this error?
Report Abuse
ash135 is not online. ash135
Joined: 19 Oct 2008
Total Posts: 2802
14 Dec 2010 07:15 PM
[ Content Deleted ]
Report Abuse
hunta11 is not online. hunta11
Joined: 13 Mar 2009
Total Posts: 6393
14 Dec 2010 07:15 PM
Post the script?
Report Abuse
Swordphin123 is not online. Swordphin123
Joined: 09 Apr 2008
Total Posts: 5234
14 Dec 2010 07:15 PM
Its a value, so it isn't in the global visibility.
Report Abuse
Scriptoar is not online. Scriptoar
Joined: 25 Aug 2010
Total Posts: 4025
14 Dec 2010 07:15 PM
Script?
Report Abuse
GemHound is not online. 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 is not online. freaked
Top 50 Poster
Joined: 28 Jan 2008
Total Posts: 34558
14 Dec 2010 07:16 PM
@Swordphin123 How would I fix it?
Report Abuse
pacopaco45 is not online. pacopaco45
Joined: 27 Feb 2010
Total Posts: 283
14 Dec 2010 07:17 PM
[ Content Deleted ]
Report Abuse
freaked is not online. freaked
Top 50 Poster
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 is not online. freaked
Top 50 Poster
Joined: 28 Jan 2008
Total Posts: 34558
14 Dec 2010 07:18 PM
@GemHound It's a Frame.
Report Abuse
ash135 is not online. ash135
Joined: 19 Oct 2008
Total Posts: 2802
14 Dec 2010 07:18 PM
[ Content Deleted ]
Report Abuse
pacopaco45 is not online. pacopaco45
Joined: 27 Feb 2010
Total Posts: 283
14 Dec 2010 07:19 PM
[ Content Deleted ]
Report Abuse
GemHound is not online. 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 is not online. GemHound
Joined: 02 Sep 2010
Total Posts: 817
14 Dec 2010 07:21 PM
nvr mind. its script.Parent.
Report Abuse
pacopaco45 is not online. pacopaco45
Joined: 27 Feb 2010
Total Posts: 283
14 Dec 2010 07:21 PM
[ Content Deleted ]
Report Abuse
GemHound is not online. 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 is not online. freaked
Top 50 Poster
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 is not online. freaked
Top 50 Poster
Joined: 28 Jan 2008
Total Posts: 34558
14 Dec 2010 07:37 PM
@GemHound No, Visible is a BoolValue, not IntValue.
Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
06 May 2012 04:38 PM
[ Content Deleted ]
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image