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
 

Re: Gui won't change positions

Previous Thread :: Next Thread 
smurf279 is not online. smurf279
Joined: 15 Mar 2010
Total Posts: 6871
16 Jul 2011 08:51 PM
while wait(0.25) do
for _,v in pairs(game.Players:GetPlayers()) do
lol = game.Lighting.ImageLabel1:clone()
if v.Character and v.PlayerGui:FindFirstChild("ScreenGui1") then
lol.Parent = v.PlayerGui.ScreenGui1
Torso = v.Character.Torso
for _,b in pairs(v.PlayerGui.ScreenGui1:GetChildren()) do
if b.Name == "ImageLabel1" then
b.Position = UDim2.new(0.129999993, Torso.Position.x, 0.650000036, Torso.Position.z)
b:remove()
end end end end end

I'm not sure what happened since there is no output but even if "ImageLabel1" is there it will not change positions.
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
16 Jul 2011 08:52 PM
Output?
Report Abuse
smurf279 is not online. smurf279
Joined: 15 Mar 2010
Total Posts: 6871
16 Jul 2011 08:53 PM
Nothing, it says the script is running.
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
16 Jul 2011 08:57 PM
while wait(0.25) do
for _,v in pairs(game.Players:GetPlayers()) do
lol = game.Lighting.ImageLabel1:clone()
if game.Workspace:findFirstChild(""..v.Name.."") and v.PlayerGui:FindFirstChild("ScreenGui1") then
lol.Parent = v.PlayerGui.ScreenGui1
Torso = v.Character.Torso
for _,b in pairs(v.PlayerGui.ScreenGui1:GetChildren()) do
if b.Name == "ImageLabel1" then
b.Position = UDim2.new(0.129999993, Torso.Position.x, 0.650000036, Torso.Position.z)
b:remove()
end end end end end

Try that.
Report Abuse
smurf279 is not online. smurf279
Joined: 15 Mar 2010
Total Posts: 6871
16 Jul 2011 09:17 PM
Didn't work and not sure what I did before but now its just not showing up in the PlayerGui at all
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
16 Jul 2011 09:21 PM
Still no output?
Report Abuse
smurf279 is not online. smurf279
Joined: 15 Mar 2010
Total Posts: 6871
16 Jul 2011 09:25 PM
None
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
16 Jul 2011 09:26 PM
while wait(0.25) do
for _,v in pairs(game.Players:GetPlayers()) do
lol = game.Lighting.ImageLabel1:clone()
if game.Workspace:findFirstChild(""..v.Name.."") and v.PlayerGui:FindFirstChild("ScreenGui1") then
lol.Parent = v.PlayerGui.ScreenGui1
Torso = v.Character.Torso
for _,b in pairs(v.PlayerGui.ScreenGui1:GetChildren()) do
if b.Name == "ImageLabel1" then
b.Position = UDim2.new(0.129999993, Torso.Position.X, 0.650000036, Torso.Position.Z)
b:remove()
end end end end end

Try it now
Report Abuse
smurf279 is not online. smurf279
Joined: 15 Mar 2010
Total Posts: 6871
16 Jul 2011 09:32 PM
Nope
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