vendo88
|
  |
| Joined: 11 Jan 2011 |
| Total Posts: 769 |
|
|
| 07 Apr 2014 06:03 PM |
Workspace.ActivateDoor.Trigger.Script:23: attempt to index local 'plr' (a nil value)
local mouse = plr:GetMouse()
What's wrong? |
|
|
| Report Abuse |
|
|
BladeXE
|
  |
| Joined: 22 Dec 2012 |
| Total Posts: 3857 |
|
| |
|
vendo88
|
  |
| Joined: 11 Jan 2011 |
| Total Posts: 769 |
|
|
| 07 Apr 2014 06:05 PM |
| local plr = game.Players.LocalPlayer |
|
|
| Report Abuse |
|
|
BladeXE
|
  |
| Joined: 22 Dec 2012 |
| Total Posts: 3857 |
|
| |
|
vendo88
|
  |
| Joined: 11 Jan 2011 |
| Total Posts: 769 |
|
|
| 07 Apr 2014 06:13 PM |
| The Local in LocalPlayer, or Local plr? |
|
|
| Report Abuse |
|
|
BladeXE
|
  |
| Joined: 22 Dec 2012 |
| Total Posts: 3857 |
|
|
| 07 Apr 2014 06:15 PM |
this is a localscript in startergui I hope and local plr |
|
|
| Report Abuse |
|
|
vendo88
|
  |
| Joined: 11 Jan 2011 |
| Total Posts: 769 |
|
|
| 07 Apr 2014 06:16 PM |
| No, this is a script that's in a brick. Not the full script is dealing with the GUI. Only this one part. |
|
|
| Report Abuse |
|
|
BladeXE
|
  |
| Joined: 22 Dec 2012 |
| Total Posts: 3857 |
|
|
| 07 Apr 2014 06:17 PM |
| pretty sure it must be a localscript to hold "LocalPlayer" |
|
|
| Report Abuse |
|
|