Guest User

Helen Script

a guest
Apr 14th, 2020
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.21 KB | None | 0 0
  1.  
  2. local NPC = script.Parent.Helen--change the name of "Person" to your desired NPC
  3. local k = script.Parent.kval
  4. local loc = script.Parent.location
  5. local cframe = NPC.PrimaryPart.CFrame
  6. local cooking = workspace.Cookingstuffs
  7. local foodb = workspace.FoodB
  8. local tabl = workspace.foodmove
  9. local foodhide = workspace.GlassA
  10. --WATCH VID about how to set up the script and coustomize it!
  11.  
  12. while true do
  13. if game.Lighting.ClockTime > 23 or game.Lighting.ClockTime < 5 then
  14. loc = "Bed"
  15. NPC.Humanoid.Sit = false
  16. wait(.1)
  17. NPC:MoveTo(script.Parent.Spawn.Position)
  18. NPC.Humanoid:MoveTo(script.Parent.Bed.Position)
  19. NPC.Humanoid.MoveToFinished:wait()
  20. repeat
  21. wait(1)
  22. until game.Lighting.ClockTime > 5
  23. elseif game.Lighting.ClockTime > 5 and game.Lighting.ClockTime < 7 then
  24. --Beginning of day (5:00)
  25. loc = "Moving"
  26. NPC.Humanoid.Sit = false
  27. NPC.Humanoid:MoveTo(script.Parent.InRoom.Position)
  28. NPC.Humanoid.MoveToFinished:wait()
  29. wait(0)
  30. NPC.Humanoid:MoveTo(script.Parent.OutsideofRoom.Position)
  31. NPC.Humanoid.MoveToFinished:wait()
  32. wait(0)
  33. NPC.Humanoid:MoveTo(script.Parent.TopofStairs.Position)
  34. NPC.Humanoid.MoveToFinished:wait()
  35. wait(0)
  36. NPC.Humanoid:MoveTo(script.Parent.BottomofStairs.Position)
  37. NPC.Humanoid.MoveToFinished:wait()
  38. wait(0)
  39. NPC.Humanoid:MoveTo(script.Parent.OutsideReceptionRoom.Position)
  40. NPC.Humanoid.MoveToFinished:wait()
  41. wait(0)
  42. NPC.Humanoid:MoveTo(script.Parent.OutsideBathroom.Position)
  43. NPC.Humanoid.MoveToFinished:wait()
  44. wait(0)
  45. NPC.Humanoid:MoveTo(script.Parent.InsideBathroom.Position)
  46. NPC.Humanoid.MoveToFinished:wait()
  47. wait(0)
  48. NPC.Humanoid:MoveTo(script.Parent.OutofShower.Position)
  49. NPC.Humanoid.MoveToFinished:wait()
  50. NPC.Shirt.ShirtTemplate = ""
  51. NPC.Pants.PantsTemplate = "rbxassetid://4388675500"
  52. wait(0)
  53. NPC.Humanoid:MoveTo(script.Parent.Shower.Position)
  54. NPC.Humanoid.MoveToFinished:wait()
  55. wait(10)
  56. NPC.Humanoid:MoveTo(script.Parent.OutofShower.Position)
  57. NPC.Humanoid.MoveToFinished:wait()
  58. NPC.Shirt.ShirtTemplate = "rbxassetid://768866780"
  59. NPC.Pants.PantsTemplate = "rbxassetid://105507022"
  60. wait(0)
  61. NPC.Humanoid:MoveTo(script.Parent.HellenSink.Position)
  62. NPC.Humanoid.MoveToFinished:wait()
  63. wait(3)
  64. NPC.Humanoid:MoveTo(script.Parent.OutofShower.Position)
  65. NPC.Humanoid.MoveToFinished:wait()
  66. wait(0)
  67. NPC.Humanoid:MoveTo(script.Parent.InsideBathroom.Position)
  68. NPC.Humanoid.MoveToFinished:wait()
  69. wait(0)
  70. NPC.Humanoid:MoveTo(script.Parent.HellenOffToilet.Position)
  71. NPC.Humanoid.MoveToFinished:wait()
  72. wait(0)
  73. NPC.Humanoid:MoveTo(script.Parent.HellenToilet.Position)
  74. NPC.Humanoid.MoveToFinished:wait()
  75. NPC.Humanoid.Sit = true
  76. wait(5)
  77. NPC.Humanoid.Sit = false
  78. NPC.Humanoid:MoveTo(script.Parent.HellenOffToilet.Position)
  79. NPC.Humanoid.MoveToFinished:wait()
  80. wait(0)
  81. NPC.Humanoid:MoveTo(script.Parent.InsideBathroom.Position)
  82. NPC.Humanoid.MoveToFinished:wait()
  83. wait(0)
  84. NPC.Humanoid:MoveTo(script.Parent.OutsideBathroom.Position)
  85. NPC.Humanoid.MoveToFinished:wait()
  86. wait(0)
  87. --Make Breakfast (6:00)
  88. NPC.Humanoid:MoveTo(script.Parent.OutsideReceptionRoom.Position)
  89. NPC.Humanoid.MoveToFinished:wait()
  90. wait(0)
  91. NPC.Humanoid:MoveTo(script.Parent.BottomofStairs.Position)
  92. NPC.Humanoid.MoveToFinished:wait()
  93. wait(0)
  94. NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
  95. NPC.Humanoid.MoveToFinished:wait()
  96. wait(0)
  97. NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
  98. NPC.Humanoid.MoveToFinished:wait()
  99. wait(0)
  100. NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
  101. NPC.Humanoid.MoveToFinished:wait()
  102. wait(0)
  103. NPC.Humanoid:MoveTo(script.Parent.Kitchen.Position)
  104. NPC.Humanoid.MoveToFinished:wait()
  105. cooking.Union1.Transparency = 0
  106. cooking.Union2.Transparency = 0
  107. cooking.Part.Transparency = 0
  108. cooking.Part1.Transparency = 0
  109. cooking.Part2.Transparency = 0
  110. cooking.Part3.Transparency = 0
  111. cooking.Part4.Transparency = 0
  112. cooking.Part5.Transparency = 0
  113. cooking.Part6.Transparency = 0
  114. cooking.Part7.Transparency = 0
  115. cooking.Part8.Transparency = 0
  116. cooking.Part9.Transparency = 0
  117. loc = "Kitchen"
  118. repeat
  119. wait(1)
  120. until game.Lighting.ClockTime > 7
  121. --Breakfast time (7:00)
  122. elseif game.Lighting.ClockTime > 7 and game.Lighting.ClockTime < 8 then
  123. loc = "Moving"
  124. cooking.Union1.Transparency = 1
  125. cooking.Union2.Transparency = 1
  126. cooking.Part.Transparency = 1
  127. cooking.Part1.Transparency = 1
  128. cooking.Part2.Transparency = 1
  129. cooking.Part3.Transparency = 1
  130. cooking.Part4.Transparency = 1
  131. cooking.Part5.Transparency = 1
  132. cooking.Part6.Transparency = 1
  133. cooking.Part7.Transparency = 1
  134. cooking.Part8.Transparency = 1
  135. cooking.Part9.Transparency = 1
  136. NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
  137. NPC.Humanoid.MoveToFinished:wait()
  138. wait(0)
  139. NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
  140. NPC.Humanoid.MoveToFinished:wait()
  141. wait(0)
  142. NPC.Humanoid:MoveTo(script.Parent.HelenNxttoSeat.Position)
  143. NPC.Humanoid.MoveToFinished:wait()
  144. wait(0)
  145. NPC.Humanoid:MoveTo(script.Parent.HelenSeat.Position)
  146. NPC.Humanoid.MoveToFinished:wait()
  147. loc = "Table"
  148. foodb:MoveTo(tabl.Position)
  149. repeat
  150. wait(1)
  151. until game.Lighting.ClockTime > 8
  152. elseif game.Lighting.ClockTime > 8 and game.Lighting.ClockTime < 11 then
  153. foodb:MoveTo(foodhide.Position)
  154. loc = "Moving"
  155. NPC.Humanoid.Sit = false
  156. NPC.Humanoid:MoveTo(script.Parent.HelenNxttoSeat.Position)
  157. NPC.Humanoid.MoveToFinished:wait()
  158. wait(0)
  159. NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
  160. NPC.Humanoid.MoveToFinished:wait()
  161. wait(0)
  162. NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
  163. NPC.Humanoid.MoveToFinished:wait()
  164. wait(0)
  165. --Free time (8:00)
  166. k = math.random(1,3)
  167. --To Train Room
  168. if k == 1 then
  169. NPC.Humanoid:MoveTo(script.Parent.OutsideTrainingRoom.Position)
  170. NPC.Humanoid.MoveToFinished:wait()
  171. wait(0)
  172. NPC.Humanoid:MoveTo(script.Parent.InsideTrainingRoom.Position)
  173. NPC.Humanoid.MoveToFinished:wait()
  174. wait(0)
  175. NPC.Humanoid:MoveTo(script.Parent.TrainingRoomDummy.Position)
  176. NPC.Humanoid.MoveToFinished:wait()
  177. loc = "TrainingRoom"
  178. repeat
  179. wait(1)
  180. until game.Lighting.ClockTime > 11
  181. end
  182. --To Reception Room
  183. if k == 2 then
  184. NPC.Humanoid:MoveTo(script.Parent.OutsideReceptionRoom.Position)
  185. NPC.Humanoid.MoveToFinished:wait()
  186. wait(0)
  187. NPC.Humanoid:MoveTo(script.Parent.InsideReceptionRoom.Position)
  188. NPC.Humanoid.MoveToFinished:wait()
  189. wait(0)
  190. NPC.Humanoid:MoveTo(script.Parent.ReceptionSeat.Position)
  191. NPC.Humanoid.MoveToFinished:wait()
  192. loc = "ReceptionRoom"
  193. repeat
  194. wait(1)
  195. until game.Lighting.ClockTime > 11
  196. end
  197. --To Ball Room
  198. if k == 3 then
  199. NPC.Humanoid:MoveTo(script.Parent.OutsideBallRoom.Position)
  200. NPC.Humanoid.MoveToFinished:wait()
  201. wait(0)
  202. NPC.Humanoid:MoveTo(script.Parent.InsideBallRoom.Position)
  203. NPC.Humanoid.MoveToFinished:wait()
  204. wait(0)
  205. NPC.Humanoid:MoveTo(script.Parent.TeaChair.Position)
  206. NPC.Humanoid.MoveToFinished:wait()
  207. loc = "BallRoom"
  208. repeat
  209. wait(1)
  210. until game.Lighting.ClockTime > 11
  211. end
  212. --Make Lunch time (11:00)
  213. elseif game.Lighting.ClockTime > 11 and game.Lighting.ClockTime < 12 then
  214. NPC.Humanoid.Sit = false
  215. loc = "Moving"
  216. if k == 1 then
  217. NPC.Humanoid:MoveTo(script.Parent.InsideTrainingRoom.Position)
  218. NPC.Humanoid.MoveToFinished:wait()
  219. wait(0)
  220. NPC.Humanoid:MoveTo(script.Parent.OutsideTrainingRoom.Position)
  221. NPC.Humanoid.MoveToFinished:wait()
  222. wait(0)
  223. NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
  224. NPC.Humanoid.MoveToFinished:wait()
  225. wait(0)
  226. NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
  227. NPC.Humanoid.MoveToFinished:wait()
  228. wait(0)
  229. NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
  230. NPC.Humanoid.MoveToFinished:wait()
  231. wait(0)
  232. NPC.Humanoid:MoveTo(script.Parent.Kitchen.Position)
  233. NPC.Humanoid.MoveToFinished:wait()
  234. cooking.Union1.Transparency = 0
  235. cooking.Union2.Transparency = 0
  236. cooking.Part.Transparency = 0
  237. cooking.Part1.Transparency = 0
  238. cooking.Part2.Transparency = 0
  239. cooking.Part3.Transparency = 0
  240. cooking.Part4.Transparency = 0
  241. cooking.Part5.Transparency = 0
  242. cooking.Part6.Transparency = 0
  243. cooking.Part7.Transparency = 0
  244. cooking.Part8.Transparency = 0
  245. cooking.Part9.Transparency = 0
  246. loc = "Kitchen"
  247. repeat
  248. wait(1)
  249. until game.Lighting.ClockTime > 12
  250. end
  251. if k == 2 then
  252. NPC.Humanoid:MoveTo(script.Parent.InsideReceptionRoom.Position)
  253. NPC.Humanoid.MoveToFinished:wait()
  254. wait(0)
  255. NPC.Humanoid:MoveTo(script.Parent.OutsideReceptionRoom.Position)
  256. NPC.Humanoid.MoveToFinished:wait()
  257. wait(0)
  258. NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
  259. NPC.Humanoid.MoveToFinished:wait()
  260. wait(0)
  261. NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
  262. NPC.Humanoid.MoveToFinished:wait()
  263. wait(0)
  264. NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
  265. NPC.Humanoid.MoveToFinished:wait()
  266. wait(0)
  267. NPC.Humanoid:MoveTo(script.Parent.Kitchen.Position)
  268. NPC.Humanoid.MoveToFinished:wait()
  269. cooking.Union1.Transparency = 0
  270. cooking.Union2.Transparency = 0
  271. cooking.Part.Transparency = 0
  272. cooking.Part1.Transparency = 0
  273. cooking.Part2.Transparency = 0
  274. cooking.Part3.Transparency = 0
  275. cooking.Part4.Transparency = 0
  276. cooking.Part5.Transparency = 0
  277. cooking.Part6.Transparency = 0
  278. cooking.Part7.Transparency = 0
  279. cooking.Part8.Transparency = 0
  280. cooking.Part9.Transparency = 0
  281. loc = "Kitchen"
  282. repeat
  283. wait(1)
  284. until game.Lighting.ClockTime > 12
  285. end
  286. if k == 3 then
  287. NPC.Humanoid:MoveTo(script.Parent.InsideBallRoom.Position)
  288. NPC.Humanoid.MoveToFinished:wait()
  289. wait(0)
  290. NPC.Humanoid:MoveTo(script.Parent.OutsideBallRoom.Position)
  291. NPC.Humanoid.MoveToFinished:wait()
  292. wait(0)
  293. NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
  294. NPC.Humanoid.MoveToFinished:wait()
  295. wait(0)
  296. NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
  297. NPC.Humanoid.MoveToFinished:wait()
  298. wait(0)
  299. NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
  300. NPC.Humanoid.MoveToFinished:wait()
  301. wait(0)
  302. NPC.Humanoid:MoveTo(script.Parent.Kitchen.Position)
  303. NPC.Humanoid.MoveToFinished:wait()
  304. cooking.Union1.Transparency = 0
  305. cooking.Union2.Transparency = 0
  306. cooking.Part.Transparency = 0
  307. cooking.Part1.Transparency = 0
  308. cooking.Part2.Transparency = 0
  309. cooking.Part3.Transparency = 0
  310. cooking.Part4.Transparency = 0
  311. cooking.Part5.Transparency = 0
  312. cooking.Part6.Transparency = 0
  313. cooking.Part7.Transparency = 0
  314. cooking.Part8.Transparency = 0
  315. cooking.Part9.Transparency = 0
  316. loc = "Kitchen"
  317. repeat
  318. wait(1)
  319. until game.Lighting.ClockTime > 12
  320. end
  321.  
  322. elseif game.Lighting.ClockTime > 12 and game.Lighting.ClockTime < 13 then
  323. loc = "Moving"
  324. --Eat Lunch (12:00)
  325. cooking.Union1.Transparency = 1
  326. cooking.Union2.Transparency = 1
  327. cooking.Part.Transparency = 1
  328. cooking.Part1.Transparency = 1
  329. cooking.Part2.Transparency = 1
  330. cooking.Part3.Transparency = 1
  331. cooking.Part4.Transparency = 1
  332. cooking.Part5.Transparency = 1
  333. cooking.Part6.Transparency = 1
  334. cooking.Part7.Transparency = 1
  335. cooking.Part8.Transparency = 1
  336. cooking.Part9.Transparency = 1
  337. NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
  338. NPC.Humanoid.MoveToFinished:wait()
  339. wait(0)
  340. NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
  341. NPC.Humanoid.MoveToFinished:wait()
  342. wait(0)
  343. NPC.Humanoid:MoveTo(script.Parent.HelenNxttoSeat.Position)
  344. NPC.Humanoid.MoveToFinished:wait()
  345. wait(0)
  346. NPC.Humanoid:MoveTo(script.Parent.HelenSeat.Position)
  347. NPC.Humanoid.MoveToFinished:wait()
  348. loc = "Table"
  349. foodb:MoveTo(tabl.Position)
  350. repeat
  351. wait(1)
  352. until game.Lighting.ClockTime > 13
  353. elseif game.Lighting.ClockTime > 13 and game.Lighting.ClockTime < 15 then
  354. foodb:MoveTo(foodhide.Position)
  355. loc = "Moving"
  356. NPC.Humanoid.Sit = false
  357. NPC.Humanoid:MoveTo(script.Parent.HelenNxttoSeat.Position)
  358. NPC.Humanoid.MoveToFinished:wait()
  359. wait(0)
  360. NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
  361. NPC.Humanoid.MoveToFinished:wait()
  362. wait(0)
  363. NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
  364. NPC.Humanoid.MoveToFinished:wait()
  365. wait(0)
  366. --Free time (13:00)
  367. k = math.random(1,4)
  368. --To Train Room
  369. if k == 1 then
  370. NPC.Humanoid:MoveTo(script.Parent.OutsideTrainingRoom.Position)
  371. NPC.Humanoid.MoveToFinished:wait()
  372. wait(0)
  373. NPC.Humanoid:MoveTo(script.Parent.InsideTrainingRoom.Position)
  374. NPC.Humanoid.MoveToFinished:wait()
  375. wait(0)
  376. NPC.Humanoid:MoveTo(script.Parent.TrainingRoomDummy.Position)
  377. NPC.Humanoid.MoveToFinished:wait()
  378. loc = "TrainingRoom"
  379. repeat
  380. wait(1)
  381. until game.Lighting.ClockTime > 15
  382. end
  383. --To Reception Room
  384. if k == 2 then
  385. NPC.Humanoid:MoveTo(script.Parent.OutsideReceptionRoom.Position)
  386. NPC.Humanoid.MoveToFinished:wait()
  387. wait(0)
  388. NPC.Humanoid:MoveTo(script.Parent.InsideReceptionRoom.Position)
  389. NPC.Humanoid.MoveToFinished:wait()
  390. wait(0)
  391. NPC.Humanoid:MoveTo(script.Parent.ReceptionSeat.Position)
  392. NPC.Humanoid.MoveToFinished:wait()
  393. loc = "ReceptionRoom"
  394. repeat
  395. wait(1)
  396. until game.Lighting.ClockTime > 15
  397. end
  398. --To Ball Room
  399. if k == 3 then
  400. NPC.Humanoid:MoveTo(script.Parent.OutsideBallRoom.Position)
  401. NPC.Humanoid.MoveToFinished:wait()
  402. wait(0)
  403. NPC.Humanoid:MoveTo(script.Parent.InsideBallRoom.Position)
  404. NPC.Humanoid.MoveToFinished:wait()
  405. wait(0)
  406. NPC.Humanoid:MoveTo(script.Parent.TeaChair.Position)
  407. NPC.Humanoid.MoveToFinished:wait()
  408. loc = "BallRoom"
  409. repeat
  410. wait(1)
  411. until game.Lighting.ClockTime > 15
  412. end
  413. --To Garden
  414. if k == 4 then
  415. NPC.Humanoid:MoveTo(script.Parent.OutsideBallRoom.Position)
  416. NPC.Humanoid.MoveToFinished:wait()
  417. wait(0)
  418. NPC.Humanoid:MoveTo(script.Parent.OutsideGarden.Position)
  419. NPC.Humanoid.MoveToFinished:wait()
  420. wait(0)
  421. NPC.Humanoid:MoveTo(script.Parent.InsideGarden.Position)
  422. NPC.Humanoid.MoveToFinished:wait()
  423. wait(0)
  424. NPC.Humanoid:MoveTo(script.Parent.GardenBench.Position)
  425. NPC.Humanoid.MoveToFinished:wait()
  426. loc = "Garden"
  427. repeat
  428. wait(1)
  429. until game.Lighting.ClockTime > 15
  430. end
  431. --Make Dinner (15:00)
  432. elseif game.Lighting.ClockTime > 15 and game.Lighting.ClockTime < 16 then
  433. loc = "Moving"
  434. NPC.Humanoid.Sit = false
  435. if k == 1 then
  436. NPC.Humanoid:MoveTo(script.Parent.InsideTrainingRoom.Position)
  437. NPC.Humanoid.MoveToFinished:wait()
  438. wait(0)
  439. NPC.Humanoid:MoveTo(script.Parent.OutsideTrainingRoom.Position)
  440. NPC.Humanoid.MoveToFinished:wait()
  441. wait(0)
  442. NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
  443. NPC.Humanoid.MoveToFinished:wait()
  444. wait(0)
  445. NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
  446. NPC.Humanoid.MoveToFinished:wait()
  447. wait(0)
  448. NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
  449. NPC.Humanoid.MoveToFinished:wait()
  450. wait(0)
  451. NPC.Humanoid:MoveTo(script.Parent.Kitchen.Position)
  452. NPC.Humanoid.MoveToFinished:wait()
  453. cooking.Union1.Transparency = 0
  454. cooking.Union2.Transparency = 0
  455. cooking.Part.Transparency = 0
  456. cooking.Part1.Transparency = 0
  457. cooking.Part2.Transparency = 0
  458. cooking.Part3.Transparency = 0
  459. cooking.Part4.Transparency = 0
  460. cooking.Part5.Transparency = 0
  461. cooking.Part6.Transparency = 0
  462. cooking.Part7.Transparency = 0
  463. cooking.Part8.Transparency = 0
  464. cooking.Part9.Transparency = 0
  465. loc = "Kitchen"
  466. repeat
  467. wait(1)
  468. until game.Lighting.ClockTime > 16
  469. end
  470. if k == 2 then
  471. NPC.Humanoid:MoveTo(script.Parent.InsideReceptionRoom.Position)
  472. NPC.Humanoid.MoveToFinished:wait()
  473. wait(0)
  474. NPC.Humanoid:MoveTo(script.Parent.OutsideReceptionRoom.Position)
  475. NPC.Humanoid.MoveToFinished:wait()
  476. wait(0)
  477. NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
  478. NPC.Humanoid.MoveToFinished:wait()
  479. wait(0)
  480. NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
  481. NPC.Humanoid.MoveToFinished:wait()
  482. wait(0)
  483. NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
  484. NPC.Humanoid.MoveToFinished:wait()
  485. wait(0)
  486. NPC.Humanoid:MoveTo(script.Parent.Kitchen.Position)
  487. NPC.Humanoid.MoveToFinished:wait()
  488. cooking.Union1.Transparency = 0
  489. cooking.Union2.Transparency = 0
  490. cooking.Part.Transparency = 0
  491. cooking.Part1.Transparency = 0
  492. cooking.Part2.Transparency = 0
  493. cooking.Part3.Transparency = 0
  494. cooking.Part4.Transparency = 0
  495. cooking.Part5.Transparency = 0
  496. cooking.Part6.Transparency = 0
  497. cooking.Part7.Transparency = 0
  498. cooking.Part8.Transparency = 0
  499. cooking.Part9.Transparency = 0
  500. loc = "Kitchen"
  501. repeat
  502. wait(1)
  503. until game.Lighting.ClockTime > 16
  504. end
  505. if k == 3 then
  506. NPC.Humanoid:MoveTo(script.Parent.InsideReceptionRoom.Position)
  507. NPC.Humanoid.MoveToFinished:wait()
  508. wait(0)
  509. NPC.Humanoid:MoveTo(script.Parent.OutsideBallRoom.Position)
  510. NPC.Humanoid.MoveToFinished:wait()
  511. wait(0)
  512. NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
  513. NPC.Humanoid.MoveToFinished:wait()
  514. wait(0)
  515. NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
  516. NPC.Humanoid.MoveToFinished:wait()
  517. wait(0)
  518. NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
  519. NPC.Humanoid.MoveToFinished:wait()
  520. wait(0)
  521. NPC.Humanoid:MoveTo(script.Parent.Kitchen.Position)
  522. NPC.Humanoid.MoveToFinished:wait()
  523. cooking.Union1.Transparency = 0
  524. cooking.Union2.Transparency = 0
  525. cooking.Part.Transparency = 0
  526. cooking.Part1.Transparency = 0
  527. cooking.Part2.Transparency = 0
  528. cooking.Part3.Transparency = 0
  529. cooking.Part4.Transparency = 0
  530. cooking.Part5.Transparency = 0
  531. cooking.Part6.Transparency = 0
  532. cooking.Part7.Transparency = 0
  533. cooking.Part8.Transparency = 0
  534. cooking.Part9.Transparency = 0
  535. loc = "Kitchen"
  536. repeat
  537. wait(1)
  538. until game.Lighting.ClockTime > 16
  539. end
  540. if k == 4 then
  541. NPC.Humanoid:MoveTo(script.Parent.InsideGarden.Position)
  542. NPC.Humanoid.MoveToFinished:wait()
  543. wait(0)
  544. NPC.Humanoid:MoveTo(script.Parent.OutsideGarden.Position)
  545. NPC.Humanoid.MoveToFinished:wait()
  546. wait(0)
  547. NPC.Humanoid:MoveTo(script.Parent.OutsideBallRoom.Position)
  548. NPC.Humanoid.MoveToFinished:wait()
  549. wait(0)
  550. NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
  551. NPC.Humanoid.MoveToFinished:wait()
  552. wait(0)
  553. NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
  554. NPC.Humanoid.MoveToFinished:wait()
  555. wait(0)
  556. NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
  557. NPC.Humanoid.MoveToFinished:wait()
  558. wait(0)
  559. NPC.Humanoid:MoveTo(script.Parent.Kitchen.Position)
  560. NPC.Humanoid.MoveToFinished:wait()
  561. cooking.Union1.Transparency = 0
  562. cooking.Union2.Transparency = 0
  563. cooking.Part.Transparency = 0
  564. cooking.Part1.Transparency = 0
  565. cooking.Part2.Transparency = 0
  566. cooking.Part3.Transparency = 0
  567. cooking.Part4.Transparency = 0
  568. cooking.Part5.Transparency = 0
  569. cooking.Part6.Transparency = 0
  570. cooking.Part7.Transparency = 0
  571. cooking.Part8.Transparency = 0
  572. cooking.Part9.Transparency = 0
  573. loc = "Kitchen"
  574. repeat
  575. wait(1)
  576. until game.Lighting.ClockTime > 16
  577. end
  578. elseif game.Lighting.ClockTime > 16 and game.Lighting.ClockTime < 17 then
  579. loc = "Moving"
  580. --Eat Dinner (16:00)
  581. cooking.Union1.Transparency = 1
  582. cooking.Union2.Transparency = 1
  583. cooking.Part.Transparency = 1
  584. cooking.Part1.Transparency = 1
  585. cooking.Part2.Transparency = 1
  586. cooking.Part3.Transparency = 1
  587. cooking.Part4.Transparency = 1
  588. cooking.Part5.Transparency = 1
  589. cooking.Part6.Transparency = 1
  590. cooking.Part7.Transparency = 1
  591. cooking.Part8.Transparency = 1
  592. cooking.Part9.Transparency = 1
  593. NPC.Humanoid:MoveTo(script.Parent.toKitchen.Position)
  594. NPC.Humanoid.MoveToFinished:wait()
  595. wait(0)
  596. NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
  597. NPC.Humanoid.MoveToFinished:wait()
  598. wait(0)
  599. NPC.Humanoid:MoveTo(script.Parent.HelenNxttoSeat.Position)
  600. NPC.Humanoid.MoveToFinished:wait()
  601. wait(0)
  602. NPC.Humanoid:MoveTo(script.Parent.HelenSeat.Position)
  603. NPC.Humanoid.MoveToFinished:wait()
  604. loc = "Table"
  605. foodb:MoveTo(tabl.Position)
  606. repeat
  607. wait(1)
  608. until game.Lighting.ClockTime > 17
  609. --Free time (17:00)
  610. elseif game.Lighting.ClockTime > 17 and game.Lighting.ClockTime < 19 then
  611. foodb:MoveTo(foodhide.Position)
  612. loc = "Moving"
  613. NPC.Humanoid.Sit = false
  614. NPC.Humanoid:MoveTo(script.Parent.HelenNxttoSeat.Position)
  615. NPC.Humanoid.MoveToFinished:wait()
  616. wait(0)
  617. NPC.Humanoid:MoveTo(script.Parent.DinningRoom.Position)
  618. NPC.Humanoid.MoveToFinished:wait()
  619. wait(0)
  620. NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
  621. NPC.Humanoid.MoveToFinished:wait()
  622. wait(0)
  623. --Free time (13:00)
  624. k = math.random(1,3)
  625. --To Train Room
  626. if k == 1 then
  627. NPC.Humanoid:MoveTo(script.Parent.OutsideTrainingRoom.Position)
  628. NPC.Humanoid.MoveToFinished:wait()
  629. wait(0)
  630. NPC.Humanoid:MoveTo(script.Parent.InsideTrainingRoom.Position)
  631. NPC.Humanoid.MoveToFinished:wait()
  632. wait(0)
  633. NPC.Humanoid:MoveTo(script.Parent.TrainingRoomDummy.Position)
  634. NPC.Humanoid.MoveToFinished:wait()
  635. loc = "TrainingRoom"
  636. repeat
  637. wait(1)
  638. until game.Lighting.ClockTime > 19
  639. end
  640. --To Reception Room
  641. if k == 2 then
  642. NPC.Humanoid:MoveTo(script.Parent.OutsideReceptionRoom.Position)
  643. NPC.Humanoid.MoveToFinished:wait()
  644. wait(0)
  645. NPC.Humanoid:MoveTo(script.Parent.InsideReceptionRoom.Position)
  646. NPC.Humanoid.MoveToFinished:wait()
  647. wait(0)
  648. NPC.Humanoid:MoveTo(script.Parent.ReceptionSeat.Position)
  649. NPC.Humanoid.MoveToFinished:wait()
  650. loc = "ReceptionRoom"
  651. repeat
  652. wait(1)
  653. until game.Lighting.ClockTime > 19
  654. end
  655. --To Star Room
  656. if k == 3 then
  657. NPC.Humanoid:MoveTo(script.Parent.OutsideStarRoom.Position)
  658. NPC.Humanoid.MoveToFinished:wait()
  659. wait(0)
  660. NPC.Humanoid:MoveTo(script.Parent.InsideStarRoom.Position)
  661. NPC.Humanoid.MoveToFinished:wait()
  662. wait(0)
  663. NPC.Humanoid:MoveTo(script.Parent.StarChair.Position)
  664. NPC.Humanoid.MoveToFinished:wait()
  665. loc = "StarRoom"
  666. repeat
  667. wait(1)
  668. until game.Lighting.ClockTime > 19
  669. end
  670. elseif game.Lighting.ClockTime > 19 and game.Lighting.ClockTime < 20 then
  671. NPC.Humanoid.Sit = false
  672. loc = "Moving"
  673. if k == 1 then
  674. NPC.Humanoid:MoveTo(script.Parent.InsideTrainingRoom.Position)
  675. NPC.Humanoid.MoveToFinished:wait()
  676. wait(0)
  677. NPC.Humanoid:MoveTo(script.Parent.OutsideTrainingRoom.Position)
  678. NPC.Humanoid.MoveToFinished:wait()
  679. wait(0)
  680. NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
  681. NPC.Humanoid.MoveToFinished:wait()
  682. wait(0)
  683. NPC.Humanoid:MoveTo(script.Parent.BottomofStairs.Position)
  684. NPC.Humanoid.MoveToFinished:wait()
  685. wait(0)
  686. NPC.Humanoid:MoveTo(script.Parent.TopofStairs.Position)
  687. NPC.Humanoid.MoveToFinished:wait()
  688. wait(0)
  689. NPC.Humanoid:MoveTo(script.Parent.OutsideofRoom.Position)
  690. NPC.Humanoid.MoveToFinished:wait()
  691. wait(0)
  692. NPC.Humanoid:MoveTo(script.Parent.InRoom.Position)
  693. NPC.Humanoid.MoveToFinished:wait()
  694. wait(0)
  695. NPC.Humanoid:MoveTo(script.Parent.Comp.Position)
  696. NPC.Humanoid.MoveToFinished:wait()
  697. loc = "RoomComp"
  698. repeat
  699. wait(1)
  700. until game.Lighting.ClockTime > 20
  701. end
  702. if k == 2 then
  703. NPC.Humanoid:MoveTo(script.Parent.InsideReceptionRoom.Position)
  704. NPC.Humanoid.MoveToFinished:wait()
  705. wait(0)
  706. NPC.Humanoid:MoveTo(script.Parent.OutsideReceptionRoom.Position)
  707. NPC.Humanoid.MoveToFinished:wait()
  708. wait(0)
  709. NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
  710. NPC.Humanoid.MoveToFinished:wait()
  711. wait(0)
  712. NPC.Humanoid:MoveTo(script.Parent.BottomofStairs.Position)
  713. NPC.Humanoid.MoveToFinished:wait()
  714. wait(0)
  715. NPC.Humanoid:MoveTo(script.Parent.TopofStairs.Position)
  716. NPC.Humanoid.MoveToFinished:wait()
  717. wait(0)
  718. NPC.Humanoid:MoveTo(script.Parent.OutsideofRoom.Position)
  719. NPC.Humanoid.MoveToFinished:wait()
  720. wait(0)
  721. NPC.Humanoid:MoveTo(script.Parent.InRoom.Position)
  722. NPC.Humanoid.MoveToFinished:wait()
  723. wait(0)
  724. NPC.Humanoid:MoveTo(script.Parent.Comp.Position)
  725. NPC.Humanoid.MoveToFinished:wait()
  726. loc = "RoomComp"
  727. repeat
  728. wait(1)
  729. until game.Lighting.ClockTime > 20
  730. end
  731. if k == 3 then
  732. NPC.Humanoid:MoveTo(script.Parent.InsideStarRoom.Position)
  733. NPC.Humanoid.MoveToFinished:wait()
  734. wait(0)
  735. NPC.Humanoid:MoveTo(script.Parent.OutsideStarRoom.Position)
  736. NPC.Humanoid.MoveToFinished:wait()
  737. wait(0)
  738. NPC.Humanoid:MoveTo(script.Parent.MidUpperHall.Position)
  739. NPC.Humanoid.MoveToFinished:wait()
  740. wait(0)
  741. NPC.Humanoid:MoveTo(script.Parent.BottomofStairs.Position)
  742. NPC.Humanoid.MoveToFinished:wait()
  743. wait(0)
  744. NPC.Humanoid:MoveTo(script.Parent.TopofStairs.Position)
  745. NPC.Humanoid.MoveToFinished:wait()
  746. wait(0)
  747. NPC.Humanoid:MoveTo(script.Parent.OutsideofRoom.Position)
  748. NPC.Humanoid.MoveToFinished:wait()
  749. wait(0)
  750. NPC.Humanoid:MoveTo(script.Parent.InRoom.Position)
  751. NPC.Humanoid.MoveToFinished:wait()
  752. wait(0)
  753. NPC.Humanoid:MoveTo(script.Parent.Comp.Position)
  754. NPC.Humanoid.MoveToFinished:wait()
  755. loc = "RoomComp"
  756. repeat
  757. wait(1)
  758. until game.Lighting.ClockTime > 20
  759. end
  760. elseif game.Lighting.ClockTime > 20 and game.Lighting.ClockTime < 23 then
  761. loc = "Moving"
  762. NPC.Humanoid.Sit = false
  763. NPC.Humanoid:MoveTo(script.Parent.InRoom.Position)
  764. NPC.Humanoid.MoveToFinished:wait()
  765. wait(0)
  766. NPC.Humanoid:MoveTo(script.Parent.LungetsuHalf.Position)
  767. NPC.Humanoid.MoveToFinished:wait()
  768. wait(0)
  769. NPC.Humanoid:MoveTo(script.Parent.LungetsuMirror.Position)
  770. NPC.Humanoid.MoveToFinished:wait()
  771. wait(0)
  772. NPC.Humanoid:MoveTo(script.Parent.LungetsuRef1.Position)
  773. NPC.Humanoid.MoveToFinished:wait()
  774. wait(0)
  775. NPC.Humanoid:MoveTo(script.Parent.LungetsuRef2.Position)
  776. NPC.Humanoid.MoveToFinished:wait()
  777. wait(0)
  778. NPC.Humanoid:MoveTo(script.Parent.LungetsuCoffin.Position)
  779. NPC.Humanoid.MoveToFinished:wait()
  780. loc = "LungetsuMirror"
  781. repeat
  782. wait(1)
  783. until game.Lighting.ClockTime > 23
  784. end
  785. end
Advertisement
Add Comment
Please, Sign In to add comment