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: Scripters have this weird phase they go through

Previous Thread :: Next Thread 
TwoRivers is not online. TwoRivers
Joined: 25 Aug 2011
Total Posts: 2821
16 Sep 2015 07:00 AM
where they start using GetService("Players") or worse service:'Players' and start trying to force 0.000000002 second performance benefits and stuff


-TwoRivers/Iterum/Vulnerite/ChiefDelta/Discommodate/100+ accounts
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
16 Sep 2015 07:30 AM
yep
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
16 Sep 2015 07:30 AM
>Implying I use GetService for performance.

Why won't I disable Filtering while I'm at it?
Report Abuse
ClownStash is not online. ClownStash
Joined: 08 Aug 2015
Total Posts: 190
16 Sep 2015 07:39 AM
been using getservice for a while
helps me know that it's more efficient and 'unbreakable'
Report Abuse
ClownStash is not online. ClownStash
Joined: 08 Aug 2015
Total Posts: 190
16 Sep 2015 07:40 AM
to be honest, I didn't know it had any performence advantages. good2know tho
Report Abuse
ClownStash is not online. ClownStash
Joined: 08 Aug 2015
Total Posts: 190
16 Sep 2015 07:41 AM
also didnt realize im on an alt account
Report Abuse
robocu3 is not online. robocu3
Joined: 13 Mar 2009
Total Posts: 6485
16 Sep 2015 07:58 AM
getservice is goddd

-=Robo=-
Report Abuse
TickerOfTime is not online. TickerOfTime
Joined: 02 Sep 2012
Total Posts: 2030
16 Sep 2015 08:34 AM
game.Players.Name = "haxked"
print(game.Players.TickerOfTime.Name)
> Can't find "Players"

print(game:service'Players'.TickerOfTime.Name)
> "TickerOfTime"
Report Abuse
ThatChristianGuy is not online. ThatChristianGuy
Joined: 14 Jun 2014
Total Posts: 1283
16 Sep 2015 08:42 AM
--Module
local func = setmetatable({}, {
__index = function(self, key)
return game:GetService(key) or game[key]
end;
__call = function(self)
local fenv = getfenv(2)
fenv['game'] = self
fenv['Game'] = self
end;
})
return func

--Script
game.Players.Name = 'haxced'
require(blah)()
print(game.Players.ThatChristianGuy)


--ThatChristianGuy
Report Abuse
TickerOfTime is not online. TickerOfTime
Joined: 02 Sep 2012
Total Posts: 2030
16 Sep 2015 11:37 AM
Cool, but easier just to use service''
Report Abuse
ThatChristianGuy is not online. ThatChristianGuy
Joined: 14 Jun 2014
Total Posts: 1283
16 Sep 2015 07:02 PM
Can be used to fix existing code or for people like me who just found out about this and don't like changing our habits.

--ThatChristianGuy
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
16 Sep 2015 07:03 PM
What's so bad about GetService("Players") exactly?

Also I see people use next all the time instead of pairs, they claim to use it because it's faster but they're stupid for using it for that reason. They don't know the actual difference and why they're 99% wrong. So part 2 I can believe.
Report Abuse
robocu3 is not online. robocu3
Joined: 13 Mar 2009
Total Posts: 6485
16 Sep 2015 07:12 PM
lol @ChristianGuy thought :wait() return elapsed time lolol

-=Robo=-
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