scoreevent.OnClientEvent:connect(function(...)
local tuple = {...}
if tuple[1] == "Deathmatch" then
print(tuple[2])
if tuple[2] == "Really blue" then
print("1")
end
end
end)
For some reason where it has print(tuple[2]) it prints "Really blue", but when it asks if tuple[2] == "Really blue" then it doesn't print("1"), and I can't get why. Please help.
function newcharacter(murderedplayer, character)
local humanoid = character:FindFirstChild("Humanoid")
if humanoid then
humanoid.Died:connect(function()
if character.Humanoid:FindFirstChild("creator") then
local tag = character.Humanoid.creator
local killer = tag.Value
scoreevent:FireAllClients("Deathmatch", killer:WaitForChild("PlayerStats").Team.Value)
end
end)
end
end

2 comments
Can you show us the arguments you're passing to this remote call?
Editted