Ruling on playing a game in which the story has to do with a meteor that falls to earth and brings the dead back to life
Question

i play a video game . the sory is a meteor who crash on earth and brings the dead peoples back to life . and im a boy who has got a gun and i have to kill them etc… my question is , In the real life , i know that there is no god but allah and he has no partnrs . so by playing this game , i agree that this meteor has bring the dead to life ( only allah has this power ) . is it shirk ? because i denie that in my heart when i play it . what is the rule for someone playing video games wich include shirk ?
Praise be to Allah.It is well-known that Allah, may He be glorified, is the only One Who is able to give life to the dead. He, may He be exalted, says (interpretation of the meaning):
“Or have they taken (for worship) Awliya’ (guardians, supporters, helpers, protectors, etc.) besides Him? But Allah, He Alone is the Walee (Protector, etc.). And it is He Who gives life to the dead, and He is Able to do all things”
[ash-Shoora 42:9]
“and then Allah will bring forth (resurrect) the creation of the Hereafter (i.e. resurrection after death). Verily, Allah is Able to do all things”
[al-‘Ankaboot 29:20]
“And he puts forth for Us a parable, and forgets his own creation. He says: ‘Who will give life to these bones when they have rotted away and became dust?’
Say: (O Muhammad (blessings and peace of Allah be upon him)) ‘He will give life to them Who created them for the first time! And He is the All-Knower of every creation!’”
[Yaa-Seen 36:78, 79]
“And that upon Him (Allah) is another bringing forth (Resurrection).”
[an-Najm 53:47].
So whoever claims that anyone other than Allah, may He be exalted, is able to give life to the dead has associated someone else with Allah and has disbelieved in Him.
It is not permissible to play these games that contain such false beliefs, and playing them is undoubtedly haraam. We have previously explained that whatever contains haraam actions, it is haraam to watch it.
See fatwa no. 192671.
But if a person is free of belief in whatever it contains of shirk, and his heart is at ease with belief in the Oneness of Allah and that He is the only One Who could do that, then he is not a mushrik; rather he is committing a haraam deed.
We have previously explained that the fact that a game contains elements of shirk does not necessarily mean that the one who plays the game is a disbeliever, so long as he does not believe in these false beliefs, even though that means that it is haraam to play or watch the game.
And Allah knows best.