|
| 23 Jan 2016 12:45 PM |
while true do if p.name == "HuskiesPancake" then p.name =("HuskiesPancake","[Dev]") end
if p.name == "Awsper" then p.name =("Awsper","[Owner]")` end end
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
|
| 23 Jan 2016 01:22 PM |
| You can't assign two things to one variable. Try concatenating instead. |
|
|
| Report Abuse |
|
|
|
| 23 Jan 2016 02:18 PM |
while true do if p.name == "HuskiesPancake" then p.name =("HuskiesPancake".."[Dev]") end
if p.name == "Awsper" then p.name =("Awsper".."[Owner]")` end end
Still Doesn't Work
|
|
|
| Report Abuse |
|
|
| |
|
Aetricity
|
  |
| Joined: 29 Mar 2012 |
| Total Posts: 51079 |
|
|
| 23 Jan 2016 02:31 PM |
i don't think you can concatenate names via a comma, you can concatenate printing, however, via a comma
for i = 1, 5 do print("test ", i, "!") end
^ would work but
script.Parent.Parent.Object.Name = ("test", "two")
^ would not work
x = ("test", "two") script.Parent.Parent.Object.Name = x
^ might work; try it out
so a quick easy fix:
game.Players.PlayerAdded:connect(function(c) c.CharacterAdded:connect(function(p) if p.Name == "HuskiesPancake" then p.Name = "HuskiesPancake" .. " [DEV]" elseif p.Name == "Awsper" then p.Name = "Awsper" .. " [OWNER]" end end) end)
Henceforth, we shall venture! | http://www.roblox.com/1-Post-item?id=318384228 | [+3.2k] |
|
|
| Report Abuse |
|
|
Aetricity
|
  |
| Joined: 29 Mar 2012 |
| Total Posts: 51079 |
|
|
| 23 Jan 2016 02:32 PM |
The "while true do" loop requires a wait time, or else it'll just crash.
Henceforth, we shall venture! | http://www.roblox.com/1-Post-item?id=318384228 | [+3.2k] |
|
|
| Report Abuse |
|
|