CrazyMe13
|
  |
| Joined: 07 Aug 2010 |
| Total Posts: 45 |
|
|
| 30 Apr 2015 10:15 AM |
(178,113) Excepted identifier,got '='
game.Players[stringVal.Value].leaderstats.Points.Value = game.Players[stringVal.Value].leaderstats.Points.Value = leaderstats.Points.Value + 1
The last equal.
|
|
|
| Report Abuse |
|
|
|
| 30 Apr 2015 11:01 AM |
Seems that ExternalCode made a mistake in his code. Not really hard to fix that one... (did you try to fix it before asking?)
just remove this line: game.Players[stringVal.Value].leaderstats.Points.Value = |
|
|
| Report Abuse |
|
|
CrazyMe13
|
  |
| Joined: 07 Aug 2010 |
| Total Posts: 45 |
|
|
| 30 Apr 2015 02:56 PM |
Excepted identifier,got ')'
The last 'end' in the secound script I posted.
I am sorry but I am a beginner scripter and this is too advanced for me ,I tried to add and remove some ')'s but its not working. |
|
|
| Report Abuse |
|
|
|
| 01 May 2015 07:44 AM |
function onPlayerAdded(plr) plr.CharacterAdded:connect(function(char) local stringVal = Instance.new("StringValue", char) stringVal.Name = "Hit" stringVal.Value = char.Name local hum = char:WaitForChild("Humanoid") hum.Died:connect(function() local killer = game.Players:FindFirstChild(stringVal.Val) if killer then killer.leaderstats.Points.Value = killer.leaderstats.Points.Value + 1 end end) end) end
for _, player in pairs(game.Players:GetPlayers()) do onPlayerAdded(player) end |
|
|
| Report Abuse |
|
|
| |
|
CrazyMe13
|
  |
| Joined: 07 Aug 2010 |
| Total Posts: 45 |
|
|
| 01 May 2015 09:24 AM |
| No errors but its still not working. |
|
|
| Report Abuse |
|
|
|
| 01 May 2015 07:08 PM |
Well, my assumption is it somewhere doesn't pass a check. Add some prints and check the output to determine where the script stops.
I will be away for a week, so I'm sorry to say I won't be able to help you any further than this. |
|
|
| Report Abuse |
|
|
CrazyMe13
|
  |
| Joined: 07 Aug 2010 |
| Total Posts: 45 |
|
|
| 01 May 2015 08:05 PM |
| Thx for everything , I will try to fix it. |
|
|
| Report Abuse |
|
|
CrazyMe13
|
  |
| Joined: 07 Aug 2010 |
| Total Posts: 45 |
|
| |
|
|
| 02 May 2015 02:47 PM |
You could just change "KOs" to "Points" and avoid having to do this
In the following script you have given, it seems as if it's all correct, but perhaps you messed up with parenting stuff or a typo / put scripts in the wrong place
I suggest going over it multiple times checking for mistakes.
I honestly didn't read the entire script, only the last few parts.
|
|
|
| Report Abuse |
|
|
CrazyMe13
|
  |
| Joined: 07 Aug 2010 |
| Total Posts: 45 |
|
|
| 02 May 2015 05:35 PM |
The first part of what I sent is just a script for a weapon.
And I checked the scripts 3 times already, I just can't find the mistake. |
|
|
| Report Abuse |
|
|
CrazyMe13
|
  |
| Joined: 07 Aug 2010 |
| Total Posts: 45 |
|
| |
|
|
| 15 May 2015 08:32 AM |
| If you asked me nicely i could remake the WHOLE script and merge it. |
|
|
| Report Abuse |
|
|