Eshaanopn

Untitled

Jul 19th, 2023
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.09 KB | None | 0 0
  1. local ArrayField = loadstring(game:HttpGet('https://raw.githubusercontent.com/UI-Interface/ArrayField/main/Source.lua'))()
  2.  
  3. local Window = ArrayField:CreateWindow({
  4. Name = "doors entity spanwer",
  5. LoadingTitle = "hope you enjoy",
  6. LoadingSubtitle = "script by eshaanopn ui by Ttvpro143134",
  7. ConfigurationSaving = {
  8. Enabled = true,
  9. FolderName = nil, -- Create a custom folder for your hub/game
  10. FileName = "ArrayField"
  11. },
  12. Discord = {
  13. Enabled = false,
  14. Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
  15. RememberJoins = true -- Set this to false to make them join the discord every time they load it up
  16. },
  17. KeySystem = false, -- Set this to true to use our key system
  18. KeySettings = {
  19. Title = "Untitled",
  20. Subtitle = "Key System",
  21. Note = "No method of obtaining the key is provided",
  22. FileName = "Key", -- It is recommended to use something unique as other scripts using ArrayField may overwrite your key file
  23. SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
  24. GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like ArrayField to get the key from
  25. Actions = {
  26. [1] = {
  27. Text = 'Click here to copy the key link <--',
  28. OnPress = function()
  29. print('Pressed')
  30. end,
  31. }
  32. },
  33. Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
  34. }
  35. })
  36. local coustomEntitysTab = Window:CreateTab("Main Entitys", nil) -- Title, Image
  37. local coustomEntitysSection = coustomEntitysTab:CreateSection("Have fun 😉",false) -- The 2nd argument is to tell if its only a Title and doesnt contain element
  38.  
  39. ArrayField:Notify({
  40. Title = "you executed the scripts",
  41. Content = "mainly by eshaanopn",
  42. Duration = 6.5,
  43. Image = nil,
  44. Actions = { -- Notification Buttons
  45. Ignore = {
  46. Name = "Okay!",
  47. Callback = function()
  48. print("The user tapped Okay!")
  49. end
  50. },
  51. },
  52. })
  53.  
  54. local Button = coustomEntitysTab:CreateButton({
  55. Name = "Obama 💀",
  56. Interact = 'Click',
  57. Callback = function()
  58. local Spawner = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors%20Entity%20Spawner/Source.lua"))()
  59.  
  60.  
  61. -- Create entity
  62. local entityTable = Spawner.createEntity({
  63. CustomName = "Obama", -- Custom name of your entity
  64. Model = "8232289546", -- Can be GitHub file or rbxassetid
  65. Speed = 100, -- Percentage, 100 = default Rush speed
  66. DelayTime = 2, -- Time before starting cycles (seconds)
  67. HeightOffset = 0,
  68. CanKill = false,
  69. KillRange = 50,
  70. BackwardsMovement = false,
  71. BreakLights = true,
  72. FlickerLights = {
  73. true, -- Enabled/Disabled
  74. 1, -- Time (seconds)
  75. },
  76. Cycles = {
  77. Min = 1,
  78. Max = 4,
  79. WaitTime = 2,
  80. },
  81. CamShake = {
  82. true, -- Enabled/Disabled
  83. {3.5, 20, 0.1, 1}, -- Shake values (don't change if you don't know)
  84. 100, -- Shake start distance (from Entity to you)
  85. },
  86. Jumpscare = {
  87. true, -- Enabled/Disabled
  88. {
  89. Image1 = "rbxassetid://10483855823", -- Image1 url
  90. Image2 = "rbxassetid://10483999903", -- Image2 url
  91. Shake = true,
  92. Sound1 = {
  93. 10483790459, -- SoundId
  94. { Volume = 0.5 }, -- Sound properties
  95. },
  96. Sound2 = {
  97. 10483837590, -- SoundId
  98. { Volume = 0.5 }, -- Sound properties
  99. },
  100. Flashing = {
  101. true, -- Enabled/Disabled
  102. Color3.fromRGB(255, 255, 255), -- Color
  103. },
  104. Tease = {
  105. true, -- Enabled/Disabled
  106. Min = 1,
  107. Max = 3,
  108. },
  109. },
  110. },
  111. CustomDialog = {"Bru", "_You died to rush who rebounds", "good luck", "on surviving."}, -- Custom death message
  112. })
  113.  
  114.  
  115. -----[[ Debug -=- Advanced ]]-----
  116. entityTable.Debug.OnEntitySpawned = function()
  117. print("Entity has spawned:", entityTable)
  118. end
  119.  
  120. entityTable.Debug.OnEntityDespawned = function()
  121. print("Entity has despawned:", entityTable)
  122. end
  123.  
  124. entityTable.Debug.OnEntityStartMoving = function()
  125. print("Entity has started moving:", entityTable)
  126. end
  127.  
  128. entityTable.Debug.OnEntityFinishedRebound = function()
  129. print("Entity has finished rebound:", entityTable)
  130. end
  131.  
  132. entityTable.Debug.OnEntityEnteredRoom = function(room)
  133. print("Entity:", entityTable, "has entered room:", room)
  134. end
  135.  
  136. entityTable.Debug.OnLookAtEntity = function()
  137. print("Player has looked at entity:", entityTable)
  138. end
  139.  
  140. entityTable.Debug.OnDeath = function()
  141. warn("Player has died.")
  142. end
  143. ------------------------------------
  144.  
  145.  
  146. -- Run the created entity
  147. Spawner.runEntity(entityTable)
  148. end,
  149. })
Advertisement
Add Comment
Please, Sign In to add comment