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 » Scripters
Home Search
 

Re: GUI Works but Doesn't Work...

Previous Thread :: Next Thread 
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
27 May 2015 07:44 PM
I have a GUI in my game with nothing known to interfere with it. I have tested it in solo test mode. Works 100% fine, no errors or problems what-so-ever. I then saved the game, play it on a server, thinking it would all just be fine. Nope. Not a single thing works properly. My GUI in primarily "TextButtons" and "TextBoxes", but I get no response like I do in test mode. Here is the Explorer GUI Tree: http://prntscr.com/7a5pv3 (URL)
The script as follows:
local MainGUI = script.Parent
local Player = MainGUI.Parent.Parent.Parent.Parent


--NOTIFICATIONS GUI----NOTIFICATIONS GUI----NOTIFICATIONS GUI----NOTIFICATIONS GUI----NOTIFICATIONS GUI--
--NOTIFICATIONS GUI----NOTIFICATIONS GUI----NOTIFICATIONS GUI----NOTIFICATIONS GUI----NOTIFICATIONS GUI--
--NOTIFICATIONS GUI----NOTIFICATIONS GUI----NOTIFICATIONS GUI----NOTIFICATIONS GUI----NOTIFICATIONS GUI--
local Dropped = true

function SelectDropBar()
MainGUI.NotifDropBar.BackgroundTransparency = .15
if Dropped == false then
MainGUI.NotifDropBar.TextColor3 = Color3.new(255/255,255/255,255/255)
elseif Dropped == true then
MainGUI.NotifDropBar.TextColor3 = Color3.new(00/255,00/255,00/255)
end
end

function DeSelectDropBar()
if Dropped == false then
MainGUI.NotifDropBar.TextColor3 = Color3.new(00/255,00/255,00/255)
MainGUI.NotifDropBar.BackgroundTransparency = .3
elseif Dropped == true then
MainGUI.NotifDropBar.TextColor3 = Color3.new(255/255,255/255,255/255)
MainGUI.NotifDropBar.BackgroundTransparency = 0
end
end

function ClickDropBar()
if Dropped == false then
MainGUI.NotifDropBar.BackgroundTransparency = 0
MainGUI.NotifDropBar.TextColor3 = Color3.new(255/255,255/255,255/255)
MainGUI.NotifDropBar:TweenPosition(UDim2.new(0,0,.95,0))
MainGUI.NotifBackground:TweenPosition(UDim2.new(0,0,0,0))
MainGUI.NotifBackground.Home:TweenPosition(UDim2.new(.1,0,.05,0))
MainGUI.NotifBackground.HomeText:TweenPosition(UDim2.new(.1,0,.2,0))
MainGUI.NotifBackground.Server:TweenPosition(UDim2.new(.4,0,.05,0))
MainGUI.NotifBackground.ServerText:TweenPosition(UDim2.new(.1,0,.2,0))
MainGUI.NotifBackground.UpdateInfo:TweenPosition(UDim2.new(.7,0,.05,0))
MainGUI.NotifBackground.UpdateInfoText:TweenPosition(UDim2.new(.1,0,.2,0))
wait(1.5)
Dropped = true
elseif Dropped == true then
MainGUI.NotifDropBar.BackgroundTransparency = .3
MainGUI.NotifDropBar.TextColor3 = Color3.new(00/255,00/255,00/255)
MainGUI.NotifDropBar:TweenPosition(UDim2.new(0,0,0,0))
MainGUI.NotifBackground:TweenPosition(UDim2.new(0,0,-.95,0))
MainGUI.NotifBackground.Home:TweenPosition(UDim2.new(.1,0,-.9,0))
MainGUI.NotifBackground.HomeText:TweenPosition(UDim2.new(.1,0,-.75,0))
MainGUI.NotifBackground.Server:TweenPosition(UDim2.new(.4,0,-.9,0))
MainGUI.NotifBackground.ServerText:TweenPosition(UDim2.new(.1,0,-.75,0))
MainGUI.NotifBackground.UpdateInfo:TweenPosition(UDim2.new(.7,0,-.9,0))
MainGUI.NotifBackground.UpdateInfoText:TweenPosition(UDim2.new(.1,0,-.75,0))
wait(1.5)
Dropped = false
end
end

function SelectUpdateInfo()

end

function DeSelectUpdateInfo()

end

