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 
BBTMagazine is not online. BBTMagazine
Joined: 16 Oct 2011
Total Posts: 11
17 Oct 2011 03:31 PM
Gui.Parent = Players.PlayerGui Frame = Instance.new("Frame") Frame.Style = "RobloxRound" Frame.Parent = Gui Frame:TweenSizeAndPosition(UDim2.new(0.300000012,0, 0.300000012,0),UDim2.new(0.349999994,0,0.300000012,0))
Instance.new("TextLabel") Text.Name = "Text" Text.Font = "ArialBold" Text.FontSize = "Size18" Text.TextWrap = true text.textTransparency = 0.3 text.BackgroundTransparency = 1 Text.Text = "Would you like a copy of BBT Magazine?" text.Size = UDim2.new(1,0,0.2,0)
text.Parent = Frame Text.TextColor3 = Color3.new(1,1,1)-- Isue is here!
local ButtonYes = nil
local ButtonNo = nil
ButtonYes = Instance.new("TextButton")
ButtonYes.Name = "Yes" ButtonYes.Parent = Frame ButtonYes.Font = "ArialBold" ButtonYes.FontSize = "Size14" ButtonYes.TextTransparency = 0.3 ButtonYes.TextColor3 = Color3.new(1,1,1) ButtonYes.Style = "RobloxButton" ButtonYes.Position = UDim2.new(0.150000006,0,0.699999988,0) ButtonYes.Size = UDim2.new(0.349999994,0,0.300000012,0) ButtonYes.Text = "Yes, Please." --Manners.
ButtonNo = Instance.new("TextButton") ButtonNo.Name = "No, Thank you." --MORE Manners.
ButtonNo.Parent = Frame ButtonNo.Font = "ArialBold" ButtonNo.FontSize = "Size14"
ButtonNo.TextTransparency = 0.3 ButtonNo.TextColor3 = Color3.new(1,1,1) ButtonNo.Style = "RobloxButton" ButtonNo.Position = UDim2.new(0.524999976,0,0.699999988,0) ButtonNo.Size = UDim2.new(0.349999994,0,0.300000012,0) ButtonNo.Text = "No"
Image = Instance.new("ImageLabel") Image.Name = "Image" Image.Position = UDim2.new(0.300000012,0,0.100000001,0) Image.Size = UDim2.new(0.400000006,0,0.649999976,0)
Image.Image = "http://www.roblox.com/asset/?id=63914940" -- BBT logo
Image.BackgroundTransparency = 1 Image.Parent = Frame ButtonYes.MouseButton1Click:connect(function() UserSaidYes(player)
end)
ButtonNo.MouseButton1Click:connect(function() UserSaidNo(player)
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
17 Oct 2011 03:34 PM
Listen, if you're going to write your code all bunched up like that and you're going to make these stupid mistakes like not creating a variable when you surely need one, you'd better go back to the basics.
Report Abuse
sysmic is not online. sysmic
Joined: 19 Mar 2010
Total Posts: 383
17 Oct 2011 03:34 PM
try this:

Gui.Parent = Players.PlayerGui Frame = Instance.new("Frame") Frame.Style = "RobloxRound" Frame.Parent = Gui Frame:TweenSizeAndPosition(UDim2.new(0.300000012,0, 0.300000012,0),UDim2.new(0.349999994,0,0.300000012,0))
local Text = Instance.new("TextLabel") Text.Name = "Text" Text.Font = "ArialBold" Text.FontSize = "Size18" Text.TextWrap = true text.textTransparency = 0.3 text.BackgroundTransparency = 1 Text.Text = "Would you like a copy of BBT Magazine?" text.Size = UDim2.new(1,0,0.2,0)
text.Parent = Frame Text.TextColor3 = Color3.new(1,1,1)-- Isue is here!
local ButtonYes = nil
local ButtonNo = nil
ButtonYes = Instance.new("TextButton")
ButtonYes.Name = "Yes" ButtonYes.Parent = Frame ButtonYes.Font = "ArialBold" ButtonYes.FontSize = "Size14" ButtonYes.TextTransparency = 0.3 ButtonYes.TextColor3 = Color3.new(1,1,1) ButtonYes.Style = "RobloxButton" ButtonYes.Position = UDim2.new(0.150000006,0,0.699999988,0) ButtonYes.Size = UDim2.new(0.349999994,0,0.300000012,0) ButtonYes.Text = "Yes, Please." --Manners.
ButtonNo = Instance.new("TextButton") ButtonNo.Name = "No, Thank you." --MORE Manners.
ButtonNo.Parent = Frame ButtonNo.Font = "ArialBold" ButtonNo.FontSize = "Size14"
ButtonNo.TextTransparency = 0.3 ButtonNo.TextColor3 = Color3.new(1,1,1) ButtonNo.Style = "RobloxButton" ButtonNo.Position = UDim2.new(0.524999976,0,0.699999988,0) ButtonNo.Size = UDim2.new(0.349999994,0,0.300000012,0) ButtonNo.Text = "No"
Image = Instance.new("ImageLabel") Image.Name = "Image" Image.Position = UDim2.new(0.300000012,0,0.100000001,0) Image.Size = UDim2.new(0.400000006,0,0.649999976,0)
Image.Image = "http://www.roblox.com/asset/?id=63914940" -- BBT logo
Image.BackgroundTransparency = 1 Image.Parent = Frame ButtonYes.MouseButton1Click:connect(function() UserSaidYes(player)
end)
ButtonNo.MouseButton1Click:connect(function() UserSaidNo(player)
Report Abuse
sysmic is not online. sysmic
Joined: 19 Mar 2010
Total Posts: 383
17 Oct 2011 03:34 PM
yeah, like blocco said, you need a variable.
Report Abuse
crazypotato4 is not online. crazypotato4
Joined: 22 Feb 2010
Total Posts: 20000
17 Oct 2011 03:35 PM
Text = Instance.new("TextLabel") text = Text

You have to actually use a variable for it. Also, I see you using lowercase stuff, and Lua is CASE SENSITIVE. If you incorrectly capitalize anything, you will most likely get an error
Report Abuse
BBTMagazine is not online. BBTMagazine
Joined: 16 Oct 2011
Total Posts: 11
18 Oct 2011 10:00 AM
Nope None of theese work?
How do i create a variable?
Report Abuse
bubblegumultrachew is not online. bubblegumultrachew
Joined: 23 Nov 2010
Total Posts: 290
18 Oct 2011 10:16 AM
[ Content Deleted ]
Report Abuse
BBTMagazine is not online. BBTMagazine
Joined: 16 Oct 2011
Total Posts: 11
18 Oct 2011 10:41 AM
Ok but i have corrected it all but it still dosent work =v
Report Abuse
SoulStealer9875 is not online. SoulStealer9875
Joined: 20 Jul 2009
Total Posts: 13119
18 Oct 2011 11:46 AM
So you know how to write that but you have no idea what a variable is?


~SS9875|Programmer|Web Engineer|Wiki Writer
Report Abuse
HolyBanana is not online. HolyBanana
Joined: 13 Sep 2010
Total Posts: 1417
18 Oct 2011 11:47 AM
text.Parent = Frame Text.TextColor3 = Color3.new(1,1,1)-- Isue is here!


What is "Text" ?
Report Abuse
SoulStealer9875 is not online. SoulStealer9875
Joined: 20 Jul 2009
Total Posts: 13119
19 Oct 2011 09:40 AM
what is "Gui" ?


~SS9875|Programmer|Web Engineer|Wiki Writer
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
19 Oct 2011 09:41 AM
[ Content Deleted ]
Report Abuse
SoulStealer9875 is not online. SoulStealer9875
Joined: 20 Jul 2009
Total Posts: 13119
19 Oct 2011 09:42 AM
no


~SS9875|Programmer|Web Engineer|Wiki Writer
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
19 Oct 2011 09:42 AM
[ Content Deleted ]
Report Abuse
SoulStealer9875 is not online. SoulStealer9875
Joined: 20 Jul 2009
Total Posts: 13119
19 Oct 2011 09:43 AM
i have to go to dentist so i kill time playing crappy games (roblox)


~SS9875|Programmer|Web Engineer|Wiki Writer
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
19 Oct 2011 09:43 AM
[ Content Deleted ]
Report Abuse
SoulStealer9875 is not online. SoulStealer9875
Joined: 20 Jul 2009
Total Posts: 13119
19 Oct 2011 09:45 AM
im already working on my own online games


~SS9875|Programmer|Web Engineer|Wiki Writer
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
19 Oct 2011 09:45 AM
[ Content Deleted ]
Report Abuse
SoulStealer9875 is not online. SoulStealer9875
Joined: 20 Jul 2009
Total Posts: 13119
19 Oct 2011 11:51 AM
can't say, has to be a secret


~SS9875|Programmer|Web Engineer|Wiki Writer
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