Hey there! I have a bit of an engine question here. For whatever reason, using the Event:Wait() function will cancel out all future calls of wait(). If anyone could help that would be great.
local remote = Instance.new("RemoteEvent",game.ReplicatedStorage.AnimRemotes)
remote.Name = "ServerCall"
game.ReplicatedStorage.AnimRemotes.CallClient:FireClient(attacker,remote,game.ReplicatedStorage.Anims.TestPunch)
remote.OnServerEvent:Wait()
print("received custom event")
target.HP.Value = target.HP.Value-1
wait(3)
print("wha")
(wha prints instantly without waiting.)

2 comments
Is this a server or localscript?
Server.