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: don't use "Connect" use "connect"

Previous Thread :: Next Thread 
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
14 Sep 2017 05:06 PM
lae says don't use "Connect" she is wrong


she is a weeb

use "connect"

k thx bye.
Report Abuse
ThatKidYoshi is not online. ThatKidYoshi
Joined: 21 Jul 2016
Total Posts: 146
14 Sep 2017 05:07 PM
true, also use keydown instead of UserInputService, like r u a real scriptr if u dont????????????????????????
Report Abuse
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
14 Sep 2017 05:10 PM
yus


KeyDown

works


you can also use UserInputService


#LaeIsAWeeb
Report Abuse
Iceladen is not online. Iceladen
Joined: 08 Feb 2009
Total Posts: 6177
14 Sep 2017 05:11 PM
:connect and :wait are deprecated.
Report Abuse
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
14 Sep 2017 05:12 PM
@Ice

you are deprecated


use "connect" or suffer the consequences

#LaeIsAWeeb
Report Abuse
Iceladen is not online. Iceladen
Joined: 08 Feb 2009
Total Posts: 6177
14 Sep 2017 05:13 PM
only nerds use KeyDown and :connect
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
14 Sep 2017 05:14 PM
To settle any debate, the deprecated method should not be used over the supported one...
however
I doubt they'll ever be removed. I use them lowercase because it's what I've always done. The day they force me to use :Connect() over :connect() is the day I'll change my habit.
Report Abuse
TheIcyJake is not online. TheIcyJake
Joined: 26 Feb 2012
Total Posts: 335
14 Sep 2017 05:15 PM
The ':connect' and ':wait' functions aren't actually deprecated, you know. They are literally the exact same functions as their non-deprecated counterpart.
Report Abuse
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
14 Sep 2017 05:16 PM
@Iceland :

"only nerds use KeyDown and :connect"


so you are saying people who use KeyDown and connect are smart and intelligent


#LaeIsAWeeb


Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
14 Sep 2017 05:17 PM
just because the hurricane made me boneless doesn't mean you should be posting something like this you baka, :Connect() :Wait()
Report Abuse
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
14 Sep 2017 05:18 PM
:connect works


k thx bye
Report Abuse
Iceladen is not online. Iceladen
Joined: 08 Feb 2009
Total Posts: 6177
14 Sep 2017 05:18 PM
Roblox wouldn't have made the change if they did nothing. An example would be that parenting from instancing is deprecated.

Don't do:
Instance.new('Part', workspace')

Do:
local brick = Instance.new('Part')
--properties
brick.Parent = workspace

The main reason for this is that it is quicker due to the server changing properties before it is parented to the workspace.
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
14 Sep 2017 05:19 PM
I WILL EAT YOU LEAFGUY
Report Abuse
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
14 Sep 2017 05:20 PM
Instance.new('Part', workspace)


worked for me


#LaeIsAWeeb
Report Abuse
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
14 Sep 2017 05:21 PM
"I WILL EAT YOU LEAFGUY"


i am poison ivy


#LaeIsAWeeb
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
14 Sep 2017 05:22 PM
okay, maybe ill just give you the anime death stare
Report Abuse
Iceladen is not online. Iceladen
Joined: 08 Feb 2009
Total Posts: 6177
14 Sep 2017 05:23 PM
leaf it works... but it is super slow compared to using .Parent
Report Abuse
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
14 Sep 2017 05:24 PM
"leaf it works... but it is super slow compared to using .Parent
"


it works before the character even exists.
Report Abuse
TheIcyJake is not online. TheIcyJake
Joined: 26 Feb 2012
Total Posts: 335
14 Sep 2017 05:25 PM
Is everyone going to ignore what I just said, lol.
Report Abuse
Iceladen is not online. Iceladen
Joined: 08 Feb 2009
Total Posts: 6177
14 Sep 2017 05:26 PM
Well duh, it's still fast, however, when you have stress on a server it will slow down.

https://devforum.roblox.com/t/psa-dont-use-instance-new-with-parent-argument/30296/27
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
14 Sep 2017 05:27 PM
Icy, what you said was wrong, the methods :connect and :wait are deprecated and they aren't the exact same functions as their non-deprecated counterpart
Report Abuse
Iceladen is not online. Iceladen
Joined: 08 Feb 2009
Total Posts: 6177
14 Sep 2017 05:28 PM
They wouldn't have made :Connect a thing for no reason, lol.
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
14 Sep 2017 05:29 PM
@Icy
Yes, they are deprecated.

Deprecated doesn't necessarily mean that the features don't work, it just means that Roblox discourages their use for one reason or another, typically because they become outdated or replaced by better systems, but in this case they're just trying to establish PascalCase as the uniform case for roblox functions instead of camelCase, which, who really cares, but I digress

That's what the strikethrough means in this article
wiki.roblox.com/index.php?title=RBXScriptSignal#Connect
Report Abuse
LeafDoode is not online. LeafDoode
Joined: 29 May 2017
Total Posts: 3094
14 Sep 2017 05:29 PM
you are right about the Instance thing but we are talking about :connect here



#LaeIsAWeeb
Report Abuse
Iceladen is not online. Iceladen
Joined: 08 Feb 2009
Total Posts: 6177
14 Sep 2017 05:30 PM
Soybeen, learn what deprecated means... nobody said it didn't work. Clearly, you need to learn the definition.
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