|
| 21 Aug 2013 04:09 PM |
while true do if game.Players.Player1 then script.Parent.Text = game.Players.Player1.Name else script.Parent.Text = "--------------------" print("Player wasn't found!") end end
~DevilDefeater - Popped your bubble~ |
|
|
| Report Abuse |
|
|
| |
|
|
| 21 Aug 2013 04:10 PM |
Well, I did now, but nothing :P
~DevilDefeater - Popped your bubble~ |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
|
| 21 Aug 2013 04:12 PM |
while wait() do if game.Players:FindFirstChild("Player1") then script.Parent.Text = game.Players.Player1.Name else script.Parent.Text = "--------------------" print("Player wasn't found!") end end
|
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 04:14 PM |
Yay, ZachBloxx is here :) Best scripter I've seen
~DevilDefeater - Popped your bubble~ |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 04:16 PM |
Well, nothing :\
~DevilDefeater - Popped your bubble~ |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
|
| 21 Aug 2013 04:19 PM |
What is the parent of this script?
And if you're running this in test mode then the script might be running before the player loads. |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 04:21 PM |
Ok, it goes like this: StarterGui -> _Spectate -> Frame -> Player1 -> CurrentScript By the way, it's not on play solo mode.
Oh yeah, wait up, I am going to check the output using Remote Error :P
~DevilDefeater - Popped your bubble~ |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 04:25 PM |
Tick tick tick
~DevilDefeater - Popped your bubble~ |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 04:26 PM |
No output, dunno why D:
~DevilDefeater - Popped your bubble~ |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
|
| 21 Aug 2013 04:28 PM |
| Well, if you're running this in online mode then it wouldn't work because there is no one in the Players service named "Player1". |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 04:30 PM |
Um, so how do I make it directory to a player. Example: If there is 1 player named ZachBloxx, the button text will say "ZachBloxx", and the 2nd player named "IHATEYOU", the button will say "IHATEYOU"
~DevilDefeater - Popped your bubble~ |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
|
| 21 Aug 2013 04:32 PM |
local Player = script.Parent.Parent.Parent.Parent.Parent
while wait() do if game.Players:FindFirstChild(Player.Name) then script.Parent.Text = Player.Name else script.Parent.Text = "--------------------" print("Player wasn't found!") end end |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 04:33 PM |
I will try
~DevilDefeater - Popped your bubble~ |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 04:35 PM |
@ZachBloxx Can you join my current active place to test it out.
~DevilDefeater - Popped your bubble~ |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 04:49 PM |
@ZachBloxx
THANK YOU! BEST SCRIPTER EVAH!!!
~DevilDefeater - Popped your bubble~ |
|
|
| Report Abuse |
|
|