Josh64

Untitled

Jul 11th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.75 KB | None | 0 0
  1. rngone =Isaac:GetCollectibleRNG(17)
  2. keyone = rngone:RandomInt(100)
  3.  
  4. rngtwo = Isaac:GetCollectibleRNG(175)
  5. keytwo = rngtwo:RandomInt(100)
  6.  
  7. rngthree = Isaac:GetCollectibleRNG(199)
  8. keythree = rngthree:RandomInt(100)
  9.  
  10. rngfour = Isaac:GetCollectibleRNG(343)
  11. keyfour = rngfour:RandomInt(100)
  12.  
  13. rngfive = Isaac:GetPlayerRNG(player)
  14. keyfive = rngfive:RandomInt(100)
  15.  
  16. ---------------------------------------------------
  17.  
  18. if player:HasCollectible(17) then -- 17 == Skeleton Key
  19. if keyone < 20 then
  20. if player:HasCollectible(175) then -- 175 == Moms Key
  21. if keytwo < 25 then
  22. if DadsKey == false then
  23. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  24. DadsKey = true
  25. else
  26. if keythree < 33 then
  27. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  28. elseif keythree < 66 then
  29. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  30. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPERCLIP then
  31. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_PAPER_CLIP, KBum.Position, Vector(0,0), KBum)
  32. else
  33. if keyfive < 50 then
  34. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  35. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  36. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_STORE_KEY, KBum.Position, Vector(0,0), KBum)
  37. else
  38. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  39. end
  40. else
  41. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  42. end
  43. end
  44. else
  45. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  46. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  47. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_STORE_KEY, KBum.Position, Vector(0,0), KBum)
  48. else
  49. if keyfive < 50 then
  50. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  51. and player:GetPlayer(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  52. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_PAPER_CLIP, KBum.Position, Vector(0,0), KBum)
  53. else
  54. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  55. end
  56. else
  57. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  58. end
  59. end
  60. end
  61. end
  62. elseif keytwo < 50 then
  63. if player:HasCollectible(343) then
  64. if keyfour < 33 then
  65. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  66. DadsKey = true
  67. elseif keyfour < 66 then
  68. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  69. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  70. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_PAPER_CLIP, KBum.Position, Vector(0,0), KBum)
  71. else
  72. if keyfive 50 then
  73. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  74. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  75. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_STORE_KEY, KBum.Position, Vector(0,0), KBum)
  76. else
  77. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  78. DadsKey = true
  79. end
  80. else
  81. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  82. DadsKey = true
  83. end
  84. end
  85. else
  86. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  87. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  88. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_STORE_KEY, KBum.Position, Vector(0,0), KBum)
  89. else
  90. if keyfive < 50 then
  91. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  92. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  93. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_PAPER_CLIP, KBum.Position, Vector(0,0), KBum)
  94. else
  95. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  96. DadsKey = true
  97. end
  98. else
  99. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  100. DadsKey = true
  101. end
  102. end
  103. end
  104. else
  105. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_PAPER_CLIP, KBum.Position, Vector(0,0), KBum)
  106. end
  107. elseif keytwo < 75 then
  108. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  109. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  110. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_PAPER_CLIP, KBum.Position, Vector(0,0), KBum)
  111. else
  112. if keyfive < 33 then
  113. if DadsKey == false then
  114. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  115. DadsKey = true
  116. else
  117. if keythree < 50 then
  118. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  119. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  120. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_STORE_KEY, KBum.Position, Vector(0,0), KBum)
  121. else
  122. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  123. end
  124. else
  125. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  126. end
  127. end
  128. elseif keyfive < 66 then
  129. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  130. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  131. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_STORE_KEY, KBum.Position, Vector(0,0), KBum)
  132. else
  133. if keyfive < 50 then
  134. if DadsKey == false then
  135. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  136. DadsKey = true
  137. else
  138. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  139. end
  140. else
  141. if player:HasCollectible(343) then
  142. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  143. DadsKey = true
  144. else
  145. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  146. end
  147. end
  148. end
  149. else
  150. if player:HasCollectible(343) then
  151. if keyfour < 50 then
  152. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  153. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  154. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_STORE_KEY, KBum.Position, Vector(0,0), KBum)
  155. else
  156. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  157. DadsKey = true
  158. end
  159. else
  160. if DadsKey == false then
  161. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  162. DadsKey = true
  163. else
  164. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  165. end
  166. end
  167. else
  168. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  169. end
  170. end
  171. end
  172. else
  173. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  174. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  175. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_STORE_KEY, KBum.Position, Vector(0,0), KBum)
  176. else
  177. if keyfive < 33 then
  178. if DadsKey == false then
  179. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  180. DadsKey = true
  181. else
  182. if keythree < 50 then
  183. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  184. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  185. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_PAPER_CLIP, KBum.Position, Vector(0,0), KBum)
  186. else
  187. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  188. end
  189. else
  190. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  191. end
  192. end
  193. elseif keyfive < 66 then
  194. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  195. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  196. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_PAPER_CLIP, KBum.Position, Vector(0,0), KBum)
  197. else
  198. if keyfive < 50 then
  199. if DadsKey == false then
  200. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  201. DadsKey = true
  202. else
  203. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  204. end
  205. else
  206. if player:HasCollectible(343) then
  207. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  208. DadsKey = true
  209. else
  210. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  211. end
  212. end
  213. end
  214. else
  215. if player:HasCollectible(343) then
  216. if keyfive < 50 then
  217. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  218. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  219. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_TRINKET, TrinketType.TRINKET_PAPER_CLIP, KBum.Position, Vector(0,0), KBum)
  220. else
  221. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  222. DadsKey = true
  223. end
  224. else
  225. if DadsKey == false then
  226. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  227. DadsKey = true
  228. else
  229. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  230. end
  231. end
  232. else
  233. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_LATCH_KEY, KBum.Position, Vector(0,0), KBum)
  234. end
  235. end
  236. end
  237. else
  238. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_MOMS_KEY, KBum.Position, Vector(0,0), KBum)
  239. end
  240. end
  241. -- -------------------------------------------------------
  242. elseif keyone < 40 then
  243. if DadsKey == false then
  244. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  245. DadsKey = true
  246. else
  247. if keythree < 25 then
  248. if player:HasCollectible(175) then -- Moms Key
  249. if keytwo < 33 then
  250. -- sapwn Latch Key
  251. elseif keytwo < 66 then
  252. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  253. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  254. -- spawn Paper Clip
  255. else
  256. if keyfive < 50 then
  257. -- spawn Latch Key
  258. else
  259. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  260. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  261. -- spawn Store Key
  262. else
  263. --spawn Latch Key
  264. end
  265. end
  266. end
  267. else
  268. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  269. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  270. -- sapwn Store Key
  271. else
  272. if keyfive < 50 then
  273. -- spawn Latch Key
  274. else
  275. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  276. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  277. -- spawn Paper Clip
  278. else
  279. --spawn Latch Key
  280. end
  281. end
  282. end
  283. end
  284. else
  285. -- spawn Moms Key
  286. end
  287. elseif keythree < 50 then
  288. if player:HasCollectible(343) then -- Latch Key
  289. if keyfour < 33 then
  290. -- spawn Moms Key
  291. elseif keyfour < 66 then
  292. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  293. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  294. -- spawn Paper Clip
  295. else
  296. if keyfive < 50 then
  297. -- spawn Moms Key
  298. else
  299. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  300. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  301. -- spawn Store Key
  302. else
  303. --spawn Moms Key
  304. end
  305. end
  306. end
  307. esle
  308. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  309. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  310. -- sapwn Store Key
  311. else
  312. if keyfive < 50 then
  313. -- spawn Moms Key
  314. else
  315. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  316. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  317. -- spawn Paper Clip
  318. else
  319. --spawn Moms Key
  320. end
  321. end
  322. end
  323. end
  324. else
  325. -- spawn Latch Key
  326. end
  327. elseif keythree < 75 then
  328. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  329. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  330. -- spawn Paper Clip
  331. else
  332. if keyfive < 33 then
  333. if player:HasCollectible(175) then -- Moms Key
  334. if keytwo < 50 then
  335. -- spawn Latch Key
  336. else
  337. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  338. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  339. -- spawn Store Key
  340. else
  341. --spawn Latch Key
  342. end
  343. end
  344. else
  345. -- spawn Moms Key
  346. end
  347. elseif keyfive < 66 then
  348. if player:HasCollectible(343) then -- Latch Key
  349. if keyfour < 50 then
  350. -- spawn Moms Key
  351. else
  352. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  353. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  354. -- spawn Store Key
  355. else
  356. --spawn Moms Key
  357. end
  358. end
  359. else
  360. -- spawn Latch Key
  361. end
  362. else
  363. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  364. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  365. -- spawn Store Key
  366. else
  367. if keyfive < 50 then
  368. if player:HasCollectible(175) then -- Moms Key
  369. -- spawn Latch Key
  370. else
  371. -- spawn Moms Key
  372. end
  373. else
  374. if player:HasCollectible(343) then -- Latch Key
  375. -- spawn Moms Key
  376. else
  377. -- spawn Latch Key
  378. end
  379. end
  380. end
  381. end
  382. end
  383. else
  384. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  385. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  386. -- sapwn Store Key
  387. else
  388. if keyfive < 33 then
  389. if player:HasCollectible(175) then -- Moms Key
  390. if keytwo < 50 then
  391. -- spawn Latch Key
  392. else
  393. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  394. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  395. -- spawn Paper Clip
  396. else
  397. --spawn Latch Key
  398. end
  399. end
  400. else
  401. -- spawn Moms Key
  402. end
  403. elseif keyfive < 66 then
  404. if player:HasCollectible(343) then -- Latch Key
  405. if keyfour < 50 then
  406. -- spawn Moms Key
  407. else
  408. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  409. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  410. -- spawn Paper Clip
  411. else
  412. --spawn Moms Key
  413. end
  414. end
  415. else
  416. -- spawn Latch Key
  417. end
  418. else
  419. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  420. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  421. -- sapwn Paper Clip
  422. else
  423. if keyfive < 50 then
  424. if player:HasCollectible(175) then -- Moms Key
  425. -- spawn Latch Key
  426. else
  427. -- spawn Moms Key
  428. end
  429. else
  430. if player:HasCollectible(343) then -- Latch Key
  431. -- spawn Moms Key
  432. else
  433. -- spawn Latch Key
  434. end
  435. end
  436. end
  437. end
  438. end
  439. end
  440. end
  441. -- -------------------------------------------------------
  442. elseif keyone < 60 then
  443. if player:HasCollectible(343) then -- Latch Key
  444. if keyfour < 25 then
  445. if player:HasCollectible(175) then -- Moms Key
  446. if keytwo < 33 then
  447. if DadsKey == false then
  448. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  449. DadsKey = true
  450. end
  451. elseif keytwo < 66 then
  452. if player:GetTrinket(0) ~= TRINKET_PAPER_CLIP
  453. and player:GetTrinket(1) ~= TRINKET_PAPER_CLIP then
  454. -- spawn Paper Clip
  455. else
  456. if keyfive < 50 then
  457. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  458. DadsKey = true
  459. else
  460. if player:GetTrinket(0) ~= TRINKET_STORE_KEY
  461. and player:GetTrinket(1) ~= TRINKET_STORE_KEY then
  462. -- spawn Store Key
  463. else
  464. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  465. DadsKey = true
  466. end
  467. end
  468. end
  469. else
  470. if player:GetTrinket(0) ~= TRINKET_STORE_KEY
  471. and player:GetTrinket(1) ~= TRINKET_STORE_KEY then
  472. -- spawn Store Key
  473. else
  474. if keyfive < 50 then
  475. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  476. DadsKey = true
  477. else
  478. if player:GetTrinket(0) ~= TRINKET_PAPER_CLIP
  479. and player:GetTrinket(1) ~= TRINKET_PAPER_CLIP then
  480. -- spawn Paper Clip
  481. else
  482. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  483. DadsKey = true
  484. end
  485. end
  486. end
  487. end
  488. else
  489. -- sapwn Moms Key
  490. end
  491. elseif keyfour < 50 then
  492. if DadsKey == false then
  493. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  494. DadsKey = true
  495. else
  496. if keythree < 33 then
  497. -- spawn Moms Key
  498. elseif keythree < 66 then
  499. if player:GetTrinket(0) ~= TRINKET_PAPER_CLIP
  500. and player:GetTrinket(1) ~= TRINKET_PAPER_CLIP then
  501. -- spawn Paper Clip
  502. else
  503. if keyfive < 50 then
  504. -- spawn Moms Key
  505. else
  506. if player:GetTrinket(0) ~= TRINKET_STORE_KEY
  507. and player:GetTrinket(1) ~= TRINKET_STORE_KEY then
  508. -- sapwn Store Key
  509. else
  510. -- spawn Moms Key
  511. end
  512. end
  513. end
  514. else
  515. if player:GetTrinket(0) ~= TRINKET_STORE_KEY
  516. and player:GetTrinket(1) ~= TRINKET_STORE_KEY then
  517. -- spawn Store Key
  518. else
  519. if keyfive < 50 then
  520. -- spawn Moms Key
  521. else
  522. if player:GetTrinket(0) ~= TRINKET_PAPER_CLIP
  523. and player:GetTrinket(1) ~= TRINKET_PAPER_CLIP then
  524. -- sapwn Paper Clip
  525. else
  526. -- spawn Moms Key
  527. end
  528. end
  529. end
  530. end
  531. end
  532. elseif keyfour < 75 then
  533. if player:GetTrinket(0) ~= TRINKET_PAPER_CLIP
  534. and player:GetTrinket(1) ~= TRINKET_PAPER_CLIP then
  535. -- spawn Paper Clip
  536. else
  537. if keyfive < 33 then
  538. if player:HasCollectible(175) then -- Moms Key
  539. if keytwo < 50 then
  540. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  541. DadsKey = true
  542. else
  543. if player:GetTrinket(0) ~= TRINKET_STORE_KEY
  544. and player:GetTrinket(1) ~= TRINKET_STORE_KEY then
  545. -- sapwn Store Key
  546. else
  547. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  548. DadsKey = true
  549. end
  550. end
  551. else
  552. -- spawn Moms Key
  553. end
  554. elseif keyfive < 66 then
  555. if DadsKey == false then
  556. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  557. DadsKey = true
  558. else
  559. if keythree < 50 then
  560. -- spawn Moms Key
  561. else
  562. if player:GetTrinket(0) ~= TRINKET_STORE_KEY
  563. and player:GetTrinket(1) ~= TRINKET_STORE_KEY then
  564. -- sapwn Store Key
  565. else
  566. -- spawn Moms Key
  567. end
  568. end
  569. end
  570. else
  571. if player:GetTrinket(0) ~= TRINKET_STORE_KEY
  572. and player:GetTrinket(1) ~= TRINKET_STORE_KEY then
  573. -- spawn Store Key
  574. else
  575. if keyfive < 50 then
  576. if player:HasCollectible(175) then -- Moms Key
  577. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  578. DadsKey = true
  579. else
  580. -- spawn Moms Key
  581. end
  582. else
  583. if DadsKey == false then
  584. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  585. DadsKey = true
  586. else
  587. -- spawn Moms Key
  588. end
  589. end
  590. end
  591. end
  592. end
  593. else
  594. if player:GetTrinket(0) ~= TRINKET_STORE_KEY
  595. and player:GetTrinket(1) ~= TRINKET_STORE_KEY then
  596. -- spawn Store Key
  597. else
  598. if keyfive < 33 then
  599. if player:HasCollectible(175) then -- Moms Key
  600. if keytwo < 50 then
  601. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  602. DadsKey = true
  603. else
  604. if player:GetTrinket(0) ~= TRINKET_PAPER_CLIP
  605. and player:GetTrinket(1) ~= TRINKET_PAPER_CLIP then
  606. -- sapwn Paper Clip
  607. else
  608. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  609. DadsKey = true
  610. end
  611. end
  612. else
  613. -- spawn Moms Key
  614. end
  615. elseif keyfive < 66 then
  616. if DadsKey == false then
  617. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  618. DadsKey = true
  619. else
  620. if keythree < 50 then
  621. -- spawn Moms Key
  622. else
  623. if player:GetTrinket(0) ~= TRINKET_PAPER_CLIP
  624. and player:GetTrinket(1) ~= TRINKET_PAPER_CLIP then
  625. -- sapwn Paper Clip
  626. else
  627. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  628. DadsKey = true
  629. end
  630. end
  631. end
  632. else
  633. if player:GetTrinket(0) ~= TRINKET_PAPER_CLIP
  634. and player:GetTrinket(1) ~= TRINKET_PAPER_CLIP then
  635. -- spawn Paper Clip
  636. else
  637. if keyfive < 50 then
  638. if player:HasCollectible(175) then -- Moms Key
  639. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  640. DadsKey = true
  641. else
  642. -- spawn Moms Key
  643. end
  644. else
  645. if DadsKey == false then
  646. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  647. DadsKey = true
  648. else
  649. -- spawn Moms Key
  650. end
  651. end
  652. end
  653. end
  654. end
  655. end
  656. end
  657. -- -------------------------------------------------------
  658. elseif keyone < 80 then
  659. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  660. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  661. -- spawn Paper Clip
  662. else
  663. if keyfive < 25 then
  664. if player:HasCollectible(175) then -- Moms Key
  665. if keytwo < 33 then
  666. if DadsKey == false then
  667. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  668. DadsKey = true
  669. else
  670. if keythree < 50 then
  671. -- Latch Key
  672. else
  673. if player:GetTrinket(0) ~= TRINKET_STORE_KEY
  674. and player:GetTrinket(1) ~= TRINKET_STORE_KEY then
  675. -- spawn Store Key
  676. else
  677. -- spawn Latch Key
  678. end
  679. end
  680. end
  681. elseif keytwo < 66 then
  682. if player:HasCollectible(343) then -- Latch Key
  683. if keyfour < 50 then
  684. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  685. DadsKey = true
  686. else
  687. if player:GetTrinket(0) ~= TRINKET_STORE_KEY
  688. and player:GetTrinket(1) ~= TRINKET_STORE_KEY then
  689. -- spawn Store Key
  690. else
  691. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  692. DadsKey = true
  693. end
  694. end
  695. else
  696. -- spawn Latch Key
  697. end
  698. else
  699. if player:GetTrinket(0) ~= TRINKET_STORE_KEY
  700. and player:GetTrinket(1) ~= TRINKET_STORE_KEY then
  701. -- spawn Store Key
  702. else
  703. if keyfive < 50 then
  704. if player:HasCollectible(343) then -- Latch Key
  705. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  706. DadsKey = true
  707. else
  708. if DadsKey == false then
  709. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  710. DadsKey = true else
  711. -- spawn Latch Key
  712. end
  713. end
  714. else
  715. if DadsKey == false then
  716. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  717. DadsKey = true
  718. else
  719. -- spawn Moms Key
  720. end
  721. end
  722. end
  723. end
  724. else
  725. -- spawn Moms Key
  726. end
  727. elseif key five < 50 then
  728. if DadsKey == false then
  729. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  730. DadsKey = true
  731. else
  732. if keythree < 33 then
  733. if player:HasCollectible(175) then -- Moms Key
  734. if keytwo < 50 then
  735. -- spawn Latch Key
  736. else
  737. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  738. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  739. -- spawn Store Key
  740. else
  741. -- spawn Latch Key
  742. end
  743. end
  744. else
  745. -- spawn Moms Key
  746. end
  747. elseif keythree < 66 then
  748. if player:HasCollectible(343) then -- Latch Key
  749. if keyfour < 50 then
  750. -- spawn Moms Key
  751. else
  752. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  753. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  754. -- spawn Store Key
  755. else
  756. -- spawn Moms Key
  757. end
  758. end
  759. else
  760. -- spawn Latch Key
  761. end
  762. else
  763. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  764. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  765. -- spawn Store Key
  766. else
  767. if keyfive < 50 then
  768. if player:HasCollectible(175) then -- Moms Key
  769. -- spawn Latch Key
  770. else
  771. -- spawn Moms Key
  772. end
  773. else
  774. if player:HasCollectible(343) then -- Latch Key
  775. -- spawn Moms Key
  776. else
  777. -- spawn Latch Key
  778. end
  779. end
  780. end
  781. end
  782. end
  783. elseif keyfive < 75 then
  784. if player:HasCollectible(343) then -- Latch Key
  785. if keyfour < 33 then
  786. if player:HasCollectible(175) then -- Moms Key
  787. if keytwo < 50 then
  788. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  789. DadsKey = true
  790. else
  791. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  792. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  793. -- spawn Store Key
  794. else
  795. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  796. DadsKey = true
  797. end
  798. end
  799. else
  800. -- spawn Moms Key
  801. end
  802. elseif keyfour < 66 then
  803. if DadsKey == false then
  804. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  805. DadsKey = true
  806. else
  807. if keythree < 50 then
  808. -- spawn Moms Key
  809. else
  810. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  811. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  812. -- spawn Store Key
  813. else
  814. -- spawn Moms Key
  815. end
  816. end
  817. end
  818. else
  819. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  820. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  821. -- spawn Store Key
  822. else
  823. if keyfive < 50 then
  824. if player:HasCollectible(175) then -- Moms Key
  825. -- spawn Moms Key
  826. else
  827. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  828. DadsKey = true
  829. end
  830. else
  831. if DadsKey == false then
  832. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  833. DadsKey = true
  834. else
  835. -- spawn Moms Key
  836. end
  837. end
  838. end
  839. end
  840. else
  841. -- spawn Latch Key
  842. end
  843. else
  844. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  845. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  846. -- spawn Store Key
  847. else
  848. if keyfive < 33 then
  849. if player:HasCollectible(175) then -- Moms Key
  850. if keytwo < 50 then
  851. if DadsKey == false then
  852. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  853. DadsKey = true
  854. else
  855. -- spawn Latch Key
  856. end
  857. else
  858. if player:HasCollectible(343) then -- Latch Key
  859. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  860. DadsKey = true
  861. else
  862. -- spawn Latch Key
  863. end
  864. end
  865. else
  866. -- spawn Moms Key
  867. end
  868. elseif keyfive < 66 then
  869. if DadsKey == false then
  870. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  871. DadsKey = true
  872. else
  873. if keythree < 50 then
  874. if player:HasCollectible(175) then -- Moms Key
  875. -- spawn Latch Key
  876. else
  877. -- spawn Moms Key
  878. end
  879. else
  880. if player:HasCollectible(343) then -- Latch Key
  881. -- spawn Moms Key
  882. else
  883. -- spawn Latch Key
  884. end
  885. end
  886. end
  887. else
  888. if player:HasCollectible(343) then -- Latch Key
  889. if keyfour < 50 then
  890. if player:HasCollectible(175) then -- Moms Key
  891. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  892. DadsKey = true
  893. else
  894. -- spawn Moms Key
  895. end
  896. else
  897. if DadsKey == false then
  898. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  899. DadsKey = true
  900. else
  901. -- spawn Moms Key
  902. end
  903.  
  904. end
  905. else
  906. -- spawn Latch Key
  907. end
  908. end
  909. end
  910. end
  911. end
  912. -- -------------------------------------------------------
  913. else
  914. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  915. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  916. -- spawn Store Key
  917. else
  918. if keyfive < 25 then
  919. if player:HasCollectible(175) then -- Moms Key
  920. if keytwo < 33 then
  921. if DadsKey == false then
  922. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  923. DadsKey = true
  924. else
  925. if keythree < 50 then
  926. -- Latch Key
  927. else
  928. if player:GetTrinket(0) ~= TRINKET_PAPER_CLIP
  929. and player:GetTrinket(1) ~= TRINKET_PAPER_CLIP then
  930. -- spawn Paper Clip
  931. else
  932. -- spawn Latch Key
  933. end
  934. end
  935. end
  936. elseif keytwo < 66 then
  937. if player:HasCollectible(343) then -- Latch Key
  938. if keyfour < 50 then
  939. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  940. DadsKey = true
  941. else
  942. if player:GetTrinket(0) ~= TRINKET_PAPER_CLIP
  943. and player:GetTrinket(1) ~= TRINKET_PAPER_CLIP then
  944. -- spawn Paper Clip
  945. else
  946. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  947. DadsKey = true
  948. end
  949. end
  950. else
  951. -- spawn Latch Key
  952. end
  953. else
  954. if player:GetTrinket(0) ~= TRINKET_PAPER_CLIP
  955. and player:GetTrinket(1) ~= TRINKET_PAPER_CLIP then
  956. -- spawn Paper Clip
  957. else
  958. if keyfive < 50 then
  959. if player:HasCollectible(343) then -- Latch Key
  960. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  961. DadsKey = true
  962. else
  963. if DadsKey == false then
  964. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  965. DadsKey = true else
  966. -- spawn Latch Key
  967. end
  968. end
  969. else
  970. if DadsKey == false then
  971. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  972. DadsKey = true
  973. else
  974. -- spawn Moms Key
  975. end
  976. end
  977. end
  978. end
  979. else
  980. -- spawn Moms Key
  981. end
  982. elseif key five < 50 then
  983. if DadsKey == false then
  984. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  985. DadsKey = true
  986. else
  987. if keythree < 33 then
  988. if player:HasCollectible(175) then -- Moms Key
  989. if keytwo < 50 then
  990. -- spawn Latch Key
  991. else
  992. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  993. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  994. -- spawn Paper Clip
  995. else
  996. -- spawn Latch Key
  997. end
  998. end
  999. else
  1000. -- spawn Moms Key
  1001. end
  1002. elseif keythree < 66 then
  1003. if player:HasCollectible(343) then -- Latch Key
  1004. if keyfour < 50 then
  1005. -- spawn Moms Key
  1006. else
  1007. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  1008. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  1009. -- spawn Paper Clip
  1010. else
  1011. -- spawn Moms Key
  1012. end
  1013. end
  1014. else
  1015. -- spawn Latch Key
  1016. end
  1017. else
  1018. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  1019. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  1020. -- spawn Paper Clip
  1021. else
  1022. if keyfive < 50 then
  1023. if player:HasCollectible(175) then -- Moms Key
  1024. -- spawn Latch Key
  1025. else
  1026. -- spawn Moms Key
  1027. end
  1028. else
  1029. if player:HasCollectible(343) then -- Latch Key
  1030. -- spawn Moms Key
  1031. else
  1032. -- spawn Latch Key
  1033. end
  1034. end
  1035. end
  1036. end
  1037. end
  1038. elseif keyfive < 75 then
  1039. if player:HasCollectible(343) then -- Latch Key
  1040. if keyfour < 33 then
  1041. if player:HasCollectible(175) then -- Moms Key
  1042. if keytwo < 50 then
  1043. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  1044. DadsKey = true
  1045. else
  1046. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  1047. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  1048. -- spawn Paper Clip
  1049. else
  1050. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  1051. DadsKey = true
  1052. end
  1053. end
  1054. else
  1055. -- spawn Moms Key
  1056. end
  1057. elseif keyfour < 66 then
  1058. if DadsKey == false then
  1059. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  1060. DadsKey = true
  1061. else
  1062. if keythree < 50 then
  1063. -- spawn Moms Key
  1064. else
  1065. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  1066. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  1067. -- spawn Paper Clip
  1068. else
  1069. -- spawn Moms Key
  1070. end
  1071. end
  1072. end
  1073. else
  1074. if player:GetTrinket(0) ~= TrinketType.TRINKET_STORE_KEY
  1075. and player:GetTrinket(1) ~= TrinketType.TRINKET_STORE_KEY then
  1076. -- spawn Store Key
  1077. else
  1078. if keyfive < 50 then
  1079. if player:HasCollectible(175) then -- Moms Key
  1080. -- spawn Moms Key
  1081. else
  1082. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  1083. DadsKey = true
  1084. end
  1085. else
  1086. if DadsKey == false then
  1087. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  1088. DadsKey = true
  1089. else
  1090. -- spawn Moms Key
  1091. end
  1092. end
  1093. end
  1094. end
  1095. else
  1096. -- spawn Latch Key
  1097. end
  1098. else
  1099. if player:GetTrinket(0) ~= TrinketType.TRINKET_PAPER_CLIP
  1100. and player:GetTrinket(1) ~= TrinketType.TRINKET_PAPER_CLIP then
  1101. -- spawn Paper Clip
  1102. else
  1103. if keyfive < 33 then
  1104. if player:HasCollectible(175) then -- Moms Key
  1105. if keytwo < 50 then
  1106. if DadsKey == false then
  1107. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  1108. DadsKey = true
  1109. else
  1110. -- spawn Latch Key
  1111. end
  1112. else
  1113. if player:HasCollectible(343) then -- Latch Key
  1114. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  1115. DadsKey = true
  1116. else
  1117. -- spawn Latch Key
  1118. end
  1119. end
  1120. else
  1121. -- spawn Moms Key
  1122. end
  1123. elseif keyfive < 66 then
  1124. if DadsKey == false then
  1125. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  1126. DadsKey = true
  1127. else
  1128. if keythree < 50 then
  1129. if player:HasCollectible(175) then -- Moms Key
  1130. -- spawn Latch Key
  1131. else
  1132. -- spawn Moms Key
  1133. end
  1134. else
  1135. if player:HasCollectible(343) then -- Latch Key
  1136. -- spawn Moms Key
  1137. else
  1138. -- spawn Latch Key
  1139. end
  1140. end
  1141. end
  1142. else
  1143. if player:HasCollectible(343) then -- Latch Key
  1144. if keyfour < 50 then
  1145. if player:HasCollectible(175) then -- Moms Key
  1146. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  1147. DadsKey = true
  1148. else
  1149. -- spawn Moms Key
  1150. end
  1151. else
  1152. if DadsKey == false then
  1153. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_DADS_KEY, KBum.Position, Vector(0,0), KBum)
  1154. DadsKey = true
  1155. else
  1156. -- spawn Moms Key
  1157. end
  1158.  
  1159. end
  1160. else
  1161. -- spawn Latch Key
  1162. end
  1163. end
  1164. end
  1165. end
  1166. end
  1167. end
  1168. else
  1169. Isaac.Spawn(EntityType.ENTITY_PICKUP, PickupVariant.PICKUP_COLLECTIBLE, CollectibleType.COLLECTIBLE_SKELETON_KEY, KBum.Position, Vector(0,0), KBum)
  1170. end
Add Comment
Please, Sign In to add comment