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: Tween only works in studio help!

Previous Thread :: Next Thread 
CUBES4LIFE is not online. CUBES4LIFE
Joined: 22 Jun 2009
Total Posts: 4956
11 Apr 2015 12:59 AM
When I test this in studio, it works, however once I switch a server, the gui does not tween. The print statements print while testing, so it clearly makes it past line 3. Any help would be appreciated.

gui.AncestryChanged:connect(function(child, parent)
print(1)
master:TweenPosition(UDim2.new(0.5, 0, 0.42, 0), 'In', 'Quint', 1)
wait(5)
print(2)
for i = 0,1.1,0.1 do
master.Transparency = i
frame.Transparency = i
seperator.Transparency = i
message.TextTransparency = i
speaker.TextTransparency = i
wait()
end
-- master:TweenPosition(UDim2.new(1.5, 0, 0.5, 0), 'Out', 'Quint', 0.5)
wait(1)
gui:Destroy()
end)
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
11 Apr 2015 01:01 AM
local script or server script
Report Abuse
CUBES4LIFE is not online. CUBES4LIFE
Joined: 22 Jun 2009
Total Posts: 4956
11 Apr 2015 01:02 AM
local
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
11 Apr 2015 01:03 AM
what did you define master as
Report Abuse
CUBES4LIFE is not online. CUBES4LIFE
Joined: 22 Jun 2009
Total Posts: 4956
11 Apr 2015 01:05 AM
local master = script.Parent

and master holds everything else in it
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
11 Apr 2015 01:09 AM
Any output? Looks fine to me
Report Abuse
CUBES4LIFE is not online. CUBES4LIFE
Joined: 22 Jun 2009
Total Posts: 4956
11 Apr 2015 01:11 AM
No output. It looks fine to me too, which is why I posted here, haha
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
11 Apr 2015 01:12 AM
Does it print 2?
Report Abuse
CUBES4LIFE is not online. CUBES4LIFE
Joined: 22 Jun 2009
Total Posts: 4956
11 Apr 2015 01:15 AM
mhm
Report Abuse
KiwiTronik is not online. KiwiTronik
Joined: 18 Feb 2010
Total Posts: 3221
11 Apr 2015 03:36 AM
Is this the full script? If it isnt can you post the full script?
Report Abuse
KiwiTronik is not online. KiwiTronik
Joined: 18 Feb 2010
Total Posts: 3221
11 Apr 2015 03:37 AM
oh unless its part of a big script, just with all the variables being defined and stuff
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