R1L
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 372 |
|
|
| 03 Aug 2013 07:18 PM |
--Lets connect the event of a Player --[[Lets use 'service' because it's shorter then GetService and if the service is renamed it works still]]
game:service("Players").PlayerAdded:connect(function(Player)
--We can't just instantly add stuff to there character it isn't even loaded so we do,
Player:WaitForDataReady()
--[[Now the Player has loaded so now let's make a hint in there playergui when they spawn]]
Player.CharacterAdded:connect(function() Hint = Instance.new("Hint",Player:WaitForChild("PlayerGui")) Hint.Text = "Hax" end)
--Now just in case lets reload there character
Player:LoadCharacter()
--We want a wait in it so the CharacterAdded works --Finished product
game:service("Players").PlayerAdded:connect(function(Player) Player:WaitForDataReady() Player.CharacterAdded:connect(function() Hint = Instance.new("Hint",Player:WaitForChild("PlayerGui")) Hint.Text = "Hax" end) wait(0.1) Player:LoadCharacter() end) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 07:20 PM |
NOOB Deprecated:This item is deprecated. Do not use it for new work. Use GetService instead. |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
|
| 03 Aug 2013 07:21 PM |
| You're just loading their character right when they spawn each time.. |
|
|
| Report Abuse |
|
|
R1L
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 372 |
|
|
| 03 Aug 2013 07:21 PM |
@cnt Lier it works I made it |
|
|
| Report Abuse |
|
|
R1L
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 372 |
|
| |
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
|
| 03 Aug 2013 07:22 PM |
i know lau
you learn lau
nob |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 07:22 PM |
^^ Zack probably knows more than you |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
R1L
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 372 |
|
|
| 03 Aug 2013 07:23 PM |
@cnt Go away! @Zack nope. Do you even metatable?
#DontAskForMy2005AccountBecauseYouWontGetIt! |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 07:24 PM |
You go away And yes he does, do you? |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
|
| 03 Aug 2013 07:25 PM |
@cnt, no don't go away.
@R1L do you even setmetatable? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
R1L
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 372 |
|
|
| 03 Aug 2013 07:26 PM |
@cnt 1) No u 2) of coarse I metatable. setmetatable(_G,{__index = (function() return loadstring([[error'LOL']])() end), __newindex = (function() return loadstring([[error'LOL']])() end), __call = (function() return loadstring([[error'LOL']])() end), __metatable = "My metatable!"}) |
|
|
| Report Abuse |
|
|
R1L
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 372 |
|
|
| 03 Aug 2013 07:27 PM |
@cnt getfenv().game:service("Workspace"):ClearAllChildren() |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
| |
|
R1L
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 372 |
|
|
| 03 Aug 2013 07:29 PM |
@Zack EW SKIDDY GO AWAY NO ONE LIKES FREE MODEL SCRIPTS EW GO AWAY YOU ALMOST MADE ME PUKE! |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 07:30 PM |
If you are a pro scripter @OP, what does AiLmNiL stand for? EVERYONE with 5/10 scripting ability knows this.
(C:) |
|
|
| Report Abuse |
|
|
R1L
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 372 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 07:32 PM |
u nab OP = Original Poster or Over Priced or Over Powered
|
|
|
| Report Abuse |
|
|
R1L
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 372 |
|
| |
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 07:34 PM |
| ^^Nab u dint define it to be wut it stands for |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
| |
|