Here is the script YOU Are supposed to get + 50 dollars when you kill someone but that isn't work
HELP me Please
what is wrong with the tag system?
local RODE = game.ReplicatedStorage:FindFirstChild("RewardOnDeath_Event")
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
char.Humanoid.Died:Connect(function()
if char.Humanoid and char.Humanoid:FindFirstChild("creator") then
player:WaitForChild("Dollars").Value = player:WaitForChild("Dollars").Value + 50
print(tostring(char.Humanoid.creator.Value).." Has Killed "..char.Name)
end
--
end)
end)
end)
Nothing is working at all.....
LOOK AT VIDEO PROOF:https://gyazo.com/baa4dda0c10755e11581d92f9e24f97d

16 comments
is this a prank?
no want me to post a video?
you need to fix that formatting before my eyes start bleeding
uhhh what?
you have 20 spaces and 10 lines of code. start there.
All right The VIDEO Has Been Posted.NOW SLOWLY take a look at the Dollars.
i fixed your formatting below, please change the above code to that so others can properly read it. also you have a variable with what looks like a remote event and its never called, why?
It will be called as so as this killing tag system issue is resolve. That remote event was supposaly supposed to fir the client and pop up a gui say that you killed "So and So".
mmh well im pretty sure you're rewarding the person who died not the person who killed them.
?
check and see if the guy whos dying is receiving any cash
ok
Nope none of the guys are recieving cash.......: https://gyazo.com/e5d41bdf685ccf97b2658d9075ba5df6
I dont know...Does Creator require some thing?Or the tag system? I really need this fixed so I can reward exp and cash to the players.This is one of the final problems I have in my game until I can release it........
Creator thing is outdated just use your own method
This isn't working because you're pretty much using Char for both the person killed and person who killed the other person. You also didn't define creator automatically going into the Humanoid when the player joined.