Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Kills for killings zombies script to Filtering Enabled?

Asked by 6 years ago

It doesn't work on filtering enabled servers i need help

local Humanoid = script.Parent.Enemy

function PwntX_X() 
local tag = Humanoid:findFirstChild("creator") 
    if tag ~= nil then 
        if tag.Value ~= nil then 
local Leaderstats = tag.Value:findFirstChild("leaderstats") 
            if Leaderstats ~= nil then 
Leaderstats.Kills.Value = Leaderstats.Kills.Value +1
wait(0.1)
script:remove()
            end 
        end 
    end 
end 
Humanoid.Died:connect(PwntX_X) 

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

What you should Do is go on roblox wiki, and read about filter enabled. Then go under events, remember you are going to always tell the server to do that or this, when filter enabled is on that is called calling a event.

Ad

Answer this question