|
| 06 Aug 2014 10:31 PM |
local Coordinates = Vector3.new(-171.4, 4.09, 164.9) local cmd = "Begin" local admin = {["FireSliding"]=true}
game.Players.PlayerAdded:connect(function(plyr) repeat wait() until plyr.Character if admin[plyr.Name] then plyr.Chatted:connect(function(msg) if msg:lower() == cmd then plyr.Character:MoveTo(Coordinates) end end) end end) |
|
|
| Report Abuse |
|
|
| |
|
| |
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
| |
|
|
| 06 Aug 2014 10:36 PM |
No. But, it doesn't do anything. Does it need to be a local script? .-. |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 06 Aug 2014 10:48 PM |
| Change "Begin" to lowercase |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 06 Aug 2014 10:49 PM |
Because,
print(string.lower("hi")) > hi print(string.lower("HI")) > nil |
|
|
| Report Abuse |
|
|
plistra
|
  |
| Joined: 12 Mar 2014 |
| Total Posts: 859 |
|
|
| 06 Aug 2014 10:52 PM |
@infocus, that's not how it works. string.lower only gets the lower-case version of a character.
Test your "solutions" before you post them. |
|
|
| Report Abuse |
|
|
plistra
|
  |
| Joined: 12 Mar 2014 |
| Total Posts: 859 |
|
|
| 06 Aug 2014 10:54 PM |
my post didn't make much sense, so here's an example:
print(string.lower("WHAT is THIS?")
> what is this? |
|
|
| Report Abuse |
|
|
| |
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 06 Aug 2014 10:56 PM |
Plistra go ahead and print it.
Its nil for me,
if msg:lower() == "HI" then --nope
if msg:lower() == "hi" then --yay |
|
|
| Report Abuse |
|
|
plistra
|
  |
| Joined: 12 Mar 2014 |
| Total Posts: 859 |
|
|
| 06 Aug 2014 10:57 PM |
Not sure if you can read, or just stupid, but I already tested it.
print(string.lower("hi"))
prints the same as
print(string.lower("HI"))
|
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 06 Aug 2014 10:59 PM |
Weird, it wasnt like that a year ago, ive been told by 1TopCop.
Also then explain to me why it fixed the problem. |
|
|
| Report Abuse |
|
|
plistra
|
  |
| Joined: 12 Mar 2014 |
| Total Posts: 859 |
|
|
| 06 Aug 2014 11:01 PM |
What are you trying to prove?
I never said I had a solution. I never said I'd GIVE a solution. I was just saying you gave useless (and wrong) information. |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 06 Aug 2014 11:02 PM |
'Useless' It fixed the problem. Gg no re |
|
|
| Report Abuse |
|
|
| |
|
plistra
|
  |
| Joined: 12 Mar 2014 |
| Total Posts: 859 |
|
|
| 06 Aug 2014 11:08 PM |
I guess you really can't read. Let me put this in simple words:
I NEVER SAID CHANGING 'Begin' TO LOWER CASE WOULDN'T FIX IT. I JUST STATED THAT YOUR 'print(tostring("Blah"))' SOLUTION WAS WRONG.
PLEASE BE LESS OF AN IDIOT. |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 06 Aug 2014 11:10 PM |
Well my solution working actually contradicts your predicament.
|
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 06 Aug 2014 11:12 PM |
'tostring("Blah")'
Blah is already a string. Gg no re |
|
|
| Report Abuse |
|
|
plistra
|
  |
| Joined: 12 Mar 2014 |
| Total Posts: 859 |
|
|
| 06 Aug 2014 11:13 PM |
Sorry I typo'd, grand master of lua who never makes mistakes. I obviously meant "lower.string("blah").
Idiot. |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
| |
|
|
| 06 Aug 2014 11:15 PM |
It only teleports meeee???.. It needs to teleport all. ofl. |
|
|
| Report Abuse |
|
|
plistra
|
  |
| Joined: 12 Mar 2014 |
| Total Posts: 859 |
|
|
| 06 Aug 2014 11:16 PM |
local players = game.Players:GetChildren()
then just set that to the location or watevs. |
|
|
| Report Abuse |
|
|
| |
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 06 Aug 2014 11:17 PM |
O
for _, v in pairs (game.Players:children()) do v.Character:MoveTo(Coordinates) end |
|
|
| Report Abuse |
|
|