Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local NPC = script.Parent.Helen--change the name of "Person" to your desired NPC
- local k = script.Parent.kval
- local loc = script.Parent.location
- local cframe = NPC.PrimaryPart.CFrame
- local cooking = workspace.Cookingstuffs
- local foodb = workspace.FoodB
- local tabl = workspace.foodmove
- local foodhide = workspace.GlassA
- --WATCH VID about how to set up the script and coustomize it!
- while true do
- if game.Lighting.ClockTime > 23 or game.Lighting.ClockTime < 5 then
- loc = "Bed"
- NPC.Humanoid.Sit = false
- wait(.1)
- NPC:MoveTo(script.Parent.Spawn.Position)
- NPC.Humanoid:MoveTo(script.Parent.Bed.Position)
- NPC.Humanoid.MoveToFinished:wait()
- repeat
- wait(1)
- until game.Lighting.ClockTime > 5
- elseif game.Lighting.ClockTime > 5 and game.Lighting.ClockTime < 7 then
- --Beginning of day (5:00)
- loc = "Moving"
- NPC.Humanoid.Sit = false
- NPC.Humanoid:MoveTo(script.Parent.InRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideofRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.TopofStairs.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.BottomofStairs.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideReceptionRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideBathroom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.InsideBathroom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutofShower.Position)
- NPC.Humanoid.MoveToFinished:wait()
- NPC.Shirt.ShirtTemplate = ""
- NPC.Pants.PantsTemplate = "rbxassetid://4388675500"
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.Shower.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(10)
- NPC.Humanoid:MoveTo(script.Parent.OutofShower.Position)
- NPC.Humanoid.MoveToFinished:wait()
- NPC.Shirt.ShirtTemplate = "rbxassetid://768866780"
- NPC.Pants.PantsTemplate = "rbxassetid://105507022"
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.HellenSink.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(3)
- NPC.Humanoid:MoveTo(script.Parent.OutofShower.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.InsideBathroom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.HellenOffToilet.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.HellenToilet.Position)
- NPC.Humanoid.MoveToFinished:wait()
- NPC.Humanoid.Sit = true
- wait(5)
- NPC.Humanoid.Sit = false
- NPC.Humanoid:MoveTo(script.Parent.HellenOffToilet.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.InsideBathroom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideBathroom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- --Make Breakfast (6:00)
- NPC.Humanoid:MoveTo(script.Parent.OutsideReceptionRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.BottomofStairs.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.Kitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- cooking.Union1.Transparency = 0
- cooking.Union2.Transparency = 0
- cooking.Part.Transparency = 0
- cooking.Part1.Transparency = 0
- cooking.Part2.Transparency = 0
- cooking.Part3.Transparency = 0
- cooking.Part4.Transparency = 0
- cooking.Part5.Transparency = 0
- cooking.Part6.Transparency = 0
- cooking.Part7.Transparency = 0
- cooking.Part8.Transparency = 0
- cooking.Part9.Transparency = 0
- loc = "Kitchen"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 7
- --Breakfast time (7:00)
- elseif game.Lighting.ClockTime > 7 and game.Lighting.ClockTime < 8 then
- loc = "Moving"
- cooking.Union1.Transparency = 1
- cooking.Union2.Transparency = 1
- cooking.Part.Transparency = 1
- cooking.Part1.Transparency = 1
- cooking.Part2.Transparency = 1
- cooking.Part3.Transparency = 1
- cooking.Part4.Transparency = 1
- cooking.Part5.Transparency = 1
- cooking.Part6.Transparency = 1
- cooking.Part7.Transparency = 1
- cooking.Part8.Transparency = 1
- cooking.Part9.Transparency = 1
- NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.HelenNxttoSeat.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.HelenSeat.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "Table"
- foodb:MoveTo(tabl.Position)
- repeat
- wait(1)
- until game.Lighting.ClockTime > 8
- elseif game.Lighting.ClockTime > 8 and game.Lighting.ClockTime < 11 then
- foodb:MoveTo(foodhide.Position)
- loc = "Moving"
- NPC.Humanoid.Sit = false
- NPC.Humanoid:MoveTo(script.Parent.HelenNxttoSeat.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- --Free time (8:00)
- k = math.random(1,3)
- --To Train Room
- if k == 1 then
- NPC.Humanoid:MoveTo(script.Parent.OutsideTrainingRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.InsideTrainingRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.TrainingRoomDummy.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "TrainingRoom"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 11
- end
- --To Reception Room
- if k == 2 then
- NPC.Humanoid:MoveTo(script.Parent.OutsideReceptionRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.InsideReceptionRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.ReceptionSeat.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "ReceptionRoom"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 11
- end
- --To Ball Room
- if k == 3 then
- NPC.Humanoid:MoveTo(script.Parent.OutsideBallRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.InsideBallRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.TeaChair.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "BallRoom"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 11
- end
- --Make Lunch time (11:00)
- elseif game.Lighting.ClockTime > 11 and game.Lighting.ClockTime < 12 then
- NPC.Humanoid.Sit = false
- loc = "Moving"
- if k == 1 then
- NPC.Humanoid:MoveTo(script.Parent.InsideTrainingRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideTrainingRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.Kitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- cooking.Union1.Transparency = 0
- cooking.Union2.Transparency = 0
- cooking.Part.Transparency = 0
- cooking.Part1.Transparency = 0
- cooking.Part2.Transparency = 0
- cooking.Part3.Transparency = 0
- cooking.Part4.Transparency = 0
- cooking.Part5.Transparency = 0
- cooking.Part6.Transparency = 0
- cooking.Part7.Transparency = 0
- cooking.Part8.Transparency = 0
- cooking.Part9.Transparency = 0
- loc = "Kitchen"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 12
- end
- if k == 2 then
- NPC.Humanoid:MoveTo(script.Parent.InsideReceptionRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideReceptionRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.Kitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- cooking.Union1.Transparency = 0
- cooking.Union2.Transparency = 0
- cooking.Part.Transparency = 0
- cooking.Part1.Transparency = 0
- cooking.Part2.Transparency = 0
- cooking.Part3.Transparency = 0
- cooking.Part4.Transparency = 0
- cooking.Part5.Transparency = 0
- cooking.Part6.Transparency = 0
- cooking.Part7.Transparency = 0
- cooking.Part8.Transparency = 0
- cooking.Part9.Transparency = 0
- loc = "Kitchen"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 12
- end
- if k == 3 then
- NPC.Humanoid:MoveTo(script.Parent.InsideBallRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideBallRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.Kitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- cooking.Union1.Transparency = 0
- cooking.Union2.Transparency = 0
- cooking.Part.Transparency = 0
- cooking.Part1.Transparency = 0
- cooking.Part2.Transparency = 0
- cooking.Part3.Transparency = 0
- cooking.Part4.Transparency = 0
- cooking.Part5.Transparency = 0
- cooking.Part6.Transparency = 0
- cooking.Part7.Transparency = 0
- cooking.Part8.Transparency = 0
- cooking.Part9.Transparency = 0
- loc = "Kitchen"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 12
- end
- elseif game.Lighting.ClockTime > 12 and game.Lighting.ClockTime < 13 then
- loc = "Moving"
- --Eat Lunch (12:00)
- cooking.Union1.Transparency = 1
- cooking.Union2.Transparency = 1
- cooking.Part.Transparency = 1
- cooking.Part1.Transparency = 1
- cooking.Part2.Transparency = 1
- cooking.Part3.Transparency = 1
- cooking.Part4.Transparency = 1
- cooking.Part5.Transparency = 1
- cooking.Part6.Transparency = 1
- cooking.Part7.Transparency = 1
- cooking.Part8.Transparency = 1
- cooking.Part9.Transparency = 1
- NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.HelenNxttoSeat.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.HelenSeat.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "Table"
- foodb:MoveTo(tabl.Position)
- repeat
- wait(1)
- until game.Lighting.ClockTime > 13
- elseif game.Lighting.ClockTime > 13 and game.Lighting.ClockTime < 15 then
- foodb:MoveTo(foodhide.Position)
- loc = "Moving"
- NPC.Humanoid.Sit = false
- NPC.Humanoid:MoveTo(script.Parent.HelenNxttoSeat.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- --Free time (13:00)
- k = math.random(1,4)
- --To Train Room
- if k == 1 then
- NPC.Humanoid:MoveTo(script.Parent.OutsideTrainingRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.InsideTrainingRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.TrainingRoomDummy.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "TrainingRoom"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 15
- end
- --To Reception Room
- if k == 2 then
- NPC.Humanoid:MoveTo(script.Parent.OutsideReceptionRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.InsideReceptionRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.ReceptionSeat.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "ReceptionRoom"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 15
- end
- --To Ball Room
- if k == 3 then
- NPC.Humanoid:MoveTo(script.Parent.OutsideBallRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.InsideBallRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.TeaChair.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "BallRoom"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 15
- end
- --To Garden
- if k == 4 then
- NPC.Humanoid:MoveTo(script.Parent.OutsideBallRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideGarden.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.InsideGarden.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.GardenBench.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "Garden"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 15
- end
- --Make Dinner (15:00)
- elseif game.Lighting.ClockTime > 15 and game.Lighting.ClockTime < 16 then
- loc = "Moving"
- NPC.Humanoid.Sit = false
- if k == 1 then
- NPC.Humanoid:MoveTo(script.Parent.InsideTrainingRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideTrainingRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.Kitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- cooking.Union1.Transparency = 0
- cooking.Union2.Transparency = 0
- cooking.Part.Transparency = 0
- cooking.Part1.Transparency = 0
- cooking.Part2.Transparency = 0
- cooking.Part3.Transparency = 0
- cooking.Part4.Transparency = 0
- cooking.Part5.Transparency = 0
- cooking.Part6.Transparency = 0
- cooking.Part7.Transparency = 0
- cooking.Part8.Transparency = 0
- cooking.Part9.Transparency = 0
- loc = "Kitchen"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 16
- end
- if k == 2 then
- NPC.Humanoid:MoveTo(script.Parent.InsideReceptionRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideReceptionRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.Kitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- cooking.Union1.Transparency = 0
- cooking.Union2.Transparency = 0
- cooking.Part.Transparency = 0
- cooking.Part1.Transparency = 0
- cooking.Part2.Transparency = 0
- cooking.Part3.Transparency = 0
- cooking.Part4.Transparency = 0
- cooking.Part5.Transparency = 0
- cooking.Part6.Transparency = 0
- cooking.Part7.Transparency = 0
- cooking.Part8.Transparency = 0
- cooking.Part9.Transparency = 0
- loc = "Kitchen"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 16
- end
- if k == 3 then
- NPC.Humanoid:MoveTo(script.Parent.InsideReceptionRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideBallRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.Kitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- cooking.Union1.Transparency = 0
- cooking.Union2.Transparency = 0
- cooking.Part.Transparency = 0
- cooking.Part1.Transparency = 0
- cooking.Part2.Transparency = 0
- cooking.Part3.Transparency = 0
- cooking.Part4.Transparency = 0
- cooking.Part5.Transparency = 0
- cooking.Part6.Transparency = 0
- cooking.Part7.Transparency = 0
- cooking.Part8.Transparency = 0
- cooking.Part9.Transparency = 0
- loc = "Kitchen"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 16
- end
- if k == 4 then
- NPC.Humanoid:MoveTo(script.Parent.InsideGarden.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideGarden.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideBallRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.Kitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- cooking.Union1.Transparency = 0
- cooking.Union2.Transparency = 0
- cooking.Part.Transparency = 0
- cooking.Part1.Transparency = 0
- cooking.Part2.Transparency = 0
- cooking.Part3.Transparency = 0
- cooking.Part4.Transparency = 0
- cooking.Part5.Transparency = 0
- cooking.Part6.Transparency = 0
- cooking.Part7.Transparency = 0
- cooking.Part8.Transparency = 0
- cooking.Part9.Transparency = 0
- loc = "Kitchen"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 16
- end
- elseif game.Lighting.ClockTime > 16 and game.Lighting.ClockTime < 17 then
- loc = "Moving"
- --Eat Dinner (16:00)
- cooking.Union1.Transparency = 1
- cooking.Union2.Transparency = 1
- cooking.Part.Transparency = 1
- cooking.Part1.Transparency = 1
- cooking.Part2.Transparency = 1
- cooking.Part3.Transparency = 1
- cooking.Part4.Transparency = 1
- cooking.Part5.Transparency = 1
- cooking.Part6.Transparency = 1
- cooking.Part7.Transparency = 1
- cooking.Part8.Transparency = 1
- cooking.Part9.Transparency = 1
- NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.HelenNxttoSeat.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.HelenSeat.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "Table"
- foodb:MoveTo(tabl.Position)
- repeat
- wait(1)
- until game.Lighting.ClockTime > 17
- --Free time (17:00)
- elseif game.Lighting.ClockTime > 17 and game.Lighting.ClockTime < 19 then
- foodb:MoveTo(foodhide.Position)
- loc = "Moving"
- NPC.Humanoid.Sit = false
- NPC.Humanoid:MoveTo(script.Parent.HelenNxttoSeat.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- --Free time (13:00)
- k = math.random(1,3)
- --To Train Room
- if k == 1 then
- NPC.Humanoid:MoveTo(script.Parent.OutsideTrainingRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.InsideTrainingRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.TrainingRoomDummy.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "TrainingRoom"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 19
- end
- --To Reception Room
- if k == 2 then
- NPC.Humanoid:MoveTo(script.Parent.OutsideReceptionRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.InsideReceptionRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.ReceptionSeat.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "ReceptionRoom"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 19
- end
- --To Star Room
- if k == 3 then
- NPC.Humanoid:MoveTo(script.Parent.OutsideStarRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.InsideStarRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.StarChair.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "StarRoom"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 19
- end
- elseif game.Lighting.ClockTime > 19 and game.Lighting.ClockTime < 20 then
- NPC.Humanoid.Sit = false
- loc = "Moving"
- if k == 1 then
- NPC.Humanoid:MoveTo(script.Parent.InsideTrainingRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideTrainingRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.BottomofStairs.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.TopofStairs.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideofRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.InRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.Comp.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "RoomComp"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 20
- end
- if k == 2 then
- NPC.Humanoid:MoveTo(script.Parent.InsideReceptionRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideReceptionRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.BottomofStairs.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.TopofStairs.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideofRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.InRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.Comp.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "RoomComp"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 20
- end
- if k == 3 then
- NPC.Humanoid:MoveTo(script.Parent.InsideStarRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideStarRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.BottomofStairs.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.TopofStairs.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.OutsideofRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.InRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.Comp.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "RoomComp"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 20
- end
- elseif game.Lighting.ClockTime > 20 and game.Lighting.ClockTime < 23 then
- loc = "Moving"
- NPC.Humanoid.Sit = false
- NPC.Humanoid:MoveTo(script.Parent.InRoom.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.LungetsuHalf.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.LungetsuMirror.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.LungetsuRef1.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.LungetsuRef2.Position)
- NPC.Humanoid.MoveToFinished:wait()
- wait(0)
- NPC.Humanoid:MoveTo(script.Parent.LungetsuCoffin.Position)
- NPC.Humanoid.MoveToFinished:wait()
- loc = "LungetsuMirror"
- repeat
- wait(1)
- until game.Lighting.ClockTime > 23
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment