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: Real quick, what is the event to move GUIs

Previous Thread :: Next Thread 
SnowyKirby is not online. SnowyKirby
Joined: 15 Jan 2013
Total Posts: 68009
06 Jan 2016 05:45 PM
?


RAP 1,008,895 | Value 3.5m+ | R$52,318 | Tx3,619
Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
06 Jan 2016 05:48 PM
TweenPosition
http://wiki.roblox.com/index.php?title=API:Class/GuiObject/TweenPosition
Report Abuse
SnowyKirby is not online. SnowyKirby
Joined: 15 Jan 2013
Total Posts: 68009
06 Jan 2016 05:49 PM
ty


RAP 1,008,897 | Value 3.5m+ | R$52,318 | Tx3,619
Report Abuse
SenseiWarrior is not online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
06 Jan 2016 05:54 PM
btw its called method not event

event = object.Event:connect(func)

method = object:Method()


Instance.new("BodyThrust",SenseiWarrior).position = CFrame.new(SenseiWarrior,YourGirlsDMs)
Report Abuse
SnowyKirby is not online. SnowyKirby
Joined: 15 Jan 2013
Total Posts: 68009
06 Jan 2016 06:01 PM
i got confused because both of them use the colon


RAP 1,008,904 | Value 3.5m+ | R$52,318 | Tx3,619
Report Abuse
SenseiWarrior is not online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
06 Jan 2016 06:03 PM
all u gotta do is know that if u see hsudifgauhbverp:connect() then its an event


Instance.new("BodyThrust",SenseiWarrior).position = CFrame.new(SenseiWarrior,YourGirlsDMs)
Report Abuse
SnowyKirby is not online. SnowyKirby
Joined: 15 Jan 2013
Total Posts: 68009
06 Jan 2016 06:06 PM
game.Players.PlayerAdded:connect(function(plr)
local gui = Instance.new('ScreenGui',plr.PlayerGui)
local frame2=Instance.new('Frame',gui)
local text=Instance.new('TextLabel', frame2)
--i have all the properties but it would just take up alot of room
wait(6)
frame2:TweenPosition(UDim2.new(-1,0,0,0)'Out','Quad',2,false) -- this is line 49
gui:Destroy()

error is Workspace.Leaderboard:49: attempt to call a userdata value


RAP 1,008,904 | Value 3.5m+ | R$52,318 | Tx3,619
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
06 Jan 2016 06:09 PM
we dont know line 49



http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$1,156 Tx228 (づ ゚ ³ ゚)づ
Report Abuse
SnowyKirby is not online. SnowyKirby
Joined: 15 Jan 2013
Total Posts: 68009
06 Jan 2016 06:10 PM
in the script i said which line it was


RAP 1,186,804 | Value 3.5m+ | R$52,319 | Tx3,619
Report Abuse
Robertoman is not online. Robertoman
Joined: 10 May 2007
Total Posts: 6369
06 Jan 2016 06:18 PM
Events require you to use the connect method on them, and are indexed as a property of representation for some in-game effect.

Methods require you to first call an object, and then perform the function on them known as a method. Methods are functions, but rather than being global, they are local to the instance you are using it on, meaning that methods are functions within the metatable of the instance.

All events for every instance has the connect method in it's metatable.
Report Abuse
SenseiWarrior is not online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
06 Jan 2016 06:19 PM
you forgot to put a comma before 'Out'


Instance.new("BodyThrust",SenseiWarrior).position = CFrame.new(SenseiWarrior,YourGirlsDMs)
Report Abuse
SnowyKirby is not online. SnowyKirby
Joined: 15 Jan 2013
Total Posts: 68009
06 Jan 2016 06:21 PM
thanks ^ and ^^


RAP 1,186,677 | Value 3.5m+ | R$52,319 | Tx3,619
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