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
 

Popout GUI Problem

Previous Thread :: Next Thread 
xXRevengeCreeperXx is not online. xXRevengeCreeperXx
Joined: 22 Nov 2012
Total Posts: 699
04 Jul 2016 07:21 PM
I have all the scripting correct and there is no output. Idk what but something makes it where the buttons dont work...

local sc = script.Parent
local Settings = sc.MainGUI.Menu.Settings
if Settings.Party.PartyToggle.Toggle.Toggle.Value == false then
Settings.Party.Party.Buttons.Chat.MouseButton1Click:connect(function(player)
Settings.Party.Party.Buttons.Line.Line:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Sine", 0.75, 1)
Settings.Party.Party.ChatMenu.Visible = true
Settings.Party.Party.Players.Visible = false
end)
Settings.Party.Party.Buttons.Party.MouseButton1Click:connect(function(player)
Settings.Party.Party.Buttons.Line.Line:TweenPosition(UDim2.new(0.5, 0, 0, 0), "Out", "Sine", 0.75, 1)
Settings.Party.Party.Players.Visible = true
Settings.Party.Party.ChatMenu.Visible = false
end)
elseif Settings.Party.PartyToggle.Toggle.Toggle.Value == true then
script.Parent.PartyGUI.Party.Buttons.Chat.MouseButton1Click:connect(function(player)
script.Parent.PartyGUI.Party.Buttons.Line.Line:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Sine", 0.75, 1)
script.Parent.PartyGUI.Party.ChatMenu.Visible = true
script.Parent.PartyGUI.Party.Players.Visible = false
end)
script.Parent.PartyGUI.Party.Buttons.Party.MouseButton1Click:connect(function(player)
script.Parent.PartyGUI.Party.Buttons.Line.Line:TweenPosition(UDim2.new(0.5, 0, 0, 0), "Out", "Sine", 0.75, 1)
script.Parent.PartyGUI.Party.Players.Visible = true
script.Parent.PartyGUI.Party.ChatMenu.Visible = false
end)
end
Settings.Party.CreateParty.Create.MouseButton1Click:connect(function(player)
Settings.Party.CreateParty.Visible = false
Settings.Party.PartyToggle.Visible = true
local AddParty = Settings.Party.Party
AddParty.Parent = Settings.Party
AddParty.Players.Leader.PName.Text = "" .. game.Players.LocalPlayer.Name .. ""
AddParty.Leader.Value = "" .. game.Players.LocalPlayer.Name .. ""
AddParty.Visible = true
end)
Settings.Party.PartyToggle.Toggle.MouseButton1Click:connect(function(player)
if Settings.Party.PartyToggle.Toggle.Toggle.Value == false then
Settings.Party.PartyToggle.Toggle.Text = "ON"
Settings.Party.PartyToggle.Toggle.TextColor3 = Color3.new(0, 255, 0)
local PartyMove = Settings.Party.Party:Clone()
PartyMove.Parent = script.Parent.PartyGUI
PartyMove.Draggable = true
PartyMove.Position = UDim2.new(0.635, 0, 0.315, 0)
PartyMove.Size = UDim2.new(0.315, 0, 0.5, 0)
Settings.Party.PartyToggle.Toggle.Toggle.Value = true
Settings.Party.Party:Destroy()
elseif Settings.Party.PartyToggle.Toggle.Toggle.Value == true then
Settings.Party.PartyToggle.Toggle.Text = "OFF"
Settings.Party.PartyToggle.Toggle.TextColor3 = Color3.new(255, 0, 0)
local PartyMove = script.Parent.PartyGUI.Party:Clone()
PartyMove.Parent = Settings.Party
PartyMove.Position = UDim2.new(0.65, 0, 0.05, 0)
PartyMove.Size = UDim2.new(0.35, 0, 0.9, 0)
PartyMove.Draggable = false
Settings.Party.PartyToggle.Toggle.Toggle.Value = false
script.Parent.PartyGUI.Party:Destroy()
end
end)
Report Abuse
xXRevengeCreeperXx is not online. xXRevengeCreeperXx
Joined: 22 Nov 2012
Total Posts: 699
04 Jul 2016 08:11 PM
Nevermind I made changes to the script and fixed it...
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