function ClickUpdateInfo()
MainGUI.NotifBackground.UpdateInfo.BackgroundColor3 = Color3.new(100/255,100/255,100/255)
MainGUI.NotifBackground.UpdateInfo.BorderSizePixel = 3
MainGUI.NotifBackground.UpdateInfo.TextColor3 = Color3.new(200/255,200/255,200/255)
MainGUI.NotifBackground.UpdateInfoText.Active = true
MainGUI.NotifBackground.UpdateInfoText.Visible = true
MainGUI.NotifBackground.Server.BackgroundColor3 = Color3.new(150/255,150/255,150/255)
MainGUI.NotifBackground.Server.BorderSizePixel = 0
MainGUI.NotifBackground.Server.TextColor3 = Color3.new(50/255,50/255,50/255)
MainGUI.NotifBackground.ServerText.Active = false
MainGUI.NotifBackground.ServerText.Visible= false
MainGUI.NotifBackground.Home.BackgroundColor3 = Color3.new(150/255,150/255,150/255)
MainGUI.NotifBackground.Home.BorderSizePixel = 0
MainGUI.NotifBackground.Home.TextColor3 = Color3.new(50/255,50/255,50/255)
MainGUI.NotifBackground.HomeText.Active = false
MainGUI.NotifBackground.HomeText.Visible = false
end

function SelectServer()

end

function DeSelectServer()

end

function ClickServer()
MainGUI.NotifBackground.UpdateInfo.BackgroundColor3 = Color3.new(150/255,150/255,150/255)
MainGUI.NotifBackground.UpdateInfo.BorderSizePixel = 0
MainGUI.NotifBackground.UpdateInfo.TextColor3 = Color3.new(50/255,50/255,50/255)
MainGUI.NotifBackground.UpdateInfoText.Active = false
MainGUI.NotifBackground.UpdateInfoText.Visible = false
MainGUI.NotifBackground.Server.BackgroundColor3 = Color3.new(100/255,100/255,100/255)
MainGUI.NotifBackground.Server.BorderSizePixel = 3
MainGUI.NotifBackground.Server.TextColor3 = Color3.new(200/255,200/255,200/255)
MainGUI.NotifBackground.ServerText.Active = true
MainGUI.NotifBackground.ServerText.Visible= true
MainGUI.NotifBackground.Home.BackgroundColor3 = Color3.new(150/255,150/255,150/255)
MainGUI.NotifBackground.Home.BorderSizePixel = 0
MainGUI.NotifBackground.Home.TextColor3 = Color3.new(50/255,50/255,50/255)
MainGUI.NotifBackground.HomeText.Active = false
MainGUI.NotifBackground.HomeText.Visible = false
end

function SelectHome()

end

function DeSelectHome()

end

function ClickHome()
MainGUI.NotifBackground.UpdateInfo.BackgroundColor3 = Color3.new(150/255,150/255,150/255)
MainGUI.NotifBackground.UpdateInfo.BorderSizePixel = 0
MainGUI.NotifBackground.UpdateInfo.TextColor3 = Color3.new(50/255,50/255,50/255)
MainGUI.NotifBackground.UpdateInfoText.Active = false
MainGUI.NotifBackground.UpdateInfoText.Visible = false
MainGUI.NotifBackground.Server.BackgroundColor3 = Color3.new(150/255,150/255,150/255)
MainGUI.NotifBackground.Server.BorderSizePixel = 0
MainGUI.NotifBackground.Server.TextColor3 = Color3.new(50/255,50/255,50/255)
MainGUI.NotifBackground.ServerText.Active = false
MainGUI.NotifBackground.ServerText.Visible= false
MainGUI.NotifBackground.Home.BackgroundColor3 = Color3.new(100/255,100/255,100/255)
MainGUI.NotifBackground.Home.BorderSizePixel = 3
MainGUI.NotifBackground.Home.TextColor3 = Color3.new(200/255,200/255,200/255)
MainGUI.NotifBackground.HomeText.Active = true
MainGUI.NotifBackground.HomeText.Visible = true
end

function UpdateAThumbsUp()
MainGUI.NotifBackground.UpdateInfoText.UpdateA.ThumbsUp.Image = "http://www.roblox.com/asset/?id=251460270"
MainGUI.NotifBackground.UpdateInfoText.UpdateA.ThumbsDown.Image = "http://www.roblox.com/asset/?id=251460298"
end

function UpdateAThumbsDown()
MainGUI.NotifBackground.UpdateInfoText.UpdateA.ThumbsUp.Image = "http://www.roblox.com/asset/?id=251460251"
MainGUI.NotifBackground.UpdateInfoText.UpdateA.ThumbsDown.Image = "http://www.roblox.com/asset/?id=251460589"
end

