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
 

Draggable GUI

Previous Thread :: Next Thread 
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
14 Oct 2012 10:27 AM
I have the following, which puts a GUI Box on my Screen, however I can't drag it around when I have Draggable = true

Any Ideas/help? =/

-------------------------------

function show(txt)
HM = Instance.new("ScreenGui",admin.PlayerGui)
HM.Name = "A_Gui"
fr = Instance.new("Frame",HM)
fr.Draggable = true -- HEREZ
fr.Size = UDim2.new(0,200,0,80)
fr.Position = UDim2.new(0,300,0,100)
fr.BackgroundColor3 = Color3.new(0,0,0)
lb = Instance.new("TextLabel",fr)
lb.BackgroundColor3 = Color3.new(0,0,0)
lb.BackgroundTransparency=.9
lb.Text = txt
lb.TextColor3 = Color3.new(1,1,1)
lb.Size = UDim2.new(1,0,1,0)
lb.TextWrapped = true
lb.Draggable = true
exit = Instance.new("TextButton",fr)
exit.Text = "Exit"
exit.Size = UDim2.new(0,50,0,20)
exit.Position = UDim2.new(.5,0,1,10)
exit.MouseButton1Down:connect(function()
exit.Parent.Parent:Destroy()
end)
end
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
14 Oct 2012 10:39 AM
Anyone?
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
14 Oct 2012 10:42 AM
Make sure it's Active, too(Active = true).

http://www.roblox.com/CeaselessSouls-Admin-Commands-Gui-based-item?id=92856199 -- Take one and enjoy! Read the description, has a lot of information.
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
14 Oct 2012 10:44 AM
Ohhhhhhh.....


I was wondering what Active was for..
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
14 Oct 2012 10:44 AM
Yeah... I hate when that happens, XD.

http://www.roblox.com/CeaselessSouls-Admin-Commands-Gui-based-item?id=92856199 -- Take one and enjoy! Read the description, has a lot of information.
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