My new game. your thoughts and other stuff

IMPORTANT: make the cooldown for god ray higher, I can use it again before the original attack is finished. Same with the omni blaster.

i will. god ray is very op it self and i dont really want it killing the entire server everyone 1 second.

i have updated the game please try again and see if there is any problem.

disable the head after death like this:

if char.Humanoid.Health == 0 then

game.Workspace.Blaster:Destroy() --or something like that, I am not sure where the blaster is stored, but do something like that.

Not tested, probably won’t work, but you should understand what I mean.

dude you are actually helping me much more than anyone else. thanks man.

also what does char mean? because i am getting an error. should i make a script that tells what local is?

local char = game.Players.LocalPlayer

if char.Humanoid.Health == 0 then

game.Workspace.Blaster:Destroy()

?

I have no scripting knowledge but I think it means character for short

it is. but you will get an error.

Oh I’m sorry but I cant help btw I’m making something for you

it’s a variable for Humanoid.Character. Here is what I mean:

local plr = game.Player:GetChildren()
local char = plr.char
local hmiod = char:WaitForChild("Humanoid")

or something like that

Can I ask you something? in private It’s scripting help, it might sound stupid

thanks man this is gonna help me out.

Also, It will only work if it is a normal/server script, not a local script, you need to use:

local plr = game.Players.LocalPlayer

in a local script and in a normal you use:

local plr = game.Players:GetChildren()

or something.

btw i am back from class. so i have time now.

wait what script should it be?

Also, who was that guy who we played with, because I forgot his name and he wanted to work with me.
It would be local script probably

he wasnt my friend. i think he came from this post i made.

so i inserted a local script into the godray. this is the script.

local plr = game.Player:GetChildren()
local char = plr.char
local human = char:WaitForChild("Humanoid")

     if char.human.Health == 0 then
     game.Workspace.Godray:Destroy()
end

Do you remember his name? also, I am very tired and worked out from scripting and answering message rn, I want to take a small break and do something other than work on my game. But before that, I will get your tools working. Hopefully.