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
 

Re: Gui Problems

Previous Thread :: Next Thread 
chawawainatocofan is not online. chawawainatocofan
Joined: 17 Feb 2011
Total Posts: 26
27 Sep 2012 06:16 PM
I'm trying to make a script so that it makes a new Gui message. But I've never done this before. does anyone know what's wrong?

Script:


local r = Instance.new("Frame")
r.Position = UDim2.new(.25, 0, .25, 0)
r.Size = UDim2.new(.5, 0, .5, 0)

wait(5)
local f = Instance.new("Text")
local s = Instance.new("ScreenGui")
f.Parent = s
s.Parent = Player.PlayerGui
f.Position = UDim2.new(0.5, 0, 0.5, 0)
f.Size = UDim2.new(0.5, 0, 0.5, 0)
wait(0.01)
f.Text = "1 Minute to Gamble Drawing"
wait(1)
f.Text = "60"
wait(1)
f.Text = "59"
wait(1)
f.Text = "58"
wait(1)
f.Text = "57"
wait(1)
f.Text = "55"
wait(1)
f.Text = "56"
wait(1)
f.Text = "54"
wait(1)
f.Text = "53"
wait(1)
f.Text = "52"
wait(1)
f.Text = "51"
wait(1)
f.Text = "50"
wait(1)
f.Text = "49"
wait(1)
f.Text = "48"
wait(1)
f.Text = "47"
wait(1)
f.Text = "46"
wait(1)
f.Text = "45"
wait(1)
f.Text = "43"
wait(1)
f.Text = "42"
wait(1)
f.Text = "41"
wait(1)
f.Text = "40"
wait(1)
f.Text = "39"
wait(1)
f.Text = "38"
wait(1)
f.Text = "37"
wait(1)
f.Text = "37"
wait(1)
f.Text = "36"
wait(1)
f.Text = "35"
wait(1)
f.Text = "34"
wait(1)
f.Text = "33"
wait(1)
f.Text = "32"
wait(1)
f.Text = "31"
wait(1)
f.Text = "30"
wait(1)
f.Text = "29"
wait(1)
f.Text = "28"
wait(1)
f.Text = "27"
wait(1)
f.Text = "26"
wait(1)
f.Text = "25"
wait(1)
f.Text = "24"
wait(1)
f.Text = "23"
wait(1)
f.Text = "22"
wait(1)
f.Text = "21"
wait(1)
f.Text = "20"
wait(1)
f.Text = "19"
wait(1)
f.Text = "18"
wait(1)
f.Text = "17"
wait(1)
f.Text = "16"
wait(1)
f.Text = "15"
wait(1)
f.Text = "14"
wait(1)
f.Text = "13"
wait(1)
f.Text = "12"
wait(1)
f.Text = "11"
wait(1)
f.Text = "10"
wait(1)
f.Text = "9"
wait(1)
f.Text = "8"
wait(1)
f.Text = "7"
wait(1)
f.Text = "6"
wait(1)
f.Text = "5"
wait(1)
f.Text = "4"
wait(1)
f.Text = "3"
wait(1)
f.Text = "2"
wait(1)
f.Text = "1"
f:Destroy()
s:Destroy()


It doesn't say anything is wrong it just won't show the Gui!
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
27 Sep 2012 06:18 PM
Never parented the Frame.
Report Abuse
chawawainatocofan is not online. chawawainatocofan
Joined: 17 Feb 2011
Total Posts: 26
27 Sep 2012 06:38 PM
Explain? Please.
Report Abuse
POC0bob is not online. POC0bob
Joined: 20 Feb 2010
Total Posts: 549
27 Sep 2012 06:45 PM
Script:


local r = Instance.new("Frame")
r.Position = UDim2.new(.25, 0, .25, 0)
r.Size = UDim2.new(.5, 0, .5, 0)
r.Parent = --PLAYER'S GUI
wait(5)
local f = Instance.new("Text")
local s = Instance.new("ScreenGui")
f.Parent = s
s.Parent = Player.PlayerGui
f.Position = UDim2.new(0.5, 0, 0.5, 0)
f.Size = UDim2.new(0.5, 0, 0.5, 0)
wait(0.01)
f.Text = "1 Minute to Gamble Drawing"
for taim = 60, 1,-1 do
f.Text = taim
wait(1)
end
f:Destroy()
s:Destroy()
Report Abuse
chawawainatocofan is not online. chawawainatocofan
Joined: 17 Feb 2011
Total Posts: 26
27 Sep 2012 06:49 PM
Okay I'll try
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