function UpdateBThumbsUp()
MainGUI.NotifBackground.UpdateInfoText.UpdateB.ThumbsUp.Image = "http://www.roblox.com/asset/?id=251460270"
MainGUI.NotifBackground.UpdateInfoText.UpdateB.ThumbsDown.Image = "http://www.roblox.com/asset/?id=251460298"
end

function UpdateBThumbsDown()
MainGUI.NotifBackground.UpdateInfoText.UpdateB.ThumbsUp.Image = "http://www.roblox.com/asset/?id=251460251"
MainGUI.NotifBackground.UpdateInfoText.UpdateB.ThumbsDown.Image = "http://www.roblox.com/asset/?id=251460589"
end

MainGUI.NotifDropBar.MouseEnter:connect(SelectDropBar)
MainGUI.NotifDropBar.MouseLeave:connect(DeSelectDropBar)
MainGUI.NotifDropBar.MouseButton1Click:connect(ClickDropBar)
MainGUI.NotifBackground.UpdateInfo.MouseEnter:connect(SelectUpdateInfo)
MainGUI.NotifBackground.UpdateInfo.MouseLeave:connect(DeSelectUpdateInfo)
MainGUI.NotifBackground.UpdateInfo.MouseButton1Click:connect(ClickUpdateInfo)
MainGUI.NotifBackground.Server.MouseEnter:connect(SelectServer)
MainGUI.NotifBackground.Server.MouseLeave:connect(DeSelectServer)
MainGUI.NotifBackground.Server.MouseButton1Click:connect(ClickServer)
MainGUI.NotifBackground.Home.MouseEnter:connect(SelectHome)
MainGUI.NotifBackground.Home.MouseLeave:connect(DeSelectHome)
MainGUI.NotifBackground.Home.MouseButton1Click:connect(ClickHome)
MainGUI.NotifBackground.UpdateInfoText.UpdateA.ThumbsUp.MouseButton1Click:connect(UpdateAThumbsUp)
MainGUI.NotifBackground.UpdateInfoText.UpdateA.ThumbsDown.MouseButton1Click:connect(UpdateAThumbsDown)
MainGUI.NotifBackground.UpdateInfoText.UpdateB.ThumbsUp.MouseButton1Click:connect(UpdateBThumbsUp)
MainGUI.NotifBackground.UpdateInfoText.UpdateB.ThumbsDown.MouseButton1Click:connect(UpdateBThumbsDown)
MainGUI.NotifBackground.HomeText.Play.MouseButton1Click:connect(ClickDropBar)

Sorry that the script is so long, the GUI is pretty complex and I want to make sure no factors of error are left out or skipped over. Thank you for your time and willingness to read this.
Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
27 May 2015 07:45 PM
Bump
Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
27 May 2015 07:46 PM
Bump2
Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
27 May 2015 07:46 PM
Bump3
Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
27 May 2015 07:49 PM
Bump4
Report Abuse
Anticodist is not online. Anticodist
Joined: 05 Feb 2014
Total Posts: 1191
27 May 2015 07:49 PM
Stop bumping your freaking Free Models.



-𝒩 | Anticodist, Scripter
Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
27 May 2015 08:04 PM
Haha. Talk to me when you find this "free model" on someone else's profile. (You might not be talking to me for a long time.)
Report Abuse
Anticodist is not online. Anticodist
Joined: 05 Feb 2014
Total Posts: 1191
27 May 2015 08:06 PM
Solo Mode isn't a real test. In this mode the client and server are on in the same.
You need to build and test things through server mode.
Is this in a LocalScript or a ServerScript?



-𝒩 | Anticodist, Scripter
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
27 May 2015 08:12 PM
Don't post 100 lines of stupid code
Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
27 May 2015 08:14 PM
Local script. Would you like to invite me to a party? That would be better for me atleast. Thanks!


-inception101 (Trade,Development,Designer)
Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
27 May 2015 08:16 PM
@Time As I stated above in my post, I put all code in for people that are interested in helping me to thoroughly debug my code. Hopefully this helps clear up any confusion and misunderstanding you had over this post. It is, in my defense, under the catagory "scripting" last time I checked so...


-inception101 (Trade,Development,Designer)
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
27 May 2015 08:18 PM
Yes and the scripters here don't want to spent 10 minutes of their time wasting away debugging 100 lines of code from other players.
Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
27 May 2015 08:38 PM
@Time You would be surprised by the number of good hearted people still willing to help others and take a couple minutes out of their day for a good cause. I'm sorry you don't see things in this way, sad.


-inception101 (Trade,Development,Designer)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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