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?

01local debounce = true
02game.Players.PlayerAdded:Connect(function(player)
03    script.Parent.Humanoid.Died:Connect(function()
04        if script.Parent.Humanoid.Health <= 0 then
05            if debounce == true then
06                debounce = false
07                player:FindFirstChild("EXP").Value = player:FindFirstChild("EXP").Value + 1
08                player:FindFirstChild("Zombies Killed").Value = player:FindFirstChild("Zombies Killed").Value + 1
09                wait(0.5)
10                debounce = true
11            end
12        end
13    end)
14end)
0
Provide an actual script bailley5 114 — 4y
0
there i added the script Pidgeyottoe 1 — 4y

Answer this question