Alo Sanctuary Script | AFFIRMATION TP/COLLECT EVENT

Created by budderattack550

Features:

  • AFFIRMATION TP/COLLECT [EVENT]
local day = os.date("%d")
local plr = game.Players.LocalPlayer.Character.HumanoidRootPart
local brick = workspace.Map.Affirmations
if day == "10" then
   plr.CFrame = brick["affirmation_10"].CFrame + Vector3.new(0,4,0)
   wait(2)
   game.ReplicatedStorage.NetManagedInstances.CompleteAffirmation:FireServer("10")
   game.ReplicatedStorage.Lib.Network["DID_AFFIRMATION"]:FireServer()
else
   local txt = "affirmation_"..string.gsub(day, "0", "")
   plr.CFrame = brick[txt].CFrame + Vector3.new(0,4,0)
   wait(2)
   game.ReplicatedStorage.NetManagedInstances.CompleteAffirmation:FireServer(txt)
   game.ReplicatedStorage.Lib.Network["DID_AFFIRMATION"]:FireServer()
end