Despawned
|
  |
| Joined: 06 Apr 2013 |
| Total Posts: 12569 |
|
|
| 04 Jul 2015 07:31 PM |
Probably one of the most simple fixes:
code: hum = char.Humanoid
it says "attempt to index local 'char' (a nil value)" |
|
|
| Report Abuse |
|
|
Despawned
|
  |
| Joined: 06 Apr 2013 |
| Total Posts: 12569 |
|
| |
|
Despawned
|
  |
| Joined: 06 Apr 2013 |
| Total Posts: 12569 |
|
| |
|
Luminak
|
  |
| Joined: 27 May 2012 |
| Total Posts: 2809 |
|
|
| 04 Jul 2015 07:35 PM |
you can't put a value to a humanoid you have to do it hum = char then hum.Humanoid |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 04 Jul 2015 07:35 PM |
char, hum char = char hum = hum |
|
|
| Report Abuse |
|
|
vacha
|
  |
| Joined: 06 Jan 2011 |
| Total Posts: 1993 |
|
|
| 04 Jul 2015 07:37 PM |
hum = game.Players.vacha.Character:FindFirstChild("Humanoid")
Use :WaitForChild() if you script absolutely needs something to execute
while true do the do |
|
|
| Report Abuse |
|
|
Despawned
|
  |
| Joined: 06 Apr 2013 |
| Total Posts: 12569 |
|
| |
|
Despawned
|
  |
| Joined: 06 Apr 2013 |
| Total Posts: 12569 |
|
|
| 04 Jul 2015 07:41 PM |
| @vacha that doesnt seem to work either |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
| |
|
Despawned
|
  |
| Joined: 06 Apr 2013 |
| Total Posts: 12569 |
|
| |
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 04 Jul 2015 07:45 PM |
| -- no code to execute no errors |
|
|
| Report Abuse |
|
|
Despawned
|
  |
| Joined: 06 Apr 2013 |
| Total Posts: 12569 |
|
| |
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 04 Jul 2015 07:49 PM |
local player = game.Players.LocalPlayer local char = player.Character local human = char.Humanoid |
|
|
| Report Abuse |
|
|
Despawned
|
  |
| Joined: 06 Apr 2013 |
| Total Posts: 12569 |
|
|
| 04 Jul 2015 07:51 PM |
@time one the line "hum.Changed:connect(function()" it has an error. It says "attempt to index local 'hum' (a nil value)" |
|
|
| Report Abuse |
|
|
Despawned
|
  |
| Joined: 06 Apr 2013 |
| Total Posts: 12569 |
|
|
| 04 Jul 2015 07:51 PM |
| nevermind, wrong part of the script :/ |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 04 Jul 2015 07:53 PM |
Oh sorry, didnt knew you were serious .-.
local player = game.Players.LocalPlayer local char = player.Character local hum = character.Humanoid |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 04 Jul 2015 08:02 PM |
Y'all r nubs
local player = game.Players.LocalPlayer local char = player.Character or player.CharacterAdded:wait() local hum = char.Humanoid |
|
|
| Report Abuse |
|
|