|
| 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 |
|
| |
|
| 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 |
|
|
| 14 Oct 2012 10:44 AM |
Ohhhhhhh.....
I was wondering what Active was for.. |
|
|
| Report Abuse |
|
|
| 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 |
|