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

How to make a flying zombie that swoops down on solo player?

Asked by 4 years ago
Edited 4 years ago

I'm tryna make an fps game where there are multiple types of zombies and one of the zombies can fly. I've tried using body position and body velocity but I'm not an expert on them and they don't seem to work. Can someone help me?

local debounce = true
game.Players.PlayerAdded:Connect(function(player)
    script.Parent.Humanoid.Died:Connect(function()
        if script.Parent.Humanoid.Health <= 0 then
            if debounce == true then
                debounce = false
                player:FindFirstChild("EXP").Value = player:FindFirstChild("EXP").Value + 1
                player:FindFirstChild("Zombies Killed").Value = player:FindFirstChild("Zombies Killed").Value + 1
                wait(0.5)
                debounce = true
            end 
        end
    end)
end)
0
Provide an actual script bailley5 114 — 4y
0
there i added the script Pidgeyottoe 1 — 4y

Answer this question