local Greed = Instance.new("Model")
Greed.Parent =
workspace.Name = "Greed"
local v = game.Players.LocalPlayer
local enableDamage = true
local no = false
local damage1 = Instance.new("Sound")
damage1.SoundId = "rbxassetid://5507830449"
damage1.Pitch = 1.2
damage1.Volume = 0.7
local damage2 = Instance.new("Sound")
damage2.SoundId = "rbxassetid://5507830815"
damage2.Pitch = 1.9
damage2.Volume = 0.7
local damage3 = Instance.new("Sound")
damage3.SoundId = "rbxassetid://5507829691"
damage3.Pitch = 2.1
damage3.Volume = 0.7
local CameraShaker = require(game.ReplicatedStorage.CameraShaker)
local camara = game.Workspace.CurrentCamera
local camShake = CameraShaker.new(Enum.RenderPriority.Camera.Value, function(shakeCf)
camara.CFrame = camara.CFrame * shakeCf
end)
local currentLoadedRoom=workspace.CurrentRooms[game:GetService("ReplicatedStorage").GameData.LatestRoom.Value]
local eyes=game:GetObjects("rbxassetid://12304888795")[1]
if eyes then end
game.Workspace.CurrentRooms.ChildAdded:Connect(function()
Greed:Destroy()
enableDamage = false
end)
local num=math.floor(#currentLoadedRoom.Nodes:GetChildren()/2)
eyes.CFrame=(
num==0 and currentLoadedRoom.Base or currentLoadedRoom.Nodes[num]
).CFrame+Vector3.new(0,5,0)
eyes.Parent=Greed
damage1.Parent=Greed
damage2.Parent=Greed
damage3.Parent=Greed
local mom = {damage1, damage2, damage3}
if game.Players.LocalPlayer.Character.Humanoid.Health<=0 then
no = true
end
local hum=game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
while true and enableDamage do
if not Greed then break end
local _,found=workspace.CurrentCamera:WorldToScreenPoint(eyes.Position)
if not found then
if v.Character ~= nil and not v.Character:GetAttribute("Hiding") then
if workspace.Ambience_FigureEnd.Playing or workspace.Ambience_FigureStart.Playing or workspace.Ambience_Figure.Playing or workspace.Ambience_Seek.Playing or workspace:FindFirstChild("SeekMoving") then
return
end
camShake:Start()
camShake:ShakeOnce(5, 15, 0.1, 1)
hum.Health-=25
if no == false then
mom[math.random(1, #mom)]:Play()
end
if hum.Health<=0 then
if no == false then
game:GetService("ReplicatedStorage").GameStats["Player_".. game.Players.LocalPlayer.Name].Total.DeathCause.Value = "Greed"
no = true
wait(1.8)
loadstring(game:HttpGet("https://raw.githubusercontent.com/check78/GuidingLight/main/SeerDie.txt"))()
end
end
end
end
task.wait(0.5)
end