when i run the script i get a error where it says that humanoid is not a vaild member of script
heres the code
##Script:
local Player = game.Players.LocalPlayer
local char = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = char.Humanoid
local fire = Instance.new("Fire") -- making fire
fire.Parent = script.Parent -- putting it in the parent
fire.Heat = 10
fire.Size = 4
for i = 1, 100 do
script.Parent.Players.Humanoid:TakeDamage(0.1) -- making the player take damage
wait(0.1)
end
fire:Destroy() -- removing the fire and the script
script:Destroy()

1 comment
Can you post your script?