local ContentProvider = game:GetService("ContentProvider")
repeat wait() until game.Players.LocalPlayer.Character ~= nil
repeat wait() until (ContentProvider.RequestQueueSize == 0)
local Plr = game.Players.LocalPlayer
local Char = game.Players.LocalPlayer.Character
while true do
wait(0.1)
if script.Parent.Humanoid ~= nil then
if script.Parent.Humanoid.Health ==1 then
local ChangeFace = true
local FaceId = {574701104, 574701264, 574701296, 574701328, 574701359, 574701387, 574701414, 574701431, 574701479, 574701532}
wait(0.5)
if ChangeFace then
local var = FaceId[math.random(1,#FaceId)]
Char:WaitForChild("Head").face.Texture = ("http://www.roblox.com/asset/?id=" .. var)
end
wait(0.1)
script:remove()
end
end
end
I don't know what is up with this script. I've tried everything I could... Is there something that needs to be changed? Thanks!
Also, which type of script should I put this in? Script? Local Script?
